skip to main content
paste
bin
.ca
type · paste · share
⌘
K
Family
The bin family
pastebin.ca
hub
Share text and code with expiry and privacy controls.
imagebin.ca
Upload and share images with direct links.
filebin.ca
Drop a file and get a shareable link.
notebin.ca
Write Markdown notes with durable links.
turl.ca
Short, reputation-checked links.
attn.ca
Notifications and alerts for your services.
voicebin.ca
Record and share short voice clips.
dnsbin.ca
Inspect DNS and debug records.
Docs
Sign in
?
← back to paste
›
Edit / fork
Untitled paste
#3wRJZhwRYf
public / public
new version
anonymous
created 2 days ago
Expires in 5 days
25.0 KB
syntax:
text
Your changes create a new paste linked to this one — the original is untouched.
new version
Your changes create a new paste linked to this one — the original is untouched.
Title (optional)
Filename
Syntax
text
text
bash
c
cpp
css
diff
dockerfile
go
html
ini
java
javascript
json
kotlin
lua
makefile
markdown
nginx
php
python
ruby
rust
shellscript
sql
swift
toml
typescript
xml
yaml
Visibility
Public feed
Access
public
Expires
7 days
10 min
1 hour
1 day
7 days
30 days
90 days
custom…
Custom expiry
Change note
(optional)
This paste will be listed on the public feed. Change Visibility if you only want people with the link to see it.
Create new version
Cancel
Paste or type…
(()=>{var e={14265(e,t,n){"use strict";var r=n(28161),o=r(n(49507)),a=r(n(68048));function i(){return Math.random().toString(32).slice(2)}e.exports=function(e,t){t.addEventListener("message",(function(){var n=(0,a.default)(o.default.mark(function n(r){var a,i,c,u,s,f,_;return o.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(a=r.data.request){n.next=3;break}return n.abrupt("return");case 3:if(i=a.id,c=a.path,u=a.args,n.prev=4,"function"!=typeof(s=c.reduce(function(e,t){return e[t]},e))){n.next=13;break}return _=c.slice(0,c.length-1).reduce(function(e,t){return e[t]},e),n.next=10,s.apply(_,u);case 10:f=n.sent,n.next=16;break;case 13:return n.next=15,s;case 15:f=n.sent;case 16:t.postMessage({response:{id:i,result:{data:f}}}),n.next=22;break;case 19:n.prev=19,n.t0=n.catch(4),t.postMessage({response:{id:i,result:{error:n.t0}}});case 22:case"end":return n.stop()}},n,null,[[4,19]])}));return function(e){return n.apply(this,arguments)}})()),this.call=(function(){var e=(0,a.default)(o.default.mark(function e(n,r){var a;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=i(),e.abrupt("return",new Promise(function(e,o){t.addEventListener("message",function n(r){var i=r.data.response;i&&i.id===a&&(t.removeEventListener("message",n),"error"in i.result?o(i.result.error):e(i.result.data))}),t.postMessage({request:{id:a,path:n,args:r}})}));case 2:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}})()}},35776(e,t,n){"use strict";e=n.nmd(e);var r=n(28161);Object.defineProperty(t,"__esModule",{value:!0}),t.analytics=function(e,t){j.analytics(e,t)},t.decode_stream=function(e){return j.decode_stream(e)},t.default=function(e){return P.apply(this,arguments)},t.dispatch=function(e,t,n){var r=j.dispatch(e,t,n);if(r[1])throw k(r[0])},t.encode_stream=function(e){return j.encode_stream(e)},t.get_state=function(e){var t=j.get_state(e);if(t[2])throw k(t[1]);return k(t[0])},t.initSync=function(e){if(void 0!==j)return j;if(void 0!==e){if(Object.getPrototypeOf(e)===Object.prototype)e=e.module;else console.warn("using deprecated parameters for `initSync()`; pass a single object instead")}var t=u();e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e));var n=new WebAssembly.Instance(e,t);return A(n,e)},t.initialize_runtime=function(e){return j.initialize_runtime(e)},t.start=function(){j.start()};var o=r(n(49507)),a=r(n(68048)),i=r(n(56811)),c={url:new URL("/stremio_core_web.js",document.baseURI).href};function u(){var t={__proto__:null,__wbg___wbindgen_debug_string_edece8177ad01481:function(e,t){var n=S(d(t),j.__wbindgen_malloc,j.__wbindgen_realloc),r=R;p().setInt32(e+4,r,!0),p().setInt32(e+0,n,!0)},__wbg___wbindgen_is_function_5cd60d5cf78b4eef:function(e){return"function"==typeof e},__wbg___wbindgen_is_object_b4593df85baada48:function(e){var t=e;return"object"===(0,i.default)(t)&&null!==t},__wbg___wbindgen_is_string_dde0fd9020db4434:function(e){return"string"==typeof e},__wbg___wbindgen_is_undefined_35bb9f4c7fd651d5:function(e){return void 0===e},__wbg___wbindgen_string_get_d109740c0d18f4d7:function(e,t){var n="string"==typeof t?t:void 0,r=m(n)?0:S(n,j.__wbindgen_malloc,j.__wbindgen_realloc),o=R;p().setInt32(e+4,o,!0),p().setInt32(e+0,r,!0)},__wbg___wbindgen_throw_9c31b086c2b26051:function(e,t){throw new Error(h(e,t))},__wbg__wbg_cb_unref_3fa391f3fcdb55f8:function(e){e._wbg_cb_unref()},__wbg_call_dfde26266607c996:function(){return y(function(e,t,n){return e.call(t,n)},arguments)},__wbg_crypto_0a92367f02a93895:function(e){return e.crypto},__wbg_error_a6fa202b58aa1cd3:function(e,t){var n,r;try{n=e,r=t,console.error(h(e,t))}finally{j.__wbindgen_free(n,r,1)}},__wbg_fetch_c6f0d65561ded911:function(e,t){return e.fetch(t)},__wbg_getRandomValues_d3f1739dc62f980a:function(){return y(function(e,t){e.getRandomValues(t)},arguments)},__wbg_getTime_09f1dd40a44edb30:function(e){return e.getTime()},__wbg_getTimezoneOffset_96cfb6ddebc9e5ca:function(e){return e.getTimezoneOffset()},__wbg_get_location_hash_99d29651b339d84d:function(){return y(function(){return self.get_location_hash()},arguments)},__wbg_instanceof_Error_b3f7e146d654031a:function(e){var t;try{t=e instanceof Error}catch(e){t=!1}return t},__wbg_instanceof_Response_e5ecb2743393c4a2:function(e){var t;try{t=e instanceof Response}catch(e){t=!1}return t},__wbg_instanceof_WorkerGlobalScope_54542d5589dfb0ba:function(e){var t;try{t=e instanceof WorkerGlobalScope}catch(e){t=!1}return t},__wbg_language_1ce90e43e76abd5e:function(e,t){var n=t.language,r=m(n)?0:S(n,j.__wbindgen_malloc,j.__wbindgen_realloc),o=R;p().setInt32(e+4,o,!0),p().setInt32(e+0,r,!0)},__wbg_length_56fcd3e2b7e0299d:function(e){return e.length},__wbg_local_storage_get_item_3851950872454bc3:function(){return y(function(e,t){var n,r;try{return n=e,r=t,self.local_storage_get_item(h(e,t))}finally{j.__wbindgen_free(n,r,1)}},arguments)},__wbg_local_storage_remove_item_b3dbc0814e06db6d:function(){return y(function(e,t){var n,r;try{return n=e,r=t,self.local_storage_remove_item(h(e,t))}finally{j.__wbindgen_free(n,r,1)}},arguments)},__wbg_local_storage_set_item_e15299dc1ead84cd:function(){return y(function(e,t,n,r){var o,a,i,c;try{return o=e,a=t,i=n,c=r,self.local_storage_set_item(h(e,t),h(n,r))}finally{j.__wbindgen_free(o,a,1),j.__wbindgen_free(i,c,1)}},arguments)},__wbg_log_0c201ade58bb55e1:function(e,t,n,r,o,a,i,c){var u,s;try{u=e,s=t,console.log(h(e,t),h(n,r),h(o,a),h(i,c))}finally{j.__wbindgen_free(u,s,1)}},__wbg_log_ce2c4456b290c5e7:function(e,t){var n,r;try{n=e,r=t,console.log(h(e,t))}finally{j.__wbindgen_free(n,r,1)}},__wbg_mark_b4d943f3bc2d2404:function(e,t){performance.mark(h(e,t))},__wbg_measure_84362959e621a2c1:function(){return y(function(e,t,n,r){var o,a,i,c;try{o=e,a=t,i=n,c=r,performance.measure(h(e,t),h(n,r))}finally{j.__wbindgen_free(o,a,1),j.__wbindgen_free(i,c,1)}},arguments)},__wbg_message_324ac511aeaf710e:function(e){return e.message},__wbg_msCrypto_bcce18ddb1ca6c2d:function(e){return e.msCrypto},__wbg_navigator_db7d86c168d224ca:function(e){return e.navigator},__wbg_new_02d162bc6cf02f60:function(){return new Object},__wbg_new_0_2722fcdb71a888a6:function(){return new Date},__wbg_new_227d7c05414eb861:function(){return new Error},__wbg_new_859b9002e2668e82:function(e){return new Date(e)},__wbg_new_typed_c072c4ce9a2a0cdf:function(e,t){try{var n={a:e,b:t},r=new Promise(function(e,t){var r=n.a;n.a=0;try{return(function(e,t,n,r){j.wasm_bindgen__convert__closures_____invoke__hb881961d1559463a(e,t,n,r)})(r,n.b,e,t)}finally{n.a=r}});return r}finally{n.a=0}},__wbg_new_with_length_99887c91eae4abab:function(e){return new Uint8Array(e>>>0)},__wbg_new_with_str_and_init_b298076a99bf2a5a:function(){return y(function(e,t,n){return new Request(h(e,t),n)},arguments)},__wbg_node_8ae12470cbc10fa7:function(e){return e.node},__wbg_now_81363d44c96dd239:function(){return Date.now()},__wbg_parse_2c1cad6215e84999:function(){return y(function(e,t){return JSON.parse(h(e,t))},arguments)},__wbg_process_c9cfbc1e2919260e:function(e){return e.process},__wbg_prototypesetcall_5f9bdc8d75e07276:function(e,t,n){Uint8Array.prototype.set.call(b(e,t),n)},__wbg_queueMicrotask_78d584b53af520f5:function(e){return e.queueMicrotask},__wbg_queueMicrotask_b39ea83c7f01971a:function(e){queueMicrotask(e)},__wbg_randomFillSync_143a36904a882f2a:function(){return y(function(e,t){e.randomFillSync(t)},arguments)},__wbg_require_def5a4782aa802ec:function(){return y(function(){return e.require},arguments)},__wbg_resolve_d17db9352f5a220e:function(e){return Promise.resolve(e)},__wbg_setInterval_9f3fb04a7c15cf98:function(){return y(function(e,t,n){return e.setInterval(t,n)},arguments)},__wbg_set_a0e911be3da02782:function(){return y(function(e,t,n){return Reflect.set(e,t,n)},arguments)},__wbg_stack_3b0d974bbf31e44f:function(e,t){var n=S(t.stack,j.__wbindgen_malloc,j.__wbindgen_realloc),r=R;p().setInt32(e+4,r,!0),p().setInt32(e+0,n,!0)},__wbg_static_accessor_APP_VERSION_d572488a47280307:function(e){var t=S(self.app_version,j.__wbindgen_malloc,j.__wbindgen_realloc),n=R;p().setInt32(e+4,n,!0),p().setInt32(e+0,t,!0)},__wbg_static_accessor_GLOBAL_THIS_02344c9b09eb08a9:function(){var e="undefined"==typeof globalThis?null:globalThis;return m(e)?0:_(e)},__wbg_static_accessor_GLOBAL_ac6d4ac874d5cd54:function(){var e=void 0===n.g?null:n.g;return m(e)?0:_(e)},__wbg_static_accessor_SELF_9b2406c23aeb2023:function(){var e="undefined"==typeof self?null:self;return m(e)?0:_(e)},__wbg_static_accessor_SHELL_VERSION_7ebd880f39bf8afd:function(e){var t,n="undefined"==typeof self?null:null===(t=self)||void 0===t?void 0:t.shell_version,r=m(n)?0:S(n,j.__wbindgen_malloc,j.__wbindgen_realloc),o=R;p().setInt32(e+4,o,!0),p().setInt32(e+0,r,!0)},__wbg_static_accessor_WINDOW_b34d2126934e16ba:function(){var e="undefined"==typeof window?null:window;return m(e)?0:_(e)},__wbg_status_2c777a07423d94bb:function(e){return e.status},__wbg_stringify_ef0c105b1ccc3849:function(){return y(function(e){return JSON.stringify(e)},arguments)},__wbg_subarray_7c6a0da8f3b4a1ba:function(e,t,n){return e.subarray(t>>>0,n>>>0)},__wbg_text_6347ea31f63c60db:function(){return y(function(e){return e.text()},arguments)},__wbg_then_837494e384b37459:function(e,t){return e.then(t)},__wbg_then_bd927500e8905df2:function(e,t,n){return e.then(t,n)},__wbg_versions_a8a74c7ca68bfe73:function(e){return e.versions},__wbindgen_cast_0000000000000001:function(e,t){return x(e,t,f)},__wbindgen_cast_0000000000000002:function(e,t){return x(e,t,s)},__wbindgen_cast_0000000000000003:function(e){return e},__wbindgen_cast_0000000000000004:function(e,t){return b(e,t)},__wbindgen_cast_0000000000000005:function(e,t){return h(e,t)},__wbindgen_init_externref_table:function(){var e=j.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}};return{__proto__:null,"./stremio_core_web_bg.js":t}}function s(e,t){j.wasm_bindgen__convert__closures_____invoke__hf775b010b8ff6cb0(e,t)}function f(e,t,n){var r=j.wasm_bindgen__convert__closures_____invoke__hd55b456c30d272fd(e,t,n);if(r[1])throw k(r[0])}function _(e){var t=j.__externref_table_alloc();return j.__wbindgen_externrefs.set(t,e),t}var l="undefined"==typeof FinalizationRegistry?{register:function(){},unregister:function(){}}:new FinalizationRegistry(function(e){return j.__wbindgen_destroy_closure(e.a,e.b)});function d(e){var t=(0,i.default)(e);if("number"==t||"boolean"==t||null==e)return"".concat(e);if("string"==t)return'"'.concat(e,'"');if("symbol"==t){var n=e.description;return null==n?"Symbol":"Symbol(".concat(n,")")}if("function"==t){var r=e.name;return"string"==typeof r&&r.length>0?"Function(".concat(r,")"):"Function"}if(Array.isArray(e)){var o=e.length,a="[";o>0&&(a+=d(e[0]));for(var c=1;c<o;c++)a+=", "+d(e[c]);return a+="]"}var u,s=/\[object ([^\]]+)\]/.exec(toString.call(e));if(!(s&&s.length>1))return toString.call(e);if("Object"==(u=s[1]))try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?"".concat(e.name,": ").concat(e.message,"\n").concat(e.stack):u}function b(e,t){return e>>>=0,v().subarray(e/1,e/1+t)}var g=null;function p(){return(null===g||!0===g.buffer.detached||void 0===g.buffer.detached&&g.buffer!==j.memory.buffer)&&(g=new DataView(j.memory.buffer)),g}function h(e,t){return(function(e,t){O+=t,O>=E&&((L=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),O=t);return L.decode(v().subarray(e,e+t))})(e>>>0,t)}var w=null;function v(){return null!==w&&0!==w.byteLength||(w=new Uint8Array(j.memory.buffer)),w}function y(e,t){try{return e.apply(this,t)}catch(e){var n=_(e);j.__wbindgen_exn_store(n)}}function m(e){return null==e}function x(e,t,n){var r={a:e,b:t,cnt:1},o=function e(){r.cnt++;var t=r.a;r.a=0;try{for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return n.apply(void 0,[t,r.b].concat(a))}finally{r.a=t,e._wbg_cb_unref()}};return o._wbg_cb_unref=function(){0===--r.cnt&&(j.__wbindgen_destroy_closure(r.a,r.b),r.a=0,l.unregister(r))},l.register(o,r,r),o}function S(e,t,n){if(void 0===n){var r=I.encode(e),o=t(r.length,1)>>>0;return v().subarray(o,o+r.length).set(r),R=r.length,o}for(var a=e.length,i=t(a,1)>>>0,c=v(),u=0;u<a;u++){var s=e.charCodeAt(u);if(s>127)break;c[i+u]=s}if(u!==a){0!==u&&(e=e.slice(u)),i=n(i,a,a=u+3*e.length,1)>>>0;var f=v().subarray(i+u,i+a);i=n(i,a,u+=I.encodeInto(e,f).written,1)>>>0}return R=u,i}function k(e){var t=j.__wbindgen_externrefs.get(e);return j.__externref_table_dealloc(e),t}var L=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});L.decode();var E=2146435072,O=0;var I=new TextEncoder;"encodeInto"in I||(I.encodeInto=function(e,t){var n=I.encode(e);return t.set(n),{read:e.length,written:n.length}});var j,R=0;function A(e,t){return j=e.exports,g=null,w=null,j.__wbindgen_start(),j}function T(e,t){return M.apply(this,arguments)}function M(){return M=(0,a.default)(o.default.mark(function e(t,n){var r,a,i;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=function(e){switch(e){case"basic":case"cors":case"default":return!0}return!1},!("function"==typeof Response&&t instanceof Response)){e.next=25;break}if("function"!=typeof WebAssembly.instantiateStreaming){e.next=17;break}return e.prev=3,e.next=6,WebAssembly.instantiateStreaming(t,n);case 6:case 22:return e.abrupt("return",e.sent);case 9:if(e.prev=9,e.t0=e.catch(3),!(t.ok&&i(t.type))||"application/wasm"===t.headers.get("Content-Type")){e.next=16;break}console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e.t0),e.next=17;break;case 16:throw e.t0;case 17:return e.next=19,t.arrayBuffer();case 19:return r=e.sent,e.next=22,WebAssembly.instantiate(r,n);case 25:return e.next=27,WebAssembly.instantiate(t,n);case 27:if(!((a=e.sent)instanceof WebAssembly.Instance)){e.next=32;break}return e.abrupt("return",{instance:a,module:t});case 32:return e.abrupt("return",a);case 33:case"end":return e.stop()}},e,null,[[3,9]])})),M.apply(this,arguments)}function P(){return P=(0,a.default)(o.default.mark(function e(t){var n,r,a,i;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===j){e.next=2;break}return e.abrupt("return",j);case 2:return void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?t=t.module_or_path:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===t&&(t=new URL("stremio_core_web_bg.wasm",c.url)),n=u(),("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t)),e.t0=T,e.next=9,t;case 9:return e.t1=e.sent,e.t2=n,e.next=13,(0,e.t0)(e.t1,e.t2);case 13:return r=e.sent,a=r.instance,i=r.module,e.abrupt("return",A(a,i));case 17:case"end":return e.stop()}},e)})),P.apply(this,arguments)}},8952(e,t,n){"use strict";e.exports=n.p+"6ed4463d94baf972dda2630c914ce91c747f9f7c/binaries/stremio_core_web_bg.wasm"},68048(e){function t(e,t,n,r,o,a,i){try{var c=e[a](i),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise(function(o,a){var i=e.apply(n,r);function c(e){t(i,o,a,c,u,"next",e)}function u(e){t(i,o,a,c,u,"throw",e)}c(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},28161(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},79556(e,t,n){var r=n(56811).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},a=Object.prototype,i=a.hasOwnProperty,c=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",f=u.asyncIterator||"@@asyncIterator",_=u.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(t){l=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),i=new M(r||[]);return c(a,"_invoke",{value:j(e,n,i)}),a}function b(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=d;var g="suspendedStart",p="suspendedYield",h="executing",w="completed",v={};function y(){}function m(){}function x(){}var S={};l(S,s,function(){return this});var k=Object.getPrototypeOf,L=k&&k(k(P([])));L&&L!==a&&i.call(L,s)&&(S=L);var E=x.prototype=y.prototype=Object.create(S);function O(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function I(e,t){function n(o,a,c,u){var s=b(e[o],e,a);if("throw"!==s.type){var f=s.arg,_=f.value;return _&&"object"==r(_)&&i.call(_,"__await")?t.resolve(_.__await).then(function(e){n("next",e,c,u)},function(e){n("throw",e,c,u)}):t.resolve(_).then(function(e){f.value=e,c(f)},function(e){return n("throw",e,c,u)})}u(s.arg)}var o;c(this,"_invoke",{value:function(e,r){function a(){return new t(function(t,o){n(e,r,t,o)})}return o=o?o.then(a,a):a()}})}function j(e,n,r){var o=g;return function(a,i){if(o===h)throw Error("Generator is already running");if(o===w){if("throw"===a)throw i;return{value:t,done:!0}}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var u=R(c,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===g)throw o=w,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var s=b(e,n,r);if("normal"===s.type){if(o=r.done?w:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=w,r.method="throw",r.arg=s.arg)}}}function R(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,R(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=b(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function P(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(r(e)+" is not iterable")}return m.prototype=x,c(E,"constructor",{value:x,configurable:!0}),c(x,"constructor",{value:m,configurable:!0}),m.displayName=l(x,_,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,l(e,_,"GeneratorFunction")),e.prototype=Object.create(E),e},n.awrap=function(e){return{__await:e}},O(I.prototype),l(I.prototype,f,function(){return this}),n.AsyncIterator=I,n.async=function(e,t,r,o,a){void 0===a&&(a=Promise);var i=new I(d(e,t,r,o),a);return n.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},O(E),l(E,_,"Generator"),l(E,s,function(){return this}),l(E,"toString",function(){return"[object Generator]"}),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=P,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},56811(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},49507(e,t,n){var r=n(79556)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r](a,a.exports,n),a.loaded=!0,a.exports}n.g=(function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}})(),n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../../"})(),(()=>{"use strict";var e=n(28161),t=e(n(49507)),r=e(n(68048)),o=new(n(14265))(self,self);self.init=(function(){var e=(0,r.default)(t.default.mark(function e(a){var i,c,u,s,f,_,l,d,b,g,p;return t.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.appVersion,c=a.shellVersion,self.document={baseURI:self.location.href},self.app_version=i,self.shell_version=c,self.get_location_hash=(0,r.default)(t.default.mark(function e(){return t.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o.call(["location","hash"],[]));case 1:case"end":return e.stop()}},e)})),self.local_storage_get_item=(function(){var e=(0,r.default)(t.default.mark(function e(n){return t.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o.call(["localStorage","getItem"],[n]));case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}})(),self.local_storage_set_item=(function(){var e=(0,r.default)(t.default.mark(function e(n,r){return t.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o.call(["localStorage","setItem"],[n,r]));case 1:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}})(),self.local_storage_remove_item=(function(){var e=(0,r.default)(t.default.mark(function e(n){return t.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o.call(["localStorage","removeItem"],[n]));case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}})(),u=n(35776),s=u.default,f=u.initialize_runtime,_=u.get_state,l=u.get_debug_state,d=u.dispatch,b=u.analytics,g=u.decode_stream,p=u.encode_stream,self.getState=_,self.getDebugState=l,self.dispatch=d,self.analytics=b,self.decodeStream=g,self.encodeStream=p,e.next=17,s(n(8952));case 17:return e.next=19,f(function(e){return o.call(["onCoreEvent"],[e])});case 19:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}})()})()})(); //# sourceMappingURL=worker.js.map