streamlit-nightly 1.42.3.dev20250228__py2.py3-none-any.whl → 1.42.3.dev20250302__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- streamlit/static/index.html +1 -1
- streamlit/static/static/js/{FileDownload.esm.BjRCwIvW.js → FileDownload.esm.MU0nAJxt.js} +1 -1
- streamlit/static/static/js/{FileHelper.CGrcmoNK.js → FileHelper.D-6vwsT7.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.CyjIZnZM.js → FormClearHelper.DzssExOY.js} +1 -1
- streamlit/static/static/js/{Hooks.-DbiQ7Am.js → Hooks.X18-6oCR.js} +1 -1
- streamlit/static/static/js/{InputInstructions.CV_L9pmm.js → InputInstructions.DMffPiri.js} +1 -1
- streamlit/static/static/js/{ProgressBar.BMUfDSdU.js → ProgressBar.REkskfZ6.js} +1 -1
- streamlit/static/static/js/{RenderInPortalIfExists.DBak2tzf.js → RenderInPortalIfExists.CaN0JvX5.js} +1 -1
- streamlit/static/static/js/{Toolbar.BpCHhFl7.js → Toolbar.BNy6-0V9.js} +1 -1
- streamlit/static/static/js/{base-input.B4K7gn3m.js → base-input.DDph5ZTh.js} +1 -1
- streamlit/static/static/js/{checkbox.CAX7YHDZ.js → checkbox.YfIvYeNy.js} +1 -1
- streamlit/static/static/js/{createSuper.D9gT0sOi.js → createSuper.AWf9GP6U.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.gLdGVwGm.js → data-grid-overlay-editor.BLYw7T13.js} +1 -1
- streamlit/static/static/js/{downloader.DcsU6eyn.js → downloader.nl_vIzBu.js} +1 -1
- streamlit/static/static/js/{es6.dTL0Du7U.js → es6.BK9dY4sJ.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.flH1YmDM.js → iframeResizer.contentWindow.DPzfRlbi.js} +1 -1
- streamlit/static/static/js/index.-uuuxAE7.js +203 -0
- streamlit/static/static/js/{index.DkoFwjhv.js → index.3wDnIhs1.js} +1 -1
- streamlit/static/static/js/{index.DbiiV9to.js → index.6viEYUdA.js} +1 -1
- streamlit/static/static/js/{index.CgbCWpVz.js → index.7RV95eQw.js} +1 -1
- streamlit/static/static/js/index.B4JhHRj2.js +3855 -0
- streamlit/static/static/js/{index.B6RoN18x.js → index.BN9xLPzN.js} +1 -1
- streamlit/static/static/js/{index.BzXJd4o6.js → index.BXoSWEhJ.js} +1 -1
- streamlit/static/static/js/{index.DwAnNzqz.js → index.Bc52-u2S.js} +1 -1
- streamlit/static/static/js/{index.D-_iawK3.js → index.BqqfaHV9.js} +1 -1
- streamlit/static/static/js/{index.D9jWe5tN.js → index.BrWH5gNy.js} +1 -1
- streamlit/static/static/js/{index.DIHkG0HG.js → index.BuZyz96w.js} +1 -1
- streamlit/static/static/js/{index.DIgKi8Bp.js → index.Bx0Be8iF.js} +1 -1
- streamlit/static/static/js/{index.BzxT1LSG.js → index.C2ER1qQG.js} +1 -1
- streamlit/static/static/js/{index.-WtL21xT.js → index.C3J9I4Qy.js} +1 -1
- streamlit/static/static/js/index.C88pvD_q.js +6 -0
- streamlit/static/static/js/{index.iqovFu7V.js → index.CD9aQBDI.js} +1 -1
- streamlit/static/static/js/{index.BJIOzTyr.js → index.CTymsTTB.js} +1 -1
- streamlit/static/static/js/{index.B7TcBuqC.js → index.CV1vqu8X.js} +1 -1
- streamlit/static/static/js/{index.D9Gtya_A.js → index.Cf6Pj8Jt.js} +1 -1
- streamlit/static/static/js/{index.DB-0Yu8-.js → index.CoX57Z0X.js} +1 -1
- streamlit/static/static/js/{index.BMUI3dle.js → index.D5WhGmsx.js} +1 -1
- streamlit/static/static/js/{index.mRpR0u1n.js → index.D6Y5ypee.js} +1 -1
- streamlit/static/static/js/{index.BUNYdCvS.js → index.DFLL-J15.js} +127 -126
- streamlit/static/static/js/{index.DgSb0EiE.js → index.DIMh2slz.js} +1 -1
- streamlit/static/static/js/{index.y-qJHV46.js → index.DMsLuMo4.js} +1 -1
- streamlit/static/static/js/{index.BFxZ-0WR.js → index.DVJzE2M1.js} +1 -1
- streamlit/static/static/js/{index.CWFsehBI.js → index.DYowKMte.js} +1 -1
- streamlit/static/static/js/{index.BCg2ff_8.js → index.D_ANlHT-.js} +1 -1
- streamlit/static/static/js/{index.BV2qQuMO.js → index.Du8FKb6_.js} +5 -5
- streamlit/static/static/js/{index.ChXmN16b.js → index.DwT5qUSO.js} +1 -1
- streamlit/static/static/js/{index.BX8IgiDA.js → index.HMmByEVP.js} +1 -1
- streamlit/static/static/js/{index.CHfW08Eb.js → index.K_eBGdkn.js} +1 -1
- streamlit/static/static/js/{index.B0VH6CCN.js → index.QWADtOoc.js} +1 -1
- streamlit/static/static/js/{index.u-XgtJxJ.js → index.R376rgCp.js} +1 -1
- streamlit/static/static/js/{index.D7qPBPzh.js → index.T6yaPTmV.js} +1 -1
- streamlit/static/static/js/{index.QEh4WZkI.js → index._yUNqU9v.js} +1 -1
- streamlit/static/static/js/{index.PrjikacM.js → index.ba5plLt2.js} +1 -1
- streamlit/static/static/js/{index.BYdIAAme.js → index.kIzrb8qK.js} +1 -1
- streamlit/static/static/js/{input.DqgaXn2o.js → input.CS80Xua3.js} +1 -1
- streamlit/static/static/js/{memory.DszNDPLb.js → memory.CQi1cX_3.js} +1 -1
- streamlit/static/static/js/{mergeWith.DFTSkXIf.js → mergeWith.DJ7CCTEU.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.C8_ha9YJ.js → number-overlay-editor.AKoeruM9.js} +1 -1
- streamlit/static/static/js/{possibleConstructorReturn.cS4Ei6et.js → possibleConstructorReturn.Bwr97hsW.js} +1 -1
- streamlit/static/static/js/{sandbox.Bj-BfqPP.js → sandbox.e5w1ytIc.js} +1 -1
- streamlit/static/static/js/{textarea.BrvMyGxB.js → textarea.CzJ9CBYF.js} +1 -1
- streamlit/static/static/js/{timepicker.Ds8_GzH8.js → timepicker.BfekZ8nu.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.RfoD5uEy.js → toConsumableArray.CcdFZhvv.js} +1 -1
- streamlit/static/static/js/{uniqueId.R_vr2E5T.js → uniqueId.Cyxi17MX.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.Cglgg1W1.js → useBasicWidgetState.D5X8duhc.js} +1 -1
- streamlit/static/static/js/{useOnInputChange.CFTHBDsA.js → useOnInputChange.yxiBziRU.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.BcyXoen-.js → withFullScreenWrapper.Bq7KZt-c.js} +1 -1
- {streamlit_nightly-1.42.3.dev20250228.dist-info → streamlit_nightly-1.42.3.dev20250302.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.42.3.dev20250228.dist-info → streamlit_nightly-1.42.3.dev20250302.dist-info}/RECORD +73 -73
- streamlit/static/static/js/index.C_m4U-ik.js +0 -201
- streamlit/static/static/js/index.DGu65w1V.js +0 -4074
- streamlit/static/static/js/index.DW_MHI2K.js +0 -6
- {streamlit_nightly-1.42.3.dev20250228.data → streamlit_nightly-1.42.3.dev20250302.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.42.3.dev20250228.dist-info → streamlit_nightly-1.42.3.dev20250302.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.42.3.dev20250228.dist-info → streamlit_nightly-1.42.3.dev20250302.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.42.3.dev20250228.dist-info → streamlit_nightly-1.42.3.dev20250302.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
import{n as o,bn as S,i as f,r as g,R as l,j as r,B as u,c5 as $,aC as m}from"./index.
|
1
|
+
import{n as o,bn as S,i as f,r as g,R as l,j as r,B as u,c5 as $,aC as m}from"./index.DFLL-J15.js";const x=o(S,{shouldForwardProp:f,target:"e12gfcky0"})(({theme:e})=>({fontSize:e.fontSizes.sm,width:e.sizes.spinnerSize,height:e.sizes.spinnerSize,borderWidth:e.sizes.spinnerThickness,justifyContents:"center",padding:e.spacing.none,margin:e.spacing.none,borderColor:e.colors.borderColor,borderTopColor:e.colors.secondary,flexGrow:0,flexShrink:0})),y=o("div",{target:"e12gfcky1"})(({theme:e,cache:s})=>({...s?{paddingBottom:e.spacing.lg,background:`linear-gradient(to bottom, ${e.colors.bgColor} 0%, ${e.colors.bgColor} 80%, transparent 100%)`}:null})),T=o("div",{target:"e12gfcky2"})(({theme:e})=>({opacity:.6,fontSize:e.fontSizes.sm})),h=o("div",{target:"e12gfcky3"})(({theme:e})=>({display:"flex",gap:e.spacing.sm,alignItems:"center",width:"100%"})),b=e=>{const s=Math.floor(e/3600),n=Math.floor(e%3600/60),t=e%60;if(s===0&&n===0)return`(${t.toFixed(1)} seconds)`;if(s===0){const d=`${n} minute${n===1?"":"s"}`,p=t===0?"":`, ${t.toFixed(1)} seconds`;return`(${d}${p})`}const i=`${s} hour${s===1?"":"s"}`,a=n===0?"":`, ${n} minute${n===1?"":"s"}`,c=t===0?"":`, ${t.toFixed(1)} seconds`;return`(${i}${a}${c})`};function z({element:e}){const{cache:s,showTime:n}=e,[t,i]=l.useState(0);return l.useEffect(()=>{if(!n)return;const a=setInterval(()=>{i(c=>c+.1)},100);return()=>clearInterval(a)},[n]),r(y,{className:$({stSpinner:!0,stCacheSpinner:s}),"data-testid":"stSpinner",cache:s,children:u(h,{children:[r(x,{}),r(m,{source:e.text,allowHTML:!1}),n&&r(T,{children:b(t)})]})})}const k=g.memo(z);export{k as default};
|
@@ -1 +1 @@
|
|
1
|
-
import{n as e,r as a,B as t,j as r,aC as o}from"./index.
|
1
|
+
import{n as e,r as a,B as t,j as r,aC as o}from"./index.DFLL-J15.js";import{P as i}from"./ProgressBar.REkskfZ6.js";const l=e("div",{target:"e1675qd10"})(({theme:s})=>({paddingBottom:s.spacing.sm,lineHeight:"normal"}));function n({element:s}){return t("div",{className:"stProgress","data-testid":"stProgress",children:[r(l,{children:r(o,{source:s.text,allowHTML:!1,isLabel:!0})}),r(i,{value:s.value})]})}const m=a.memo(n);export{m as default};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var jU=Object.defineProperty;var $U=(r,e,t)=>e in r?jU(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var V=(r,e,t)=>$U(r,typeof e!="symbol"?e+"":e,t);import{r as Bt,at as yr,aS as dt,g as oh,aT as Su,_ as zD,j as Ss,B as Jc,aU as Fv,F as cB,aV as Dv,aW as WU,aX as lB,aY as JU,aD as XU,aZ as KU,n as GD,A as VD,S as q1,a_ as uB,aA as qU,y as YU,a$ as ZU,b0 as fB}from"./index.
|
1
|
+
var jU=Object.defineProperty;var $U=(r,e,t)=>e in r?jU(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var V=(r,e,t)=>$U(r,typeof e!="symbol"?e+"":e,t);import{r as Bt,at as yr,aS as dt,g as oh,aT as Su,_ as zD,j as Ss,B as Jc,aU as Fv,F as cB,aV as Dv,aW as WU,aX as lB,aY as JU,aD as XU,aZ as KU,n as GD,A as VD,S as q1,a_ as uB,aA as qU,y as YU,a$ as ZU,b0 as fB}from"./index.DFLL-J15.js";import{_ as ls,a as QU,C as e5}from"./toConsumableArray.CcdFZhvv.js";import{a as Ku,b as qu,_ as Xx,c as AA,d as Kx}from"./possibleConstructorReturn.Bwr97hsW.js";import{a as t5,T as r5}from"./Toolbar.BNy6-0V9.js";import{u as HD,E as jD,w as n5}from"./withFullScreenWrapper.Bq7KZt-c.js";import{u as i5}from"./useBasicWidgetState.D5X8duhc.js";import{u as s5,s as o5}from"./threshold.DjX0wlsa.js";import{a as a5}from"./index.C88pvD_q.js";import"./FormClearHelper.DzssExOY.js";import"./value.CgPGBV_l.js";function c5(r,e){for(var t=0;t<e.length;t++){const n=e[t];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in r)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(r,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}const bu={};function Hm(r,e){if(!r)throw new Error(e||"loader assertion failed.")}const qx=!!(typeof process!="object"||String(process)!=="[object process]"||process.browser),hB=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);hB&&parseFloat(hB[1]);const Fu=globalThis,Ca=globalThis.process||{},l5=globalThis.navigator||{};function $D(r){var n,i;if(typeof window<"u"&&((n=window.process)==null?void 0:n.type)==="renderer"||typeof process<"u"&&((i=process.versions)!=null&&i.electron))return!0;const t=typeof navigator<"u"&&navigator.userAgent;return!!(t&&t.indexOf("Electron")>=0)}function il(){return!(typeof process=="object"&&String(process)==="[object process]"&&!(process!=null&&process.browser))||$D()}function u5(r){return il()?$D()?"Electron":(l5.userAgent||"").indexOf("Edge")>-1?"Edge":globalThis.chrome?"Chrome":globalThis.safari?"Safari":globalThis.mozInnerScreenX?"Firefox":"Unknown":"Node"}const iy="4.1.0";function f5(r){try{const e=window[r],t="__storage_test__";return e.setItem(t,t),e.removeItem(t),e}catch{return null}}let h5=class{constructor(e,t,n="sessionStorage"){this.storage=f5(n),this.id=e,this.config=t,this._loadConfiguration()}getConfiguration(){return this.config}setConfiguration(e){if(Object.assign(this.config,e),this.storage){const t=JSON.stringify(this.config);this.storage.setItem(this.id,t)}}_loadConfiguration(){let e={};if(this.storage){const t=this.storage.getItem(this.id);e=t?JSON.parse(t):{}}return Object.assign(this.config,e),this}};function d5(r){let e;return r<10?e=`${r.toFixed(2)}ms`:r<100?e=`${r.toFixed(1)}ms`:r<1e3?e=`${r.toFixed(0)}ms`:e=`${(r/1e3).toFixed(2)}s`,e}function A5(r,e=8){const t=Math.max(e-r.length,0);return`${" ".repeat(t)}${r}`}var jm;(function(r){r[r.BLACK=30]="BLACK",r[r.RED=31]="RED",r[r.GREEN=32]="GREEN",r[r.YELLOW=33]="YELLOW",r[r.BLUE=34]="BLUE",r[r.MAGENTA=35]="MAGENTA",r[r.CYAN=36]="CYAN",r[r.WHITE=37]="WHITE",r[r.BRIGHT_BLACK=90]="BRIGHT_BLACK",r[r.BRIGHT_RED=91]="BRIGHT_RED",r[r.BRIGHT_GREEN=92]="BRIGHT_GREEN",r[r.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",r[r.BRIGHT_BLUE=94]="BRIGHT_BLUE",r[r.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",r[r.BRIGHT_CYAN=96]="BRIGHT_CYAN",r[r.BRIGHT_WHITE=97]="BRIGHT_WHITE"})(jm||(jm={}));const p5=10;function dB(r){return typeof r!="string"?r:(r=r.toUpperCase(),jm[r]||jm.WHITE)}function g5(r,e,t){return!il&&typeof r=="string"&&(e&&(r=`\x1B[${dB(e)}m${r}\x1B[39m`),t&&(r=`\x1B[${dB(t)+p5}m${r}\x1B[49m`)),r}function m5(r,e=["constructor"]){const t=Object.getPrototypeOf(r),n=Object.getOwnPropertyNames(t),i=r;for(const o of n){const s=i[o];typeof s=="function"&&(e.find(c=>o===c)||(i[o]=s.bind(r)))}}function Yx(r,e){if(!r)throw new Error("Assertion failed")}function od(){var e,t,n;let r;if(il()&&Fu.performance)r=(t=(e=Fu==null?void 0:Fu.performance)==null?void 0:e.now)==null?void 0:t.call(e);else if("hrtime"in Ca){const i=(n=Ca==null?void 0:Ca.hrtime)==null?void 0:n.call(Ca);r=i[0]*1e3+i[1]/1e6}else r=Date.now();return r}const ad={debug:il()&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},_5={enabled:!0,level:0};function cd(){}const AB={},pB={once:!0};let WD=class{constructor({id:e}={id:""}){this.VERSION=iy,this._startTs=od(),this._deltaTs=od(),this.userData={},this.LOG_THROTTLE_TIMEOUT=0,this.id=e,this.userData={},this._storage=new h5(`__probe-${this.id}__`,_5),this.timeStamp(`${this.id} started`),m5(this),Object.seal(this)}set level(e){this.setLevel(e)}get level(){return this.getLevel()}isEnabled(){return this._storage.config.enabled}getLevel(){return this._storage.config.level}getTotal(){return Number((od()-this._startTs).toPrecision(10))}getDelta(){return Number((od()-this._deltaTs).toPrecision(10))}set priority(e){this.level=e}get priority(){return this.level}getPriority(){return this.level}enable(e=!0){return this._storage.setConfiguration({enabled:e}),this}setLevel(e){return this._storage.setConfiguration({level:e}),this}get(e){return this._storage.config[e]}set(e,t){this._storage.setConfiguration({[e]:t})}settings(){console.table?console.table(this._storage.config):console.log(this._storage.config)}assert(e,t){if(!e)throw new Error(t||"Assertion failed")}warn(e){return this._getLogFunction(0,e,ad.warn,arguments,pB)}error(e){return this._getLogFunction(0,e,ad.error,arguments)}deprecated(e,t){return this.warn(`\`${e}\` is deprecated and will be removed in a later version. Use \`${t}\` instead`)}removed(e,t){return this.error(`\`${e}\` has been removed. Use \`${t}\` instead`)}probe(e,t){return this._getLogFunction(e,t,ad.log,arguments,{time:!0,once:!0})}log(e,t){return this._getLogFunction(e,t,ad.debug,arguments)}info(e,t){return this._getLogFunction(e,t,console.info,arguments)}once(e,t){return this._getLogFunction(e,t,ad.debug||ad.info,arguments,pB)}table(e,t,n){return t?this._getLogFunction(e,t,console.table||cd,n&&[n],{tag:v5(t)}):cd}time(e,t){return this._getLogFunction(e,t,console.time?console.time:console.info)}timeEnd(e,t){return this._getLogFunction(e,t,console.timeEnd?console.timeEnd:console.info)}timeStamp(e,t){return this._getLogFunction(e,t,console.timeStamp||cd)}group(e,t,n={collapsed:!1}){const i=gB({logLevel:e,message:t,opts:n}),{collapsed:o}=n;return i.method=(o?console.groupCollapsed:console.group)||console.info,this._getLogFunction(i)}groupCollapsed(e,t,n={}){return this.group(e,t,Object.assign({},n,{collapsed:!0}))}groupEnd(e){return this._getLogFunction(e,"",console.groupEnd||cd)}withGroup(e,t,n){this.group(e,t)();try{n()}finally{this.groupEnd(e)()}}trace(){console.trace&&console.trace()}_shouldLog(e){return this.isEnabled()&&this.getLevel()>=JD(e)}_getLogFunction(e,t,n,i,o){if(this._shouldLog(e)){o=gB({logLevel:e,message:t,args:i,opts:o}),n=n||o.method,Yx(n),o.total=this.getTotal(),o.delta=this.getDelta(),this._deltaTs=od();const s=o.tag||o.message;if(o.once&&s)if(!AB[s])AB[s]=od();else return cd;return t=y5(this.id,o.message,o),n.bind(console,t,...o.args)}return cd}};WD.VERSION=iy;function JD(r){if(!r)return 0;let e;switch(typeof r){case"number":e=r;break;case"object":e=r.logLevel||r.priority||0;break;default:return 0}return Yx(Number.isFinite(e)&&e>=0),e}function gB(r){const{logLevel:e,message:t}=r;r.logLevel=JD(e);const n=r.args?Array.from(r.args):[];for(;n.length&&n.shift()!==t;);switch(typeof e){case"string":case"function":t!==void 0&&n.unshift(t),r.message=e;break;case"object":Object.assign(r,e);break}typeof r.message=="function"&&(r.message=r.message());const i=typeof r.message;return Yx(i==="string"||i==="object"),Object.assign(r,{args:n},r.opts)}function y5(r,e,t){if(typeof e=="string"){const n=t.time?A5(d5(t.total)):"";e=t.time?`${r}: ${n} ${e}`:`${r}: ${e}`,e=g5(e,t.color,t.background)}return e}function v5(r){for(const e in r)for(const t in r[e])return t||"untitled";return"empty"}function b5(r,e){return XD(r||{},e)}function XD(r,e,t=0){if(t>3)return e;const n={...r};for(const[i,o]of Object.entries(e))o&&typeof o=="object"&&!Array.isArray(o)?n[i]=XD(n[i]||{},e[i],t+1):n[i]=e[i];return n}const x5="latest";function w5(){var r;return(r=globalThis._loadersgl_)!=null&&r.version||(globalThis._loadersgl_=globalThis._loadersgl_||{},globalThis._loadersgl_.version="4.2.4"),globalThis._loadersgl_.version}const C5=w5();function Gu(r,e){if(!r)throw new Error(e||"loaders.gl assertion failed.")}const Jf=typeof process!="object"||String(process)!=="[object process]"||process.browser,E5=typeof window<"u"&&typeof window.orientation<"u",mB=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);mB&&parseFloat(mB[1]);let T5=class{constructor(e,t){V(this,"name");V(this,"workerThread");V(this,"isRunning",!0);V(this,"result");V(this,"_resolve",()=>{});V(this,"_reject",()=>{});this.name=e,this.workerThread=t,this.result=new Promise((n,i)=>{this._resolve=n,this._reject=i})}postMessage(e,t){this.workerThread.postMessage({source:"loaders.gl",type:e,payload:t})}done(e){Gu(this.isRunning),this.isRunning=!1,this._resolve(e)}error(e){Gu(this.isRunning),this.isRunning=!1,this._reject(e)}},Ov=class{terminate(){}};const Lv=new Map;function B5(r){Gu(r.source&&!r.url||!r.source&&r.url);let e=Lv.get(r.source||r.url);return e||(r.url&&(e=S5(r.url),Lv.set(r.url,e)),r.source&&(e=KD(r.source),Lv.set(r.source,e))),Gu(e),e}function S5(r){if(!r.startsWith("http"))return r;const e=I5(r);return KD(e)}function KD(r){const e=new Blob([r],{type:"application/javascript"});return URL.createObjectURL(e)}function I5(r){return`try {
|
2
2
|
importScripts('${r}');
|
3
3
|
} catch (error) {
|
4
4
|
console.error(error);
|