-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy path383.47aa5e5.js
2 lines (2 loc) · 14.7 KB
/
383.47aa5e5.js
1
2
(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[383,7061],{66161:e=>{"use strict";function t(e){return"number"==typeof e||!!/^0x[0-9a-f]+$/i.test(e)||/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function n(e,t){return"constructor"===t&&"function"==typeof e[t]||"__proto__"===t}e.exports=function(e,r){r||(r={});var o={bools:{},strings:{},unknownFn:null};"function"==typeof r.unknown&&(o.unknownFn=r.unknown),"boolean"==typeof r.boolean&&r.boolean?o.allBools=!0:[].concat(r.boolean).filter(Boolean).forEach((function(e){o.bools[e]=!0}));var s={};function a(e){return s[e].some((function(e){return o.bools[e]}))}Object.keys(r.alias||{}).forEach((function(e){s[e]=[].concat(r.alias[e]),s[e].forEach((function(t){s[t]=[e].concat(s[e].filter((function(e){return t!==e})))}))})),[].concat(r.string).filter(Boolean).forEach((function(e){o.strings[e]=!0,s[e]&&[].concat(s[e]).forEach((function(e){o.strings[e]=!0}))}));var i=r.default||{},c={_:[]};function l(e,t,r){for(var s=e,a=0;a<t.length-1;a++){var i=t[a];if(n(s,i))return;void 0===s[i]&&(s[i]={}),s[i]!==Object.prototype&&s[i]!==Number.prototype&&s[i]!==String.prototype||(s[i]={}),s[i]===Array.prototype&&(s[i]=[]),s=s[i]}var c=t[t.length-1];n(s,c)||(s!==Object.prototype&&s!==Number.prototype&&s!==String.prototype||(s={}),s===Array.prototype&&(s=[]),void 0===s[c]||o.bools[c]||"boolean"==typeof s[c]?s[c]=r:Array.isArray(s[c])?s[c].push(r):s[c]=[s[c],r])}function u(e,n,r){if(!r||!o.unknownFn||function(e,t){return o.allBools&&/^--[^=]+$/.test(t)||o.strings[e]||o.bools[e]||s[e]}(e,r)||!1!==o.unknownFn(r)){var a=!o.strings[e]&&t(n)?Number(n):n;l(c,e.split("."),a),(s[e]||[]).forEach((function(e){l(c,e.split("."),a)}))}}Object.keys(o.bools).forEach((function(e){u(e,void 0!==i[e]&&i[e])}));var f=[];-1!==e.indexOf("--")&&(f=e.slice(e.indexOf("--")+1),e=e.slice(0,e.indexOf("--")));for(var h=0;h<e.length;h++){var p,d,g=e[h];if(/^--.+=/.test(g)){var m=g.match(/^--([^=]+)=([\s\S]*)$/);p=m[1];var v=m[2];o.bools[p]&&(v="false"!==v),u(p,v,g)}else if(/^--no-.+/.test(g))u(p=g.match(/^--no-(.+)/)[1],!1,g);else if(/^--.+/.test(g))p=g.match(/^--(.+)/)[1],void 0===(d=e[h+1])||/^(-|--)[^-]/.test(d)||o.bools[p]||o.allBools||s[p]&&a(p)?/^(true|false)$/.test(d)?(u(p,"true"===d,g),h+=1):u(p,!o.strings[p]||"",g):(u(p,d,g),h+=1);else if(/^-[^-]+/.test(g)){for(var y=g.slice(1,-1).split(""),b=!1,w=0;w<y.length;w++)if("-"!==(d=g.slice(w+2))){if(/[A-Za-z]/.test(y[w])&&"="===d[0]){u(y[w],d.slice(1),g),b=!0;break}if(/[A-Za-z]/.test(y[w])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(d)){u(y[w],d,g),b=!0;break}if(y[w+1]&&y[w+1].match(/\W/)){u(y[w],g.slice(w+2),g),b=!0;break}u(y[w],!o.strings[y[w]]||"",g)}else u(y[w],d,g);p=g.slice(-1)[0],b||"-"===p||(!e[h+1]||/^(-|--)[^-]/.test(e[h+1])||o.bools[p]||s[p]&&a(p)?e[h+1]&&/^(true|false)$/.test(e[h+1])?(u(p,"true"===e[h+1],g),h+=1):u(p,!o.strings[p]||"",g):(u(p,e[h+1],g),h+=1))}else if(o.unknownFn&&!1===o.unknownFn(g)||c._.push(o.strings._||!t(g)?g:Number(g)),r.stopEarly){c._.push.apply(c._,e.slice(h+1));break}}return Object.keys(i).forEach((function(e){var t,n,r;t=c,n=e.split("."),r=t,n.slice(0,-1).forEach((function(e){r=r[e]||{}})),n[n.length-1]in r||(l(c,e.split("."),i[e]),(s[e]||[]).forEach((function(t){l(c,t.split("."),i[e])})))})),r["--"]?c["--"]=f.slice():f.forEach((function(e){c._.push(e)})),c}},67425:(e,t,n)=>{"use strict";var r=n(27061);function o(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function s(e,t){for(var n,r="",o=0,s=-1,a=0,i=0;i<=e.length;++i){if(i<e.length)n=e.charCodeAt(i);else{if(47===n)break;n=47}if(47===n){if(s===i-1||1===a);else if(s!==i-1&&2===a){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",o=0):o=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),s=i,a=0;continue}}else if(2===r.length||1===r.length){r="",o=0,s=i,a=0;continue}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(s+1,i):r=e.slice(s+1,i),o=i-s-1;s=i,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var a={resolve:function(){for(var e,t="",n=!1,a=arguments.length-1;a>=-1&&!n;a--){var i;a>=0?i=arguments[a]:(void 0===e&&(e=r.cwd()),i=e),o(i),0!==i.length&&(t=i+"/"+t,n=47===i.charCodeAt(0))}return t=s(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=s(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];o(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":a.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=a.resolve(e))===(t=a.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var r=e.length,s=r-n,i=1;i<t.length&&47===t.charCodeAt(i);++i);for(var c=t.length-i,l=s<c?s:c,u=-1,f=0;f<=l;++f){if(f===l){if(c>l){if(47===t.charCodeAt(i+f))return t.slice(i+f+1);if(0===f)return t.slice(i+f)}else s>l&&(47===e.charCodeAt(n+f)?u=f:0===f&&(u=0));break}var h=e.charCodeAt(n+f);if(h!==t.charCodeAt(i+f))break;47===h&&(u=f)}var p="";for(f=n+u+1;f<=r;++f)f!==r&&47!==e.charCodeAt(f)||(0===p.length?p+="..":p+="/..");return p.length>0?p+t.slice(i+u):(i+=u,47===t.charCodeAt(i)&&++i,t.slice(i))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,s=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!s){r=a;break}}else s=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');o(e);var n,r=0,s=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var i=t.length-1,c=-1;for(n=e.length-1;n>=0;--n){var l=e.charCodeAt(n);if(47===l){if(!a){r=n+1;break}}else-1===c&&(a=!1,c=n+1),i>=0&&(l===t.charCodeAt(i)?-1==--i&&(s=n):(i=-1,s=c))}return r===s?s=c:-1===s&&(s=e.length),e.slice(r,s)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){r=n+1;break}}else-1===s&&(a=!1,s=n+1);return-1===s?"":e.slice(r,s)},extname:function(e){o(e);for(var t=-1,n=0,r=-1,s=!0,a=0,i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47!==c)-1===r&&(s=!1,r=i+1),46===c?-1===t?t=i:1!==a&&(a=1):-1!==t&&(a=-1);else if(!s){n=i+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),s=47===r;s?(t.root="/",n=1):n=0;for(var a=-1,i=0,c=-1,l=!0,u=e.length-1,f=0;u>=n;--u)if(47!==(r=e.charCodeAt(u)))-1===c&&(l=!1,c=u+1),46===r?-1===a?a=u:1!==f&&(f=1):-1!==a&&(f=-1);else if(!l){i=u+1;break}return-1===a||-1===c||0===f||1===f&&a===c-1&&a===i+1?-1!==c&&(t.base=t.name=0===i&&s?e.slice(1,c):e.slice(i,c)):(0===i&&s?(t.name=e.slice(1,a),t.base=e.slice(1,c)):(t.name=e.slice(i,a),t.base=e.slice(i,c)),t.ext=e.slice(a,c)),i>0?t.dir=e.slice(0,i-1):s&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,e.exports=a},27061:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var i,c=[],l=!1,u=-1;function f(){l&&i&&(l=!1,i.length?c=i.concat(c):u=-1,c.length&&h())}function h(){if(!l){var e=a(f);l=!0;for(var t=c.length;t;){for(i=c,c=[];++u<t;)i&&i[u].run();u=-1,t=c.length}i=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function d(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||l||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=d,r.addListener=d,r.once=d,r.off=d,r.removeListener=d,r.removeAllListeners=d,r.emit=d,r.prependListener=d,r.prependOnceListener=d,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},88157:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var r,s,a=[];for(s in"string"!=typeof t&&(t="?"),e)if(n.call(e,s)){if((r=e[s])||null!=r&&!isNaN(r)||(r=""),s=o(s),r=o(r),null===s||null===r)continue;a.push(s+"="+r)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,o={};t=n.exec(e);){var s=r(t[1]),a=r(t[2]);null===s||null===a||s in o||(o[s]=a)}return o}},53096:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},80899:(e,t,n)=>{"use strict";var r=n(53096),o=n(88157),s=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,i=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function f(e){return(e||"").toString().replace(s,"")}var h=[["#","hash"],["?","query"],function(e,t){return g(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function d(e){var t,r=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},o={},s=typeof(e=e||r);if("blob:"===e.protocol)o=new v(unescape(e.pathname),{});else if("string"===s)for(t in o=new v(e,{}),p)delete o[t];else if("object"===s){for(t in e)t in p||(o[t]=e[t]);void 0===o.slashes&&(o.slashes=i.test(e.href))}return o}function g(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function m(e,t){e=(e=f(e)).replace(a,""),t=t||{};var n,r=l.exec(e),o=r[1]?r[1].toLowerCase():"",s=!!r[2],i=!!r[3],c=0;return s?i?(n=r[2]+r[3]+r[4],c=r[2].length+r[3].length):(n=r[2]+r[4],c=r[2].length):i?(n=r[3]+r[4],c=r[3].length):n=r[4],"file:"===o?c>=2&&(n=n.slice(2)):g(o)?n=r[4]:o?s&&(n=n.slice(2)):c>=2&&g(t.protocol)&&(n=r[4]),{protocol:o,slashes:s||g(o),slashesCount:c,rest:n}}function v(e,t,n){if(e=(e=f(e)).replace(a,""),!(this instanceof v))return new v(e,t,n);var s,i,c,l,p,y,b=h.slice(),w=typeof t,C=this,A=0;for("object"!==w&&"string"!==w&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),s=!(i=m(e||"",t=d(t))).protocol&&!i.slashes,C.slashes=i.slashes||s&&t.slashes,C.protocol=i.protocol||t.protocol||"",e=i.rest,("file:"===i.protocol&&(2!==i.slashesCount||u.test(e))||!i.slashes&&(i.protocol||i.slashesCount<2||!g(C.protocol)))&&(b[3]=[/(.*)/,"pathname"]);A<b.length;A++)"function"!=typeof(l=b[A])?(c=l[0],y=l[1],c!=c?C[y]=e:"string"==typeof c?~(p="@"===c?e.lastIndexOf(c):e.indexOf(c))&&("number"==typeof l[2]?(C[y]=e.slice(0,p),e=e.slice(p+l[2])):(C[y]=e.slice(p),e=e.slice(0,p))):(p=c.exec(e))&&(C[y]=p[1],e=e.slice(0,p.index)),C[y]=C[y]||s&&l[3]&&t[y]||"",l[4]&&(C[y]=C[y].toLowerCase())):e=l(e,C);n&&(C.query=n(C.query)),s&&t.slashes&&"/"!==C.pathname.charAt(0)&&(""!==C.pathname||""!==t.pathname)&&(C.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,o=n[r-1],s=!1,a=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),a++):a&&(0===r&&(s=!0),n.splice(r,1),a--);return s&&n.unshift(""),"."!==o&&".."!==o||n.push(""),n.join("/")}(C.pathname,t.pathname)),"/"!==C.pathname.charAt(0)&&g(C.protocol)&&(C.pathname="/"+C.pathname),r(C.port,C.protocol)||(C.host=C.hostname,C.port=""),C.username=C.password="",C.auth&&(~(p=C.auth.indexOf(":"))?(C.username=C.auth.slice(0,p),C.username=encodeURIComponent(decodeURIComponent(C.username)),C.password=C.auth.slice(p+1),C.password=encodeURIComponent(decodeURIComponent(C.password))):C.username=encodeURIComponent(decodeURIComponent(C.auth)),C.auth=C.password?C.username+":"+C.password:C.username),C.origin="file:"!==C.protocol&&g(C.protocol)&&C.host?C.protocol+"//"+C.host:"null",C.href=C.toString()}v.prototype={set:function(e,t,n){var s=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||o.parse)(t)),s[e]=t;break;case"port":s[e]=t,r(t,s.protocol)?t&&(s.host=s.hostname+":"+t):(s.host=s.hostname,s[e]="");break;case"hostname":s[e]=t,s.port&&(t+=":"+s.port),s.host=t;break;case"host":s[e]=t,c.test(t)?(t=t.split(":"),s.port=t.pop(),s.hostname=t.join(":")):(s.hostname=t,s.port="");break;case"protocol":s.protocol=t.toLowerCase(),s.slashes=!n;break;case"pathname":case"hash":if(t){var a="pathname"===e?"/":"#";s[e]=t.charAt(0)!==a?a+t:t}else s[e]=t;break;case"username":case"password":s[e]=encodeURIComponent(t);break;case"auth":var i=t.indexOf(":");~i?(s.username=t.slice(0,i),s.username=encodeURIComponent(decodeURIComponent(s.username)),s.password=t.slice(i+1),s.password=encodeURIComponent(decodeURIComponent(s.password))):s.username=encodeURIComponent(decodeURIComponent(t))}for(var l=0;l<h.length;l++){var u=h[l];u[4]&&(s[u[1]]=s[u[1]].toLowerCase())}return s.auth=s.password?s.username+":"+s.password:s.username,s.origin="file:"!==s.protocol&&g(s.protocol)&&s.host?s.protocol+"//"+s.host:"null",s.href=s.toString(),s},toString:function(e){e&&"function"==typeof e||(e=o.stringify);var t,n=this,r=n.host,s=n.protocol;s&&":"!==s.charAt(s.length-1)&&(s+=":");var a=s+(n.protocol&&n.slashes||g(n.protocol)?"//":"");return n.username?(a+=n.username,n.password&&(a+=":"+n.password),a+="@"):n.password?(a+=":"+n.password,a+="@"):"file:"!==n.protocol&&g(n.protocol)&&!r&&"/"!==n.pathname&&(a+="@"),(":"===r[r.length-1]||c.test(n.hostname)&&!n.port)&&(r+=":"),a+=r+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(a+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(a+=n.hash),a}},v.extractProtocol=m,v.location=d,v.trimLeft=f,v.qs=o,e.exports=v}}]);
//# sourceMappingURL=383.47aa5e5.js.map