streamlit-nightly 1.41.2.dev20250115__py2.py3-none-any.whl → 1.41.2.dev20250118__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/elements/arrow.py +24 -2
- streamlit/elements/widgets/data_editor.py +1 -3
- streamlit/static/index.html +2 -2
- streamlit/static/static/css/index.BWGEWL3m.css +1 -0
- streamlit/static/static/js/{FileDownload.esm.2W3WeZp2.js → FileDownload.esm.BUw5ikQY.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.BouJUO4t.js → FormClearHelper.Bvmaiutv.js} +1 -1
- streamlit/static/static/js/{Hooks.BsCM2VRj.js → Hooks.DcERo8tB.js} +1 -1
- streamlit/static/static/js/{InputInstructions.Czb180Te.js → InputInstructions.BupGmSrJ.js} +1 -1
- streamlit/static/static/js/{ProgressBar.DiAR_iBM.js → ProgressBar.CTBNJVpb.js} +2 -2
- streamlit/static/static/js/{RenderInPortalIfExists.DrsDyygs.js → RenderInPortalIfExists.BhbPC-G8.js} +1 -1
- streamlit/static/static/js/{Toolbar.Bl4mqr4u.js → Toolbar.Dw79Vekz.js} +1 -1
- streamlit/static/static/js/{base-input.BHMnVAOr.js → base-input.BBtHVXa2.js} +4 -4
- streamlit/static/static/js/{createSuper.BftCasOC.js → createSuper.BBR-BbJr.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.C_AfZV80.js → data-grid-overlay-editor.DuZabixr.js} +1 -1
- streamlit/static/static/js/{downloader.CkXPXM6R.js → downloader.4xvEoIbd.js} +1 -1
- streamlit/static/static/js/{es6.D2MIDSER.js → es6.DmlLpYMO.js} +2 -2
- streamlit/static/static/js/{getPrototypeOf.8KqRDNXH.js → getPrototypeOf.M3x98UQ7.js} +1 -1
- streamlit/static/static/js/{iframeResizer.contentWindow.DzzdqD8t.js → iframeResizer.contentWindow.CgYHddZ1.js} +1 -1
- streamlit/static/static/js/index.27TXU2hu.js +1 -0
- streamlit/static/static/js/{index.DqFVIXyV.js → index.61noqmIB.js} +1 -1
- streamlit/static/static/js/{index.CyixjHVj.js → index.AoUAN-9W.js} +1 -1
- streamlit/static/static/js/{index.CxVERd8N.js → index.B1KjaM9R.js} +1 -1
- streamlit/static/static/js/{index.CcAtzCnX.js → index.BXejhz8S.js} +60 -60
- streamlit/static/static/js/{index.BSBaMBDf.js → index.BYyuymTq.js} +3 -3
- streamlit/static/static/js/{index.C3hZcowl.js → index.BaskQ92_.js} +1 -1
- streamlit/static/static/js/{index.BpkKw-EE.js → index.Bq6R9vFh.js} +1 -1
- streamlit/static/static/js/{index.2gId-hkY.js → index.BtxHQDnZ.js} +1 -1
- streamlit/static/static/js/{index.xmd7bHOh.js → index.Bu8uxdTh.js} +2 -2
- streamlit/static/static/js/index.C-0rgxAG.js +1 -0
- streamlit/static/static/js/{index.BWKboqrD.js → index.C21AcM0r.js} +1 -1
- streamlit/static/static/js/{index.DxAYNSu8.js → index.C4Hwzvpq.js} +1 -1
- streamlit/static/static/js/{index.CQ7Y6jj1.js → index.C8nPrwl-.js} +1 -1
- streamlit/static/static/js/{index.B56k54Px.js → index.CAZxiea2.js} +2 -2
- streamlit/static/static/js/{index.BZACNIPy.js → index.CC_t9mT8.js} +1 -1
- streamlit/static/static/js/{index.BOaF1pd3.js → index.CeKudMLQ.js} +1 -1
- streamlit/static/static/js/{index.DqwYtic0.js → index.CjxOLcYo.js} +1 -1
- streamlit/static/static/js/{index.B7TErKDq.js → index.CkCtIbw0.js} +1 -1
- streamlit/static/static/js/{index.Bomzp8ws.js → index.CrcobIb0.js} +54 -54
- streamlit/static/static/js/{index.DoxwX9TA.js → index.CsdGlifB.js} +16 -16
- streamlit/static/static/js/{index.Dc5AjA6K.js → index.CuzQoPgT.js} +1 -1
- streamlit/static/static/js/{index.CGcb6vEw.js → index.DH9CvsgQ.js} +1 -1
- streamlit/static/static/js/{index.CdD4T5ia.js → index.DKi-ElEv.js} +10 -10
- streamlit/static/static/js/{index.DOp8WWEB.js → index.DZdyNQo1.js} +1 -1
- streamlit/static/static/js/{index.UG0Sy7w3.js → index.DcY4XgAF.js} +1 -1
- streamlit/static/static/js/{index.s016NW7I.js → index.DeeIZCGU.js} +2 -2
- streamlit/static/static/js/{index.BBMRAwlY.js → index.DqjAk5qg.js} +1 -1
- streamlit/static/static/js/{index.BvFiU2Cj.js → index.Dva5NuFG.js} +1 -1
- streamlit/static/static/js/{index.d8-RPUlf.js → index.DvfPGXer.js} +1 -1
- streamlit/static/static/js/{index.DHthJf6z.js → index.DysCLUsb.js} +1 -1
- streamlit/static/static/js/{index.CbXquzx4.js → index.PWzpo-hC.js} +2 -2
- streamlit/static/static/js/{index.DdMp70lp.js → index.STXqYP7Q.js} +1 -1
- streamlit/static/static/js/{index.qmgXiJ18.js → index.WSrEkxsE.js} +1 -1
- streamlit/static/static/js/{index.DCPA8CBQ.js → index.g24MGpB6.js} +1 -1
- streamlit/static/static/js/{index.CIKFC12n.js → index.rOJcC1R3.js} +2 -2
- streamlit/static/static/js/{index.DuBLm9ul.js → index.tjVAqGRi.js} +1 -1
- streamlit/static/static/js/{input.D0WJMWBG.js → input.BIth4Mda.js} +1 -1
- streamlit/static/static/js/{memory.BujUvzJS.js → memory.C0ticMnk.js} +1 -1
- streamlit/static/static/js/{mergeWith.D78ew9Q8.js → mergeWith.CnJI40Ol.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.p4lzzkCV.js → number-overlay-editor.B4oKK-_Y.js} +1 -1
- streamlit/static/static/js/{sandbox.DlA1rBd1.js → sandbox.D1ghBIHY.js} +1 -1
- streamlit/static/static/js/{slicedToArray.CJDXlgcX.js → slicedToArray.C1s2cVDA.js} +2 -2
- streamlit/static/static/js/{textarea.DfgNwmCV.js → textarea.C1RJDJe0.js} +2 -2
- streamlit/static/static/js/{timepicker.Dk2D15sb.js → timepicker.CmttWl-Y.js} +1 -1
- streamlit/static/static/js/{uniqueId.BfX7No7I.js → uniqueId.BT1SAZF-.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.Dg6_MitK.js → useBasicWidgetState.BB9oQkjJ.js} +1 -1
- streamlit/static/static/js/{useOnInputChange.ZLxV0UFG.js → useOnInputChange.DldtvoCQ.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.D8pjpwtz.js → withFullScreenWrapper.CWPfcXAP.js} +1 -1
- streamlit/web/bootstrap.py +21 -1
- {streamlit_nightly-1.41.2.dev20250115.dist-info → streamlit_nightly-1.41.2.dev20250118.dist-info}/METADATA +2 -2
- {streamlit_nightly-1.41.2.dev20250115.dist-info → streamlit_nightly-1.41.2.dev20250118.dist-info}/RECORD +74 -74
- streamlit/static/static/css/index.ZIJkhegp.css +0 -1
- streamlit/static/static/js/index.B3hBEIu8.js +0 -1
- streamlit/static/static/js/index.CWnLDBO4.js +0 -1
- {streamlit_nightly-1.41.2.dev20250115.data → streamlit_nightly-1.41.2.dev20250118.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.41.2.dev20250115.dist-info → streamlit_nightly-1.41.2.dev20250118.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.41.2.dev20250115.dist-info → streamlit_nightly-1.41.2.dev20250118.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.41.2.dev20250115.dist-info → streamlit_nightly-1.41.2.dev20250118.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
import{n as t,
|
1
|
+
import{n as t,bb as e,aB as o,j as a,av as i}from"./index.CrcobIb0.js";import{P as l}from"./ProgressBar.CTBNJVpb.js";const d=t("div",{target:"e1eqiuxd0"})(({theme:s})=>({paddingBottom:s.spacing.sm,lineHeight:"normal",color:e(s)}));function c({element:s,width:r}){return o("div",{className:"stProgress","data-testid":"stProgress",children:[a(d,{children:a(i,{source:s.text,allowHTML:!1,isLabel:!0})}),a(l,{value:s.value,width:r})]})}export{c as default};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var xL=Object.defineProperty;var wL=(t,e,r)=>e in t?xL(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var U=(t,e,r)=>wL(t,typeof e!="symbol"?e+"":e,r);import{g as oA,r as it,af as Wt,p as $e,d as VM,aP as yu,_ as jM,ak as TL,j as ms,ay as Ll,aQ as Gy,F as aE,aR as Wy,aS as EL,aT as lE,aU as SL,ax as CL,aV as PL,aW as IL,n as HM,av as GM,aX as T1,aY as cE,aq as ML,ab as RL,aZ as uE}from"./index.Bomzp8ws.js";import{_ as Gn,C as BL}from"./slicedToArray.CJDXlgcX.js";import{b as Fu,a as Lu,_ as l2,c as Gd,d as c2}from"./getPrototypeOf.8KqRDNXH.js";import{a as OL,T as DL}from"./Toolbar.Bl4mqr4u.js";import{u as WM,E as qM,w as FL}from"./withFullScreenWrapper.D8pjpwtz.js";import{u as LL}from"./useBasicWidgetState.Dg6_MitK.js";import{u as kL,s as NL}from"./threshold.B8r8f5kt.js";import"./FormClearHelper.BouJUO4t.js";import"./value.iufjd77T.js";function UL(t,e){for(var r=0;r<e.length;r++){const i=e[r];if(typeof i!="string"&&!Array.isArray(i)){for(const n in i)if(n!=="default"&&!(n in t)){const o=Object.getOwnPropertyDescriptor(i,n);o&&Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>i[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}async function aA(t,e,r,i){return i._parse(t,e,r,i)}function Ni(t,e){if(!t)throw new Error(e||"loader assertion failed.")}const v_=!!(typeof process!="object"||String(process)!=="[object process]"||process.browser),hE=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);hE&&parseFloat(hE[1]);const tg=globalThis,Wf=globalThis.process||{},zL=globalThis.navigator||{};function XM(t){var i,n;if(typeof window<"u"&&((i=window.process)==null?void 0:i.type)==="renderer"||typeof process<"u"&&((n=process.versions)!=null&&n.electron))return!0;const r=typeof navigator<"u"&&navigator.userAgent;return!!(r&&r.indexOf("Electron")>=0)}function ku(){return!(typeof process=="object"&&String(process)==="[object process]"&&!(process!=null&&process.browser))||XM()}function VL(t){return ku()?XM()?"Electron":(zL.userAgent||"").indexOf("Edge")>-1?"Edge":globalThis.chrome?"Chrome":globalThis.safari?"Safari":globalThis.mozInnerScreenX?"Firefox":"Unknown":"Node"}const $M="4.0.7";function jL(t){try{const e=window[t],r="__storage_test__";return e.setItem(r,r),e.removeItem(r),e}catch{return null}}class HL{constructor(e,r,i="sessionStorage"){this.storage=jL(i),this.id=e,this.config=r,this._loadConfiguration()}getConfiguration(){return this.config}setConfiguration(e){if(Object.assign(this.config,e),this.storage){const r=JSON.stringify(this.config);this.storage.setItem(this.id,r)}}_loadConfiguration(){let e={};if(this.storage){const r=this.storage.getItem(this.id);e=r?JSON.parse(r):{}}return Object.assign(this.config,e),this}}function WL(t){let e;return t<10?e=`${t.toFixed(2)}ms`:t<100?e=`${t.toFixed(1)}ms`:t<1e3?e=`${t.toFixed(0)}ms`:e=`${(t/1e3).toFixed(2)}s`,e}function qL(t,e=8){const r=Math.max(e-t.length,0);return`${" ".repeat(r)}${t}`}var mm;(function(t){t[t.BLACK=30]="BLACK",t[t.RED=31]="RED",t[t.GREEN=32]="GREEN",t[t.YELLOW=33]="YELLOW",t[t.BLUE=34]="BLUE",t[t.MAGENTA=35]="MAGENTA",t[t.CYAN=36]="CYAN",t[t.WHITE=37]="WHITE",t[t.BRIGHT_BLACK=90]="BRIGHT_BLACK",t[t.BRIGHT_RED=91]="BRIGHT_RED",t[t.BRIGHT_GREEN=92]="BRIGHT_GREEN",t[t.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",t[t.BRIGHT_BLUE=94]="BRIGHT_BLUE",t[t.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",t[t.BRIGHT_CYAN=96]="BRIGHT_CYAN",t[t.BRIGHT_WHITE=97]="BRIGHT_WHITE"})(mm||(mm={}));const XL=10;function fE(t){return typeof t!="string"?t:(t=t.toUpperCase(),mm[t]||mm.WHITE)}function $L(t,e,r){return!ku&&typeof t=="string"&&(e&&(t=`\x1B[${fE(e)}m${t}\x1B[39m`),r&&(t=`\x1B[${fE(r)+XL}m${t}\x1B[49m`)),t}function ZL(t,e=["constructor"]){const r=Object.getPrototypeOf(t),i=Object.getOwnPropertyNames(r),n=t;for(const o of i){const s=n[o];typeof s=="function"&&(e.find(f=>o===f)||(n[o]=s.bind(t)))}}function u2(t,e){if(!t)throw new Error("Assertion failed")}function qf(){var e,r,i;let t;if(ku()&&tg.performance)t=(r=(e=tg==null?void 0:tg.performance)==null?void 0:e.now)==null?void 0:r.call(e);else if("hrtime"in Wf){const n=(i=Wf==null?void 0:Wf.hrtime)==null?void 0:i.call(Wf);t=n[0]*1e3+n[1]/1e6}else t=Date.now();return t}const Xf={debug:ku()&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},KL={enabled:!0,level:0};function $f(){}const dE={},AE={once:!0};class lA{constructor({id:e}={id:""}){this.VERSION=$M,this._startTs=qf(),this._deltaTs=qf(),this.userData={},this.LOG_THROTTLE_TIMEOUT=0,this.id=e,this.userData={},this._storage=new HL(`__probe-${this.id}__`,KL),this.timeStamp(`${this.id} started`),ZL(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((qf()-this._startTs).toPrecision(10))}getDelta(){return Number((qf()-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,r){this._storage.setConfiguration({[e]:r})}settings(){console.table?console.table(this._storage.config):console.log(this._storage.config)}assert(e,r){if(!e)throw new Error(r||"Assertion failed")}warn(e){return this._getLogFunction(0,e,Xf.warn,arguments,AE)}error(e){return this._getLogFunction(0,e,Xf.error,arguments)}deprecated(e,r){return this.warn(`\`${e}\` is deprecated and will be removed in a later version. Use \`${r}\` instead`)}removed(e,r){return this.error(`\`${e}\` has been removed. Use \`${r}\` instead`)}probe(e,r){return this._getLogFunction(e,r,Xf.log,arguments,{time:!0,once:!0})}log(e,r){return this._getLogFunction(e,r,Xf.debug,arguments)}info(e,r){return this._getLogFunction(e,r,console.info,arguments)}once(e,r){return this._getLogFunction(e,r,Xf.debug||Xf.info,arguments,AE)}table(e,r,i){return r?this._getLogFunction(e,r,console.table||$f,i&&[i],{tag:JL(r)}):$f}time(e,r){return this._getLogFunction(e,r,console.time?console.time:console.info)}timeEnd(e,r){return this._getLogFunction(e,r,console.timeEnd?console.timeEnd:console.info)}timeStamp(e,r){return this._getLogFunction(e,r,console.timeStamp||$f)}group(e,r,i={collapsed:!1}){const n=pE({logLevel:e,message:r,opts:i}),{collapsed:o}=i;return n.method=(o?console.groupCollapsed:console.group)||console.info,this._getLogFunction(n)}groupCollapsed(e,r,i={}){return this.group(e,r,Object.assign({},i,{collapsed:!0}))}groupEnd(e){return this._getLogFunction(e,"",console.groupEnd||$f)}withGroup(e,r,i){this.group(e,r)();try{i()}finally{this.groupEnd(e)()}}trace(){console.trace&&console.trace()}_shouldLog(e){return this.isEnabled()&&this.getLevel()>=ZM(e)}_getLogFunction(e,r,i,n,o){if(this._shouldLog(e)){o=pE({logLevel:e,message:r,args:n,opts:o}),i=i||o.method,u2(i),o.total=this.getTotal(),o.delta=this.getDelta(),this._deltaTs=qf();const s=o.tag||o.message;if(o.once&&s)if(!dE[s])dE[s]=qf();else return $f;return r=YL(this.id,o.message,o),i.bind(console,r,...o.args)}return $f}}lA.VERSION=$M;function ZM(t){if(!t)return 0;let e;switch(typeof t){case"number":e=t;break;case"object":e=t.logLevel||t.priority||0;break;default:return 0}return u2(Number.isFinite(e)&&e>=0),e}function pE(t){const{logLevel:e,message:r}=t;t.logLevel=ZM(e);const i=t.args?Array.from(t.args):[];for(;i.length&&i.shift()!==r;);switch(typeof e){case"string":case"function":r!==void 0&&i.unshift(r),t.message=e;break;case"object":Object.assign(t,e);break}typeof t.message=="function"&&(t.message=t.message());const n=typeof t.message;return u2(n==="string"||n==="object"),Object.assign(t,{args:i},t.opts)}function YL(t,e,r){if(typeof e=="string"){const i=r.time?qL(WL(r.total)):"";e=r.time?`${t}: ${i} ${e}`:`${t}: ${e}`,e=$L(e,r.color,r.background)}return e}function JL(t){for(const e in t)for(const r in t[e])return r||"untitled";return"empty"}globalThis.probe={};const KM=new lA({id:"@probe.gl/log"});function YM(t,e){return JM(t||{},e)}function JM(t,e,r=0){if(r>3)return e;const i={...t};for(const[n,o]of Object.entries(e))o&&typeof o=="object"&&!Array.isArray(o)?i[n]=JM(i[n]||{},e[n],r+1):i[n]=e[n];return i}function QL(t){var e;globalThis.loaders||(globalThis.loaders={}),(e=globalThis.loaders).modules||(e.modules={}),Object.assign(globalThis.loaders.modules,t)}function ek(t){var r,i;return((i=(r=globalThis.loaders)==null?void 0:r.modules)==null?void 0:i[t])||null}const tk="latest";function rk(){var t;return(t=globalThis._loadersgl_)!=null&&t.version||(globalThis._loadersgl_=globalThis._loadersgl_||{},globalThis._loadersgl_.version="4.2.4"),globalThis._loadersgl_.version}const QM=rk();function Pc(t,e){if(!t)throw new Error(e||"loaders.gl assertion failed.")}const Sa=typeof process!="object"||String(process)!=="[object process]"||process.browser,h2=typeof importScripts=="function",ik=typeof window<"u"&&typeof window.orientation<"u",gE=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);gE&&parseFloat(gE[1]);class nk{constructor(e,r){U(this,"name");U(this,"workerThread");U(this,"isRunning",!0);U(this,"result");U(this,"_resolve",()=>{});U(this,"_reject",()=>{});this.name=e,this.workerThread=r,this.result=new Promise((i,n)=>{this._resolve=i,this._reject=n})}postMessage(e,r){this.workerThread.postMessage({source:"loaders.gl",type:e,payload:r})}done(e){Pc(this.isRunning),this.isRunning=!1,this._resolve(e)}error(e){Pc(this.isRunning),this.isRunning=!1,this._reject(e)}}class qy{terminate(){}}const Xy=new Map;function sk(t){Pc(t.source&&!t.url||!t.source&&t.url);let e=Xy.get(t.source||t.url);return e||(t.url&&(e=ok(t.url),Xy.set(t.url,e)),t.source&&(e=eR(t.source),Xy.set(t.source,e))),Pc(e),e}function ok(t){if(!t.startsWith("http"))return t;const e=ak(t);return eR(e)}function eR(t){const e=new Blob([t],{type:"application/javascript"});return URL.createObjectURL(e)}function ak(t){return`try {
|
1
|
+
var xL=Object.defineProperty;var wL=(t,e,r)=>e in t?xL(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var U=(t,e,r)=>wL(t,typeof e!="symbol"?e+"":e,r);import{g as oA,r as it,ai as Wt,p as $e,d as VM,aS as yu,_ as jM,an as TL,j as ms,aB as Ll,aT as Gy,F as aE,aU as Wy,aV as EL,aW as lE,aX as SL,aA as CL,aY as PL,aZ as IL,n as HM,ay as GM,a_ as T1,a$ as cE,at as ML,ae as RL,b0 as uE}from"./index.CrcobIb0.js";import{_ as Gn,C as BL}from"./slicedToArray.C1s2cVDA.js";import{b as Fu,a as Lu,_ as l2,c as Gd,d as c2}from"./getPrototypeOf.M3x98UQ7.js";import{a as OL,T as DL}from"./Toolbar.Dw79Vekz.js";import{u as WM,E as qM,w as FL}from"./withFullScreenWrapper.CWPfcXAP.js";import{u as LL}from"./useBasicWidgetState.BB9oQkjJ.js";import{u as kL,s as NL}from"./threshold.B8r8f5kt.js";import"./FormClearHelper.Bvmaiutv.js";import"./value.iufjd77T.js";function UL(t,e){for(var r=0;r<e.length;r++){const i=e[r];if(typeof i!="string"&&!Array.isArray(i)){for(const n in i)if(n!=="default"&&!(n in t)){const o=Object.getOwnPropertyDescriptor(i,n);o&&Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>i[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}async function aA(t,e,r,i){return i._parse(t,e,r,i)}function Ni(t,e){if(!t)throw new Error(e||"loader assertion failed.")}const v_=!!(typeof process!="object"||String(process)!=="[object process]"||process.browser),hE=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);hE&&parseFloat(hE[1]);const tg=globalThis,Wf=globalThis.process||{},zL=globalThis.navigator||{};function XM(t){var i,n;if(typeof window<"u"&&((i=window.process)==null?void 0:i.type)==="renderer"||typeof process<"u"&&((n=process.versions)!=null&&n.electron))return!0;const r=typeof navigator<"u"&&navigator.userAgent;return!!(r&&r.indexOf("Electron")>=0)}function ku(){return!(typeof process=="object"&&String(process)==="[object process]"&&!(process!=null&&process.browser))||XM()}function VL(t){return ku()?XM()?"Electron":(zL.userAgent||"").indexOf("Edge")>-1?"Edge":globalThis.chrome?"Chrome":globalThis.safari?"Safari":globalThis.mozInnerScreenX?"Firefox":"Unknown":"Node"}const $M="4.0.7";function jL(t){try{const e=window[t],r="__storage_test__";return e.setItem(r,r),e.removeItem(r),e}catch{return null}}class HL{constructor(e,r,i="sessionStorage"){this.storage=jL(i),this.id=e,this.config=r,this._loadConfiguration()}getConfiguration(){return this.config}setConfiguration(e){if(Object.assign(this.config,e),this.storage){const r=JSON.stringify(this.config);this.storage.setItem(this.id,r)}}_loadConfiguration(){let e={};if(this.storage){const r=this.storage.getItem(this.id);e=r?JSON.parse(r):{}}return Object.assign(this.config,e),this}}function WL(t){let e;return t<10?e=`${t.toFixed(2)}ms`:t<100?e=`${t.toFixed(1)}ms`:t<1e3?e=`${t.toFixed(0)}ms`:e=`${(t/1e3).toFixed(2)}s`,e}function qL(t,e=8){const r=Math.max(e-t.length,0);return`${" ".repeat(r)}${t}`}var mm;(function(t){t[t.BLACK=30]="BLACK",t[t.RED=31]="RED",t[t.GREEN=32]="GREEN",t[t.YELLOW=33]="YELLOW",t[t.BLUE=34]="BLUE",t[t.MAGENTA=35]="MAGENTA",t[t.CYAN=36]="CYAN",t[t.WHITE=37]="WHITE",t[t.BRIGHT_BLACK=90]="BRIGHT_BLACK",t[t.BRIGHT_RED=91]="BRIGHT_RED",t[t.BRIGHT_GREEN=92]="BRIGHT_GREEN",t[t.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",t[t.BRIGHT_BLUE=94]="BRIGHT_BLUE",t[t.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",t[t.BRIGHT_CYAN=96]="BRIGHT_CYAN",t[t.BRIGHT_WHITE=97]="BRIGHT_WHITE"})(mm||(mm={}));const XL=10;function fE(t){return typeof t!="string"?t:(t=t.toUpperCase(),mm[t]||mm.WHITE)}function $L(t,e,r){return!ku&&typeof t=="string"&&(e&&(t=`\x1B[${fE(e)}m${t}\x1B[39m`),r&&(t=`\x1B[${fE(r)+XL}m${t}\x1B[49m`)),t}function ZL(t,e=["constructor"]){const r=Object.getPrototypeOf(t),i=Object.getOwnPropertyNames(r),n=t;for(const o of i){const s=n[o];typeof s=="function"&&(e.find(f=>o===f)||(n[o]=s.bind(t)))}}function u2(t,e){if(!t)throw new Error("Assertion failed")}function qf(){var e,r,i;let t;if(ku()&&tg.performance)t=(r=(e=tg==null?void 0:tg.performance)==null?void 0:e.now)==null?void 0:r.call(e);else if("hrtime"in Wf){const n=(i=Wf==null?void 0:Wf.hrtime)==null?void 0:i.call(Wf);t=n[0]*1e3+n[1]/1e6}else t=Date.now();return t}const Xf={debug:ku()&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},KL={enabled:!0,level:0};function $f(){}const dE={},AE={once:!0};class lA{constructor({id:e}={id:""}){this.VERSION=$M,this._startTs=qf(),this._deltaTs=qf(),this.userData={},this.LOG_THROTTLE_TIMEOUT=0,this.id=e,this.userData={},this._storage=new HL(`__probe-${this.id}__`,KL),this.timeStamp(`${this.id} started`),ZL(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((qf()-this._startTs).toPrecision(10))}getDelta(){return Number((qf()-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,r){this._storage.setConfiguration({[e]:r})}settings(){console.table?console.table(this._storage.config):console.log(this._storage.config)}assert(e,r){if(!e)throw new Error(r||"Assertion failed")}warn(e){return this._getLogFunction(0,e,Xf.warn,arguments,AE)}error(e){return this._getLogFunction(0,e,Xf.error,arguments)}deprecated(e,r){return this.warn(`\`${e}\` is deprecated and will be removed in a later version. Use \`${r}\` instead`)}removed(e,r){return this.error(`\`${e}\` has been removed. Use \`${r}\` instead`)}probe(e,r){return this._getLogFunction(e,r,Xf.log,arguments,{time:!0,once:!0})}log(e,r){return this._getLogFunction(e,r,Xf.debug,arguments)}info(e,r){return this._getLogFunction(e,r,console.info,arguments)}once(e,r){return this._getLogFunction(e,r,Xf.debug||Xf.info,arguments,AE)}table(e,r,i){return r?this._getLogFunction(e,r,console.table||$f,i&&[i],{tag:JL(r)}):$f}time(e,r){return this._getLogFunction(e,r,console.time?console.time:console.info)}timeEnd(e,r){return this._getLogFunction(e,r,console.timeEnd?console.timeEnd:console.info)}timeStamp(e,r){return this._getLogFunction(e,r,console.timeStamp||$f)}group(e,r,i={collapsed:!1}){const n=pE({logLevel:e,message:r,opts:i}),{collapsed:o}=i;return n.method=(o?console.groupCollapsed:console.group)||console.info,this._getLogFunction(n)}groupCollapsed(e,r,i={}){return this.group(e,r,Object.assign({},i,{collapsed:!0}))}groupEnd(e){return this._getLogFunction(e,"",console.groupEnd||$f)}withGroup(e,r,i){this.group(e,r)();try{i()}finally{this.groupEnd(e)()}}trace(){console.trace&&console.trace()}_shouldLog(e){return this.isEnabled()&&this.getLevel()>=ZM(e)}_getLogFunction(e,r,i,n,o){if(this._shouldLog(e)){o=pE({logLevel:e,message:r,args:n,opts:o}),i=i||o.method,u2(i),o.total=this.getTotal(),o.delta=this.getDelta(),this._deltaTs=qf();const s=o.tag||o.message;if(o.once&&s)if(!dE[s])dE[s]=qf();else return $f;return r=YL(this.id,o.message,o),i.bind(console,r,...o.args)}return $f}}lA.VERSION=$M;function ZM(t){if(!t)return 0;let e;switch(typeof t){case"number":e=t;break;case"object":e=t.logLevel||t.priority||0;break;default:return 0}return u2(Number.isFinite(e)&&e>=0),e}function pE(t){const{logLevel:e,message:r}=t;t.logLevel=ZM(e);const i=t.args?Array.from(t.args):[];for(;i.length&&i.shift()!==r;);switch(typeof e){case"string":case"function":r!==void 0&&i.unshift(r),t.message=e;break;case"object":Object.assign(t,e);break}typeof t.message=="function"&&(t.message=t.message());const n=typeof t.message;return u2(n==="string"||n==="object"),Object.assign(t,{args:i},t.opts)}function YL(t,e,r){if(typeof e=="string"){const i=r.time?qL(WL(r.total)):"";e=r.time?`${t}: ${i} ${e}`:`${t}: ${e}`,e=$L(e,r.color,r.background)}return e}function JL(t){for(const e in t)for(const r in t[e])return r||"untitled";return"empty"}globalThis.probe={};const KM=new lA({id:"@probe.gl/log"});function YM(t,e){return JM(t||{},e)}function JM(t,e,r=0){if(r>3)return e;const i={...t};for(const[n,o]of Object.entries(e))o&&typeof o=="object"&&!Array.isArray(o)?i[n]=JM(i[n]||{},e[n],r+1):i[n]=e[n];return i}function QL(t){var e;globalThis.loaders||(globalThis.loaders={}),(e=globalThis.loaders).modules||(e.modules={}),Object.assign(globalThis.loaders.modules,t)}function ek(t){var r,i;return((i=(r=globalThis.loaders)==null?void 0:r.modules)==null?void 0:i[t])||null}const tk="latest";function rk(){var t;return(t=globalThis._loadersgl_)!=null&&t.version||(globalThis._loadersgl_=globalThis._loadersgl_||{},globalThis._loadersgl_.version="4.2.4"),globalThis._loadersgl_.version}const QM=rk();function Pc(t,e){if(!t)throw new Error(e||"loaders.gl assertion failed.")}const Sa=typeof process!="object"||String(process)!=="[object process]"||process.browser,h2=typeof importScripts=="function",ik=typeof window<"u"&&typeof window.orientation<"u",gE=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);gE&&parseFloat(gE[1]);class nk{constructor(e,r){U(this,"name");U(this,"workerThread");U(this,"isRunning",!0);U(this,"result");U(this,"_resolve",()=>{});U(this,"_reject",()=>{});this.name=e,this.workerThread=r,this.result=new Promise((i,n)=>{this._resolve=i,this._reject=n})}postMessage(e,r){this.workerThread.postMessage({source:"loaders.gl",type:e,payload:r})}done(e){Pc(this.isRunning),this.isRunning=!1,this._resolve(e)}error(e){Pc(this.isRunning),this.isRunning=!1,this._reject(e)}}class qy{terminate(){}}const Xy=new Map;function sk(t){Pc(t.source&&!t.url||!t.source&&t.url);let e=Xy.get(t.source||t.url);return e||(t.url&&(e=ok(t.url),Xy.set(t.url,e)),t.source&&(e=eR(t.source),Xy.set(t.source,e))),Pc(e),e}function ok(t){if(!t.startsWith("http"))return t;const e=ak(t);return eR(e)}function eR(t){const e=new Blob([t],{type:"application/javascript"});return URL.createObjectURL(e)}function ak(t){return`try {
|
2
2
|
importScripts('${t}');
|
3
3
|
} catch (error) {
|
4
4
|
console.error(error);
|