livebook/priv/static/js/editor.worker.js

1 line
118 KiB
JavaScript
Raw Normal View History

!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/js/",n(n.s=4)}([function(e,t,n){"use strict";(function(e,i){var r;n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return E})),n.d(t,"a",(function(){return y})),n.d(t,"e",(function(){return v}));let s=!1,o=!1,a=!1,l=!1,u=!1,h=!1,c=!1,d=void 0,f="en",m=void 0,g=void 0;const _="object"==typeof self?self:"object"==typeof e?e:{};let p=void 0;void 0!==i?p=i:void 0!==_.vscode&&(p=_.vscode.process);const C="string"==typeof(null===(r=null==p?void 0:p.versions)||void 0===r?void 0:r.electron)&&"renderer"===p.type,b=C&&(null==p?void 0:p.sandboxed);(()=>{if(b)return"bypassHeatCheck";const e=null==p?void 0:p.env.ENABLE_VSCODE_BROWSER_CODE_LOADING})();if("object"!=typeof navigator||C)if("object"==typeof p){s="win32"===p.platform,o="darwin"===p.platform,a="linux"===p.platform,l=a&&!!p.env.SNAP&&!!p.env.SNAP_REVISION,d="en",f="en";const e=p.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];d=t.locale,f=n||"en",m=t._translationsConfigFile}catch(e){}u=!0}else console.error("Unable to resolve platform.");else g=navigator.userAgent,s=g.indexOf("Windows")>=0,o=g.indexOf("Macintosh")>=0,c=(g.indexOf("Macintosh")>=0||g.indexOf("iPad")>=0||g.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,a=g.indexOf("Linux")>=0,h=!0,d=navigator.language,f=d;let L=0;o?L=1:s?L=3:a&&(L=2);const S=s,N=o,E=h,y=_,v=function(){if(y.setImmediate)return y.setImmediate.bind(y);if("function"==typeof y.postMessage&&!y.importScripts){let e=[];y.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,i=e.length;n<i;n++){const i=e[n];if(i.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void i.callback()}});let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),y.postMessage({vscodeSetImmediateId:i},"*")}}if(p&&"function"==typeof p.nextTick)return p.nextTick.bind(p);const e=Promise.resolve();return t=>e.then(t)}()}).call(this,n(3),n(2))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a}));var i=n(0);let r;r=void 0!==e?e:void 0!==i.a.vscode?{get platform(){return i.a.vscode.process.platform},get env(){return i.a.vscode.process.env},nextTick:e=>Object(i.e)(e),cwd:()=>i.a.vscode.process.env.VSCODE_CWD||i.a.vscode.process.execPath.substr(0,i.a.vscode.process.execPath.lastIndexOf("win32"===i.a.vscode.process.platform?"\\":"/"))}:{get platform(){return i.d?"win32":i.b?"darwin":"linux"},nextTick:e=>Object(i.e)(e),get env(){return Object.create(null)},cwd:()=>"/"};const s=r.cwd,o=r.env,a=r.platform}).call(this,n(2))},function(e,t){var n,i,r=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:s}catch(e){n=s}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var l,u=[],h=!1,c=-1;function d(){h&&l&&(h=!1,l.len