tinkerbell/web/python-dateutil.js

1 line
No EOL
10 KiB
JavaScript

var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};Module.checkABI(1);if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="python-dateutil.data";var REMOTE_PACKAGE_BASE="python-dateutil.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata.remote_package_size;var PACKAGE_UUID=metadata.package_uuid;function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","lib",true,true);Module["FS_createPath"]("/lib","python3.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","python_dateutil-2.8.1-py3.8.egg-info",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","dateutil",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/dateutil","tz",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/dateutil","parser",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/dateutil","zoneinfo",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;assert(arrayBuffer,"Loading data file failed.");assert(arrayBuffer instanceof ArrayBuffer,"bad input to processPackageData");var byteArray=new Uint8Array(arrayBuffer);var curr;var compressedData={data:null,cachedOffset:304486,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,941,2141,3376,4737,5846,7064,8435,9783,10750,11706,12811,14037,15183,16248,17354,18460,19223,20126,20848,21862,22908,23919,24804,25587,26387,27322,28707,30082,30930,31823,32829,33882,34750,35935,36839,37895,38967,39886,40624,41954,43489,44800,46075,47070,48120,48965,49843,50461,51487,52092,52771,53510,54559,55935,57097,58319,59429,60381,61560,62916,64037,65206,66339,67413,68512,69744,70862,72118,73243,74286,75715,76772,77955,79197,80332,81178,81967,83059,84333,85335,86060,87176,88551,89959,91399,92507,93677,94991,96306,97479,98739,99727,101034,102239,103473,104545,105715,106737,108288,109688,110547,111453,112659,113702,114741,115763,116776,117775,118957,120190,121394,122269,123183,124265,125254,126124,127397,128703,129867,131006,132275,133494,134779,135513,136437,137166,138244,139442,140700,141986,142998,143907,145108,146166,148199,150247,152304,154352,156406,158454,160502,162550,164607,166655,168703,170751,172799,174854,176910,178958,181006,183054,185102,187150,189198,191253,193276,195324,197370,199418,201466,203514,205562,207610,209658,211715,213763,215820,217868,219916,221964,224012,226069,228117,230169,232196,234244,236292,238340,240388,242443,244491,246539,248587,250635,252683,254731,256779,258827,260875,262930,264978,267026,269074,271131,273188,275231,277279,279332,281380,283437,285485,287533,289581,291629,293684,295741,297789,299816,301100,302513,303603],sizes:[941,1200,1235,1361,1109,1218,1371,1348,967,956,1105,1226,1146,1065,1106,1106,763,903,722,1014,1046,1011,885,783,800,935,1385,1375,848,893,1006,1053,868,1185,904,1056,1072,919,738,1330,1535,1311,1275,995,1050,845,878,618,1026,605,679,739,1049,1376,1162,1222,1110,952,1179,1356,1121,1169,1133,1074,1099,1232,1118,1256,1125,1043,1429,1057,1183,1242,1135,846,789,1092,1274,1002,725,1116,1375,1408,1440,1108,1170,1314,1315,1173,1260,988,1307,1205,1234,1072,1170,1022,1551,1400,859,906,1206,1043,1039,1022,1013,999,1182,1233,1204,875,914,1082,989,870,1273,1306,1164,1139,1269,1219,1285,734,924,729,1078,1198,1258,1286,1012,909,1201,1058,2033,2048,2057,2048,2054,2048,2048,2048,2057,2048,2048,2048,2048,2055,2056,2048,2048,2048,2048,2048,2048,2055,2023,2048,2046,2048,2048,2048,2048,2048,2048,2057,2048,2057,2048,2048,2048,2048,2057,2048,2052,2027,2048,2048,2048,2048,2055,2048,2048,2048,2048,2048,2048,2048,2048,2048,2055,2048,2048,2048,2057,2057,2043,2048,2053,2048,2057,2048,2048,2048,2048,2055,2057,2048,2027,1284,1413,1090,883],successes:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,0,1,0,1,0,0,0,0,1,1,0,1,1,1,1,1]};compressedData.data=byteArray;assert(typeof Module.LZ4==="object","LZ4 not present - was your app build with -s LZ4=1 ?");Module.LZ4.loadPackage({metadata:metadata,compressedData:compressedData});Module["removeRunDependency"]("datafile_python-dateutil.data")}Module["addRunDependency"]("datafile_python-dateutil.data");if(!Module.preloadResults)Module.preloadResults={};Module.preloadResults[PACKAGE_NAME]={fromCache:false};if(fetched){processPackageData(fetched);fetched=null}else{fetchedCallback=processPackageData}}if(Module["calledRun"]){runWithFS()}else{if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push(runWithFS)}};loadPackage({files:[{filename:"/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/top_level.txt",start:0,end:9,audio:0},{filename:"/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/PKG-INFO",start:9,end:9328,audio:0},{filename:"/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/dependency_links.txt",start:9328,end:9329,audio:0},{filename:"/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/SOURCES.txt",start:9329,end:11397,audio:0},{filename:"/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/zip-safe",start:11397,end:11398,audio:0},{filename:"/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/requires.txt",start:11398,end:11407,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/utils.py",start:11407,end:13366,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/_version.py",start:13366,end:13482,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/__init__.py",start:13482,end:13704,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/rrule.py",start:13704,end:80443,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/easter.py",start:80443,end:83127,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/relativedelta.py",start:83127,end:108031,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/tzwin.py",start:108031,end:108090,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/_common.py",start:108090,end:109022,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/tz/__init__.py",start:109022,end:109466,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/tz/tz.py",start:109466,end:172398,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/tz/win.py",start:172398,end:185333,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/tz/_factories.py",start:185333,end:187902,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/tz/_common.py",start:187902,end:200879,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/parser/_parser.py",start:200879,end:259683,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/parser/__init__.py",start:259683,end:261449,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/parser/isoparser.py",start:261449,end:274547,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz",start:274547,end:427862,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/zoneinfo/__init__.py",start:427862,end:433751,audio:0},{filename:"/lib/python3.8/site-packages/dateutil/zoneinfo/rebuild.py",start:433751,end:435470,audio:0}],remote_package_size:308582,package_uuid:"b9646494-f62a-45f1-9c8c-24a3ad609bf2"})})();