gs-bim-air 3.0.0 → 3.0.1
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.
- package/README.md +10 -3
- package/lib/BimAir.common-report.html +2 -2
- package/lib/BimAir.common.js +158 -292
- package/lib/BimAir.umd-report.html +2 -2
- package/lib/BimAir.umd.js +158 -292
- package/lib/BimAir.umd.min-report.html +2 -2
- package/lib/BimAir.umd.min.js +2 -2
- package/libWorker/BimAirWorker.common-report.html +2 -2
- package/libWorker/BimAirWorker.common.js +7353 -7453
- package/libWorker/BimAirWorker.umd-report.html +2 -2
- package/libWorker/BimAirWorker.umd.js +7353 -7453
- package/libWorker/BimAirWorker.umd.min-report.html +2 -2
- package/libWorker/BimAirWorker.umd.min.js +1 -1
- package/package.json +1 -1
- package/public/js/BimAirWorker.umd.min.js +1 -1
- package/tsconfig.json +1 -0
- package/libWorker/BimAirWorker.common.514.js +0 -12645
- package/libWorker/BimAirWorker.common.745.js +0 -8507
- package/libWorker/BimAirWorker.umd.728.js +0 -12645
- package/libWorker/BimAirWorker.umd.862.js +0 -8507
- package/libWorker/BimAirWorker.umd.min.331.js +0 -1
- package/libWorker/BimAirWorker.umd.min.353.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["BimAirWorker.umd.min"]=t():e["BimAirWorker.umd.min"]=t()})("undefined"!==typeof self?self:this,(function(){return function(){var e={1331:function(e,t,r){"use strict";r(8706),r(3792),r(4114),r(4743),r(1745),r(6573),r(8100),r(7936),r(2010),r(9432),r(6099),r(3362),r(7495),r(5440),r(4594),r(9833),r(6594),r(5477),r(1489),r(8140),r(1630),r(2170),r(5044),r(1920),r(1694),r(9955),r(1903),r(1134),r(3206),r(4496),r(6651),r(2887),r(9369),r(6812),r(8995),r(1575),r(6072),r(8747),r(8845),r(9423),r(7301),r(373),r(6614),r(1405),r(7467),r(4732),r(3684),r(9577),r(3500),r(3611);var n,o=r(4370),i={};function a(e){return new Promise((function(t){if(i[e]&&(i[e].close(),i[e]=null,n=null),i[e])t();else{var r=indexedDB.open(e,22);r.onupgradeneeded=function(t){i[e]=t.target.result,i[e].objectStoreNames.contains("FILE_DATA")||(n=i[e].createObjectStore("FILE_DATA",{autoIncrement:!0}))},r.onsuccess=function(r){if(i[e]&&n)t();else if(i[e]=r.target.result,i[e].objectStoreNames.contains("FILE_DATA")){var o=i[e].transaction(["FILE_DATA"],"readwrite");n=o.objectStore("FILE_DATA"),t()}else n=i[e].createObjectStore("FILE_DATA",{autoIncrement:!0}),t()},r.onerror=function(e){console.error("创建idb报错:",e)}}}))}function s(e,t){return new Promise((function(r){try{if(i[e]){var n=i[e].transaction(["FILE_DATA"],"readonly"),o=n.objectStore("FILE_DATA"),s=o.get(t);s.onsuccess=function(e){r(e.target.result)},s.onerror=function(e){console.error("获取idb数据报错:",e),r(!1)}}else a(e).then((function(){var n=i[e].transaction(["FILE_DATA"],"readonly"),o=n.objectStore("FILE_DATA"),a=o.get(t);a.onsuccess=function(e){r(e.target.result)},a.onerror=function(e){console.error("获取idb数据报错:",e),r(!1)}}))}catch(u){console.error("idb报错:",u)}}))}function u(e,t,r){return new Promise((function(n,o){if(i[e]){var s=i[e].transaction(["FILE_DATA"],"readwrite"),u=s.objectStore("FILE_DATA"),c=u.put(r,t);c.onsuccess=function(e){n(e.target.result)},c.onerror=function(e){console.error("获取idb数据报错:",e),n(!1)}}else a(e).then((function(){var o=i[e].transaction(["FILE_DATA"],"readwrite"),a=o.objectStore("FILE_DATA"),s=a.put(r,t);s.onsuccess=function(e){n(e.target.result)},s.onerror=function(e){console.error("获取idb数据报错:",e),n(!1)}}))}))}r(7764),r(2953),r(3296),r(7208),r(8408),r(4603),r(7566),r(8721),r(4554),r(2892);var c,_,l=function(){function e(){this.items={},this.len=0}return e.prototype.add=function(e,t){e in this.items?this.items[e]=t:(this.items[e]=t,this.len++)},e.prototype.addRange=function(e){for(var t in e)this.add(t,e[t])},e.prototype.remove=function(e){return e in this.items&&(delete this.items[e],this.len--,!0)},e.prototype.clear=function(){this.items={},this.len=0},e.prototype.has=function(e){return e in this.items},e.prototype.get=function(e){var t=this.items[e];return t||null},Object.defineProperty(e.prototype,"count",{get:function(){return this.len},enumerable:!1,configurable:!0}),e.prototype.forEach=function(e){for(var t in this.items){var r=e(t,this.items[t]);if(!1===r)return}},e}(),f=(function(){function e(){this.typeName="NumberKeyList",this.items={},this.len=0}e.prototype.add=function(e,t){e in this.items?this.items[e]=t:(this.items[e]=t,this.len++)},e.prototype.addRange=function(e){for(var t in e)this.add(parseInt(t),e[t])},e.prototype.remove=function(e){return e in this.items&&(delete this.items[e],this.len--,!0)},e.prototype.clear=function(){this.items={},this.len=0},e.prototype.has=function(e){return e in this.items},e.prototype.get=function(e){var t=this.items[e];return t||null},Object.defineProperty(e.prototype,"first",{get:function(){var e=null;for(var t in this.items){e=this.items[t];break}return e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this.len},enumerable:!1,configurable:!0}),e.prototype.forEach=function(e){for(var t in this.items){var r=e(Number(t),this.items[t]);if(!1===r)return}}}(),function(){function e(){this.typeName="NumberSortedList",this.inOrder=!1,this.items=new Array}return Object.defineProperty(e.prototype,"count",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),e.prototype.indexOf=function(e){for(var t=0;t<this.items.length;t++)if(this.items[t][1]==e)return t;return-1},e.prototype.indexOfKey=function(e){var t=0,r=this.items.length-1;while(t<=r){var n=Math.floor((t+r)/2);if(e===this.items[n][0])return n;e>this.items[n][0]?t=n+1:r=n-1}return-1},e.prototype.add=function(e,t){var r=this.items.length-1,n=0,o=r;if(0!=this.items.length)if(e<this.items[0][0])this.items.unshift([e,t]);else if(e>=this.items[r][0])this.items.push([e,t]);else{var i=-1;while(n<o){var a=Math.floor((n+o)/2);if(a>0&&e<=this.items[a][0]&&e>=this.items[a-1][0]){i=a;break}if(a<r&&e>=this.items[a][0]&&e<=this.items[a+1][0]){i=a+1;break}e>this.items[a][0]?n=a+1:o=a-1}if(i>=0){if(this.inOrder)for(var s=i;s<this.items.length;s++){if(this.items[s][0]!=e)break;i=s+1}this.items.splice(i,0,[e,t])}}else this.items.push([e,t])},e.prototype.removeAt=function(e){return e>=0&&e<this.items.length&&(this.items.splice(e,1),!0)},e.prototype.remove=function(e){var t=this.indexOfKey(e);this.removeAt(t)},e.prototype.keyByIndex=function(e){return e>=0&&e<this.items.length?this.items[e][0]:-1},e.prototype.valueByIndex=function(e){return e>=0&&e<this.items.length?this.items[e][1]:null},e.prototype.clear=function(){this.items=new Array},e.prototype.forEach=function(e){for(var t=this.items.length,r=0;r<t;r++){var n=e(this.items[r][1]);if(!1===n)return}},e}()),h=function(){function e(e){this.typeName="List",this.items=e?new Array(e):[]}return Object.defineProperty(e.prototype,"count",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),e.prototype.indexOf=function(e){return this.items.indexOf(e)},e.prototype.lastIndexOf=function(e){return this.items.lastIndexOf(e)},e.prototype.add=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];(e=this.items).push.apply(e,(0,o.fX)([],(0,o.zs)(t),!1))},e.prototype.insert=function(e,t){0==e?this.items.unshift(t):this.items.splice(e,0,t)},e.prototype.addRange=function(e){this.items=this.items.concat(e.items)},e.prototype.remove=function(e){for(var t=this.items.length,r=0;r<t;r++)if(this.items[r]==e)return this.items.splice(r,1),!0;return!1},e.prototype.removeAt=function(e){return e>=0&&e<this.items.length&&(this.items.splice(e,1),!0)},e.prototype.removeRange=function(e,t){return e>=0&&e<this.items.length&&(this.items.splice(e,t),!0)},e.prototype.clear=function(){this.items=[]},e.prototype.get=function(e){var t=this.items[e];return void 0!=t?t:null},e.prototype.contains=function(e){return this.items.indexOf(e)>=0},e.prototype.forEach=function(e){for(var t=this.items.length,r=0;r<t;r++){var n=e(this.items[r],r);if(!1===n)return}},e.prototype.reverseForEach=function(e){for(var t=this.items.length,r=t-1;r>=0;r--){var n=e(this.items[r],r);if(!1===n)return}},e}(),d=(function(){function e(e){this.typeName="Stack",this.index=-1,this.items=e?new Array(e):[]}Object.defineProperty(e.prototype,"count",{get:function(){return this.index+1},enumerable:!1,configurable:!0}),e.prototype.push=function(e){this.items[++this.index]=e},e.prototype.add=function(e){this.items[++this.index]=e},e.prototype.pop=function(){return this.index>=0?this.items[this.index--]:null},e.prototype.peek=function(){return this.index>=0?this.items[this.index]:null},e.prototype.peekDirect=function(){return this.items[this.index]},e.prototype.peekPrev=function(){return this.index>0?this.items[this.index-1]:null},e.prototype.get=function(e){var t=this.items[e];return void 0!=t?t:null},e.prototype.forEach=function(e){for(var t=this.items.length,r=0;r<t;r++){var n=e(this.items[r]);if(!1===n)return}}}(),r(8598),function(){function e(t){this._resolve=null,this._reject=null,this._nullResolve=function(e){},this._nullReject=function(e){},this._event=null,this._resultValue=null,this._resultReason=null,this._resolved=!1,this._rejected=!1,this.allResolveNotify=null,this.allRejectNotify=null,this.joinList=[],t&&(this._event=t),e.promises.add(this)}return Object.defineProperty(e.prototype,"resolved",{get:function(){return this._resolved},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rejected",{get:function(){return this._rejected},enumerable:!1,configurable:!0}),e.prototype.then=function(e){return this._resolve=e,this},e.prototype.catch=function(e){return this._reject=e,this},e.prototype.resolve=function(e){this.allResolveNotify?this.allResolveNotify(e):(this._resultValue=e,this._resolved=!0)},e.prototype.reject=function(e){this.allRejectNotify?this.allRejectNotify(e):(this._resultReason=e,this._rejected=!0)},e.prototype.join=function(e){this.joinList.push(e)},e.prototype._execute=function(){var e=this;if(this._event&&(this._event((function(t){e.resolve(t)}),(function(t){e.reject(t)})),this._event=null),this._resolved){if(this._resolve&&this._resolve(this._resultValue),this.joinList)for(var t=0;t<this.joinList.length;t++){var r=this.joinList[t];r._resolve&&r._resolve(this._resultValue)}return!0}if(this._rejected){if(this._reject&&this._reject(this._resultReason),this.joinList)for(t=0;t<this.joinList.length;t++){r=this.joinList[t];r._reject&&r._reject(this._resultReason)}return!0}return!1},e.all=function(t){var r=new e,n=0,o=0,i=new Array(t.length),a=new Array(t.length);return t.forEach((function(e){e["allResolveNotify"]=function(s){var u=t.indexOf(e);i[u]=s,n++,n==t.length?(r._resultValue=i,r._resolved=!0):n+o==t.length&&(r._resultReason=a,r._rejected=!0)},e._resolved&&e["allResolveNotify"](e._resultValue),e["allRejectNotify"]=function(i){var s=t.indexOf(e);a[s]=i,o++,o!=t.length&&n+o!=t.length||(r._resultReason=a,r._rejected=!0)},e._rejected&&e["allRejectNotify"](e._resultReason)})),r},e.processPromises=function(t){if(e.promises.count>0)if(t)for(var r=0,n=e.promises.items,o=0;o<n.length;o++){var i=n[o];if(i["allResolveNotify"])n.splice(o,1),o--;else if(i._execute()&&(n.splice(o,1),o--,r++),r==t)break}else for(n=e.promises.items,o=0;o<n.length;o++){i=n[o];(i["allResolveNotify"]||i._execute())&&(n.splice(o,1),o--)}},e.promises=new h,e}()),p={ModelUrls:{sourceUrl:"",model:"",system:"",headers:{}}},S=p;(function(e){e[e["Idle"]=0]="Idle",e[e["Busy"]=1]="Busy"})(c||(c={})),function(e){e[e["None"]=0]="None",e[e["Initialize"]=1]="Initialize",e[e["GetJson"]=2]="GetJson",e[e["GetGSZ"]=3]="GetGSZ",e[e["GetGSM"]=4]="GetGSM",e[e["GetImage"]=5]="GetImage",e[e["ComputeHLODLevels"]=6]="ComputeHLODLevels",e[e["GetBTZ"]=7]="GetBTZ",e[e["GetFile"]=8]="GetFile",e[e["GetURLImage"]=9]="GetURLImage",e[e["GetOsgbGSM"]=10]="GetOsgbGSM",e[e["GetImageArrayBuffer"]=11]="GetImageArrayBuffer",e[e["Decompression"]=12]="Decompression",e[e["ComputeSphericalPolynomial"]=20]="ComputeSphericalPolynomial",e[e["ComputeOneSphericalHarmonics"]=21]="ComputeOneSphericalHarmonics",e[e["ComputeCollision"]=13]="ComputeCollision",e[e["ComputeCollisionByTriangles"]=14]="ComputeCollisionByTriangles",e[e["ComputeInstancesCulling"]=15]="ComputeInstancesCulling"}(_||(_={}));var y,m=function(){function e(e,t){this.type=e,this.data=t}return e}();(function(){function e(e){void 0===e&&(e=8);var t=this;this.workers=new h,this.tasks=new f,this.workerNoCounter=1,this.workerCount=8,this.workerInitializePromises=[],this.tasks.inOrder=!0,this.workerCount=e;for(var n=0;n<this.workerCount;n++){var o=new Promise((function(e){var n;n=new Worker(new URL(r.p+r.u(331),r.b)),n["no"]=t.workerNoCounter++,n["state"]=c.Idle,t.workers.add(n),n.onmessage=function(r){if(r.data.type===_.Initialize)e(null);else{var o=n["promise"];o&&(r&&r.data&&r.data.succeeded?o.resolve(new m(r.data.type,r.data.result)):o.reject(r.data.error))}if(n["state"]=c.Idle,n["promise"]=null,t.tasks.count>0){var i=t.tasks.items[0][1];t.tasks.removeAt(0),n["state"]=c.Busy,n["promise"]=i.promise,i.transfer?n.postMessage({cmd:i.type,params:i.params},i.transfer):n.postMessage({cmd:i.type,params:i.params})}},n.postMessage({cmd:_.Initialize,params:{no:n["no"],urls:{model:S.ModelUrls.model,system:S.ModelUrls.system,headers:S.ModelUrls.headers}}})}));this.workerInitializePromises.push(o)}}e.init=function(t){return void 0===t&&(t=8),this.instance=new e(t),Promise.all(this.instance.workerInitializePromises)},e.execute=function(t,r,n,o){void 0===n&&(n=0),this.instance||(this.instance=new e);var i=!1,a=new d;return this.instance.workers.forEach((function(e){if(e["state"]==c.Idle)return e["state"]=c.Busy,e["promise"]=a,o?e.postMessage({cmd:t,params:r},o):e.postMessage({cmd:t,params:r}),i=!0,!1})),i||this.instance.tasks.add(n,{type:t,params:r,transfer:o,promise:a}),a},e.dispose=function(){this.instance&&(console.log("workers dispose----------------"),this.instance.workers.forEach((function(e){e.terminate()})))},e.instance=null})(),r(3175);WebAssembly.instantiateStreaming||(WebAssembly.instantiateStreaming=function(e,t){return(0,o.sH)(void 0,void 0,void 0,(function(){var r;return(0,o.YH)(this,(function(n){switch(n.label){case 0:return[4,e];case 1:return[4,n.sent().arrayBuffer()];case 2:return r=n.sent(),[4,WebAssembly.instantiate(r,t)];case 3:return[2,n.sent()]}}))}))});var g,v,w=new Promise((function(e){y=e}));(function(e){e[e["None"]=0]="None",e[e["Intersect"]=1]="Intersect",e[e["Touch"]=2]="Touch",e[e["Contain"]=4]="Contain",e[e["Soft"]=8]="Soft"})(v||(v={}));var G=null,b=null,E=null,T=null,P=null,A=null,x=null,C=null,I=null,L=null,O=null,F=null,k=function(){G||(G=g._GS_Init_Database,b=g._GS_Fina_Database,E=function(e){var t=g.allocateUTF8(e),r=g._GS_Open_Segment(t);return g._free(t),r},g._GS_Open_Segment_By_Key,T=g._GS_Close_Segment,function(e){var t=g.allocateUTF8(e);g._GS_Delete_Segment(t),g._free(t)},g._GS_Delete_By_Key,function(e){var t=g._malloc(256);g._GS_Show_Segment_Name(e,t);var r=g.UTF8ToString(t);return g._free(t),r},function(e){var t=g._malloc(1024);g._GS_Show_Segment_Path(e,t);var r=g.UTF8ToString(t);return g._free(t),r},function(e){var t=g.allocateUTF8(e),r=g._GS_Segment_Exists(t);return g._free(t),!!r},function(e,t){var r=g.allocateUTF8(t);g._GS_Move_Key(e,r),g._free(r)},g._GS_Move_Key_By_Key,function(e){var t=g.allocateUTF8(e),r=g._GS_Rename_Segment(t);return g._free(t),r},function(e){var t=g._malloc(4),r=g._malloc(4);g._GS_Segment_To_Stream_By_Key(e,t,r);var n=g.HEAP32[t/4],o=g.HEAP32[r/4],i=new ArrayBuffer(o),a=new Uint8Array(i);return a.set(g.HEAP8.subarray(n,n+o)),i},function(e){var t=g._malloc(4),r=g._malloc(4);g._GS_Segment_To_Stream_With_Compression_By_Key(e,t,r);var n=g.HEAP32[t/4],o=g.HEAP32[r/4],i=new ArrayBuffer(o),a=new Uint8Array(i);return a.set(g.HEAP8.subarray(n,n+o)),i},P=function(e,t){var r=g._malloc(e.byteLength),n=new Int8Array(e);g.HEAP8.set(n,r);var o=_GS_Stream_To_Segment_By_Key(r,e.byteLength,t);return g._free(r),n=null,o},function(e,t,r){var n=g._malloc(e.byteLength),o=g.allocateUTF8(r),i=new Int8Array(e);g.HEAP8.set(i,n);var a=_GS_Stream_With_Compression_To_Segment_By_Key(n,e.byteLength,t,o);return g._free(n),g._free(o),i=null,a},A=function(e,t,r,n){if(t.length>0&&r.length>0){var o=g._malloc(4*t.length);g.HEAP32.set(t,o/4);var i=g._malloc(4*r.length);g.HEAP32.set(r,i/4);var a=g._GS_Compute_Collision_By_Keys(e,o,t.length,i,r.length,n);return g._free(o),g._free(i),a}return-1},function(){var e=g._malloc(4);g._GS_Show_Collision_Count(e);var t=g.HEAP32[e/4];return g._free(e),t},function(e){var t=g._malloc(4),r=g._malloc(4),n=g._malloc(4),o=g._malloc(4);g._GS_Show_Collision_Elements(e,t,r,n,o);var i=g.HEAP32[t/4],a=g.HEAP32[r/4],s=g.HEAP32[n/4],u=g.HEAP32[o/4];return g._free(t),g._free(r),g._free(n),g._free(o),new Int32Array([i,a,s,u])},function(e){var t=g._malloc(1024),r=g._malloc(1024);g._GS_Show_Collision_Paths(e,t,r);var n=g.UTF8ToString(t),o=g.UTF8ToString(r);return g._free(t),g._free(r),[n,o]},function(e){var t=g._malloc(4),r=g._malloc(2048),n=g._malloc(4),o=g._malloc(2048);g._GS_Show_Collision_Path_By_Keys(e,t,r,n,o);for(var i=g.HEAP32[t/4],a=new Int32Array(i),s=g.HEAP32[n/4],u=new Int32Array(s),c=0;c<i;c++)a[c]=g.HEAP32[r/4+c];for(c=0;c<s;c++)u[c]=g.HEAP32[o/4+c];return g._free(t),g._free(r),g._free(n),g._free(o),[a,u]},function(e){var t=g._malloc(24);g._GS_Show_Collision_Position(e,t);var r=new Float32Array(3);return r[0]=g.HEAPF32[t/4],r[1]=g.HEAPF32[t/4+1],r[2]=g.HEAPF32[t/4+2],g._free(t),r},function(e){var t=g._malloc(4);g._GS_Show_Collision_Type(e,t);var r=g.HEAP32[t/4];return g._free(t),r},x=function(e){var t=null,r=g._malloc(4),n=g._malloc(4),o=g._malloc(4),i=g._malloc(4),a=g._malloc(4),s=g._malloc(e.byteLength),u=new Int8Array(e);g.HEAP8.set(u,s),g._GS_Load_Image(s,e.byteLength,r,n,o,i,a);var c=g.HEAP32[r/4],_=g.HEAP32[n/4],l=g.HEAP32[o/4],f=g.HEAP32[i/4],h=g.HEAP32[a/4],d=_*l*f;return h?(t=new Float32Array(d),t.set(g.HEAPF32.subarray(c/4,c/4+d))):(t=new Uint8Array(d),t.set(g.HEAP8.subarray(c,c+d))),g._free(s),g._free(c),g._free(r),g._free(n),g._free(o),g._free(i),g._free(a),{width:_,height:l,channels:f,isHdr:h,data:t}},C=function(e){var t=null,r=g._malloc(4),n=g._malloc(4),o=g._malloc(e.byteLength),i=new Int8Array(e);g.HEAP8.set(i,o),g._GS_Decompress_Data(o,e.byteLength,r,n);var a=g.HEAP32[r/4],s=g.HEAP32[n/4];return t=new Uint8Array(s),t.set(g.HEAP8.subarray(a,a+s)),g._free(o),g._free(a),g._free(r),g._free(n),t},I=function(e,t,r,n,o,i,a,s,u,c){var _=g._malloc(o.byteLength);g.HEAP8.set(o,_);var l=g._malloc(i.byteLength);g.HEAP8.set(i,l);var f=g._malloc(a.byteLength);g.HEAP8.set(a,f);var h=g._malloc(s.byteLength);g.HEAP8.set(s,h);var d=g._malloc(u.byteLength);g.HEAP8.set(u,d);var p=g._malloc(c.byteLength);g.HEAP8.set(c,p);var S=g._malloc(216);g._GS_Compute_Spherical_Polynomial(e,t,r,n?1:0,_,l,f,h,d,p,S);var y=new Float64Array(27);return y.set(g.HEAPF64.subarray(S/8,S/8+27)),g._free(_),g._free(l),g._free(f),g._free(h),g._free(d),g._free(p),g._free(S),y},L=function(e,t,r,n,o,i){var a=g._malloc(o.byteLength);g.HEAP8.set(o,a);var s=g._malloc(72);g.HEAPF64.set(i,s/8);var u=g._malloc(216);g._GS_Compute_One_Spherical_Harmonics(e,t,r,n?1:0,a,s,u);var c=new Float64Array(27);return c.set(g.HEAPF64.subarray(u/8,u/8+27)),g._free(a),g._free(s),g._free(u),c},O=function(e,t,r,n,o,i,a,s,u,c){var _=null;if(t.length>=3&&n.length>=3){var l=g._malloc(4*e.length);g.HEAPF32.set(e,l/4);var f=g._malloc(4*r.length);g.HEAPF32.set(r,f/4);var h=g._malloc(4*t.length);g.HEAP32.set(t,h/4);var d=g._malloc(4*n.length);g.HEAP32.set(n,d/4);var p=0;i&&(p=g._malloc(64),g.HEAPF32.set(i,p/4));var S=0;a&&(S=g._malloc(64),g.HEAPF32.set(i,S/4));var y=g._malloc(4),m=g._malloc(12);if(g._GS_FLT_Compute_Collision_Triangles(l,h,t.length,f,d,n.length,o,p,S,s,u,c,y,m)){var v=new Float32Array(3);v[0]=g.HEAPF32[m/4],v[1]=g.HEAPF32[m/4+1],v[2]=g.HEAPF32[m/4+2],_={type:g.HEAP32[y/4],point:v}}g._free(l),g._free(f),g._free(h),g._free(d),p&&g._free(p),S&&g._free(S),g._free(y),g._free(m)}return _},F=function(e,t,r,n,o,i){var a=g._malloc(24);g.HEAPF32.set(e,a/4);var s=g._malloc(4*t.length);g.HEAPF32.set(t,s/4);var u=g._malloc(96);g.HEAPF32.set(r,u/4);var c=g._malloc(64);g.HEAPF32.set(n,c/4);var _=g._malloc(4),l=g._malloc(4);g._GS_Compute_Instances_Culling(a,s,t.length/16,u,c,o,i?1:0,_,l);var f=g.HEAP32[_/4],h=g.HEAP32[l/4],d=new Float32Array(16*h);return d.set(g.HEAPF32.subarray(f,f+16*h)),g._free(a),g._free(s),g._free(u),g._free(c),g._free(f),g._free(h),d})},M=0,R=function(){M=0};function D(e){for(var t=new ArrayBuffer(4),r=new DataView(t),n=0;n<4;n++)r.setUint8(n,e[M+n]);var o=r.getUint32(0,!0);return M+=4,o}var B=function(e,t){void 0===t&&(t=!0);var r=0;if(t)for(var n=M+4-1;n>=M;n--)r=(r<<8)+e[n];else for(n=M;n<M+4;n++)r=(r<<8)+e[n];return M+=4,r},N=function(e){var t=B(e),r=new TextDecoder,n=r.decode(e.subarray(M,M+t));return M+=t,n},U=function(e){var t=new ArrayBuffer(1),r=new DataView(t);return r.setUint8(0,e[M++]),!!r.getUint8(0)},j=function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=!0);var n=0;n=t?B(e,r)/4:B(e,r);var o=new Uint8Array(4*n);return o.set(e.subarray(M,M+4*n)),M+=4*n,new Float32Array(o.buffer)},H=function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=!0);var n=0;n=t?B(e,r)/4:B(e,r);var o=new Uint8Array(4*n);return o.set(e.subarray(M,M+4*n)),M+=4*n,new Int32Array(o.buffer)},V=function(e,t){void 0===t&&(t=!0);var r=B(e,t),n=new Uint8Array(r);return n.set(e.subarray(M,M+r)),M+=r,n},K={get:function(e,t){return void 0===t&&(t=!1),new Promise((function(r,n){var o=new XMLHttpRequest;o.open("GET",e,!0),t&&(o.responseType="blob");var i=z.urls.headers();Object.keys(i).forEach((function(e){o.setRequestHeader(e,i[e])})),o.onload=function(){200==o.status?r({data:o.response}):n()},o.onerror=function(e){console.log("worker xhr error: ",e),n()},o.send()}))}},z={urls:{model:function(e){return""},system:function(){return""},headers:function(){return{}}},getImageResource:function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=!1),new Promise((function(o){if(t||(console.log("请求路径出错:","projectId:",e,"resourcePath:",t),o(null)),!1!==r&&e)s(e,t).then((function(r){if(r)o(r);else{var i="";i="LonganSystem"===e?z.urls.system()+t:(n?e.split("_")[0]:z.urls.model(e))+t,K.get(i,!0).then((function(r){if(r&&r.data){var n=new FileReader;n.readAsArrayBuffer(r.data),n.onload=function(r){if(r.target["readyState"]==FileReader.DONE){var n=r.target["result"],i=x(n);o(i),u(e,t,i)}}}else o(null)}))}})).catch((function(e){console.error("idb获取数据出错:",e)}));else{var i="";i="LonganSystem"===e?z.urls.system()+t:!e&&t?t:(n?e.split("_")[0]:z.urls.model(e))+t,K.get(i,!0).then((function(e){if(e&&e.data){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"],r=x(t);o(r)}}}}))}}))},getGSMResource:function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=!1),new Promise((function(o,i){if(e&&t||(console.log("请求路径出错:","projectId:",e,"resourcePath:",t),i(null)),r)s(e,t).then((function(r){if(r)o({data:r.buffer,isCompressed:!1});else{var a="";a="LonganSystem"===e?z.urls.system()+t:(n?e.split("_")[0]:z.urls.model(e))+t,K.get(a,!0).then((function(e){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"];o({data:t,isCompressed:!0})}}})).catch((function(e){i("getGSMResource reject4"),console.error("获取"+t+"失败",e)}))}})).catch((function(e){i("getGSMResource reject5"),console.error("idb获取数据出错:",e)}));else{var a="";a="LonganSystem"===e?z.urls.system()+t:(n?e.split("_")[0]:z.urls.model(e))+t,K.get(a,!0).then((function(e){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"];o({data:t,isCompressed:!0})}}})).catch((function(e){i("getGSMResource reject2"),console.error("获取"+t+"失败",e)}))}}))},decompression:function(e,t,r,n,o){return void 0===o&&(o=!0),new Promise((function(i,a){if(r){var s=C(n);i(s),o&&u(e,t,s)}else i(new Uint8Array(n))}))},getFileResource:function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=!1),new Promise((function(o){if(e&&t||(console.log("请求路径出错:","projectId:",e,"resourcePath:",t),o(null)),r)s(e,t).then((function(r){if(r)o(r);else{var i="";i="LonganSystem"===e?z.urls.system()+t:(n?e.split("_")[0]:z.urls.model(e))+t,K.get(i,!0).then((function(r){if(r&&r.data){var n=new FileReader;n.readAsArrayBuffer(r.data),n.onload=function(r){if(r.target["readyState"]==FileReader.DONE){var n=r.target["result"];o(n),u(e,t,n)}}}else o(null)}))}})).catch((function(e){console.error("idb获取数据出错:",e)}));else{var i="";i="LonganSystem"===e?z.urls.system()+t:(n?e.split("_")[0]:z.urls.model(e))+t,K.get(i,!0).then((function(e){if(e&&e.data){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"];o(t)}}}}))}}))},getOsgbGSM:function(e,t){return new Promise((function(r){e&&t||(console.log("请求路径出错:","uri",e,"relativePath",t),r(null));var n="".concat(e,"?relativePath=").concat(encodeURIComponent(t));K.get(n,!0).then((function(e){if(e&&e.data){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"];r(t)}}}else r(null)}))}))}},W=!1;self.Module||(self.Module={}),self.Module.onRuntimeInitialized=function(){g=self["Module"],k(),G(),console.log("Worker Initialized"),W=!0},self.onmessage=function(e){if(e&&e.data)switch(e.data.cmd){case _.Initialize:var t=setInterval((function(){if(W){y(g);var r=e.data.params;z.urls.model=function(e){return r.urls.model.replace("$modelId",e)},z.urls.system=function(){return r.urls.system},z.urls.headers=function(){return r.urls.headers},self.postMessage({succeeded:!0,type:_.Initialize,result:{}},null),clearInterval(t)}}),100);break;case _.GetImage:w.then((function(t){var r=e.data.params;z.getImageResource(r.projectId,r.resourcePath,r.isFromIDB,r.isFromLocal).then((function(e){self.postMessage({succeeded:!0,type:_.GetImage,result:{width:e.width,height:e.height,channels:e.channels,isHdr:e.isHdr,data:e.data}},null,[e.data])}))}));break;case _.GetURLImage:w.then((function(t){var r=new XMLHttpRequest;r.open("GET",e.data.params,!0),r.responseType="blob",r.onload=function(){if(200==r.status){var e=new FileReader;e.readAsArrayBuffer(r.response),e.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"],r=x(t);self.postMessage({succeeded:!0,type:_.GetImage,result:{width:r.width,height:r.height,channels:r.channels,isHdr:r.isHdr,data:r.data}},null,[r.data])}}}},r.onerror=function(e){console.log("worker xhr error: ",e)},r.send()}));break;case _.GetImageArrayBuffer:w.then((function(t){var r=e.data.params,n=x(r);self.postMessage({succeeded:!0,type:_.GetImage,result:{width:n.width,height:n.height,channels:n.channels,isHdr:n.isHdr,data:n.data}},null,[n.data])}));break;case _.GetGSM:w.then((function(t){var r=e.data.params;z.getGSMResource(r.projectId,r.resourcePath,r.isFromIDB,r.isFromLocal).then((function(e){self.postMessage({succeeded:!0,type:_.GetGSM,result:{data:e}},null,[e.data])})).catch((function(e){self.postMessage({succeeded:!1,type:_.GetGSM,result:{data:"modelService getGSMResource reject"}},null),console.error("获取"+r.resourcePath+"失败",e)}))}));break;case _.Decompression:w.then((function(t){var r=e.data.params;z.decompression(r.projectId,r.resourcePath,r.isCompressed,r.data,r.isFromIDB).then((function(e){if(R(),"25.4.14.0"===r.modelVersion){var t=e[0];if(M+=1,t){D(e),N(e),N(e),H(e,!1);for(var n=B(e),i=new Array,a=0;a<n;a++){var s=N(e),u=B(e),c=B(e),f=B(e),h=B(e),d=B(e);i.push({name:s,slot:u,size:c,type:f,offset:h,stride:d})}B(e);var p=new Array,S=new l;for(a=0;a<i.length;a++){var y=j(e,!1);p.push(y);var m=i[a].name,g=m.indexOf("_");-1!==g&&(m=m.substring(g+1)),S.add(m,y)}var v=H(e,!1);self.postMessage({succeeded:!0,type:_.Decompression,result:{formats:i,vertexes:S.items,indexes:v}},null,(0,o.fX)((0,o.fX)([],(0,o.zs)(p),!1),[v],!1))}}else if("25.6.4.0"===r.modelVersion){for(N(e),H(e,!1),n=B(e),i=new Array,a=0;a<n;a++){s=N(e),u=B(e),c=B(e),f=B(e),h=B(e),d=B(e);i.push({name:s,slot:u,size:c,type:f,offset:h,stride:d})}B(e),p=new Array,S=new l;var w=!0;for(a=0;a<i.length;a++){m=i[a].name;var G=m.indexOf("_");if(-1!==G&&(m=m.substring(G+1)),m.indexOf("uv")>-1){w=!1;break}}for(a=0;a<i.length;a++){m=i[a].name,G=m.indexOf("_");if(-1!==G&&(m=m.substring(G+1)),"position"===m||"normal"===m||w){y=j(e);p.push(y),S.add(m,y)}else{var b=j(e),E=(g=0,new Array);while(g<b.length){var T=b[g];g++;var P=b[g];g++;for(var A=new Float32Array(P),x=0;x<P;x++){var C=b[g];g++,A[x]=C}var I=new Float32Array(T*P);for(x=0;x<T;x++)I.set(A,x*P);E.push(I)}for(var L=0,O=0;O<E.length;O++)L+=E[O].length;y=new Float32Array(L);for(var F=0,k=0;k<E.length;k++)y.set(E[k],F),F+=E[k].length;S.add(m,y)}}v=H(e);self.postMessage({succeeded:!0,type:_.Decompression,result:{formats:i,vertexes:S.items,indexes:v}},null,(0,o.fX)((0,o.fX)([],(0,o.zs)(p),!1),[v],!1))}else if("24.6.11.0"===r.modelVersion){for(N(e),H(e,!1),n=B(e),i=new Array,a=0;a<n;a++){s=N(e),u=B(e),c=B(e),f=B(e),h=B(e),d=B(e);i.push({name:s,slot:u,size:c,type:f,offset:h,stride:d})}for(B(e),p=new Array,S=new l,a=0;a<i.length;a++){y=j(e);p.push(y);m=i[a].name,g=m.indexOf("_");-1!==g&&(m=m.substring(g+1)),S.add(m,y)}v=H(e);self.postMessage({succeeded:!0,type:_.Decompression,result:{formats:i,vertexes:S.items,indexes:v}},null,(0,o.fX)((0,o.fX)([],(0,o.zs)(p),!1),[v],!1))}else console.error("model Version Error:",r.modelVersion)})).catch((function(e){console.log("获取"+r.resourcePath+"失败",e)}))}));break;case _.GetFile:w.then((function(t){var r=e.data.params;z.getFileResource(r.projectId,r.resourcePath,r.isFromIDB,r.isFromLocal).then((function(e){self.postMessage({succeeded:!0,type:_.GetFile,result:e},null,[e])}))}));break;case _.GetOsgbGSM:w.then((function(t){var r=e.data.params;z.getOsgbGSM(r.osgbId,r.relativePath).then((function(e){e||self.postMessage({succeeded:!1,type:_.GetOsgbGSM,result:null},null,[]);var t=C(e);R();N(t);for(var r=B(t),n=new Array,o=0;o<r;o++){var i=N(t),a=B(t),s=B(t),u=B(t),c=B(t),l=B(t);n.push({name:i,slot:a,size:s,type:u,offset:c,stride:l})}var f,h,d=j(t),p=H(t),S=U(t);S&&(N(t),B(t),B(t),f=V(t),h=x(f)),self.postMessage({succeeded:!0,type:_.GetOsgbGSM,result:{formats:n,vertexes:d,indexes:p,image:h}},null,[d,p,h])}))}));break;case _.ComputeSphericalPolynomial:w.then((function(t){var r=e.data.params;if(r.back instanceof Uint8Array){var n=I(r.size,r.format,r.type,r.gammaSpace,r.right,r.left,r.up,r.down,r.front,r.back);self.postMessage({succeeded:!0,type:_.ComputeSphericalPolynomial,result:{data:n}},null,[n])}}));break;case _.ComputeOneSphericalHarmonics:w.then((function(t){var r=e.data.params;if(r.face instanceof Uint8Array){var n=new Float64Array(9);n[0]=r.face_direct[0]._x,n[1]=r.face_direct[0]._y,n[2]=r.face_direct[0]._z,n[3]=r.face_direct[1]._x,n[4]=r.face_direct[1]._y,n[5]=r.face_direct[1]._z,n[6]=r.face_direct[2]._x,n[7]=r.face_direct[2]._y,n[8]=r.face_direct[2]._z;var o=L(r.size,r.format,r.type,r.gammaSpace?1:0,r.face,n);self.postMessage({succeeded:!0,type:_.ComputeOneSphericalHarmonics,result:{data:o}},null,[o])}}));break;case _.ComputeCollision:w.then((function(t){var r=e.data.params;k(),G();var n=E("/include library"),o=E("ro1");P(r.roStream1,o),T();var i=E("ro2");P(r.roStream2,i),T();A(n,new Int32Array([o]),new Int32Array([i]),v.Touch);T(),b()}));break;case _.ComputeCollisionByTriangles:w.then((function(t){var r=e.data.params,n=O(r.position1,r.indexes1,r.position2,r.indexes2,r.stride,r.mm1,r.mm2,r.type,r.tolerance,r.soft_distance);self.postMessage({succeeded:!0,type:_.ComputeCollisionByTriangles,result:{data:n}},null,n?[n.point]:void 0)}));break;case _.ComputeInstancesCulling:w.then((function(t){var r=e.data.params,n=F(r.templateBB,r.instancesMM,r.frustumPlanes,r.projectionViewMatrix,r.cullingExtent,r.approximate);self.postMessage({succeeded:!0,type:_.ComputeInstancesCulling,result:{data:n,instancesMM:r.instancesMM}},null,n?[n,r.instancesMM]:void 0)}));break}}},2579:function(e,t,r){var n,o,i;r(4100)["default"];r(6280),r(3851),r(4864),r(7465),r(7495),r(7745),r(8781),r(5440),r(2762),r(3611),function(r,a){o=[],n=a,i="function"===typeof n?n.apply(t,o):n,void 0===i||(e.exports=i)}("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=i.exec(h.stack)||a.exec(h.stack),u=s&&s[1]||!1,c=s&&s[2]||!1,_=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===_&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var f=0;f<l.length;f++){if("interactive"===l[f].readyState)return l[f];if(l[f].src===u)return l[f];if(u===_&&l[f].innerHTML&&l[f].innerHTML.trim()===o)return l[f]}return null}}return e}))},3175:function(e,t,r){var n="/",o=r(4100)["default"];r(6280),r(8706),r(6835),r(3771),r(2008),r(4423),r(3792),r(8598),r(4114),r(4782),r(4554),r(4743),r(9142),r(1745),r(6573),r(8100),r(7936),r(2010),r(5081),r(8085),r(605),r(2152),r(761),r(2892),r(9085),r(3851),r(9432),r(6099),r(3362),r(7495),r(9479),r(8781),r(9449),r(1699),r(7764),r(1761),r(8156),r(5440),r(1392),r(778),r(4594),r(9833),r(6594),r(2107),r(5477),r(1489),r(3690),r(1740),r(8140),r(1630),r(2170),r(5044),r(1920),r(1694),r(9955),r(1903),r(1134),r(3206),r(4496),r(6651),r(2887),r(9369),r(6812),r(8995),r(1575),r(6072),r(8747),r(8845),r(9423),r(7301),r(373),r(6614),r(1405),r(7467),r(4732),r(3684),r(9577),r(3500),r(2953),r(3611),r(3296),r(7208),r(8408),r(4603),r(7566),r(8721);var i="undefined"!=typeof i?i:{},a=Object.assign({},i),s="./this.program",u=function(e,t){throw t},c="object"==("undefined"===typeof window?"undefined":o(window)),_="function"==typeof importScripts,l="object"==("undefined"===typeof process?"undefined":o(process))&&"object"==o(process.versions)&&"string"==typeof process.versions.node,f=!c&&!l&&!_;if(i["ENVIRONMENT"])throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var h,d,p,S="";function y(e){return i["locateFile"]?i["locateFile"](e,S):S+e}if(S="https://static.graphicstone.com/bimAir-v2.3",l){if("undefined"==typeof process||!process.release||"node"!==process.release.name)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var m=process.versions.node,g=m.split(".").slice(0,3);g=1e4*g[0]+100*g[1]+1*g[2].split("-")[0];if(g<16e4)throw new Error("This emscripten-generated code requires node v16.0.0 (detected v"+m+")");var v=r(4383),w=r(4384);S=_?w.dirname(S)+"/":n+"/",h=function(e,t){return e=_e(e)?new URL(e):w.normalize(e),v.readFileSync(e,t?void 0:"utf8")},p=function(e){var t=h(e,!0);return t.buffer||(t=new Uint8Array(t)),M(t.buffer),t},d=function(e,t,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];e=_e(e)?new URL(e):w.normalize(e),v.readFile(e,n?void 0:"utf8",(function(e,o){e?r(e):t(n?o.buffer:o)}))},!i["thisProgram"]&&process.argv.length>1&&(s=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),e["exports"]=i,process.on("uncaughtException",(function(e){if("unwind"!==e&&!(e instanceof Ee)&&!(e.context instanceof Ee))throw e})),u=function(e,t){throw process.exitCode=e,t},i["inspect"]=function(){return"[Emscripten Module object]"}}else if(f){if("object"==("undefined"===typeof process?"undefined":o(process))||"object"==("undefined"===typeof window?"undefined":o(window))||"function"==typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"undefined"!=typeof read&&(h=read),p=function(e){if("function"==typeof readbuffer)return new Uint8Array(readbuffer(e));var t=read(e,"binary");return M("object"==o(t)),t},d=function(e,t,r){setTimeout((function(){return t(p(e))}))},"undefined"==typeof clearTimeout&&(globalThis.clearTimeout=function(e){}),"undefined"==typeof setTimeout&&(globalThis.setTimeout=function(e){return"function"==typeof e?e():oe()}),"undefined"!=typeof scriptArgs?scriptArgs:"undefined"!=typeof arguments&&arguments,"function"==typeof quit&&(u=function(e,t){throw setTimeout((function(){if(!(t instanceof Ee)){var r=t;t&&"object"==o(t)&&t.stack&&(r=[t,t.stack]),b("exiting due to exception: ".concat(r))}quit(e)})),t}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)}else{if(!c&&!_)throw new Error("environment detection error");if(_?S=self.location.href:"undefined"!=typeof document&&document.currentScript&&(S=document.currentScript.src),0!==S.indexOf("blob:"))S=S.substr(0,S.replace(/[?#].*/,"").lastIndexOf("/")+1);else if(0===S.indexOf("blob:")){if(-1!==S.indexOf("null"))S="https://static.graphicstone.com/bimAir-v2.3";else S="https://static.graphicstone.com/bimAir-v2.3"}else S="https://static.graphicstone.com/bimAir-v2.3";if("object"!=("undefined"===typeof window?"undefined":o(window))&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");h=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},_&&(p=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),d=function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)},function(e){return document.title=e}}var G=i["print"]||console.log.bind(console),b=i["printErr"]||console.error.bind(console);Object.assign(i,a),a=null,Ut(),i["arguments"]&&i["arguments"],ye("arguments","arguments_"),i["thisProgram"]&&(s=i["thisProgram"]),ye("thisProgram","thisProgram"),i["quit"]&&(u=i["quit"]),ye("quit","quit_"),M("undefined"==typeof i["memoryInitializerPrefixURL"],"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),M("undefined"==typeof i["pthreadMainPrefixURL"],"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),M("undefined"==typeof i["cdInitializerPrefixURL"],"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),M("undefined"==typeof i["filePackagePrefixURL"],"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),M("undefined"==typeof i["read"],"Module.read option was removed (modify read_ in JS)"),M("undefined"==typeof i["readAsync"],"Module.readAsync option was removed (modify readAsync in JS)"),M("undefined"==typeof i["readBinary"],"Module.readBinary option was removed (modify readBinary in JS)"),M("undefined"==typeof i["setWindowTitle"],"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),M("undefined"==typeof i["TOTAL_MEMORY"],"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),ye("asm","wasmExports"),ye("read","read_"),ye("readAsync","readAsync"),ye("readBinary","readBinary"),ye("setWindowTitle","setWindowTitle");var E;M(!f,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),i["wasmBinary"]&&(E=i["wasmBinary"]),ye("wasmBinary","wasmBinary");var T,P=i["noExitRuntime"]||!0;ye("noExitRuntime","noExitRuntime"),"object"!=("undefined"===typeof WebAssembly?"undefined":o(WebAssembly))&&oe("no native wasm support detected");var A,x,C,I,L,O,F,k=!1;function M(e,t){e||oe("Assertion failed"+(t?": "+t:""))}function R(){var e=T.buffer;i["HEAP8"]=A=new Int8Array(e),i["HEAP16"]=C=new Int16Array(e),i["HEAPU8"]=x=new Uint8Array(e),i["HEAPU16"]=new Uint16Array(e),i["HEAP32"]=I=new Int32Array(e),i["HEAPU32"]=L=new Uint32Array(e),i["HEAPF32"]=new Float32Array(e),i["HEAPF64"]=O=new Float64Array(e)}function D(){var e=Yt();M(0==(3&e)),0==e&&(e+=4),L[e>>2]=34821223,L[e+4>>2]=2310721022,L[0]=1668509029}function B(){if(!k){var e=Yt();0==e&&(e+=4);var t=L[e>>2],r=L[e+4>>2];34821223==t&&2310721022==r||oe("Stack overflow! Stack cookie has been overwritten at ".concat(Pe(e),", expected hex dwords 0x89BACDFE and 0x2135467, but received ").concat(Pe(r)," ").concat(Pe(t))),1668509029!=L[0]&&oe("Runtime error: The application has corrupted its heap memory area (address zero)!")}}M(!i["STACK_SIZE"],"STACK_SIZE can no longer be set at runtime. Use -sSTACK_SIZE at link time"),M("undefined"!=typeof Int32Array&&"undefined"!==typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),M(!i["wasmMemory"],"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),M(!i["INITIAL_MEMORY"],"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically"),function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)"}();var N=[],U=[],j=[],H=!1,V=0;function K(){return P||V>0}function z(){if(i["preRun"]){"function"==typeof i["preRun"]&&(i["preRun"]=[i["preRun"]]);while(i["preRun"].length)Y(i["preRun"].shift())}Te(N)}function W(){M(!H),H=!0,B(),i["noFSInit"]||tt.init.initialized||tt.init(),tt.ignorePermissions=!1,He.init(),Te(U)}function q(){if(B(),i["postRun"]){"function"==typeof i["postRun"]&&(i["postRun"]=[i["postRun"]]);while(i["postRun"].length)$(i["postRun"].shift())}Te(j)}function Y(e){N.unshift(e)}function X(e){U.unshift(e)}function $(e){j.unshift(e)}M(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),M(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),M(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),M(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var J=0,Z=null,Q=null,ee={};function te(e){var t=e;while(1){if(!ee[e])return e;e=t+Math.random()}}function re(e){J++,i["monitorRunDependencies"]&&i["monitorRunDependencies"](J),e?(M(!ee[e]),ee[e]=1,null===Z&&"undefined"!=typeof setInterval&&(Z=setInterval((function(){if(k)return clearInterval(Z),void(Z=null);var e=!1;for(var t in ee)e||(e=!0,b("still waiting on run dependencies:")),b("dependency: ".concat(t));e&&b("(end of list)")}),1e4))):b("warning: run dependency added without ID")}function ne(e){if(J--,i["monitorRunDependencies"]&&i["monitorRunDependencies"](J),e?(M(ee[e]),delete ee[e]):b("warning: run dependency removed without ID"),0==J&&(null!==Z&&(clearInterval(Z),Z=null),Q)){var t=Q;Q=null,t()}}function oe(e){i["onAbort"]&&i["onAbort"](e),e="Aborted("+e+")",b(e),k=!0,1;var t=new WebAssembly.RuntimeError(e);throw t}var ie,ae,se,ue="data:application/octet-stream;base64,";function ce(e){return e.startsWith(ue)}function _e(e){return e.startsWith("file://")}function le(e){return function(){M(H,"native function `".concat(e,"` called before runtime initialization"));var t=Ht[e];return M(t,"exported native function `".concat(e,"` not found")),t.apply(null,arguments)}}function fe(e){if(e==ie&&E)return new Uint8Array(E);if(p)return p(e);throw"both async and sync fetching of the wasm failed"}function he(e){if(!E&&(c||_)){if("function"==typeof fetch&&!_e(e))return fetch(e,{credentials:"same-origin"}).then((function(t){if(!t["ok"])throw"failed to load wasm binary file at '"+e+"'";return t["arrayBuffer"]()})).catch((function(){return fe(e)}));if(d)return new Promise((function(t,r){d(e,(function(e){return t(new Uint8Array(e))}),r)}))}return Promise.resolve().then((function(){return fe(e)}))}function de(e,t,r){return he(e).then((function(e){return WebAssembly.instantiate(e,t)})).then((function(e){return e})).then(r,(function(e){b("failed to asynchronously prepare wasm: ".concat(e)),_e(ie)&&b("warning: Loading from a file URI (".concat(ie,") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing")),oe(e)}))}function pe(e,t,r,n){return e||"function"!=typeof WebAssembly.instantiateStreaming||ce(t)||_e(t)||l||"function"!=typeof fetch?de(t,r,n):fetch(t,{credentials:"same-origin"}).then((function(e){var o=WebAssembly.instantiateStreaming(e,r);return o.then(n,(function(e){return b("wasm streaming compile failed: ".concat(e)),b("falling back to ArrayBuffer instantiation"),de(t,r,n)}))}))}function Se(){var e={env:jt,wasi_snapshot_preview1:jt};function t(e,t){var r=e.exports;return Ht=r,T=Ht["memory"],M(T,"memory not found in wasm exports"),R(),F=Ht["__indirect_function_table"],M(F,"table not found in wasm exports"),X(Ht["__wasm_call_ctors"]),ne("wasm-instantiate"),r}re("wasm-instantiate");var r=i;function n(e){M(i===r,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),r=null,t(e["instance"])}if(i["instantiateWasm"])try{return i["instantiateWasm"](e,t)}catch(o){return b("Module.instantiateWasm callback failed with error: ".concat(o)),!1}return pe(E,ie,e,n),{}}function ye(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Object.getOwnPropertyDescriptor(i,e)||Object.defineProperty(i,e,{configurable:!0,get:function(){var n=r?" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)":"";oe("`Module.".concat(e,"` has been replaced by `").concat(t,"`")+n)}})}function me(e){Object.getOwnPropertyDescriptor(i,e)&&oe("`Module.".concat(e,"` was supplied but `").concat(e,"` not included in INCOMING_MODULE_JS_API"))}function ge(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}function ve(e,t){"undefined"!==typeof globalThis&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){Ae("`"+e+"` is not longer defined by emscripten. "+t)}})}function we(e){"undefined"===typeof globalThis||Object.getOwnPropertyDescriptor(globalThis,e)||Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE='"+r+"')",ge(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),Ae(t)}}),Ge(e)}function Ge(e){Object.getOwnPropertyDescriptor(i,e)||Object.defineProperty(i,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the Emscripten FAQ)";ge(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),oe(t)}})}ie="/js/longanWithoutShareArrayBuffer/longan.worker.wasm",ce(ie)||(ie=y(ie)),ve("buffer","Please use HEAP8.buffer or wasmMemory.buffer"),ve("asm","Please use wasmExports instead");var be={1198173:function(e,t){i.showCollisionComputeStatus&&i.showCollisionComputeStatus(e,t)},1198263:function(e,t){i.showCollisionComputeStatus&&i.showCollisionComputeStatus(e,t)}};function Ee(e){this.name="ExitStatus",this.message="Program terminated with exit(".concat(e,")"),this.status=e}var Te=function(e){while(e.length>0)e.shift()(i)};var Pe=function(e){return M("number"===typeof e),e>>>=0,"0x"+e.toString(16).padStart(8,"0")};var Ae=function e(t){e.shown||(e.shown={}),e.shown[t]||(e.shown[t]=1,l&&(t="warning: "+t),b(t))},xe="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,Ce=function(e,t,r){var n=t+r,o=t;while(e[o]&&!(o>=n))++o;if(o-t>16&&e.buffer&&xe)return xe.decode(e.subarray(t,o));var i="";while(t<o){var a=e[t++];if(128&a){var s=63&e[t++];if(192!=(224&a)){var u=63&e[t++];if(224==(240&a)?a=(15&a)<<12|s<<6|u:(240!=(248&a)&&Ae("Invalid UTF-8 leading byte "+Pe(a)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),a=(7&a)<<18|s<<12|u<<6|63&e[t++]),a<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i},Ie=function(e,t){return M("number"==typeof e),e?Ce(x,e,t):""},Le=function(e,t,r,n){oe("Assertion failed: ".concat(Ie(e),", at: ")+[t?Ie(t):"unknown filename",r,n?Ie(n):"unknown function"])},Oe=function(e){return I[zt()>>2]=e,e},Fe={isAbs:function(e){return"/"===e.charAt(0)},splitPath:function(e){var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return t.exec(e).slice(1)},normalizeArray:function(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},normalize:function(e){var t=Fe.isAbs(e),r="/"===e.substr(-1);return e=Fe.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"),e||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},dirname:function(e){var t=Fe.splitPath(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},basename:function(e){if("/"===e)return"/";e=Fe.normalize(e),e=e.replace(/\/$/,"");var t=e.lastIndexOf("/");return-1===t?e:e.substr(t+1)},join:function(){var e=Array.prototype.slice.call(arguments);return Fe.normalize(e.join("/"))},join2:function(e,t){return Fe.normalize(e+"/"+t)}},ke=function(){if("object"==("undefined"===typeof crypto?"undefined":o(crypto))&&"function"==typeof crypto["getRandomValues"])return function(e){return crypto.getRandomValues(e)};if(l)try{var e=r(Object(function(){var e=new Error("Cannot find module 'crypto'");throw e.code="MODULE_NOT_FOUND",e}())),t=e["randomFillSync"];if(t)return function(t){return e["randomFillSync"](t)};var n=e["randomBytes"];return function(e){return e.set(n(e.byteLength)),e}}catch(i){}oe("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: (array) => { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };")},Me=function(e){return(Me=ke())(e)},Re={resolve:function(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:tt.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,t=Fe.isAbs(n)}return e=Fe.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"),(t?"/":"")+e||"."},relative:function(e,t){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=Re.resolve(e).substr(1),t=Re.resolve(t).substr(1);for(var n=r(e.split("/")),o=r(t.split("/")),i=Math.min(n.length,o.length),a=i,s=0;s<i;s++)if(n[s]!==o[s]){a=s;break}var u=[];for(s=a;s<n.length;s++)u.push("..");return u=u.concat(o.slice(a)),u.join("/")}},De=[],Be=function(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):t+=3}return t},Ne=function(e,t,r,n){if(M("string"===typeof e),!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s>=55296&&s<=57343){var u=e.charCodeAt(++a);s=65536+((1023&s)<<10)|1023&u}if(s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;s>1114111&&Ae("Invalid Unicode code point "+Pe(s)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF)."),t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}return t[r]=0,r-o};function Ue(e,t,r){var n=r>0?r:Be(e)+1,o=new Array(n),i=Ne(e,o,0,o.length);return t&&(o.length=i),o}var je=function(){if(!De.length){var e=null;if(l){var t=256,r=Buffer.alloc(t),n=0,o=process.stdin.fd;try{n=v.readSync(o,r)}catch(i){if(!i.toString().includes("EOF"))throw i;n=0}e=n>0?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?(e=window.prompt("Input: "),null!==e&&(e+="\n")):"function"==typeof readline&&(e=readline(),null!==e&&(e+="\n"));if(!e)return null;De=Ue(e,!0)}return De.shift()},He={ttys:[],init:function(){},shutdown:function(){},register:function(e,t){He.ttys[e]={input:[],output:[],ops:t},tt.registerDevice(e,He.stream_ops)},stream_ops:{open:function(e){var t=He.ttys[e.node.rdev];if(!t)throw new tt.ErrnoError(43);e.tty=t,e.seekable=!1},close:function(e){e.tty.ops.fsync(e.tty)},fsync:function(e){e.tty.ops.fsync(e.tty)},read:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.get_char)throw new tt.ErrnoError(60);for(var i=0,a=0;a<n;a++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(u){throw new tt.ErrnoError(29)}if(void 0===s&&0===i)throw new tt.ErrnoError(6);if(null===s||void 0===s)break;i++,t[r+a]=s}return i&&(e.node.timestamp=Date.now()),i},write:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.put_char)throw new tt.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,t[r+i])}catch(a){throw new tt.ErrnoError(29)}return n&&(e.node.timestamp=Date.now()),i}},default_tty_ops:{get_char:function(e){return je()},put_char:function(e,t){null===t||10===t?(G(Ce(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},fsync:function(e){e.output&&e.output.length>0&&(G(Ce(e.output,0)),e.output=[])},ioctl_tcgets:function(e){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets:function(e,t,r){return 0},ioctl_tiocgwinsz:function(e){return[24,80]}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(b(Ce(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},fsync:function(e){e.output&&e.output.length>0&&(b(Ce(e.output,0)),e.output=[])}}},Ve=function(e){oe("internal error: mmapAlloc called but `emscripten_builtin_memalign` native symbol not exported")},Ke={ops_table:null,mount:function(e){return Ke.createNode(null,"/",16895,0)},createNode:function(e,t,r,n){if(tt.isBlkdev(r)||tt.isFIFO(r))throw new tt.ErrnoError(63);Ke.ops_table||(Ke.ops_table={dir:{node:{getattr:Ke.node_ops.getattr,setattr:Ke.node_ops.setattr,lookup:Ke.node_ops.lookup,mknod:Ke.node_ops.mknod,rename:Ke.node_ops.rename,unlink:Ke.node_ops.unlink,rmdir:Ke.node_ops.rmdir,readdir:Ke.node_ops.readdir,symlink:Ke.node_ops.symlink},stream:{llseek:Ke.stream_ops.llseek}},file:{node:{getattr:Ke.node_ops.getattr,setattr:Ke.node_ops.setattr},stream:{llseek:Ke.stream_ops.llseek,read:Ke.stream_ops.read,write:Ke.stream_ops.write,allocate:Ke.stream_ops.allocate,mmap:Ke.stream_ops.mmap,msync:Ke.stream_ops.msync}},link:{node:{getattr:Ke.node_ops.getattr,setattr:Ke.node_ops.setattr,readlink:Ke.node_ops.readlink},stream:{}},chrdev:{node:{getattr:Ke.node_ops.getattr,setattr:Ke.node_ops.setattr},stream:tt.chrdev_stream_ops}});var o=tt.createNode(e,t,r,n);return tt.isDir(o.mode)?(o.node_ops=Ke.ops_table.dir.node,o.stream_ops=Ke.ops_table.dir.stream,o.contents={}):tt.isFile(o.mode)?(o.node_ops=Ke.ops_table.file.node,o.stream_ops=Ke.ops_table.file.stream,o.usedBytes=0,o.contents=null):tt.isLink(o.mode)?(o.node_ops=Ke.ops_table.link.node,o.stream_ops=Ke.ops_table.link.stream):tt.isChrdev(o.mode)&&(o.node_ops=Ke.ops_table.chrdev.node,o.stream_ops=Ke.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[t]=o,e.timestamp=o.timestamp),o},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0)},expandFileStorage:function(e,t){var r=e.contents?e.contents.length:0;if(!(r>=t)){var n=1048576;t=Math.max(t,r*(r<n?2:1.125)>>>0),0!=r&&(t=Math.max(t,256));var o=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(o.subarray(0,e.usedBytes),0)}},resizeFileStorage:function(e,t){if(e.usedBytes!=t)if(0==t)e.contents=null,e.usedBytes=0;else{var r=e.contents;e.contents=new Uint8Array(t),r&&e.contents.set(r.subarray(0,Math.min(t,e.usedBytes))),e.usedBytes=t}},node_ops:{getattr:function(e){var t={};return t.dev=tt.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,tt.isDir(e.mode)?t.size=4096:tt.isFile(e.mode)?t.size=e.usedBytes:tt.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&Ke.resizeFileStorage(e,t.size)},lookup:function(e,t){throw tt.genericErrors[44]},mknod:function(e,t,r,n){return Ke.createNode(e,t,r,n)},rename:function(e,t,r){if(tt.isDir(e.mode)){var n;try{n=tt.lookupNode(t,r)}catch(i){}if(n)for(var o in n.contents)throw new tt.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=r,t.contents[r]=e,t.timestamp=e.parent.timestamp,e.parent=t},unlink:function(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir:function(e,t){var r=tt.lookupNode(e,t);for(var n in r.contents)throw new tt.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir:function(e){var t=[".",".."];for(var r in e.contents)e.contents.hasOwnProperty(r)&&t.push(r);return t},symlink:function(e,t,r){var n=Ke.createNode(e,t,41471,0);return n.link=r,n},readlink:function(e){if(!tt.isLink(e.mode))throw new tt.ErrnoError(28);return e.link}},stream_ops:{read:function(e,t,r,n,o){var i=e.node.contents;if(o>=e.node.usedBytes)return 0;var a=Math.min(e.node.usedBytes-o,n);if(M(a>=0),a>8&&i.subarray)t.set(i.subarray(o,o+a),r);else for(var s=0;s<a;s++)t[r+s]=i[o+s];return a},write:function(e,t,r,n,o,i){if(M(!(t instanceof ArrayBuffer)),t.buffer===A.buffer&&(i=!1),!n)return 0;var a=e.node;if(a.timestamp=Date.now(),t.subarray&&(!a.contents||a.contents.subarray)){if(i)return M(0===o,"canOwn must imply no weird position inside the file"),a.contents=t.subarray(r,r+n),a.usedBytes=n,n;if(0===a.usedBytes&&0===o)return a.contents=t.slice(r,r+n),a.usedBytes=n,n;if(o+n<=a.usedBytes)return a.contents.set(t.subarray(r,r+n),o),n}if(Ke.expandFileStorage(a,o+n),a.contents.subarray&&t.subarray)a.contents.set(t.subarray(r,r+n),o);else for(var s=0;s<n;s++)a.contents[o+s]=t[r+s];return a.usedBytes=Math.max(a.usedBytes,o+n),n},llseek:function(e,t,r){var n=t;if(1===r?n+=e.position:2===r&&tt.isFile(e.node.mode)&&(n+=e.node.usedBytes),n<0)throw new tt.ErrnoError(28);return n},allocate:function(e,t,r){Ke.expandFileStorage(e.node,t+r),e.node.usedBytes=Math.max(e.node.usedBytes,t+r)},mmap:function(e,t,r,n,o){if(!tt.isFile(e.node.mode))throw new tt.ErrnoError(43);var i,a,s=e.node.contents;if(2&o||s.buffer!==A.buffer){if((r>0||r+t<s.length)&&(s=s.subarray?s.subarray(r,r+t):Array.prototype.slice.call(s,r,r+t)),a=!0,i=Ve(t),!i)throw new tt.ErrnoError(48);A.set(s,i)}else a=!1,i=s.byteOffset;return{ptr:i,allocated:a}},msync:function(e,t,r,n,o){return Ke.stream_ops.write(e,t,0,n,r,!1),0}}},ze=function(e,t,r,n){var o=n?"":te("al ".concat(e));d(e,(function(r){M(r,'Loading data file "'.concat(e,'" failed (no arrayBuffer).')),t(new Uint8Array(r)),o&&ne(o)}),(function(t){if(!r)throw'Loading data file "'.concat(e,'" failed.');r()})),o&&re(o)},We=i["preloadPlugins"]||[],qe=function(e,t,r,n){"undefined"!=typeof Browser&&Browser.init();var o=!1;return We.forEach((function(i){o||i["canHandle"](t)&&(i["handle"](e,t,r,n),o=!0)})),o},Ye=function(e,t,r,n,o,i,a,s,u,c){var _=t?Re.resolve(Fe.join2(e,t)):e,l=te("cp ".concat(_));function f(r){function f(r){c&&c(),s||tt.createDataFile(e,t,r,n,o,u),i&&i(),ne(l)}qe(r,_,f,(function(){a&&a(),ne(l)}))||f(r)}re(l),"string"==typeof r?ze(r,(function(e){return f(e)}),a):f(r)},Xe=function(e){var t={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},r=t[e];if("undefined"==typeof r)throw new Error("Unknown file open mode: ".concat(e));return r},$e=function(e,t){var r=0;return e&&(r|=365),t&&(r|=146),r},Je={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"},Ze={},Qe=function(e){return Ae("warning: build with -sDEMANGLE_SUPPORT to link in libcxxabi demangling"),e},et=function(e){var t=/\b_Z[\w\d_]+/g;return e.replace(t,(function(e){var t=Qe(e);return e===t?e:t+" ["+e+"]"}))},tt={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=Re.resolve(e),!e)return{path:"",node:null};var r={follow_mount:!0,recurse_count:0};if(t=Object.assign(r,t),t.recurse_count>8)throw new tt.ErrnoError(32);for(var n=e.split("/").filter((function(e){return!!e})),o=tt.root,i="/",a=0;a<n.length;a++){var s=a===n.length-1;if(s&&t.parent)break;if(o=tt.lookupNode(o,n[a]),i=Fe.join2(i,n[a]),tt.isMountpoint(o)&&(!s||s&&t.follow_mount)&&(o=o.mounted.root),!s||t.follow){var u=0;while(tt.isLink(o.mode)){var c=tt.readlink(i);i=Re.resolve(Fe.dirname(i),c);var _=tt.lookupPath(i,{recurse_count:t.recurse_count+1});if(o=_.node,u++>40)throw new tt.ErrnoError(32)}}}return{path:i,node:o}},getPath:function(e){var t;while(1){if(tt.isRoot(e)){var r=e.mount.mountpoint;return t?"/"!==r[r.length-1]?"".concat(r,"/").concat(t):r+t:r}t=t?"".concat(e.name,"/").concat(t):e.name,e=e.parent}},hashName:function(e,t){for(var r=0,n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n)|0;return(e+r>>>0)%tt.nameTable.length},hashAddNode:function(e){var t=tt.hashName(e.parent.id,e.name);e.name_next=tt.nameTable[t],tt.nameTable[t]=e},hashRemoveNode:function(e){var t=tt.hashName(e.parent.id,e.name);if(tt.nameTable[t]===e)tt.nameTable[t]=e.name_next;else{var r=tt.nameTable[t];while(r){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}}},lookupNode:function(e,t){var r=tt.mayLookup(e);if(r)throw new tt.ErrnoError(r,e);for(var n=tt.hashName(e.id,t),o=tt.nameTable[n];o;o=o.name_next){var i=o.name;if(o.parent.id===e.id&&i===t)return o}return tt.lookup(e,t)},createNode:function(e,t,r,n){M("object"==o(e));var i=new tt.FSNode(e,t,r,n);return tt.hashAddNode(i),i},destroyNode:function(e){tt.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768===(61440&e)},isDir:function(e){return 16384===(61440&e)},isLink:function(e){return 40960===(61440&e)},isChrdev:function(e){return 8192===(61440&e)},isBlkdev:function(e){return 24576===(61440&e)},isFIFO:function(e){return 4096===(61440&e)},isSocket:function(e){return 49152===(49152&e)},flagsToPermissionString:function(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:function(e,t){return tt.ignorePermissions||(!t.includes("r")||292&e.mode)&&(!t.includes("w")||146&e.mode)&&(!t.includes("x")||73&e.mode)?0:2},mayLookup:function(e){var t=tt.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate:function(e,t){try{tt.lookupNode(e,t);return 20}catch(r){}return tt.nodePermissions(e,"wx")},mayDelete:function(e,t,r){var n;try{n=tt.lookupNode(e,t)}catch(i){return i.errno}var o=tt.nodePermissions(e,"wx");if(o)return o;if(r){if(!tt.isDir(n.mode))return 54;if(tt.isRoot(n)||tt.getPath(n)===tt.cwd())return 10}else if(tt.isDir(n.mode))return 31;return 0},mayOpen:function(e,t){return e?tt.isLink(e.mode)?32:tt.isDir(e.mode)&&("r"!==tt.flagsToPermissionString(t)||512&t)?31:tt.nodePermissions(e,tt.flagsToPermissionString(t)):44},MAX_OPEN_FDS:4096,nextfd:function(){for(var e=0;e<=tt.MAX_OPEN_FDS;e++)if(!tt.streams[e])return e;throw new tt.ErrnoError(33)},getStreamChecked:function(e){var t=tt.getStream(e);if(!t)throw new tt.ErrnoError(8);return t},getStream:function(e){return tt.streams[e]},createStream:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return tt.FSStream||(tt.FSStream=function(){this.shared={}},tt.FSStream.prototype={},Object.defineProperties(tt.FSStream.prototype,{object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!==(2097155&this.flags)}},isWrite:{get:function(){return 0!==(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}},flags:{get:function(){return this.shared.flags},set:function(e){this.shared.flags=e}},position:{get:function(){return this.shared.position},set:function(e){this.shared.position=e}}})),e=Object.assign(new tt.FSStream,e),-1==t&&(t=tt.nextfd()),e.fd=t,tt.streams[t]=e,e},closeStream:function(e){tt.streams[e]=null},chrdev_stream_ops:{open:function(e){var t=tt.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new tt.ErrnoError(70)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,t){return e<<8|t},registerDevice:function(e,t){tt.devices[e]={stream_ops:t}},getDevice:function(e){return tt.devices[e]},getMounts:function(e){var t=[],r=[e];while(r.length){var n=r.pop();t.push(n),r.push.apply(r,n.mounts)}return t},syncfs:function(e,t){"function"==typeof e&&(t=e,e=!1),tt.syncFSRequests++,tt.syncFSRequests>1&&b("warning: ".concat(tt.syncFSRequests," FS.syncfs operations in flight at once, probably just doing extra work"));var r=tt.getMounts(tt.root.mount),n=0;function o(e){return M(tt.syncFSRequests>0),tt.syncFSRequests--,t(e)}function i(e){if(e)return i.errored?void 0:(i.errored=!0,o(e));++n>=r.length&&o(null)}r.forEach((function(t){if(!t.type.syncfs)return i(null);t.type.syncfs(t,e,i)}))},mount:function(e,t,r){if("string"==typeof e)throw e;var n,o="/"===r,i=!r;if(o&&tt.root)throw new tt.ErrnoError(10);if(!o&&!i){var a=tt.lookupPath(r,{follow_mount:!1});if(r=a.path,n=a.node,tt.isMountpoint(n))throw new tt.ErrnoError(10);if(!tt.isDir(n.mode))throw new tt.ErrnoError(54)}var s={type:e,opts:t,mountpoint:r,mounts:[]},u=e.mount(s);return u.mount=s,s.root=u,o?tt.root=u:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),u},unmount:function(e){var t=tt.lookupPath(e,{follow_mount:!1});if(!tt.isMountpoint(t.node))throw new tt.ErrnoError(28);var r=t.node,n=r.mounted,o=tt.getMounts(n);Object.keys(tt.nameTable).forEach((function(e){var t=tt.nameTable[e];while(t){var r=t.name_next;o.includes(t.mount)&&tt.destroyNode(t),t=r}})),r.mounted=null;var i=r.mount.mounts.indexOf(n);M(-1!==i),r.mount.mounts.splice(i,1)},lookup:function(e,t){return e.node_ops.lookup(e,t)},mknod:function(e,t,r){var n=tt.lookupPath(e,{parent:!0}),o=n.node,i=Fe.basename(e);if(!i||"."===i||".."===i)throw new tt.ErrnoError(28);var a=tt.mayCreate(o,i);if(a)throw new tt.ErrnoError(a);if(!o.node_ops.mknod)throw new tt.ErrnoError(63);return o.node_ops.mknod(o,i,t,r)},create:function(e,t){return t=void 0!==t?t:438,t&=4095,t|=32768,tt.mknod(e,t,0)},mkdir:function(e,t){return t=void 0!==t?t:511,t&=1023,t|=16384,tt.mknod(e,t,0)},mkdirTree:function(e,t){for(var r=e.split("/"),n="",o=0;o<r.length;++o)if(r[o]){n+="/"+r[o];try{tt.mkdir(n,t)}catch(i){if(20!=i.errno)throw i}}},mkdev:function(e,t,r){return"undefined"==typeof r&&(r=t,t=438),t|=8192,tt.mknod(e,t,r)},symlink:function(e,t){if(!Re.resolve(e))throw new tt.ErrnoError(44);var r=tt.lookupPath(t,{parent:!0}),n=r.node;if(!n)throw new tt.ErrnoError(44);var o=Fe.basename(t),i=tt.mayCreate(n,o);if(i)throw new tt.ErrnoError(i);if(!n.node_ops.symlink)throw new tt.ErrnoError(63);return n.node_ops.symlink(n,o,e)},rename:function(e,t){var r,n,o,i=Fe.dirname(e),a=Fe.dirname(t),s=Fe.basename(e),u=Fe.basename(t);if(r=tt.lookupPath(e,{parent:!0}),n=r.node,r=tt.lookupPath(t,{parent:!0}),o=r.node,!n||!o)throw new tt.ErrnoError(44);if(n.mount!==o.mount)throw new tt.ErrnoError(75);var c,_=tt.lookupNode(n,s),l=Re.relative(e,a);if("."!==l.charAt(0))throw new tt.ErrnoError(28);if(l=Re.relative(t,i),"."!==l.charAt(0))throw new tt.ErrnoError(55);try{c=tt.lookupNode(o,u)}catch(d){}if(_!==c){var f=tt.isDir(_.mode),h=tt.mayDelete(n,s,f);if(h)throw new tt.ErrnoError(h);if(h=c?tt.mayDelete(o,u,f):tt.mayCreate(o,u),h)throw new tt.ErrnoError(h);if(!n.node_ops.rename)throw new tt.ErrnoError(63);if(tt.isMountpoint(_)||c&&tt.isMountpoint(c))throw new tt.ErrnoError(10);if(o!==n&&(h=tt.nodePermissions(n,"w"),h))throw new tt.ErrnoError(h);tt.hashRemoveNode(_);try{n.node_ops.rename(_,o,u)}catch(d){throw d}finally{tt.hashAddNode(_)}}},rmdir:function(e){var t=tt.lookupPath(e,{parent:!0}),r=t.node,n=Fe.basename(e),o=tt.lookupNode(r,n),i=tt.mayDelete(r,n,!0);if(i)throw new tt.ErrnoError(i);if(!r.node_ops.rmdir)throw new tt.ErrnoError(63);if(tt.isMountpoint(o))throw new tt.ErrnoError(10);r.node_ops.rmdir(r,n),tt.destroyNode(o)},readdir:function(e){var t=tt.lookupPath(e,{follow:!0}),r=t.node;if(!r.node_ops.readdir)throw new tt.ErrnoError(54);return r.node_ops.readdir(r)},unlink:function(e){var t=tt.lookupPath(e,{parent:!0}),r=t.node;if(!r)throw new tt.ErrnoError(44);var n=Fe.basename(e),o=tt.lookupNode(r,n),i=tt.mayDelete(r,n,!1);if(i)throw new tt.ErrnoError(i);if(!r.node_ops.unlink)throw new tt.ErrnoError(63);if(tt.isMountpoint(o))throw new tt.ErrnoError(10);r.node_ops.unlink(r,n),tt.destroyNode(o)},readlink:function(e){var t=tt.lookupPath(e),r=t.node;if(!r)throw new tt.ErrnoError(44);if(!r.node_ops.readlink)throw new tt.ErrnoError(28);return Re.resolve(tt.getPath(r.parent),r.node_ops.readlink(r))},stat:function(e,t){var r=tt.lookupPath(e,{follow:!t}),n=r.node;if(!n)throw new tt.ErrnoError(44);if(!n.node_ops.getattr)throw new tt.ErrnoError(63);return n.node_ops.getattr(n)},lstat:function(e){return tt.stat(e,!0)},chmod:function(e,t,r){var n;if("string"==typeof e){var o=tt.lookupPath(e,{follow:!r});n=o.node}else n=e;if(!n.node_ops.setattr)throw new tt.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&t|-4096&n.mode,timestamp:Date.now()})},lchmod:function(e,t){tt.chmod(e,t,!0)},fchmod:function(e,t){var r=tt.getStreamChecked(e);tt.chmod(r.node,t)},chown:function(e,t,r,n){var o;if("string"==typeof e){var i=tt.lookupPath(e,{follow:!n});o=i.node}else o=e;if(!o.node_ops.setattr)throw new tt.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:function(e,t,r){tt.chown(e,t,r,!0)},fchown:function(e,t,r){var n=tt.getStreamChecked(e);tt.chown(n.node,t,r)},truncate:function(e,t){if(t<0)throw new tt.ErrnoError(28);var r;if("string"==typeof e){var n=tt.lookupPath(e,{follow:!0});r=n.node}else r=e;if(!r.node_ops.setattr)throw new tt.ErrnoError(63);if(tt.isDir(r.mode))throw new tt.ErrnoError(31);if(!tt.isFile(r.mode))throw new tt.ErrnoError(28);var o=tt.nodePermissions(r,"w");if(o)throw new tt.ErrnoError(o);r.node_ops.setattr(r,{size:t,timestamp:Date.now()})},ftruncate:function(e,t){var r=tt.getStreamChecked(e);if(0===(2097155&r.flags))throw new tt.ErrnoError(28);tt.truncate(r.node,t)},utime:function(e,t,r){var n=tt.lookupPath(e,{follow:!0}),o=n.node;o.node_ops.setattr(o,{timestamp:Math.max(t,r)})},open:function(e,t,r){if(""===e)throw new tt.ErrnoError(44);var n;if(t="string"==typeof t?Xe(t):t,r="undefined"==typeof r?438:r,r=64&t?4095&r|32768:0,"object"==o(e))n=e;else{e=Fe.normalize(e);try{var a=tt.lookupPath(e,{follow:!(131072&t)});n=a.node}catch(_){}}var s=!1;if(64&t)if(n){if(128&t)throw new tt.ErrnoError(20)}else n=tt.mknod(e,r,0),s=!0;if(!n)throw new tt.ErrnoError(44);if(tt.isChrdev(n.mode)&&(t&=-513),65536&t&&!tt.isDir(n.mode))throw new tt.ErrnoError(54);if(!s){var u=tt.mayOpen(n,t);if(u)throw new tt.ErrnoError(u)}512&t&&!s&&tt.truncate(n,0),t&=-131713;var c=tt.createStream({node:n,path:tt.getPath(n),flags:t,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1});return c.stream_ops.open&&c.stream_ops.open(c),!i["logReadFiles"]||1&t||(tt.readFiles||(tt.readFiles={}),e in tt.readFiles||(tt.readFiles[e]=1)),c},close:function(e){if(tt.isClosed(e))throw new tt.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(t){throw t}finally{tt.closeStream(e.fd)}e.fd=null},isClosed:function(e){return null===e.fd},llseek:function(e,t,r){if(tt.isClosed(e))throw new tt.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new tt.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new tt.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read:function(e,t,r,n,o){if(M(r>=0),n<0||o<0)throw new tt.ErrnoError(28);if(tt.isClosed(e))throw new tt.ErrnoError(8);if(1===(2097155&e.flags))throw new tt.ErrnoError(8);if(tt.isDir(e.node.mode))throw new tt.ErrnoError(31);if(!e.stream_ops.read)throw new tt.ErrnoError(28);var i="undefined"!=typeof o;if(i){if(!e.seekable)throw new tt.ErrnoError(70)}else o=e.position;var a=e.stream_ops.read(e,t,r,n,o);return i||(e.position+=a),a},write:function(e,t,r,n,o,i){if(M(r>=0),n<0||o<0)throw new tt.ErrnoError(28);if(tt.isClosed(e))throw new tt.ErrnoError(8);if(0===(2097155&e.flags))throw new tt.ErrnoError(8);if(tt.isDir(e.node.mode))throw new tt.ErrnoError(31);if(!e.stream_ops.write)throw new tt.ErrnoError(28);e.seekable&&1024&e.flags&&tt.llseek(e,0,2);var a="undefined"!=typeof o;if(a){if(!e.seekable)throw new tt.ErrnoError(70)}else o=e.position;var s=e.stream_ops.write(e,t,r,n,o,i);return a||(e.position+=s),s},allocate:function(e,t,r){if(tt.isClosed(e))throw new tt.ErrnoError(8);if(t<0||r<=0)throw new tt.ErrnoError(28);if(0===(2097155&e.flags))throw new tt.ErrnoError(8);if(!tt.isFile(e.node.mode)&&!tt.isDir(e.node.mode))throw new tt.ErrnoError(43);if(!e.stream_ops.allocate)throw new tt.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap:function(e,t,r,n,o){if(0!==(2&n)&&0===(2&o)&&2!==(2097155&e.flags))throw new tt.ErrnoError(2);if(1===(2097155&e.flags))throw new tt.ErrnoError(2);if(!e.stream_ops.mmap)throw new tt.ErrnoError(43);return e.stream_ops.mmap(e,t,r,n,o)},msync:function(e,t,r,n,o){return M(r>=0),e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0},munmap:function(e){return 0},ioctl:function(e,t,r){if(!e.stream_ops.ioctl)throw new tt.ErrnoError(59);return e.stream_ops.ioctl(e,t,r)},readFile:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r.flags=r.flags||0,r.encoding=r.encoding||"binary","utf8"!==r.encoding&&"binary"!==r.encoding)throw new Error('Invalid encoding type "'.concat(r.encoding,'"'));var n=tt.open(e,r.flags),o=tt.stat(e),i=o.size,a=new Uint8Array(i);return tt.read(n,a,0,i,0),"utf8"===r.encoding?t=Ce(a,0):"binary"===r.encoding&&(t=a),tt.close(n),t},writeFile:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.flags=r.flags||577;var n=tt.open(e,r.flags,r.mode);if("string"==typeof t){var o=new Uint8Array(Be(t)+1),i=Ne(t,o,0,o.length);tt.write(n,o,0,i,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");tt.write(n,t,0,t.byteLength,void 0,r.canOwn)}tt.close(n)},cwd:function(){return tt.currentPath},chdir:function(e){var t=tt.lookupPath(e,{follow:!0});if(null===t.node)throw new tt.ErrnoError(44);if(!tt.isDir(t.node.mode))throw new tt.ErrnoError(54);var r=tt.nodePermissions(t.node,"x");if(r)throw new tt.ErrnoError(r);tt.currentPath=t.path},createDefaultDirectories:function(){tt.mkdir("/tmp"),tt.mkdir("/home"),tt.mkdir("/home/web_user")},createDefaultDevices:function(){tt.mkdir("/dev"),tt.registerDevice(tt.makedev(1,3),{read:function(){return 0},write:function(e,t,r,n,o){return n}}),tt.mkdev("/dev/null",tt.makedev(1,3)),He.register(tt.makedev(5,0),He.default_tty_ops),He.register(tt.makedev(6,0),He.default_tty1_ops),tt.mkdev("/dev/tty",tt.makedev(5,0)),tt.mkdev("/dev/tty1",tt.makedev(6,0));var e=new Uint8Array(1024),t=0,r=function(){return 0===t&&(t=Me(e).byteLength),e[--t]};tt.createDevice("/dev","random",r),tt.createDevice("/dev","urandom",r),tt.mkdir("/dev/shm"),tt.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){tt.mkdir("/proc");var e=tt.mkdir("/proc/self");tt.mkdir("/proc/self/fd"),tt.mount({mount:function(){var t=tt.createNode(e,"fd",16895,73);return t.node_ops={lookup:function(e,t){var r=+t,n=tt.getStreamChecked(r),o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return n.path}}};return o.parent=o,o}},t}},{},"/proc/self/fd")},createStandardStreams:function(){i["stdin"]?tt.createDevice("/dev","stdin",i["stdin"]):tt.symlink("/dev/tty","/dev/stdin"),i["stdout"]?tt.createDevice("/dev","stdout",null,i["stdout"]):tt.symlink("/dev/tty","/dev/stdout"),i["stderr"]?tt.createDevice("/dev","stderr",null,i["stderr"]):tt.symlink("/dev/tty1","/dev/stderr");var e=tt.open("/dev/stdin",0),t=tt.open("/dev/stdout",1),r=tt.open("/dev/stderr",1);M(0===e.fd,"invalid handle for stdin (".concat(e.fd,")")),M(1===t.fd,"invalid handle for stdout (".concat(t.fd,")")),M(2===r.fd,"invalid handle for stderr (".concat(r.fd,")"))},ensureErrnoError:function(){tt.ErrnoError||(tt.ErrnoError=function(e,t){this.name="ErrnoError",this.node=t,this.setErrno=function(e){for(var t in this.errno=e,Ze)if(Ze[t]===e){this.code=t;break}},this.setErrno(e),this.message=Je[e],this.stack&&(Object.defineProperty(this,"stack",{value:(new Error).stack,writable:!0}),this.stack=et(this.stack))},tt.ErrnoError.prototype=new Error,tt.ErrnoError.prototype.constructor=tt.ErrnoError,[44].forEach((function(e){tt.genericErrors[e]=new tt.ErrnoError(e),tt.genericErrors[e].stack="<generic error, no stack>"})))},staticInit:function(){tt.ensureErrnoError(),tt.nameTable=new Array(4096),tt.mount(Ke,{},"/"),tt.createDefaultDirectories(),tt.createDefaultDevices(),tt.createSpecialDirectories(),tt.filesystems={MEMFS:Ke}},init:function(e,t,r){M(!tt.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),tt.init.initialized=!0,tt.ensureErrnoError(),i["stdin"]=e||i["stdin"],i["stdout"]=t||i["stdout"],i["stderr"]=r||i["stderr"],tt.createStandardStreams()},quit:function(){tt.init.initialized=!1,Kt(0);for(var e=0;e<tt.streams.length;e++){var t=tt.streams[e];t&&tt.close(t)}},findObject:function(e,t){var r=tt.analyzePath(e,t);return r.exists?r.object:null},analyzePath:function(e,t){try{var r=tt.lookupPath(e,{follow:!t});e=r.path}catch(o){}var n={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{r=tt.lookupPath(e,{parent:!0});n.parentExists=!0,n.parentPath=r.path,n.parentObject=r.node,n.name=Fe.basename(e),r=tt.lookupPath(e,{follow:!t}),n.exists=!0,n.path=r.path,n.object=r.node,n.name=r.node.name,n.isRoot="/"===r.path}catch(o){n.error=o.errno}return n},createPath:function(e,t,r,n){e="string"==typeof e?e:tt.getPath(e);var o=t.split("/").reverse();while(o.length){var i=o.pop();if(i){var a=Fe.join2(e,i);try{tt.mkdir(a)}catch(s){}e=a}}return a},createFile:function(e,t,r,n,o){var i=Fe.join2("string"==typeof e?e:tt.getPath(e),t),a=$e(n,o);return tt.create(i,a)},createDataFile:function(e,t,r,n,o,i){var a=t;e&&(e="string"==typeof e?e:tt.getPath(e),a=t?Fe.join2(e,t):e);var s=$e(n,o),u=tt.create(a,s);if(r){if("string"==typeof r){for(var c=new Array(r.length),_=0,l=r.length;_<l;++_)c[_]=r.charCodeAt(_);r=c}tt.chmod(u,146|s);var f=tt.open(u,577);tt.write(f,r,0,r.length,0,i),tt.close(f),tt.chmod(u,s)}return u},createDevice:function(e,t,r,n){var o=Fe.join2("string"==typeof e?e:tt.getPath(e),t),i=$e(!!r,!!n);tt.createDevice.major||(tt.createDevice.major=64);var a=tt.makedev(tt.createDevice.major++,0);return tt.registerDevice(a,{open:function(e){e.seekable=!1},close:function(e){n&&n.buffer&&n.buffer.length&&n(10)},read:function(e,t,n,o,i){for(var a=0,s=0;s<o;s++){var u;try{u=r()}catch(c){throw new tt.ErrnoError(29)}if(void 0===u&&0===a)throw new tt.ErrnoError(6);if(null===u||void 0===u)break;a++,t[n+s]=u}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,r,o,i){for(var a=0;a<o;a++)try{n(t[r+a])}catch(s){throw new tt.ErrnoError(29)}return o&&(e.node.timestamp=Date.now()),a}}),tt.mkdev(o,i,a)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!h)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=Ue(h(e.url),!0),e.usedBytes=e.contents.length}catch(t){throw new tt.ErrnoError(29)}},createLazyFile:function(e,t,r,n,o){function i(){this.lengthKnown=!1,this.chunks=[]}if(i.prototype.get=function(e){if(!(e>this.length-1||e<0)){var t=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[t]}},i.prototype.setDataGetter=function(e){this.getter=e},i.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+r+". Status: "+e.status);var t,n=Number(e.getResponseHeader("Content-length")),o=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,i=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,a=1048576;o||(a=n);var s=function(e,t){if(e>t)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(t>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",r,!1),n!==a&&o.setRequestHeader("Range","bytes="+e+"-"+t),o.responseType="arraybuffer",o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+r+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):Ue(o.responseText||"",!0)},u=this;u.setDataGetter((function(e){var t=e*a,r=(e+1)*a-1;if(r=Math.min(r,n-1),"undefined"==typeof u.chunks[e]&&(u.chunks[e]=s(t,r)),"undefined"==typeof u.chunks[e])throw new Error("doXHR failed!");return u.chunks[e]})),!i&&n||(a=n=1,n=this.getter(0).length,a=n,G("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!_)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a=new i;Object.defineProperties(a,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:a}}else s={isDevice:!1,url:r};var u=tt.createFile(e,t,s,n,o);s.contents?u.contents=s.contents:s.url&&(u.contents=null,u.url=s.url),Object.defineProperties(u,{usedBytes:{get:function(){return this.contents.length}}});var c={},l=Object.keys(u.stream_ops);function f(e,t,r,n,o){var i=e.node.contents;if(o>=i.length)return 0;var a=Math.min(i.length-o,n);if(M(a>=0),i.slice)for(var s=0;s<a;s++)t[r+s]=i[o+s];else for(s=0;s<a;s++)t[r+s]=i.get(o+s);return a}return l.forEach((function(e){var t=u.stream_ops[e];c[e]=function(){return tt.forceLoadFile(u),t.apply(null,arguments)}})),c.read=function(e,t,r,n,o){return tt.forceLoadFile(u),f(e,t,r,n,o)},c.mmap=function(e,t,r,n,o){tt.forceLoadFile(u);var i=Ve(t);if(!i)throw new tt.ErrnoError(48);return f(e,A,i,t,r),{ptr:i,allocated:!0}},u.stream_ops=c,u},absolutePath:function(){oe("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder:function(){oe("FS.createFolder has been removed; use FS.mkdir instead")},createLink:function(){oe("FS.createLink has been removed; use FS.symlink instead")},joinPath:function(){oe("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc:function(){oe("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath:function(){oe("FS.standardizePath has been removed; use PATH.normalize instead")}},rt={DEFAULT_POLLMASK:5,calculateAt:function(e,t,r){if(Fe.isAbs(t))return t;var n;if(-100===e)n=tt.cwd();else{var o=rt.getStreamFromFD(e);n=o.path}if(0==t.length){if(!r)throw new tt.ErrnoError(44);return n}return Fe.join2(n,t)},doStat:function(e,t,r){try{var n=e(t)}catch(s){if(s&&s.node&&Fe.normalize(t)!==Fe.normalize(tt.getPath(s.node)))return-54;throw s}I[r>>2]=n.dev,I[r+4>>2]=n.mode,L[r+8>>2]=n.nlink,I[r+12>>2]=n.uid,I[r+16>>2]=n.gid,I[r+20>>2]=n.rdev,se=[n.size>>>0,(ae=n.size,+Math.abs(ae)>=1?ae>0?+Math.floor(ae/4294967296)>>>0:~~+Math.ceil((ae-+(~~ae>>>0))/4294967296)>>>0:0)],I[r+24>>2]=se[0],I[r+28>>2]=se[1],I[r+32>>2]=4096,I[r+36>>2]=n.blocks;var o=n.atime.getTime(),i=n.mtime.getTime(),a=n.ctime.getTime();return se=[Math.floor(o/1e3)>>>0,(ae=Math.floor(o/1e3),+Math.abs(ae)>=1?ae>0?+Math.floor(ae/4294967296)>>>0:~~+Math.ceil((ae-+(~~ae>>>0))/4294967296)>>>0:0)],I[r+40>>2]=se[0],I[r+44>>2]=se[1],L[r+48>>2]=o%1e3*1e3,se=[Math.floor(i/1e3)>>>0,(ae=Math.floor(i/1e3),+Math.abs(ae)>=1?ae>0?+Math.floor(ae/4294967296)>>>0:~~+Math.ceil((ae-+(~~ae>>>0))/4294967296)>>>0:0)],I[r+56>>2]=se[0],I[r+60>>2]=se[1],L[r+64>>2]=i%1e3*1e3,se=[Math.floor(a/1e3)>>>0,(ae=Math.floor(a/1e3),+Math.abs(ae)>=1?ae>0?+Math.floor(ae/4294967296)>>>0:~~+Math.ceil((ae-+(~~ae>>>0))/4294967296)>>>0:0)],I[r+72>>2]=se[0],I[r+76>>2]=se[1],L[r+80>>2]=a%1e3*1e3,se=[n.ino>>>0,(ae=n.ino,+Math.abs(ae)>=1?ae>0?+Math.floor(ae/4294967296)>>>0:~~+Math.ceil((ae-+(~~ae>>>0))/4294967296)>>>0:0)],I[r+88>>2]=se[0],I[r+92>>2]=se[1],0},doMsync:function(e,t,r,n,o){if(!tt.isFile(t.node.mode))throw new tt.ErrnoError(43);if(2&n)return 0;var i=x.slice(e,e+r);tt.msync(t,i,o,r,n)},varargs:void 0,get:function(){M(void 0!=rt.varargs);var e=I[rt.varargs>>2];return rt.varargs+=4,e},getp:function(){return rt.get()},getStr:function(e){var t=Ie(e);return t},getStreamFromFD:function(e){var t=tt.getStreamChecked(e);return t}};function nt(e,t,r){rt.varargs=r;try{var n=rt.getStreamFromFD(e);switch(t){case 0:var o,i=rt.get();if(i<0)return-28;while(tt.streams[i])i++;return o=tt.createStream(n,i),o.fd;case 1:case 2:return 0;case 3:return n.flags;case 4:i=rt.get();return n.flags|=i,0;case 5:i=rt.getp();var a=0;return C[i+a>>1]=2,0;case 6:case 7:return 0;case 16:case 8:return-28;case 9:return Oe(28),-1;default:return-28}}catch(s){if("undefined"==typeof tt||"ErrnoError"!==s.name)throw s;return-s.errno}}function ot(e,t,r){rt.varargs=r;try{var n=rt.getStreamFromFD(e);switch(t){case 21509:return n.tty?0:-59;case 21505:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcgets){var o=n.tty.ops.ioctl_tcgets(n),i=rt.getp();I[i>>2]=o.c_iflag||0,I[i+4>>2]=o.c_oflag||0,I[i+8>>2]=o.c_cflag||0,I[i+12>>2]=o.c_lflag||0;for(var a=0;a<32;a++)A[i+a+17|0]=o.c_cc[a]||0;return 0}return 0;case 21510:case 21511:case 21512:return n.tty?0:-59;case 21506:case 21507:case 21508:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcsets){i=rt.getp();var s=I[i>>2],u=I[i+4>>2],c=I[i+8>>2],_=I[i+12>>2],l=[];for(a=0;a<32;a++)l.push(A[i+a+17|0]);return n.tty.ops.ioctl_tcsets(n.tty,t,{c_iflag:s,c_oflag:u,c_cflag:c,c_lflag:_,c_cc:l})}return 0;case 21519:if(!n.tty)return-59;i=rt.getp();return I[i>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:i=rt.getp();return tt.ioctl(n,t,i);case 21523:if(!n.tty)return-59;if(n.tty.ops.ioctl_tiocgwinsz){var f=n.tty.ops.ioctl_tiocgwinsz(n.tty);i=rt.getp();C[i>>1]=f[0],C[i+2>>1]=f[1]}return 0;case 21524:return n.tty?0:-59;case 21515:return n.tty?0:-59;default:return-28}}catch(h){if("undefined"==typeof tt||"ErrnoError"!==h.name)throw h;return-h.errno}}function it(e,t,r,n){rt.varargs=n;try{t=rt.getStr(t),t=rt.calculateAt(e,t);var o=n?rt.get():0;return tt.open(t,r,o).fd}catch(i){if("undefined"==typeof tt||"ErrnoError"!==i.name)throw i;return-i.errno}}var at=function(){throw 1/0},st=function(){oe("native code called abort()")},ut=[],ct=function(e,t){var r;M(Array.isArray(ut)),M(t%16==0),ut.length=0;while(r=x[e++]){var n=String.fromCharCode(r),o=["d","f","i"];M(o.includes(n),"Invalid character ".concat(r,'("').concat(n,'") in readEmAsmArgs! Use only [').concat(o,'], and do not specify "v" for void return argument.')),t+=105!=r&&t%8?4:0,ut.push(105==r?I[t>>2]:O[t>>3]),t+=105==r?4:8}return ut},_t=function(e,t,r){var n=ct(t,r);return be.hasOwnProperty(e)||oe("No EM_ASM constant found at address ".concat(e)),be[e].apply(null,n)},lt=function(e,t,r){return _t(e,t,r)},ft=function(e,t,r){return x.copyWithin(e,t,t+r)},ht=function(){return 2147483648},dt=function(e){var t=T.buffer,r=(e-t.byteLength+65535)/65536;try{return T.grow(r),R(),1}catch(n){b("growMemory: Attempted to grow heap from ".concat(t.byteLength," bytes to ").concat(e," bytes, but got error: ").concat(n))}},pt=function(e){var t=x.length;e>>>=0,M(e>t);var r=ht();if(e>r)return b("Cannot enlarge memory, requested ".concat(e," bytes, but the limit is ").concat(r," bytes!")),!1;for(var n=function(e,t){return e+(t-e%t)%t},o=1;o<=4;o*=2){var i=t*(1+.2/o);i=Math.min(i,e+100663296);var a=Math.min(r,n(Math.max(e,i),65536)),s=dt(a);if(s)return!0}return b("Failed to grow the heap from ".concat(t," bytes to ").concat(a," bytes, not enough memory!")),!1},St={},yt=function(){return s||"./this.program"},mt=function e(){if(!e.strings){var t=("object"==("undefined"===typeof navigator?"undefined":o(navigator))&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:t,_:yt()};for(var n in St)void 0===St[n]?delete r[n]:r[n]=St[n];var i=[];for(var n in r)i.push("".concat(n,"=").concat(r[n]));e.strings=i}return e.strings},gt=function(e,t){for(var r=0;r<e.length;++r)M(e.charCodeAt(r)===(255&e.charCodeAt(r))),A[t++|0]=e.charCodeAt(r);A[t|0]=0},vt=function(e,t){var r=0;return mt().forEach((function(n,o){var i=t+r;L[e+4*o>>2]=i,gt(n,i),r+=n.length+1})),0},wt=function(e,t){var r=mt();L[e>>2]=r.length;var n=0;return r.forEach((function(e){return n+=e.length+1})),L[t>>2]=n,0},Gt=function(e){e,K()||(i["onExit"]&&i["onExit"](e),k=!0),u(e,new Ee(e))},bt=function(e,t){if(e,_r(),K()&&!t){var r="program exited (with status: ".concat(e,"), but keepRuntimeAlive() is set (counter=").concat(V,") due to an async operation, so halting execution but not exiting the runtime or preventing further async execution (you can use emscripten_force_exit, if you want to force a true shutdown)");b(r)}Gt(e)},Et=bt;function Tt(e){try{var t=rt.getStreamFromFD(e);return tt.close(t),0}catch(r){if("undefined"==typeof tt||"ErrnoError"!==r.name)throw r;return r.errno}}var Pt=function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=L[t>>2],s=L[t+4>>2];t+=8;var u=tt.read(e,A,a,s,n);if(u<0)return-1;if(o+=u,u<s)break;"undefined"!==typeof n&&(n+=u)}return o};function At(e,t,r,n){try{var o=rt.getStreamFromFD(e),i=Pt(o,t,r);return L[n>>2]=i,0}catch(a){if("undefined"==typeof tt||"ErrnoError"!==a.name)throw a;return a.errno}}var xt=function(e,t){return M(e==e>>>0||e==(0|e)),M(t===(0|t)),t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN};function Ct(e,t,r,n,o){var i=xt(t,r);try{if(isNaN(i))return 61;var a=rt.getStreamFromFD(e);return tt.llseek(a,i,n),se=[a.position>>>0,(ae=a.position,+Math.abs(ae)>=1?ae>0?+Math.floor(ae/4294967296)>>>0:~~+Math.ceil((ae-+(~~ae>>>0))/4294967296)>>>0:0)],I[o>>2]=se[0],I[o+4>>2]=se[1],a.getdents&&0===i&&0===n&&(a.getdents=null),0}catch(s){if("undefined"==typeof tt||"ErrnoError"!==s.name)throw s;return s.errno}}var It=function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=L[t>>2],s=L[t+4>>2];t+=8;var u=tt.write(e,A,a,s,n);if(u<0)return-1;o+=u,"undefined"!==typeof n&&(n+=u)}return o};function Lt(e,t,r,n){try{var o=rt.getStreamFromFD(e),i=It(o,t,r);return L[n>>2]=i,0}catch(a){if("undefined"==typeof tt||"ErrnoError"!==a.name)throw a;return a.errno}}var Ot=[],Ft=function(e){var t=Ot[e];return t||(e>=Ot.length&&(Ot.length=e+1),Ot[e]=t=F.get(e)),M(F.get(e)==t,"JavaScript-side Wasm function table mirror is out of date!"),t},kt=function(e,t,r){return M("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),Ne(e,x,t,r)},Mt=function(e){var t=Be(e)+1,r=Vt(t);return r&&kt(e,r,t),r},Rt=Mt,Dt=function(e,t,r,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=tt.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n},Bt=365,Nt=146;function Ut(){me("fetchSettings")}Object.defineProperties(Dt.prototype,{read:{get:function(){return(this.mode&Bt)===Bt},set:function(e){e?this.mode|=Bt:this.mode&=~Bt}},write:{get:function(){return(this.mode&Nt)===Nt},set:function(e){e?this.mode|=Nt:this.mode&=~Nt}},isFolder:{get:function(){return tt.isDir(this.mode)}},isDevice:{get:function(){return tt.isChrdev(this.mode)}}}),tt.FSNode=Dt,tt.createPreloadedFile=Ye,tt.staticInit(),Ze={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var jt={__assert_fail:Le,__syscall_fcntl64:nt,__syscall_ioctl:ot,__syscall_openat:it,_emscripten_throw_longjmp:at,abort:st,emscripten_asm_const_int:lt,emscripten_memcpy_big:ft,emscripten_resize_heap:pt,environ_get:vt,environ_sizes_get:wt,exit:Et,fd_close:Tt,fd_read:At,fd_seek:Ct,fd_write:Lt,invoke_ii:nr,invoke_iii:Zt,invoke_iiii:er,invoke_iiiii:Qt,invoke_v:tr,invoke_vi:or,invoke_vii:rr,invoke_viiii:Jt},Ht=Se(),Vt=(le("__wasm_call_ctors"),i["_malloc"]=le("malloc")),Kt=(i["_free"]=le("free"),i["_GS_Add_Font_Library"]=le("GS_Add_Font_Library"),i["_GS_Font_Library_Exists"]=le("GS_Font_Library_Exists"),i["_GS_Remove_Font_Library"]=le("GS_Remove_Font_Library"),i["_GS_Clear_Font_Library"]=le("GS_Clear_Font_Library"),i["_GS_Set_Driver_Configs"]=le("GS_Set_Driver_Configs"),i["_GS_Set_Driver_Options"]=le("GS_Set_Driver_Options"),i["_GS_Show_Driver_Options"]=le("GS_Show_Driver_Options"),i["_GS_Show_One_Driver_Option"]=le("GS_Show_One_Driver_Option"),i["_GS_Set_Shader"]=le("GS_Set_Shader"),i["_GS_Set_Vertex_Shader"]=le("GS_Set_Vertex_Shader"),i["_GS_Set_Fragment_Shader"]=le("GS_Set_Fragment_Shader"),i["_GS_UnSet_Shader"]=le("GS_UnSet_Shader"),i["_GS_Show_Shader"]=le("GS_Show_Shader"),i["_GS_Show_One_Shader"]=le("GS_Show_One_Shader"),i["_GS_Set_Viewport"]=le("GS_Set_Viewport"),i["_GS_UnSet_Viewport"]=le("GS_UnSet_Viewport"),i["_GS_Show_Viewport"]=le("GS_Show_Viewport"),i["_GS_Set_Camera"]=le("GS_Set_Camera"),i["_GS_Set_Camera_Position"]=le("GS_Set_Camera_Position"),i["_GS_Set_Camera_Target"]=le("GS_Set_Camera_Target"),i["_GS_Set_Camera_Up"]=le("GS_Set_Camera_Up"),i["_GS_Set_Camera_Field"]=le("GS_Set_Camera_Field"),i["_GS_Set_Camera_Extent"]=le("GS_Set_Camera_Extent"),i["_GS_Set_Camera_View"]=le("GS_Set_Camera_View"),i["_GS_Set_Camera_Projection"]=le("GS_Set_Camera_Projection"),i["_GS_Keep_Camera_Ratio"]=le("GS_Keep_Camera_Ratio"),i["_GS_Show_Camera"]=le("GS_Show_Camera"),i["_GS_Show_Camera_Position"]=le("GS_Show_Camera_Position"),i["_GS_Show_Camera_Target"]=le("GS_Show_Camera_Target"),i["_GS_Show_Camera_Up"]=le("GS_Show_Camera_Up"),i["_GS_Show_Camera_Field"]=le("GS_Show_Camera_Field"),i["_GS_Show_Camera_Extent"]=le("GS_Show_Camera_Extent"),i["_GS_Show_Camera_View"]=le("GS_Show_Camera_View"),i["_GS_Show_Camera_Projection"]=le("GS_Show_Camera_Projection"),i["_GS_Show_Camera_Projection_Matrix"]=le("GS_Show_Camera_Projection_Matrix"),i["_GS_Show_Camera_View_Matrix"]=le("GS_Show_Camera_View_Matrix"),i["_GS_Show_Path_Camera_Position"]=le("GS_Show_Path_Camera_Position"),i["_GS_Show_Path_Camera_Target"]=le("GS_Show_Path_Camera_Target"),i["_GS_Dolly_Camera"]=le("GS_Dolly_Camera"),i["_GS_Roll_Camera"]=le("GS_Roll_Camera"),i["_GS_Zoom_Camera"]=le("GS_Zoom_Camera"),i["_GS_UnSet_Camera"]=le("GS_UnSet_Camera"),i["_GS_Set_Color"]=le("GS_Set_Color"),i["_GS_UnSet_Color"]=le("GS_UnSet_Color"),i["_GS_UnSet_One_Color"]=le("GS_UnSet_One_Color"),i["_GS_Show_Color"]=le("GS_Show_Color"),i["_GS_Show_One_Color"]=le("GS_Show_One_Color"),i["_GS_Show_Color_By_Value"]=le("GS_Show_Color_By_Value"),i["_GS_Set_Visibility"]=le("GS_Set_Visibility"),i["_GS_Show_Visibility"]=le("GS_Show_Visibility"),i["_GS_Show_One_Visibility"]=le("GS_Show_One_Visibility"),i["_GS_UnSet_Visibility"]=le("GS_UnSet_Visibility"),i["_GS_UnSet_One_Visibility"]=le("GS_UnSet_One_Visibility"),i["_GS_Set_Selectability"]=le("GS_Set_Selectability"),i["_GS_UnSet_Selectability"]=le("GS_UnSet_Selectability"),i["_GS_UnSet_One_Selectability"]=le("GS_UnSet_One_Selectability"),i["_GS_Show_Selectability"]=le("GS_Show_Selectability"),i["_GS_Show_One_Selectability"]=le("GS_Show_One_Selectability"),i["_GS_Set_Rendering_Options"]=le("GS_Set_Rendering_Options"),i["_GS_UnSet_Rendering_Options"]=le("GS_UnSet_Rendering_Options"),i["_GS_UnSet_One_Rendering_Option"]=le("GS_UnSet_One_Rendering_Option"),i["_GS_Show_Rendering_Options"]=le("GS_Show_Rendering_Options"),i["_GS_Show_One_Rendering_Option"]=le("GS_Show_One_Rendering_Option"),i["_GS_Show_One_Path_Rendering_Option"]=le("GS_Show_One_Path_Rendering_Option"),i["_GS_Show_One_Default_Rendering_Option"]=le("GS_Show_One_Default_Rendering_Option"),i["_GS_Set_Heuristic_Options"]=le("GS_Set_Heuristic_Options"),i["_GS_Set_One_Heuristic_Option"]=le("GS_Set_One_Heuristic_Option"),i["_GS_UnSet_Heuristic_Options"]=le("GS_UnSet_Heuristic_Options"),i["_GS_UnSet_One_Heuristic_Option"]=le("GS_UnSet_One_Heuristic_Option"),i["_GS_Show_Heuristic_Options"]=le("GS_Show_Heuristic_Options"),i["_GS_Show_One_Heuristic_Option"]=le("GS_Show_One_Heuristic_Option"),i["_GS_Set_ModellingMatrix"]=le("GS_Set_ModellingMatrix"),i["_GS_UnSet_ModellingMatrix"]=le("GS_UnSet_ModellingMatrix"),i["_GS_Append_ModellingMatrix"]=le("GS_Append_ModellingMatrix"),i["_GS_Show_ModellingMatrix"]=le("GS_Show_ModellingMatrix"),i["_GS_Show_Path_ModellingMatrix"]=le("GS_Show_Path_ModellingMatrix"),i["_GS_Set_Condition"]=le("GS_Set_Condition"),i["_GS_UnSet_Condition"]=le("GS_UnSet_Condition"),i["_GS_Show_Condition"]=le("GS_Show_Condition"),i["_GS_Set_Text_Font"]=le("GS_Set_Text_Font"),i["_GS_UnSet_Text_Font"]=le("GS_UnSet_Text_Font"),i["_GS_UnSet_One_Text_Font"]=le("GS_UnSet_One_Text_Font"),i["_GS_Show_Text_Font"]=le("GS_Show_Text_Font"),i["_GS_Show_One_Text_Font"]=le("GS_Show_One_Text_Font"),i["_GS_Attribute_Exists"]=le("GS_Attribute_Exists"),i["_GS_Set_Event"]=le("GS_Set_Event"),i["_GS_Unset_Event"]=le("GS_Unset_Event"),i["_GS_Show_Event"]=le("GS_Show_Event"),i["_GS_Get_Version"]=le("GS_Get_Version"),i["_GS_Init_Database"]=le("GS_Init_Database"),i["_GS_Open_Segment"]=le("GS_Open_Segment"),i["_GS_Close_Segment"]=le("GS_Close_Segment"),i["_GS_Fina_Database"]=le("GS_Fina_Database"),i["_GS_Delete_Segment"]=le("GS_Delete_Segment"),i["_GS_Update_Display"]=le("GS_Update_Display"),i["_GS_Update_View_Display_By_Key"]=le("GS_Update_View_Display_By_Key"),i["_GS_Update_View_Display_With_Framerate_By_Key"]=le("GS_Update_View_Display_With_Framerate_By_Key"),i["_GS_Update_View_Display_With_Time_By_Key"]=le("GS_Update_View_Display_With_Time_By_Key"),i["_GS_Save_Segment"]=le("GS_Save_Segment"),i["_GS_Save_Segment_By_Key"]=le("GS_Save_Segment_By_Key"),i["_GS_Save_Segment_Data"]=le("GS_Save_Segment_Data"),i["_GS_Save_Segment_Data_By_Key"]=le("GS_Save_Segment_Data_By_Key"),i["_GS_Load_Segment"]=le("GS_Load_Segment"),i["_GS_Load_Segment_With_Compression"]=le("GS_Load_Segment_With_Compression"),i["_GS_Load_Segment_By_Key"]=le("GS_Load_Segment_By_Key"),i["_GS_Load_Segment_With_Compression_By_Key"]=le("GS_Load_Segment_With_Compression_By_Key"),i["_GS_Load_Segment_Data"]=le("GS_Load_Segment_Data"),i["_GS_Load_Segment_Data_With_Compression"]=le("GS_Load_Segment_Data_With_Compression"),i["_GS_Load_Segment_Data_By_Key"]=le("GS_Load_Segment_Data_By_Key"),i["_GS_Load_Segment_Data_With_Compression_By_Key"]=le("GS_Load_Segment_Data_With_Compression_By_Key"),i["_GS_Segment_To_Stream"]=le("GS_Segment_To_Stream"),i["_GS_Segment_To_Stream_By_Key"]=le("GS_Segment_To_Stream_By_Key"),i["_GS_Segment_To_Stream_With_Compression"]=le("GS_Segment_To_Stream_With_Compression"),i["_GS_Segment_To_Stream_With_Compression_By_Key"]=le("GS_Segment_To_Stream_With_Compression_By_Key"),i["_GS_Stream_To_Segment"]=le("GS_Stream_To_Segment"),i["_GS_Stream_To_Segment_By_Key"]=le("GS_Stream_To_Segment_By_Key"),i["_GS_Stream_With_Compression_To_Segment"]=le("GS_Stream_With_Compression_To_Segment"),i["_GS_Stream_With_Compression_To_Segment_By_Key"]=le("GS_Stream_With_Compression_To_Segment_By_Key"),i["_GS_Segment_Data_To_Stream"]=le("GS_Segment_Data_To_Stream"),i["_GS_Stream_To_Segment_Data"]=le("GS_Stream_To_Segment_Data"),i["_GS_Geometry_Data_To_Stream"]=le("GS_Geometry_Data_To_Stream"),i["_GS_Geometry_Data_To_Stream_With_Compression"]=le("GS_Geometry_Data_To_Stream_With_Compression"),i["_GS_Stream_To_Geometry_Data_With_Compression"]=le("GS_Stream_To_Geometry_Data_With_Compression"),i["_GS_Stream_To_Geometry_Data"]=le("GS_Stream_To_Geometry_Data"),i["_GS_Stream_To_Geometry_Data_By_Key"]=le("GS_Stream_To_Geometry_Data_By_Key"),i["_GS_Stream_To_Geometry_Data_By_Keys"]=le("GS_Stream_To_Geometry_Data_By_Keys"),i["_GS_Copy_Segment_By_Key"]=le("GS_Copy_Segment_By_Key"),i["_GS_Compress_File"]=le("GS_Compress_File"),i["_GS_Define_Error_Handler"]=le("GS_Define_Error_Handler"),i["_GS_Define_Log_Handler"]=le("GS_Define_Log_Handler"),i["_GS_Show_Database_Info"]=le("GS_Show_Database_Info"),i["_GS_Show_Allocated_Memory_Size"]=le("GS_Show_Allocated_Memory_Size"),i["_GS_Insert_Marker"]=le("GS_Insert_Marker"),i["_GS_Edit_Marker"]=le("GS_Edit_Marker"),i["_GS_Show_Marker"]=le("GS_Show_Marker"),i["_GS_Insert_Point_Cloud"]=le("GS_Insert_Point_Cloud"),i["_GS_Edit_Point_Cloud"]=le("GS_Edit_Point_Cloud"),i["_GS_Show_Point_Cloud_Count"]=le("GS_Show_Point_Cloud_Count"),i["_GS_Show_Point_Cloud"]=le("GS_Show_Point_Cloud"),i["_GS_Insert_Line"]=le("GS_Insert_Line"),i["_GS_Show_Line"]=le("GS_Show_Line"),i["_GS_Edit_Line"]=le("GS_Edit_Line"),i["_GS_Insert_Polyline"]=le("GS_Insert_Polyline"),i["_GS_Show_Polyline"]=le("GS_Show_Polyline"),i["_GS_Show_Polyline_Count"]=le("GS_Show_Polyline_Count"),i["_GS_Edit_Polyline"]=le("GS_Edit_Polyline"),i["_GS_Insert_Circular_Arc"]=le("GS_Insert_Circular_Arc"),i["_GS_Show_Circular_Arc"]=le("GS_Show_Circular_Arc"),i["_GS_Edit_Circular_Arc"]=le("GS_Edit_Circular_Arc"),i["_GS_Insert_Ellipse_Arc"]=le("GS_Insert_Ellipse_Arc"),i["_GS_Show_Ellipse_Arc"]=le("GS_Show_Ellipse_Arc"),i["_GS_Edit_Ellipse_Arc"]=le("GS_Edit_Ellipse_Arc"),i["_GS_Insert_Circle"]=le("GS_Insert_Circle"),i["_GS_Show_Circle"]=le("GS_Show_Circle"),i["_GS_Edit_Circle"]=le("GS_Edit_Circle"),i["_GS_Insert_Ellipse"]=le("GS_Insert_Ellipse"),i["_GS_Show_Ellipse"]=le("GS_Show_Ellipse"),i["_GS_Edit_Ellipse"]=le("GS_Edit_Ellipse"),i["_GS_Insert_Cylinder"]=le("GS_Insert_Cylinder"),i["_GS_Show_Cylinder"]=le("GS_Show_Cylinder"),i["_GS_Edit_Cylinder"]=le("GS_Edit_Cylinder"),i["_GS_Insert_PolyCylinder"]=le("GS_Insert_PolyCylinder"),i["_GS_Show_PolyCylinder_Count"]=le("GS_Show_PolyCylinder_Count"),i["_GS_Show_PolyCylinder"]=le("GS_Show_PolyCylinder"),i["_GS_Edit_PolyCylinder"]=le("GS_Edit_PolyCylinder"),i["_GS_Insert_Shell"]=le("GS_Insert_Shell"),i["_GS_Edit_Shell"]=le("GS_Edit_Shell"),i["_GS_Show_Shell"]=le("GS_Show_Shell"),i["_GS_Show_Shell_Size"]=le("GS_Show_Shell_Size"),i["_GS_Insert_Triangular_Shell"]=le("GS_Insert_Triangular_Shell"),i["_GS_Insert_Mesh"]=le("GS_Insert_Mesh"),i["_GS_Edit_Mesh_Points"]=le("GS_Edit_Mesh_Points"),i["_GS_Show_Mesh_Size"]=le("GS_Show_Mesh_Size"),i["_GS_Show_Mesh"]=le("GS_Show_Mesh"),i["_GS_Insert_DShell"]=le("GS_Insert_DShell"),i["_GS_Edit_DShell"]=le("GS_Edit_DShell"),i["_GS_Show_DShell_Size"]=le("GS_Show_DShell_Size"),i["_GS_Show_DShell"]=le("GS_Show_DShell"),i["_GS_Insert_Triangular_DShell"]=le("GS_Insert_Triangular_DShell"),i["_GS_Insert_DMesh"]=le("GS_Insert_DMesh"),i["_GS_Edit_DMesh_Points"]=le("GS_Edit_DMesh_Points"),i["_GS_Show_DMesh_Size"]=le("GS_Show_DMesh_Size"),i["_GS_Show_DMesh"]=le("GS_Show_DMesh"),i["_GS_Insert_Light"]=le("GS_Insert_Light"),i["_GS_Edit_Light"]=le("GS_Edit_Light"),i["_GS_Show_Light"]=le("GS_Show_Light"),i["_GS_Insert_Image_By_Key"]=le("GS_Insert_Image_By_Key"),i["_GS_Insert_Image"]=le("GS_Insert_Image"),i["_GS_Set_Image_Options"]=le("GS_Set_Image_Options"),i["_GS_UnSet_One_Image_Option"]=le("GS_UnSet_One_Image_Option"),i["_GS_Set_Image_Data"]=le("GS_Set_Image_Data"),i["_GS_UnSet_Image_Data"]=le("GS_UnSet_Image_Data"),i["_GS_Show_Image_Position"]=le("GS_Show_Image_Position"),i["_GS_Show_Image_Size"]=le("GS_Show_Image_Size"),i["_GS_Show_Image_Data_Size"]=le("GS_Show_Image_Data_Size"),i["_GS_Show_Image_Data"]=le("GS_Show_Image_Data"),i["_GS_Show_Image_Options"]=le("GS_Show_Image_Options"),i["_GS_Show_One_Image_Option"]=le("GS_Show_One_Image_Option"),i["_GS_Show_Image"]=le("GS_Show_Image"),i["_GS_Insert_Cutting_Planes"]=le("GS_Insert_Cutting_Planes"),i["_GS_Edit_Cutting_Planes"]=le("GS_Edit_Cutting_Planes"),i["_GS_Show_Cutting_Planes"]=le("GS_Show_Cutting_Planes"),i["_GS_Image_Exists"]=le("GS_Image_Exists"),i["_GS_Set_Geometry_Color"]=le("GS_Set_Geometry_Color"),i["_GS_Set_Geometry_Color_By_Value"]=le("GS_Set_Geometry_Color_By_Value"),i["_GS_Show_Geometry_Color"]=le("GS_Show_Geometry_Color"),i["_GS_Show_Geometry_Color_Type"]=le("GS_Show_Geometry_Color_Type"),i["_GS_Show_Geometry_Color_By_Value"]=le("GS_Show_Geometry_Color_By_Value"),i["_GS_UnSet_Geometry_Color"]=le("GS_UnSet_Geometry_Color"),i["_GS_Show_Geometry_Vertices_Position_By_Indexes"]=le("GS_Show_Geometry_Vertices_Position_By_Indexes"),i["_GS_Show_Geometry_Element_Type"]=le("GS_Show_Geometry_Element_Type"),i["_GS_Set_Geometry_Texture_Coords"]=le("GS_Set_Geometry_Texture_Coords"),i["_GS_Show_Geometry_Texture_Coords"]=le("GS_Show_Geometry_Texture_Coords"),i["_GS_UnSet_Geometry_Texture_Coords"]=le("GS_UnSet_Geometry_Texture_Coords"),i["_GS_Set_Geometry_Normals"]=le("GS_Set_Geometry_Normals"),i["_GS_Show_Geometry_Normals"]=le("GS_Show_Geometry_Normals"),i["_GS_UnSet_Geometry_Normals"]=le("GS_UnSet_Geometry_Normals"),i["_GS_Compute_Geometry_Normals"]=le("GS_Compute_Geometry_Normals"),i["_GS_Set_Geometry_Tangents"]=le("GS_Set_Geometry_Tangents"),i["_GS_Show_Geometry_Tangents"]=le("GS_Show_Geometry_Tangents"),i["_GS_UnSet_Geometry_Tangents"]=le("GS_UnSet_Geometry_Tangents"),i["_GS_Compute_Geometry_Buffers"]=le("GS_Compute_Geometry_Buffers"),i["_GS_Compute_Geometry_Buffers_By_Key"]=le("GS_Compute_Geometry_Buffers_By_Key"),i["_GS_Apply_ModellingMatrix"]=le("GS_Apply_ModellingMatrix"),i["_GS_FLT_Matrix_Multiply_Point"]=le("GS_FLT_Matrix_Multiply_Point"),i["_GS_Merge_Shell"]=le("GS_Merge_Shell"),i["_GS_Insert_Vector_Text"]=le("GS_Insert_Vector_Text"),i["_GS_Extrude_By_Shell_ComputeData"]=le("GS_Extrude_By_Shell_ComputeData"),i["_GS_Triangulate_Polygon_Xy"]=le("GS_Triangulate_Polygon_Xy"),i["_GS_Extrude_By_Shell"]=le("GS_Extrude_By_Shell"),i["_GS_DExtrude_By_Shell"]=le("GS_DExtrude_By_Shell"),i["_GS_DTriangulate_Polygon_Xy"]=le("GS_DTriangulate_Polygon_Xy"),i["_GS_Rotate_By_Shell"]=le("GS_Rotate_By_Shell"),i["_GS_DRotate_By_Shell"]=le("GS_DRotate_By_Shell"),i["_GS_Sweep_By_Shell"]=le("GS_Sweep_By_Shell"),i["_GS_FLT_Vector_Is_Zero"]=le("GS_FLT_Vector_Is_Zero"),i["_GS_FLT_Vector_Normalize"]=le("GS_FLT_Vector_Normalize"),i["_GS_FLT_Point_Subtract"]=le("GS_FLT_Point_Subtract"),i["_GS_FLT_Vector_Is_Parallel"]=le("GS_FLT_Vector_Is_Parallel"),i["_GS_FLT_Vector_Cross"]=le("GS_FLT_Vector_Cross"),i["_GS_FLT_Point_Is_Same"]=le("GS_FLT_Point_Is_Same"),i["_GS_FLT_Vector_Reverse"]=le("GS_FLT_Vector_Reverse"),i["_GS_FLT_Vector_Angle"]=le("GS_FLT_Vector_Angle"),i["_GS_DSweep_By_Shell"]=le("GS_DSweep_By_Shell"),i["_GS_Vector_Is_Zero"]=le("GS_Vector_Is_Zero"),i["_GS_Vector_Normalize"]=le("GS_Vector_Normalize"),i["_GS_Point_Subtract"]=le("GS_Point_Subtract"),i["_GS_Vector_Is_Parallel"]=le("GS_Vector_Is_Parallel"),i["_GS_Vector_Cross"]=le("GS_Vector_Cross"),i["_GS_Matrix_Multiply_Point"]=le("GS_Matrix_Multiply_Point"),i["_GS_Point_Is_Same"]=le("GS_Point_Is_Same"),i["_GS_Vector_Reverse"]=le("GS_Vector_Reverse"),i["_GS_Vector_Angle"]=le("GS_Vector_Angle"),i["_GS_Compute_Geometry_Tessellate_Data"]=le("GS_Compute_Geometry_Tessellate_Data"),i["_GS_Show_Geometry_Tessellate_Data_Count"]=le("GS_Show_Geometry_Tessellate_Data_Count"),i["_GS_Show_Geometry_Tessellate_Data"]=le("GS_Show_Geometry_Tessellate_Data"),i["_GS_Clear_Geometry_Tessellate_Data"]=le("GS_Clear_Geometry_Tessellate_Data"),i["_GS_Insert_Parametric_Geometries"]=le("GS_Insert_Parametric_Geometries"),i["_GS_Show_Parametric_Geometries"]=le("GS_Show_Parametric_Geometries"),i["_GS_Show_Parametric_Geometries_Counts"]=le("GS_Show_Parametric_Geometries_Counts"),i["_GS_Insert_Parametric_Geometry"]=le("GS_Insert_Parametric_Geometry"),i["_GS_Boolean_Subtract"]=le("GS_Boolean_Subtract"),i["_GS_Insert_Negative_Parametric_Geometries"]=le("GS_Insert_Negative_Parametric_Geometries"),i["_GS_Insert_Negative_Parametric_Geometry"]=le("GS_Insert_Negative_Parametric_Geometry"),i["_GS_Delete_Negative_Parametric_Geometry"]=le("GS_Delete_Negative_Parametric_Geometry"),i["_GS_Edit_Parametric_Geometry"]=le("GS_Edit_Parametric_Geometry"),i["_GS_Edit_Parametric_Geometry_IndexInverse"]=le("GS_Edit_Parametric_Geometry_IndexInverse"),i["_GS_Edit_Negative_Parametric_Geometry"]=le("GS_Edit_Negative_Parametric_Geometry"),i["_GS_Show_Parametric_Geometry"]=le("GS_Show_Parametric_Geometry"),i["_GS_Project_Point_To_Line"]=le("GS_Project_Point_To_Line"),i["_GS_Point_Add"]=le("GS_Point_Add"),i["_GS_Compute_Parametric_Geometry"]=le("GS_Compute_Parametric_Geometry"),i["_GS_Resize_By_Key"]=le("GS_Resize_By_Key"),i["_GS_Show_Key_Type"]=le("GS_Show_Key_Type"),i["_GS_Is_Valid_Key"]=le("GS_Is_Valid_Key"),i["_GS_Show_Owner_By_Key"]=le("GS_Show_Owner_By_Key"),i["_GS_Open_Segment_By_Key"]=le("GS_Open_Segment_By_Key"),i["_GS_Add_Segment_By_Key"]=le("GS_Add_Segment_By_Key"),i["_GS_Clear_Attributes"]=le("GS_Clear_Attributes"),i["_GS_Clear_Attributes_By_Key"]=le("GS_Clear_Attributes_By_Key"),i["_GS_Clear_Includes"]=le("GS_Clear_Includes"),i["_GS_Clear_Includes_By_Key"]=le("GS_Clear_Includes_By_Key"),i["_GS_Clear_Styles"]=le("GS_Clear_Styles"),i["_GS_Clear_Styles_By_Key"]=le("GS_Clear_Styles_By_Key"),i["_GS_Clear_Subsegments"]=le("GS_Clear_Subsegments"),i["_GS_Clear_Subsegments_By_Key"]=le("GS_Clear_Subsegments_By_Key"),i["_GS_Clear_Data"]=le("GS_Clear_Data"),i["_GS_Clear_Data_By_Key"]=le("GS_Clear_Data_By_Key"),i["_GS_Clear_All"]=le("GS_Clear_All"),i["_GS_Clear_All_By_Key"]=le("GS_Clear_All_By_Key"),i["_GS_Delete_By_Key"]=le("GS_Delete_By_Key"),i["_GS_Clear_Geometry"]=le("GS_Clear_Geometry"),i["_GS_Clear_Geometry_By_Key"]=le("GS_Clear_Geometry_By_Key"),i["_GS_Include_Segment_By_Key"]=le("GS_Include_Segment_By_Key"),i["_GS_Conditional_Include_By_Key"]=le("GS_Conditional_Include_By_Key"),i["_GS_Style_Segment_By_Key"]=le("GS_Style_Segment_By_Key"),i["_GS_Conditional_Style_By_Key"]=le("GS_Conditional_Style_By_Key"),i["_GS_Show_Subsegment_Count"]=le("GS_Show_Subsegment_Count"),i["_GS_Show_Subsegment"]=le("GS_Show_Subsegment"),i["_GS_Show_All_Subsegment_Count"]=le("GS_Show_All_Subsegment_Count"),i["_GS_Show_Subsegment_List"]=le("GS_Show_Subsegment_List"),i["_GS_Show_All_Subsegment_List"]=le("GS_Show_All_Subsegment_List"),i["_GS_Show_Segment_Name"]=le("GS_Show_Segment_Name"),i["_GS_Show_Segment_Path"]=le("GS_Show_Segment_Path"),i["_GS_Show_Attribute_Count"]=le("GS_Show_Attribute_Count"),i["_GS_Show_Attribute_List"]=le("GS_Show_Attribute_List"),i["_GS_Show_Attrubute"]=le("GS_Show_Attrubute"),i["_GS_Show_Geometry_Count"]=le("GS_Show_Geometry_Count"),i["_GS_Show_Geometry_List"]=le("GS_Show_Geometry_List"),i["_GS_Show_Geometry"]=le("GS_Show_Geometry"),i["_GS_Show_Include_Count"]=le("GS_Show_Include_Count"),i["_GS_Show_Include_List"]=le("GS_Show_Include_List"),i["_GS_Show_Include"]=le("GS_Show_Include"),i["_GS_Show_Include_Segment"]=le("GS_Show_Include_Segment"),i["_GS_Show_Included_Count"]=le("GS_Show_Included_Count"),i["_GS_Show_Included_List"]=le("GS_Show_Included_List"),i["_GS_Show_Style_Count"]=le("GS_Show_Style_Count"),i["_GS_Show_Style_List"]=le("GS_Show_Style_List"),i["_GS_Show_Style"]=le("GS_Show_Style"),i["_GS_Show_Style_Segment"]=le("GS_Show_Style_Segment"),i["_GS_Show_Styled_Count"]=le("GS_Show_Styled_Count"),i["_GS_Show_Styled_List"]=le("GS_Show_Styled_List"),i["_GS_Segment_Exists"]=le("GS_Segment_Exists"),i["_GS_Rename_Segment"]=le("GS_Rename_Segment"),i["_GS_Rename_Segment_By_Key"]=le("GS_Rename_Segment_By_Key"),i["_GS_Move_Key"]=le("GS_Move_Key"),i["_GS_Move_Key_By_Key"]=le("GS_Move_Key_By_Key"),i["_GS_Set_Key_Index"]=le("GS_Set_Key_Index"),i["_GS_Show_Key_Index"]=le("GS_Show_Key_Index"),i["_GS_Add_Property_Boolean"]=le("GS_Add_Property_Boolean"),i["_GS_Add_Property_Integer"]=le("GS_Add_Property_Integer"),i["_GS_Add_Property_Long"]=le("GS_Add_Property_Long"),i["_GS_Add_Property_Double"]=le("GS_Add_Property_Double"),i["_GS_Add_Property_Float"]=le("GS_Add_Property_Float"),i["_GS_Add_Property_Double_By_Pointer"]=le("GS_Add_Property_Double_By_Pointer"),i["_GS_Add_Property_String"]=le("GS_Add_Property_String"),i["_GS_Add_Property_Json"]=le("GS_Add_Property_Json"),i["_GS_Add_Property_Byte_Array"]=le("GS_Add_Property_Byte_Array"),i["_GS_Show_Property_Type"]=le("GS_Show_Property_Type"),i["_GS_Show_Property_Boolean"]=le("GS_Show_Property_Boolean"),i["_GS_Show_Property_Integer"]=le("GS_Show_Property_Integer"),i["_GS_Show_Property_Long"]=le("GS_Show_Property_Long"),i["_GS_Show_Property_Double"]=le("GS_Show_Property_Double"),i["_GS_Show_Property_Float"]=le("GS_Show_Property_Float"),i["_GS_Show_Property_String_Length"]=le("GS_Show_Property_String_Length"),i["_GS_Show_Property_String"]=le("GS_Show_Property_String"),i["_GS_Show_Property_Byte_Array_Length"]=le("GS_Show_Property_Byte_Array_Length"),i["_GS_Show_Property_Byte_Array"]=le("GS_Show_Property_Byte_Array"),i["_GS_Property_Exists"]=le("GS_Property_Exists"),i["_GS_Remove_Property"]=le("GS_Remove_Property"),i["_GS_Clear_Properties"]=le("GS_Clear_Properties"),i["_GS_Show_Property_Count"]=le("GS_Show_Property_Count"),i["_GS_Show_Property_Keys"]=le("GS_Show_Property_Keys"),i["_GS_Show_Key_By_Name"]=le("GS_Show_Key_By_Name"),i["_GS_Open_Geometry"]=le("GS_Open_Geometry"),i["_GS_Close_Geometry"]=le("GS_Close_Geometry"),i["_GS_Compute_Path"]=le("GS_Compute_Path"),i["_GS_Compute_Coordinates_By_Key"]=le("GS_Compute_Coordinates_By_Key"),i["_GS_Compute_Coordinates_By_Path"]=le("GS_Compute_Coordinates_By_Path"),i["_GS_DCompute_Coordinates_By_Key"]=le("GS_DCompute_Coordinates_By_Key"),i["_GS_Compute_Boundingbox_By_Key"]=le("GS_Compute_Boundingbox_By_Key"),i["_GS_Compute_Boundingbox_With_Visibility_By_Key"]=le("GS_Compute_Boundingbox_With_Visibility_By_Key"),i["_GS_Compute_View_Boundingbox_By_Key"]=le("GS_Compute_View_Boundingbox_By_Key"),i["_GS_Compute_View_Boundingbox_By_Keys"]=le("GS_Compute_View_Boundingbox_By_Keys"),i["_GS_Compute_View_Boundingboxes_By_Keys"]=le("GS_Compute_View_Boundingboxes_By_Keys"),i["_GS_Compute_Geometry_Boundingbox_By_Key"]=le("GS_Compute_Geometry_Boundingbox_By_Key"),i["_GS_Compute_Segment_Boundingbox_By_Key"]=le("GS_Compute_Segment_Boundingbox_By_Key"),i["_GS_Clear_Segment_Boundingbox_By_Key"]=le("GS_Clear_Segment_Boundingbox_By_Key"),i["_GS_FLT_Matrix_Multiply_WPoint"]=le("GS_FLT_Matrix_Multiply_WPoint"),i["_GS_FLT_Project_Point_To_Line"]=le("GS_FLT_Project_Point_To_Line"),i["_GS_FLT_Distance_Point_Point"]=le("GS_FLT_Distance_Point_Point"),i["_GS_Compute_Selection_By_Key"]=le("GS_Compute_Selection_By_Key"),i["_GS_Compute_Selection_By_Area"]=le("GS_Compute_Selection_By_Area"),i["_GS_FLT_Distance_Line_Line_With_Points"]=le("GS_FLT_Distance_Line_Line_With_Points"),i["_GS_FLT_Intersection_Ray_Triangle"]=le("GS_FLT_Intersection_Ray_Triangle"),i["_GS_FLT_Point_Add"]=le("GS_FLT_Point_Add"),i["_GS_FLT_Vector_Divide"]=le("GS_FLT_Vector_Divide"),i["_GS_FLT_Is_Intersecting_Triangle_Triangle_With_Type"]=le("GS_FLT_Is_Intersecting_Triangle_Triangle_With_Type"),i["_GS_Compute_Collision_By_Keys"]=le("GS_Compute_Collision_By_Keys"),i["_GS_Compute_Collision_By_Key"]=le("GS_Compute_Collision_By_Key"),i["_GS_Show_Selection_Count"]=le("GS_Show_Selection_Count"),i["_GS_Show_Selection_Element"]=le("GS_Show_Selection_Element"),i["_GS_Show_Selection_Path"]=le("GS_Show_Selection_Path"),i["_GS_Show_Selection_Path_By_Keys"]=le("GS_Show_Selection_Path_By_Keys"),i["_GS_Show_Selection_Position"]=le("GS_Show_Selection_Position"),i["_GS_Show_Selection_Position_By_Value"]=le("GS_Show_Selection_Position_By_Value"),i["_GS_Show_Selection_Param"]=le("GS_Show_Selection_Param"),i["_GS_Show_Selection_Indexes"]=le("GS_Show_Selection_Indexes"),i["_GS_Show_Selection_Test_Info"]=le("GS_Show_Selection_Test_Info"),i["_GS_Show_Collision_Count"]=le("GS_Show_Collision_Count"),i["_GS_Show_Collision_Elements"]=le("GS_Show_Collision_Elements"),i["_GS_Show_Collision_Paths"]=le("GS_Show_Collision_Paths"),i["_GS_Show_Collision_Path_By_Keys"]=le("GS_Show_Collision_Path_By_Keys"),i["_GS_Show_Collision_Position"]=le("GS_Show_Collision_Position"),i["_GS_Show_Collision_Type"]=le("GS_Show_Collision_Type"),i["_GS_Compute_Visible_By_Key"]=le("GS_Compute_Visible_By_Key"),i["_GS_FLT_Is_Intersection_Ray_BBox"]=le("GS_FLT_Is_Intersection_Ray_BBox"),i["_GS_Compute_Ray_Test"]=le("GS_Compute_Ray_Test"),i["_GS_Compute_Geometry_Ray_Test"]=le("GS_Compute_Geometry_Ray_Test"),i["_GS_Compute_Box_Test"]=le("GS_Compute_Box_Test"),i["_GS_Vector_Module"]=le("GS_Vector_Module"),i["_GS_Compute_Area"]=le("GS_Compute_Area"),i["_GS_Compute_Polygon_Area"]=le("GS_Compute_Polygon_Area"),i["_GS_Polygon_Normal"]=le("GS_Polygon_Normal"),i["_GS_Compute_Volume"]=le("GS_Compute_Volume"),i["_GS_Compute_Geometry_Distance"]=le("GS_Compute_Geometry_Distance"),i["_GS_Is_Solid_Geometry"]=le("GS_Is_Solid_Geometry"),i["_GS_Set_BoundingBox"]=le("GS_Set_BoundingBox"),i["_GS_Show_BoundingBox"]=le("GS_Show_BoundingBox"),i["_GS_Set_BoundingBox_By_Key"]=le("GS_Set_BoundingBox_By_Key"),i["_GS_Show_BoundingBox_By_Key"]=le("GS_Show_BoundingBox_By_Key"),i["_GS_Compute_Instances_Culling"]=le("GS_Compute_Instances_Culling"),i["_GS_Load_Image"]=le("GS_Load_Image"),i["_GS_Decompress_Data"]=le("GS_Decompress_Data"),i["_GS_Compute_Spherical_Polynomial"]=le("GS_Compute_Spherical_Polynomial"),i["_GS_Compute_One_Spherical_Harmonics"]=le("GS_Compute_One_Spherical_Harmonics"),i["_GS_Boolean_Intersection_Graph"]=le("GS_Boolean_Intersection_Graph"),i["_GS_Boolean_Intersect_Polyline_Polygon_Xy"]=le("GS_Boolean_Intersect_Polyline_Polygon_Xy"),i["_GS_Boolean_Intersect_Polygon_Polygon_Xy"]=le("GS_Boolean_Intersect_Polygon_Polygon_Xy"),i["_GS_Boolean_Intersect_Graph_Polygon_Xy"]=le("GS_Boolean_Intersect_Graph_Polygon_Xy"),i["_GS_Boolean_Subtract_Polygon_Polygon_Xy"]=le("GS_Boolean_Subtract_Polygon_Polygon_Xy"),i["_GS_Boolean_Cut_Polygon_Polygon_Xy"]=le("GS_Boolean_Cut_Polygon_Polygon_Xy"),i["_GS_Intersection_Plane_Triangle"]=le("GS_Intersection_Plane_Triangle"),i["_GS_Point_Is_Same_By_Index"]=le("GS_Point_Is_Same_By_Index"),i["_GS_Point_Subtract_By_Index"]=le("GS_Point_Subtract_By_Index"),i["_GS_Vector_Angle_With_Normal"]=le("GS_Vector_Angle_With_Normal"),i["_GS_Intersection_LineSegment_LineSegment"]=le("GS_Intersection_LineSegment_LineSegment"),i["_GS_Vector_Divide"]=le("GS_Vector_Divide"),i["_GS_Is_Point_In_Polygon_Xy"]=le("GS_Is_Point_In_Polygon_Xy"),i["_GS_Distance_Point_Point"]=le("GS_Distance_Point_Point"),i["_GS_Is_Point_On_Polygon_Xy"]=le("GS_Is_Point_On_Polygon_Xy"),i["_GS_Is_Point_In_LineSegment"]=le("GS_Is_Point_In_LineSegment"),i["_GS_Project_Point_To_Plane"]=le("GS_Project_Point_To_Plane"),i["_GS_Vector_Is_Same"]=le("GS_Vector_Is_Same"),i["_GS_Project_Point_To_LineSegment"]=le("GS_Project_Point_To_LineSegment"),i["_GS_Triangle_Normal"]=le("GS_Triangle_Normal"),i["_GS_Distance_Point_LineSegment"]=le("GS_Distance_Point_LineSegment"),i["_GS_BB_Is_Intersection"]=le("GS_BB_Is_Intersection"),i["_GS_Intersection_Triangle_Triangle"]=le("GS_Intersection_Triangle_Triangle"),i["_GS_Intersection_Ray_Triangles"]=le("GS_Intersection_Ray_Triangles"),i["_GS_Is_Point_In_Plane"]=le("GS_Is_Point_In_Plane"),i["_GS_Boolean_Cut"]=le("GS_Boolean_Cut"),i["_GS_BB_Create_By_Points"]=le("GS_BB_Create_By_Points"),i["_GS_Intersection_Plane_Triangle_With_Info"]=le("GS_Intersection_Plane_Triangle_With_Info"),i["_GS_Matrix_Rotate"]=le("GS_Matrix_Rotate"),i["_GS_Matrix_Inverse"]=le("GS_Matrix_Inverse"),i["_GS_Point_QuickSort"]=le("GS_Point_QuickSort"),i["_GS_DTriangulate_Polygon"]=le("GS_DTriangulate_Polygon"),i["_GS_Compute_Subdivide_Curve_Count"]=le("GS_Compute_Subdivide_Curve_Count"),i["_GS_Subdivide_Curve"]=le("GS_Subdivide_Curve"),i["_GS_Delaunay_On_Triangle"]=le("GS_Delaunay_On_Triangle"),i["_GS_Is_Point_In_Triangle"]=le("GS_Is_Point_In_Triangle"),i["_GS_Delaunay_On_Triangle_By_Indexes"]=le("GS_Delaunay_On_Triangle_By_Indexes"),i["_GS_Closest_Point"]=le("GS_Closest_Point"),i["_GS_Constrained_Delaunay_On_Triangle"]=le("GS_Constrained_Delaunay_On_Triangle"),i["_GS_Constrained_Delaunay_On_Triangle_By_Indexes"]=le("GS_Constrained_Delaunay_On_Triangle_By_Indexes"),i["_GS_Compute_Triangles_Borders"]=le("GS_Compute_Triangles_Borders"),i["_GS_Distance_Point"]=le("GS_Distance_Point"),i["_GS_Planar_Polyline_Offset"]=le("GS_Planar_Polyline_Offset"),i["_Internal_Is_Solid_Body"]=le("Internal_Is_Solid_Body"),i["_GS_Is_Solid_Body"]=le("GS_Is_Solid_Body"),i["_Internal_Has_Invalid_Triangles"]=le("Internal_Has_Invalid_Triangles"),i["_GS_Create_Float_Triangles"]=le("GS_Create_Float_Triangles"),i["_GS_Find_Neighbor_Triangle"]=le("GS_Find_Neighbor_Triangle"),i["_GS_FLT_Compute_Ray_Test_Triangles_By_Projection"]=le("GS_FLT_Compute_Ray_Test_Triangles_By_Projection"),i["_GS_Compute_Ray_Test_Triangles"]=le("GS_Compute_Ray_Test_Triangles"),i["_GS_FLT_Compute_Distance_Triangles"]=le("GS_FLT_Compute_Distance_Triangles"),i["_GS_FLT_Compute_Collision_Triangles"]=le("GS_FLT_Compute_Collision_Triangles"),i["_Matrix_Det"]=le("Matrix_Det"),i["_GS_FLT_Matrix_Inverse"]=le("GS_FLT_Matrix_Inverse"),i["_GS_FLT_Matrix_Multiply"]=le("GS_FLT_Matrix_Multiply"),i["_GS_FLT_Matrix_Clone"]=le("GS_FLT_Matrix_Clone"),i["_GS_Matrix_Multiply"]=le("GS_Matrix_Multiply"),i["_GS_Matrix_Clone"]=le("GS_Matrix_Clone"),i["_GS_FLT_Vector_Module"]=le("GS_FLT_Vector_Module"),i["_GS_FLT_Vector_Include_Angle"]=le("GS_FLT_Vector_Include_Angle"),i["_GS_FLT_Vector_Dot"]=le("GS_FLT_Vector_Dot"),i["_GS_FLT_Vector_Angle_With_Normal"]=le("GS_FLT_Vector_Angle_With_Normal"),i["_GS_FLT_Vector_Is_Perpendicular"]=le("GS_FLT_Vector_Is_Perpendicular"),i["_GS_FLT_Triangle_Normal"]=le("GS_FLT_Triangle_Normal"),i["_GS_FLT_Polygon_Normal"]=le("GS_FLT_Polygon_Normal"),i["_GS_FLT_Distance_Point"]=le("GS_FLT_Distance_Point"),i["_GS_FLT_Distance_Point_Line"]=le("GS_FLT_Distance_Point_Line"),i["_GS_FLT_Distance_Point_LineSegment"]=le("GS_FLT_Distance_Point_LineSegment"),i["_GS_FLT_Distance_Line_LineSegment"]=le("GS_FLT_Distance_Line_LineSegment"),i["_GS_FLT_Closest_Point"]=le("GS_FLT_Closest_Point"),i["_GS_FLT_Distance_LineSegment_LineSegment"]=le("GS_FLT_Distance_LineSegment_LineSegment"),i["_GS_FLT_Intersection_Line_LineSegment"]=le("GS_FLT_Intersection_Line_LineSegment"),i["_GS_FLT_Distance_Point_Plane"]=le("GS_FLT_Distance_Point_Plane"),i["_GS_FLT_Project_Point_To_Plane"]=le("GS_FLT_Project_Point_To_Plane"),i["_GS_FLT_Project_Point_to_Triangle"]=le("GS_FLT_Project_Point_to_Triangle"),i["_GS_FLT_Is_Point_In_LineSegment"]=le("GS_FLT_Is_Point_In_LineSegment"),i["_GS_FLT_Is_Point_In_Triangle"]=le("GS_FLT_Is_Point_In_Triangle"),i["_GS_FLT_Intersection_Line_Line"]=le("GS_FLT_Intersection_Line_Line"),i["_GS_FLT_Intersection_LineSegment_LineSegment"]=le("GS_FLT_Intersection_LineSegment_LineSegment"),i["_GS_FLT_Intersection_Line_Plane"]=le("GS_FLT_Intersection_Line_Plane"),i["_GS_FLT_Intersection_Line_Triangle"]=le("GS_FLT_Intersection_Line_Triangle"),i["_GS_FLT_Intersection_LineSegment_Triangle"]=le("GS_FLT_Intersection_LineSegment_Triangle"),i["_GS_FLT_Intersection_LineSegment_Triangle_With_Type"]=le("GS_FLT_Intersection_LineSegment_Triangle_With_Type"),i["_GS_FLT_Intersection_Ray_Triangle_With_Type"]=le("GS_FLT_Intersection_Ray_Triangle_With_Type"),i["_GS_Vector_Multiply"]=le("GS_Vector_Multiply"),i["_GS_Vector_Dot"]=le("GS_Vector_Dot"),i["_GS_Vector_Include_Angle"]=le("GS_Vector_Include_Angle"),i["_GS_Vector_Param"]=le("GS_Vector_Param"),i["_GS_Vector_Is_Perpendicular"]=le("GS_Vector_Is_Perpendicular"),i["_GS_Polygon_Normal_With_Indexes"]=le("GS_Polygon_Normal_With_Indexes"),i["_GS_Distance_Point_Line"]=le("GS_Distance_Point_Line"),i["_GS_Intersection_Line_LineSegment"]=le("GS_Intersection_Line_LineSegment"),i["_GS_Intersection_Line_Plane"]=le("GS_Intersection_Line_Plane"),i["_GS_Intersection_Line_Triangle"]=le("GS_Intersection_Line_Triangle"),i["_GS_Intersection_Line_Triangle_Roughly"]=le("GS_Intersection_Line_Triangle_Roughly"),i["_GS_Is_Intersecting_LineSegment_LineSegment"]=le("GS_Is_Intersecting_LineSegment_LineSegment"),i["_GS_BB_Create_By_Indexed_Points"]=le("GS_BB_Create_By_Indexed_Points"),i["_GS_Intersection_Ray_Triangle"]=le("GS_Intersection_Ray_Triangle"),i["_GS_Is_Intersection_Ray_BBox"]=le("GS_Is_Intersection_Ray_BBox"),le("setTempRet0"),i["_fflush"]=le("fflush")),zt=le("__errno_location"),Wt=le("setThrew"),qt=function(){return(qt=Ht["emscripten_stack_init"])()},Yt=function(){return(Yt=Ht["emscripten_stack_get_end"])()},Xt=le("stackSave"),$t=le("stackRestore");le("stackAlloc"),i["dynCall_jiji"]=le("dynCall_jiji"),i["___start_em_js"]=1196488,i["___stop_em_js"]=1198173;function Jt(e,t,r,n,o){var i=Xt();try{Ft(e)(t,r,n,o)}catch(a){if($t(i),a!==a+0)throw a;Wt(1,0)}}function Zt(e,t,r){var n=Xt();try{return Ft(e)(t,r)}catch(o){if($t(n),o!==o+0)throw o;Wt(1,0)}}function Qt(e,t,r,n,o){var i=Xt();try{return Ft(e)(t,r,n,o)}catch(a){if($t(i),a!==a+0)throw a;Wt(1,0)}}function er(e,t,r,n){var o=Xt();try{return Ft(e)(t,r,n)}catch(i){if($t(o),i!==i+0)throw i;Wt(1,0)}}function tr(e){var t=Xt();try{Ft(e)()}catch(r){if($t(t),r!==r+0)throw r;Wt(1,0)}}function rr(e,t,r){var n=Xt();try{Ft(e)(t,r)}catch(o){if($t(n),o!==o+0)throw o;Wt(1,0)}}function nr(e,t){var r=Xt();try{return Ft(e)(t)}catch(n){if($t(r),n!==n+0)throw n;Wt(1,0)}}function or(e,t){var r=Xt();try{Ft(e)(t)}catch(n){if($t(r),n!==n+0)throw n;Wt(1,0)}}i["UTF8ToString"]=Ie,i["allocateUTF8"]=Rt;var ir=["writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","isLeapYear","ydayFromDate","arraySum","addDays","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getCallstack","emscriptenLog","convertPCtoSourceLocation","runMainThreadEmAsm","jstoi_q","jstoi_s","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","handleAllocatorInit","HandleAllocator","getNativeTypeSize","STACK_SIZE","STACK_ALIGN","POINTER_SIZE","ASSERTIONS","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","getFunctionAddress","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","stringToUTF8OnStack","writeArrayToMemory","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","jsStackTrace","stackTrace","checkWasiClock","wasiRightsToMuslOFlags","wasiOFlagsToMuslOFlags","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","getPromise","makePromise","idsToPromises","makePromiseCallback","ExceptionInfo","findMatchingCatch","setMainLoop","getSocketFromFD","getSocketAddress","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","webgl_enable_ANGLE_instanced_arrays","webgl_enable_OES_vertex_array_object","webgl_enable_WEBGL_draw_buffers","webgl_enable_WEBGL_multi_draw","emscriptenWebGLGet","computeUnpackAlignedImageSize","colorChannelsInGlTextureFormat","emscriptenWebGLGetTexPixelData","__glGenObject","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","__glGetActiveAttribOrUniform","writeGLArray","registerWebGlEventCallback","runAndAbortIfError","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","ALLOC_NORMAL","ALLOC_STACK","allocate","writeStringToMemory","writeAsciiToMemory"];ir.forEach(we);var ar,sr=["run","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_readFile","FS_unlink","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","wasmTable","wasmExports","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","convertI32PairToI53Checked","ptrToString","zeroMemory","exitJS","getHeapMax","growMemory","ENV","MONTH_DAYS_REGULAR","MONTH_DAYS_LEAP","MONTH_DAYS_REGULAR_CUMULATIVE","MONTH_DAYS_LEAP_CUMULATIVE","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","DNS","Protocols","Sockets","initRandomFill","randomFill","timers","warnOnce","UNWIND_CACHE","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","getExecutableName","asyncLoad","alignMemory","mmapAlloc","freeTableIndexes","functionsInTableMap","setValue","getValue","PATH","PATH_FS","UTF8Decoder","UTF8ArrayToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","intArrayFromString","stringToAscii","UTF16Decoder","stringToNewUTF8","JSEvents","specialHTMLTargets","currentFullscreenStrategy","restoreOldWindowedStyle","demangle","demangleAll","ExitStatus","getEnvStrings","doReadv","doWritev","promiseMap","uncaughtExceptionCount","exceptionLast","exceptionCaught","Browser","wget","SYSCALLS","preloadPlugins","FS_createPreloadedFile","FS_modeStringToFlags","FS_getMode","FS_stdin_getChar_buffer","FS_stdin_getChar","FS","MEMFS","TTY","PIPEFS","SOCKFS","tempFixedLengthArray","miniTempWebGLFloatBuffers","miniTempWebGLIntBuffers","GL","emscripten_webgl_power_preferences","AL","GLUT","EGL","GLEW","IDBStore","SDL","SDL_gfx","GLFW","allocateUTF8OnStack"];function ur(){qt(),D()}function cr(){function e(){ar||(ar=!0,i["calledRun"]=!0,k||(W(),i["onRuntimeInitialized"]&&i["onRuntimeInitialized"](),M(!i["_main"],'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),q()))}J>0||(ur(),z(),J>0||(i["setStatus"]?(i["setStatus"]("Running..."),setTimeout((function(){setTimeout((function(){i["setStatus"]("")}),1),e()}),1)):e(),B()))}function _r(){var e=G,t=b,r=!1;G=b=function(e){r=!0};try{Kt(0),["stdout","stderr"].forEach((function(e){var t=tt.analyzePath("/dev/"+e);if(t){var n=t.object,o=n.rdev,i=He.ttys[o];i&&i.output&&i.output.length&&(r=!0)}}))}catch(n){}G=e,b=t,r&&Ae("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the Emscripten FAQ), or make sure to emit a newline when you printf etc.")}if(sr.forEach(Ge),Q=function e(){ar||cr(),ar||(Q=e)},i["preInit"]){"function"==typeof i["preInit"]&&(i["preInit"]=[i["preInit"]]);while(i["preInit"].length>0)i["preInit"].pop()()}cr(),self.Module=i},4383:function(e){"use strict";e.exports=require("fs")},4384:function(e){"use strict";e.exports=require("path")},4100:function(e,t,r){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}r(2675),r(9463),r(2259),r(3792),r(6099),r(7764),r(2953),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},9306:function(e,t,r){"use strict";var n=r(4901),o=r(6823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},5548:function(e,t,r){"use strict";var n=r(3517),o=r(6823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a constructor")}},3506:function(e,t,r){"use strict";var n=r(3925),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:function(e,t,r){"use strict";var n=r(8227),o=r(2360),i=r(4913).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},7829:function(e,t,r){"use strict";var n=r(8183).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},679:function(e,t,r){"use strict";var n=r(1625),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},8551:function(e,t,r){"use strict";var n=r(34),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},7811:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7394:function(e,t,r){"use strict";var n=r(6706),o=r(4576),i=TypeError;e.exports=n(ArrayBuffer.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new i("ArrayBuffer expected");return e.byteLength}},3238:function(e,t,r){"use strict";var n=r(9504),o=r(7394),i=n(ArrayBuffer.prototype.slice);e.exports=function(e){if(0!==o(e))return!1;try{return i(e,0,0),!1}catch(t){return!0}}},5636:function(e,t,r){"use strict";var n=r(4475),o=r(9504),i=r(6706),a=r(7696),s=r(3238),u=r(7394),c=r(4483),_=r(1548),l=n.structuredClone,f=n.ArrayBuffer,h=n.DataView,d=n.TypeError,p=Math.min,S=f.prototype,y=h.prototype,m=o(S.slice),g=i(S,"resizable","get"),v=i(S,"maxByteLength","get"),w=o(y.getInt8),G=o(y.setInt8);e.exports=(_||c)&&function(e,t,r){var n,o=u(e),i=void 0===t?o:a(t),S=!g||!g(e);if(s(e))throw new d("ArrayBuffer is detached");if(_&&(e=l(e,{transfer:[e]}),o===i&&(r||S)))return e;if(o>=i&&(!r||S))n=m(e,0,i);else{var y=r&&!S&&v?{maxByteLength:v(e)}:void 0;n=new f(i,y);for(var b=new h(e),E=new h(n),T=p(i,o),P=0;P<T;P++)G(E,P,w(b,P))}return _||c(e),n}},4644:function(e,t,r){"use strict";var n,o,i,a=r(7811),s=r(3724),u=r(4475),c=r(4901),_=r(34),l=r(9297),f=r(6955),h=r(6823),d=r(6699),p=r(6840),S=r(2106),y=r(1625),m=r(2787),g=r(2967),v=r(8227),w=r(3392),G=r(1181),b=G.enforce,E=G.get,T=u.Int8Array,P=T&&T.prototype,A=u.Uint8ClampedArray,x=A&&A.prototype,C=T&&m(T),I=P&&m(P),L=Object.prototype,O=u.TypeError,F=v("toStringTag"),k=w("TYPED_ARRAY_TAG"),M="TypedArrayConstructor",R=a&&!!g&&"Opera"!==f(u.opera),D=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},U=function(e){if(!_(e))return!1;var t=f(e);return"DataView"===t||l(B,t)||l(N,t)},j=function(e){var t=m(e);if(_(t)){var r=E(t);return r&&l(r,M)?r[M]:j(t)}},H=function(e){if(!_(e))return!1;var t=f(e);return l(B,t)||l(N,t)},V=function(e){if(H(e))return e;throw new O("Target is not a typed array")},K=function(e){if(c(e)&&(!g||y(C,e)))return e;throw new O(h(e)+" is not a typed array constructor")},z=function(e,t,r,n){if(s){if(r)for(var o in B){var i=u[o];if(i&&l(i.prototype,e))try{delete i.prototype[e]}catch(a){try{i.prototype[e]=t}catch(c){}}}I[e]&&!r||p(I,e,r?t:R&&P[e]||t,n)}},W=function(e,t,r){var n,o;if(s){if(g){if(r)for(n in B)if(o=u[n],o&&l(o,e))try{delete o[e]}catch(i){}if(C[e]&&!r)return;try{return p(C,e,r?t:R&&C[e]||t)}catch(i){}}for(n in B)o=u[n],!o||o[e]&&!r||p(o,e,t)}};for(n in B)o=u[n],i=o&&o.prototype,i?b(i)[M]=o:R=!1;for(n in N)o=u[n],i=o&&o.prototype,i&&(b(i)[M]=o);if((!R||!c(C)||C===Function.prototype)&&(C=function(){throw new O("Incorrect invocation")},R))for(n in B)u[n]&&g(u[n],C);if((!R||!I||I===L)&&(I=C.prototype,R))for(n in B)u[n]&&g(u[n].prototype,I);if(R&&m(x)!==I&&g(x,I),s&&!l(I,F))for(n in D=!0,S(I,F,{configurable:!0,get:function(){return _(this)?this[k]:void 0}}),B)u[n]&&d(u[n],k,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:D&&k,aTypedArray:V,aTypedArrayConstructor:K,exportTypedArrayMethod:z,exportTypedArrayStaticMethod:W,getTypedArrayConstructor:j,isView:U,isTypedArray:H,TypedArray:C,TypedArrayPrototype:I}},6346:function(e,t,r){"use strict";var n=r(4475),o=r(9504),i=r(3724),a=r(7811),s=r(350),u=r(6699),c=r(2106),_=r(6279),l=r(9039),f=r(679),h=r(1291),d=r(8014),p=r(7696),S=r(5617),y=r(8490),m=r(2787),g=r(2967),v=r(4373),w=r(7680),G=r(3167),b=r(7740),E=r(687),T=r(1181),P=s.PROPER,A=s.CONFIGURABLE,x="ArrayBuffer",C="DataView",I="prototype",L="Wrong length",O="Wrong index",F=T.getterFor(x),k=T.getterFor(C),M=T.set,R=n[x],D=R,B=D&&D[I],N=n[C],U=N&&N[I],j=Object.prototype,H=n.Array,V=n.RangeError,K=o(v),z=o([].reverse),W=y.pack,q=y.unpack,Y=function(e){return[255&e]},X=function(e){return[255&e,e>>8&255]},$=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},J=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Z=function(e){return W(S(e),23,4)},Q=function(e){return W(e,52,8)},ee=function(e,t,r){c(e[I],t,{configurable:!0,get:function(){return r(this)[t]}})},te=function(e,t,r,n){var o=k(e),i=p(r),a=!!n;if(i+t>o.byteLength)throw new V(O);var s=o.bytes,u=i+o.byteOffset,c=w(s,u,u+t);return a?c:z(c)},re=function(e,t,r,n,o,i){var a=k(e),s=p(r),u=n(+o),c=!!i;if(s+t>a.byteLength)throw new V(O);for(var _=a.bytes,l=s+a.byteOffset,f=0;f<t;f++)_[l+f]=u[c?f:t-f-1]};if(a){var ne=P&&R.name!==x;l((function(){R(1)}))&&l((function(){new R(-1)}))&&!l((function(){return new R,new R(1.5),new R(NaN),1!==R.length||ne&&!A}))?ne&&A&&u(R,"name",x):(D=function(e){return f(this,B),G(new R(p(e)),this,D)},D[I]=B,B.constructor=D,b(D,R)),g&&m(U)!==j&&g(U,j);var oe=new N(new D(2)),ie=o(U.setInt8);oe.setInt8(0,2147483648),oe.setInt8(1,2147483649),!oe.getInt8(0)&&oe.getInt8(1)||_(U,{setInt8:function(e,t){ie(this,e,t<<24>>24)},setUint8:function(e,t){ie(this,e,t<<24>>24)}},{unsafe:!0})}else D=function(e){f(this,B);var t=p(e);M(this,{type:x,bytes:K(H(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)},B=D[I],N=function(e,t,r){f(this,U),f(e,B);var n=F(e),o=n.byteLength,a=h(t);if(a<0||a>o)throw new V("Wrong offset");if(r=void 0===r?o-a:d(r),a+r>o)throw new V(L);M(this,{type:C,buffer:e,byteLength:r,byteOffset:a,bytes:n.bytes}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=a)},U=N[I],i&&(ee(D,"byteLength",F),ee(N,"buffer",k),ee(N,"byteLength",k),ee(N,"byteOffset",k)),_(U,{getInt8:function(e){return te(this,1,e)[0]<<24>>24},getUint8:function(e){return te(this,1,e)[0]},getInt16:function(e){var t=te(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=te(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return J(te(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return J(te(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return q(te(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return q(te(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){re(this,1,e,Y,t)},setUint8:function(e,t){re(this,1,e,Y,t)},setInt16:function(e,t){re(this,2,e,X,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){re(this,2,e,X,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){re(this,4,e,$,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){re(this,4,e,$,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){re(this,4,e,Z,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){re(this,8,e,Q,t,arguments.length>2&&arguments[2])}});E(D,x),E(N,C),e.exports={ArrayBuffer:D,DataView:N}},7029:function(e,t,r){"use strict";var n=r(8981),o=r(5610),i=r(6198),a=r(4606),s=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),u=i(r),c=o(e,u),_=o(t,u),l=arguments.length>2?arguments[2]:void 0,f=s((void 0===l?u:o(l,u))-_,u-c),h=1;_<c&&c<_+f&&(h=-1,_+=f-1,c+=f-1);while(f-- >0)_ in r?r[c]=r[_]:a(r,c),c+=h,_+=h;return r}},4373:function(e,t,r){"use strict";var n=r(8981),o=r(5610),i=r(6198);e.exports=function(e){var t=n(this),r=i(t),a=arguments.length,s=o(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,c=void 0===u?r:o(u,r);while(c>s)t[s++]=e;return t}},235:function(e,t,r){"use strict";var n=r(9213).forEach,o=r(4598),i=o("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},5370:function(e,t,r){"use strict";var n=r(6198);e.exports=function(e,t,r){var o=0,i=arguments.length>2?r:n(t),a=new e(i);while(i>o)a[o]=t[o++];return a}},7916:function(e,t,r){"use strict";var n=r(6080),o=r(9565),i=r(8981),a=r(6319),s=r(4209),u=r(3517),c=r(6198),_=r(2278),l=r(81),f=r(851),h=Array;e.exports=function(e){var t=i(e),r=u(this),d=arguments.length,p=d>1?arguments[1]:void 0,S=void 0!==p;S&&(p=n(p,d>2?arguments[2]:void 0));var y,m,g,v,w,G,b=f(t),E=0;if(!b||this===h&&s(b))for(y=c(t),m=r?new this(y):h(y);y>E;E++)G=S?p(t[E],E):t[E],_(m,E,G);else for(m=r?new this:[],v=l(t,b),w=v.next;!(g=o(w,v)).done;E++)G=S?a(v,p,[g.value,E],!0):g.value,_(m,E,G);return m.length=E,m}},9617:function(e,t,r){"use strict";var n=r(5397),o=r(5610),i=r(6198),a=function(e){return function(t,r,a){var s=n(t),u=i(s);if(0===u)return!e&&-1;var c,_=o(a,u);if(e&&r!==r){while(u>_)if(c=s[_++],c!==c)return!0}else for(;u>_;_++)if((e||_ in s)&&s[_]===r)return e||_||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},3839:function(e,t,r){"use strict";var n=r(6080),o=r(7055),i=r(8981),a=r(6198),s=function(e){var t=1===e;return function(r,s,u){var c,_,l=i(r),f=o(l),h=a(f),d=n(s,u);while(h-- >0)if(c=f[h],_=d(c,h,l),_)switch(e){case 0:return c;case 1:return h}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},9213:function(e,t,r){"use strict";var n=r(6080),o=r(9504),i=r(7055),a=r(8981),s=r(6198),u=r(1469),c=o([].push),_=function(e){var t=1===e,r=2===e,o=3===e,_=4===e,l=6===e,f=7===e,h=5===e||l;return function(d,p,S,y){for(var m,g,v=a(d),w=i(v),G=s(w),b=n(p,S),E=0,T=y||u,P=t?T(d,G):r||f?T(d,0):void 0;G>E;E++)if((h||E in w)&&(m=w[E],g=b(m,E,v),e))if(t)P[E]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return E;case 2:c(P,m)}else switch(e){case 4:return!1;case 7:c(P,m)}return l?-1:o||_?_:P}};e.exports={forEach:_(0),map:_(1),filter:_(2),some:_(3),every:_(4),find:_(5),findIndex:_(6),filterReject:_(7)}},8379:function(e,t,r){"use strict";var n=r(8745),o=r(5397),i=r(1291),a=r(6198),s=r(4598),u=Math.min,c=[].lastIndexOf,_=!!c&&1/[1].lastIndexOf(1,-0)<0,l=s("lastIndexOf"),f=_||!l;e.exports=f?function(e){if(_)return n(c,this,arguments)||0;var t=o(this),r=a(t);if(0===r)return-1;var s=r-1;for(arguments.length>1&&(s=u(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:c},597:function(e,t,r){"use strict";var n=r(9039),o=r(8227),i=r(7388),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4598:function(e,t,r){"use strict";var n=r(9039);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},926:function(e,t,r){"use strict";var n=r(9306),o=r(8981),i=r(7055),a=r(6198),s=TypeError,u="Reduce of empty array with no initial value",c=function(e){return function(t,r,c,_){var l=o(t),f=i(l),h=a(l);if(n(r),0===h&&c<2)throw new s(u);var d=e?h-1:0,p=e?-1:1;if(c<2)while(1){if(d in f){_=f[d],d+=p;break}if(d+=p,e?d<0:h<=d)throw new s(u)}for(;e?d>=0:h>d;d+=p)d in f&&(_=r(_,f[d],d,l));return _}};e.exports={left:c(!1),right:c(!0)}},4527:function(e,t,r){"use strict";var n=r(3724),o=r(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},7680:function(e,t,r){"use strict";var n=r(9504);e.exports=n([].slice)},4488:function(e,t,r){"use strict";var n=r(7680),o=Math.floor,i=function(e,t){var r=e.length;if(r<8){var a,s,u=1;while(u<r){s=u,a=e[u];while(s&&t(e[s-1],a)>0)e[s]=e[--s];s!==u++&&(e[s]=a)}}else{var c=o(r/2),_=i(n(e,0,c),t),l=i(n(e,c),t),f=_.length,h=l.length,d=0,p=0;while(d<f||p<h)e[d+p]=d<f&&p<h?t(_[d],l[p])<=0?_[d++]:l[p++]:d<f?_[d++]:l[p++]}return e};e.exports=i},7433:function(e,t,r){"use strict";var n=r(4376),o=r(3517),i=r(34),a=r(8227),s=a("species"),u=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,o(t)&&(t===u||n(t.prototype))?t=void 0:i(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?u:t}},1469:function(e,t,r){"use strict";var n=r(7433);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},7628:function(e,t,r){"use strict";var n=r(6198);e.exports=function(e,t){for(var r=n(e),o=new t(r),i=0;i<r;i++)o[i]=e[r-i-1];return o}},9928:function(e,t,r){"use strict";var n=r(6198),o=r(1291),i=RangeError;e.exports=function(e,t,r,a){var s=n(e),u=o(r),c=u<0?s+u:u;if(c>=s||c<0)throw new i("Incorrect index");for(var _=new t(s),l=0;l<s;l++)_[l]=l===c?a:e[l];return _}},6319:function(e,t,r){"use strict";var n=r(8551),o=r(9539);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){o(e,"throw",a)}}},4428:function(e,t,r){"use strict";var n=r(8227),o=n("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[o]=function(){return this},Array.from(s,(function(){throw 2}))}catch(u){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(u){return!1}var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(u){}return r}},4576:function(e,t,r){"use strict";var n=r(9504),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:function(e,t,r){"use strict";var n=r(2140),o=r(4901),i=r(4576),a=r(8227),s=a("toStringTag"),u=Object,c="Arguments"===i(function(){return arguments}()),_=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=_(t=u(e),s))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},7740:function(e,t,r){"use strict";var n=r(9297),o=r(5031),i=r(7347),a=r(4913);e.exports=function(e,t,r){for(var s=o(t),u=a.f,c=i.f,_=0;_<s.length;_++){var l=s[_];n(e,l)||r&&n(r,l)||u(e,l,c(t,l))}}},1436:function(e,t,r){"use strict";var n=r(8227),o=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[o]=!1,"/./"[e](t)}catch(n){}}return!1}},2211:function(e,t,r){"use strict";var n=r(9039);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:function(e,t,r){"use strict";var n=r(9504),o=r(7750),i=r(655),a=/"/g,s=n("".replace);e.exports=function(e,t,r,n){var u=i(o(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+s(i(n),a,""")+'"'),c+">"+u+"</"+t+">"}},2529:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},6699:function(e,t,r){"use strict";var n=r(3724),o=r(4913),i=r(6980);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},2278:function(e,t,r){"use strict";var n=r(3724),o=r(4913),i=r(6980);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},2106:function(e,t,r){"use strict";var n=r(283),o=r(4913);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},6840:function(e,t,r){"use strict";var n=r(4901),o=r(4913),i=r(283),a=r(9433);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;if(n(r)&&i(r,c,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(_){}u?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},6279:function(e,t,r){"use strict";var n=r(6840);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},9433:function(e,t,r){"use strict";var n=r(4475),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},4606:function(e,t,r){"use strict";var n=r(6823),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+n(t)+" of "+n(e))}},3724:function(e,t,r){"use strict";var n=r(9039);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4483:function(e,t,r){"use strict";var n,o,i,a,s=r(4475),u=r(9714),c=r(1548),_=s.structuredClone,l=s.ArrayBuffer,f=s.MessageChannel,h=!1;if(c)h=function(e){_(e,{transfer:[e]})};else if(l)try{f||(n=u("worker_threads"),n&&(f=n.MessageChannel)),f&&(o=new f,i=new l(2),a=function(e){o.port1.postMessage(null,[e])},2===i.byteLength&&(a(i),0===i.byteLength&&(h=a)))}catch(d){}e.exports=h},4055:function(e,t,r){"use strict";var n=r(4475),o=r(34),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:function(e){"use strict";var t=TypeError,r=9007199254740991;e.exports=function(e){if(e>r)throw t("Maximum allowed index exceeded");return e}},7400:function(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:function(e,t,r){"use strict";var n=r(4055),o=n("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},8834:function(e,t,r){"use strict";var n=r(9392),o=n.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},7290:function(e,t,r){"use strict";var n=r(516),o=r(9088);e.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},516:function(e){"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},3202:function(e,t,r){"use strict";var n=r(9392);e.exports=/MSIE|Trident/.test(n)},28:function(e,t,r){"use strict";var n=r(9392);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},8119:function(e,t,r){"use strict";var n=r(9392);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},9088:function(e,t,r){"use strict";var n=r(4475),o=r(4576);e.exports="process"===o(n.process)},6765:function(e,t,r){"use strict";var n=r(9392);e.exports=/web0s(?!.*chrome)/i.test(n)},9392:function(e){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:function(e,t,r){"use strict";var n,o,i=r(4475),a=r(9392),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,_=c&&c.v8;_&&(n=_.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),e.exports=o},9160:function(e,t,r){"use strict";var n=r(9392),o=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},8727:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6193:function(e,t,r){"use strict";var n=r(9504),o=Error,i=n("".replace),a=function(e){return String(new o(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!o.prepareStackTrace)while(t--)e=i(e,s,"");return e}},747:function(e,t,r){"use strict";var n=r(6699),o=r(6193),i=r(4659),a=Error.captureStackTrace;e.exports=function(e,t,r,s){i&&(a?a(e,t):n(e,"stack",o(r,s)))}},4659:function(e,t,r){"use strict";var n=r(9039),o=r(6980);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},6518:function(e,t,r){"use strict";var n=r(4475),o=r(7347).f,i=r(6699),a=r(6840),s=r(9433),u=r(7740),c=r(2796);e.exports=function(e,t){var r,_,l,f,h,d,p=e.target,S=e.global,y=e.stat;if(_=S?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype,_)for(l in t){if(h=t[l],e.dontCallGetSet?(d=o(_,l),f=d&&d.value):f=_[l],r=c(S?l:p+(y?".":"#")+l,e.forced),!r&&void 0!==f){if(typeof h==typeof f)continue;u(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),a(_,l,h,e)}}},9039:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},9228:function(e,t,r){"use strict";r(7495);var n=r(9565),o=r(6840),i=r(7323),a=r(9039),s=r(8227),u=r(6699),c=s("species"),_=RegExp.prototype;e.exports=function(e,t,r,l){var f=s(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),d=h&&!a((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[c]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return t=!0,null},r[f](""),!t}));if(!h||!d||r){var p=/./[f],S=t(f,""[e],(function(e,t,r,o,a){var s=t.exec;return s===i||s===_.exec?h&&!a?{done:!0,value:n(p,t,r,o)}:{done:!0,value:n(e,r,t,o)}:{done:!1}}));o(String.prototype,e,S[0]),o(_,f,S[1])}l&&u(_[f],"sham",!0)}},8745:function(e,t,r){"use strict";var n=r(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},6080:function(e,t,r){"use strict";var n=r(7476),o=r(9306),i=r(616),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},616:function(e,t,r){"use strict";var n=r(9039);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:function(e,t,r){"use strict";var n=r(616),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},350:function(e,t,r){"use strict";var n=r(3724),o=r(9297),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},6706:function(e,t,r){"use strict";var n=r(9504),o=r(9306);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(i){}}},7476:function(e,t,r){"use strict";var n=r(4576),o=r(9504);e.exports=function(e){if("Function"===n(e))return o(e)}},9504:function(e,t,r){"use strict";var n=r(616),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},7751:function(e,t,r){"use strict";var n=r(4475),o=r(4901),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},851:function(e,t,r){"use strict";var n=r(6955),o=r(5966),i=r(4117),a=r(6269),s=r(8227),u=s("iterator");e.exports=function(e){if(!i(e))return o(e,u)||o(e,"@@iterator")||a[n(e)]}},81:function(e,t,r){"use strict";var n=r(9565),o=r(9306),i=r(8551),a=r(6823),s=r(851),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(o(r))return i(n(r,e));throw new u(a(e)+" is not iterable")}},6933:function(e,t,r){"use strict";var n=r(9504),o=r(4376),i=r(4901),a=r(4576),s=r(655),u=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n<t;n++){var c=e[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||u(r,s(c))}var _=r.length,l=!0;return function(e,t){if(l)return l=!1,t;if(o(this))return t;for(var n=0;n<_;n++)if(r[n]===e)return t}}}},5966:function(e,t,r){"use strict";var n=r(9306),o=r(4117);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},2478:function(e,t,r){"use strict";var n=r(9504),o=r(8981),i=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,_=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,l,f){var h=r+e.length,d=n.length,p=_;return void 0!==l&&(l=o(l),p=c),s(f,p,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,h);case"<":c=l[u(s,1,-1)];break;default:var _=+s;if(0===_)return o;if(_>d){var f=i(_/10);return 0===f?o:f<=d?void 0===n[f-1]?a(s,1):n[f-1]+a(s,1):o}c=n[_-1]}return void 0===c?"":c}))}},4475:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(e,t,r){"use strict";var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},421:function(e){"use strict";e.exports={}},3138:function(e){"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(r){}}},397:function(e,t,r){"use strict";var n=r(7751);e.exports=n("document","documentElement")},5917:function(e,t,r){"use strict";var n=r(3724),o=r(9039),i=r(4055);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8490:function(e){"use strict";var t=Array,r=Math.abs,n=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2,s=function(e,s,u){var c,_,l,f=t(u),h=8*u-s-1,d=(1<<h)-1,p=d>>1,S=23===s?n(2,-24)-n(2,-77):0,y=e<0||0===e&&1/e<0?1:0,m=0;e=r(e),e!==e||e===1/0?(_=e!==e?1:0,c=d):(c=o(i(e)/a),l=n(2,-c),e*l<1&&(c--,l*=2),e+=c+p>=1?S/l:S*n(2,1-p),e*l>=2&&(c++,l/=2),c+p>=d?(_=0,c=d):c+p>=1?(_=(e*l-1)*n(2,s),c+=p):(_=e*n(2,p-1)*n(2,s),c=0));while(s>=8)f[m++]=255&_,_/=256,s-=8;c=c<<s|_,h+=s;while(h>0)f[m++]=255&c,c/=256,h-=8;return f[--m]|=128*y,f},u=function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,u=i-7,c=o-1,_=e[c--],l=127&_;_>>=7;while(u>0)l=256*l+e[c--],u-=8;r=l&(1<<-u)-1,l>>=-u,u+=t;while(u>0)r=256*r+e[c--],u-=8;if(0===l)l=1-s;else{if(l===a)return r?NaN:_?-1/0:1/0;r+=n(2,t),l-=s}return(_?-1:1)*r*n(2,l-t)};e.exports={pack:s,unpack:u}},7055:function(e,t,r){"use strict";var n=r(9504),o=r(9039),i=r(4576),a=Object,s=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},3167:function(e,t,r){"use strict";var n=r(4901),o=r(34),i=r(2967);e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},3706:function(e,t,r){"use strict";var n=r(9504),o=r(4901),i=r(7629),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},7584:function(e,t,r){"use strict";var n=r(34),o=r(6699);e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},1181:function(e,t,r){"use strict";var n,o,i,a=r(8622),s=r(4475),u=r(34),c=r(6699),_=r(9297),l=r(7629),f=r(6119),h=r(421),d="Object already initialized",p=s.TypeError,S=s.WeakMap,y=function(e){return i(e)?o(e):n(e,{})},m=function(e){return function(t){var r;if(!u(t)||(r=o(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}};if(a||l.state){var g=l.state||(l.state=new S);g.get=g.get,g.has=g.has,g.set=g.set,n=function(e,t){if(g.has(e))throw new p(d);return t.facade=e,g.set(e,t),t},o=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var v=f("state");h[v]=!0,n=function(e,t){if(_(e,v))throw new p(d);return t.facade=e,c(e,v,t),t},o=function(e){return _(e,v)?e[v]:{}},i=function(e){return _(e,v)}}e.exports={set:n,get:o,has:i,enforce:y,getterFor:m}},4209:function(e,t,r){"use strict";var n=r(8227),o=r(6269),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:function(e,t,r){"use strict";var n=r(4576);e.exports=Array.isArray||function(e){return"Array"===n(e)}},1108:function(e,t,r){"use strict";var n=r(6955);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},4901:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},3517:function(e,t,r){"use strict";var n=r(9504),o=r(9039),i=r(4901),a=r(6955),s=r(7751),u=r(3706),c=function(){},_=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=n(l.exec),h=!l.test(c),d=function(e){if(!i(e))return!1;try{return _(c,[],e),!0}catch(t){return!1}},p=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(l,u(e))}catch(t){return!0}};p.sham=!0,e.exports=!_||o((function(){var e;return d(d.call)||!d(Object)||!d((function(){e=!0}))||e}))?p:d},2796:function(e,t,r){"use strict";var n=r(9039),o=r(4901),i=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r===_||r!==c&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",_=a.POLYFILL="P";e.exports=a},2087:function(e,t,r){"use strict";var n=r(34),o=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&o(e)===e}},4117:function(e){"use strict";e.exports=function(e){return null===e||void 0===e}},34:function(e,t,r){"use strict";var n=r(4901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3925:function(e,t,r){"use strict";var n=r(34);e.exports=function(e){return n(e)||null===e}},6395:function(e){"use strict";e.exports=!1},788:function(e,t,r){"use strict";var n=r(34),o=r(4576),i=r(8227),a=i("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===o(e))}},757:function(e,t,r){"use strict";var n=r(7751),o=r(4901),i=r(1625),a=r(7040),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},2652:function(e,t,r){"use strict";var n=r(6080),o=r(9565),i=r(8551),a=r(6823),s=r(4209),u=r(6198),c=r(1625),_=r(81),l=r(851),f=r(9539),h=TypeError,d=function(e,t){this.stopped=e,this.result=t},p=d.prototype;e.exports=function(e,t,r){var S,y,m,g,v,w,G,b=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),P=!(!r||!r.IS_ITERATOR),A=!(!r||!r.INTERRUPTED),x=n(t,b),C=function(e){return S&&f(S,"normal",e),new d(!0,e)},I=function(e){return E?(i(e),A?x(e[0],e[1],C):x(e[0],e[1])):A?x(e,C):x(e)};if(T)S=e.iterator;else if(P)S=e;else{if(y=l(e),!y)throw new h(a(e)+" is not iterable");if(s(y)){for(m=0,g=u(e);g>m;m++)if(v=I(e[m]),v&&c(p,v))return v;return new d(!1)}S=_(e,y)}w=T?e.next:S.next;while(!(G=o(w,S)).done){try{v=I(G.value)}catch(L){f(S,"throw",L)}if("object"==typeof v&&v&&c(p,v))return v}return new d(!1)}},9539:function(e,t,r){"use strict";var n=r(9565),o=r(8551),i=r(5966);e.exports=function(e,t,r){var a,s;o(e);try{if(a=i(e,"return"),!a){if("throw"===t)throw r;return r}a=n(a,e)}catch(u){s=!0,a=u}if("throw"===t)throw r;if(s)throw a;return o(a),r}},3994:function(e,t,r){"use strict";var n=r(7657).IteratorPrototype,o=r(2360),i=r(6980),a=r(687),s=r(6269),u=function(){return this};e.exports=function(e,t,r,c){var _=t+" Iterator";return e.prototype=o(n,{next:i(+!c,r)}),a(e,_,!1,!0),s[_]=u,e}},1088:function(e,t,r){"use strict";var n=r(6518),o=r(9565),i=r(6395),a=r(350),s=r(4901),u=r(3994),c=r(2787),_=r(2967),l=r(687),f=r(6699),h=r(6840),d=r(8227),p=r(6269),S=r(7657),y=a.PROPER,m=a.CONFIGURABLE,g=S.IteratorPrototype,v=S.BUGGY_SAFARI_ITERATORS,w=d("iterator"),G="keys",b="values",E="entries",T=function(){return this};e.exports=function(e,t,r,a,d,S,P){u(r,t,a);var A,x,C,I=function(e){if(e===d&&M)return M;if(!v&&e&&e in F)return F[e];switch(e){case G:return function(){return new r(this,e)};case b:return function(){return new r(this,e)};case E:return function(){return new r(this,e)}}return function(){return new r(this)}},L=t+" Iterator",O=!1,F=e.prototype,k=F[w]||F["@@iterator"]||d&&F[d],M=!v&&k||I(d),R="Array"===t&&F.entries||k;if(R&&(A=c(R.call(new e)),A!==Object.prototype&&A.next&&(i||c(A)===g||(_?_(A,g):s(A[w])||h(A,w,T)),l(A,L,!0,!0),i&&(p[L]=T))),y&&d===b&&k&&k.name!==b&&(!i&&m?f(F,"name",b):(O=!0,M=function(){return o(k,this)})),d)if(x={values:I(b),keys:S?M:I(G),entries:I(E)},P)for(C in x)(v||O||!(C in F))&&h(F,C,x[C]);else n({target:t,proto:!0,forced:v||O},x);return i&&!P||F[w]===M||h(F,w,M,{name:d}),p[t]=M,x}},7657:function(e,t,r){"use strict";var n,o,i,a=r(9039),s=r(4901),u=r(34),c=r(2360),_=r(2787),l=r(6840),f=r(8227),h=r(6395),d=f("iterator"),p=!1;[].keys&&(i=[].keys(),"next"in i?(o=_(_(i)),o!==Object.prototype&&(n=o)):p=!0);var S=!u(n)||a((function(){var e={};return n[d].call(e)!==e}));S?n={}:h&&(n=c(n)),s(n[d])||l(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},6269:function(e){"use strict";e.exports={}},6198:function(e,t,r){"use strict";var n=r(8014);e.exports=function(e){return n(e.length)}},283:function(e,t,r){"use strict";var n=r(9504),o=r(9039),i=r(4901),a=r(9297),s=r(3724),u=r(350).CONFIGURABLE,c=r(3706),_=r(1181),l=_.enforce,f=_.get,h=String,d=Object.defineProperty,p=n("".slice),S=n("".replace),y=n([].join),m=s&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),g=String(String).split("String"),v=e.exports=function(e,t,r){"Symbol("===p(h(t),0,7)&&(t="["+S(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&a(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var n=l(e);return a(n,"source")||(n.source=y(g,"string"==typeof t?t:"")),e};Function.prototype.toString=v((function(){return i(this)&&f(this).source||c(this)}),"toString")},3164:function(e,t,r){"use strict";var n=r(7782),o=Math.abs,i=2220446049250313e-31,a=1/i,s=function(e){return e+a-a};e.exports=function(e,t,r,a){var u=+e,c=o(u),_=n(u);if(c<a)return _*s(c/a/t)*a*t;var l=(1+t/i)*c,f=l-(l-c);return f>r||f!==f?_*(1/0):_*f}},5617:function(e,t,r){"use strict";var n=r(3164),o=1.1920928955078125e-7,i=34028234663852886e22,a=11754943508222875e-54;e.exports=Math.fround||function(e){return n(e,o,i,a)}},7782:function(e){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!==t?t:t<0?-1:1}},741:function(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},1955:function(e,t,r){"use strict";var n,o,i,a,s,u=r(4475),c=r(3389),_=r(6080),l=r(9225).set,f=r(8265),h=r(8119),d=r(28),p=r(6765),S=r(9088),y=u.MutationObserver||u.WebKitMutationObserver,m=u.document,g=u.process,v=u.Promise,w=c("queueMicrotask");if(!w){var G=new f,b=function(){var e,t;S&&(e=g.domain)&&e.exit();while(t=G.get())try{t()}catch(r){throw G.head&&n(),r}e&&e.enter()};h||S||p||!y||!m?!d&&v&&v.resolve?(a=v.resolve(void 0),a.constructor=v,s=_(a.then,a),n=function(){s(b)}):S?n=function(){g.nextTick(b)}:(l=_(l,u),n=function(){l(b)}):(o=!0,i=m.createTextNode(""),new y(b).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),w=function(e){G.head||n(),G.add(e)}}e.exports=w},6043:function(e,t,r){"use strict";var n=r(9306),o=TypeError,i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new o("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},2603:function(e,t,r){"use strict";var n=r(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},5749:function(e,t,r){"use strict";var n=r(788),o=TypeError;e.exports=function(e){if(n(e))throw new o("The method doesn't accept regular expressions");return e}},4213:function(e,t,r){"use strict";var n=r(3724),o=r(9504),i=r(9565),a=r(9039),s=r(1072),u=r(3717),c=r(8773),_=r(8981),l=r(7055),f=Object.assign,h=Object.defineProperty,d=o([].concat);e.exports=!f||a((function(){if(n&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||s(f({},t)).join("")!==o}))?function(e,t){var r=_(e),o=arguments.length,a=1,f=u.f,h=c.f;while(o>a){var p,S=l(arguments[a++]),y=f?d(s(S),f(S)):s(S),m=y.length,g=0;while(m>g)p=y[g++],n&&!i(h,S,p)||(r[p]=S[p])}return r}:f},2360:function(e,t,r){"use strict";var n,o=r(8551),i=r(6801),a=r(8727),s=r(421),u=r(397),c=r(4055),_=r(6119),l=">",f="<",h="prototype",d="script",p=_("IE_PROTO"),S=function(){},y=function(e){return f+d+l+e+f+"/"+d+l},m=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){var e,t=c("iframe"),r="java"+d+":";return t.style.display="none",u.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}v="undefined"!=typeof document?document.domain&&n?m(n):g():m(n);var e=a.length;while(e--)delete v[h][a[e]];return v()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(S[h]=o(e),r=new S,S[h]=null,r[p]=e):r=v(),void 0===t?r:i.f(r,t)}},6801:function(e,t,r){"use strict";var n=r(3724),o=r(8686),i=r(4913),a=r(8551),s=r(5397),u=r(1072);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);var r,n=s(t),o=u(t),c=o.length,_=0;while(c>_)i.f(e,r=o[_++],n[r]);return e}},4913:function(e,t,r){"use strict";var n=r(3724),o=r(5917),i=r(8686),a=r(8551),s=r(6969),u=TypeError,c=Object.defineProperty,_=Object.getOwnPropertyDescriptor,l="enumerable",f="configurable",h="writable";t.f=n?i?function(e,t,r){if(a(e),t=s(t),a(r),"function"===typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=_(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:l in r?r[l]:n[l],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return c(e,t,r)}catch(n){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},7347:function(e,t,r){"use strict";var n=r(3724),o=r(9565),i=r(8773),a=r(6980),s=r(5397),u=r(6969),c=r(9297),_=r(5917),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=s(e),t=u(t),_)try{return l(e,t)}catch(r){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},298:function(e,t,r){"use strict";var n=r(4576),o=r(5397),i=r(8480).f,a=r(7680),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return i(e)}catch(t){return a(s)}};e.exports.f=function(e){return s&&"Window"===n(e)?u(e):i(o(e))}},8480:function(e,t,r){"use strict";var n=r(1828),o=r(8727),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},3717:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},2787:function(e,t,r){"use strict";var n=r(9297),o=r(4901),i=r(8981),a=r(6119),s=r(2211),u=a("IE_PROTO"),c=Object,_=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(n(t,u))return t[u];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof c?_:null}},1625:function(e,t,r){"use strict";var n=r(9504);e.exports=n({}.isPrototypeOf)},1828:function(e,t,r){"use strict";var n=r(9504),o=r(9297),i=r(5397),a=r(9617).indexOf,s=r(421),u=n([].push);e.exports=function(e,t){var r,n=i(e),c=0,_=[];for(r in n)!o(s,r)&&o(n,r)&&u(_,r);while(t.length>c)o(n,r=t[c++])&&(~a(_,r)||u(_,r));return _}},1072:function(e,t,r){"use strict";var n=r(1828),o=r(8727);e.exports=Object.keys||function(e){return n(e,o)}},8773:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},2967:function(e,t,r){"use strict";var n=r(6706),o=r(34),i=r(7750),a=r(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=n(Object.prototype,"__proto__","set"),e(r,[]),t=r instanceof Array}catch(s){}return function(r,n){return i(r),a(n),o(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},3179:function(e,t,r){"use strict";var n=r(2140),o=r(6955);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},4270:function(e,t,r){"use strict";var n=r(9565),o=r(4901),i=r(34),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!i(s=n(r,e)))return s;if(o(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!i(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},5031:function(e,t,r){"use strict";var n=r(7751),o=r(9504),i=r(8480),a=r(3717),s=r(8551),u=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?u(t,r(e)):t}},9167:function(e,t,r){"use strict";var n=r(4475);e.exports=n},1103:function(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},916:function(e,t,r){"use strict";var n=r(4475),o=r(550),i=r(4901),a=r(2796),s=r(3706),u=r(8227),c=r(7290),_=r(516),l=r(6395),f=r(7388),h=o&&o.prototype,d=u("species"),p=!1,S=i(n.PromiseRejectionEvent),y=a("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===f)return!0;if(l&&(!h["catch"]||!h["finally"]))return!0;if(!f||f<51||!/native code/.test(e)){var r=new o((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},i=r.constructor={};if(i[d]=n,p=r.then((function(){}))instanceof n,!p)return!0}return!t&&(c||_)&&!S}));e.exports={CONSTRUCTOR:y,REJECTION_EVENT:S,SUBCLASSING:p}},550:function(e,t,r){"use strict";var n=r(4475);e.exports=n.Promise},3438:function(e,t,r){"use strict";var n=r(8551),o=r(34),i=r(6043);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},537:function(e,t,r){"use strict";var n=r(550),o=r(4428),i=r(916).CONSTRUCTOR;e.exports=i||!o((function(e){n.all(e).then(void 0,(function(){}))}))},1056:function(e,t,r){"use strict";var n=r(4913).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},8265:function(e){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e){var t=this.head=e.next;return null===t&&(this.tail=null),e.item}}},e.exports=t},6682:function(e,t,r){"use strict";var n=r(9565),o=r(8551),i=r(4901),a=r(4576),s=r(7323),u=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var c=n(r,e,t);return null!==c&&o(c),c}if("RegExp"===a(e))return n(s,e,t);throw new u("RegExp#exec called on incompatible receiver")}},7323:function(e,t,r){"use strict";var n=r(9565),o=r(9504),i=r(655),a=r(7979),s=r(8429),u=r(5745),c=r(2360),_=r(1181).get,l=r(3635),f=r(8814),h=u("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,S=o("".charAt),y=o("".indexOf),m=o("".replace),g=o("".slice),v=function(){var e=/a/,t=/b*/g;return n(d,e,"a"),n(d,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),w=s.BROKEN_CARET,G=void 0!==/()??/.exec("")[1],b=v||G||w||l||f;b&&(p=function(e){var t,r,o,s,u,l,f,b=this,E=_(b),T=i(e),P=E.raw;if(P)return P.lastIndex=b.lastIndex,t=n(p,P,T),b.lastIndex=P.lastIndex,t;var A=E.groups,x=w&&b.sticky,C=n(a,b),I=b.source,L=0,O=T;if(x&&(C=m(C,"y",""),-1===y(C,"g")&&(C+="g"),O=g(T,b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&"\n"!==S(T,b.lastIndex-1))&&(I="(?: "+I+")",O=" "+O,L++),r=new RegExp("^(?:"+I+")",C)),G&&(r=new RegExp("^"+I+"$(?!\\s)",C)),v&&(o=b.lastIndex),s=n(d,x?r:b,O),x?s?(s.input=g(s.input,L),s[0]=g(s[0],L),s.index=b.lastIndex,b.lastIndex+=s[0].length):b.lastIndex=0:v&&s&&(b.lastIndex=b.global?s.index+s[0].length:o),G&&s&&s.length>1&&n(h,s[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&A)for(s.groups=l=c(null),u=0;u<A.length;u++)f=A[u],l[f[0]]=s[f[1]];return s}),e.exports=p},7979:function(e,t,r){"use strict";var n=r(8551);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},1034:function(e,t,r){"use strict";var n=r(9565),o=r(9297),i=r(1625),a=r(7979),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:n(a,e)}},8429:function(e,t,r){"use strict";var n=r(9039),o=r(4475),i=o.RegExp,a=n((function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),s=a||n((function(){return!i("a","y").sticky})),u=a||n((function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:u,MISSED_STICKY:s,UNSUPPORTED_Y:a}},3635:function(e,t,r){"use strict";var n=r(9039),o=r(4475),i=o.RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:function(e,t,r){"use strict";var n=r(9039),o=r(4475),i=o.RegExp;e.exports=n((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},7750:function(e,t,r){"use strict";var n=r(4117),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},3389:function(e,t,r){"use strict";var n=r(4475),o=r(3724),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!o)return n[e];var t=i(n,e);return t&&t.value}},7633:function(e,t,r){"use strict";var n=r(7751),o=r(2106),i=r(8227),a=r(3724),s=i("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},687:function(e,t,r){"use strict";var n=r(4913).f,o=r(9297),i=r(8227),a=i("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,a)&&n(e,a,{configurable:!0,value:t})}},6119:function(e,t,r){"use strict";var n=r(5745),o=r(3392),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:function(e,t,r){"use strict";var n=r(6395),o=r(4475),i=r(9433),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(e,t,r){"use strict";var n=r(7629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},2293:function(e,t,r){"use strict";var n=r(8551),o=r(5548),i=r(4117),a=r(8227),s=a("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||i(r=n(a)[s])?t:o(r)}},3061:function(e,t,r){"use strict";var n=r(9039);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},8183:function(e,t,r){"use strict";var n=r(9504),o=r(1291),i=r(655),a=r(7750),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),_=function(e){return function(t,r){var n,_,l=i(a(t)),f=o(r),h=l.length;return f<0||f>=h?e?"":void 0:(n=u(l,f),n<55296||n>56319||f+1===h||(_=u(l,f+1))<56320||_>57343?e?s(l,f):n:e?c(l,f,f+2):_-56320+(n-55296<<10)+65536)}};e.exports={codeAt:_(!1),charAt:_(!0)}},3063:function(e,t,r){"use strict";var n=r(9392);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},533:function(e,t,r){"use strict";var n=r(9504),o=r(8014),i=r(655),a=r(2333),s=r(7750),u=n(a),c=n("".slice),_=Math.ceil,l=function(e){return function(t,r,n){var a,l,f=i(s(t)),h=o(r),d=f.length,p=void 0===n?" ":i(n);return h<=d||""===p?f:(a=h-d,l=u(p,_(a/p.length)),l.length>a&&(l=c(l,0,a)),e?f+l:l+f)}};e.exports={start:l(!1),end:l(!0)}},6098:function(e,t,r){"use strict";var n=r(9504),o=2147483647,i=36,a=1,s=26,u=38,c=700,_=72,l=128,f="-",h=/[^\0-\u007E]/,d=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",S=i-a,y=RangeError,m=n(d.exec),g=Math.floor,v=String.fromCharCode,w=n("".charCodeAt),G=n([].join),b=n([].push),E=n("".replace),T=n("".split),P=n("".toLowerCase),A=function(e){var t=[],r=0,n=e.length;while(r<n){var o=w(e,r++);if(o>=55296&&o<=56319&&r<n){var i=w(e,r++);56320===(64512&i)?b(t,((1023&o)<<10)+(1023&i)+65536):(b(t,o),r--)}else b(t,o)}return t},x=function(e){return e+22+75*(e<26)},C=function(e,t,r){var n=0;e=r?g(e/c):e>>1,e+=g(e/t);while(e>S*s>>1)e=g(e/S),n+=i;return g(n+(S+1)*e/(e+u))},I=function(e){var t=[];e=A(e);var r,n,u=e.length,c=l,h=0,d=_;for(r=0;r<e.length;r++)n=e[r],n<128&&b(t,v(n));var S=t.length,m=S;S&&b(t,f);while(m<u){var w=o;for(r=0;r<e.length;r++)n=e[r],n>=c&&n<w&&(w=n);var E=m+1;if(w-c>g((o-h)/E))throw new y(p);for(h+=(w-c)*E,c=w,r=0;r<e.length;r++){if(n=e[r],n<c&&++h>o)throw new y(p);if(n===c){var T=h,P=i;while(1){var I=P<=d?a:P>=d+s?s:P-d;if(T<I)break;var L=T-I,O=i-I;b(t,v(x(I+L%O))),T=g(L/O),P+=i}b(t,v(x(T))),d=C(h,E,m===S),h=0,m++}}h++,c++}return G(t,"")};e.exports=function(e){var t,r,n=[],o=T(E(P(e),d,"."),".");for(t=0;t<o.length;t++)r=o[t],b(n,m(h,r)?"xn--"+I(r):r);return G(n,".")}},2333:function(e,t,r){"use strict";var n=r(1291),o=r(655),i=r(7750),a=RangeError;e.exports=function(e){var t=o(i(this)),r="",s=n(e);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},706:function(e,t,r){"use strict";var n=r(350).PROPER,o=r(9039),i=r(7452),a="
";e.exports=function(e){return o((function(){return!!i[e]()||a[e]()!==a||n&&i[e].name!==e}))}},3802:function(e,t,r){"use strict";var n=r(9504),o=r(7750),i=r(655),a=r(7452),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),_=function(e){return function(t){var r=i(o(t));return 1&e&&(r=s(r,u,"")),2&e&&(r=s(r,c,"$1")),r}};e.exports={start:_(1),end:_(2),trim:_(3)}},1548:function(e,t,r){"use strict";var n=r(4475),o=r(9039),i=r(7388),a=r(7290),s=r(516),u=r(9088),c=n.structuredClone;e.exports=!!c&&!o((function(){if(s&&i>92||u&&i>94||a&&i>97)return!1;var e=new ArrayBuffer(8),t=c(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},4495:function(e,t,r){"use strict";var n=r(7388),o=r(9039),i=r(4475),a=i.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8242:function(e,t,r){"use strict";var n=r(9565),o=r(7751),i=r(8227),a=r(6840);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return n(r,this)}),{arity:1})}},1296:function(e,t,r){"use strict";var n=r(4495);e.exports=n&&!!Symbol["for"]&&!!Symbol.keyFor},9225:function(e,t,r){"use strict";var n,o,i,a,s=r(4475),u=r(8745),c=r(6080),_=r(4901),l=r(9297),f=r(9039),h=r(397),d=r(7680),p=r(4055),S=r(2812),y=r(8119),m=r(9088),g=s.setImmediate,v=s.clearImmediate,w=s.process,G=s.Dispatch,b=s.Function,E=s.MessageChannel,T=s.String,P=0,A={},x="onreadystatechange";f((function(){n=s.location}));var C=function(e){if(l(A,e)){var t=A[e];delete A[e],t()}},I=function(e){return function(){C(e)}},L=function(e){C(e.data)},O=function(e){s.postMessage(T(e),n.protocol+"//"+n.host)};g&&v||(g=function(e){S(arguments.length,1);var t=_(e)?e:b(e),r=d(arguments,1);return A[++P]=function(){u(t,void 0,r)},o(P),P},v=function(e){delete A[e]},m?o=function(e){w.nextTick(I(e))}:G&&G.now?o=function(e){G.now(I(e))}:E&&!y?(i=new E,a=i.port2,i.port1.onmessage=L,o=c(a.postMessage,a)):s.addEventListener&&_(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(O)?(o=O,s.addEventListener("message",L,!1)):o=x in p("script")?function(e){h.appendChild(p("script"))[x]=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:g,clear:v}},1240:function(e,t,r){"use strict";var n=r(9504);e.exports=n(1..valueOf)},5610:function(e,t,r){"use strict";var n=r(1291),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},5854:function(e,t,r){"use strict";var n=r(2777),o=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},7696:function(e,t,r){"use strict";var n=r(1291),o=r(8014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw new i("Wrong length or index");return r}},5397:function(e,t,r){"use strict";var n=r(7055),o=r(7750);e.exports=function(e){return n(o(e))}},1291:function(e,t,r){"use strict";var n=r(741);e.exports=function(e){var t=+e;return t!==t||0===t?0:n(t)}},8014:function(e,t,r){"use strict";var n=r(1291),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},8981:function(e,t,r){"use strict";var n=r(7750),o=Object;e.exports=function(e){return o(n(e))}},8229:function(e,t,r){"use strict";var n=r(9590),o=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new o("Wrong offset");return r}},9590:function(e,t,r){"use strict";var n=r(1291),o=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new o("The argument can't be less than 0");return t}},2777:function(e,t,r){"use strict";var n=r(9565),o=r(34),i=r(757),a=r(5966),s=r(4270),u=r(8227),c=TypeError,_=u("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,u=a(e,_);if(u){if(void 0===t&&(t="default"),r=n(u,e,t),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},6969:function(e,t,r){"use strict";var n=r(2777),o=r(757);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},2140:function(e,t,r){"use strict";var n=r(8227),o=n("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},655:function(e,t,r){"use strict";var n=r(6955),o=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},8319:function(e){"use strict";var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},9714:function(e,t,r){"use strict";var n=r(9088);e.exports=function(e){try{if(n)return Function('return require("'+e+'")')()}catch(t){}}},6823:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(r){return"Object"}}},5823:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(9565),a=r(3724),s=r(2805),u=r(4644),c=r(6346),_=r(679),l=r(6980),f=r(6699),h=r(2087),d=r(8014),p=r(7696),S=r(8229),y=r(8319),m=r(6969),g=r(9297),v=r(6955),w=r(34),G=r(757),b=r(2360),E=r(1625),T=r(2967),P=r(8480).f,A=r(3251),x=r(9213).forEach,C=r(7633),I=r(2106),L=r(4913),O=r(7347),F=r(5370),k=r(1181),M=r(3167),R=k.get,D=k.set,B=k.enforce,N=L.f,U=O.f,j=o.RangeError,H=c.ArrayBuffer,V=H.prototype,K=c.DataView,z=u.NATIVE_ARRAY_BUFFER_VIEWS,W=u.TYPED_ARRAY_TAG,q=u.TypedArray,Y=u.TypedArrayPrototype,X=u.isTypedArray,$="BYTES_PER_ELEMENT",J="Wrong length",Z=function(e,t){I(e,t,{configurable:!0,get:function(){return R(this)[t]}})},Q=function(e){var t;return E(V,e)||"ArrayBuffer"===(t=v(e))||"SharedArrayBuffer"===t},ee=function(e,t){return X(e)&&!G(t)&&t in e&&h(+t)&&t>=0},te=function(e,t){return t=m(t),ee(e,t)?l(2,e[t]):U(e,t)},re=function(e,t,r){return t=m(t),!(ee(e,t)&&w(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?N(e,t,r):(e[t]=r.value,e)};a?(z||(O.f=te,L.f=re,Z(Y,"buffer"),Z(Y,"byteOffset"),Z(Y,"byteLength"),Z(Y,"length")),n({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var a=e.match(/\d+/)[0]/8,u=e+(r?"Clamped":"")+"Array",c="get"+e,l="set"+e,h=o[u],m=h,g=m&&m.prototype,v={},G=function(e,t){var r=R(e);return r.view[c](t*a+r.byteOffset,!0)},E=function(e,t,n){var o=R(e);o.view[l](t*a+o.byteOffset,r?y(n):n,!0)},I=function(e,t){N(e,t,{get:function(){return G(this,t)},set:function(e){return E(this,t,e)},enumerable:!0})};z?s&&(m=t((function(e,t,r,n){return _(e,g),M(function(){return w(t)?Q(t)?void 0!==n?new h(t,S(r,a),n):void 0!==r?new h(t,S(r,a)):new h(t):X(t)?F(m,t):i(A,m,t):new h(p(t))}(),e,m)})),T&&T(m,q),x(P(h),(function(e){e in m||f(m,e,h[e])})),m.prototype=g):(m=t((function(e,t,r,n){_(e,g);var o,s,u,c=0,l=0;if(w(t)){if(!Q(t))return X(t)?F(m,t):i(A,m,t);o=t,l=S(r,a);var f=t.byteLength;if(void 0===n){if(f%a)throw new j(J);if(s=f-l,s<0)throw new j(J)}else if(s=d(n)*a,s+l>f)throw new j(J);u=s/a}else u=p(t),s=u*a,o=new H(s);D(e,{buffer:o,byteOffset:l,byteLength:s,length:u,view:new K(o)});while(c<u)I(e,c++)})),T&&T(m,q),g=m.prototype=b(Y)),g.constructor!==m&&f(g,"constructor",m),B(g).TypedArrayConstructor=m,W&&f(g,W,u);var L=m!==h;v[u]=m,n({global:!0,constructor:!0,forced:L,sham:!z},v),$ in m||f(m,$,a),$ in g||f(g,$,a),C(u)}):e.exports=function(){}},2805:function(e,t,r){"use strict";var n=r(4475),o=r(9039),i=r(4428),a=r(4644).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;e.exports=!a||!o((function(){u(1)}))||!o((function(){new u(-1)}))||!i((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||o((function(){return 1!==new u(new s(2),1,void 0).length}))},6357:function(e,t,r){"use strict";var n=r(5370),o=r(1412);e.exports=function(e,t){return n(o(e),t)}},3251:function(e,t,r){"use strict";var n=r(6080),o=r(9565),i=r(5548),a=r(8981),s=r(6198),u=r(81),c=r(851),_=r(4209),l=r(1108),f=r(4644).aTypedArrayConstructor,h=r(5854);e.exports=function(e){var t,r,d,p,S,y,m,g,v=i(this),w=a(e),G=arguments.length,b=G>1?arguments[1]:void 0,E=void 0!==b,T=c(w);if(T&&!_(T)){m=u(w,T),g=m.next,w=[];while(!(y=o(g,m)).done)w.push(y.value)}for(E&&G>2&&(b=n(b,arguments[2])),r=s(w),d=new(f(v))(r),p=l(d),t=0;r>t;t++)S=E?b(w[t],t):w[t],d[t]=p?h(S):+S;return d}},1412:function(e,t,r){"use strict";var n=r(4644),o=r(2293),i=n.aTypedArrayConstructor,a=n.getTypedArrayConstructor;e.exports=function(e){return i(o(e,a(e)))}},3392:function(e,t,r){"use strict";var n=r(9504),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7416:function(e,t,r){"use strict";var n=r(9039),o=r(8227),i=r(3724),a=r(6395),s=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),r["delete"]("a",2),r["delete"]("b",void 0),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},7040:function(e,t,r){"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(e,t,r){"use strict";var n=r(3724),o=r(9039);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:function(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},8622:function(e,t,r){"use strict";var n=r(4475),o=r(4901),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:function(e,t,r){"use strict";var n=r(9167),o=r(9297),i=r(1951),a=r(4913).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},1951:function(e,t,r){"use strict";var n=r(8227);t.f=n},8227:function(e,t,r){"use strict";var n=r(4475),o=r(5745),i=r(9297),a=r(3392),s=r(4495),u=r(7040),c=n.Symbol,_=o("wks"),l=u?c["for"]||c:c&&c.withoutSetter||a;e.exports=function(e){return i(_,e)||(_[e]=s&&i(c,e)?c[e]:l("Symbol."+e)),_[e]}},7452:function(e){"use strict";e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},4601:function(e,t,r){"use strict";var n=r(7751),o=r(9297),i=r(6699),a=r(1625),s=r(2967),u=r(7740),c=r(1056),_=r(3167),l=r(2603),f=r(7584),h=r(747),d=r(3724),p=r(6395);e.exports=function(e,t,r,S){var y="stackTraceLimit",m=S?2:1,g=e.split("."),v=g[g.length-1],w=n.apply(null,g);if(w){var G=w.prototype;if(!p&&o(G,"cause")&&delete G.cause,!r)return w;var b=n("Error"),E=t((function(e,t){var r=l(S?t:e,void 0),n=S?new w(e):new w;return void 0!==r&&i(n,"message",r),h(n,E,n.stack,2),this&&a(G,this)&&_(n,this,E),arguments.length>m&&f(n,arguments[m]),n}));if(E.prototype=G,"Error"!==v?s?s(E,b):u(E,b,{name:!0}):d&&y in w&&(c(E,w,y),c(E,w,"prepareStackTrace")),u(E,w),!p)try{G.name!==v&&i(G,"name",v),G.constructor=E}catch(T){}return E}}},4743:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(6346),a=r(7633),s="ArrayBuffer",u=i[s],c=o[s];n({global:!0,constructor:!0,forced:c!==u},{ArrayBuffer:u}),a(s)},6573:function(e,t,r){"use strict";var n=r(3724),o=r(2106),i=r(3238),a=ArrayBuffer.prototype;n&&!("detached"in a)&&o(a,"detached",{configurable:!0,get:function(){return i(this)}})},9142:function(e,t,r){"use strict";var n=r(6518),o=r(4644),i=o.NATIVE_ARRAY_BUFFER_VIEWS;n({target:"ArrayBuffer",stat:!0,forced:!i},{isView:o.isView})},1745:function(e,t,r){"use strict";var n=r(6518),o=r(7476),i=r(9039),a=r(6346),s=r(8551),u=r(5610),c=r(8014),_=r(2293),l=a.ArrayBuffer,f=a.DataView,h=f.prototype,d=o(l.prototype.slice),p=o(h.getUint8),S=o(h.setUint8),y=i((function(){return!new l(2).slice(1,void 0).byteLength}));n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:y},{slice:function(e,t){if(d&&void 0===t)return d(s(this),e);var r=s(this).byteLength,n=u(e,r),o=u(void 0===t?r:t,r),i=new(_(this,l))(c(o-n)),a=new f(this),h=new f(i),y=0;while(n<o)S(h,y++,p(a,n++));return i}})},7936:function(e,t,r){"use strict";var n=r(6518),o=r(5636);o&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},8100:function(e,t,r){"use strict";var n=r(6518),o=r(5636);o&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},8706:function(e,t,r){"use strict";var n=r(6518),o=r(9039),i=r(4376),a=r(34),s=r(8981),u=r(6198),c=r(6837),_=r(2278),l=r(1469),f=r(597),h=r(8227),d=r(7388),p=h("isConcatSpreadable"),S=d>=51||!o((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)},m=!S||!f("concat");n({target:"Array",proto:!0,arity:1,forced:m},{concat:function(e){var t,r,n,o,i,a=s(this),f=l(a,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(i=-1===t?a:arguments[t],y(i))for(o=u(i),c(h+o),r=0;r<o;r++,h++)r in i&&_(f,h,i[r]);else c(h+1),_(f,h++,i);return f.length=h,f}})},6835:function(e,t,r){"use strict";var n=r(6518),o=r(7029),i=r(6469);n({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},3771:function(e,t,r){"use strict";var n=r(6518),o=r(4373),i=r(6469);n({target:"Array",proto:!0},{fill:o}),i("fill")},2008:function(e,t,r){"use strict";var n=r(6518),o=r(9213).filter,i=r(597),a=i("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},4423:function(e,t,r){"use strict";var n=r(6518),o=r(9617).includes,i=r(9039),a=r(6469),s=i((function(){return!Array(1).includes()}));n({target:"Array",proto:!0,forced:s},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},3792:function(e,t,r){"use strict";var n=r(5397),o=r(6469),i=r(6269),a=r(1181),s=r(4913).f,u=r(1088),c=r(2529),_=r(6395),l=r(3724),f="Array Iterator",h=a.set,d=a.getterFor(f);e.exports=u(Array,"Array",(function(e,t){h(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,c(void 0,!0);switch(e.kind){case"keys":return c(r,!1);case"values":return c(t[r],!1)}return c([r,t[r]],!1)}),"values");var p=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!_&&l&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(S){}},8598:function(e,t,r){"use strict";var n=r(6518),o=r(9504),i=r(7055),a=r(5397),s=r(4598),u=o([].join),c=i!==Object,_=c||!s("join",",");n({target:"Array",proto:!0,forced:_},{join:function(e){return u(a(this),void 0===e?",":e)}})},4114:function(e,t,r){"use strict";var n=r(6518),o=r(8981),i=r(6198),a=r(4527),s=r(6837),u=r(9039),c=u((function(){return 4294967297!==[].push.call({length:4294967296},1)})),_=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},l=c||!_();n({target:"Array",proto:!0,arity:1,forced:l},{push:function(e){var t=o(this),r=i(t),n=arguments.length;s(r+n);for(var u=0;u<n;u++)t[r]=arguments[u],r++;return a(t,r),r}})},4782:function(e,t,r){"use strict";var n=r(6518),o=r(4376),i=r(3517),a=r(34),s=r(5610),u=r(6198),c=r(5397),_=r(2278),l=r(8227),f=r(597),h=r(7680),d=f("slice"),p=l("species"),S=Array,y=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,l,f=c(this),d=u(f),m=s(e,d),g=s(void 0===t?d:t,d);if(o(f)&&(r=f.constructor,i(r)&&(r===S||o(r.prototype))?r=void 0:a(r)&&(r=r[p],null===r&&(r=void 0)),r===S||void 0===r))return h(f,m,g);for(n=new(void 0===r?S:r)(y(g-m,0)),l=0;m<g;m++,l++)m in f&&_(n,l,f[m]);return n.length=l,n}})},4554:function(e,t,r){"use strict";var n=r(6518),o=r(8981),i=r(5610),a=r(1291),s=r(6198),u=r(4527),c=r(6837),_=r(1469),l=r(2278),f=r(4606),h=r(597),d=h("splice"),p=Math.max,S=Math.min;n({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var r,n,h,d,y,m,g=o(this),v=s(g),w=i(e,v),G=arguments.length;for(0===G?r=n=0:1===G?(r=0,n=v-w):(r=G-2,n=S(p(a(t),0),v-w)),c(v+r-n),h=_(g,n),d=0;d<n;d++)y=w+d,y in g&&l(h,d,g[y]);if(h.length=n,r<n){for(d=w;d<v-n;d++)y=d+n,m=d+r,y in g?g[m]=g[y]:f(g,m);for(d=v;d>v-n+r;d--)f(g,d-1)}else if(r>n)for(d=v-n;d>w;d--)y=d+n-1,m=d+r-1,y in g?g[m]=g[y]:f(g,m);for(d=0;d<r;d++)g[d+w]=arguments[d+2];return u(g,v-n+r),h}})},6280:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(8745),a=r(4601),s="WebAssembly",u=o[s],c=7!==new Error("e",{cause:7}).cause,_=function(e,t){var r={};r[e]=a(e,t,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},l=function(e,t){if(u&&u[e]){var r={};r[e]=a(s+"."+e,t,c),n({target:s,stat:!0,constructor:!0,arity:1,forced:c},r)}};_("Error",(function(e){return function(t){return i(e,this,arguments)}})),_("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),_("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),_("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),_("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),_("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),_("URIError",(function(e){return function(t){return i(e,this,arguments)}})),l("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),l("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),l("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},2010:function(e,t,r){"use strict";var n=r(3724),o=r(350).EXISTS,i=r(9504),a=r(2106),s=Function.prototype,u=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,_=i(c.exec),l="name";n&&!o&&a(s,l,{configurable:!0,get:function(){try{return _(c,u(this))[1]}catch(e){return""}}})},5081:function(e,t,r){"use strict";var n=r(6518),o=r(4475);n({global:!0,forced:o.globalThis!==o},{globalThis:o})},3110:function(e,t,r){"use strict";var n=r(6518),o=r(7751),i=r(8745),a=r(9565),s=r(9504),u=r(9039),c=r(4901),_=r(757),l=r(7680),f=r(6933),h=r(4495),d=String,p=o("JSON","stringify"),S=s(/./.exec),y=s("".charAt),m=s("".charCodeAt),g=s("".replace),v=s(1..toString),w=/[\uD800-\uDFFF]/g,G=/^[\uD800-\uDBFF]$/,b=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var e=o("Symbol")("stringify detection");return"[null]"!==p([e])||"{}"!==p({a:e})||"{}"!==p(Object(e))})),T=u((function(){return'"\\udf06\\ud834"'!==p("\udf06\ud834")||'"\\udead"'!==p("\udead")})),P=function(e,t){var r=l(arguments),n=f(t);if(c(n)||void 0!==e&&!_(e))return r[1]=function(e,t){if(c(n)&&(t=a(n,this,d(e),t)),!_(t))return t},i(p,null,r)},A=function(e,t,r){var n=y(r,t-1),o=y(r,t+1);return S(G,e)&&!S(b,o)||S(b,e)&&!S(G,n)?"\\u"+v(m(e,0),16):e};p&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(e,t,r){var n=l(arguments),o=i(E?P:p,null,n);return T&&"string"==typeof o?g(o,w,A):o}})},8085:function(e,t,r){"use strict";var n=r(6518),o=Math.floor,i=Math.log,a=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(e){var t=e>>>0;return t?31-o(i(t+.5)*a):32}})},605:function(e,t,r){"use strict";var n=r(6518),o=r(5617);n({target:"Math",stat:!0},{fround:o})},2152:function(e,t,r){"use strict";var n=r(6518),o=r(9039),i=Math.imul,a=o((function(){return-5!==i(4294967295,5)||2!==i.length}));n({target:"Math",stat:!0,forced:a},{imul:function(e,t){var r=65535,n=+e,o=+t,i=r&n,a=r&o;return 0|i*a+((r&n>>>16)*a+i*(r&o>>>16)<<16>>>0)}})},761:function(e,t,r){"use strict";var n=r(6518),o=r(741);n({target:"Math",stat:!0},{trunc:o})},2892:function(e,t,r){"use strict";var n=r(6518),o=r(6395),i=r(3724),a=r(4475),s=r(9167),u=r(9504),c=r(2796),_=r(9297),l=r(3167),f=r(1625),h=r(757),d=r(2777),p=r(9039),S=r(8480).f,y=r(7347).f,m=r(4913).f,g=r(1240),v=r(3802).trim,w="Number",G=a[w],b=s[w],E=G.prototype,T=a.TypeError,P=u("".slice),A=u("".charCodeAt),x=function(e){var t=d(e,"number");return"bigint"==typeof t?t:C(t)},C=function(e){var t,r,n,o,i,a,s,u,c=d(e,"number");if(h(c))throw new T("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=v(c),t=A(c,0),43===t||45===t){if(r=A(c,2),88===r||120===r)return NaN}else if(48===t){switch(A(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(i=P(c,2),a=i.length,s=0;s<a;s++)if(u=A(i,s),u<48||u>o)return NaN;return parseInt(i,n)}return+c},I=c(w,!G(" 0o1")||!G("0b1")||G("+0x1")),L=function(e){return f(E,e)&&p((function(){g(e)}))},O=function(e){var t=arguments.length<1?0:G(x(e));return L(this)?l(Object(t),this,O):t};O.prototype=E,I&&!o&&(E.constructor=O),n({global:!0,constructor:!0,wrap:!0,forced:I},{Number:O});var F=function(e,t){for(var r,n=i?S(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)_(t,r=n[o])&&!_(e,r)&&m(e,r,y(t,r))};o&&b&&F(s[w],b),(I||o)&&F(s[w],G)},9085:function(e,t,r){"use strict";var n=r(6518),o=r(4213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},3851:function(e,t,r){"use strict";var n=r(6518),o=r(9039),i=r(5397),a=r(7347).f,s=r(3724),u=!s||o((function(){a(1)}));n({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},9773:function(e,t,r){"use strict";var n=r(6518),o=r(4495),i=r(9039),a=r(3717),s=r(8981),u=!o||i((function(){a.f(1)}));n({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},9432:function(e,t,r){"use strict";var n=r(6518),o=r(8981),i=r(1072),a=r(9039),s=a((function(){i(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return i(o(e))}})},3548:function(e,t,r){"use strict";var n=r(3724),o=r(2106),i=r(34),a=r(3925),s=r(8981),u=r(7750),c=Object.getPrototypeOf,_=Object.setPrototypeOf,l=Object.prototype,f="__proto__";if(n&&c&&_&&!(f in l))try{o(l,f,{configurable:!0,get:function(){return c(s(this))},set:function(e){var t=u(this);a(e)&&i(t)&&_(t,e)}})}catch(h){}},287:function(e,t,r){"use strict";var n=r(6518),o=r(2967);n({target:"Object",stat:!0},{setPrototypeOf:o})},6099:function(e,t,r){"use strict";var n=r(2140),o=r(6840),i=r(3179);n||o(Object.prototype,"toString",i,{unsafe:!0})},6499:function(e,t,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),a=r(6043),s=r(1103),u=r(2652),c=r(537);n({target:"Promise",stat:!0,forced:c},{all:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,_=s((function(){var r=i(t.resolve),a=[],s=0,_=1;u(e,(function(e){var i=s++,u=!1;_++,o(r,t,e).then((function(e){u||(u=!0,a[i]=e,--_||n(a))}),c)})),--_||n(a)}));return _.error&&c(_.value),r.promise}})},2003:function(e,t,r){"use strict";var n=r(6518),o=r(6395),i=r(916).CONSTRUCTOR,a=r(550),s=r(7751),u=r(4901),c=r(6840),_=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&u(a)){var l=s("Promise").prototype["catch"];_["catch"]!==l&&c(_,"catch",l,{unsafe:!0})}},436:function(e,t,r){"use strict";var n,o,i,a,s=r(6518),u=r(6395),c=r(9088),_=r(4475),l=r(9565),f=r(6840),h=r(2967),d=r(687),p=r(7633),S=r(9306),y=r(4901),m=r(34),g=r(679),v=r(2293),w=r(9225).set,G=r(1955),b=r(3138),E=r(1103),T=r(8265),P=r(1181),A=r(550),x=r(916),C=r(6043),I="Promise",L=x.CONSTRUCTOR,O=x.REJECTION_EVENT,F=x.SUBCLASSING,k=P.getterFor(I),M=P.set,R=A&&A.prototype,D=A,B=R,N=_.TypeError,U=_.document,j=_.process,H=C.f,V=H,K=!!(U&&U.createEvent&&_.dispatchEvent),z="unhandledrejection",W="rejectionhandled",q=0,Y=1,X=2,$=1,J=2,Z=function(e){var t;return!(!m(e)||!y(t=e.then))&&t},Q=function(e,t){var r,n,o,i=t.value,a=t.state===Y,s=a?e.ok:e.fail,u=e.resolve,c=e.reject,_=e.domain;try{s?(a||(t.rejection===J&&oe(t),t.rejection=$),!0===s?r=i:(_&&_.enter(),r=s(i),_&&(_.exit(),o=!0)),r===e.promise?c(new N("Promise-chain cycle")):(n=Z(r))?l(n,r,u,c):u(r)):c(i)}catch(f){_&&!o&&_.exit(),c(f)}},ee=function(e,t){e.notified||(e.notified=!0,G((function(){var r,n=e.reactions;while(r=n.get())Q(r,e);e.notified=!1,t&&!e.rejection&&re(e)})))},te=function(e,t,r){var n,o;K?(n=U.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),_.dispatchEvent(n)):n={promise:t,reason:r},!O&&(o=_["on"+e])?o(n):e===z&&b("Unhandled promise rejection",r)},re=function(e){l(w,_,(function(){var t,r=e.facade,n=e.value,o=ne(e);if(o&&(t=E((function(){c?j.emit("unhandledRejection",n,r):te(z,r,n)})),e.rejection=c||ne(e)?J:$,t.error))throw t.value}))},ne=function(e){return e.rejection!==$&&!e.parent},oe=function(e){l(w,_,(function(){var t=e.facade;c?j.emit("rejectionHandled",t):te(W,t,e.value)}))},ie=function(e,t,r){return function(n){e(t,n,r)}},ae=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=X,ee(e,!0))},se=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new N("Promise can't be resolved itself");var n=Z(t);n?G((function(){var r={done:!1};try{l(n,t,ie(se,r,e),ie(ae,r,e))}catch(o){ae(r,o,e)}})):(e.value=t,e.state=Y,ee(e,!1))}catch(o){ae({done:!1},o,e)}}};if(L&&(D=function(e){g(this,B),S(e),l(n,this);var t=k(this);try{e(ie(se,t),ie(ae,t))}catch(r){ae(t,r)}},B=D.prototype,n=function(e){M(this,{type:I,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:q,value:void 0})},n.prototype=f(B,"then",(function(e,t){var r=k(this),n=H(v(this,D));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=c?j.domain:void 0,r.state===q?r.reactions.add(n):G((function(){Q(n,r)})),n.promise})),o=function(){var e=new n,t=k(e);this.promise=e,this.resolve=ie(se,t),this.reject=ie(ae,t)},C.f=H=function(e){return e===D||e===i?new o(e):V(e)},!u&&y(A)&&R!==Object.prototype)){a=R.then,F||f(R,"then",(function(e,t){var r=this;return new D((function(e,t){l(a,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete R.constructor}catch(ue){}h&&h(R,B)}s({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:D}),d(D,I,!1,!0),p(I)},3362:function(e,t,r){"use strict";r(436),r(6499),r(2003),r(7743),r(1481),r(280)},7743:function(e,t,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),a=r(6043),s=r(1103),u=r(2652),c=r(537);n({target:"Promise",stat:!0,forced:c},{race:function(e){var t=this,r=a.f(t),n=r.reject,c=s((function(){var a=i(t.resolve);u(e,(function(e){o(a,t,e).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},1481:function(e,t,r){"use strict";var n=r(6518),o=r(6043),i=r(916).CONSTRUCTOR;n({target:"Promise",stat:!0,forced:i},{reject:function(e){var t=o.f(this),r=t.reject;return r(e),t.promise}})},280:function(e,t,r){"use strict";var n=r(6518),o=r(7751),i=r(6395),a=r(550),s=r(916).CONSTRUCTOR,u=r(3438),c=o("Promise"),_=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return u(_&&this===c?a:this,e)}})},5472:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(687);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},4864:function(e,t,r){"use strict";var n=r(3724),o=r(4475),i=r(9504),a=r(2796),s=r(3167),u=r(6699),c=r(2360),_=r(8480).f,l=r(1625),f=r(788),h=r(655),d=r(1034),p=r(8429),S=r(1056),y=r(6840),m=r(9039),g=r(9297),v=r(1181).enforce,w=r(7633),G=r(8227),b=r(3635),E=r(8814),T=G("match"),P=o.RegExp,A=P.prototype,x=o.SyntaxError,C=i(A.exec),I=i("".charAt),L=i("".replace),O=i("".indexOf),F=i("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,R=/a/g,D=new P(M)!==M,B=p.MISSED_STICKY,N=p.UNSUPPORTED_Y,U=n&&(!D||B||b||E||m((function(){return R[T]=!1,P(M)!==M||P(R)===R||"/a/i"!==String(P(M,"i"))}))),j=function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)t=I(e,n),"\\"!==t?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+I(e,++n);return o},H=function(e){for(var t,r=e.length,n=0,o="",i=[],a=c(null),s=!1,u=!1,_=0,l="";n<=r;n++){if(t=I(e,n),"\\"===t)t+=I(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:C(k,F(e,n+1))&&(n+=2,u=!0),o+=t,_++;continue;case">"===t&&u:if(""===l||g(a,l))throw new x("Invalid capture group name");a[l]=!0,i[i.length]=[l,_],u=!1,l="";continue}u?l+=t:o+=t}return[o,i]};if(a("RegExp",U)){for(var V=function(e,t){var r,n,o,i,a,c,_=l(A,this),p=f(e),S=void 0===t,y=[],m=e;if(!_&&p&&S&&e.constructor===V)return e;if((p||l(A,e))&&(e=e.source,S&&(t=d(m))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),m=e,b&&"dotAll"in M&&(n=!!t&&O(t,"s")>-1,n&&(t=L(t,/s/g,""))),r=t,B&&"sticky"in M&&(o=!!t&&O(t,"y")>-1,o&&N&&(t=L(t,/y/g,""))),E&&(i=H(e),e=i[0],y=i[1]),a=s(P(e,t),_?this:A,V),(n||o||y.length)&&(c=v(a),n&&(c.dotAll=!0,c.raw=V(j(e),r)),o&&(c.sticky=!0),y.length&&(c.groups=y)),e!==m)try{u(a,"source",""===m?"(?:)":m)}catch(g){}return a},K=_(P),z=0;K.length>z;)S(V,P,K[z++]);A.constructor=V,V.prototype=A,y(o,"RegExp",V,{constructor:!0})}w("RegExp")},7465:function(e,t,r){"use strict";var n=r(3724),o=r(3635),i=r(4576),a=r(2106),s=r(1181).get,u=RegExp.prototype,c=TypeError;n&&o&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},7495:function(e,t,r){"use strict";var n=r(6518),o=r(7323);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9479:function(e,t,r){"use strict";var n=r(4475),o=r(3724),i=r(2106),a=r(7979),s=r(9039),u=n.RegExp,c=u.prototype,_=o&&s((function(){var e=!0;try{u(".","d")}catch(_){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);var s=Object.getOwnPropertyDescriptor(c,"flags").get.call(t);return s!==n||r!==n}));_&&i(c,"flags",{configurable:!0,get:a})},7745:function(e,t,r){"use strict";var n=r(3724),o=r(8429).MISSED_STICKY,i=r(4576),a=r(2106),s=r(1181).get,u=RegExp.prototype,c=TypeError;n&&o&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},8781:function(e,t,r){"use strict";var n=r(350).PROPER,o=r(6840),i=r(8551),a=r(655),s=r(9039),u=r(1034),c="toString",_=RegExp.prototype,l=_[c],f=s((function(){return"/a/b"!==l.call({source:"a",flags:"b"})})),h=n&&l.name!==c;(f||h)&&o(_,c,(function(){var e=i(this),t=a(e.source),r=a(u(e));return"/"+t+"/"+r}),{unsafe:!0})},9449:function(e,t,r){"use strict";var n=r(6518),o=r(7476),i=r(7347).f,a=r(8014),s=r(655),u=r(5749),c=r(7750),_=r(1436),l=r(6395),f=o("".slice),h=Math.min,d=_("endsWith"),p=!l&&!d&&!!function(){var e=i(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!p&&!d},{endsWith:function(e){var t=s(c(this));u(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,o=void 0===r?n:h(a(r),n),i=s(e);return f(t,o-i.length,o)===i}})},1699:function(e,t,r){"use strict";var n=r(6518),o=r(9504),i=r(5749),a=r(7750),s=r(655),u=r(1436),c=o("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:function(e,t,r){"use strict";var n=r(8183).charAt,o=r(655),i=r(1181),a=r(1088),s=r(2529),u="String Iterator",c=i.set,_=i.getterFor(u);a(String,"String",(function(e){c(this,{type:u,string:o(e),index:0})}),(function(){var e,t=_(this),r=t.string,o=t.index;return o>=r.length?s(void 0,!0):(e=n(r,o),t.index+=e.length,s(e,!1))}))},778:function(e,t,r){"use strict";var n=r(6518),o=r(7240),i=r(3061);n({target:"String",proto:!0,forced:i("link")},{link:function(e){return o(this,"a","href",e)}})},1761:function(e,t,r){"use strict";var n=r(9565),o=r(9228),i=r(8551),a=r(4117),s=r(8014),u=r(655),c=r(7750),_=r(5966),l=r(7829),f=r(6682);o("match",(function(e,t,r){return[function(t){var r=c(this),o=a(t)?void 0:_(t,e);return o?n(o,t,r):new RegExp(t)[e](u(r))},function(e){var n=i(this),o=u(e),a=r(t,n,o);if(a.done)return a.value;if(!n.global)return f(n,o);var c=n.unicode;n.lastIndex=0;var _,h=[],d=0;while(null!==(_=f(n,o))){var p=u(_[0]);h[d]=p,""===p&&(n.lastIndex=l(o,s(n.lastIndex),c)),d++}return 0===d?null:h}]}))},8156:function(e,t,r){"use strict";var n=r(6518),o=r(533).start,i=r(3063);n({target:"String",proto:!0,forced:i},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},5440:function(e,t,r){"use strict";var n=r(8745),o=r(9565),i=r(9504),a=r(9228),s=r(9039),u=r(8551),c=r(4901),_=r(4117),l=r(1291),f=r(8014),h=r(655),d=r(7750),p=r(7829),S=r(5966),y=r(2478),m=r(6682),g=r(8227),v=g("replace"),w=Math.max,G=Math.min,b=i([].concat),E=i([].push),T=i("".indexOf),P=i("".slice),A=function(e){return void 0===e?e:String(e)},x=function(){return"$0"==="a".replace(/./,"$0")}(),C=function(){return!!/./[v]&&""===/./[v]("a","$0")}(),I=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));a("replace",(function(e,t,r){var i=C?"$":"$0";return[function(e,r){var n=d(this),i=_(e)?void 0:S(e,v);return i?o(i,e,n,r):o(t,h(n),e,r)},function(e,o){var a=u(this),s=h(e);if("string"==typeof o&&-1===T(o,i)&&-1===T(o,"$<")){var _=r(t,a,s,o);if(_.done)return _.value}var d=c(o);d||(o=h(o));var S,g=a.global;g&&(S=a.unicode,a.lastIndex=0);var v,x=[];while(1){if(v=m(a,s),null===v)break;if(E(x,v),!g)break;var C=h(v[0]);""===C&&(a.lastIndex=p(s,f(a.lastIndex),S))}for(var I="",L=0,O=0;O<x.length;O++){v=x[O];for(var F,k=h(v[0]),M=w(G(l(v.index),s.length),0),R=[],D=1;D<v.length;D++)E(R,A(v[D]));var B=v.groups;if(d){var N=b([k],R,M,s);void 0!==B&&E(N,B),F=h(n(o,void 0,N))}else F=y(k,s,M,R,B,o);M>=L&&(I+=P(s,L,M)+F,L=M+k.length)}return I+P(s,L)}]}),!I||!x||C)},1392:function(e,t,r){"use strict";var n=r(6518),o=r(7476),i=r(7347).f,a=r(8014),s=r(655),u=r(5749),c=r(7750),_=r(1436),l=r(6395),f=o("".slice),h=Math.min,d=_("startsWith"),p=!l&&!d&&!!function(){var e=i(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!p&&!d},{startsWith:function(e){var t=s(c(this));u(e);var r=a(h(arguments.length>1?arguments[1]:void 0,t.length)),n=s(e);return f(t,r,r+n.length)===n}})},2762:function(e,t,r){"use strict";var n=r(6518),o=r(3802).trim,i=r(706);n({target:"String",proto:!0,forced:i("trim")},{trim:function(){return o(this)}})},6412:function(e,t,r){"use strict";var n=r(511);n("asyncIterator")},6761:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(9565),a=r(9504),s=r(6395),u=r(3724),c=r(4495),_=r(9039),l=r(9297),f=r(1625),h=r(8551),d=r(5397),p=r(6969),S=r(655),y=r(6980),m=r(2360),g=r(1072),v=r(8480),w=r(298),G=r(3717),b=r(7347),E=r(4913),T=r(6801),P=r(8773),A=r(6840),x=r(2106),C=r(5745),I=r(6119),L=r(421),O=r(3392),F=r(8227),k=r(1951),M=r(511),R=r(8242),D=r(687),B=r(1181),N=r(9213).forEach,U=I("hidden"),j="Symbol",H="prototype",V=B.set,K=B.getterFor(j),z=Object[H],W=o.Symbol,q=W&&W[H],Y=o.RangeError,X=o.TypeError,$=o.QObject,J=b.f,Z=E.f,Q=w.f,ee=P.f,te=a([].push),re=C("symbols"),ne=C("op-symbols"),oe=C("wks"),ie=!$||!$[H]||!$[H].findChild,ae=function(e,t,r){var n=J(z,t);n&&delete z[t],Z(e,t,r),n&&e!==z&&Z(z,t,n)},se=u&&_((function(){return 7!==m(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ue=function(e,t){var r=re[e]=m(q);return V(r,{type:j,tag:e,description:t}),u||(r.description=t),r},ce=function(e,t,r){e===z&&ce(ne,t,r),h(e);var n=p(t);return h(r),l(re,n)?(r.enumerable?(l(e,U)&&e[U][n]&&(e[U][n]=!1),r=m(r,{enumerable:y(0,!1)})):(l(e,U)||Z(e,U,y(1,m(null))),e[U][n]=!0),se(e,n,r)):Z(e,n,r)},_e=function(e,t){h(e);var r=d(t),n=g(r).concat(pe(r));return N(n,(function(t){u&&!i(fe,r,t)||ce(e,t,r[t])})),e},le=function(e,t){return void 0===t?m(e):_e(m(e),t)},fe=function(e){var t=p(e),r=i(ee,this,t);return!(this===z&&l(re,t)&&!l(ne,t))&&(!(r||!l(this,t)||!l(re,t)||l(this,U)&&this[U][t])||r)},he=function(e,t){var r=d(e),n=p(t);if(r!==z||!l(re,n)||l(ne,n)){var o=J(r,n);return!o||!l(re,n)||l(r,U)&&r[U][n]||(o.enumerable=!0),o}},de=function(e){var t=Q(d(e)),r=[];return N(t,(function(e){l(re,e)||l(L,e)||te(r,e)})),r},pe=function(e){var t=e===z,r=Q(t?ne:d(e)),n=[];return N(r,(function(e){!l(re,e)||t&&!l(z,e)||te(n,re[e])})),n};c||(W=function(){if(f(q,this))throw new X("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?S(arguments[0]):void 0,t=O(e),r=function(e){var n=void 0===this?o:this;n===z&&i(r,ne,e),l(n,U)&&l(n[U],t)&&(n[U][t]=!1);var a=y(1,e);try{se(n,t,a)}catch(s){if(!(s instanceof Y))throw s;ae(n,t,a)}};return u&&ie&&se(z,t,{configurable:!0,set:r}),ue(t,e)},q=W[H],A(q,"toString",(function(){return K(this).tag})),A(W,"withoutSetter",(function(e){return ue(O(e),e)})),P.f=fe,E.f=ce,T.f=_e,b.f=he,v.f=w.f=de,G.f=pe,k.f=function(e){return ue(F(e),e)},u&&(x(q,"description",{configurable:!0,get:function(){return K(this).description}}),s||A(z,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),N(g(oe),(function(e){M(e)})),n({target:j,stat:!0,forced:!c},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:le,defineProperty:ce,defineProperties:_e,getOwnPropertyDescriptor:he}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:de}),R(),D(W,j),L[U]=!0},9463:function(e,t,r){"use strict";var n=r(6518),o=r(3724),i=r(4475),a=r(9504),s=r(9297),u=r(4901),c=r(1625),_=r(655),l=r(2106),f=r(7740),h=i.Symbol,d=h&&h.prototype;if(o&&u(h)&&(!("description"in d)||void 0!==h().description)){var p={},S=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:_(arguments[0]),t=c(d,this)?new h(e):void 0===e?h():h(e);return""===e&&(p[t]=!0),t};f(S,h),S.prototype=d,d.constructor=S;var y="Symbol(description detection)"===String(h("description detection")),m=a(d.valueOf),g=a(d.toString),v=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),G=a("".slice);l(d,"description",{configurable:!0,get:function(){var e=m(this);if(s(p,e))return"";var t=g(e),r=y?G(t,7,-1):w(t,v,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:S})}},1510:function(e,t,r){"use strict";var n=r(6518),o=r(7751),i=r(9297),a=r(655),s=r(5745),u=r(1296),c=s("string-to-symbol-registry"),_=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=o("Symbol")(t);return c[t]=r,_[r]=t,r}})},2259:function(e,t,r){"use strict";var n=r(511);n("iterator")},2675:function(e,t,r){"use strict";r(6761),r(1510),r(7812),r(3110),r(9773)},7812:function(e,t,r){"use strict";var n=r(6518),o=r(9297),i=r(757),a=r(6823),s=r(5745),u=r(1296),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},8140:function(e,t,r){"use strict";var n=r(4644),o=r(6198),i=r(1291),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("at",(function(e){var t=a(this),r=o(t),n=i(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}))},1630:function(e,t,r){"use strict";var n=r(9504),o=r(4644),i=r(7029),a=n(i),s=o.aTypedArray,u=o.exportTypedArrayMethod;u("copyWithin",(function(e,t){return a(s(this),e,t,arguments.length>2?arguments[2]:void 0)}))},2170:function(e,t,r){"use strict";var n=r(4644),o=r(9213).every,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},5044:function(e,t,r){"use strict";var n=r(4644),o=r(4373),i=r(5854),a=r(6955),s=r(9565),u=r(9504),c=r(9039),_=n.aTypedArray,l=n.exportTypedArrayMethod,f=u("".slice),h=c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}));l("fill",(function(e){var t=arguments.length;_(this);var r="Big"===f(a(this),0,3)?i(e):+e;return s(o,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),h)},1920:function(e,t,r){"use strict";var n=r(4644),o=r(9213).filter,i=r(6357),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},9955:function(e,t,r){"use strict";var n=r(4644),o=r(9213).findIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},1134:function(e,t,r){"use strict";var n=r(4644),o=r(3839).findLastIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLastIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},1903:function(e,t,r){"use strict";var n=r(4644),o=r(3839).findLast,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLast",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},1694:function(e,t,r){"use strict";var n=r(4644),o=r(9213).find,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4594:function(e,t,r){"use strict";var n=r(5823);n("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},9833:function(e,t,r){"use strict";var n=r(5823);n("Float64",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},3206:function(e,t,r){"use strict";var n=r(4644),o=r(9213).forEach,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4496:function(e,t,r){"use strict";var n=r(4644),o=r(9617).includes,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},6651:function(e,t,r){"use strict";var n=r(4644),o=r(9617).indexOf,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2107:function(e,t,r){"use strict";var n=r(5823);n("Int16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},5477:function(e,t,r){"use strict";var n=r(5823);n("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},6594:function(e,t,r){"use strict";var n=r(5823);n("Int8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},2887:function(e,t,r){"use strict";var n=r(4475),o=r(9039),i=r(9504),a=r(4644),s=r(3792),u=r(8227),c=u("iterator"),_=n.Uint8Array,l=i(s.values),f=i(s.keys),h=i(s.entries),d=a.aTypedArray,p=a.exportTypedArrayMethod,S=_&&_.prototype,y=!o((function(){S[c].call([1])})),m=!!S&&S.values&&S[c]===S.values&&"values"===S.values.name,g=function(){return l(d(this))};p("entries",(function(){return h(d(this))}),y),p("keys",(function(){return f(d(this))}),y),p("values",g,y||!m,{name:"values"}),p(c,g,y||!m,{name:"values"})},9369:function(e,t,r){"use strict";var n=r(4644),o=r(9504),i=n.aTypedArray,a=n.exportTypedArrayMethod,s=o([].join);a("join",(function(e){return s(i(this),e)}))},6812:function(e,t,r){"use strict";var n=r(4644),o=r(8745),i=r(8379),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},8995:function(e,t,r){"use strict";var n=r(4644),o=r(9213).map,i=r(1412),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},6072:function(e,t,r){"use strict";var n=r(4644),o=r(926).right,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},1575:function(e,t,r){"use strict";var n=r(4644),o=r(926).left,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},8747:function(e,t,r){"use strict";var n=r(4644),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){var e,t=this,r=o(t).length,n=a(r/2),i=0;while(i<n)e=t[i],t[i++]=t[--r],t[r]=e;return t}))},8845:function(e,t,r){"use strict";var n=r(4475),o=r(9565),i=r(4644),a=r(6198),s=r(8229),u=r(8981),c=r(9039),_=n.RangeError,l=n.Int8Array,f=l&&l.prototype,h=f&&f.set,d=i.aTypedArray,p=i.exportTypedArrayMethod,S=!c((function(){var e=new Uint8ClampedArray(2);return o(h,e,{length:1,0:3},1),3!==e[1]})),y=S&&i.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new l(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));p("set",(function(e){d(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=u(e);if(S)return o(h,this,r,t);var n=this.length,i=a(r),c=0;if(i+t>n)throw new _("Wrong length");while(c<i)this[t+c]=r[c++]}),!S||y)},9423:function(e,t,r){"use strict";var n=r(4644),o=r(1412),i=r(9039),a=r(7680),s=n.aTypedArray,u=n.exportTypedArrayMethod,c=i((function(){new Int8Array(1).slice()}));u("slice",(function(e,t){var r=a(s(this),e,t),n=o(this),i=0,u=r.length,c=new n(u);while(u>i)c[i]=r[i++];return c}),c)},7301:function(e,t,r){"use strict";var n=r(4644),o=r(9213).some,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},373:function(e,t,r){"use strict";var n=r(4475),o=r(7476),i=r(9039),a=r(9306),s=r(4488),u=r(4644),c=r(8834),_=r(3202),l=r(7388),f=r(9160),h=u.aTypedArray,d=u.exportTypedArrayMethod,p=n.Uint16Array,S=p&&o(p.prototype.sort),y=!!S&&!(i((function(){S(new p(2),null)}))&&i((function(){S(new p(2),{})}))),m=!!S&&!i((function(){if(l)return l<74;if(c)return c<67;if(_)return!0;if(f)return f<602;var e,t,r=new p(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(S(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0})),g=function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!==r?-1:t!==t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}};d("sort",(function(e){return void 0!==e&&a(e),m?S(this,e):s(h(this),g(e))}),!m||y)},6614:function(e,t,r){"use strict";var n=r(4644),o=r(8014),i=r(5610),a=r(1412),s=n.aTypedArray,u=n.exportTypedArrayMethod;u("subarray",(function(e,t){var r=s(this),n=r.length,u=i(e,n),c=a(r);return new c(r.buffer,r.byteOffset+u*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-u))}))},1405:function(e,t,r){"use strict";var n=r(4475),o=r(8745),i=r(4644),a=r(9039),s=r(7680),u=n.Int8Array,c=i.aTypedArray,_=i.exportTypedArrayMethod,l=[].toLocaleString,f=!!u&&a((function(){l.call(new u(1))})),h=a((function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()}))||!a((function(){u.prototype.toLocaleString.call([1,2])}));_("toLocaleString",(function(){return o(l,f?s(c(this)):c(this),s(arguments))}),h)},7467:function(e,t,r){"use strict";var n=r(7628),o=r(4644),i=o.aTypedArray,a=o.exportTypedArrayMethod,s=o.getTypedArrayConstructor;a("toReversed",(function(){return n(i(this),s(this))}))},4732:function(e,t,r){"use strict";var n=r(4644),o=r(9504),i=r(9306),a=r(5370),s=n.aTypedArray,u=n.getTypedArrayConstructor,c=n.exportTypedArrayMethod,_=o(n.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&i(e);var t=s(this),r=a(u(t),t);return _(r,e)}))},3684:function(e,t,r){"use strict";var n=r(4644).exportTypedArrayMethod,o=r(9039),i=r(4475),a=r(9504),s=i.Uint8Array,u=s&&s.prototype||{},c=[].toString,_=a([].join);o((function(){c.call({})}))&&(c=function(){return _(this)});var l=u.toString!==c;n("toString",c,l)},3690:function(e,t,r){"use strict";var n=r(5823);n("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1740:function(e,t,r){"use strict";var n=r(5823);n("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1489:function(e,t,r){"use strict";var n=r(5823);n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},9577:function(e,t,r){"use strict";var n=r(9928),o=r(4644),i=r(1108),a=r(1291),s=r(5854),u=o.aTypedArray,c=o.getTypedArrayConstructor,_=o.exportTypedArrayMethod,l=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();_("with",{with:function(e,t){var r=u(this),o=a(e),_=i(r)?s(t):+t;return n(r,c(r),o,_)}}["with"],!l)},3500:function(e,t,r){"use strict";var n=r(4475),o=r(7400),i=r(9296),a=r(235),s=r(6699),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)o[c]&&u(n[c]&&n[c].prototype);u(i)},2953:function(e,t,r){"use strict";var n=r(4475),o=r(7400),i=r(9296),a=r(3792),s=r(6699),u=r(687),c=r(8227),_=c("iterator"),l=a.values,f=function(e,t){if(e){if(e[_]!==l)try{s(e,_,l)}catch(n){e[_]=l}if(u(e,t,!0),o[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(n){e[r]=a[r]}}};for(var h in o)f(n[h]&&n[h].prototype,h);f(i,"DOMTokenList")},3611:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(2106),a=r(3724),s=TypeError,u=Object.defineProperty,c=o.self!==o;try{if(a){var _=Object.getOwnPropertyDescriptor(o,"self");!c&&_&&_.get&&_.enumerable||i(o,"self",{get:function(){return o},set:function(e){if(this!==o)throw new s("Illegal invocation");u(o,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:c},{self:o})}catch(l){}},8406:function(e,t,r){"use strict";r(3792);var n=r(6518),o=r(4475),i=r(3389),a=r(9565),s=r(9504),u=r(3724),c=r(7416),_=r(6840),l=r(2106),f=r(6279),h=r(687),d=r(3994),p=r(1181),S=r(679),y=r(4901),m=r(9297),g=r(6080),v=r(6955),w=r(8551),G=r(34),b=r(655),E=r(2360),T=r(6980),P=r(81),A=r(851),x=r(2529),C=r(2812),I=r(8227),L=r(4488),O=I("iterator"),F="URLSearchParams",k=F+"Iterator",M=p.set,R=p.getterFor(F),D=p.getterFor(k),B=i("fetch"),N=i("Request"),U=i("Headers"),j=N&&N.prototype,H=U&&U.prototype,V=o.RegExp,K=o.TypeError,z=o.decodeURIComponent,W=o.encodeURIComponent,q=s("".charAt),Y=s([].join),X=s([].push),$=s("".replace),J=s([].shift),Z=s([].splice),Q=s("".split),ee=s("".slice),te=/\+/g,re=Array(4),ne=function(e){return re[e-1]||(re[e-1]=V("((?:%[\\da-f]{2}){"+e+"})","gi"))},oe=function(e){try{return z(e)}catch(t){return e}},ie=function(e){var t=$(e,te," "),r=4;try{return z(t)}catch(n){while(r)t=$(t,ne(r--),oe);return t}},ae=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ue=function(e){return se[e]},ce=function(e){return $(W(e),ae,ue)},_e=d((function(e,t){M(this,{type:k,target:R(e).entries,index:0,kind:t})}),F,(function(){var e=D(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,x(void 0,!0);var n=t[r];switch(e.kind){case"keys":return x(n.key,!1);case"values":return x(n.value,!1)}return x([n.key,n.value],!1)}),!0),le=function(e){this.entries=[],this.url=null,void 0!==e&&(G(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===q(e,0)?ee(e,1):e:b(e)))};le.prototype={type:F,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,s,u,c=this.entries,_=A(e);if(_){t=P(e,_),r=t.next;while(!(n=a(r,t)).done){if(o=P(w(n.value)),i=o.next,(s=a(i,o)).done||(u=a(i,o)).done||!a(i,o).done)throw new K("Expected sequence with length 2");X(c,{key:b(s.value),value:b(u.value)})}}else for(var l in e)m(e,l)&&X(c,{key:l,value:b(e[l])})},parseQuery:function(e){if(e){var t,r,n=this.entries,o=Q(e,"&"),i=0;while(i<o.length)t=o[i++],t.length&&(r=Q(t,"="),X(n,{key:ie(J(r)),value:ie(Y(r,"="))}))}},serialize:function(){var e,t=this.entries,r=[],n=0;while(n<t.length)e=t[n++],X(r,ce(e.key)+"="+ce(e.value));return Y(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){S(this,he);var e=arguments.length>0?arguments[0]:void 0,t=M(this,new le(e));u||(this.size=t.entries.length)},he=fe.prototype;if(f(he,{append:function(e,t){var r=R(this);C(arguments.length,2),X(r.entries,{key:b(e),value:b(t)}),u||this.length++,r.updateURL()},delete:function(e){var t=R(this),r=C(arguments.length,1),n=t.entries,o=b(e),i=r<2?void 0:arguments[1],a=void 0===i?i:b(i),s=0;while(s<n.length){var c=n[s];if(c.key!==o||void 0!==a&&c.value!==a)s++;else if(Z(n,s,1),void 0!==a)break}u||(this.size=n.length),t.updateURL()},get:function(e){var t=R(this).entries;C(arguments.length,1);for(var r=b(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=R(this).entries;C(arguments.length,1);for(var r=b(e),n=[],o=0;o<t.length;o++)t[o].key===r&&X(n,t[o].value);return n},has:function(e){var t=R(this).entries,r=C(arguments.length,1),n=b(e),o=r<2?void 0:arguments[1],i=void 0===o?o:b(o),a=0;while(a<t.length){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=R(this);C(arguments.length,1);for(var n,o=r.entries,i=!1,a=b(e),s=b(t),c=0;c<o.length;c++)n=o[c],n.key===a&&(i?Z(o,c--,1):(i=!0,n.value=s));i||X(o,{key:a,value:s}),u||(this.size=o.length),r.updateURL()},sort:function(){var e=R(this);L(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=R(this).entries,n=g(e,arguments.length>1?arguments[1]:void 0),o=0;while(o<r.length)t=r[o++],n(t.value,t.key,this)},keys:function(){return new _e(this,"keys")},values:function(){return new _e(this,"values")},entries:function(){return new _e(this,"entries")}},{enumerable:!0}),_(he,O,he.entries,{name:"entries"}),_(he,"toString",(function(){return R(this).serialize()}),{enumerable:!0}),u&&l(he,"size",{get:function(){return R(this).entries.length},configurable:!0,enumerable:!0}),h(fe,F),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:fe}),!c&&y(U)){var de=s(H.has),pe=s(H.set),Se=function(e){if(G(e)){var t,r=e.body;if(v(r)===F)return t=e.headers?new U(e.headers):new U,de(t,"content-type")||pe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(e,{body:T(0,b(r)),headers:T(0,t)})}return e};if(y(B)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return B(e,arguments.length>1?Se(arguments[1]):{})}}),y(N)){var ye=function(e){return S(this,j),new N(e,arguments.length>1?Se(arguments[1]):{})};j.constructor=ye,ye.prototype=j,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:fe,getState:R}},4603:function(e,t,r){"use strict";var n=r(6840),o=r(9504),i=r(655),a=r(2812),s=URLSearchParams,u=s.prototype,c=o(u.append),_=o(u["delete"]),l=o(u.forEach),f=o([].push),h=new s("a=1&a=2&b=3");h["delete"]("a",1),h["delete"]("b",void 0),h+""!=="a=2"&&n(u,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return _(this,e);var n=[];l(this,(function(e,t){f(n,{key:t,value:e})})),a(t,1);var o,s=i(e),u=i(r),h=0,d=0,p=!1,S=n.length;while(h<S)o=n[h++],p||o.key===s?(p=!0,_(this,o.key)):d++;while(d<S)o=n[d++],o.key===s&&o.value===u||c(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},7566:function(e,t,r){"use strict";var n=r(6840),o=r(9504),i=r(655),a=r(2812),s=URLSearchParams,u=s.prototype,c=o(u.getAll),_=o(u.has),l=new s("a=1");!l.has("a",2)&&l.has("a",void 0)||n(u,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return _(this,e);var n=c(this,e);a(t,1);var o=i(r),s=0;while(s<n.length)if(n[s++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},8408:function(e,t,r){"use strict";r(8406)},8721:function(e,t,r){"use strict";var n=r(3724),o=r(9504),i=r(2106),a=URLSearchParams.prototype,s=o(a.forEach);n&&!("size"in a)&&i(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},5806:function(e,t,r){"use strict";r(7764);var n,o=r(6518),i=r(3724),a=r(7416),s=r(4475),u=r(6080),c=r(9504),_=r(6840),l=r(2106),f=r(679),h=r(9297),d=r(4213),p=r(7916),S=r(7680),y=r(8183).codeAt,m=r(6098),g=r(655),v=r(687),w=r(2812),G=r(8406),b=r(1181),E=b.set,T=b.getterFor("URL"),P=G.URLSearchParams,A=G.getState,x=s.URL,C=s.TypeError,I=s.parseInt,L=Math.floor,O=Math.pow,F=c("".charAt),k=c(/./.exec),M=c([].join),R=c(1..toString),D=c([].pop),B=c([].push),N=c("".replace),U=c([].shift),j=c("".split),H=c("".slice),V=c("".toLowerCase),K=c([].unshift),z="Invalid authority",W="Invalid scheme",q="Invalid host",Y="Invalid port",X=/[a-z]/i,$=/[\d+-.a-z]/i,J=/\d/,Z=/^0x/i,Q=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,oe=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ae=/[\t\n\r]/g,se=function(e){var t,r,n,o,i,a,s,u=j(e,".");if(u.length&&""===u[u.length-1]&&u.length--,t=u.length,t>4)return e;for(r=[],n=0;n<t;n++){if(o=u[n],""===o)return e;if(i=10,o.length>1&&"0"===F(o,0)&&(i=k(Z,o)?16:8,o=H(o,8===i?1:2)),""===o)a=0;else{if(!k(10===i?ee:8===i?Q:te,o))return e;a=I(o,i)}B(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=O(256,5-t))return null}else if(a>255)return null;for(s=D(r),n=0;n<r.length;n++)s+=r[n]*O(256,3-n);return s},ue=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,_=null,l=0,f=function(){return F(e,l)};if(":"===f()){if(":"!==F(e,1))return;l+=2,c++,_=c}while(f()){if(8===c)return;if(":"!==f()){t=r=0;while(r<4&&k(te,f()))t=16*t+I(f(),16),l++,r++;if("."===f()){if(0===r)return;if(l-=r,c>6)return;n=0;while(f()){if(o=null,n>0){if(!("."===f()&&n<4))return;l++}if(!k(J,f()))return;while(k(J,f())){if(i=I(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}u[c]=256*u[c]+o,n++,2!==n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(l++,!f())return}else if(f())return;u[c++]=t}else{if(null!==_)return;l++,c++,_=c}}if(null!==_){a=c-_,c=7;while(0!==c&&a>0)s=u[c],u[c--]=u[_+a-1],u[_+--a]=s}else if(8!==c)return;return u},ce=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t},_e=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)K(t,e%256),e=L(e/256);return M(t,".")}if("object"==typeof e){for(t="",n=ce(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=R(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},le={},fe=d({},le,{" ":1,'"':1,"<":1,">":1,"`":1}),he=d({},fe,{"#":1,"?":1,"{":1,"}":1}),de=d({},he,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pe=function(e,t){var r=y(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},Se={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ye=function(e,t){var r;return 2===e.length&&k(X,F(e,0))&&(":"===(r=F(e,1))||!t&&"|"===r)},me=function(e){var t;return e.length>1&&ye(H(e,0,2))&&(2===e.length||"/"===(t=F(e,2))||"\\"===t||"?"===t||"#"===t)},ge=function(e){return"."===e||"%2e"===V(e)},ve=function(e){return e=V(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},we={},Ge={},be={},Ee={},Te={},Pe={},Ae={},xe={},Ce={},Ie={},Le={},Oe={},Fe={},ke={},Me={},Re={},De={},Be={},Ne={},Ue={},je={},He=function(e,t,r){var n,o,i,a=g(e);if(t){if(o=this.parse(a),o)throw new C(o);this.searchParams=null}else{if(void 0!==r&&(n=new He(r,!0)),o=this.parse(a,null,n),o)throw new C(o);i=A(new P),i.bindURL(this),this.searchParams=i}};He.prototype={type:"URL",parse:function(e,t,r){var o,i,a,s,u=this,c=t||we,_=0,l="",f=!1,d=!1,y=!1;e=g(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=N(e,oe,""),e=N(e,ie,"$1")),e=N(e,ae,""),o=p(e);while(_<=o.length){switch(i=o[_],c){case we:if(!i||!k(X,i)){if(t)return W;c=be;continue}l+=V(i),c=Ge;break;case Ge:if(i&&(k($,i)||"+"===i||"-"===i||"."===i))l+=V(i);else{if(":"!==i){if(t)return W;l="",c=be,_=0;continue}if(t&&(u.isSpecial()!==h(Se,l)||"file"===l&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=l,t)return void(u.isSpecial()&&Se[u.scheme]===u.port&&(u.port=null));l="","file"===u.scheme?c=ke:u.isSpecial()&&r&&r.scheme===u.scheme?c=Ee:u.isSpecial()?c=xe:"/"===o[_+1]?(c=Te,_++):(u.cannotBeABaseURL=!0,B(u.path,""),c=Ne)}break;case be:if(!r||r.cannotBeABaseURL&&"#"!==i)return W;if(r.cannotBeABaseURL&&"#"===i){u.scheme=r.scheme,u.path=S(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=je;break}c="file"===r.scheme?ke:Pe;continue;case Ee:if("/"!==i||"/"!==o[_+1]){c=Pe;continue}c=Ce,_++;break;case Te:if("/"===i){c=Ie;break}c=Be;continue;case Pe:if(u.scheme=r.scheme,i===n)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=S(r.path),u.query=r.query;else if("/"===i||"\\"===i&&u.isSpecial())c=Ae;else if("?"===i)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=S(r.path),u.query="",c=Ue;else{if("#"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=S(r.path),u.path.length--,c=Be;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=S(r.path),u.query=r.query,u.fragment="",c=je}break;case Ae:if(!u.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=Be;continue}c=Ie}else c=Ce;break;case xe:if(c=Ce,"/"!==i||"/"!==F(l,_+1))continue;_++;break;case Ce:if("/"!==i&&"\\"!==i){c=Ie;continue}break;case Ie:if("@"===i){f&&(l="%40"+l),f=!0,a=p(l);for(var m=0;m<a.length;m++){var v=a[m];if(":"!==v||y){var w=pe(v,de);y?u.password+=w:u.username+=w}else y=!0}l=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(f&&""===l)return z;_-=p(l).length+1,l="",c=Le}else l+=i;break;case Le:case Oe:if(t&&"file"===u.scheme){c=Re;continue}if(":"!==i||d){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(u.isSpecial()&&""===l)return q;if(t&&""===l&&(u.includesCredentials()||null!==u.port))return;if(s=u.parseHost(l),s)return s;if(l="",c=De,t)return;continue}"["===i?d=!0:"]"===i&&(d=!1),l+=i}else{if(""===l)return q;if(s=u.parseHost(l),s)return s;if(l="",c=Fe,t===Oe)return}break;case Fe:if(!k(J,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()||t){if(""!==l){var G=I(l,10);if(G>65535)return Y;u.port=u.isSpecial()&&G===Se[u.scheme]?null:G,l=""}if(t)return;c=De;continue}return Y}l+=i;break;case ke:if(u.scheme="file","/"===i||"\\"===i)c=Me;else{if(!r||"file"!==r.scheme){c=Be;continue}switch(i){case n:u.host=r.host,u.path=S(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=S(r.path),u.query="",c=Ue;break;case"#":u.host=r.host,u.path=S(r.path),u.query=r.query,u.fragment="",c=je;break;default:me(M(S(o,_),""))||(u.host=r.host,u.path=S(r.path),u.shortenPath()),c=Be;continue}}break;case Me:if("/"===i||"\\"===i){c=Re;break}r&&"file"===r.scheme&&!me(M(S(o,_),""))&&(ye(r.path[0],!0)?B(u.path,r.path[0]):u.host=r.host),c=Be;continue;case Re:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&ye(l))c=Be;else if(""===l){if(u.host="",t)return;c=De}else{if(s=u.parseHost(l),s)return s;if("localhost"===u.host&&(u.host=""),t)return;l="",c=De}continue}l+=i;break;case De:if(u.isSpecial()){if(c=Be,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==n&&(c=Be,"/"!==i))continue}else u.fragment="",c=je;else u.query="",c=Ue;break;case Be:if(i===n||"/"===i||"\\"===i&&u.isSpecial()||!t&&("?"===i||"#"===i)){if(ve(l)?(u.shortenPath(),"/"===i||"\\"===i&&u.isSpecial()||B(u.path,"")):ge(l)?"/"===i||"\\"===i&&u.isSpecial()||B(u.path,""):("file"===u.scheme&&!u.path.length&&ye(l)&&(u.host&&(u.host=""),l=F(l,0)+":"),B(u.path,l)),l="","file"===u.scheme&&(i===n||"?"===i||"#"===i))while(u.path.length>1&&""===u.path[0])U(u.path);"?"===i?(u.query="",c=Ue):"#"===i&&(u.fragment="",c=je)}else l+=pe(i,he);break;case Ne:"?"===i?(u.query="",c=Ue):"#"===i?(u.fragment="",c=je):i!==n&&(u.path[0]+=pe(i,le));break;case Ue:t||"#"!==i?i!==n&&("'"===i&&u.isSpecial()?u.query+="%27":u.query+="#"===i?"%23":pe(i,le)):(u.fragment="",c=je);break;case je:i!==n&&(u.fragment+=pe(i,fe));break}_++}},parseHost:function(e){var t,r,n;if("["===F(e,0)){if("]"!==F(e,e.length-1))return q;if(t=ue(H(e,1,-1)),!t)return q;this.host=t}else if(this.isSpecial()){if(e=m(e),k(re,e))return q;if(t=se(e),null===t)return q;this.host=t}else{if(k(ne,e))return q;for(t="",r=p(e),n=0;n<r.length;n++)t+=pe(r[n],le);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(Se,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&ye(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=_e(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+M(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new C(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ve(e.path[0]).origin}catch(r){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+_e(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",we)},getUsername:function(){return this.username},setUsername:function(e){var t=p(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=pe(t[r],de)}},getPassword:function(){return this.password},setPassword:function(e){var t=p(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=pe(t[r],de)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?_e(e):_e(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Le)},getHostname:function(){var e=this.host;return null===e?"":_e(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getPort:function(){var e=this.port;return null===e?"":g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=g(e),""===e?this.port=null:this.parse(e,Fe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+M(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,De))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){e=g(e),""===e?this.query=null:("?"===F(e,0)&&(e=H(e,1)),this.query="",this.parse(e,Ue)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){e=g(e),""!==e?("#"===F(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,je)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ve=function(e){var t=f(this,Ke),r=w(arguments.length,1)>1?arguments[1]:void 0,n=E(t,new He(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ke=Ve.prototype,ze=function(e,t){return{get:function(){return T(this)[e]()},set:t&&function(e){return T(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(l(Ke,"href",ze("serialize","setHref")),l(Ke,"origin",ze("getOrigin")),l(Ke,"protocol",ze("getProtocol","setProtocol")),l(Ke,"username",ze("getUsername","setUsername")),l(Ke,"password",ze("getPassword","setPassword")),l(Ke,"host",ze("getHost","setHost")),l(Ke,"hostname",ze("getHostname","setHostname")),l(Ke,"port",ze("getPort","setPort")),l(Ke,"pathname",ze("getPathname","setPathname")),l(Ke,"search",ze("getSearch","setSearch")),l(Ke,"searchParams",ze("getSearchParams")),l(Ke,"hash",ze("getHash","setHash"))),_(Ke,"toJSON",(function(){return T(this).serialize()}),{enumerable:!0}),_(Ke,"toString",(function(){return T(this).serialize()}),{enumerable:!0}),x){var We=x.createObjectURL,qe=x.revokeObjectURL;We&&_(Ve,"createObjectURL",u(We,x)),qe&&_(Ve,"revokeObjectURL",u(qe,x))}v(Ve,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Ve})},3296:function(e,t,r){"use strict";r(5806)},7208:function(e,t,r){"use strict";var n=r(6518),o=r(9565);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},4370:function(e,t,r){"use strict";r.d(t,{sH:function(){return n},YH:function(){return o},zs:function(){return i},fX:function(){return a}});r(2675),r(9463),r(2259),r(3792),r(6099),r(7764),r(2953);r(6412),r(6280),r(8706),r(4114),r(4782),r(2010),r(9085),r(3851),r(3548),r(287),r(3362),r(5472);function n(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{u(n.next(e))}catch(t){i(t)}}function s(e){try{u(n["throw"](e))}catch(t){i(t)}}function u(e){e.done?r(e.value):o(e.value).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function o(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(a=0)),a)try{if(r=1,n&&(o=2&s[0]?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}Object.create;function i(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=i.next()).done)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a}function a(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.m=e,function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.u=function(e){return"BimAirWorker.umd.min."+e+".js"}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.p=""}(),function(){r.b=document.baseURI||self.location.href}();var n={};return function(){"use strict";if("undefined"!==typeof window){var e=window.document.currentScript,t=r(2579);e=t(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:t});var n=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(r.p=n[1])}r(1331)}(),n=n["default"],n}()}));
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["BimAirWorker.umd.min"]=t():e["BimAirWorker.umd.min"]=t()})("undefined"!==typeof self?self:this,(function(){return function(){var e={2579:function(e,t,r){var n,o,i;r(4100)["default"];r(6280),r(3851),r(4864),r(7465),r(7495),r(7745),r(8781),r(5440),r(2762),r(3611),function(r,a){o=[],n=a,i="function"===typeof n?n.apply(t,o):n,void 0===i||(e.exports=i)}("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=i.exec(h.stack)||a.exec(h.stack),u=s&&s[1]||!1,c=s&&s[2]||!1,_=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===_&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var f=0;f<l.length;f++){if("interactive"===l[f].readyState)return l[f];if(l[f].src===u)return l[f];if(u===_&&l[f].innerHTML&&l[f].innerHTML.trim()===o)return l[f]}return null}}return e}))},3175:function(e,t,r){var n="/",o=r(4100)["default"];r(6280),r(8706),r(6835),r(3771),r(2008),r(4423),r(3792),r(8598),r(4114),r(4782),r(4554),r(4743),r(9142),r(1745),r(6573),r(8100),r(7936),r(2010),r(5081),r(8085),r(605),r(2152),r(761),r(2892),r(9085),r(3851),r(9432),r(6099),r(3362),r(7495),r(9479),r(8781),r(9449),r(1699),r(7764),r(1761),r(8156),r(5440),r(1392),r(778),r(4594),r(9833),r(6594),r(2107),r(5477),r(1489),r(3690),r(1740),r(8140),r(1630),r(2170),r(5044),r(1920),r(1694),r(9955),r(1903),r(1134),r(3206),r(4496),r(6651),r(2887),r(9369),r(6812),r(8995),r(1575),r(6072),r(8747),r(8845),r(9423),r(7301),r(373),r(6614),r(1405),r(7467),r(4732),r(3684),r(9577),r(3500),r(2953),r(3611),r(3296),r(7208),r(8408),r(4603),r(7566),r(8721);var i="undefined"!=typeof i?i:{},a=Object.assign({},i),s="./this.program",u=function(e,t){throw t},c="object"==("undefined"===typeof window?"undefined":o(window)),_="function"==typeof importScripts,l="object"==("undefined"===typeof process?"undefined":o(process))&&"object"==o(process.versions)&&"string"==typeof process.versions.node,f=!c&&!l&&!_;if(i["ENVIRONMENT"])throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var h,d,p,S="";function y(e){return i["locateFile"]?i["locateFile"](e,S):S+e}if(S="",l){if("undefined"==typeof process||!process.release||"node"!==process.release.name)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var m=process.versions.node,g=m.split(".").slice(0,3);g=1e4*g[0]+100*g[1]+1*g[2].split("-")[0];if(g<16e4)throw new Error("This emscripten-generated code requires node v16.0.0 (detected v"+m+")");var v=r(4383),w=r(4384);S=_?w.dirname(S)+"/":n+"/",h=function(e,t){return e=fe(e)?new URL(e):w.normalize(e),v.readFileSync(e,t?void 0:"utf8")},p=function(e){var t=h(e,!0);return t.buffer||(t=new Uint8Array(t)),D(t.buffer),t},d=function(e,t,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];e=fe(e)?new URL(e):w.normalize(e),v.readFile(e,n?void 0:"utf8",(function(e,o){e?r(e):t(n?o.buffer:o)}))},!i["thisProgram"]&&process.argv.length>1&&(s=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),e["exports"]=i,process.on("uncaughtException",(function(e){if("unwind"!==e&&!(e instanceof Pe)&&!(e.context instanceof Pe))throw e})),u=function(e,t){throw process.exitCode=e,t},i["inspect"]=function(){return"[Emscripten Module object]"}}else if(f){if("object"==("undefined"===typeof process?"undefined":o(process))||"object"==("undefined"===typeof window?"undefined":o(window))||"function"==typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"undefined"!=typeof read&&(h=read),p=function(e){if("function"==typeof readbuffer)return new Uint8Array(readbuffer(e));var t=read(e,"binary");return D("object"==o(t)),t},d=function(e,t,r){setTimeout((function(){return t(p(e))}))},"undefined"==typeof clearTimeout&&(globalThis.clearTimeout=function(e){}),"undefined"==typeof setTimeout&&(globalThis.setTimeout=function(e){return"function"==typeof e?e():ae()}),"undefined"!=typeof scriptArgs?scriptArgs:"undefined"!=typeof arguments&&arguments,"function"==typeof quit&&(u=function(e,t){throw setTimeout((function(){if(!(t instanceof Pe)){var r=t;t&&"object"==o(t)&&t.stack&&(r=[t,t.stack]),T("exiting due to exception: ".concat(r))}quit(e)})),t}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)}else{if(!c&&!_)throw new Error("environment detection error");if(_?S=self.location.href:"undefined"!=typeof document&&document.currentScript&&(S=document.currentScript.src),0!==S.indexOf("blob:"))S=S.substr(0,S.replace(/[?#].*/,"").lastIndexOf("/")+1);else if(0===S.indexOf("blob:"))if(-1!==S.indexOf("null"))S="";else{var G=/^blob:(https?:\/\/[^/]+)/,b=S.match(G);b&&(S=b[1])}else S="";if("object"!=("undefined"===typeof window?"undefined":o(window))&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");h=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},_&&(p=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),d=function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)},function(e){return document.title=e}}var E=i["print"]||console.log.bind(console),T=i["printErr"]||console.error.bind(console);Object.assign(i,a),a=null,Ht(),i["arguments"]&&i["arguments"],ge("arguments","arguments_"),i["thisProgram"]&&(s=i["thisProgram"]),ge("thisProgram","thisProgram"),i["quit"]&&(u=i["quit"]),ge("quit","quit_"),D("undefined"==typeof i["memoryInitializerPrefixURL"],"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),D("undefined"==typeof i["pthreadMainPrefixURL"],"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),D("undefined"==typeof i["cdInitializerPrefixURL"],"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),D("undefined"==typeof i["filePackagePrefixURL"],"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),D("undefined"==typeof i["read"],"Module.read option was removed (modify read_ in JS)"),D("undefined"==typeof i["readAsync"],"Module.readAsync option was removed (modify readAsync in JS)"),D("undefined"==typeof i["readBinary"],"Module.readBinary option was removed (modify readBinary in JS)"),D("undefined"==typeof i["setWindowTitle"],"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),D("undefined"==typeof i["TOTAL_MEMORY"],"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),ge("asm","wasmExports"),ge("read","read_"),ge("readAsync","readAsync"),ge("readBinary","readBinary"),ge("setWindowTitle","setWindowTitle");var P;D(!f,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),i["wasmBinary"]&&(P=i["wasmBinary"]),ge("wasmBinary","wasmBinary");var A,x=i["noExitRuntime"]||!0;ge("noExitRuntime","noExitRuntime"),"object"!=("undefined"===typeof WebAssembly?"undefined":o(WebAssembly))&&ae("no native wasm support detected");var C,I,L,O,F,M,k,R=!1;function D(e,t){e||ae("Assertion failed"+(t?": "+t:""))}function B(){var e=A.buffer;i["HEAP8"]=C=new Int8Array(e),i["HEAP16"]=L=new Int16Array(e),i["HEAPU8"]=I=new Uint8Array(e),i["HEAPU16"]=new Uint16Array(e),i["HEAP32"]=O=new Int32Array(e),i["HEAPU32"]=F=new Uint32Array(e),i["HEAPF32"]=new Float32Array(e),i["HEAPF64"]=M=new Float64Array(e)}function N(){var e=$t();D(0==(3&e)),0==e&&(e+=4),F[e>>2]=34821223,F[e+4>>2]=2310721022,F[0]=1668509029}function U(){if(!R){var e=$t();0==e&&(e+=4);var t=F[e>>2],r=F[e+4>>2];34821223==t&&2310721022==r||ae("Stack overflow! Stack cookie has been overwritten at ".concat(xe(e),", expected hex dwords 0x89BACDFE and 0x2135467, but received ").concat(xe(r)," ").concat(xe(t))),1668509029!=F[0]&&ae("Runtime error: The application has corrupted its heap memory area (address zero)!")}}D(!i["STACK_SIZE"],"STACK_SIZE can no longer be set at runtime. Use -sSTACK_SIZE at link time"),D("undefined"!=typeof Int32Array&&"undefined"!==typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),D(!i["wasmMemory"],"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),D(!i["INITIAL_MEMORY"],"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically"),function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)"}();var j=[],H=[],V=[],K=!1,z=0;function W(){return x||z>0}function q(){if(i["preRun"]){"function"==typeof i["preRun"]&&(i["preRun"]=[i["preRun"]]);while(i["preRun"].length)$(i["preRun"].shift())}Ae(j)}function Y(){D(!K),K=!0,U(),i["noFSInit"]||nt.init.initialized||nt.init(),nt.ignorePermissions=!1,Ke.init(),Ae(H)}function X(){if(U(),i["postRun"]){"function"==typeof i["postRun"]&&(i["postRun"]=[i["postRun"]]);while(i["postRun"].length)Z(i["postRun"].shift())}Ae(V)}function $(e){j.unshift(e)}function J(e){H.unshift(e)}function Z(e){V.unshift(e)}D(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var Q=0,ee=null,te=null,re={};function ne(e){var t=e;while(1){if(!re[e])return e;e=t+Math.random()}}function oe(e){Q++,i["monitorRunDependencies"]&&i["monitorRunDependencies"](Q),e?(D(!re[e]),re[e]=1,null===ee&&"undefined"!=typeof setInterval&&(ee=setInterval((function(){if(R)return clearInterval(ee),void(ee=null);var e=!1;for(var t in re)e||(e=!0,T("still waiting on run dependencies:")),T("dependency: ".concat(t));e&&T("(end of list)")}),1e4))):T("warning: run dependency added without ID")}function ie(e){if(Q--,i["monitorRunDependencies"]&&i["monitorRunDependencies"](Q),e?(D(re[e]),delete re[e]):T("warning: run dependency removed without ID"),0==Q&&(null!==ee&&(clearInterval(ee),ee=null),te)){var t=te;te=null,t()}}function ae(e){i["onAbort"]&&i["onAbort"](e),e="Aborted("+e+")",T(e),R=!0,1;var t=new WebAssembly.RuntimeError(e);throw t}var se,ue,ce,_e="data:application/octet-stream;base64,";function le(e){return e.startsWith(_e)}function fe(e){return e.startsWith("file://")}function he(e){return function(){D(K,"native function `".concat(e,"` called before runtime initialization"));var t=Kt[e];return D(t,"exported native function `".concat(e,"` not found")),t.apply(null,arguments)}}function de(e){if(e==se&&P)return new Uint8Array(P);if(p)return p(e);throw"both async and sync fetching of the wasm failed"}function pe(e){if(!P&&(c||_)){if("function"==typeof fetch&&!fe(e))return fetch(e,{credentials:"same-origin"}).then((function(t){if(!t["ok"])throw"failed to load wasm binary file at '"+e+"'";return t["arrayBuffer"]()})).catch((function(){return de(e)}));if(d)return new Promise((function(t,r){d(e,(function(e){return t(new Uint8Array(e))}),r)}))}return Promise.resolve().then((function(){return de(e)}))}function Se(e,t,r){return pe(e).then((function(e){return WebAssembly.instantiate(e,t)})).then((function(e){return e})).then(r,(function(e){T("failed to asynchronously prepare wasm: ".concat(e)),fe(se)&&T("warning: Loading from a file URI (".concat(se,") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing")),ae(e)}))}function ye(e,t,r,n){return e||"function"!=typeof WebAssembly.instantiateStreaming||le(t)||fe(t)||l||"function"!=typeof fetch?Se(t,r,n):fetch(t,{credentials:"same-origin"}).then((function(e){var o=WebAssembly.instantiateStreaming(e,r);return o.then(n,(function(e){return T("wasm streaming compile failed: ".concat(e)),T("falling back to ArrayBuffer instantiation"),Se(t,r,n)}))}))}function me(){var e={env:Vt,wasi_snapshot_preview1:Vt};function t(e,t){var r=e.exports;return Kt=r,A=Kt["memory"],D(A,"memory not found in wasm exports"),B(),k=Kt["__indirect_function_table"],D(k,"table not found in wasm exports"),J(Kt["__wasm_call_ctors"]),ie("wasm-instantiate"),r}oe("wasm-instantiate");var r=i;function n(e){D(i===r,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),r=null,t(e["instance"])}if(i["instantiateWasm"])try{return i["instantiateWasm"](e,t)}catch(o){return T("Module.instantiateWasm callback failed with error: ".concat(o)),!1}return ye(P,se,e,n),{}}function ge(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Object.getOwnPropertyDescriptor(i,e)||Object.defineProperty(i,e,{configurable:!0,get:function(){var n=r?" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)":"";ae("`Module.".concat(e,"` has been replaced by `").concat(t,"`")+n)}})}function ve(e){Object.getOwnPropertyDescriptor(i,e)&&ae("`Module.".concat(e,"` was supplied but `").concat(e,"` not included in INCOMING_MODULE_JS_API"))}function we(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}function Ge(e,t){"undefined"!==typeof globalThis&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){Ce("`"+e+"` is not longer defined by emscripten. "+t)}})}function be(e){"undefined"===typeof globalThis||Object.getOwnPropertyDescriptor(globalThis,e)||Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE='"+r+"')",we(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),Ce(t)}}),Ee(e)}function Ee(e){Object.getOwnPropertyDescriptor(i,e)||Object.defineProperty(i,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the Emscripten FAQ)";we(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),ae(t)}})}se="/js/longanWithoutShareArrayBuffer/longan.worker.wasm",le(se)||(se=y(se)),Ge("buffer","Please use HEAP8.buffer or wasmMemory.buffer"),Ge("asm","Please use wasmExports instead");var Te={1198173:function(e,t){i.showCollisionComputeStatus&&i.showCollisionComputeStatus(e,t)},1198263:function(e,t){i.showCollisionComputeStatus&&i.showCollisionComputeStatus(e,t)}};function Pe(e){this.name="ExitStatus",this.message="Program terminated with exit(".concat(e,")"),this.status=e}var Ae=function(e){while(e.length>0)e.shift()(i)};var xe=function(e){return D("number"===typeof e),e>>>=0,"0x"+e.toString(16).padStart(8,"0")};var Ce=function e(t){e.shown||(e.shown={}),e.shown[t]||(e.shown[t]=1,l&&(t="warning: "+t),T(t))},Ie="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,Le=function(e,t,r){var n=t+r,o=t;while(e[o]&&!(o>=n))++o;if(o-t>16&&e.buffer&&Ie)return Ie.decode(e.subarray(t,o));var i="";while(t<o){var a=e[t++];if(128&a){var s=63&e[t++];if(192!=(224&a)){var u=63&e[t++];if(224==(240&a)?a=(15&a)<<12|s<<6|u:(240!=(248&a)&&Ce("Invalid UTF-8 leading byte "+xe(a)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),a=(7&a)<<18|s<<12|u<<6|63&e[t++]),a<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i},Oe=function(e,t){return D("number"==typeof e),e?Le(I,e,t):""},Fe=function(e,t,r,n){ae("Assertion failed: ".concat(Oe(e),", at: ")+[t?Oe(t):"unknown filename",r,n?Oe(n):"unknown function"])},Me=function(e){return O[qt()>>2]=e,e},ke={isAbs:function(e){return"/"===e.charAt(0)},splitPath:function(e){var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return t.exec(e).slice(1)},normalizeArray:function(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},normalize:function(e){var t=ke.isAbs(e),r="/"===e.substr(-1);return e=ke.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"),e||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},dirname:function(e){var t=ke.splitPath(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},basename:function(e){if("/"===e)return"/";e=ke.normalize(e),e=e.replace(/\/$/,"");var t=e.lastIndexOf("/");return-1===t?e:e.substr(t+1)},join:function(){var e=Array.prototype.slice.call(arguments);return ke.normalize(e.join("/"))},join2:function(e,t){return ke.normalize(e+"/"+t)}},Re=function(){if("object"==("undefined"===typeof crypto?"undefined":o(crypto))&&"function"==typeof crypto["getRandomValues"])return function(e){return crypto.getRandomValues(e)};if(l)try{var e=r(Object(function(){var e=new Error("Cannot find module 'crypto'");throw e.code="MODULE_NOT_FOUND",e}())),t=e["randomFillSync"];if(t)return function(t){return e["randomFillSync"](t)};var n=e["randomBytes"];return function(e){return e.set(n(e.byteLength)),e}}catch(i){}ae("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: (array) => { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };")},De=function(e){return(De=Re())(e)},Be={resolve:function(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:nt.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,t=ke.isAbs(n)}return e=ke.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"),(t?"/":"")+e||"."},relative:function(e,t){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=Be.resolve(e).substr(1),t=Be.resolve(t).substr(1);for(var n=r(e.split("/")),o=r(t.split("/")),i=Math.min(n.length,o.length),a=i,s=0;s<i;s++)if(n[s]!==o[s]){a=s;break}var u=[];for(s=a;s<n.length;s++)u.push("..");return u=u.concat(o.slice(a)),u.join("/")}},Ne=[],Ue=function(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):t+=3}return t},je=function(e,t,r,n){if(D("string"===typeof e),!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s>=55296&&s<=57343){var u=e.charCodeAt(++a);s=65536+((1023&s)<<10)|1023&u}if(s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;s>1114111&&Ce("Invalid Unicode code point "+xe(s)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF)."),t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}return t[r]=0,r-o};function He(e,t,r){var n=r>0?r:Ue(e)+1,o=new Array(n),i=je(e,o,0,o.length);return t&&(o.length=i),o}var Ve=function(){if(!Ne.length){var e=null;if(l){var t=256,r=Buffer.alloc(t),n=0,o=process.stdin.fd;try{n=v.readSync(o,r)}catch(i){if(!i.toString().includes("EOF"))throw i;n=0}e=n>0?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?(e=window.prompt("Input: "),null!==e&&(e+="\n")):"function"==typeof readline&&(e=readline(),null!==e&&(e+="\n"));if(!e)return null;Ne=He(e,!0)}return Ne.shift()},Ke={ttys:[],init:function(){},shutdown:function(){},register:function(e,t){Ke.ttys[e]={input:[],output:[],ops:t},nt.registerDevice(e,Ke.stream_ops)},stream_ops:{open:function(e){var t=Ke.ttys[e.node.rdev];if(!t)throw new nt.ErrnoError(43);e.tty=t,e.seekable=!1},close:function(e){e.tty.ops.fsync(e.tty)},fsync:function(e){e.tty.ops.fsync(e.tty)},read:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.get_char)throw new nt.ErrnoError(60);for(var i=0,a=0;a<n;a++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(u){throw new nt.ErrnoError(29)}if(void 0===s&&0===i)throw new nt.ErrnoError(6);if(null===s||void 0===s)break;i++,t[r+a]=s}return i&&(e.node.timestamp=Date.now()),i},write:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.put_char)throw new nt.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,t[r+i])}catch(a){throw new nt.ErrnoError(29)}return n&&(e.node.timestamp=Date.now()),i}},default_tty_ops:{get_char:function(e){return Ve()},put_char:function(e,t){null===t||10===t?(E(Le(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},fsync:function(e){e.output&&e.output.length>0&&(E(Le(e.output,0)),e.output=[])},ioctl_tcgets:function(e){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets:function(e,t,r){return 0},ioctl_tiocgwinsz:function(e){return[24,80]}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(T(Le(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},fsync:function(e){e.output&&e.output.length>0&&(T(Le(e.output,0)),e.output=[])}}},ze=function(e){ae("internal error: mmapAlloc called but `emscripten_builtin_memalign` native symbol not exported")},We={ops_table:null,mount:function(e){return We.createNode(null,"/",16895,0)},createNode:function(e,t,r,n){if(nt.isBlkdev(r)||nt.isFIFO(r))throw new nt.ErrnoError(63);We.ops_table||(We.ops_table={dir:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr,lookup:We.node_ops.lookup,mknod:We.node_ops.mknod,rename:We.node_ops.rename,unlink:We.node_ops.unlink,rmdir:We.node_ops.rmdir,readdir:We.node_ops.readdir,symlink:We.node_ops.symlink},stream:{llseek:We.stream_ops.llseek}},file:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr},stream:{llseek:We.stream_ops.llseek,read:We.stream_ops.read,write:We.stream_ops.write,allocate:We.stream_ops.allocate,mmap:We.stream_ops.mmap,msync:We.stream_ops.msync}},link:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr,readlink:We.node_ops.readlink},stream:{}},chrdev:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr},stream:nt.chrdev_stream_ops}});var o=nt.createNode(e,t,r,n);return nt.isDir(o.mode)?(o.node_ops=We.ops_table.dir.node,o.stream_ops=We.ops_table.dir.stream,o.contents={}):nt.isFile(o.mode)?(o.node_ops=We.ops_table.file.node,o.stream_ops=We.ops_table.file.stream,o.usedBytes=0,o.contents=null):nt.isLink(o.mode)?(o.node_ops=We.ops_table.link.node,o.stream_ops=We.ops_table.link.stream):nt.isChrdev(o.mode)&&(o.node_ops=We.ops_table.chrdev.node,o.stream_ops=We.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[t]=o,e.timestamp=o.timestamp),o},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0)},expandFileStorage:function(e,t){var r=e.contents?e.contents.length:0;if(!(r>=t)){var n=1048576;t=Math.max(t,r*(r<n?2:1.125)>>>0),0!=r&&(t=Math.max(t,256));var o=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(o.subarray(0,e.usedBytes),0)}},resizeFileStorage:function(e,t){if(e.usedBytes!=t)if(0==t)e.contents=null,e.usedBytes=0;else{var r=e.contents;e.contents=new Uint8Array(t),r&&e.contents.set(r.subarray(0,Math.min(t,e.usedBytes))),e.usedBytes=t}},node_ops:{getattr:function(e){var t={};return t.dev=nt.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,nt.isDir(e.mode)?t.size=4096:nt.isFile(e.mode)?t.size=e.usedBytes:nt.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&We.resizeFileStorage(e,t.size)},lookup:function(e,t){throw nt.genericErrors[44]},mknod:function(e,t,r,n){return We.createNode(e,t,r,n)},rename:function(e,t,r){if(nt.isDir(e.mode)){var n;try{n=nt.lookupNode(t,r)}catch(i){}if(n)for(var o in n.contents)throw new nt.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=r,t.contents[r]=e,t.timestamp=e.parent.timestamp,e.parent=t},unlink:function(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir:function(e,t){var r=nt.lookupNode(e,t);for(var n in r.contents)throw new nt.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir:function(e){var t=[".",".."];for(var r in e.contents)e.contents.hasOwnProperty(r)&&t.push(r);return t},symlink:function(e,t,r){var n=We.createNode(e,t,41471,0);return n.link=r,n},readlink:function(e){if(!nt.isLink(e.mode))throw new nt.ErrnoError(28);return e.link}},stream_ops:{read:function(e,t,r,n,o){var i=e.node.contents;if(o>=e.node.usedBytes)return 0;var a=Math.min(e.node.usedBytes-o,n);if(D(a>=0),a>8&&i.subarray)t.set(i.subarray(o,o+a),r);else for(var s=0;s<a;s++)t[r+s]=i[o+s];return a},write:function(e,t,r,n,o,i){if(D(!(t instanceof ArrayBuffer)),t.buffer===C.buffer&&(i=!1),!n)return 0;var a=e.node;if(a.timestamp=Date.now(),t.subarray&&(!a.contents||a.contents.subarray)){if(i)return D(0===o,"canOwn must imply no weird position inside the file"),a.contents=t.subarray(r,r+n),a.usedBytes=n,n;if(0===a.usedBytes&&0===o)return a.contents=t.slice(r,r+n),a.usedBytes=n,n;if(o+n<=a.usedBytes)return a.contents.set(t.subarray(r,r+n),o),n}if(We.expandFileStorage(a,o+n),a.contents.subarray&&t.subarray)a.contents.set(t.subarray(r,r+n),o);else for(var s=0;s<n;s++)a.contents[o+s]=t[r+s];return a.usedBytes=Math.max(a.usedBytes,o+n),n},llseek:function(e,t,r){var n=t;if(1===r?n+=e.position:2===r&&nt.isFile(e.node.mode)&&(n+=e.node.usedBytes),n<0)throw new nt.ErrnoError(28);return n},allocate:function(e,t,r){We.expandFileStorage(e.node,t+r),e.node.usedBytes=Math.max(e.node.usedBytes,t+r)},mmap:function(e,t,r,n,o){if(!nt.isFile(e.node.mode))throw new nt.ErrnoError(43);var i,a,s=e.node.contents;if(2&o||s.buffer!==C.buffer){if((r>0||r+t<s.length)&&(s=s.subarray?s.subarray(r,r+t):Array.prototype.slice.call(s,r,r+t)),a=!0,i=ze(t),!i)throw new nt.ErrnoError(48);C.set(s,i)}else a=!1,i=s.byteOffset;return{ptr:i,allocated:a}},msync:function(e,t,r,n,o){return We.stream_ops.write(e,t,0,n,r,!1),0}}},qe=function(e,t,r,n){var o=n?"":ne("al ".concat(e));d(e,(function(r){D(r,'Loading data file "'.concat(e,'" failed (no arrayBuffer).')),t(new Uint8Array(r)),o&&ie(o)}),(function(t){if(!r)throw'Loading data file "'.concat(e,'" failed.');r()})),o&&oe(o)},Ye=i["preloadPlugins"]||[],Xe=function(e,t,r,n){"undefined"!=typeof Browser&&Browser.init();var o=!1;return Ye.forEach((function(i){o||i["canHandle"](t)&&(i["handle"](e,t,r,n),o=!0)})),o},$e=function(e,t,r,n,o,i,a,s,u,c){var _=t?Be.resolve(ke.join2(e,t)):e,l=ne("cp ".concat(_));function f(r){function f(r){c&&c(),s||nt.createDataFile(e,t,r,n,o,u),i&&i(),ie(l)}Xe(r,_,f,(function(){a&&a(),ie(l)}))||f(r)}oe(l),"string"==typeof r?qe(r,(function(e){return f(e)}),a):f(r)},Je=function(e){var t={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},r=t[e];if("undefined"==typeof r)throw new Error("Unknown file open mode: ".concat(e));return r},Ze=function(e,t){var r=0;return e&&(r|=365),t&&(r|=146),r},Qe={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"},et={},tt=function(e){return Ce("warning: build with -sDEMANGLE_SUPPORT to link in libcxxabi demangling"),e},rt=function(e){var t=/\b_Z[\w\d_]+/g;return e.replace(t,(function(e){var t=tt(e);return e===t?e:t+" ["+e+"]"}))},nt={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=Be.resolve(e),!e)return{path:"",node:null};var r={follow_mount:!0,recurse_count:0};if(t=Object.assign(r,t),t.recurse_count>8)throw new nt.ErrnoError(32);for(var n=e.split("/").filter((function(e){return!!e})),o=nt.root,i="/",a=0;a<n.length;a++){var s=a===n.length-1;if(s&&t.parent)break;if(o=nt.lookupNode(o,n[a]),i=ke.join2(i,n[a]),nt.isMountpoint(o)&&(!s||s&&t.follow_mount)&&(o=o.mounted.root),!s||t.follow){var u=0;while(nt.isLink(o.mode)){var c=nt.readlink(i);i=Be.resolve(ke.dirname(i),c);var _=nt.lookupPath(i,{recurse_count:t.recurse_count+1});if(o=_.node,u++>40)throw new nt.ErrnoError(32)}}}return{path:i,node:o}},getPath:function(e){var t;while(1){if(nt.isRoot(e)){var r=e.mount.mountpoint;return t?"/"!==r[r.length-1]?"".concat(r,"/").concat(t):r+t:r}t=t?"".concat(e.name,"/").concat(t):e.name,e=e.parent}},hashName:function(e,t){for(var r=0,n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n)|0;return(e+r>>>0)%nt.nameTable.length},hashAddNode:function(e){var t=nt.hashName(e.parent.id,e.name);e.name_next=nt.nameTable[t],nt.nameTable[t]=e},hashRemoveNode:function(e){var t=nt.hashName(e.parent.id,e.name);if(nt.nameTable[t]===e)nt.nameTable[t]=e.name_next;else{var r=nt.nameTable[t];while(r){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}}},lookupNode:function(e,t){var r=nt.mayLookup(e);if(r)throw new nt.ErrnoError(r,e);for(var n=nt.hashName(e.id,t),o=nt.nameTable[n];o;o=o.name_next){var i=o.name;if(o.parent.id===e.id&&i===t)return o}return nt.lookup(e,t)},createNode:function(e,t,r,n){D("object"==o(e));var i=new nt.FSNode(e,t,r,n);return nt.hashAddNode(i),i},destroyNode:function(e){nt.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768===(61440&e)},isDir:function(e){return 16384===(61440&e)},isLink:function(e){return 40960===(61440&e)},isChrdev:function(e){return 8192===(61440&e)},isBlkdev:function(e){return 24576===(61440&e)},isFIFO:function(e){return 4096===(61440&e)},isSocket:function(e){return 49152===(49152&e)},flagsToPermissionString:function(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:function(e,t){return nt.ignorePermissions||(!t.includes("r")||292&e.mode)&&(!t.includes("w")||146&e.mode)&&(!t.includes("x")||73&e.mode)?0:2},mayLookup:function(e){var t=nt.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate:function(e,t){try{nt.lookupNode(e,t);return 20}catch(r){}return nt.nodePermissions(e,"wx")},mayDelete:function(e,t,r){var n;try{n=nt.lookupNode(e,t)}catch(i){return i.errno}var o=nt.nodePermissions(e,"wx");if(o)return o;if(r){if(!nt.isDir(n.mode))return 54;if(nt.isRoot(n)||nt.getPath(n)===nt.cwd())return 10}else if(nt.isDir(n.mode))return 31;return 0},mayOpen:function(e,t){return e?nt.isLink(e.mode)?32:nt.isDir(e.mode)&&("r"!==nt.flagsToPermissionString(t)||512&t)?31:nt.nodePermissions(e,nt.flagsToPermissionString(t)):44},MAX_OPEN_FDS:4096,nextfd:function(){for(var e=0;e<=nt.MAX_OPEN_FDS;e++)if(!nt.streams[e])return e;throw new nt.ErrnoError(33)},getStreamChecked:function(e){var t=nt.getStream(e);if(!t)throw new nt.ErrnoError(8);return t},getStream:function(e){return nt.streams[e]},createStream:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return nt.FSStream||(nt.FSStream=function(){this.shared={}},nt.FSStream.prototype={},Object.defineProperties(nt.FSStream.prototype,{object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!==(2097155&this.flags)}},isWrite:{get:function(){return 0!==(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}},flags:{get:function(){return this.shared.flags},set:function(e){this.shared.flags=e}},position:{get:function(){return this.shared.position},set:function(e){this.shared.position=e}}})),e=Object.assign(new nt.FSStream,e),-1==t&&(t=nt.nextfd()),e.fd=t,nt.streams[t]=e,e},closeStream:function(e){nt.streams[e]=null},chrdev_stream_ops:{open:function(e){var t=nt.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new nt.ErrnoError(70)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,t){return e<<8|t},registerDevice:function(e,t){nt.devices[e]={stream_ops:t}},getDevice:function(e){return nt.devices[e]},getMounts:function(e){var t=[],r=[e];while(r.length){var n=r.pop();t.push(n),r.push.apply(r,n.mounts)}return t},syncfs:function(e,t){"function"==typeof e&&(t=e,e=!1),nt.syncFSRequests++,nt.syncFSRequests>1&&T("warning: ".concat(nt.syncFSRequests," FS.syncfs operations in flight at once, probably just doing extra work"));var r=nt.getMounts(nt.root.mount),n=0;function o(e){return D(nt.syncFSRequests>0),nt.syncFSRequests--,t(e)}function i(e){if(e)return i.errored?void 0:(i.errored=!0,o(e));++n>=r.length&&o(null)}r.forEach((function(t){if(!t.type.syncfs)return i(null);t.type.syncfs(t,e,i)}))},mount:function(e,t,r){if("string"==typeof e)throw e;var n,o="/"===r,i=!r;if(o&&nt.root)throw new nt.ErrnoError(10);if(!o&&!i){var a=nt.lookupPath(r,{follow_mount:!1});if(r=a.path,n=a.node,nt.isMountpoint(n))throw new nt.ErrnoError(10);if(!nt.isDir(n.mode))throw new nt.ErrnoError(54)}var s={type:e,opts:t,mountpoint:r,mounts:[]},u=e.mount(s);return u.mount=s,s.root=u,o?nt.root=u:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),u},unmount:function(e){var t=nt.lookupPath(e,{follow_mount:!1});if(!nt.isMountpoint(t.node))throw new nt.ErrnoError(28);var r=t.node,n=r.mounted,o=nt.getMounts(n);Object.keys(nt.nameTable).forEach((function(e){var t=nt.nameTable[e];while(t){var r=t.name_next;o.includes(t.mount)&&nt.destroyNode(t),t=r}})),r.mounted=null;var i=r.mount.mounts.indexOf(n);D(-1!==i),r.mount.mounts.splice(i,1)},lookup:function(e,t){return e.node_ops.lookup(e,t)},mknod:function(e,t,r){var n=nt.lookupPath(e,{parent:!0}),o=n.node,i=ke.basename(e);if(!i||"."===i||".."===i)throw new nt.ErrnoError(28);var a=nt.mayCreate(o,i);if(a)throw new nt.ErrnoError(a);if(!o.node_ops.mknod)throw new nt.ErrnoError(63);return o.node_ops.mknod(o,i,t,r)},create:function(e,t){return t=void 0!==t?t:438,t&=4095,t|=32768,nt.mknod(e,t,0)},mkdir:function(e,t){return t=void 0!==t?t:511,t&=1023,t|=16384,nt.mknod(e,t,0)},mkdirTree:function(e,t){for(var r=e.split("/"),n="",o=0;o<r.length;++o)if(r[o]){n+="/"+r[o];try{nt.mkdir(n,t)}catch(i){if(20!=i.errno)throw i}}},mkdev:function(e,t,r){return"undefined"==typeof r&&(r=t,t=438),t|=8192,nt.mknod(e,t,r)},symlink:function(e,t){if(!Be.resolve(e))throw new nt.ErrnoError(44);var r=nt.lookupPath(t,{parent:!0}),n=r.node;if(!n)throw new nt.ErrnoError(44);var o=ke.basename(t),i=nt.mayCreate(n,o);if(i)throw new nt.ErrnoError(i);if(!n.node_ops.symlink)throw new nt.ErrnoError(63);return n.node_ops.symlink(n,o,e)},rename:function(e,t){var r,n,o,i=ke.dirname(e),a=ke.dirname(t),s=ke.basename(e),u=ke.basename(t);if(r=nt.lookupPath(e,{parent:!0}),n=r.node,r=nt.lookupPath(t,{parent:!0}),o=r.node,!n||!o)throw new nt.ErrnoError(44);if(n.mount!==o.mount)throw new nt.ErrnoError(75);var c,_=nt.lookupNode(n,s),l=Be.relative(e,a);if("."!==l.charAt(0))throw new nt.ErrnoError(28);if(l=Be.relative(t,i),"."!==l.charAt(0))throw new nt.ErrnoError(55);try{c=nt.lookupNode(o,u)}catch(d){}if(_!==c){var f=nt.isDir(_.mode),h=nt.mayDelete(n,s,f);if(h)throw new nt.ErrnoError(h);if(h=c?nt.mayDelete(o,u,f):nt.mayCreate(o,u),h)throw new nt.ErrnoError(h);if(!n.node_ops.rename)throw new nt.ErrnoError(63);if(nt.isMountpoint(_)||c&&nt.isMountpoint(c))throw new nt.ErrnoError(10);if(o!==n&&(h=nt.nodePermissions(n,"w"),h))throw new nt.ErrnoError(h);nt.hashRemoveNode(_);try{n.node_ops.rename(_,o,u)}catch(d){throw d}finally{nt.hashAddNode(_)}}},rmdir:function(e){var t=nt.lookupPath(e,{parent:!0}),r=t.node,n=ke.basename(e),o=nt.lookupNode(r,n),i=nt.mayDelete(r,n,!0);if(i)throw new nt.ErrnoError(i);if(!r.node_ops.rmdir)throw new nt.ErrnoError(63);if(nt.isMountpoint(o))throw new nt.ErrnoError(10);r.node_ops.rmdir(r,n),nt.destroyNode(o)},readdir:function(e){var t=nt.lookupPath(e,{follow:!0}),r=t.node;if(!r.node_ops.readdir)throw new nt.ErrnoError(54);return r.node_ops.readdir(r)},unlink:function(e){var t=nt.lookupPath(e,{parent:!0}),r=t.node;if(!r)throw new nt.ErrnoError(44);var n=ke.basename(e),o=nt.lookupNode(r,n),i=nt.mayDelete(r,n,!1);if(i)throw new nt.ErrnoError(i);if(!r.node_ops.unlink)throw new nt.ErrnoError(63);if(nt.isMountpoint(o))throw new nt.ErrnoError(10);r.node_ops.unlink(r,n),nt.destroyNode(o)},readlink:function(e){var t=nt.lookupPath(e),r=t.node;if(!r)throw new nt.ErrnoError(44);if(!r.node_ops.readlink)throw new nt.ErrnoError(28);return Be.resolve(nt.getPath(r.parent),r.node_ops.readlink(r))},stat:function(e,t){var r=nt.lookupPath(e,{follow:!t}),n=r.node;if(!n)throw new nt.ErrnoError(44);if(!n.node_ops.getattr)throw new nt.ErrnoError(63);return n.node_ops.getattr(n)},lstat:function(e){return nt.stat(e,!0)},chmod:function(e,t,r){var n;if("string"==typeof e){var o=nt.lookupPath(e,{follow:!r});n=o.node}else n=e;if(!n.node_ops.setattr)throw new nt.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&t|-4096&n.mode,timestamp:Date.now()})},lchmod:function(e,t){nt.chmod(e,t,!0)},fchmod:function(e,t){var r=nt.getStreamChecked(e);nt.chmod(r.node,t)},chown:function(e,t,r,n){var o;if("string"==typeof e){var i=nt.lookupPath(e,{follow:!n});o=i.node}else o=e;if(!o.node_ops.setattr)throw new nt.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:function(e,t,r){nt.chown(e,t,r,!0)},fchown:function(e,t,r){var n=nt.getStreamChecked(e);nt.chown(n.node,t,r)},truncate:function(e,t){if(t<0)throw new nt.ErrnoError(28);var r;if("string"==typeof e){var n=nt.lookupPath(e,{follow:!0});r=n.node}else r=e;if(!r.node_ops.setattr)throw new nt.ErrnoError(63);if(nt.isDir(r.mode))throw new nt.ErrnoError(31);if(!nt.isFile(r.mode))throw new nt.ErrnoError(28);var o=nt.nodePermissions(r,"w");if(o)throw new nt.ErrnoError(o);r.node_ops.setattr(r,{size:t,timestamp:Date.now()})},ftruncate:function(e,t){var r=nt.getStreamChecked(e);if(0===(2097155&r.flags))throw new nt.ErrnoError(28);nt.truncate(r.node,t)},utime:function(e,t,r){var n=nt.lookupPath(e,{follow:!0}),o=n.node;o.node_ops.setattr(o,{timestamp:Math.max(t,r)})},open:function(e,t,r){if(""===e)throw new nt.ErrnoError(44);var n;if(t="string"==typeof t?Je(t):t,r="undefined"==typeof r?438:r,r=64&t?4095&r|32768:0,"object"==o(e))n=e;else{e=ke.normalize(e);try{var a=nt.lookupPath(e,{follow:!(131072&t)});n=a.node}catch(_){}}var s=!1;if(64&t)if(n){if(128&t)throw new nt.ErrnoError(20)}else n=nt.mknod(e,r,0),s=!0;if(!n)throw new nt.ErrnoError(44);if(nt.isChrdev(n.mode)&&(t&=-513),65536&t&&!nt.isDir(n.mode))throw new nt.ErrnoError(54);if(!s){var u=nt.mayOpen(n,t);if(u)throw new nt.ErrnoError(u)}512&t&&!s&&nt.truncate(n,0),t&=-131713;var c=nt.createStream({node:n,path:nt.getPath(n),flags:t,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1});return c.stream_ops.open&&c.stream_ops.open(c),!i["logReadFiles"]||1&t||(nt.readFiles||(nt.readFiles={}),e in nt.readFiles||(nt.readFiles[e]=1)),c},close:function(e){if(nt.isClosed(e))throw new nt.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(t){throw t}finally{nt.closeStream(e.fd)}e.fd=null},isClosed:function(e){return null===e.fd},llseek:function(e,t,r){if(nt.isClosed(e))throw new nt.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new nt.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new nt.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read:function(e,t,r,n,o){if(D(r>=0),n<0||o<0)throw new nt.ErrnoError(28);if(nt.isClosed(e))throw new nt.ErrnoError(8);if(1===(2097155&e.flags))throw new nt.ErrnoError(8);if(nt.isDir(e.node.mode))throw new nt.ErrnoError(31);if(!e.stream_ops.read)throw new nt.ErrnoError(28);var i="undefined"!=typeof o;if(i){if(!e.seekable)throw new nt.ErrnoError(70)}else o=e.position;var a=e.stream_ops.read(e,t,r,n,o);return i||(e.position+=a),a},write:function(e,t,r,n,o,i){if(D(r>=0),n<0||o<0)throw new nt.ErrnoError(28);if(nt.isClosed(e))throw new nt.ErrnoError(8);if(0===(2097155&e.flags))throw new nt.ErrnoError(8);if(nt.isDir(e.node.mode))throw new nt.ErrnoError(31);if(!e.stream_ops.write)throw new nt.ErrnoError(28);e.seekable&&1024&e.flags&&nt.llseek(e,0,2);var a="undefined"!=typeof o;if(a){if(!e.seekable)throw new nt.ErrnoError(70)}else o=e.position;var s=e.stream_ops.write(e,t,r,n,o,i);return a||(e.position+=s),s},allocate:function(e,t,r){if(nt.isClosed(e))throw new nt.ErrnoError(8);if(t<0||r<=0)throw new nt.ErrnoError(28);if(0===(2097155&e.flags))throw new nt.ErrnoError(8);if(!nt.isFile(e.node.mode)&&!nt.isDir(e.node.mode))throw new nt.ErrnoError(43);if(!e.stream_ops.allocate)throw new nt.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap:function(e,t,r,n,o){if(0!==(2&n)&&0===(2&o)&&2!==(2097155&e.flags))throw new nt.ErrnoError(2);if(1===(2097155&e.flags))throw new nt.ErrnoError(2);if(!e.stream_ops.mmap)throw new nt.ErrnoError(43);return e.stream_ops.mmap(e,t,r,n,o)},msync:function(e,t,r,n,o){return D(r>=0),e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0},munmap:function(e){return 0},ioctl:function(e,t,r){if(!e.stream_ops.ioctl)throw new nt.ErrnoError(59);return e.stream_ops.ioctl(e,t,r)},readFile:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r.flags=r.flags||0,r.encoding=r.encoding||"binary","utf8"!==r.encoding&&"binary"!==r.encoding)throw new Error('Invalid encoding type "'.concat(r.encoding,'"'));var n=nt.open(e,r.flags),o=nt.stat(e),i=o.size,a=new Uint8Array(i);return nt.read(n,a,0,i,0),"utf8"===r.encoding?t=Le(a,0):"binary"===r.encoding&&(t=a),nt.close(n),t},writeFile:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.flags=r.flags||577;var n=nt.open(e,r.flags,r.mode);if("string"==typeof t){var o=new Uint8Array(Ue(t)+1),i=je(t,o,0,o.length);nt.write(n,o,0,i,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");nt.write(n,t,0,t.byteLength,void 0,r.canOwn)}nt.close(n)},cwd:function(){return nt.currentPath},chdir:function(e){var t=nt.lookupPath(e,{follow:!0});if(null===t.node)throw new nt.ErrnoError(44);if(!nt.isDir(t.node.mode))throw new nt.ErrnoError(54);var r=nt.nodePermissions(t.node,"x");if(r)throw new nt.ErrnoError(r);nt.currentPath=t.path},createDefaultDirectories:function(){nt.mkdir("/tmp"),nt.mkdir("/home"),nt.mkdir("/home/web_user")},createDefaultDevices:function(){nt.mkdir("/dev"),nt.registerDevice(nt.makedev(1,3),{read:function(){return 0},write:function(e,t,r,n,o){return n}}),nt.mkdev("/dev/null",nt.makedev(1,3)),Ke.register(nt.makedev(5,0),Ke.default_tty_ops),Ke.register(nt.makedev(6,0),Ke.default_tty1_ops),nt.mkdev("/dev/tty",nt.makedev(5,0)),nt.mkdev("/dev/tty1",nt.makedev(6,0));var e=new Uint8Array(1024),t=0,r=function(){return 0===t&&(t=De(e).byteLength),e[--t]};nt.createDevice("/dev","random",r),nt.createDevice("/dev","urandom",r),nt.mkdir("/dev/shm"),nt.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){nt.mkdir("/proc");var e=nt.mkdir("/proc/self");nt.mkdir("/proc/self/fd"),nt.mount({mount:function(){var t=nt.createNode(e,"fd",16895,73);return t.node_ops={lookup:function(e,t){var r=+t,n=nt.getStreamChecked(r),o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return n.path}}};return o.parent=o,o}},t}},{},"/proc/self/fd")},createStandardStreams:function(){i["stdin"]?nt.createDevice("/dev","stdin",i["stdin"]):nt.symlink("/dev/tty","/dev/stdin"),i["stdout"]?nt.createDevice("/dev","stdout",null,i["stdout"]):nt.symlink("/dev/tty","/dev/stdout"),i["stderr"]?nt.createDevice("/dev","stderr",null,i["stderr"]):nt.symlink("/dev/tty1","/dev/stderr");var e=nt.open("/dev/stdin",0),t=nt.open("/dev/stdout",1),r=nt.open("/dev/stderr",1);D(0===e.fd,"invalid handle for stdin (".concat(e.fd,")")),D(1===t.fd,"invalid handle for stdout (".concat(t.fd,")")),D(2===r.fd,"invalid handle for stderr (".concat(r.fd,")"))},ensureErrnoError:function(){nt.ErrnoError||(nt.ErrnoError=function(e,t){this.name="ErrnoError",this.node=t,this.setErrno=function(e){for(var t in this.errno=e,et)if(et[t]===e){this.code=t;break}},this.setErrno(e),this.message=Qe[e],this.stack&&(Object.defineProperty(this,"stack",{value:(new Error).stack,writable:!0}),this.stack=rt(this.stack))},nt.ErrnoError.prototype=new Error,nt.ErrnoError.prototype.constructor=nt.ErrnoError,[44].forEach((function(e){nt.genericErrors[e]=new nt.ErrnoError(e),nt.genericErrors[e].stack="<generic error, no stack>"})))},staticInit:function(){nt.ensureErrnoError(),nt.nameTable=new Array(4096),nt.mount(We,{},"/"),nt.createDefaultDirectories(),nt.createDefaultDevices(),nt.createSpecialDirectories(),nt.filesystems={MEMFS:We}},init:function(e,t,r){D(!nt.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),nt.init.initialized=!0,nt.ensureErrnoError(),i["stdin"]=e||i["stdin"],i["stdout"]=t||i["stdout"],i["stderr"]=r||i["stderr"],nt.createStandardStreams()},quit:function(){nt.init.initialized=!1,Wt(0);for(var e=0;e<nt.streams.length;e++){var t=nt.streams[e];t&&nt.close(t)}},findObject:function(e,t){var r=nt.analyzePath(e,t);return r.exists?r.object:null},analyzePath:function(e,t){try{var r=nt.lookupPath(e,{follow:!t});e=r.path}catch(o){}var n={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{r=nt.lookupPath(e,{parent:!0});n.parentExists=!0,n.parentPath=r.path,n.parentObject=r.node,n.name=ke.basename(e),r=nt.lookupPath(e,{follow:!t}),n.exists=!0,n.path=r.path,n.object=r.node,n.name=r.node.name,n.isRoot="/"===r.path}catch(o){n.error=o.errno}return n},createPath:function(e,t,r,n){e="string"==typeof e?e:nt.getPath(e);var o=t.split("/").reverse();while(o.length){var i=o.pop();if(i){var a=ke.join2(e,i);try{nt.mkdir(a)}catch(s){}e=a}}return a},createFile:function(e,t,r,n,o){var i=ke.join2("string"==typeof e?e:nt.getPath(e),t),a=Ze(n,o);return nt.create(i,a)},createDataFile:function(e,t,r,n,o,i){var a=t;e&&(e="string"==typeof e?e:nt.getPath(e),a=t?ke.join2(e,t):e);var s=Ze(n,o),u=nt.create(a,s);if(r){if("string"==typeof r){for(var c=new Array(r.length),_=0,l=r.length;_<l;++_)c[_]=r.charCodeAt(_);r=c}nt.chmod(u,146|s);var f=nt.open(u,577);nt.write(f,r,0,r.length,0,i),nt.close(f),nt.chmod(u,s)}return u},createDevice:function(e,t,r,n){var o=ke.join2("string"==typeof e?e:nt.getPath(e),t),i=Ze(!!r,!!n);nt.createDevice.major||(nt.createDevice.major=64);var a=nt.makedev(nt.createDevice.major++,0);return nt.registerDevice(a,{open:function(e){e.seekable=!1},close:function(e){n&&n.buffer&&n.buffer.length&&n(10)},read:function(e,t,n,o,i){for(var a=0,s=0;s<o;s++){var u;try{u=r()}catch(c){throw new nt.ErrnoError(29)}if(void 0===u&&0===a)throw new nt.ErrnoError(6);if(null===u||void 0===u)break;a++,t[n+s]=u}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,r,o,i){for(var a=0;a<o;a++)try{n(t[r+a])}catch(s){throw new nt.ErrnoError(29)}return o&&(e.node.timestamp=Date.now()),a}}),nt.mkdev(o,i,a)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!h)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=He(h(e.url),!0),e.usedBytes=e.contents.length}catch(t){throw new nt.ErrnoError(29)}},createLazyFile:function(e,t,r,n,o){function i(){this.lengthKnown=!1,this.chunks=[]}if(i.prototype.get=function(e){if(!(e>this.length-1||e<0)){var t=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[t]}},i.prototype.setDataGetter=function(e){this.getter=e},i.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+r+". Status: "+e.status);var t,n=Number(e.getResponseHeader("Content-length")),o=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,i=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,a=1048576;o||(a=n);var s=function(e,t){if(e>t)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(t>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",r,!1),n!==a&&o.setRequestHeader("Range","bytes="+e+"-"+t),o.responseType="arraybuffer",o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+r+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):He(o.responseText||"",!0)},u=this;u.setDataGetter((function(e){var t=e*a,r=(e+1)*a-1;if(r=Math.min(r,n-1),"undefined"==typeof u.chunks[e]&&(u.chunks[e]=s(t,r)),"undefined"==typeof u.chunks[e])throw new Error("doXHR failed!");return u.chunks[e]})),!i&&n||(a=n=1,n=this.getter(0).length,a=n,E("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!_)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a=new i;Object.defineProperties(a,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:a}}else s={isDevice:!1,url:r};var u=nt.createFile(e,t,s,n,o);s.contents?u.contents=s.contents:s.url&&(u.contents=null,u.url=s.url),Object.defineProperties(u,{usedBytes:{get:function(){return this.contents.length}}});var c={},l=Object.keys(u.stream_ops);function f(e,t,r,n,o){var i=e.node.contents;if(o>=i.length)return 0;var a=Math.min(i.length-o,n);if(D(a>=0),i.slice)for(var s=0;s<a;s++)t[r+s]=i[o+s];else for(s=0;s<a;s++)t[r+s]=i.get(o+s);return a}return l.forEach((function(e){var t=u.stream_ops[e];c[e]=function(){return nt.forceLoadFile(u),t.apply(null,arguments)}})),c.read=function(e,t,r,n,o){return nt.forceLoadFile(u),f(e,t,r,n,o)},c.mmap=function(e,t,r,n,o){nt.forceLoadFile(u);var i=ze(t);if(!i)throw new nt.ErrnoError(48);return f(e,C,i,t,r),{ptr:i,allocated:!0}},u.stream_ops=c,u},absolutePath:function(){ae("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder:function(){ae("FS.createFolder has been removed; use FS.mkdir instead")},createLink:function(){ae("FS.createLink has been removed; use FS.symlink instead")},joinPath:function(){ae("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc:function(){ae("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath:function(){ae("FS.standardizePath has been removed; use PATH.normalize instead")}},ot={DEFAULT_POLLMASK:5,calculateAt:function(e,t,r){if(ke.isAbs(t))return t;var n;if(-100===e)n=nt.cwd();else{var o=ot.getStreamFromFD(e);n=o.path}if(0==t.length){if(!r)throw new nt.ErrnoError(44);return n}return ke.join2(n,t)},doStat:function(e,t,r){try{var n=e(t)}catch(s){if(s&&s.node&&ke.normalize(t)!==ke.normalize(nt.getPath(s.node)))return-54;throw s}O[r>>2]=n.dev,O[r+4>>2]=n.mode,F[r+8>>2]=n.nlink,O[r+12>>2]=n.uid,O[r+16>>2]=n.gid,O[r+20>>2]=n.rdev,ce=[n.size>>>0,(ue=n.size,+Math.abs(ue)>=1?ue>0?+Math.floor(ue/4294967296)>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],O[r+24>>2]=ce[0],O[r+28>>2]=ce[1],O[r+32>>2]=4096,O[r+36>>2]=n.blocks;var o=n.atime.getTime(),i=n.mtime.getTime(),a=n.ctime.getTime();return ce=[Math.floor(o/1e3)>>>0,(ue=Math.floor(o/1e3),+Math.abs(ue)>=1?ue>0?+Math.floor(ue/4294967296)>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],O[r+40>>2]=ce[0],O[r+44>>2]=ce[1],F[r+48>>2]=o%1e3*1e3,ce=[Math.floor(i/1e3)>>>0,(ue=Math.floor(i/1e3),+Math.abs(ue)>=1?ue>0?+Math.floor(ue/4294967296)>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],O[r+56>>2]=ce[0],O[r+60>>2]=ce[1],F[r+64>>2]=i%1e3*1e3,ce=[Math.floor(a/1e3)>>>0,(ue=Math.floor(a/1e3),+Math.abs(ue)>=1?ue>0?+Math.floor(ue/4294967296)>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],O[r+72>>2]=ce[0],O[r+76>>2]=ce[1],F[r+80>>2]=a%1e3*1e3,ce=[n.ino>>>0,(ue=n.ino,+Math.abs(ue)>=1?ue>0?+Math.floor(ue/4294967296)>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],O[r+88>>2]=ce[0],O[r+92>>2]=ce[1],0},doMsync:function(e,t,r,n,o){if(!nt.isFile(t.node.mode))throw new nt.ErrnoError(43);if(2&n)return 0;var i=I.slice(e,e+r);nt.msync(t,i,o,r,n)},varargs:void 0,get:function(){D(void 0!=ot.varargs);var e=O[ot.varargs>>2];return ot.varargs+=4,e},getp:function(){return ot.get()},getStr:function(e){var t=Oe(e);return t},getStreamFromFD:function(e){var t=nt.getStreamChecked(e);return t}};function it(e,t,r){ot.varargs=r;try{var n=ot.getStreamFromFD(e);switch(t){case 0:var o,i=ot.get();if(i<0)return-28;while(nt.streams[i])i++;return o=nt.createStream(n,i),o.fd;case 1:case 2:return 0;case 3:return n.flags;case 4:i=ot.get();return n.flags|=i,0;case 5:i=ot.getp();var a=0;return L[i+a>>1]=2,0;case 6:case 7:return 0;case 16:case 8:return-28;case 9:return Me(28),-1;default:return-28}}catch(s){if("undefined"==typeof nt||"ErrnoError"!==s.name)throw s;return-s.errno}}function at(e,t,r){ot.varargs=r;try{var n=ot.getStreamFromFD(e);switch(t){case 21509:return n.tty?0:-59;case 21505:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcgets){var o=n.tty.ops.ioctl_tcgets(n),i=ot.getp();O[i>>2]=o.c_iflag||0,O[i+4>>2]=o.c_oflag||0,O[i+8>>2]=o.c_cflag||0,O[i+12>>2]=o.c_lflag||0;for(var a=0;a<32;a++)C[i+a+17|0]=o.c_cc[a]||0;return 0}return 0;case 21510:case 21511:case 21512:return n.tty?0:-59;case 21506:case 21507:case 21508:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcsets){i=ot.getp();var s=O[i>>2],u=O[i+4>>2],c=O[i+8>>2],_=O[i+12>>2],l=[];for(a=0;a<32;a++)l.push(C[i+a+17|0]);return n.tty.ops.ioctl_tcsets(n.tty,t,{c_iflag:s,c_oflag:u,c_cflag:c,c_lflag:_,c_cc:l})}return 0;case 21519:if(!n.tty)return-59;i=ot.getp();return O[i>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:i=ot.getp();return nt.ioctl(n,t,i);case 21523:if(!n.tty)return-59;if(n.tty.ops.ioctl_tiocgwinsz){var f=n.tty.ops.ioctl_tiocgwinsz(n.tty);i=ot.getp();L[i>>1]=f[0],L[i+2>>1]=f[1]}return 0;case 21524:return n.tty?0:-59;case 21515:return n.tty?0:-59;default:return-28}}catch(h){if("undefined"==typeof nt||"ErrnoError"!==h.name)throw h;return-h.errno}}function st(e,t,r,n){ot.varargs=n;try{t=ot.getStr(t),t=ot.calculateAt(e,t);var o=n?ot.get():0;return nt.open(t,r,o).fd}catch(i){if("undefined"==typeof nt||"ErrnoError"!==i.name)throw i;return-i.errno}}var ut=function(){throw 1/0},ct=function(){ae("native code called abort()")},_t=[],lt=function(e,t){var r;D(Array.isArray(_t)),D(t%16==0),_t.length=0;while(r=I[e++]){var n=String.fromCharCode(r),o=["d","f","i"];D(o.includes(n),"Invalid character ".concat(r,'("').concat(n,'") in readEmAsmArgs! Use only [').concat(o,'], and do not specify "v" for void return argument.')),t+=105!=r&&t%8?4:0,_t.push(105==r?O[t>>2]:M[t>>3]),t+=105==r?4:8}return _t},ft=function(e,t,r){var n=lt(t,r);return Te.hasOwnProperty(e)||ae("No EM_ASM constant found at address ".concat(e)),Te[e].apply(null,n)},ht=function(e,t,r){return ft(e,t,r)},dt=function(e,t,r){return I.copyWithin(e,t,t+r)},pt=function(){return 2147483648},St=function(e){var t=A.buffer,r=(e-t.byteLength+65535)/65536;try{return A.grow(r),B(),1}catch(n){T("growMemory: Attempted to grow heap from ".concat(t.byteLength," bytes to ").concat(e," bytes, but got error: ").concat(n))}},yt=function(e){var t=I.length;e>>>=0,D(e>t);var r=pt();if(e>r)return T("Cannot enlarge memory, requested ".concat(e," bytes, but the limit is ").concat(r," bytes!")),!1;for(var n=function(e,t){return e+(t-e%t)%t},o=1;o<=4;o*=2){var i=t*(1+.2/o);i=Math.min(i,e+100663296);var a=Math.min(r,n(Math.max(e,i),65536)),s=St(a);if(s)return!0}return T("Failed to grow the heap from ".concat(t," bytes to ").concat(a," bytes, not enough memory!")),!1},mt={},gt=function(){return s||"./this.program"},vt=function e(){if(!e.strings){var t=("object"==("undefined"===typeof navigator?"undefined":o(navigator))&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:t,_:gt()};for(var n in mt)void 0===mt[n]?delete r[n]:r[n]=mt[n];var i=[];for(var n in r)i.push("".concat(n,"=").concat(r[n]));e.strings=i}return e.strings},wt=function(e,t){for(var r=0;r<e.length;++r)D(e.charCodeAt(r)===(255&e.charCodeAt(r))),C[t++|0]=e.charCodeAt(r);C[t|0]=0},Gt=function(e,t){var r=0;return vt().forEach((function(n,o){var i=t+r;F[e+4*o>>2]=i,wt(n,i),r+=n.length+1})),0},bt=function(e,t){var r=vt();F[e>>2]=r.length;var n=0;return r.forEach((function(e){return n+=e.length+1})),F[t>>2]=n,0},Et=function(e){e,W()||(i["onExit"]&&i["onExit"](e),R=!0),u(e,new Pe(e))},Tt=function(e,t){if(e,fr(),W()&&!t){var r="program exited (with status: ".concat(e,"), but keepRuntimeAlive() is set (counter=").concat(z,") due to an async operation, so halting execution but not exiting the runtime or preventing further async execution (you can use emscripten_force_exit, if you want to force a true shutdown)");T(r)}Et(e)},Pt=Tt;function At(e){try{var t=ot.getStreamFromFD(e);return nt.close(t),0}catch(r){if("undefined"==typeof nt||"ErrnoError"!==r.name)throw r;return r.errno}}var xt=function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=F[t>>2],s=F[t+4>>2];t+=8;var u=nt.read(e,C,a,s,n);if(u<0)return-1;if(o+=u,u<s)break;"undefined"!==typeof n&&(n+=u)}return o};function Ct(e,t,r,n){try{var o=ot.getStreamFromFD(e),i=xt(o,t,r);return F[n>>2]=i,0}catch(a){if("undefined"==typeof nt||"ErrnoError"!==a.name)throw a;return a.errno}}var It=function(e,t){return D(e==e>>>0||e==(0|e)),D(t===(0|t)),t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN};function Lt(e,t,r,n,o){var i=It(t,r);try{if(isNaN(i))return 61;var a=ot.getStreamFromFD(e);return nt.llseek(a,i,n),ce=[a.position>>>0,(ue=a.position,+Math.abs(ue)>=1?ue>0?+Math.floor(ue/4294967296)>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],O[o>>2]=ce[0],O[o+4>>2]=ce[1],a.getdents&&0===i&&0===n&&(a.getdents=null),0}catch(s){if("undefined"==typeof nt||"ErrnoError"!==s.name)throw s;return s.errno}}var Ot=function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=F[t>>2],s=F[t+4>>2];t+=8;var u=nt.write(e,C,a,s,n);if(u<0)return-1;o+=u,"undefined"!==typeof n&&(n+=u)}return o};function Ft(e,t,r,n){try{var o=ot.getStreamFromFD(e),i=Ot(o,t,r);return F[n>>2]=i,0}catch(a){if("undefined"==typeof nt||"ErrnoError"!==a.name)throw a;return a.errno}}var Mt=[],kt=function(e){var t=Mt[e];return t||(e>=Mt.length&&(Mt.length=e+1),Mt[e]=t=k.get(e)),D(k.get(e)==t,"JavaScript-side Wasm function table mirror is out of date!"),t},Rt=function(e,t,r){return D("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),je(e,I,t,r)},Dt=function(e){var t=Ue(e)+1,r=zt(t);return r&&Rt(e,r,t),r},Bt=Dt,Nt=function(e,t,r,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=nt.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n},Ut=365,jt=146;function Ht(){ve("fetchSettings")}Object.defineProperties(Nt.prototype,{read:{get:function(){return(this.mode&Ut)===Ut},set:function(e){e?this.mode|=Ut:this.mode&=~Ut}},write:{get:function(){return(this.mode&jt)===jt},set:function(e){e?this.mode|=jt:this.mode&=~jt}},isFolder:{get:function(){return nt.isDir(this.mode)}},isDevice:{get:function(){return nt.isChrdev(this.mode)}}}),nt.FSNode=Nt,nt.createPreloadedFile=$e,nt.staticInit(),et={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var Vt={__assert_fail:Fe,__syscall_fcntl64:it,__syscall_ioctl:at,__syscall_openat:st,_emscripten_throw_longjmp:ut,abort:ct,emscripten_asm_const_int:ht,emscripten_memcpy_big:dt,emscripten_resize_heap:yt,environ_get:Gt,environ_sizes_get:bt,exit:Pt,fd_close:At,fd_read:Ct,fd_seek:Lt,fd_write:Ft,invoke_ii:ir,invoke_iii:er,invoke_iiii:rr,invoke_iiiii:tr,invoke_v:nr,invoke_vi:ar,invoke_vii:or,invoke_viiii:Qt},Kt=me(),zt=(he("__wasm_call_ctors"),i["_malloc"]=he("malloc")),Wt=(i["_free"]=he("free"),i["_GS_Add_Font_Library"]=he("GS_Add_Font_Library"),i["_GS_Font_Library_Exists"]=he("GS_Font_Library_Exists"),i["_GS_Remove_Font_Library"]=he("GS_Remove_Font_Library"),i["_GS_Clear_Font_Library"]=he("GS_Clear_Font_Library"),i["_GS_Set_Driver_Configs"]=he("GS_Set_Driver_Configs"),i["_GS_Set_Driver_Options"]=he("GS_Set_Driver_Options"),i["_GS_Show_Driver_Options"]=he("GS_Show_Driver_Options"),i["_GS_Show_One_Driver_Option"]=he("GS_Show_One_Driver_Option"),i["_GS_Set_Shader"]=he("GS_Set_Shader"),i["_GS_Set_Vertex_Shader"]=he("GS_Set_Vertex_Shader"),i["_GS_Set_Fragment_Shader"]=he("GS_Set_Fragment_Shader"),i["_GS_UnSet_Shader"]=he("GS_UnSet_Shader"),i["_GS_Show_Shader"]=he("GS_Show_Shader"),i["_GS_Show_One_Shader"]=he("GS_Show_One_Shader"),i["_GS_Set_Viewport"]=he("GS_Set_Viewport"),i["_GS_UnSet_Viewport"]=he("GS_UnSet_Viewport"),i["_GS_Show_Viewport"]=he("GS_Show_Viewport"),i["_GS_Set_Camera"]=he("GS_Set_Camera"),i["_GS_Set_Camera_Position"]=he("GS_Set_Camera_Position"),i["_GS_Set_Camera_Target"]=he("GS_Set_Camera_Target"),i["_GS_Set_Camera_Up"]=he("GS_Set_Camera_Up"),i["_GS_Set_Camera_Field"]=he("GS_Set_Camera_Field"),i["_GS_Set_Camera_Extent"]=he("GS_Set_Camera_Extent"),i["_GS_Set_Camera_View"]=he("GS_Set_Camera_View"),i["_GS_Set_Camera_Projection"]=he("GS_Set_Camera_Projection"),i["_GS_Keep_Camera_Ratio"]=he("GS_Keep_Camera_Ratio"),i["_GS_Show_Camera"]=he("GS_Show_Camera"),i["_GS_Show_Camera_Position"]=he("GS_Show_Camera_Position"),i["_GS_Show_Camera_Target"]=he("GS_Show_Camera_Target"),i["_GS_Show_Camera_Up"]=he("GS_Show_Camera_Up"),i["_GS_Show_Camera_Field"]=he("GS_Show_Camera_Field"),i["_GS_Show_Camera_Extent"]=he("GS_Show_Camera_Extent"),i["_GS_Show_Camera_View"]=he("GS_Show_Camera_View"),i["_GS_Show_Camera_Projection"]=he("GS_Show_Camera_Projection"),i["_GS_Show_Camera_Projection_Matrix"]=he("GS_Show_Camera_Projection_Matrix"),i["_GS_Show_Camera_View_Matrix"]=he("GS_Show_Camera_View_Matrix"),i["_GS_Show_Path_Camera_Position"]=he("GS_Show_Path_Camera_Position"),i["_GS_Show_Path_Camera_Target"]=he("GS_Show_Path_Camera_Target"),i["_GS_Dolly_Camera"]=he("GS_Dolly_Camera"),i["_GS_Roll_Camera"]=he("GS_Roll_Camera"),i["_GS_Zoom_Camera"]=he("GS_Zoom_Camera"),i["_GS_UnSet_Camera"]=he("GS_UnSet_Camera"),i["_GS_Set_Color"]=he("GS_Set_Color"),i["_GS_UnSet_Color"]=he("GS_UnSet_Color"),i["_GS_UnSet_One_Color"]=he("GS_UnSet_One_Color"),i["_GS_Show_Color"]=he("GS_Show_Color"),i["_GS_Show_One_Color"]=he("GS_Show_One_Color"),i["_GS_Show_Color_By_Value"]=he("GS_Show_Color_By_Value"),i["_GS_Set_Visibility"]=he("GS_Set_Visibility"),i["_GS_Show_Visibility"]=he("GS_Show_Visibility"),i["_GS_Show_One_Visibility"]=he("GS_Show_One_Visibility"),i["_GS_UnSet_Visibility"]=he("GS_UnSet_Visibility"),i["_GS_UnSet_One_Visibility"]=he("GS_UnSet_One_Visibility"),i["_GS_Set_Selectability"]=he("GS_Set_Selectability"),i["_GS_UnSet_Selectability"]=he("GS_UnSet_Selectability"),i["_GS_UnSet_One_Selectability"]=he("GS_UnSet_One_Selectability"),i["_GS_Show_Selectability"]=he("GS_Show_Selectability"),i["_GS_Show_One_Selectability"]=he("GS_Show_One_Selectability"),i["_GS_Set_Rendering_Options"]=he("GS_Set_Rendering_Options"),i["_GS_UnSet_Rendering_Options"]=he("GS_UnSet_Rendering_Options"),i["_GS_UnSet_One_Rendering_Option"]=he("GS_UnSet_One_Rendering_Option"),i["_GS_Show_Rendering_Options"]=he("GS_Show_Rendering_Options"),i["_GS_Show_One_Rendering_Option"]=he("GS_Show_One_Rendering_Option"),i["_GS_Show_One_Path_Rendering_Option"]=he("GS_Show_One_Path_Rendering_Option"),i["_GS_Show_One_Default_Rendering_Option"]=he("GS_Show_One_Default_Rendering_Option"),i["_GS_Set_Heuristic_Options"]=he("GS_Set_Heuristic_Options"),i["_GS_Set_One_Heuristic_Option"]=he("GS_Set_One_Heuristic_Option"),i["_GS_UnSet_Heuristic_Options"]=he("GS_UnSet_Heuristic_Options"),i["_GS_UnSet_One_Heuristic_Option"]=he("GS_UnSet_One_Heuristic_Option"),i["_GS_Show_Heuristic_Options"]=he("GS_Show_Heuristic_Options"),i["_GS_Show_One_Heuristic_Option"]=he("GS_Show_One_Heuristic_Option"),i["_GS_Set_ModellingMatrix"]=he("GS_Set_ModellingMatrix"),i["_GS_UnSet_ModellingMatrix"]=he("GS_UnSet_ModellingMatrix"),i["_GS_Append_ModellingMatrix"]=he("GS_Append_ModellingMatrix"),i["_GS_Show_ModellingMatrix"]=he("GS_Show_ModellingMatrix"),i["_GS_Show_Path_ModellingMatrix"]=he("GS_Show_Path_ModellingMatrix"),i["_GS_Set_Condition"]=he("GS_Set_Condition"),i["_GS_UnSet_Condition"]=he("GS_UnSet_Condition"),i["_GS_Show_Condition"]=he("GS_Show_Condition"),i["_GS_Set_Text_Font"]=he("GS_Set_Text_Font"),i["_GS_UnSet_Text_Font"]=he("GS_UnSet_Text_Font"),i["_GS_UnSet_One_Text_Font"]=he("GS_UnSet_One_Text_Font"),i["_GS_Show_Text_Font"]=he("GS_Show_Text_Font"),i["_GS_Show_One_Text_Font"]=he("GS_Show_One_Text_Font"),i["_GS_Attribute_Exists"]=he("GS_Attribute_Exists"),i["_GS_Set_Event"]=he("GS_Set_Event"),i["_GS_Unset_Event"]=he("GS_Unset_Event"),i["_GS_Show_Event"]=he("GS_Show_Event"),i["_GS_Get_Version"]=he("GS_Get_Version"),i["_GS_Init_Database"]=he("GS_Init_Database"),i["_GS_Open_Segment"]=he("GS_Open_Segment"),i["_GS_Close_Segment"]=he("GS_Close_Segment"),i["_GS_Fina_Database"]=he("GS_Fina_Database"),i["_GS_Delete_Segment"]=he("GS_Delete_Segment"),i["_GS_Update_Display"]=he("GS_Update_Display"),i["_GS_Update_View_Display_By_Key"]=he("GS_Update_View_Display_By_Key"),i["_GS_Update_View_Display_With_Framerate_By_Key"]=he("GS_Update_View_Display_With_Framerate_By_Key"),i["_GS_Update_View_Display_With_Time_By_Key"]=he("GS_Update_View_Display_With_Time_By_Key"),i["_GS_Save_Segment"]=he("GS_Save_Segment"),i["_GS_Save_Segment_By_Key"]=he("GS_Save_Segment_By_Key"),i["_GS_Save_Segment_Data"]=he("GS_Save_Segment_Data"),i["_GS_Save_Segment_Data_By_Key"]=he("GS_Save_Segment_Data_By_Key"),i["_GS_Load_Segment"]=he("GS_Load_Segment"),i["_GS_Load_Segment_With_Compression"]=he("GS_Load_Segment_With_Compression"),i["_GS_Load_Segment_By_Key"]=he("GS_Load_Segment_By_Key"),i["_GS_Load_Segment_With_Compression_By_Key"]=he("GS_Load_Segment_With_Compression_By_Key"),i["_GS_Load_Segment_Data"]=he("GS_Load_Segment_Data"),i["_GS_Load_Segment_Data_With_Compression"]=he("GS_Load_Segment_Data_With_Compression"),i["_GS_Load_Segment_Data_By_Key"]=he("GS_Load_Segment_Data_By_Key"),i["_GS_Load_Segment_Data_With_Compression_By_Key"]=he("GS_Load_Segment_Data_With_Compression_By_Key"),i["_GS_Segment_To_Stream"]=he("GS_Segment_To_Stream"),i["_GS_Segment_To_Stream_By_Key"]=he("GS_Segment_To_Stream_By_Key"),i["_GS_Segment_To_Stream_With_Compression"]=he("GS_Segment_To_Stream_With_Compression"),i["_GS_Segment_To_Stream_With_Compression_By_Key"]=he("GS_Segment_To_Stream_With_Compression_By_Key"),i["_GS_Stream_To_Segment"]=he("GS_Stream_To_Segment"),i["_GS_Stream_To_Segment_By_Key"]=he("GS_Stream_To_Segment_By_Key"),i["_GS_Stream_With_Compression_To_Segment"]=he("GS_Stream_With_Compression_To_Segment"),i["_GS_Stream_With_Compression_To_Segment_By_Key"]=he("GS_Stream_With_Compression_To_Segment_By_Key"),i["_GS_Segment_Data_To_Stream"]=he("GS_Segment_Data_To_Stream"),i["_GS_Stream_To_Segment_Data"]=he("GS_Stream_To_Segment_Data"),i["_GS_Geometry_Data_To_Stream"]=he("GS_Geometry_Data_To_Stream"),i["_GS_Geometry_Data_To_Stream_With_Compression"]=he("GS_Geometry_Data_To_Stream_With_Compression"),i["_GS_Stream_To_Geometry_Data_With_Compression"]=he("GS_Stream_To_Geometry_Data_With_Compression"),i["_GS_Stream_To_Geometry_Data"]=he("GS_Stream_To_Geometry_Data"),i["_GS_Stream_To_Geometry_Data_By_Key"]=he("GS_Stream_To_Geometry_Data_By_Key"),i["_GS_Stream_To_Geometry_Data_By_Keys"]=he("GS_Stream_To_Geometry_Data_By_Keys"),i["_GS_Copy_Segment_By_Key"]=he("GS_Copy_Segment_By_Key"),i["_GS_Compress_File"]=he("GS_Compress_File"),i["_GS_Define_Error_Handler"]=he("GS_Define_Error_Handler"),i["_GS_Define_Log_Handler"]=he("GS_Define_Log_Handler"),i["_GS_Show_Database_Info"]=he("GS_Show_Database_Info"),i["_GS_Show_Allocated_Memory_Size"]=he("GS_Show_Allocated_Memory_Size"),i["_GS_Insert_Marker"]=he("GS_Insert_Marker"),i["_GS_Edit_Marker"]=he("GS_Edit_Marker"),i["_GS_Show_Marker"]=he("GS_Show_Marker"),i["_GS_Insert_Point_Cloud"]=he("GS_Insert_Point_Cloud"),i["_GS_Edit_Point_Cloud"]=he("GS_Edit_Point_Cloud"),i["_GS_Show_Point_Cloud_Count"]=he("GS_Show_Point_Cloud_Count"),i["_GS_Show_Point_Cloud"]=he("GS_Show_Point_Cloud"),i["_GS_Insert_Line"]=he("GS_Insert_Line"),i["_GS_Show_Line"]=he("GS_Show_Line"),i["_GS_Edit_Line"]=he("GS_Edit_Line"),i["_GS_Insert_Polyline"]=he("GS_Insert_Polyline"),i["_GS_Show_Polyline"]=he("GS_Show_Polyline"),i["_GS_Show_Polyline_Count"]=he("GS_Show_Polyline_Count"),i["_GS_Edit_Polyline"]=he("GS_Edit_Polyline"),i["_GS_Insert_Circular_Arc"]=he("GS_Insert_Circular_Arc"),i["_GS_Show_Circular_Arc"]=he("GS_Show_Circular_Arc"),i["_GS_Edit_Circular_Arc"]=he("GS_Edit_Circular_Arc"),i["_GS_Insert_Ellipse_Arc"]=he("GS_Insert_Ellipse_Arc"),i["_GS_Show_Ellipse_Arc"]=he("GS_Show_Ellipse_Arc"),i["_GS_Edit_Ellipse_Arc"]=he("GS_Edit_Ellipse_Arc"),i["_GS_Insert_Circle"]=he("GS_Insert_Circle"),i["_GS_Show_Circle"]=he("GS_Show_Circle"),i["_GS_Edit_Circle"]=he("GS_Edit_Circle"),i["_GS_Insert_Ellipse"]=he("GS_Insert_Ellipse"),i["_GS_Show_Ellipse"]=he("GS_Show_Ellipse"),i["_GS_Edit_Ellipse"]=he("GS_Edit_Ellipse"),i["_GS_Insert_Cylinder"]=he("GS_Insert_Cylinder"),i["_GS_Show_Cylinder"]=he("GS_Show_Cylinder"),i["_GS_Edit_Cylinder"]=he("GS_Edit_Cylinder"),i["_GS_Insert_PolyCylinder"]=he("GS_Insert_PolyCylinder"),i["_GS_Show_PolyCylinder_Count"]=he("GS_Show_PolyCylinder_Count"),i["_GS_Show_PolyCylinder"]=he("GS_Show_PolyCylinder"),i["_GS_Edit_PolyCylinder"]=he("GS_Edit_PolyCylinder"),i["_GS_Insert_Shell"]=he("GS_Insert_Shell"),i["_GS_Edit_Shell"]=he("GS_Edit_Shell"),i["_GS_Show_Shell"]=he("GS_Show_Shell"),i["_GS_Show_Shell_Size"]=he("GS_Show_Shell_Size"),i["_GS_Insert_Triangular_Shell"]=he("GS_Insert_Triangular_Shell"),i["_GS_Insert_Mesh"]=he("GS_Insert_Mesh"),i["_GS_Edit_Mesh_Points"]=he("GS_Edit_Mesh_Points"),i["_GS_Show_Mesh_Size"]=he("GS_Show_Mesh_Size"),i["_GS_Show_Mesh"]=he("GS_Show_Mesh"),i["_GS_Insert_DShell"]=he("GS_Insert_DShell"),i["_GS_Edit_DShell"]=he("GS_Edit_DShell"),i["_GS_Show_DShell_Size"]=he("GS_Show_DShell_Size"),i["_GS_Show_DShell"]=he("GS_Show_DShell"),i["_GS_Insert_Triangular_DShell"]=he("GS_Insert_Triangular_DShell"),i["_GS_Insert_DMesh"]=he("GS_Insert_DMesh"),i["_GS_Edit_DMesh_Points"]=he("GS_Edit_DMesh_Points"),i["_GS_Show_DMesh_Size"]=he("GS_Show_DMesh_Size"),i["_GS_Show_DMesh"]=he("GS_Show_DMesh"),i["_GS_Insert_Light"]=he("GS_Insert_Light"),i["_GS_Edit_Light"]=he("GS_Edit_Light"),i["_GS_Show_Light"]=he("GS_Show_Light"),i["_GS_Insert_Image_By_Key"]=he("GS_Insert_Image_By_Key"),i["_GS_Insert_Image"]=he("GS_Insert_Image"),i["_GS_Set_Image_Options"]=he("GS_Set_Image_Options"),i["_GS_UnSet_One_Image_Option"]=he("GS_UnSet_One_Image_Option"),i["_GS_Set_Image_Data"]=he("GS_Set_Image_Data"),i["_GS_UnSet_Image_Data"]=he("GS_UnSet_Image_Data"),i["_GS_Show_Image_Position"]=he("GS_Show_Image_Position"),i["_GS_Show_Image_Size"]=he("GS_Show_Image_Size"),i["_GS_Show_Image_Data_Size"]=he("GS_Show_Image_Data_Size"),i["_GS_Show_Image_Data"]=he("GS_Show_Image_Data"),i["_GS_Show_Image_Options"]=he("GS_Show_Image_Options"),i["_GS_Show_One_Image_Option"]=he("GS_Show_One_Image_Option"),i["_GS_Show_Image"]=he("GS_Show_Image"),i["_GS_Insert_Cutting_Planes"]=he("GS_Insert_Cutting_Planes"),i["_GS_Edit_Cutting_Planes"]=he("GS_Edit_Cutting_Planes"),i["_GS_Show_Cutting_Planes"]=he("GS_Show_Cutting_Planes"),i["_GS_Image_Exists"]=he("GS_Image_Exists"),i["_GS_Set_Geometry_Color"]=he("GS_Set_Geometry_Color"),i["_GS_Set_Geometry_Color_By_Value"]=he("GS_Set_Geometry_Color_By_Value"),i["_GS_Show_Geometry_Color"]=he("GS_Show_Geometry_Color"),i["_GS_Show_Geometry_Color_Type"]=he("GS_Show_Geometry_Color_Type"),i["_GS_Show_Geometry_Color_By_Value"]=he("GS_Show_Geometry_Color_By_Value"),i["_GS_UnSet_Geometry_Color"]=he("GS_UnSet_Geometry_Color"),i["_GS_Show_Geometry_Vertices_Position_By_Indexes"]=he("GS_Show_Geometry_Vertices_Position_By_Indexes"),i["_GS_Show_Geometry_Element_Type"]=he("GS_Show_Geometry_Element_Type"),i["_GS_Set_Geometry_Texture_Coords"]=he("GS_Set_Geometry_Texture_Coords"),i["_GS_Show_Geometry_Texture_Coords"]=he("GS_Show_Geometry_Texture_Coords"),i["_GS_UnSet_Geometry_Texture_Coords"]=he("GS_UnSet_Geometry_Texture_Coords"),i["_GS_Set_Geometry_Normals"]=he("GS_Set_Geometry_Normals"),i["_GS_Show_Geometry_Normals"]=he("GS_Show_Geometry_Normals"),i["_GS_UnSet_Geometry_Normals"]=he("GS_UnSet_Geometry_Normals"),i["_GS_Compute_Geometry_Normals"]=he("GS_Compute_Geometry_Normals"),i["_GS_Set_Geometry_Tangents"]=he("GS_Set_Geometry_Tangents"),i["_GS_Show_Geometry_Tangents"]=he("GS_Show_Geometry_Tangents"),i["_GS_UnSet_Geometry_Tangents"]=he("GS_UnSet_Geometry_Tangents"),i["_GS_Compute_Geometry_Buffers"]=he("GS_Compute_Geometry_Buffers"),i["_GS_Compute_Geometry_Buffers_By_Key"]=he("GS_Compute_Geometry_Buffers_By_Key"),i["_GS_Apply_ModellingMatrix"]=he("GS_Apply_ModellingMatrix"),i["_GS_FLT_Matrix_Multiply_Point"]=he("GS_FLT_Matrix_Multiply_Point"),i["_GS_Merge_Shell"]=he("GS_Merge_Shell"),i["_GS_Insert_Vector_Text"]=he("GS_Insert_Vector_Text"),i["_GS_Extrude_By_Shell_ComputeData"]=he("GS_Extrude_By_Shell_ComputeData"),i["_GS_Triangulate_Polygon_Xy"]=he("GS_Triangulate_Polygon_Xy"),i["_GS_Extrude_By_Shell"]=he("GS_Extrude_By_Shell"),i["_GS_DExtrude_By_Shell"]=he("GS_DExtrude_By_Shell"),i["_GS_DTriangulate_Polygon_Xy"]=he("GS_DTriangulate_Polygon_Xy"),i["_GS_Rotate_By_Shell"]=he("GS_Rotate_By_Shell"),i["_GS_DRotate_By_Shell"]=he("GS_DRotate_By_Shell"),i["_GS_Sweep_By_Shell"]=he("GS_Sweep_By_Shell"),i["_GS_FLT_Vector_Is_Zero"]=he("GS_FLT_Vector_Is_Zero"),i["_GS_FLT_Vector_Normalize"]=he("GS_FLT_Vector_Normalize"),i["_GS_FLT_Point_Subtract"]=he("GS_FLT_Point_Subtract"),i["_GS_FLT_Vector_Is_Parallel"]=he("GS_FLT_Vector_Is_Parallel"),i["_GS_FLT_Vector_Cross"]=he("GS_FLT_Vector_Cross"),i["_GS_FLT_Point_Is_Same"]=he("GS_FLT_Point_Is_Same"),i["_GS_FLT_Vector_Reverse"]=he("GS_FLT_Vector_Reverse"),i["_GS_FLT_Vector_Angle"]=he("GS_FLT_Vector_Angle"),i["_GS_DSweep_By_Shell"]=he("GS_DSweep_By_Shell"),i["_GS_Vector_Is_Zero"]=he("GS_Vector_Is_Zero"),i["_GS_Vector_Normalize"]=he("GS_Vector_Normalize"),i["_GS_Point_Subtract"]=he("GS_Point_Subtract"),i["_GS_Vector_Is_Parallel"]=he("GS_Vector_Is_Parallel"),i["_GS_Vector_Cross"]=he("GS_Vector_Cross"),i["_GS_Matrix_Multiply_Point"]=he("GS_Matrix_Multiply_Point"),i["_GS_Point_Is_Same"]=he("GS_Point_Is_Same"),i["_GS_Vector_Reverse"]=he("GS_Vector_Reverse"),i["_GS_Vector_Angle"]=he("GS_Vector_Angle"),i["_GS_Compute_Geometry_Tessellate_Data"]=he("GS_Compute_Geometry_Tessellate_Data"),i["_GS_Show_Geometry_Tessellate_Data_Count"]=he("GS_Show_Geometry_Tessellate_Data_Count"),i["_GS_Show_Geometry_Tessellate_Data"]=he("GS_Show_Geometry_Tessellate_Data"),i["_GS_Clear_Geometry_Tessellate_Data"]=he("GS_Clear_Geometry_Tessellate_Data"),i["_GS_Insert_Parametric_Geometries"]=he("GS_Insert_Parametric_Geometries"),i["_GS_Show_Parametric_Geometries"]=he("GS_Show_Parametric_Geometries"),i["_GS_Show_Parametric_Geometries_Counts"]=he("GS_Show_Parametric_Geometries_Counts"),i["_GS_Insert_Parametric_Geometry"]=he("GS_Insert_Parametric_Geometry"),i["_GS_Boolean_Subtract"]=he("GS_Boolean_Subtract"),i["_GS_Insert_Negative_Parametric_Geometries"]=he("GS_Insert_Negative_Parametric_Geometries"),i["_GS_Insert_Negative_Parametric_Geometry"]=he("GS_Insert_Negative_Parametric_Geometry"),i["_GS_Delete_Negative_Parametric_Geometry"]=he("GS_Delete_Negative_Parametric_Geometry"),i["_GS_Edit_Parametric_Geometry"]=he("GS_Edit_Parametric_Geometry"),i["_GS_Edit_Parametric_Geometry_IndexInverse"]=he("GS_Edit_Parametric_Geometry_IndexInverse"),i["_GS_Edit_Negative_Parametric_Geometry"]=he("GS_Edit_Negative_Parametric_Geometry"),i["_GS_Show_Parametric_Geometry"]=he("GS_Show_Parametric_Geometry"),i["_GS_Project_Point_To_Line"]=he("GS_Project_Point_To_Line"),i["_GS_Point_Add"]=he("GS_Point_Add"),i["_GS_Compute_Parametric_Geometry"]=he("GS_Compute_Parametric_Geometry"),i["_GS_Resize_By_Key"]=he("GS_Resize_By_Key"),i["_GS_Show_Key_Type"]=he("GS_Show_Key_Type"),i["_GS_Is_Valid_Key"]=he("GS_Is_Valid_Key"),i["_GS_Show_Owner_By_Key"]=he("GS_Show_Owner_By_Key"),i["_GS_Open_Segment_By_Key"]=he("GS_Open_Segment_By_Key"),i["_GS_Add_Segment_By_Key"]=he("GS_Add_Segment_By_Key"),i["_GS_Clear_Attributes"]=he("GS_Clear_Attributes"),i["_GS_Clear_Attributes_By_Key"]=he("GS_Clear_Attributes_By_Key"),i["_GS_Clear_Includes"]=he("GS_Clear_Includes"),i["_GS_Clear_Includes_By_Key"]=he("GS_Clear_Includes_By_Key"),i["_GS_Clear_Styles"]=he("GS_Clear_Styles"),i["_GS_Clear_Styles_By_Key"]=he("GS_Clear_Styles_By_Key"),i["_GS_Clear_Subsegments"]=he("GS_Clear_Subsegments"),i["_GS_Clear_Subsegments_By_Key"]=he("GS_Clear_Subsegments_By_Key"),i["_GS_Clear_Data"]=he("GS_Clear_Data"),i["_GS_Clear_Data_By_Key"]=he("GS_Clear_Data_By_Key"),i["_GS_Clear_All"]=he("GS_Clear_All"),i["_GS_Clear_All_By_Key"]=he("GS_Clear_All_By_Key"),i["_GS_Delete_By_Key"]=he("GS_Delete_By_Key"),i["_GS_Clear_Geometry"]=he("GS_Clear_Geometry"),i["_GS_Clear_Geometry_By_Key"]=he("GS_Clear_Geometry_By_Key"),i["_GS_Include_Segment_By_Key"]=he("GS_Include_Segment_By_Key"),i["_GS_Conditional_Include_By_Key"]=he("GS_Conditional_Include_By_Key"),i["_GS_Style_Segment_By_Key"]=he("GS_Style_Segment_By_Key"),i["_GS_Conditional_Style_By_Key"]=he("GS_Conditional_Style_By_Key"),i["_GS_Show_Subsegment_Count"]=he("GS_Show_Subsegment_Count"),i["_GS_Show_Subsegment"]=he("GS_Show_Subsegment"),i["_GS_Show_All_Subsegment_Count"]=he("GS_Show_All_Subsegment_Count"),i["_GS_Show_Subsegment_List"]=he("GS_Show_Subsegment_List"),i["_GS_Show_All_Subsegment_List"]=he("GS_Show_All_Subsegment_List"),i["_GS_Show_Segment_Name"]=he("GS_Show_Segment_Name"),i["_GS_Show_Segment_Path"]=he("GS_Show_Segment_Path"),i["_GS_Show_Attribute_Count"]=he("GS_Show_Attribute_Count"),i["_GS_Show_Attribute_List"]=he("GS_Show_Attribute_List"),i["_GS_Show_Attrubute"]=he("GS_Show_Attrubute"),i["_GS_Show_Geometry_Count"]=he("GS_Show_Geometry_Count"),i["_GS_Show_Geometry_List"]=he("GS_Show_Geometry_List"),i["_GS_Show_Geometry"]=he("GS_Show_Geometry"),i["_GS_Show_Include_Count"]=he("GS_Show_Include_Count"),i["_GS_Show_Include_List"]=he("GS_Show_Include_List"),i["_GS_Show_Include"]=he("GS_Show_Include"),i["_GS_Show_Include_Segment"]=he("GS_Show_Include_Segment"),i["_GS_Show_Included_Count"]=he("GS_Show_Included_Count"),i["_GS_Show_Included_List"]=he("GS_Show_Included_List"),i["_GS_Show_Style_Count"]=he("GS_Show_Style_Count"),i["_GS_Show_Style_List"]=he("GS_Show_Style_List"),i["_GS_Show_Style"]=he("GS_Show_Style"),i["_GS_Show_Style_Segment"]=he("GS_Show_Style_Segment"),i["_GS_Show_Styled_Count"]=he("GS_Show_Styled_Count"),i["_GS_Show_Styled_List"]=he("GS_Show_Styled_List"),i["_GS_Segment_Exists"]=he("GS_Segment_Exists"),i["_GS_Rename_Segment"]=he("GS_Rename_Segment"),i["_GS_Rename_Segment_By_Key"]=he("GS_Rename_Segment_By_Key"),i["_GS_Move_Key"]=he("GS_Move_Key"),i["_GS_Move_Key_By_Key"]=he("GS_Move_Key_By_Key"),i["_GS_Set_Key_Index"]=he("GS_Set_Key_Index"),i["_GS_Show_Key_Index"]=he("GS_Show_Key_Index"),i["_GS_Add_Property_Boolean"]=he("GS_Add_Property_Boolean"),i["_GS_Add_Property_Integer"]=he("GS_Add_Property_Integer"),i["_GS_Add_Property_Long"]=he("GS_Add_Property_Long"),i["_GS_Add_Property_Double"]=he("GS_Add_Property_Double"),i["_GS_Add_Property_Float"]=he("GS_Add_Property_Float"),i["_GS_Add_Property_Double_By_Pointer"]=he("GS_Add_Property_Double_By_Pointer"),i["_GS_Add_Property_String"]=he("GS_Add_Property_String"),i["_GS_Add_Property_Json"]=he("GS_Add_Property_Json"),i["_GS_Add_Property_Byte_Array"]=he("GS_Add_Property_Byte_Array"),i["_GS_Show_Property_Type"]=he("GS_Show_Property_Type"),i["_GS_Show_Property_Boolean"]=he("GS_Show_Property_Boolean"),i["_GS_Show_Property_Integer"]=he("GS_Show_Property_Integer"),i["_GS_Show_Property_Long"]=he("GS_Show_Property_Long"),i["_GS_Show_Property_Double"]=he("GS_Show_Property_Double"),i["_GS_Show_Property_Float"]=he("GS_Show_Property_Float"),i["_GS_Show_Property_String_Length"]=he("GS_Show_Property_String_Length"),i["_GS_Show_Property_String"]=he("GS_Show_Property_String"),i["_GS_Show_Property_Byte_Array_Length"]=he("GS_Show_Property_Byte_Array_Length"),i["_GS_Show_Property_Byte_Array"]=he("GS_Show_Property_Byte_Array"),i["_GS_Property_Exists"]=he("GS_Property_Exists"),i["_GS_Remove_Property"]=he("GS_Remove_Property"),i["_GS_Clear_Properties"]=he("GS_Clear_Properties"),i["_GS_Show_Property_Count"]=he("GS_Show_Property_Count"),i["_GS_Show_Property_Keys"]=he("GS_Show_Property_Keys"),i["_GS_Show_Key_By_Name"]=he("GS_Show_Key_By_Name"),i["_GS_Open_Geometry"]=he("GS_Open_Geometry"),i["_GS_Close_Geometry"]=he("GS_Close_Geometry"),i["_GS_Compute_Path"]=he("GS_Compute_Path"),i["_GS_Compute_Coordinates_By_Key"]=he("GS_Compute_Coordinates_By_Key"),i["_GS_Compute_Coordinates_By_Path"]=he("GS_Compute_Coordinates_By_Path"),i["_GS_DCompute_Coordinates_By_Key"]=he("GS_DCompute_Coordinates_By_Key"),i["_GS_Compute_Boundingbox_By_Key"]=he("GS_Compute_Boundingbox_By_Key"),i["_GS_Compute_Boundingbox_With_Visibility_By_Key"]=he("GS_Compute_Boundingbox_With_Visibility_By_Key"),i["_GS_Compute_View_Boundingbox_By_Key"]=he("GS_Compute_View_Boundingbox_By_Key"),i["_GS_Compute_View_Boundingbox_By_Keys"]=he("GS_Compute_View_Boundingbox_By_Keys"),i["_GS_Compute_View_Boundingboxes_By_Keys"]=he("GS_Compute_View_Boundingboxes_By_Keys"),i["_GS_Compute_Geometry_Boundingbox_By_Key"]=he("GS_Compute_Geometry_Boundingbox_By_Key"),i["_GS_Compute_Segment_Boundingbox_By_Key"]=he("GS_Compute_Segment_Boundingbox_By_Key"),i["_GS_Clear_Segment_Boundingbox_By_Key"]=he("GS_Clear_Segment_Boundingbox_By_Key"),i["_GS_FLT_Matrix_Multiply_WPoint"]=he("GS_FLT_Matrix_Multiply_WPoint"),i["_GS_FLT_Project_Point_To_Line"]=he("GS_FLT_Project_Point_To_Line"),i["_GS_FLT_Distance_Point_Point"]=he("GS_FLT_Distance_Point_Point"),i["_GS_Compute_Selection_By_Key"]=he("GS_Compute_Selection_By_Key"),i["_GS_Compute_Selection_By_Area"]=he("GS_Compute_Selection_By_Area"),i["_GS_FLT_Distance_Line_Line_With_Points"]=he("GS_FLT_Distance_Line_Line_With_Points"),i["_GS_FLT_Intersection_Ray_Triangle"]=he("GS_FLT_Intersection_Ray_Triangle"),i["_GS_FLT_Point_Add"]=he("GS_FLT_Point_Add"),i["_GS_FLT_Vector_Divide"]=he("GS_FLT_Vector_Divide"),i["_GS_FLT_Is_Intersecting_Triangle_Triangle_With_Type"]=he("GS_FLT_Is_Intersecting_Triangle_Triangle_With_Type"),i["_GS_Compute_Collision_By_Keys"]=he("GS_Compute_Collision_By_Keys"),i["_GS_Compute_Collision_By_Key"]=he("GS_Compute_Collision_By_Key"),i["_GS_Show_Selection_Count"]=he("GS_Show_Selection_Count"),i["_GS_Show_Selection_Element"]=he("GS_Show_Selection_Element"),i["_GS_Show_Selection_Path"]=he("GS_Show_Selection_Path"),i["_GS_Show_Selection_Path_By_Keys"]=he("GS_Show_Selection_Path_By_Keys"),i["_GS_Show_Selection_Position"]=he("GS_Show_Selection_Position"),i["_GS_Show_Selection_Position_By_Value"]=he("GS_Show_Selection_Position_By_Value"),i["_GS_Show_Selection_Param"]=he("GS_Show_Selection_Param"),i["_GS_Show_Selection_Indexes"]=he("GS_Show_Selection_Indexes"),i["_GS_Show_Selection_Test_Info"]=he("GS_Show_Selection_Test_Info"),i["_GS_Show_Collision_Count"]=he("GS_Show_Collision_Count"),i["_GS_Show_Collision_Elements"]=he("GS_Show_Collision_Elements"),i["_GS_Show_Collision_Paths"]=he("GS_Show_Collision_Paths"),i["_GS_Show_Collision_Path_By_Keys"]=he("GS_Show_Collision_Path_By_Keys"),i["_GS_Show_Collision_Position"]=he("GS_Show_Collision_Position"),i["_GS_Show_Collision_Type"]=he("GS_Show_Collision_Type"),i["_GS_Compute_Visible_By_Key"]=he("GS_Compute_Visible_By_Key"),i["_GS_FLT_Is_Intersection_Ray_BBox"]=he("GS_FLT_Is_Intersection_Ray_BBox"),i["_GS_Compute_Ray_Test"]=he("GS_Compute_Ray_Test"),i["_GS_Compute_Geometry_Ray_Test"]=he("GS_Compute_Geometry_Ray_Test"),i["_GS_Compute_Box_Test"]=he("GS_Compute_Box_Test"),i["_GS_Vector_Module"]=he("GS_Vector_Module"),i["_GS_Compute_Area"]=he("GS_Compute_Area"),i["_GS_Compute_Polygon_Area"]=he("GS_Compute_Polygon_Area"),i["_GS_Polygon_Normal"]=he("GS_Polygon_Normal"),i["_GS_Compute_Volume"]=he("GS_Compute_Volume"),i["_GS_Compute_Geometry_Distance"]=he("GS_Compute_Geometry_Distance"),i["_GS_Is_Solid_Geometry"]=he("GS_Is_Solid_Geometry"),i["_GS_Set_BoundingBox"]=he("GS_Set_BoundingBox"),i["_GS_Show_BoundingBox"]=he("GS_Show_BoundingBox"),i["_GS_Set_BoundingBox_By_Key"]=he("GS_Set_BoundingBox_By_Key"),i["_GS_Show_BoundingBox_By_Key"]=he("GS_Show_BoundingBox_By_Key"),i["_GS_Compute_Instances_Culling"]=he("GS_Compute_Instances_Culling"),i["_GS_Load_Image"]=he("GS_Load_Image"),i["_GS_Decompress_Data"]=he("GS_Decompress_Data"),i["_GS_Compute_Spherical_Polynomial"]=he("GS_Compute_Spherical_Polynomial"),i["_GS_Compute_One_Spherical_Harmonics"]=he("GS_Compute_One_Spherical_Harmonics"),i["_GS_Boolean_Intersection_Graph"]=he("GS_Boolean_Intersection_Graph"),i["_GS_Boolean_Intersect_Polyline_Polygon_Xy"]=he("GS_Boolean_Intersect_Polyline_Polygon_Xy"),i["_GS_Boolean_Intersect_Polygon_Polygon_Xy"]=he("GS_Boolean_Intersect_Polygon_Polygon_Xy"),i["_GS_Boolean_Intersect_Graph_Polygon_Xy"]=he("GS_Boolean_Intersect_Graph_Polygon_Xy"),i["_GS_Boolean_Subtract_Polygon_Polygon_Xy"]=he("GS_Boolean_Subtract_Polygon_Polygon_Xy"),i["_GS_Boolean_Cut_Polygon_Polygon_Xy"]=he("GS_Boolean_Cut_Polygon_Polygon_Xy"),i["_GS_Intersection_Plane_Triangle"]=he("GS_Intersection_Plane_Triangle"),i["_GS_Point_Is_Same_By_Index"]=he("GS_Point_Is_Same_By_Index"),i["_GS_Point_Subtract_By_Index"]=he("GS_Point_Subtract_By_Index"),i["_GS_Vector_Angle_With_Normal"]=he("GS_Vector_Angle_With_Normal"),i["_GS_Intersection_LineSegment_LineSegment"]=he("GS_Intersection_LineSegment_LineSegment"),i["_GS_Vector_Divide"]=he("GS_Vector_Divide"),i["_GS_Is_Point_In_Polygon_Xy"]=he("GS_Is_Point_In_Polygon_Xy"),i["_GS_Distance_Point_Point"]=he("GS_Distance_Point_Point"),i["_GS_Is_Point_On_Polygon_Xy"]=he("GS_Is_Point_On_Polygon_Xy"),i["_GS_Is_Point_In_LineSegment"]=he("GS_Is_Point_In_LineSegment"),i["_GS_Project_Point_To_Plane"]=he("GS_Project_Point_To_Plane"),i["_GS_Vector_Is_Same"]=he("GS_Vector_Is_Same"),i["_GS_Project_Point_To_LineSegment"]=he("GS_Project_Point_To_LineSegment"),i["_GS_Triangle_Normal"]=he("GS_Triangle_Normal"),i["_GS_Distance_Point_LineSegment"]=he("GS_Distance_Point_LineSegment"),i["_GS_BB_Is_Intersection"]=he("GS_BB_Is_Intersection"),i["_GS_Intersection_Triangle_Triangle"]=he("GS_Intersection_Triangle_Triangle"),i["_GS_Intersection_Ray_Triangles"]=he("GS_Intersection_Ray_Triangles"),i["_GS_Is_Point_In_Plane"]=he("GS_Is_Point_In_Plane"),i["_GS_Boolean_Cut"]=he("GS_Boolean_Cut"),i["_GS_BB_Create_By_Points"]=he("GS_BB_Create_By_Points"),i["_GS_Intersection_Plane_Triangle_With_Info"]=he("GS_Intersection_Plane_Triangle_With_Info"),i["_GS_Matrix_Rotate"]=he("GS_Matrix_Rotate"),i["_GS_Matrix_Inverse"]=he("GS_Matrix_Inverse"),i["_GS_Point_QuickSort"]=he("GS_Point_QuickSort"),i["_GS_DTriangulate_Polygon"]=he("GS_DTriangulate_Polygon"),i["_GS_Compute_Subdivide_Curve_Count"]=he("GS_Compute_Subdivide_Curve_Count"),i["_GS_Subdivide_Curve"]=he("GS_Subdivide_Curve"),i["_GS_Delaunay_On_Triangle"]=he("GS_Delaunay_On_Triangle"),i["_GS_Is_Point_In_Triangle"]=he("GS_Is_Point_In_Triangle"),i["_GS_Delaunay_On_Triangle_By_Indexes"]=he("GS_Delaunay_On_Triangle_By_Indexes"),i["_GS_Closest_Point"]=he("GS_Closest_Point"),i["_GS_Constrained_Delaunay_On_Triangle"]=he("GS_Constrained_Delaunay_On_Triangle"),i["_GS_Constrained_Delaunay_On_Triangle_By_Indexes"]=he("GS_Constrained_Delaunay_On_Triangle_By_Indexes"),i["_GS_Compute_Triangles_Borders"]=he("GS_Compute_Triangles_Borders"),i["_GS_Distance_Point"]=he("GS_Distance_Point"),i["_GS_Planar_Polyline_Offset"]=he("GS_Planar_Polyline_Offset"),i["_Internal_Is_Solid_Body"]=he("Internal_Is_Solid_Body"),i["_GS_Is_Solid_Body"]=he("GS_Is_Solid_Body"),i["_Internal_Has_Invalid_Triangles"]=he("Internal_Has_Invalid_Triangles"),i["_GS_Create_Float_Triangles"]=he("GS_Create_Float_Triangles"),i["_GS_Find_Neighbor_Triangle"]=he("GS_Find_Neighbor_Triangle"),i["_GS_FLT_Compute_Ray_Test_Triangles_By_Projection"]=he("GS_FLT_Compute_Ray_Test_Triangles_By_Projection"),i["_GS_Compute_Ray_Test_Triangles"]=he("GS_Compute_Ray_Test_Triangles"),i["_GS_FLT_Compute_Distance_Triangles"]=he("GS_FLT_Compute_Distance_Triangles"),i["_GS_FLT_Compute_Collision_Triangles"]=he("GS_FLT_Compute_Collision_Triangles"),i["_Matrix_Det"]=he("Matrix_Det"),i["_GS_FLT_Matrix_Inverse"]=he("GS_FLT_Matrix_Inverse"),i["_GS_FLT_Matrix_Multiply"]=he("GS_FLT_Matrix_Multiply"),i["_GS_FLT_Matrix_Clone"]=he("GS_FLT_Matrix_Clone"),i["_GS_Matrix_Multiply"]=he("GS_Matrix_Multiply"),i["_GS_Matrix_Clone"]=he("GS_Matrix_Clone"),i["_GS_FLT_Vector_Module"]=he("GS_FLT_Vector_Module"),i["_GS_FLT_Vector_Include_Angle"]=he("GS_FLT_Vector_Include_Angle"),i["_GS_FLT_Vector_Dot"]=he("GS_FLT_Vector_Dot"),i["_GS_FLT_Vector_Angle_With_Normal"]=he("GS_FLT_Vector_Angle_With_Normal"),i["_GS_FLT_Vector_Is_Perpendicular"]=he("GS_FLT_Vector_Is_Perpendicular"),i["_GS_FLT_Triangle_Normal"]=he("GS_FLT_Triangle_Normal"),i["_GS_FLT_Polygon_Normal"]=he("GS_FLT_Polygon_Normal"),i["_GS_FLT_Distance_Point"]=he("GS_FLT_Distance_Point"),i["_GS_FLT_Distance_Point_Line"]=he("GS_FLT_Distance_Point_Line"),i["_GS_FLT_Distance_Point_LineSegment"]=he("GS_FLT_Distance_Point_LineSegment"),i["_GS_FLT_Distance_Line_LineSegment"]=he("GS_FLT_Distance_Line_LineSegment"),i["_GS_FLT_Closest_Point"]=he("GS_FLT_Closest_Point"),i["_GS_FLT_Distance_LineSegment_LineSegment"]=he("GS_FLT_Distance_LineSegment_LineSegment"),i["_GS_FLT_Intersection_Line_LineSegment"]=he("GS_FLT_Intersection_Line_LineSegment"),i["_GS_FLT_Distance_Point_Plane"]=he("GS_FLT_Distance_Point_Plane"),i["_GS_FLT_Project_Point_To_Plane"]=he("GS_FLT_Project_Point_To_Plane"),i["_GS_FLT_Project_Point_to_Triangle"]=he("GS_FLT_Project_Point_to_Triangle"),i["_GS_FLT_Is_Point_In_LineSegment"]=he("GS_FLT_Is_Point_In_LineSegment"),i["_GS_FLT_Is_Point_In_Triangle"]=he("GS_FLT_Is_Point_In_Triangle"),i["_GS_FLT_Intersection_Line_Line"]=he("GS_FLT_Intersection_Line_Line"),i["_GS_FLT_Intersection_LineSegment_LineSegment"]=he("GS_FLT_Intersection_LineSegment_LineSegment"),i["_GS_FLT_Intersection_Line_Plane"]=he("GS_FLT_Intersection_Line_Plane"),i["_GS_FLT_Intersection_Line_Triangle"]=he("GS_FLT_Intersection_Line_Triangle"),i["_GS_FLT_Intersection_LineSegment_Triangle"]=he("GS_FLT_Intersection_LineSegment_Triangle"),i["_GS_FLT_Intersection_LineSegment_Triangle_With_Type"]=he("GS_FLT_Intersection_LineSegment_Triangle_With_Type"),i["_GS_FLT_Intersection_Ray_Triangle_With_Type"]=he("GS_FLT_Intersection_Ray_Triangle_With_Type"),i["_GS_Vector_Multiply"]=he("GS_Vector_Multiply"),i["_GS_Vector_Dot"]=he("GS_Vector_Dot"),i["_GS_Vector_Include_Angle"]=he("GS_Vector_Include_Angle"),i["_GS_Vector_Param"]=he("GS_Vector_Param"),i["_GS_Vector_Is_Perpendicular"]=he("GS_Vector_Is_Perpendicular"),i["_GS_Polygon_Normal_With_Indexes"]=he("GS_Polygon_Normal_With_Indexes"),i["_GS_Distance_Point_Line"]=he("GS_Distance_Point_Line"),i["_GS_Intersection_Line_LineSegment"]=he("GS_Intersection_Line_LineSegment"),i["_GS_Intersection_Line_Plane"]=he("GS_Intersection_Line_Plane"),i["_GS_Intersection_Line_Triangle"]=he("GS_Intersection_Line_Triangle"),i["_GS_Intersection_Line_Triangle_Roughly"]=he("GS_Intersection_Line_Triangle_Roughly"),i["_GS_Is_Intersecting_LineSegment_LineSegment"]=he("GS_Is_Intersecting_LineSegment_LineSegment"),i["_GS_BB_Create_By_Indexed_Points"]=he("GS_BB_Create_By_Indexed_Points"),i["_GS_Intersection_Ray_Triangle"]=he("GS_Intersection_Ray_Triangle"),i["_GS_Is_Intersection_Ray_BBox"]=he("GS_Is_Intersection_Ray_BBox"),he("setTempRet0"),i["_fflush"]=he("fflush")),qt=he("__errno_location"),Yt=he("setThrew"),Xt=function(){return(Xt=Kt["emscripten_stack_init"])()},$t=function(){return($t=Kt["emscripten_stack_get_end"])()},Jt=he("stackSave"),Zt=he("stackRestore");he("stackAlloc"),i["dynCall_jiji"]=he("dynCall_jiji"),i["___start_em_js"]=1196488,i["___stop_em_js"]=1198173;function Qt(e,t,r,n,o){var i=Jt();try{kt(e)(t,r,n,o)}catch(a){if(Zt(i),a!==a+0)throw a;Yt(1,0)}}function er(e,t,r){var n=Jt();try{return kt(e)(t,r)}catch(o){if(Zt(n),o!==o+0)throw o;Yt(1,0)}}function tr(e,t,r,n,o){var i=Jt();try{return kt(e)(t,r,n,o)}catch(a){if(Zt(i),a!==a+0)throw a;Yt(1,0)}}function rr(e,t,r,n){var o=Jt();try{return kt(e)(t,r,n)}catch(i){if(Zt(o),i!==i+0)throw i;Yt(1,0)}}function nr(e){var t=Jt();try{kt(e)()}catch(r){if(Zt(t),r!==r+0)throw r;Yt(1,0)}}function or(e,t,r){var n=Jt();try{kt(e)(t,r)}catch(o){if(Zt(n),o!==o+0)throw o;Yt(1,0)}}function ir(e,t){var r=Jt();try{return kt(e)(t)}catch(n){if(Zt(r),n!==n+0)throw n;Yt(1,0)}}function ar(e,t){var r=Jt();try{kt(e)(t)}catch(n){if(Zt(r),n!==n+0)throw n;Yt(1,0)}}i["UTF8ToString"]=Oe,i["allocateUTF8"]=Bt;var sr=["writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","isLeapYear","ydayFromDate","arraySum","addDays","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getCallstack","emscriptenLog","convertPCtoSourceLocation","runMainThreadEmAsm","jstoi_q","jstoi_s","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","handleAllocatorInit","HandleAllocator","getNativeTypeSize","STACK_SIZE","STACK_ALIGN","POINTER_SIZE","ASSERTIONS","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","getFunctionAddress","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","stringToUTF8OnStack","writeArrayToMemory","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","jsStackTrace","stackTrace","checkWasiClock","wasiRightsToMuslOFlags","wasiOFlagsToMuslOFlags","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","getPromise","makePromise","idsToPromises","makePromiseCallback","ExceptionInfo","findMatchingCatch","setMainLoop","getSocketFromFD","getSocketAddress","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","webgl_enable_ANGLE_instanced_arrays","webgl_enable_OES_vertex_array_object","webgl_enable_WEBGL_draw_buffers","webgl_enable_WEBGL_multi_draw","emscriptenWebGLGet","computeUnpackAlignedImageSize","colorChannelsInGlTextureFormat","emscriptenWebGLGetTexPixelData","__glGenObject","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","__glGetActiveAttribOrUniform","writeGLArray","registerWebGlEventCallback","runAndAbortIfError","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","ALLOC_NORMAL","ALLOC_STACK","allocate","writeStringToMemory","writeAsciiToMemory"];sr.forEach(be);var ur,cr=["run","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_readFile","FS_unlink","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","wasmTable","wasmExports","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","convertI32PairToI53Checked","ptrToString","zeroMemory","exitJS","getHeapMax","growMemory","ENV","MONTH_DAYS_REGULAR","MONTH_DAYS_LEAP","MONTH_DAYS_REGULAR_CUMULATIVE","MONTH_DAYS_LEAP_CUMULATIVE","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","DNS","Protocols","Sockets","initRandomFill","randomFill","timers","warnOnce","UNWIND_CACHE","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","getExecutableName","asyncLoad","alignMemory","mmapAlloc","freeTableIndexes","functionsInTableMap","setValue","getValue","PATH","PATH_FS","UTF8Decoder","UTF8ArrayToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","intArrayFromString","stringToAscii","UTF16Decoder","stringToNewUTF8","JSEvents","specialHTMLTargets","currentFullscreenStrategy","restoreOldWindowedStyle","demangle","demangleAll","ExitStatus","getEnvStrings","doReadv","doWritev","promiseMap","uncaughtExceptionCount","exceptionLast","exceptionCaught","Browser","wget","SYSCALLS","preloadPlugins","FS_createPreloadedFile","FS_modeStringToFlags","FS_getMode","FS_stdin_getChar_buffer","FS_stdin_getChar","FS","MEMFS","TTY","PIPEFS","SOCKFS","tempFixedLengthArray","miniTempWebGLFloatBuffers","miniTempWebGLIntBuffers","GL","emscripten_webgl_power_preferences","AL","GLUT","EGL","GLEW","IDBStore","SDL","SDL_gfx","GLFW","allocateUTF8OnStack"];function _r(){Xt(),N()}function lr(){function e(){ur||(ur=!0,i["calledRun"]=!0,R||(Y(),i["onRuntimeInitialized"]&&i["onRuntimeInitialized"](),D(!i["_main"],'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),X()))}Q>0||(_r(),q(),Q>0||(i["setStatus"]?(i["setStatus"]("Running..."),setTimeout((function(){setTimeout((function(){i["setStatus"]("")}),1),e()}),1)):e(),U()))}function fr(){var e=E,t=T,r=!1;E=T=function(e){r=!0};try{Wt(0),["stdout","stderr"].forEach((function(e){var t=nt.analyzePath("/dev/"+e);if(t){var n=t.object,o=n.rdev,i=Ke.ttys[o];i&&i.output&&i.output.length&&(r=!0)}}))}catch(n){}E=e,T=t,r&&Ce("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the Emscripten FAQ), or make sure to emit a newline when you printf etc.")}if(cr.forEach(Ee),te=function e(){ur||lr(),ur||(te=e)},i["preInit"]){"function"==typeof i["preInit"]&&(i["preInit"]=[i["preInit"]]);while(i["preInit"].length>0)i["preInit"].pop()()}lr(),self.Module=i},4383:function(e){"use strict";e.exports=require("fs")},4384:function(e){"use strict";e.exports=require("path")},4100:function(e,t,r){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}r(2675),r(9463),r(2259),r(3792),r(6099),r(7764),r(2953),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},9306:function(e,t,r){"use strict";var n=r(4901),o=r(6823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},5548:function(e,t,r){"use strict";var n=r(3517),o=r(6823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a constructor")}},3506:function(e,t,r){"use strict";var n=r(3925),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:function(e,t,r){"use strict";var n=r(8227),o=r(2360),i=r(4913).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},7829:function(e,t,r){"use strict";var n=r(8183).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},679:function(e,t,r){"use strict";var n=r(1625),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},8551:function(e,t,r){"use strict";var n=r(34),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},7811:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7394:function(e,t,r){"use strict";var n=r(6706),o=r(4576),i=TypeError;e.exports=n(ArrayBuffer.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new i("ArrayBuffer expected");return e.byteLength}},3238:function(e,t,r){"use strict";var n=r(9504),o=r(7394),i=n(ArrayBuffer.prototype.slice);e.exports=function(e){if(0!==o(e))return!1;try{return i(e,0,0),!1}catch(t){return!0}}},5636:function(e,t,r){"use strict";var n=r(4475),o=r(9504),i=r(6706),a=r(7696),s=r(3238),u=r(7394),c=r(4483),_=r(1548),l=n.structuredClone,f=n.ArrayBuffer,h=n.DataView,d=n.TypeError,p=Math.min,S=f.prototype,y=h.prototype,m=o(S.slice),g=i(S,"resizable","get"),v=i(S,"maxByteLength","get"),w=o(y.getInt8),G=o(y.setInt8);e.exports=(_||c)&&function(e,t,r){var n,o=u(e),i=void 0===t?o:a(t),S=!g||!g(e);if(s(e))throw new d("ArrayBuffer is detached");if(_&&(e=l(e,{transfer:[e]}),o===i&&(r||S)))return e;if(o>=i&&(!r||S))n=m(e,0,i);else{var y=r&&!S&&v?{maxByteLength:v(e)}:void 0;n=new f(i,y);for(var b=new h(e),E=new h(n),T=p(i,o),P=0;P<T;P++)G(E,P,w(b,P))}return _||c(e),n}},4644:function(e,t,r){"use strict";var n,o,i,a=r(7811),s=r(3724),u=r(4475),c=r(4901),_=r(34),l=r(9297),f=r(6955),h=r(6823),d=r(6699),p=r(6840),S=r(2106),y=r(1625),m=r(2787),g=r(2967),v=r(8227),w=r(3392),G=r(1181),b=G.enforce,E=G.get,T=u.Int8Array,P=T&&T.prototype,A=u.Uint8ClampedArray,x=A&&A.prototype,C=T&&m(T),I=P&&m(P),L=Object.prototype,O=u.TypeError,F=v("toStringTag"),M=w("TYPED_ARRAY_TAG"),k="TypedArrayConstructor",R=a&&!!g&&"Opera"!==f(u.opera),D=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},U=function(e){if(!_(e))return!1;var t=f(e);return"DataView"===t||l(B,t)||l(N,t)},j=function(e){var t=m(e);if(_(t)){var r=E(t);return r&&l(r,k)?r[k]:j(t)}},H=function(e){if(!_(e))return!1;var t=f(e);return l(B,t)||l(N,t)},V=function(e){if(H(e))return e;throw new O("Target is not a typed array")},K=function(e){if(c(e)&&(!g||y(C,e)))return e;throw new O(h(e)+" is not a typed array constructor")},z=function(e,t,r,n){if(s){if(r)for(var o in B){var i=u[o];if(i&&l(i.prototype,e))try{delete i.prototype[e]}catch(a){try{i.prototype[e]=t}catch(c){}}}I[e]&&!r||p(I,e,r?t:R&&P[e]||t,n)}},W=function(e,t,r){var n,o;if(s){if(g){if(r)for(n in B)if(o=u[n],o&&l(o,e))try{delete o[e]}catch(i){}if(C[e]&&!r)return;try{return p(C,e,r?t:R&&C[e]||t)}catch(i){}}for(n in B)o=u[n],!o||o[e]&&!r||p(o,e,t)}};for(n in B)o=u[n],i=o&&o.prototype,i?b(i)[k]=o:R=!1;for(n in N)o=u[n],i=o&&o.prototype,i&&(b(i)[k]=o);if((!R||!c(C)||C===Function.prototype)&&(C=function(){throw new O("Incorrect invocation")},R))for(n in B)u[n]&&g(u[n],C);if((!R||!I||I===L)&&(I=C.prototype,R))for(n in B)u[n]&&g(u[n].prototype,I);if(R&&m(x)!==I&&g(x,I),s&&!l(I,F))for(n in D=!0,S(I,F,{configurable:!0,get:function(){return _(this)?this[M]:void 0}}),B)u[n]&&d(u[n],M,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:D&&M,aTypedArray:V,aTypedArrayConstructor:K,exportTypedArrayMethod:z,exportTypedArrayStaticMethod:W,getTypedArrayConstructor:j,isView:U,isTypedArray:H,TypedArray:C,TypedArrayPrototype:I}},6346:function(e,t,r){"use strict";var n=r(4475),o=r(9504),i=r(3724),a=r(7811),s=r(350),u=r(6699),c=r(2106),_=r(6279),l=r(9039),f=r(679),h=r(1291),d=r(8014),p=r(7696),S=r(5617),y=r(8490),m=r(2787),g=r(2967),v=r(4373),w=r(7680),G=r(3167),b=r(7740),E=r(687),T=r(1181),P=s.PROPER,A=s.CONFIGURABLE,x="ArrayBuffer",C="DataView",I="prototype",L="Wrong length",O="Wrong index",F=T.getterFor(x),M=T.getterFor(C),k=T.set,R=n[x],D=R,B=D&&D[I],N=n[C],U=N&&N[I],j=Object.prototype,H=n.Array,V=n.RangeError,K=o(v),z=o([].reverse),W=y.pack,q=y.unpack,Y=function(e){return[255&e]},X=function(e){return[255&e,e>>8&255]},$=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},J=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Z=function(e){return W(S(e),23,4)},Q=function(e){return W(e,52,8)},ee=function(e,t,r){c(e[I],t,{configurable:!0,get:function(){return r(this)[t]}})},te=function(e,t,r,n){var o=M(e),i=p(r),a=!!n;if(i+t>o.byteLength)throw new V(O);var s=o.bytes,u=i+o.byteOffset,c=w(s,u,u+t);return a?c:z(c)},re=function(e,t,r,n,o,i){var a=M(e),s=p(r),u=n(+o),c=!!i;if(s+t>a.byteLength)throw new V(O);for(var _=a.bytes,l=s+a.byteOffset,f=0;f<t;f++)_[l+f]=u[c?f:t-f-1]};if(a){var ne=P&&R.name!==x;l((function(){R(1)}))&&l((function(){new R(-1)}))&&!l((function(){return new R,new R(1.5),new R(NaN),1!==R.length||ne&&!A}))?ne&&A&&u(R,"name",x):(D=function(e){return f(this,B),G(new R(p(e)),this,D)},D[I]=B,B.constructor=D,b(D,R)),g&&m(U)!==j&&g(U,j);var oe=new N(new D(2)),ie=o(U.setInt8);oe.setInt8(0,2147483648),oe.setInt8(1,2147483649),!oe.getInt8(0)&&oe.getInt8(1)||_(U,{setInt8:function(e,t){ie(this,e,t<<24>>24)},setUint8:function(e,t){ie(this,e,t<<24>>24)}},{unsafe:!0})}else D=function(e){f(this,B);var t=p(e);k(this,{type:x,bytes:K(H(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)},B=D[I],N=function(e,t,r){f(this,U),f(e,B);var n=F(e),o=n.byteLength,a=h(t);if(a<0||a>o)throw new V("Wrong offset");if(r=void 0===r?o-a:d(r),a+r>o)throw new V(L);k(this,{type:C,buffer:e,byteLength:r,byteOffset:a,bytes:n.bytes}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=a)},U=N[I],i&&(ee(D,"byteLength",F),ee(N,"buffer",M),ee(N,"byteLength",M),ee(N,"byteOffset",M)),_(U,{getInt8:function(e){return te(this,1,e)[0]<<24>>24},getUint8:function(e){return te(this,1,e)[0]},getInt16:function(e){var t=te(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=te(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return J(te(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return J(te(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return q(te(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return q(te(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){re(this,1,e,Y,t)},setUint8:function(e,t){re(this,1,e,Y,t)},setInt16:function(e,t){re(this,2,e,X,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){re(this,2,e,X,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){re(this,4,e,$,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){re(this,4,e,$,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){re(this,4,e,Z,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){re(this,8,e,Q,t,arguments.length>2&&arguments[2])}});E(D,x),E(N,C),e.exports={ArrayBuffer:D,DataView:N}},7029:function(e,t,r){"use strict";var n=r(8981),o=r(5610),i=r(6198),a=r(4606),s=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),u=i(r),c=o(e,u),_=o(t,u),l=arguments.length>2?arguments[2]:void 0,f=s((void 0===l?u:o(l,u))-_,u-c),h=1;_<c&&c<_+f&&(h=-1,_+=f-1,c+=f-1);while(f-- >0)_ in r?r[c]=r[_]:a(r,c),c+=h,_+=h;return r}},4373:function(e,t,r){"use strict";var n=r(8981),o=r(5610),i=r(6198);e.exports=function(e){var t=n(this),r=i(t),a=arguments.length,s=o(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,c=void 0===u?r:o(u,r);while(c>s)t[s++]=e;return t}},235:function(e,t,r){"use strict";var n=r(9213).forEach,o=r(4598),i=o("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},5370:function(e,t,r){"use strict";var n=r(6198);e.exports=function(e,t,r){var o=0,i=arguments.length>2?r:n(t),a=new e(i);while(i>o)a[o]=t[o++];return a}},7916:function(e,t,r){"use strict";var n=r(6080),o=r(9565),i=r(8981),a=r(6319),s=r(4209),u=r(3517),c=r(6198),_=r(2278),l=r(81),f=r(851),h=Array;e.exports=function(e){var t=i(e),r=u(this),d=arguments.length,p=d>1?arguments[1]:void 0,S=void 0!==p;S&&(p=n(p,d>2?arguments[2]:void 0));var y,m,g,v,w,G,b=f(t),E=0;if(!b||this===h&&s(b))for(y=c(t),m=r?new this(y):h(y);y>E;E++)G=S?p(t[E],E):t[E],_(m,E,G);else for(m=r?new this:[],v=l(t,b),w=v.next;!(g=o(w,v)).done;E++)G=S?a(v,p,[g.value,E],!0):g.value,_(m,E,G);return m.length=E,m}},9617:function(e,t,r){"use strict";var n=r(5397),o=r(5610),i=r(6198),a=function(e){return function(t,r,a){var s=n(t),u=i(s);if(0===u)return!e&&-1;var c,_=o(a,u);if(e&&r!==r){while(u>_)if(c=s[_++],c!==c)return!0}else for(;u>_;_++)if((e||_ in s)&&s[_]===r)return e||_||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},3839:function(e,t,r){"use strict";var n=r(6080),o=r(7055),i=r(8981),a=r(6198),s=function(e){var t=1===e;return function(r,s,u){var c,_,l=i(r),f=o(l),h=a(f),d=n(s,u);while(h-- >0)if(c=f[h],_=d(c,h,l),_)switch(e){case 0:return c;case 1:return h}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},9213:function(e,t,r){"use strict";var n=r(6080),o=r(9504),i=r(7055),a=r(8981),s=r(6198),u=r(1469),c=o([].push),_=function(e){var t=1===e,r=2===e,o=3===e,_=4===e,l=6===e,f=7===e,h=5===e||l;return function(d,p,S,y){for(var m,g,v=a(d),w=i(v),G=s(w),b=n(p,S),E=0,T=y||u,P=t?T(d,G):r||f?T(d,0):void 0;G>E;E++)if((h||E in w)&&(m=w[E],g=b(m,E,v),e))if(t)P[E]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return E;case 2:c(P,m)}else switch(e){case 4:return!1;case 7:c(P,m)}return l?-1:o||_?_:P}};e.exports={forEach:_(0),map:_(1),filter:_(2),some:_(3),every:_(4),find:_(5),findIndex:_(6),filterReject:_(7)}},8379:function(e,t,r){"use strict";var n=r(8745),o=r(5397),i=r(1291),a=r(6198),s=r(4598),u=Math.min,c=[].lastIndexOf,_=!!c&&1/[1].lastIndexOf(1,-0)<0,l=s("lastIndexOf"),f=_||!l;e.exports=f?function(e){if(_)return n(c,this,arguments)||0;var t=o(this),r=a(t);if(0===r)return-1;var s=r-1;for(arguments.length>1&&(s=u(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:c},597:function(e,t,r){"use strict";var n=r(9039),o=r(8227),i=r(7388),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4598:function(e,t,r){"use strict";var n=r(9039);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},926:function(e,t,r){"use strict";var n=r(9306),o=r(8981),i=r(7055),a=r(6198),s=TypeError,u="Reduce of empty array with no initial value",c=function(e){return function(t,r,c,_){var l=o(t),f=i(l),h=a(l);if(n(r),0===h&&c<2)throw new s(u);var d=e?h-1:0,p=e?-1:1;if(c<2)while(1){if(d in f){_=f[d],d+=p;break}if(d+=p,e?d<0:h<=d)throw new s(u)}for(;e?d>=0:h>d;d+=p)d in f&&(_=r(_,f[d],d,l));return _}};e.exports={left:c(!1),right:c(!0)}},4527:function(e,t,r){"use strict";var n=r(3724),o=r(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},7680:function(e,t,r){"use strict";var n=r(9504);e.exports=n([].slice)},4488:function(e,t,r){"use strict";var n=r(7680),o=Math.floor,i=function(e,t){var r=e.length;if(r<8){var a,s,u=1;while(u<r){s=u,a=e[u];while(s&&t(e[s-1],a)>0)e[s]=e[--s];s!==u++&&(e[s]=a)}}else{var c=o(r/2),_=i(n(e,0,c),t),l=i(n(e,c),t),f=_.length,h=l.length,d=0,p=0;while(d<f||p<h)e[d+p]=d<f&&p<h?t(_[d],l[p])<=0?_[d++]:l[p++]:d<f?_[d++]:l[p++]}return e};e.exports=i},7433:function(e,t,r){"use strict";var n=r(4376),o=r(3517),i=r(34),a=r(8227),s=a("species"),u=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,o(t)&&(t===u||n(t.prototype))?t=void 0:i(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?u:t}},1469:function(e,t,r){"use strict";var n=r(7433);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},7628:function(e,t,r){"use strict";var n=r(6198);e.exports=function(e,t){for(var r=n(e),o=new t(r),i=0;i<r;i++)o[i]=e[r-i-1];return o}},9928:function(e,t,r){"use strict";var n=r(6198),o=r(1291),i=RangeError;e.exports=function(e,t,r,a){var s=n(e),u=o(r),c=u<0?s+u:u;if(c>=s||c<0)throw new i("Incorrect index");for(var _=new t(s),l=0;l<s;l++)_[l]=l===c?a:e[l];return _}},6319:function(e,t,r){"use strict";var n=r(8551),o=r(9539);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){o(e,"throw",a)}}},4428:function(e,t,r){"use strict";var n=r(8227),o=n("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[o]=function(){return this},Array.from(s,(function(){throw 2}))}catch(u){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(u){return!1}var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(u){}return r}},4576:function(e,t,r){"use strict";var n=r(9504),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:function(e,t,r){"use strict";var n=r(2140),o=r(4901),i=r(4576),a=r(8227),s=a("toStringTag"),u=Object,c="Arguments"===i(function(){return arguments}()),_=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=_(t=u(e),s))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},7740:function(e,t,r){"use strict";var n=r(9297),o=r(5031),i=r(7347),a=r(4913);e.exports=function(e,t,r){for(var s=o(t),u=a.f,c=i.f,_=0;_<s.length;_++){var l=s[_];n(e,l)||r&&n(r,l)||u(e,l,c(t,l))}}},1436:function(e,t,r){"use strict";var n=r(8227),o=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[o]=!1,"/./"[e](t)}catch(n){}}return!1}},2211:function(e,t,r){"use strict";var n=r(9039);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:function(e,t,r){"use strict";var n=r(9504),o=r(7750),i=r(655),a=/"/g,s=n("".replace);e.exports=function(e,t,r,n){var u=i(o(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+s(i(n),a,""")+'"'),c+">"+u+"</"+t+">"}},2529:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},6699:function(e,t,r){"use strict";var n=r(3724),o=r(4913),i=r(6980);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},2278:function(e,t,r){"use strict";var n=r(3724),o=r(4913),i=r(6980);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},2106:function(e,t,r){"use strict";var n=r(283),o=r(4913);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},6840:function(e,t,r){"use strict";var n=r(4901),o=r(4913),i=r(283),a=r(9433);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;if(n(r)&&i(r,c,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(_){}u?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},6279:function(e,t,r){"use strict";var n=r(6840);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},9433:function(e,t,r){"use strict";var n=r(4475),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},4606:function(e,t,r){"use strict";var n=r(6823),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+n(t)+" of "+n(e))}},3724:function(e,t,r){"use strict";var n=r(9039);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4483:function(e,t,r){"use strict";var n,o,i,a,s=r(4475),u=r(9714),c=r(1548),_=s.structuredClone,l=s.ArrayBuffer,f=s.MessageChannel,h=!1;if(c)h=function(e){_(e,{transfer:[e]})};else if(l)try{f||(n=u("worker_threads"),n&&(f=n.MessageChannel)),f&&(o=new f,i=new l(2),a=function(e){o.port1.postMessage(null,[e])},2===i.byteLength&&(a(i),0===i.byteLength&&(h=a)))}catch(d){}e.exports=h},4055:function(e,t,r){"use strict";var n=r(4475),o=r(34),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:function(e){"use strict";var t=TypeError,r=9007199254740991;e.exports=function(e){if(e>r)throw t("Maximum allowed index exceeded");return e}},7400:function(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:function(e,t,r){"use strict";var n=r(4055),o=n("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},8834:function(e,t,r){"use strict";var n=r(9392),o=n.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},7290:function(e,t,r){"use strict";var n=r(516),o=r(9088);e.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},516:function(e){"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},3202:function(e,t,r){"use strict";var n=r(9392);e.exports=/MSIE|Trident/.test(n)},28:function(e,t,r){"use strict";var n=r(9392);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},8119:function(e,t,r){"use strict";var n=r(9392);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},9088:function(e,t,r){"use strict";var n=r(4475),o=r(4576);e.exports="process"===o(n.process)},6765:function(e,t,r){"use strict";var n=r(9392);e.exports=/web0s(?!.*chrome)/i.test(n)},9392:function(e){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:function(e,t,r){"use strict";var n,o,i=r(4475),a=r(9392),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,_=c&&c.v8;_&&(n=_.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),e.exports=o},9160:function(e,t,r){"use strict";var n=r(9392),o=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},8727:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6193:function(e,t,r){"use strict";var n=r(9504),o=Error,i=n("".replace),a=function(e){return String(new o(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!o.prepareStackTrace)while(t--)e=i(e,s,"");return e}},747:function(e,t,r){"use strict";var n=r(6699),o=r(6193),i=r(4659),a=Error.captureStackTrace;e.exports=function(e,t,r,s){i&&(a?a(e,t):n(e,"stack",o(r,s)))}},4659:function(e,t,r){"use strict";var n=r(9039),o=r(6980);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},6518:function(e,t,r){"use strict";var n=r(4475),o=r(7347).f,i=r(6699),a=r(6840),s=r(9433),u=r(7740),c=r(2796);e.exports=function(e,t){var r,_,l,f,h,d,p=e.target,S=e.global,y=e.stat;if(_=S?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype,_)for(l in t){if(h=t[l],e.dontCallGetSet?(d=o(_,l),f=d&&d.value):f=_[l],r=c(S?l:p+(y?".":"#")+l,e.forced),!r&&void 0!==f){if(typeof h==typeof f)continue;u(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),a(_,l,h,e)}}},9039:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},9228:function(e,t,r){"use strict";r(7495);var n=r(9565),o=r(6840),i=r(7323),a=r(9039),s=r(8227),u=r(6699),c=s("species"),_=RegExp.prototype;e.exports=function(e,t,r,l){var f=s(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),d=h&&!a((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[c]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return t=!0,null},r[f](""),!t}));if(!h||!d||r){var p=/./[f],S=t(f,""[e],(function(e,t,r,o,a){var s=t.exec;return s===i||s===_.exec?h&&!a?{done:!0,value:n(p,t,r,o)}:{done:!0,value:n(e,r,t,o)}:{done:!1}}));o(String.prototype,e,S[0]),o(_,f,S[1])}l&&u(_[f],"sham",!0)}},8745:function(e,t,r){"use strict";var n=r(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},6080:function(e,t,r){"use strict";var n=r(7476),o=r(9306),i=r(616),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},616:function(e,t,r){"use strict";var n=r(9039);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:function(e,t,r){"use strict";var n=r(616),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},350:function(e,t,r){"use strict";var n=r(3724),o=r(9297),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},6706:function(e,t,r){"use strict";var n=r(9504),o=r(9306);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(i){}}},7476:function(e,t,r){"use strict";var n=r(4576),o=r(9504);e.exports=function(e){if("Function"===n(e))return o(e)}},9504:function(e,t,r){"use strict";var n=r(616),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},7751:function(e,t,r){"use strict";var n=r(4475),o=r(4901),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},851:function(e,t,r){"use strict";var n=r(6955),o=r(5966),i=r(4117),a=r(6269),s=r(8227),u=s("iterator");e.exports=function(e){if(!i(e))return o(e,u)||o(e,"@@iterator")||a[n(e)]}},81:function(e,t,r){"use strict";var n=r(9565),o=r(9306),i=r(8551),a=r(6823),s=r(851),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(o(r))return i(n(r,e));throw new u(a(e)+" is not iterable")}},6933:function(e,t,r){"use strict";var n=r(9504),o=r(4376),i=r(4901),a=r(4576),s=r(655),u=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n<t;n++){var c=e[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||u(r,s(c))}var _=r.length,l=!0;return function(e,t){if(l)return l=!1,t;if(o(this))return t;for(var n=0;n<_;n++)if(r[n]===e)return t}}}},5966:function(e,t,r){"use strict";var n=r(9306),o=r(4117);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},2478:function(e,t,r){"use strict";var n=r(9504),o=r(8981),i=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,_=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,l,f){var h=r+e.length,d=n.length,p=_;return void 0!==l&&(l=o(l),p=c),s(f,p,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,h);case"<":c=l[u(s,1,-1)];break;default:var _=+s;if(0===_)return o;if(_>d){var f=i(_/10);return 0===f?o:f<=d?void 0===n[f-1]?a(s,1):n[f-1]+a(s,1):o}c=n[_-1]}return void 0===c?"":c}))}},4475:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(e,t,r){"use strict";var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},421:function(e){"use strict";e.exports={}},3138:function(e){"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(r){}}},397:function(e,t,r){"use strict";var n=r(7751);e.exports=n("document","documentElement")},5917:function(e,t,r){"use strict";var n=r(3724),o=r(9039),i=r(4055);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8490:function(e){"use strict";var t=Array,r=Math.abs,n=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2,s=function(e,s,u){var c,_,l,f=t(u),h=8*u-s-1,d=(1<<h)-1,p=d>>1,S=23===s?n(2,-24)-n(2,-77):0,y=e<0||0===e&&1/e<0?1:0,m=0;e=r(e),e!==e||e===1/0?(_=e!==e?1:0,c=d):(c=o(i(e)/a),l=n(2,-c),e*l<1&&(c--,l*=2),e+=c+p>=1?S/l:S*n(2,1-p),e*l>=2&&(c++,l/=2),c+p>=d?(_=0,c=d):c+p>=1?(_=(e*l-1)*n(2,s),c+=p):(_=e*n(2,p-1)*n(2,s),c=0));while(s>=8)f[m++]=255&_,_/=256,s-=8;c=c<<s|_,h+=s;while(h>0)f[m++]=255&c,c/=256,h-=8;return f[--m]|=128*y,f},u=function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,u=i-7,c=o-1,_=e[c--],l=127&_;_>>=7;while(u>0)l=256*l+e[c--],u-=8;r=l&(1<<-u)-1,l>>=-u,u+=t;while(u>0)r=256*r+e[c--],u-=8;if(0===l)l=1-s;else{if(l===a)return r?NaN:_?-1/0:1/0;r+=n(2,t),l-=s}return(_?-1:1)*r*n(2,l-t)};e.exports={pack:s,unpack:u}},7055:function(e,t,r){"use strict";var n=r(9504),o=r(9039),i=r(4576),a=Object,s=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},3167:function(e,t,r){"use strict";var n=r(4901),o=r(34),i=r(2967);e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},3706:function(e,t,r){"use strict";var n=r(9504),o=r(4901),i=r(7629),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},7584:function(e,t,r){"use strict";var n=r(34),o=r(6699);e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},1181:function(e,t,r){"use strict";var n,o,i,a=r(8622),s=r(4475),u=r(34),c=r(6699),_=r(9297),l=r(7629),f=r(6119),h=r(421),d="Object already initialized",p=s.TypeError,S=s.WeakMap,y=function(e){return i(e)?o(e):n(e,{})},m=function(e){return function(t){var r;if(!u(t)||(r=o(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}};if(a||l.state){var g=l.state||(l.state=new S);g.get=g.get,g.has=g.has,g.set=g.set,n=function(e,t){if(g.has(e))throw new p(d);return t.facade=e,g.set(e,t),t},o=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var v=f("state");h[v]=!0,n=function(e,t){if(_(e,v))throw new p(d);return t.facade=e,c(e,v,t),t},o=function(e){return _(e,v)?e[v]:{}},i=function(e){return _(e,v)}}e.exports={set:n,get:o,has:i,enforce:y,getterFor:m}},4209:function(e,t,r){"use strict";var n=r(8227),o=r(6269),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:function(e,t,r){"use strict";var n=r(4576);e.exports=Array.isArray||function(e){return"Array"===n(e)}},1108:function(e,t,r){"use strict";var n=r(6955);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},4901:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},3517:function(e,t,r){"use strict";var n=r(9504),o=r(9039),i=r(4901),a=r(6955),s=r(7751),u=r(3706),c=function(){},_=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=n(l.exec),h=!l.test(c),d=function(e){if(!i(e))return!1;try{return _(c,[],e),!0}catch(t){return!1}},p=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(l,u(e))}catch(t){return!0}};p.sham=!0,e.exports=!_||o((function(){var e;return d(d.call)||!d(Object)||!d((function(){e=!0}))||e}))?p:d},2796:function(e,t,r){"use strict";var n=r(9039),o=r(4901),i=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r===_||r!==c&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",_=a.POLYFILL="P";e.exports=a},2087:function(e,t,r){"use strict";var n=r(34),o=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&o(e)===e}},4117:function(e){"use strict";e.exports=function(e){return null===e||void 0===e}},34:function(e,t,r){"use strict";var n=r(4901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3925:function(e,t,r){"use strict";var n=r(34);e.exports=function(e){return n(e)||null===e}},6395:function(e){"use strict";e.exports=!1},788:function(e,t,r){"use strict";var n=r(34),o=r(4576),i=r(8227),a=i("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===o(e))}},757:function(e,t,r){"use strict";var n=r(7751),o=r(4901),i=r(1625),a=r(7040),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},2652:function(e,t,r){"use strict";var n=r(6080),o=r(9565),i=r(8551),a=r(6823),s=r(4209),u=r(6198),c=r(1625),_=r(81),l=r(851),f=r(9539),h=TypeError,d=function(e,t){this.stopped=e,this.result=t},p=d.prototype;e.exports=function(e,t,r){var S,y,m,g,v,w,G,b=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),P=!(!r||!r.IS_ITERATOR),A=!(!r||!r.INTERRUPTED),x=n(t,b),C=function(e){return S&&f(S,"normal",e),new d(!0,e)},I=function(e){return E?(i(e),A?x(e[0],e[1],C):x(e[0],e[1])):A?x(e,C):x(e)};if(T)S=e.iterator;else if(P)S=e;else{if(y=l(e),!y)throw new h(a(e)+" is not iterable");if(s(y)){for(m=0,g=u(e);g>m;m++)if(v=I(e[m]),v&&c(p,v))return v;return new d(!1)}S=_(e,y)}w=T?e.next:S.next;while(!(G=o(w,S)).done){try{v=I(G.value)}catch(L){f(S,"throw",L)}if("object"==typeof v&&v&&c(p,v))return v}return new d(!1)}},9539:function(e,t,r){"use strict";var n=r(9565),o=r(8551),i=r(5966);e.exports=function(e,t,r){var a,s;o(e);try{if(a=i(e,"return"),!a){if("throw"===t)throw r;return r}a=n(a,e)}catch(u){s=!0,a=u}if("throw"===t)throw r;if(s)throw a;return o(a),r}},3994:function(e,t,r){"use strict";var n=r(7657).IteratorPrototype,o=r(2360),i=r(6980),a=r(687),s=r(6269),u=function(){return this};e.exports=function(e,t,r,c){var _=t+" Iterator";return e.prototype=o(n,{next:i(+!c,r)}),a(e,_,!1,!0),s[_]=u,e}},1088:function(e,t,r){"use strict";var n=r(6518),o=r(9565),i=r(6395),a=r(350),s=r(4901),u=r(3994),c=r(2787),_=r(2967),l=r(687),f=r(6699),h=r(6840),d=r(8227),p=r(6269),S=r(7657),y=a.PROPER,m=a.CONFIGURABLE,g=S.IteratorPrototype,v=S.BUGGY_SAFARI_ITERATORS,w=d("iterator"),G="keys",b="values",E="entries",T=function(){return this};e.exports=function(e,t,r,a,d,S,P){u(r,t,a);var A,x,C,I=function(e){if(e===d&&k)return k;if(!v&&e&&e in F)return F[e];switch(e){case G:return function(){return new r(this,e)};case b:return function(){return new r(this,e)};case E:return function(){return new r(this,e)}}return function(){return new r(this)}},L=t+" Iterator",O=!1,F=e.prototype,M=F[w]||F["@@iterator"]||d&&F[d],k=!v&&M||I(d),R="Array"===t&&F.entries||M;if(R&&(A=c(R.call(new e)),A!==Object.prototype&&A.next&&(i||c(A)===g||(_?_(A,g):s(A[w])||h(A,w,T)),l(A,L,!0,!0),i&&(p[L]=T))),y&&d===b&&M&&M.name!==b&&(!i&&m?f(F,"name",b):(O=!0,k=function(){return o(M,this)})),d)if(x={values:I(b),keys:S?k:I(G),entries:I(E)},P)for(C in x)(v||O||!(C in F))&&h(F,C,x[C]);else n({target:t,proto:!0,forced:v||O},x);return i&&!P||F[w]===k||h(F,w,k,{name:d}),p[t]=k,x}},7657:function(e,t,r){"use strict";var n,o,i,a=r(9039),s=r(4901),u=r(34),c=r(2360),_=r(2787),l=r(6840),f=r(8227),h=r(6395),d=f("iterator"),p=!1;[].keys&&(i=[].keys(),"next"in i?(o=_(_(i)),o!==Object.prototype&&(n=o)):p=!0);var S=!u(n)||a((function(){var e={};return n[d].call(e)!==e}));S?n={}:h&&(n=c(n)),s(n[d])||l(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},6269:function(e){"use strict";e.exports={}},6198:function(e,t,r){"use strict";var n=r(8014);e.exports=function(e){return n(e.length)}},283:function(e,t,r){"use strict";var n=r(9504),o=r(9039),i=r(4901),a=r(9297),s=r(3724),u=r(350).CONFIGURABLE,c=r(3706),_=r(1181),l=_.enforce,f=_.get,h=String,d=Object.defineProperty,p=n("".slice),S=n("".replace),y=n([].join),m=s&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),g=String(String).split("String"),v=e.exports=function(e,t,r){"Symbol("===p(h(t),0,7)&&(t="["+S(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&a(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var n=l(e);return a(n,"source")||(n.source=y(g,"string"==typeof t?t:"")),e};Function.prototype.toString=v((function(){return i(this)&&f(this).source||c(this)}),"toString")},3164:function(e,t,r){"use strict";var n=r(7782),o=Math.abs,i=2220446049250313e-31,a=1/i,s=function(e){return e+a-a};e.exports=function(e,t,r,a){var u=+e,c=o(u),_=n(u);if(c<a)return _*s(c/a/t)*a*t;var l=(1+t/i)*c,f=l-(l-c);return f>r||f!==f?_*(1/0):_*f}},5617:function(e,t,r){"use strict";var n=r(3164),o=1.1920928955078125e-7,i=34028234663852886e22,a=11754943508222875e-54;e.exports=Math.fround||function(e){return n(e,o,i,a)}},7782:function(e){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!==t?t:t<0?-1:1}},741:function(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},1955:function(e,t,r){"use strict";var n,o,i,a,s,u=r(4475),c=r(3389),_=r(6080),l=r(9225).set,f=r(8265),h=r(8119),d=r(28),p=r(6765),S=r(9088),y=u.MutationObserver||u.WebKitMutationObserver,m=u.document,g=u.process,v=u.Promise,w=c("queueMicrotask");if(!w){var G=new f,b=function(){var e,t;S&&(e=g.domain)&&e.exit();while(t=G.get())try{t()}catch(r){throw G.head&&n(),r}e&&e.enter()};h||S||p||!y||!m?!d&&v&&v.resolve?(a=v.resolve(void 0),a.constructor=v,s=_(a.then,a),n=function(){s(b)}):S?n=function(){g.nextTick(b)}:(l=_(l,u),n=function(){l(b)}):(o=!0,i=m.createTextNode(""),new y(b).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),w=function(e){G.head||n(),G.add(e)}}e.exports=w},6043:function(e,t,r){"use strict";var n=r(9306),o=TypeError,i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new o("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},2603:function(e,t,r){"use strict";var n=r(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},5749:function(e,t,r){"use strict";var n=r(788),o=TypeError;e.exports=function(e){if(n(e))throw new o("The method doesn't accept regular expressions");return e}},4213:function(e,t,r){"use strict";var n=r(3724),o=r(9504),i=r(9565),a=r(9039),s=r(1072),u=r(3717),c=r(8773),_=r(8981),l=r(7055),f=Object.assign,h=Object.defineProperty,d=o([].concat);e.exports=!f||a((function(){if(n&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||s(f({},t)).join("")!==o}))?function(e,t){var r=_(e),o=arguments.length,a=1,f=u.f,h=c.f;while(o>a){var p,S=l(arguments[a++]),y=f?d(s(S),f(S)):s(S),m=y.length,g=0;while(m>g)p=y[g++],n&&!i(h,S,p)||(r[p]=S[p])}return r}:f},2360:function(e,t,r){"use strict";var n,o=r(8551),i=r(6801),a=r(8727),s=r(421),u=r(397),c=r(4055),_=r(6119),l=">",f="<",h="prototype",d="script",p=_("IE_PROTO"),S=function(){},y=function(e){return f+d+l+e+f+"/"+d+l},m=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){var e,t=c("iframe"),r="java"+d+":";return t.style.display="none",u.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}v="undefined"!=typeof document?document.domain&&n?m(n):g():m(n);var e=a.length;while(e--)delete v[h][a[e]];return v()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(S[h]=o(e),r=new S,S[h]=null,r[p]=e):r=v(),void 0===t?r:i.f(r,t)}},6801:function(e,t,r){"use strict";var n=r(3724),o=r(8686),i=r(4913),a=r(8551),s=r(5397),u=r(1072);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);var r,n=s(t),o=u(t),c=o.length,_=0;while(c>_)i.f(e,r=o[_++],n[r]);return e}},4913:function(e,t,r){"use strict";var n=r(3724),o=r(5917),i=r(8686),a=r(8551),s=r(6969),u=TypeError,c=Object.defineProperty,_=Object.getOwnPropertyDescriptor,l="enumerable",f="configurable",h="writable";t.f=n?i?function(e,t,r){if(a(e),t=s(t),a(r),"function"===typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=_(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:l in r?r[l]:n[l],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return c(e,t,r)}catch(n){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},7347:function(e,t,r){"use strict";var n=r(3724),o=r(9565),i=r(8773),a=r(6980),s=r(5397),u=r(6969),c=r(9297),_=r(5917),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=s(e),t=u(t),_)try{return l(e,t)}catch(r){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},298:function(e,t,r){"use strict";var n=r(4576),o=r(5397),i=r(8480).f,a=r(7680),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return i(e)}catch(t){return a(s)}};e.exports.f=function(e){return s&&"Window"===n(e)?u(e):i(o(e))}},8480:function(e,t,r){"use strict";var n=r(1828),o=r(8727),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},3717:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},2787:function(e,t,r){"use strict";var n=r(9297),o=r(4901),i=r(8981),a=r(6119),s=r(2211),u=a("IE_PROTO"),c=Object,_=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(n(t,u))return t[u];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof c?_:null}},1625:function(e,t,r){"use strict";var n=r(9504);e.exports=n({}.isPrototypeOf)},1828:function(e,t,r){"use strict";var n=r(9504),o=r(9297),i=r(5397),a=r(9617).indexOf,s=r(421),u=n([].push);e.exports=function(e,t){var r,n=i(e),c=0,_=[];for(r in n)!o(s,r)&&o(n,r)&&u(_,r);while(t.length>c)o(n,r=t[c++])&&(~a(_,r)||u(_,r));return _}},1072:function(e,t,r){"use strict";var n=r(1828),o=r(8727);e.exports=Object.keys||function(e){return n(e,o)}},8773:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},2967:function(e,t,r){"use strict";var n=r(6706),o=r(34),i=r(7750),a=r(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=n(Object.prototype,"__proto__","set"),e(r,[]),t=r instanceof Array}catch(s){}return function(r,n){return i(r),a(n),o(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},3179:function(e,t,r){"use strict";var n=r(2140),o=r(6955);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},4270:function(e,t,r){"use strict";var n=r(9565),o=r(4901),i=r(34),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!i(s=n(r,e)))return s;if(o(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!i(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},5031:function(e,t,r){"use strict";var n=r(7751),o=r(9504),i=r(8480),a=r(3717),s=r(8551),u=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?u(t,r(e)):t}},9167:function(e,t,r){"use strict";var n=r(4475);e.exports=n},1103:function(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},916:function(e,t,r){"use strict";var n=r(4475),o=r(550),i=r(4901),a=r(2796),s=r(3706),u=r(8227),c=r(7290),_=r(516),l=r(6395),f=r(7388),h=o&&o.prototype,d=u("species"),p=!1,S=i(n.PromiseRejectionEvent),y=a("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===f)return!0;if(l&&(!h["catch"]||!h["finally"]))return!0;if(!f||f<51||!/native code/.test(e)){var r=new o((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},i=r.constructor={};if(i[d]=n,p=r.then((function(){}))instanceof n,!p)return!0}return!t&&(c||_)&&!S}));e.exports={CONSTRUCTOR:y,REJECTION_EVENT:S,SUBCLASSING:p}},550:function(e,t,r){"use strict";var n=r(4475);e.exports=n.Promise},3438:function(e,t,r){"use strict";var n=r(8551),o=r(34),i=r(6043);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},537:function(e,t,r){"use strict";var n=r(550),o=r(4428),i=r(916).CONSTRUCTOR;e.exports=i||!o((function(e){n.all(e).then(void 0,(function(){}))}))},1056:function(e,t,r){"use strict";var n=r(4913).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},8265:function(e){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e){var t=this.head=e.next;return null===t&&(this.tail=null),e.item}}},e.exports=t},6682:function(e,t,r){"use strict";var n=r(9565),o=r(8551),i=r(4901),a=r(4576),s=r(7323),u=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var c=n(r,e,t);return null!==c&&o(c),c}if("RegExp"===a(e))return n(s,e,t);throw new u("RegExp#exec called on incompatible receiver")}},7323:function(e,t,r){"use strict";var n=r(9565),o=r(9504),i=r(655),a=r(7979),s=r(8429),u=r(5745),c=r(2360),_=r(1181).get,l=r(3635),f=r(8814),h=u("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,S=o("".charAt),y=o("".indexOf),m=o("".replace),g=o("".slice),v=function(){var e=/a/,t=/b*/g;return n(d,e,"a"),n(d,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),w=s.BROKEN_CARET,G=void 0!==/()??/.exec("")[1],b=v||G||w||l||f;b&&(p=function(e){var t,r,o,s,u,l,f,b=this,E=_(b),T=i(e),P=E.raw;if(P)return P.lastIndex=b.lastIndex,t=n(p,P,T),b.lastIndex=P.lastIndex,t;var A=E.groups,x=w&&b.sticky,C=n(a,b),I=b.source,L=0,O=T;if(x&&(C=m(C,"y",""),-1===y(C,"g")&&(C+="g"),O=g(T,b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&"\n"!==S(T,b.lastIndex-1))&&(I="(?: "+I+")",O=" "+O,L++),r=new RegExp("^(?:"+I+")",C)),G&&(r=new RegExp("^"+I+"$(?!\\s)",C)),v&&(o=b.lastIndex),s=n(d,x?r:b,O),x?s?(s.input=g(s.input,L),s[0]=g(s[0],L),s.index=b.lastIndex,b.lastIndex+=s[0].length):b.lastIndex=0:v&&s&&(b.lastIndex=b.global?s.index+s[0].length:o),G&&s&&s.length>1&&n(h,s[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&A)for(s.groups=l=c(null),u=0;u<A.length;u++)f=A[u],l[f[0]]=s[f[1]];return s}),e.exports=p},7979:function(e,t,r){"use strict";var n=r(8551);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},1034:function(e,t,r){"use strict";var n=r(9565),o=r(9297),i=r(1625),a=r(7979),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:n(a,e)}},8429:function(e,t,r){"use strict";var n=r(9039),o=r(4475),i=o.RegExp,a=n((function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),s=a||n((function(){return!i("a","y").sticky})),u=a||n((function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:u,MISSED_STICKY:s,UNSUPPORTED_Y:a}},3635:function(e,t,r){"use strict";var n=r(9039),o=r(4475),i=o.RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:function(e,t,r){"use strict";var n=r(9039),o=r(4475),i=o.RegExp;e.exports=n((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},7750:function(e,t,r){"use strict";var n=r(4117),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},3389:function(e,t,r){"use strict";var n=r(4475),o=r(3724),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!o)return n[e];var t=i(n,e);return t&&t.value}},7633:function(e,t,r){"use strict";var n=r(7751),o=r(2106),i=r(8227),a=r(3724),s=i("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},687:function(e,t,r){"use strict";var n=r(4913).f,o=r(9297),i=r(8227),a=i("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,a)&&n(e,a,{configurable:!0,value:t})}},6119:function(e,t,r){"use strict";var n=r(5745),o=r(3392),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:function(e,t,r){"use strict";var n=r(6395),o=r(4475),i=r(9433),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(e,t,r){"use strict";var n=r(7629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},2293:function(e,t,r){"use strict";var n=r(8551),o=r(5548),i=r(4117),a=r(8227),s=a("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||i(r=n(a)[s])?t:o(r)}},3061:function(e,t,r){"use strict";var n=r(9039);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},8183:function(e,t,r){"use strict";var n=r(9504),o=r(1291),i=r(655),a=r(7750),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),_=function(e){return function(t,r){var n,_,l=i(a(t)),f=o(r),h=l.length;return f<0||f>=h?e?"":void 0:(n=u(l,f),n<55296||n>56319||f+1===h||(_=u(l,f+1))<56320||_>57343?e?s(l,f):n:e?c(l,f,f+2):_-56320+(n-55296<<10)+65536)}};e.exports={codeAt:_(!1),charAt:_(!0)}},3063:function(e,t,r){"use strict";var n=r(9392);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},533:function(e,t,r){"use strict";var n=r(9504),o=r(8014),i=r(655),a=r(2333),s=r(7750),u=n(a),c=n("".slice),_=Math.ceil,l=function(e){return function(t,r,n){var a,l,f=i(s(t)),h=o(r),d=f.length,p=void 0===n?" ":i(n);return h<=d||""===p?f:(a=h-d,l=u(p,_(a/p.length)),l.length>a&&(l=c(l,0,a)),e?f+l:l+f)}};e.exports={start:l(!1),end:l(!0)}},6098:function(e,t,r){"use strict";var n=r(9504),o=2147483647,i=36,a=1,s=26,u=38,c=700,_=72,l=128,f="-",h=/[^\0-\u007E]/,d=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",S=i-a,y=RangeError,m=n(d.exec),g=Math.floor,v=String.fromCharCode,w=n("".charCodeAt),G=n([].join),b=n([].push),E=n("".replace),T=n("".split),P=n("".toLowerCase),A=function(e){var t=[],r=0,n=e.length;while(r<n){var o=w(e,r++);if(o>=55296&&o<=56319&&r<n){var i=w(e,r++);56320===(64512&i)?b(t,((1023&o)<<10)+(1023&i)+65536):(b(t,o),r--)}else b(t,o)}return t},x=function(e){return e+22+75*(e<26)},C=function(e,t,r){var n=0;e=r?g(e/c):e>>1,e+=g(e/t);while(e>S*s>>1)e=g(e/S),n+=i;return g(n+(S+1)*e/(e+u))},I=function(e){var t=[];e=A(e);var r,n,u=e.length,c=l,h=0,d=_;for(r=0;r<e.length;r++)n=e[r],n<128&&b(t,v(n));var S=t.length,m=S;S&&b(t,f);while(m<u){var w=o;for(r=0;r<e.length;r++)n=e[r],n>=c&&n<w&&(w=n);var E=m+1;if(w-c>g((o-h)/E))throw new y(p);for(h+=(w-c)*E,c=w,r=0;r<e.length;r++){if(n=e[r],n<c&&++h>o)throw new y(p);if(n===c){var T=h,P=i;while(1){var I=P<=d?a:P>=d+s?s:P-d;if(T<I)break;var L=T-I,O=i-I;b(t,v(x(I+L%O))),T=g(L/O),P+=i}b(t,v(x(T))),d=C(h,E,m===S),h=0,m++}}h++,c++}return G(t,"")};e.exports=function(e){var t,r,n=[],o=T(E(P(e),d,"."),".");for(t=0;t<o.length;t++)r=o[t],b(n,m(h,r)?"xn--"+I(r):r);return G(n,".")}},2333:function(e,t,r){"use strict";var n=r(1291),o=r(655),i=r(7750),a=RangeError;e.exports=function(e){var t=o(i(this)),r="",s=n(e);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},706:function(e,t,r){"use strict";var n=r(350).PROPER,o=r(9039),i=r(7452),a="
";e.exports=function(e){return o((function(){return!!i[e]()||a[e]()!==a||n&&i[e].name!==e}))}},3802:function(e,t,r){"use strict";var n=r(9504),o=r(7750),i=r(655),a=r(7452),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),_=function(e){return function(t){var r=i(o(t));return 1&e&&(r=s(r,u,"")),2&e&&(r=s(r,c,"$1")),r}};e.exports={start:_(1),end:_(2),trim:_(3)}},1548:function(e,t,r){"use strict";var n=r(4475),o=r(9039),i=r(7388),a=r(7290),s=r(516),u=r(9088),c=n.structuredClone;e.exports=!!c&&!o((function(){if(s&&i>92||u&&i>94||a&&i>97)return!1;var e=new ArrayBuffer(8),t=c(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},4495:function(e,t,r){"use strict";var n=r(7388),o=r(9039),i=r(4475),a=i.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8242:function(e,t,r){"use strict";var n=r(9565),o=r(7751),i=r(8227),a=r(6840);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return n(r,this)}),{arity:1})}},1296:function(e,t,r){"use strict";var n=r(4495);e.exports=n&&!!Symbol["for"]&&!!Symbol.keyFor},9225:function(e,t,r){"use strict";var n,o,i,a,s=r(4475),u=r(8745),c=r(6080),_=r(4901),l=r(9297),f=r(9039),h=r(397),d=r(7680),p=r(4055),S=r(2812),y=r(8119),m=r(9088),g=s.setImmediate,v=s.clearImmediate,w=s.process,G=s.Dispatch,b=s.Function,E=s.MessageChannel,T=s.String,P=0,A={},x="onreadystatechange";f((function(){n=s.location}));var C=function(e){if(l(A,e)){var t=A[e];delete A[e],t()}},I=function(e){return function(){C(e)}},L=function(e){C(e.data)},O=function(e){s.postMessage(T(e),n.protocol+"//"+n.host)};g&&v||(g=function(e){S(arguments.length,1);var t=_(e)?e:b(e),r=d(arguments,1);return A[++P]=function(){u(t,void 0,r)},o(P),P},v=function(e){delete A[e]},m?o=function(e){w.nextTick(I(e))}:G&&G.now?o=function(e){G.now(I(e))}:E&&!y?(i=new E,a=i.port2,i.port1.onmessage=L,o=c(a.postMessage,a)):s.addEventListener&&_(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(O)?(o=O,s.addEventListener("message",L,!1)):o=x in p("script")?function(e){h.appendChild(p("script"))[x]=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:g,clear:v}},1240:function(e,t,r){"use strict";var n=r(9504);e.exports=n(1..valueOf)},5610:function(e,t,r){"use strict";var n=r(1291),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},5854:function(e,t,r){"use strict";var n=r(2777),o=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},7696:function(e,t,r){"use strict";var n=r(1291),o=r(8014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw new i("Wrong length or index");return r}},5397:function(e,t,r){"use strict";var n=r(7055),o=r(7750);e.exports=function(e){return n(o(e))}},1291:function(e,t,r){"use strict";var n=r(741);e.exports=function(e){var t=+e;return t!==t||0===t?0:n(t)}},8014:function(e,t,r){"use strict";var n=r(1291),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},8981:function(e,t,r){"use strict";var n=r(7750),o=Object;e.exports=function(e){return o(n(e))}},8229:function(e,t,r){"use strict";var n=r(9590),o=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new o("Wrong offset");return r}},9590:function(e,t,r){"use strict";var n=r(1291),o=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new o("The argument can't be less than 0");return t}},2777:function(e,t,r){"use strict";var n=r(9565),o=r(34),i=r(757),a=r(5966),s=r(4270),u=r(8227),c=TypeError,_=u("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,u=a(e,_);if(u){if(void 0===t&&(t="default"),r=n(u,e,t),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},6969:function(e,t,r){"use strict";var n=r(2777),o=r(757);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},2140:function(e,t,r){"use strict";var n=r(8227),o=n("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},655:function(e,t,r){"use strict";var n=r(6955),o=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},8319:function(e){"use strict";var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},9714:function(e,t,r){"use strict";var n=r(9088);e.exports=function(e){try{if(n)return Function('return require("'+e+'")')()}catch(t){}}},6823:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(r){return"Object"}}},5823:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(9565),a=r(3724),s=r(2805),u=r(4644),c=r(6346),_=r(679),l=r(6980),f=r(6699),h=r(2087),d=r(8014),p=r(7696),S=r(8229),y=r(8319),m=r(6969),g=r(9297),v=r(6955),w=r(34),G=r(757),b=r(2360),E=r(1625),T=r(2967),P=r(8480).f,A=r(3251),x=r(9213).forEach,C=r(7633),I=r(2106),L=r(4913),O=r(7347),F=r(5370),M=r(1181),k=r(3167),R=M.get,D=M.set,B=M.enforce,N=L.f,U=O.f,j=o.RangeError,H=c.ArrayBuffer,V=H.prototype,K=c.DataView,z=u.NATIVE_ARRAY_BUFFER_VIEWS,W=u.TYPED_ARRAY_TAG,q=u.TypedArray,Y=u.TypedArrayPrototype,X=u.isTypedArray,$="BYTES_PER_ELEMENT",J="Wrong length",Z=function(e,t){I(e,t,{configurable:!0,get:function(){return R(this)[t]}})},Q=function(e){var t;return E(V,e)||"ArrayBuffer"===(t=v(e))||"SharedArrayBuffer"===t},ee=function(e,t){return X(e)&&!G(t)&&t in e&&h(+t)&&t>=0},te=function(e,t){return t=m(t),ee(e,t)?l(2,e[t]):U(e,t)},re=function(e,t,r){return t=m(t),!(ee(e,t)&&w(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?N(e,t,r):(e[t]=r.value,e)};a?(z||(O.f=te,L.f=re,Z(Y,"buffer"),Z(Y,"byteOffset"),Z(Y,"byteLength"),Z(Y,"length")),n({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var a=e.match(/\d+/)[0]/8,u=e+(r?"Clamped":"")+"Array",c="get"+e,l="set"+e,h=o[u],m=h,g=m&&m.prototype,v={},G=function(e,t){var r=R(e);return r.view[c](t*a+r.byteOffset,!0)},E=function(e,t,n){var o=R(e);o.view[l](t*a+o.byteOffset,r?y(n):n,!0)},I=function(e,t){N(e,t,{get:function(){return G(this,t)},set:function(e){return E(this,t,e)},enumerable:!0})};z?s&&(m=t((function(e,t,r,n){return _(e,g),k(function(){return w(t)?Q(t)?void 0!==n?new h(t,S(r,a),n):void 0!==r?new h(t,S(r,a)):new h(t):X(t)?F(m,t):i(A,m,t):new h(p(t))}(),e,m)})),T&&T(m,q),x(P(h),(function(e){e in m||f(m,e,h[e])})),m.prototype=g):(m=t((function(e,t,r,n){_(e,g);var o,s,u,c=0,l=0;if(w(t)){if(!Q(t))return X(t)?F(m,t):i(A,m,t);o=t,l=S(r,a);var f=t.byteLength;if(void 0===n){if(f%a)throw new j(J);if(s=f-l,s<0)throw new j(J)}else if(s=d(n)*a,s+l>f)throw new j(J);u=s/a}else u=p(t),s=u*a,o=new H(s);D(e,{buffer:o,byteOffset:l,byteLength:s,length:u,view:new K(o)});while(c<u)I(e,c++)})),T&&T(m,q),g=m.prototype=b(Y)),g.constructor!==m&&f(g,"constructor",m),B(g).TypedArrayConstructor=m,W&&f(g,W,u);var L=m!==h;v[u]=m,n({global:!0,constructor:!0,forced:L,sham:!z},v),$ in m||f(m,$,a),$ in g||f(g,$,a),C(u)}):e.exports=function(){}},2805:function(e,t,r){"use strict";var n=r(4475),o=r(9039),i=r(4428),a=r(4644).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;e.exports=!a||!o((function(){u(1)}))||!o((function(){new u(-1)}))||!i((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||o((function(){return 1!==new u(new s(2),1,void 0).length}))},6357:function(e,t,r){"use strict";var n=r(5370),o=r(1412);e.exports=function(e,t){return n(o(e),t)}},3251:function(e,t,r){"use strict";var n=r(6080),o=r(9565),i=r(5548),a=r(8981),s=r(6198),u=r(81),c=r(851),_=r(4209),l=r(1108),f=r(4644).aTypedArrayConstructor,h=r(5854);e.exports=function(e){var t,r,d,p,S,y,m,g,v=i(this),w=a(e),G=arguments.length,b=G>1?arguments[1]:void 0,E=void 0!==b,T=c(w);if(T&&!_(T)){m=u(w,T),g=m.next,w=[];while(!(y=o(g,m)).done)w.push(y.value)}for(E&&G>2&&(b=n(b,arguments[2])),r=s(w),d=new(f(v))(r),p=l(d),t=0;r>t;t++)S=E?b(w[t],t):w[t],d[t]=p?h(S):+S;return d}},1412:function(e,t,r){"use strict";var n=r(4644),o=r(2293),i=n.aTypedArrayConstructor,a=n.getTypedArrayConstructor;e.exports=function(e){return i(o(e,a(e)))}},3392:function(e,t,r){"use strict";var n=r(9504),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7416:function(e,t,r){"use strict";var n=r(9039),o=r(8227),i=r(3724),a=r(6395),s=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),r["delete"]("a",2),r["delete"]("b",void 0),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},7040:function(e,t,r){"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(e,t,r){"use strict";var n=r(3724),o=r(9039);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:function(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},8622:function(e,t,r){"use strict";var n=r(4475),o=r(4901),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:function(e,t,r){"use strict";var n=r(9167),o=r(9297),i=r(1951),a=r(4913).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},1951:function(e,t,r){"use strict";var n=r(8227);t.f=n},8227:function(e,t,r){"use strict";var n=r(4475),o=r(5745),i=r(9297),a=r(3392),s=r(4495),u=r(7040),c=n.Symbol,_=o("wks"),l=u?c["for"]||c:c&&c.withoutSetter||a;e.exports=function(e){return i(_,e)||(_[e]=s&&i(c,e)?c[e]:l("Symbol."+e)),_[e]}},7452:function(e){"use strict";e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},4601:function(e,t,r){"use strict";var n=r(7751),o=r(9297),i=r(6699),a=r(1625),s=r(2967),u=r(7740),c=r(1056),_=r(3167),l=r(2603),f=r(7584),h=r(747),d=r(3724),p=r(6395);e.exports=function(e,t,r,S){var y="stackTraceLimit",m=S?2:1,g=e.split("."),v=g[g.length-1],w=n.apply(null,g);if(w){var G=w.prototype;if(!p&&o(G,"cause")&&delete G.cause,!r)return w;var b=n("Error"),E=t((function(e,t){var r=l(S?t:e,void 0),n=S?new w(e):new w;return void 0!==r&&i(n,"message",r),h(n,E,n.stack,2),this&&a(G,this)&&_(n,this,E),arguments.length>m&&f(n,arguments[m]),n}));if(E.prototype=G,"Error"!==v?s?s(E,b):u(E,b,{name:!0}):d&&y in w&&(c(E,w,y),c(E,w,"prepareStackTrace")),u(E,w),!p)try{G.name!==v&&i(G,"name",v),G.constructor=E}catch(T){}return E}}},4743:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(6346),a=r(7633),s="ArrayBuffer",u=i[s],c=o[s];n({global:!0,constructor:!0,forced:c!==u},{ArrayBuffer:u}),a(s)},6573:function(e,t,r){"use strict";var n=r(3724),o=r(2106),i=r(3238),a=ArrayBuffer.prototype;n&&!("detached"in a)&&o(a,"detached",{configurable:!0,get:function(){return i(this)}})},9142:function(e,t,r){"use strict";var n=r(6518),o=r(4644),i=o.NATIVE_ARRAY_BUFFER_VIEWS;n({target:"ArrayBuffer",stat:!0,forced:!i},{isView:o.isView})},1745:function(e,t,r){"use strict";var n=r(6518),o=r(7476),i=r(9039),a=r(6346),s=r(8551),u=r(5610),c=r(8014),_=r(2293),l=a.ArrayBuffer,f=a.DataView,h=f.prototype,d=o(l.prototype.slice),p=o(h.getUint8),S=o(h.setUint8),y=i((function(){return!new l(2).slice(1,void 0).byteLength}));n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:y},{slice:function(e,t){if(d&&void 0===t)return d(s(this),e);var r=s(this).byteLength,n=u(e,r),o=u(void 0===t?r:t,r),i=new(_(this,l))(c(o-n)),a=new f(this),h=new f(i),y=0;while(n<o)S(h,y++,p(a,n++));return i}})},7936:function(e,t,r){"use strict";var n=r(6518),o=r(5636);o&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},8100:function(e,t,r){"use strict";var n=r(6518),o=r(5636);o&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},8706:function(e,t,r){"use strict";var n=r(6518),o=r(9039),i=r(4376),a=r(34),s=r(8981),u=r(6198),c=r(6837),_=r(2278),l=r(1469),f=r(597),h=r(8227),d=r(7388),p=h("isConcatSpreadable"),S=d>=51||!o((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)},m=!S||!f("concat");n({target:"Array",proto:!0,arity:1,forced:m},{concat:function(e){var t,r,n,o,i,a=s(this),f=l(a,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(i=-1===t?a:arguments[t],y(i))for(o=u(i),c(h+o),r=0;r<o;r++,h++)r in i&&_(f,h,i[r]);else c(h+1),_(f,h++,i);return f.length=h,f}})},6835:function(e,t,r){"use strict";var n=r(6518),o=r(7029),i=r(6469);n({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},3771:function(e,t,r){"use strict";var n=r(6518),o=r(4373),i=r(6469);n({target:"Array",proto:!0},{fill:o}),i("fill")},2008:function(e,t,r){"use strict";var n=r(6518),o=r(9213).filter,i=r(597),a=i("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},4423:function(e,t,r){"use strict";var n=r(6518),o=r(9617).includes,i=r(9039),a=r(6469),s=i((function(){return!Array(1).includes()}));n({target:"Array",proto:!0,forced:s},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},3792:function(e,t,r){"use strict";var n=r(5397),o=r(6469),i=r(6269),a=r(1181),s=r(4913).f,u=r(1088),c=r(2529),_=r(6395),l=r(3724),f="Array Iterator",h=a.set,d=a.getterFor(f);e.exports=u(Array,"Array",(function(e,t){h(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,c(void 0,!0);switch(e.kind){case"keys":return c(r,!1);case"values":return c(t[r],!1)}return c([r,t[r]],!1)}),"values");var p=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!_&&l&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(S){}},8598:function(e,t,r){"use strict";var n=r(6518),o=r(9504),i=r(7055),a=r(5397),s=r(4598),u=o([].join),c=i!==Object,_=c||!s("join",",");n({target:"Array",proto:!0,forced:_},{join:function(e){return u(a(this),void 0===e?",":e)}})},4114:function(e,t,r){"use strict";var n=r(6518),o=r(8981),i=r(6198),a=r(4527),s=r(6837),u=r(9039),c=u((function(){return 4294967297!==[].push.call({length:4294967296},1)})),_=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},l=c||!_();n({target:"Array",proto:!0,arity:1,forced:l},{push:function(e){var t=o(this),r=i(t),n=arguments.length;s(r+n);for(var u=0;u<n;u++)t[r]=arguments[u],r++;return a(t,r),r}})},4782:function(e,t,r){"use strict";var n=r(6518),o=r(4376),i=r(3517),a=r(34),s=r(5610),u=r(6198),c=r(5397),_=r(2278),l=r(8227),f=r(597),h=r(7680),d=f("slice"),p=l("species"),S=Array,y=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,l,f=c(this),d=u(f),m=s(e,d),g=s(void 0===t?d:t,d);if(o(f)&&(r=f.constructor,i(r)&&(r===S||o(r.prototype))?r=void 0:a(r)&&(r=r[p],null===r&&(r=void 0)),r===S||void 0===r))return h(f,m,g);for(n=new(void 0===r?S:r)(y(g-m,0)),l=0;m<g;m++,l++)m in f&&_(n,l,f[m]);return n.length=l,n}})},4554:function(e,t,r){"use strict";var n=r(6518),o=r(8981),i=r(5610),a=r(1291),s=r(6198),u=r(4527),c=r(6837),_=r(1469),l=r(2278),f=r(4606),h=r(597),d=h("splice"),p=Math.max,S=Math.min;n({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var r,n,h,d,y,m,g=o(this),v=s(g),w=i(e,v),G=arguments.length;for(0===G?r=n=0:1===G?(r=0,n=v-w):(r=G-2,n=S(p(a(t),0),v-w)),c(v+r-n),h=_(g,n),d=0;d<n;d++)y=w+d,y in g&&l(h,d,g[y]);if(h.length=n,r<n){for(d=w;d<v-n;d++)y=d+n,m=d+r,y in g?g[m]=g[y]:f(g,m);for(d=v;d>v-n+r;d--)f(g,d-1)}else if(r>n)for(d=v-n;d>w;d--)y=d+n-1,m=d+r-1,y in g?g[m]=g[y]:f(g,m);for(d=0;d<r;d++)g[d+w]=arguments[d+2];return u(g,v-n+r),h}})},6280:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(8745),a=r(4601),s="WebAssembly",u=o[s],c=7!==new Error("e",{cause:7}).cause,_=function(e,t){var r={};r[e]=a(e,t,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},l=function(e,t){if(u&&u[e]){var r={};r[e]=a(s+"."+e,t,c),n({target:s,stat:!0,constructor:!0,arity:1,forced:c},r)}};_("Error",(function(e){return function(t){return i(e,this,arguments)}})),_("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),_("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),_("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),_("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),_("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),_("URIError",(function(e){return function(t){return i(e,this,arguments)}})),l("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),l("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),l("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},2010:function(e,t,r){"use strict";var n=r(3724),o=r(350).EXISTS,i=r(9504),a=r(2106),s=Function.prototype,u=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,_=i(c.exec),l="name";n&&!o&&a(s,l,{configurable:!0,get:function(){try{return _(c,u(this))[1]}catch(e){return""}}})},5081:function(e,t,r){"use strict";var n=r(6518),o=r(4475);n({global:!0,forced:o.globalThis!==o},{globalThis:o})},3110:function(e,t,r){"use strict";var n=r(6518),o=r(7751),i=r(8745),a=r(9565),s=r(9504),u=r(9039),c=r(4901),_=r(757),l=r(7680),f=r(6933),h=r(4495),d=String,p=o("JSON","stringify"),S=s(/./.exec),y=s("".charAt),m=s("".charCodeAt),g=s("".replace),v=s(1..toString),w=/[\uD800-\uDFFF]/g,G=/^[\uD800-\uDBFF]$/,b=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var e=o("Symbol")("stringify detection");return"[null]"!==p([e])||"{}"!==p({a:e})||"{}"!==p(Object(e))})),T=u((function(){return'"\\udf06\\ud834"'!==p("\udf06\ud834")||'"\\udead"'!==p("\udead")})),P=function(e,t){var r=l(arguments),n=f(t);if(c(n)||void 0!==e&&!_(e))return r[1]=function(e,t){if(c(n)&&(t=a(n,this,d(e),t)),!_(t))return t},i(p,null,r)},A=function(e,t,r){var n=y(r,t-1),o=y(r,t+1);return S(G,e)&&!S(b,o)||S(b,e)&&!S(G,n)?"\\u"+v(m(e,0),16):e};p&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(e,t,r){var n=l(arguments),o=i(E?P:p,null,n);return T&&"string"==typeof o?g(o,w,A):o}})},8085:function(e,t,r){"use strict";var n=r(6518),o=Math.floor,i=Math.log,a=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(e){var t=e>>>0;return t?31-o(i(t+.5)*a):32}})},605:function(e,t,r){"use strict";var n=r(6518),o=r(5617);n({target:"Math",stat:!0},{fround:o})},2152:function(e,t,r){"use strict";var n=r(6518),o=r(9039),i=Math.imul,a=o((function(){return-5!==i(4294967295,5)||2!==i.length}));n({target:"Math",stat:!0,forced:a},{imul:function(e,t){var r=65535,n=+e,o=+t,i=r&n,a=r&o;return 0|i*a+((r&n>>>16)*a+i*(r&o>>>16)<<16>>>0)}})},761:function(e,t,r){"use strict";var n=r(6518),o=r(741);n({target:"Math",stat:!0},{trunc:o})},2892:function(e,t,r){"use strict";var n=r(6518),o=r(6395),i=r(3724),a=r(4475),s=r(9167),u=r(9504),c=r(2796),_=r(9297),l=r(3167),f=r(1625),h=r(757),d=r(2777),p=r(9039),S=r(8480).f,y=r(7347).f,m=r(4913).f,g=r(1240),v=r(3802).trim,w="Number",G=a[w],b=s[w],E=G.prototype,T=a.TypeError,P=u("".slice),A=u("".charCodeAt),x=function(e){var t=d(e,"number");return"bigint"==typeof t?t:C(t)},C=function(e){var t,r,n,o,i,a,s,u,c=d(e,"number");if(h(c))throw new T("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=v(c),t=A(c,0),43===t||45===t){if(r=A(c,2),88===r||120===r)return NaN}else if(48===t){switch(A(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(i=P(c,2),a=i.length,s=0;s<a;s++)if(u=A(i,s),u<48||u>o)return NaN;return parseInt(i,n)}return+c},I=c(w,!G(" 0o1")||!G("0b1")||G("+0x1")),L=function(e){return f(E,e)&&p((function(){g(e)}))},O=function(e){var t=arguments.length<1?0:G(x(e));return L(this)?l(Object(t),this,O):t};O.prototype=E,I&&!o&&(E.constructor=O),n({global:!0,constructor:!0,wrap:!0,forced:I},{Number:O});var F=function(e,t){for(var r,n=i?S(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)_(t,r=n[o])&&!_(e,r)&&m(e,r,y(t,r))};o&&b&&F(s[w],b),(I||o)&&F(s[w],G)},9085:function(e,t,r){"use strict";var n=r(6518),o=r(4213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},3851:function(e,t,r){"use strict";var n=r(6518),o=r(9039),i=r(5397),a=r(7347).f,s=r(3724),u=!s||o((function(){a(1)}));n({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},9773:function(e,t,r){"use strict";var n=r(6518),o=r(4495),i=r(9039),a=r(3717),s=r(8981),u=!o||i((function(){a.f(1)}));n({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},9432:function(e,t,r){"use strict";var n=r(6518),o=r(8981),i=r(1072),a=r(9039),s=a((function(){i(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return i(o(e))}})},3548:function(e,t,r){"use strict";var n=r(3724),o=r(2106),i=r(34),a=r(3925),s=r(8981),u=r(7750),c=Object.getPrototypeOf,_=Object.setPrototypeOf,l=Object.prototype,f="__proto__";if(n&&c&&_&&!(f in l))try{o(l,f,{configurable:!0,get:function(){return c(s(this))},set:function(e){var t=u(this);a(e)&&i(t)&&_(t,e)}})}catch(h){}},287:function(e,t,r){"use strict";var n=r(6518),o=r(2967);n({target:"Object",stat:!0},{setPrototypeOf:o})},6099:function(e,t,r){"use strict";var n=r(2140),o=r(6840),i=r(3179);n||o(Object.prototype,"toString",i,{unsafe:!0})},6499:function(e,t,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),a=r(6043),s=r(1103),u=r(2652),c=r(537);n({target:"Promise",stat:!0,forced:c},{all:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,_=s((function(){var r=i(t.resolve),a=[],s=0,_=1;u(e,(function(e){var i=s++,u=!1;_++,o(r,t,e).then((function(e){u||(u=!0,a[i]=e,--_||n(a))}),c)})),--_||n(a)}));return _.error&&c(_.value),r.promise}})},2003:function(e,t,r){"use strict";var n=r(6518),o=r(6395),i=r(916).CONSTRUCTOR,a=r(550),s=r(7751),u=r(4901),c=r(6840),_=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&u(a)){var l=s("Promise").prototype["catch"];_["catch"]!==l&&c(_,"catch",l,{unsafe:!0})}},436:function(e,t,r){"use strict";var n,o,i,a,s=r(6518),u=r(6395),c=r(9088),_=r(4475),l=r(9565),f=r(6840),h=r(2967),d=r(687),p=r(7633),S=r(9306),y=r(4901),m=r(34),g=r(679),v=r(2293),w=r(9225).set,G=r(1955),b=r(3138),E=r(1103),T=r(8265),P=r(1181),A=r(550),x=r(916),C=r(6043),I="Promise",L=x.CONSTRUCTOR,O=x.REJECTION_EVENT,F=x.SUBCLASSING,M=P.getterFor(I),k=P.set,R=A&&A.prototype,D=A,B=R,N=_.TypeError,U=_.document,j=_.process,H=C.f,V=H,K=!!(U&&U.createEvent&&_.dispatchEvent),z="unhandledrejection",W="rejectionhandled",q=0,Y=1,X=2,$=1,J=2,Z=function(e){var t;return!(!m(e)||!y(t=e.then))&&t},Q=function(e,t){var r,n,o,i=t.value,a=t.state===Y,s=a?e.ok:e.fail,u=e.resolve,c=e.reject,_=e.domain;try{s?(a||(t.rejection===J&&oe(t),t.rejection=$),!0===s?r=i:(_&&_.enter(),r=s(i),_&&(_.exit(),o=!0)),r===e.promise?c(new N("Promise-chain cycle")):(n=Z(r))?l(n,r,u,c):u(r)):c(i)}catch(f){_&&!o&&_.exit(),c(f)}},ee=function(e,t){e.notified||(e.notified=!0,G((function(){var r,n=e.reactions;while(r=n.get())Q(r,e);e.notified=!1,t&&!e.rejection&&re(e)})))},te=function(e,t,r){var n,o;K?(n=U.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),_.dispatchEvent(n)):n={promise:t,reason:r},!O&&(o=_["on"+e])?o(n):e===z&&b("Unhandled promise rejection",r)},re=function(e){l(w,_,(function(){var t,r=e.facade,n=e.value,o=ne(e);if(o&&(t=E((function(){c?j.emit("unhandledRejection",n,r):te(z,r,n)})),e.rejection=c||ne(e)?J:$,t.error))throw t.value}))},ne=function(e){return e.rejection!==$&&!e.parent},oe=function(e){l(w,_,(function(){var t=e.facade;c?j.emit("rejectionHandled",t):te(W,t,e.value)}))},ie=function(e,t,r){return function(n){e(t,n,r)}},ae=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=X,ee(e,!0))},se=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new N("Promise can't be resolved itself");var n=Z(t);n?G((function(){var r={done:!1};try{l(n,t,ie(se,r,e),ie(ae,r,e))}catch(o){ae(r,o,e)}})):(e.value=t,e.state=Y,ee(e,!1))}catch(o){ae({done:!1},o,e)}}};if(L&&(D=function(e){g(this,B),S(e),l(n,this);var t=M(this);try{e(ie(se,t),ie(ae,t))}catch(r){ae(t,r)}},B=D.prototype,n=function(e){k(this,{type:I,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:q,value:void 0})},n.prototype=f(B,"then",(function(e,t){var r=M(this),n=H(v(this,D));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=c?j.domain:void 0,r.state===q?r.reactions.add(n):G((function(){Q(n,r)})),n.promise})),o=function(){var e=new n,t=M(e);this.promise=e,this.resolve=ie(se,t),this.reject=ie(ae,t)},C.f=H=function(e){return e===D||e===i?new o(e):V(e)},!u&&y(A)&&R!==Object.prototype)){a=R.then,F||f(R,"then",(function(e,t){var r=this;return new D((function(e,t){l(a,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete R.constructor}catch(ue){}h&&h(R,B)}s({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:D}),d(D,I,!1,!0),p(I)},3362:function(e,t,r){"use strict";r(436),r(6499),r(2003),r(7743),r(1481),r(280)},7743:function(e,t,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),a=r(6043),s=r(1103),u=r(2652),c=r(537);n({target:"Promise",stat:!0,forced:c},{race:function(e){var t=this,r=a.f(t),n=r.reject,c=s((function(){var a=i(t.resolve);u(e,(function(e){o(a,t,e).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},1481:function(e,t,r){"use strict";var n=r(6518),o=r(6043),i=r(916).CONSTRUCTOR;n({target:"Promise",stat:!0,forced:i},{reject:function(e){var t=o.f(this),r=t.reject;return r(e),t.promise}})},280:function(e,t,r){"use strict";var n=r(6518),o=r(7751),i=r(6395),a=r(550),s=r(916).CONSTRUCTOR,u=r(3438),c=o("Promise"),_=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return u(_&&this===c?a:this,e)}})},5472:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(687);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},4864:function(e,t,r){"use strict";var n=r(3724),o=r(4475),i=r(9504),a=r(2796),s=r(3167),u=r(6699),c=r(2360),_=r(8480).f,l=r(1625),f=r(788),h=r(655),d=r(1034),p=r(8429),S=r(1056),y=r(6840),m=r(9039),g=r(9297),v=r(1181).enforce,w=r(7633),G=r(8227),b=r(3635),E=r(8814),T=G("match"),P=o.RegExp,A=P.prototype,x=o.SyntaxError,C=i(A.exec),I=i("".charAt),L=i("".replace),O=i("".indexOf),F=i("".slice),M=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,k=/a/g,R=/a/g,D=new P(k)!==k,B=p.MISSED_STICKY,N=p.UNSUPPORTED_Y,U=n&&(!D||B||b||E||m((function(){return R[T]=!1,P(k)!==k||P(R)===R||"/a/i"!==String(P(k,"i"))}))),j=function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)t=I(e,n),"\\"!==t?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+I(e,++n);return o},H=function(e){for(var t,r=e.length,n=0,o="",i=[],a=c(null),s=!1,u=!1,_=0,l="";n<=r;n++){if(t=I(e,n),"\\"===t)t+=I(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:C(M,F(e,n+1))&&(n+=2,u=!0),o+=t,_++;continue;case">"===t&&u:if(""===l||g(a,l))throw new x("Invalid capture group name");a[l]=!0,i[i.length]=[l,_],u=!1,l="";continue}u?l+=t:o+=t}return[o,i]};if(a("RegExp",U)){for(var V=function(e,t){var r,n,o,i,a,c,_=l(A,this),p=f(e),S=void 0===t,y=[],m=e;if(!_&&p&&S&&e.constructor===V)return e;if((p||l(A,e))&&(e=e.source,S&&(t=d(m))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),m=e,b&&"dotAll"in k&&(n=!!t&&O(t,"s")>-1,n&&(t=L(t,/s/g,""))),r=t,B&&"sticky"in k&&(o=!!t&&O(t,"y")>-1,o&&N&&(t=L(t,/y/g,""))),E&&(i=H(e),e=i[0],y=i[1]),a=s(P(e,t),_?this:A,V),(n||o||y.length)&&(c=v(a),n&&(c.dotAll=!0,c.raw=V(j(e),r)),o&&(c.sticky=!0),y.length&&(c.groups=y)),e!==m)try{u(a,"source",""===m?"(?:)":m)}catch(g){}return a},K=_(P),z=0;K.length>z;)S(V,P,K[z++]);A.constructor=V,V.prototype=A,y(o,"RegExp",V,{constructor:!0})}w("RegExp")},7465:function(e,t,r){"use strict";var n=r(3724),o=r(3635),i=r(4576),a=r(2106),s=r(1181).get,u=RegExp.prototype,c=TypeError;n&&o&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},7495:function(e,t,r){"use strict";var n=r(6518),o=r(7323);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9479:function(e,t,r){"use strict";var n=r(4475),o=r(3724),i=r(2106),a=r(7979),s=r(9039),u=n.RegExp,c=u.prototype,_=o&&s((function(){var e=!0;try{u(".","d")}catch(_){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);var s=Object.getOwnPropertyDescriptor(c,"flags").get.call(t);return s!==n||r!==n}));_&&i(c,"flags",{configurable:!0,get:a})},7745:function(e,t,r){"use strict";var n=r(3724),o=r(8429).MISSED_STICKY,i=r(4576),a=r(2106),s=r(1181).get,u=RegExp.prototype,c=TypeError;n&&o&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},8781:function(e,t,r){"use strict";var n=r(350).PROPER,o=r(6840),i=r(8551),a=r(655),s=r(9039),u=r(1034),c="toString",_=RegExp.prototype,l=_[c],f=s((function(){return"/a/b"!==l.call({source:"a",flags:"b"})})),h=n&&l.name!==c;(f||h)&&o(_,c,(function(){var e=i(this),t=a(e.source),r=a(u(e));return"/"+t+"/"+r}),{unsafe:!0})},9449:function(e,t,r){"use strict";var n=r(6518),o=r(7476),i=r(7347).f,a=r(8014),s=r(655),u=r(5749),c=r(7750),_=r(1436),l=r(6395),f=o("".slice),h=Math.min,d=_("endsWith"),p=!l&&!d&&!!function(){var e=i(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!p&&!d},{endsWith:function(e){var t=s(c(this));u(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,o=void 0===r?n:h(a(r),n),i=s(e);return f(t,o-i.length,o)===i}})},1699:function(e,t,r){"use strict";var n=r(6518),o=r(9504),i=r(5749),a=r(7750),s=r(655),u=r(1436),c=o("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:function(e,t,r){"use strict";var n=r(8183).charAt,o=r(655),i=r(1181),a=r(1088),s=r(2529),u="String Iterator",c=i.set,_=i.getterFor(u);a(String,"String",(function(e){c(this,{type:u,string:o(e),index:0})}),(function(){var e,t=_(this),r=t.string,o=t.index;return o>=r.length?s(void 0,!0):(e=n(r,o),t.index+=e.length,s(e,!1))}))},778:function(e,t,r){"use strict";var n=r(6518),o=r(7240),i=r(3061);n({target:"String",proto:!0,forced:i("link")},{link:function(e){return o(this,"a","href",e)}})},1761:function(e,t,r){"use strict";var n=r(9565),o=r(9228),i=r(8551),a=r(4117),s=r(8014),u=r(655),c=r(7750),_=r(5966),l=r(7829),f=r(6682);o("match",(function(e,t,r){return[function(t){var r=c(this),o=a(t)?void 0:_(t,e);return o?n(o,t,r):new RegExp(t)[e](u(r))},function(e){var n=i(this),o=u(e),a=r(t,n,o);if(a.done)return a.value;if(!n.global)return f(n,o);var c=n.unicode;n.lastIndex=0;var _,h=[],d=0;while(null!==(_=f(n,o))){var p=u(_[0]);h[d]=p,""===p&&(n.lastIndex=l(o,s(n.lastIndex),c)),d++}return 0===d?null:h}]}))},8156:function(e,t,r){"use strict";var n=r(6518),o=r(533).start,i=r(3063);n({target:"String",proto:!0,forced:i},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},5440:function(e,t,r){"use strict";var n=r(8745),o=r(9565),i=r(9504),a=r(9228),s=r(9039),u=r(8551),c=r(4901),_=r(4117),l=r(1291),f=r(8014),h=r(655),d=r(7750),p=r(7829),S=r(5966),y=r(2478),m=r(6682),g=r(8227),v=g("replace"),w=Math.max,G=Math.min,b=i([].concat),E=i([].push),T=i("".indexOf),P=i("".slice),A=function(e){return void 0===e?e:String(e)},x=function(){return"$0"==="a".replace(/./,"$0")}(),C=function(){return!!/./[v]&&""===/./[v]("a","$0")}(),I=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));a("replace",(function(e,t,r){var i=C?"$":"$0";return[function(e,r){var n=d(this),i=_(e)?void 0:S(e,v);return i?o(i,e,n,r):o(t,h(n),e,r)},function(e,o){var a=u(this),s=h(e);if("string"==typeof o&&-1===T(o,i)&&-1===T(o,"$<")){var _=r(t,a,s,o);if(_.done)return _.value}var d=c(o);d||(o=h(o));var S,g=a.global;g&&(S=a.unicode,a.lastIndex=0);var v,x=[];while(1){if(v=m(a,s),null===v)break;if(E(x,v),!g)break;var C=h(v[0]);""===C&&(a.lastIndex=p(s,f(a.lastIndex),S))}for(var I="",L=0,O=0;O<x.length;O++){v=x[O];for(var F,M=h(v[0]),k=w(G(l(v.index),s.length),0),R=[],D=1;D<v.length;D++)E(R,A(v[D]));var B=v.groups;if(d){var N=b([M],R,k,s);void 0!==B&&E(N,B),F=h(n(o,void 0,N))}else F=y(M,s,k,R,B,o);k>=L&&(I+=P(s,L,k)+F,L=k+M.length)}return I+P(s,L)}]}),!I||!x||C)},1392:function(e,t,r){"use strict";var n=r(6518),o=r(7476),i=r(7347).f,a=r(8014),s=r(655),u=r(5749),c=r(7750),_=r(1436),l=r(6395),f=o("".slice),h=Math.min,d=_("startsWith"),p=!l&&!d&&!!function(){var e=i(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!p&&!d},{startsWith:function(e){var t=s(c(this));u(e);var r=a(h(arguments.length>1?arguments[1]:void 0,t.length)),n=s(e);return f(t,r,r+n.length)===n}})},2762:function(e,t,r){"use strict";var n=r(6518),o=r(3802).trim,i=r(706);n({target:"String",proto:!0,forced:i("trim")},{trim:function(){return o(this)}})},6412:function(e,t,r){"use strict";var n=r(511);n("asyncIterator")},6761:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(9565),a=r(9504),s=r(6395),u=r(3724),c=r(4495),_=r(9039),l=r(9297),f=r(1625),h=r(8551),d=r(5397),p=r(6969),S=r(655),y=r(6980),m=r(2360),g=r(1072),v=r(8480),w=r(298),G=r(3717),b=r(7347),E=r(4913),T=r(6801),P=r(8773),A=r(6840),x=r(2106),C=r(5745),I=r(6119),L=r(421),O=r(3392),F=r(8227),M=r(1951),k=r(511),R=r(8242),D=r(687),B=r(1181),N=r(9213).forEach,U=I("hidden"),j="Symbol",H="prototype",V=B.set,K=B.getterFor(j),z=Object[H],W=o.Symbol,q=W&&W[H],Y=o.RangeError,X=o.TypeError,$=o.QObject,J=b.f,Z=E.f,Q=w.f,ee=P.f,te=a([].push),re=C("symbols"),ne=C("op-symbols"),oe=C("wks"),ie=!$||!$[H]||!$[H].findChild,ae=function(e,t,r){var n=J(z,t);n&&delete z[t],Z(e,t,r),n&&e!==z&&Z(z,t,n)},se=u&&_((function(){return 7!==m(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ue=function(e,t){var r=re[e]=m(q);return V(r,{type:j,tag:e,description:t}),u||(r.description=t),r},ce=function(e,t,r){e===z&&ce(ne,t,r),h(e);var n=p(t);return h(r),l(re,n)?(r.enumerable?(l(e,U)&&e[U][n]&&(e[U][n]=!1),r=m(r,{enumerable:y(0,!1)})):(l(e,U)||Z(e,U,y(1,m(null))),e[U][n]=!0),se(e,n,r)):Z(e,n,r)},_e=function(e,t){h(e);var r=d(t),n=g(r).concat(pe(r));return N(n,(function(t){u&&!i(fe,r,t)||ce(e,t,r[t])})),e},le=function(e,t){return void 0===t?m(e):_e(m(e),t)},fe=function(e){var t=p(e),r=i(ee,this,t);return!(this===z&&l(re,t)&&!l(ne,t))&&(!(r||!l(this,t)||!l(re,t)||l(this,U)&&this[U][t])||r)},he=function(e,t){var r=d(e),n=p(t);if(r!==z||!l(re,n)||l(ne,n)){var o=J(r,n);return!o||!l(re,n)||l(r,U)&&r[U][n]||(o.enumerable=!0),o}},de=function(e){var t=Q(d(e)),r=[];return N(t,(function(e){l(re,e)||l(L,e)||te(r,e)})),r},pe=function(e){var t=e===z,r=Q(t?ne:d(e)),n=[];return N(r,(function(e){!l(re,e)||t&&!l(z,e)||te(n,re[e])})),n};c||(W=function(){if(f(q,this))throw new X("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?S(arguments[0]):void 0,t=O(e),r=function(e){var n=void 0===this?o:this;n===z&&i(r,ne,e),l(n,U)&&l(n[U],t)&&(n[U][t]=!1);var a=y(1,e);try{se(n,t,a)}catch(s){if(!(s instanceof Y))throw s;ae(n,t,a)}};return u&&ie&&se(z,t,{configurable:!0,set:r}),ue(t,e)},q=W[H],A(q,"toString",(function(){return K(this).tag})),A(W,"withoutSetter",(function(e){return ue(O(e),e)})),P.f=fe,E.f=ce,T.f=_e,b.f=he,v.f=w.f=de,G.f=pe,M.f=function(e){return ue(F(e),e)},u&&(x(q,"description",{configurable:!0,get:function(){return K(this).description}}),s||A(z,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),N(g(oe),(function(e){k(e)})),n({target:j,stat:!0,forced:!c},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:le,defineProperty:ce,defineProperties:_e,getOwnPropertyDescriptor:he}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:de}),R(),D(W,j),L[U]=!0},9463:function(e,t,r){"use strict";var n=r(6518),o=r(3724),i=r(4475),a=r(9504),s=r(9297),u=r(4901),c=r(1625),_=r(655),l=r(2106),f=r(7740),h=i.Symbol,d=h&&h.prototype;if(o&&u(h)&&(!("description"in d)||void 0!==h().description)){var p={},S=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:_(arguments[0]),t=c(d,this)?new h(e):void 0===e?h():h(e);return""===e&&(p[t]=!0),t};f(S,h),S.prototype=d,d.constructor=S;var y="Symbol(description detection)"===String(h("description detection")),m=a(d.valueOf),g=a(d.toString),v=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),G=a("".slice);l(d,"description",{configurable:!0,get:function(){var e=m(this);if(s(p,e))return"";var t=g(e),r=y?G(t,7,-1):w(t,v,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:S})}},1510:function(e,t,r){"use strict";var n=r(6518),o=r(7751),i=r(9297),a=r(655),s=r(5745),u=r(1296),c=s("string-to-symbol-registry"),_=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=o("Symbol")(t);return c[t]=r,_[r]=t,r}})},2259:function(e,t,r){"use strict";var n=r(511);n("iterator")},2675:function(e,t,r){"use strict";r(6761),r(1510),r(7812),r(3110),r(9773)},7812:function(e,t,r){"use strict";var n=r(6518),o=r(9297),i=r(757),a=r(6823),s=r(5745),u=r(1296),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},8140:function(e,t,r){"use strict";var n=r(4644),o=r(6198),i=r(1291),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("at",(function(e){var t=a(this),r=o(t),n=i(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}))},1630:function(e,t,r){"use strict";var n=r(9504),o=r(4644),i=r(7029),a=n(i),s=o.aTypedArray,u=o.exportTypedArrayMethod;u("copyWithin",(function(e,t){return a(s(this),e,t,arguments.length>2?arguments[2]:void 0)}))},2170:function(e,t,r){"use strict";var n=r(4644),o=r(9213).every,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},5044:function(e,t,r){"use strict";var n=r(4644),o=r(4373),i=r(5854),a=r(6955),s=r(9565),u=r(9504),c=r(9039),_=n.aTypedArray,l=n.exportTypedArrayMethod,f=u("".slice),h=c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}));l("fill",(function(e){var t=arguments.length;_(this);var r="Big"===f(a(this),0,3)?i(e):+e;return s(o,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),h)},1920:function(e,t,r){"use strict";var n=r(4644),o=r(9213).filter,i=r(6357),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},9955:function(e,t,r){"use strict";var n=r(4644),o=r(9213).findIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},1134:function(e,t,r){"use strict";var n=r(4644),o=r(3839).findLastIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLastIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},1903:function(e,t,r){"use strict";var n=r(4644),o=r(3839).findLast,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLast",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},1694:function(e,t,r){"use strict";var n=r(4644),o=r(9213).find,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4594:function(e,t,r){"use strict";var n=r(5823);n("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},9833:function(e,t,r){"use strict";var n=r(5823);n("Float64",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},3206:function(e,t,r){"use strict";var n=r(4644),o=r(9213).forEach,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4496:function(e,t,r){"use strict";var n=r(4644),o=r(9617).includes,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},6651:function(e,t,r){"use strict";var n=r(4644),o=r(9617).indexOf,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2107:function(e,t,r){"use strict";var n=r(5823);n("Int16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},5477:function(e,t,r){"use strict";var n=r(5823);n("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},6594:function(e,t,r){"use strict";var n=r(5823);n("Int8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},2887:function(e,t,r){"use strict";var n=r(4475),o=r(9039),i=r(9504),a=r(4644),s=r(3792),u=r(8227),c=u("iterator"),_=n.Uint8Array,l=i(s.values),f=i(s.keys),h=i(s.entries),d=a.aTypedArray,p=a.exportTypedArrayMethod,S=_&&_.prototype,y=!o((function(){S[c].call([1])})),m=!!S&&S.values&&S[c]===S.values&&"values"===S.values.name,g=function(){return l(d(this))};p("entries",(function(){return h(d(this))}),y),p("keys",(function(){return f(d(this))}),y),p("values",g,y||!m,{name:"values"}),p(c,g,y||!m,{name:"values"})},9369:function(e,t,r){"use strict";var n=r(4644),o=r(9504),i=n.aTypedArray,a=n.exportTypedArrayMethod,s=o([].join);a("join",(function(e){return s(i(this),e)}))},6812:function(e,t,r){"use strict";var n=r(4644),o=r(8745),i=r(8379),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},8995:function(e,t,r){"use strict";var n=r(4644),o=r(9213).map,i=r(1412),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},6072:function(e,t,r){"use strict";var n=r(4644),o=r(926).right,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},1575:function(e,t,r){"use strict";var n=r(4644),o=r(926).left,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},8747:function(e,t,r){"use strict";var n=r(4644),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){var e,t=this,r=o(t).length,n=a(r/2),i=0;while(i<n)e=t[i],t[i++]=t[--r],t[r]=e;return t}))},8845:function(e,t,r){"use strict";var n=r(4475),o=r(9565),i=r(4644),a=r(6198),s=r(8229),u=r(8981),c=r(9039),_=n.RangeError,l=n.Int8Array,f=l&&l.prototype,h=f&&f.set,d=i.aTypedArray,p=i.exportTypedArrayMethod,S=!c((function(){var e=new Uint8ClampedArray(2);return o(h,e,{length:1,0:3},1),3!==e[1]})),y=S&&i.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new l(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));p("set",(function(e){d(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=u(e);if(S)return o(h,this,r,t);var n=this.length,i=a(r),c=0;if(i+t>n)throw new _("Wrong length");while(c<i)this[t+c]=r[c++]}),!S||y)},9423:function(e,t,r){"use strict";var n=r(4644),o=r(1412),i=r(9039),a=r(7680),s=n.aTypedArray,u=n.exportTypedArrayMethod,c=i((function(){new Int8Array(1).slice()}));u("slice",(function(e,t){var r=a(s(this),e,t),n=o(this),i=0,u=r.length,c=new n(u);while(u>i)c[i]=r[i++];return c}),c)},7301:function(e,t,r){"use strict";var n=r(4644),o=r(9213).some,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},373:function(e,t,r){"use strict";var n=r(4475),o=r(7476),i=r(9039),a=r(9306),s=r(4488),u=r(4644),c=r(8834),_=r(3202),l=r(7388),f=r(9160),h=u.aTypedArray,d=u.exportTypedArrayMethod,p=n.Uint16Array,S=p&&o(p.prototype.sort),y=!!S&&!(i((function(){S(new p(2),null)}))&&i((function(){S(new p(2),{})}))),m=!!S&&!i((function(){if(l)return l<74;if(c)return c<67;if(_)return!0;if(f)return f<602;var e,t,r=new p(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(S(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0})),g=function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!==r?-1:t!==t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}};d("sort",(function(e){return void 0!==e&&a(e),m?S(this,e):s(h(this),g(e))}),!m||y)},6614:function(e,t,r){"use strict";var n=r(4644),o=r(8014),i=r(5610),a=r(1412),s=n.aTypedArray,u=n.exportTypedArrayMethod;u("subarray",(function(e,t){var r=s(this),n=r.length,u=i(e,n),c=a(r);return new c(r.buffer,r.byteOffset+u*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-u))}))},1405:function(e,t,r){"use strict";var n=r(4475),o=r(8745),i=r(4644),a=r(9039),s=r(7680),u=n.Int8Array,c=i.aTypedArray,_=i.exportTypedArrayMethod,l=[].toLocaleString,f=!!u&&a((function(){l.call(new u(1))})),h=a((function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()}))||!a((function(){u.prototype.toLocaleString.call([1,2])}));_("toLocaleString",(function(){return o(l,f?s(c(this)):c(this),s(arguments))}),h)},7467:function(e,t,r){"use strict";var n=r(7628),o=r(4644),i=o.aTypedArray,a=o.exportTypedArrayMethod,s=o.getTypedArrayConstructor;a("toReversed",(function(){return n(i(this),s(this))}))},4732:function(e,t,r){"use strict";var n=r(4644),o=r(9504),i=r(9306),a=r(5370),s=n.aTypedArray,u=n.getTypedArrayConstructor,c=n.exportTypedArrayMethod,_=o(n.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&i(e);var t=s(this),r=a(u(t),t);return _(r,e)}))},3684:function(e,t,r){"use strict";var n=r(4644).exportTypedArrayMethod,o=r(9039),i=r(4475),a=r(9504),s=i.Uint8Array,u=s&&s.prototype||{},c=[].toString,_=a([].join);o((function(){c.call({})}))&&(c=function(){return _(this)});var l=u.toString!==c;n("toString",c,l)},3690:function(e,t,r){"use strict";var n=r(5823);n("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1740:function(e,t,r){"use strict";var n=r(5823);n("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1489:function(e,t,r){"use strict";var n=r(5823);n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},9577:function(e,t,r){"use strict";var n=r(9928),o=r(4644),i=r(1108),a=r(1291),s=r(5854),u=o.aTypedArray,c=o.getTypedArrayConstructor,_=o.exportTypedArrayMethod,l=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();_("with",{with:function(e,t){var r=u(this),o=a(e),_=i(r)?s(t):+t;return n(r,c(r),o,_)}}["with"],!l)},3500:function(e,t,r){"use strict";var n=r(4475),o=r(7400),i=r(9296),a=r(235),s=r(6699),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)o[c]&&u(n[c]&&n[c].prototype);u(i)},2953:function(e,t,r){"use strict";var n=r(4475),o=r(7400),i=r(9296),a=r(3792),s=r(6699),u=r(687),c=r(8227),_=c("iterator"),l=a.values,f=function(e,t){if(e){if(e[_]!==l)try{s(e,_,l)}catch(n){e[_]=l}if(u(e,t,!0),o[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(n){e[r]=a[r]}}};for(var h in o)f(n[h]&&n[h].prototype,h);f(i,"DOMTokenList")},3611:function(e,t,r){"use strict";var n=r(6518),o=r(4475),i=r(2106),a=r(3724),s=TypeError,u=Object.defineProperty,c=o.self!==o;try{if(a){var _=Object.getOwnPropertyDescriptor(o,"self");!c&&_&&_.get&&_.enumerable||i(o,"self",{get:function(){return o},set:function(e){if(this!==o)throw new s("Illegal invocation");u(o,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:c},{self:o})}catch(l){}},8406:function(e,t,r){"use strict";r(3792);var n=r(6518),o=r(4475),i=r(3389),a=r(9565),s=r(9504),u=r(3724),c=r(7416),_=r(6840),l=r(2106),f=r(6279),h=r(687),d=r(3994),p=r(1181),S=r(679),y=r(4901),m=r(9297),g=r(6080),v=r(6955),w=r(8551),G=r(34),b=r(655),E=r(2360),T=r(6980),P=r(81),A=r(851),x=r(2529),C=r(2812),I=r(8227),L=r(4488),O=I("iterator"),F="URLSearchParams",M=F+"Iterator",k=p.set,R=p.getterFor(F),D=p.getterFor(M),B=i("fetch"),N=i("Request"),U=i("Headers"),j=N&&N.prototype,H=U&&U.prototype,V=o.RegExp,K=o.TypeError,z=o.decodeURIComponent,W=o.encodeURIComponent,q=s("".charAt),Y=s([].join),X=s([].push),$=s("".replace),J=s([].shift),Z=s([].splice),Q=s("".split),ee=s("".slice),te=/\+/g,re=Array(4),ne=function(e){return re[e-1]||(re[e-1]=V("((?:%[\\da-f]{2}){"+e+"})","gi"))},oe=function(e){try{return z(e)}catch(t){return e}},ie=function(e){var t=$(e,te," "),r=4;try{return z(t)}catch(n){while(r)t=$(t,ne(r--),oe);return t}},ae=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ue=function(e){return se[e]},ce=function(e){return $(W(e),ae,ue)},_e=d((function(e,t){k(this,{type:M,target:R(e).entries,index:0,kind:t})}),F,(function(){var e=D(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,x(void 0,!0);var n=t[r];switch(e.kind){case"keys":return x(n.key,!1);case"values":return x(n.value,!1)}return x([n.key,n.value],!1)}),!0),le=function(e){this.entries=[],this.url=null,void 0!==e&&(G(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===q(e,0)?ee(e,1):e:b(e)))};le.prototype={type:F,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,s,u,c=this.entries,_=A(e);if(_){t=P(e,_),r=t.next;while(!(n=a(r,t)).done){if(o=P(w(n.value)),i=o.next,(s=a(i,o)).done||(u=a(i,o)).done||!a(i,o).done)throw new K("Expected sequence with length 2");X(c,{key:b(s.value),value:b(u.value)})}}else for(var l in e)m(e,l)&&X(c,{key:l,value:b(e[l])})},parseQuery:function(e){if(e){var t,r,n=this.entries,o=Q(e,"&"),i=0;while(i<o.length)t=o[i++],t.length&&(r=Q(t,"="),X(n,{key:ie(J(r)),value:ie(Y(r,"="))}))}},serialize:function(){var e,t=this.entries,r=[],n=0;while(n<t.length)e=t[n++],X(r,ce(e.key)+"="+ce(e.value));return Y(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){S(this,he);var e=arguments.length>0?arguments[0]:void 0,t=k(this,new le(e));u||(this.size=t.entries.length)},he=fe.prototype;if(f(he,{append:function(e,t){var r=R(this);C(arguments.length,2),X(r.entries,{key:b(e),value:b(t)}),u||this.length++,r.updateURL()},delete:function(e){var t=R(this),r=C(arguments.length,1),n=t.entries,o=b(e),i=r<2?void 0:arguments[1],a=void 0===i?i:b(i),s=0;while(s<n.length){var c=n[s];if(c.key!==o||void 0!==a&&c.value!==a)s++;else if(Z(n,s,1),void 0!==a)break}u||(this.size=n.length),t.updateURL()},get:function(e){var t=R(this).entries;C(arguments.length,1);for(var r=b(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=R(this).entries;C(arguments.length,1);for(var r=b(e),n=[],o=0;o<t.length;o++)t[o].key===r&&X(n,t[o].value);return n},has:function(e){var t=R(this).entries,r=C(arguments.length,1),n=b(e),o=r<2?void 0:arguments[1],i=void 0===o?o:b(o),a=0;while(a<t.length){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=R(this);C(arguments.length,1);for(var n,o=r.entries,i=!1,a=b(e),s=b(t),c=0;c<o.length;c++)n=o[c],n.key===a&&(i?Z(o,c--,1):(i=!0,n.value=s));i||X(o,{key:a,value:s}),u||(this.size=o.length),r.updateURL()},sort:function(){var e=R(this);L(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=R(this).entries,n=g(e,arguments.length>1?arguments[1]:void 0),o=0;while(o<r.length)t=r[o++],n(t.value,t.key,this)},keys:function(){return new _e(this,"keys")},values:function(){return new _e(this,"values")},entries:function(){return new _e(this,"entries")}},{enumerable:!0}),_(he,O,he.entries,{name:"entries"}),_(he,"toString",(function(){return R(this).serialize()}),{enumerable:!0}),u&&l(he,"size",{get:function(){return R(this).entries.length},configurable:!0,enumerable:!0}),h(fe,F),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:fe}),!c&&y(U)){var de=s(H.has),pe=s(H.set),Se=function(e){if(G(e)){var t,r=e.body;if(v(r)===F)return t=e.headers?new U(e.headers):new U,de(t,"content-type")||pe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(e,{body:T(0,b(r)),headers:T(0,t)})}return e};if(y(B)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return B(e,arguments.length>1?Se(arguments[1]):{})}}),y(N)){var ye=function(e){return S(this,j),new N(e,arguments.length>1?Se(arguments[1]):{})};j.constructor=ye,ye.prototype=j,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:fe,getState:R}},4603:function(e,t,r){"use strict";var n=r(6840),o=r(9504),i=r(655),a=r(2812),s=URLSearchParams,u=s.prototype,c=o(u.append),_=o(u["delete"]),l=o(u.forEach),f=o([].push),h=new s("a=1&a=2&b=3");h["delete"]("a",1),h["delete"]("b",void 0),h+""!=="a=2"&&n(u,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return _(this,e);var n=[];l(this,(function(e,t){f(n,{key:t,value:e})})),a(t,1);var o,s=i(e),u=i(r),h=0,d=0,p=!1,S=n.length;while(h<S)o=n[h++],p||o.key===s?(p=!0,_(this,o.key)):d++;while(d<S)o=n[d++],o.key===s&&o.value===u||c(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},7566:function(e,t,r){"use strict";var n=r(6840),o=r(9504),i=r(655),a=r(2812),s=URLSearchParams,u=s.prototype,c=o(u.getAll),_=o(u.has),l=new s("a=1");!l.has("a",2)&&l.has("a",void 0)||n(u,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return _(this,e);var n=c(this,e);a(t,1);var o=i(r),s=0;while(s<n.length)if(n[s++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},8408:function(e,t,r){"use strict";r(8406)},8721:function(e,t,r){"use strict";var n=r(3724),o=r(9504),i=r(2106),a=URLSearchParams.prototype,s=o(a.forEach);n&&!("size"in a)&&i(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},5806:function(e,t,r){"use strict";r(7764);var n,o=r(6518),i=r(3724),a=r(7416),s=r(4475),u=r(6080),c=r(9504),_=r(6840),l=r(2106),f=r(679),h=r(9297),d=r(4213),p=r(7916),S=r(7680),y=r(8183).codeAt,m=r(6098),g=r(655),v=r(687),w=r(2812),G=r(8406),b=r(1181),E=b.set,T=b.getterFor("URL"),P=G.URLSearchParams,A=G.getState,x=s.URL,C=s.TypeError,I=s.parseInt,L=Math.floor,O=Math.pow,F=c("".charAt),M=c(/./.exec),k=c([].join),R=c(1..toString),D=c([].pop),B=c([].push),N=c("".replace),U=c([].shift),j=c("".split),H=c("".slice),V=c("".toLowerCase),K=c([].unshift),z="Invalid authority",W="Invalid scheme",q="Invalid host",Y="Invalid port",X=/[a-z]/i,$=/[\d+-.a-z]/i,J=/\d/,Z=/^0x/i,Q=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,oe=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ae=/[\t\n\r]/g,se=function(e){var t,r,n,o,i,a,s,u=j(e,".");if(u.length&&""===u[u.length-1]&&u.length--,t=u.length,t>4)return e;for(r=[],n=0;n<t;n++){if(o=u[n],""===o)return e;if(i=10,o.length>1&&"0"===F(o,0)&&(i=M(Z,o)?16:8,o=H(o,8===i?1:2)),""===o)a=0;else{if(!M(10===i?ee:8===i?Q:te,o))return e;a=I(o,i)}B(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=O(256,5-t))return null}else if(a>255)return null;for(s=D(r),n=0;n<r.length;n++)s+=r[n]*O(256,3-n);return s},ue=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,_=null,l=0,f=function(){return F(e,l)};if(":"===f()){if(":"!==F(e,1))return;l+=2,c++,_=c}while(f()){if(8===c)return;if(":"!==f()){t=r=0;while(r<4&&M(te,f()))t=16*t+I(f(),16),l++,r++;if("."===f()){if(0===r)return;if(l-=r,c>6)return;n=0;while(f()){if(o=null,n>0){if(!("."===f()&&n<4))return;l++}if(!M(J,f()))return;while(M(J,f())){if(i=I(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}u[c]=256*u[c]+o,n++,2!==n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(l++,!f())return}else if(f())return;u[c++]=t}else{if(null!==_)return;l++,c++,_=c}}if(null!==_){a=c-_,c=7;while(0!==c&&a>0)s=u[c],u[c--]=u[_+a-1],u[_+--a]=s}else if(8!==c)return;return u},ce=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t},_e=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)K(t,e%256),e=L(e/256);return k(t,".")}if("object"==typeof e){for(t="",n=ce(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=R(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},le={},fe=d({},le,{" ":1,'"':1,"<":1,">":1,"`":1}),he=d({},fe,{"#":1,"?":1,"{":1,"}":1}),de=d({},he,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pe=function(e,t){var r=y(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},Se={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ye=function(e,t){var r;return 2===e.length&&M(X,F(e,0))&&(":"===(r=F(e,1))||!t&&"|"===r)},me=function(e){var t;return e.length>1&&ye(H(e,0,2))&&(2===e.length||"/"===(t=F(e,2))||"\\"===t||"?"===t||"#"===t)},ge=function(e){return"."===e||"%2e"===V(e)},ve=function(e){return e=V(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},we={},Ge={},be={},Ee={},Te={},Pe={},Ae={},xe={},Ce={},Ie={},Le={},Oe={},Fe={},Me={},ke={},Re={},De={},Be={},Ne={},Ue={},je={},He=function(e,t,r){var n,o,i,a=g(e);if(t){if(o=this.parse(a),o)throw new C(o);this.searchParams=null}else{if(void 0!==r&&(n=new He(r,!0)),o=this.parse(a,null,n),o)throw new C(o);i=A(new P),i.bindURL(this),this.searchParams=i}};He.prototype={type:"URL",parse:function(e,t,r){var o,i,a,s,u=this,c=t||we,_=0,l="",f=!1,d=!1,y=!1;e=g(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=N(e,oe,""),e=N(e,ie,"$1")),e=N(e,ae,""),o=p(e);while(_<=o.length){switch(i=o[_],c){case we:if(!i||!M(X,i)){if(t)return W;c=be;continue}l+=V(i),c=Ge;break;case Ge:if(i&&(M($,i)||"+"===i||"-"===i||"."===i))l+=V(i);else{if(":"!==i){if(t)return W;l="",c=be,_=0;continue}if(t&&(u.isSpecial()!==h(Se,l)||"file"===l&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=l,t)return void(u.isSpecial()&&Se[u.scheme]===u.port&&(u.port=null));l="","file"===u.scheme?c=Me:u.isSpecial()&&r&&r.scheme===u.scheme?c=Ee:u.isSpecial()?c=xe:"/"===o[_+1]?(c=Te,_++):(u.cannotBeABaseURL=!0,B(u.path,""),c=Ne)}break;case be:if(!r||r.cannotBeABaseURL&&"#"!==i)return W;if(r.cannotBeABaseURL&&"#"===i){u.scheme=r.scheme,u.path=S(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=je;break}c="file"===r.scheme?Me:Pe;continue;case Ee:if("/"!==i||"/"!==o[_+1]){c=Pe;continue}c=Ce,_++;break;case Te:if("/"===i){c=Ie;break}c=Be;continue;case Pe:if(u.scheme=r.scheme,i===n)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=S(r.path),u.query=r.query;else if("/"===i||"\\"===i&&u.isSpecial())c=Ae;else if("?"===i)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=S(r.path),u.query="",c=Ue;else{if("#"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=S(r.path),u.path.length--,c=Be;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=S(r.path),u.query=r.query,u.fragment="",c=je}break;case Ae:if(!u.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=Be;continue}c=Ie}else c=Ce;break;case xe:if(c=Ce,"/"!==i||"/"!==F(l,_+1))continue;_++;break;case Ce:if("/"!==i&&"\\"!==i){c=Ie;continue}break;case Ie:if("@"===i){f&&(l="%40"+l),f=!0,a=p(l);for(var m=0;m<a.length;m++){var v=a[m];if(":"!==v||y){var w=pe(v,de);y?u.password+=w:u.username+=w}else y=!0}l=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(f&&""===l)return z;_-=p(l).length+1,l="",c=Le}else l+=i;break;case Le:case Oe:if(t&&"file"===u.scheme){c=Re;continue}if(":"!==i||d){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(u.isSpecial()&&""===l)return q;if(t&&""===l&&(u.includesCredentials()||null!==u.port))return;if(s=u.parseHost(l),s)return s;if(l="",c=De,t)return;continue}"["===i?d=!0:"]"===i&&(d=!1),l+=i}else{if(""===l)return q;if(s=u.parseHost(l),s)return s;if(l="",c=Fe,t===Oe)return}break;case Fe:if(!M(J,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()||t){if(""!==l){var G=I(l,10);if(G>65535)return Y;u.port=u.isSpecial()&&G===Se[u.scheme]?null:G,l=""}if(t)return;c=De;continue}return Y}l+=i;break;case Me:if(u.scheme="file","/"===i||"\\"===i)c=ke;else{if(!r||"file"!==r.scheme){c=Be;continue}switch(i){case n:u.host=r.host,u.path=S(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=S(r.path),u.query="",c=Ue;break;case"#":u.host=r.host,u.path=S(r.path),u.query=r.query,u.fragment="",c=je;break;default:me(k(S(o,_),""))||(u.host=r.host,u.path=S(r.path),u.shortenPath()),c=Be;continue}}break;case ke:if("/"===i||"\\"===i){c=Re;break}r&&"file"===r.scheme&&!me(k(S(o,_),""))&&(ye(r.path[0],!0)?B(u.path,r.path[0]):u.host=r.host),c=Be;continue;case Re:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&ye(l))c=Be;else if(""===l){if(u.host="",t)return;c=De}else{if(s=u.parseHost(l),s)return s;if("localhost"===u.host&&(u.host=""),t)return;l="",c=De}continue}l+=i;break;case De:if(u.isSpecial()){if(c=Be,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==n&&(c=Be,"/"!==i))continue}else u.fragment="",c=je;else u.query="",c=Ue;break;case Be:if(i===n||"/"===i||"\\"===i&&u.isSpecial()||!t&&("?"===i||"#"===i)){if(ve(l)?(u.shortenPath(),"/"===i||"\\"===i&&u.isSpecial()||B(u.path,"")):ge(l)?"/"===i||"\\"===i&&u.isSpecial()||B(u.path,""):("file"===u.scheme&&!u.path.length&&ye(l)&&(u.host&&(u.host=""),l=F(l,0)+":"),B(u.path,l)),l="","file"===u.scheme&&(i===n||"?"===i||"#"===i))while(u.path.length>1&&""===u.path[0])U(u.path);"?"===i?(u.query="",c=Ue):"#"===i&&(u.fragment="",c=je)}else l+=pe(i,he);break;case Ne:"?"===i?(u.query="",c=Ue):"#"===i?(u.fragment="",c=je):i!==n&&(u.path[0]+=pe(i,le));break;case Ue:t||"#"!==i?i!==n&&("'"===i&&u.isSpecial()?u.query+="%27":u.query+="#"===i?"%23":pe(i,le)):(u.fragment="",c=je);break;case je:i!==n&&(u.fragment+=pe(i,fe));break}_++}},parseHost:function(e){var t,r,n;if("["===F(e,0)){if("]"!==F(e,e.length-1))return q;if(t=ue(H(e,1,-1)),!t)return q;this.host=t}else if(this.isSpecial()){if(e=m(e),M(re,e))return q;if(t=se(e),null===t)return q;this.host=t}else{if(M(ne,e))return q;for(t="",r=p(e),n=0;n<r.length;n++)t+=pe(r[n],le);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(Se,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&ye(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=_e(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+k(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new C(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ve(e.path[0]).origin}catch(r){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+_e(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",we)},getUsername:function(){return this.username},setUsername:function(e){var t=p(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=pe(t[r],de)}},getPassword:function(){return this.password},setPassword:function(e){var t=p(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=pe(t[r],de)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?_e(e):_e(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Le)},getHostname:function(){var e=this.host;return null===e?"":_e(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getPort:function(){var e=this.port;return null===e?"":g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=g(e),""===e?this.port=null:this.parse(e,Fe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+k(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,De))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){e=g(e),""===e?this.query=null:("?"===F(e,0)&&(e=H(e,1)),this.query="",this.parse(e,Ue)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){e=g(e),""!==e?("#"===F(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,je)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ve=function(e){var t=f(this,Ke),r=w(arguments.length,1)>1?arguments[1]:void 0,n=E(t,new He(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ke=Ve.prototype,ze=function(e,t){return{get:function(){return T(this)[e]()},set:t&&function(e){return T(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(l(Ke,"href",ze("serialize","setHref")),l(Ke,"origin",ze("getOrigin")),l(Ke,"protocol",ze("getProtocol","setProtocol")),l(Ke,"username",ze("getUsername","setUsername")),l(Ke,"password",ze("getPassword","setPassword")),l(Ke,"host",ze("getHost","setHost")),l(Ke,"hostname",ze("getHostname","setHostname")),l(Ke,"port",ze("getPort","setPort")),l(Ke,"pathname",ze("getPathname","setPathname")),l(Ke,"search",ze("getSearch","setSearch")),l(Ke,"searchParams",ze("getSearchParams")),l(Ke,"hash",ze("getHash","setHash"))),_(Ke,"toJSON",(function(){return T(this).serialize()}),{enumerable:!0}),_(Ke,"toString",(function(){return T(this).serialize()}),{enumerable:!0}),x){var We=x.createObjectURL,qe=x.revokeObjectURL;We&&_(Ve,"createObjectURL",u(We,x)),qe&&_(Ve,"revokeObjectURL",u(qe,x))}v(Ve,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Ve})},3296:function(e,t,r){"use strict";r(5806)},7208:function(e,t,r){"use strict";var n=r(6518),o=r(9565);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}!function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){r.p=""}();var n={};return function(){"use strict";if("undefined"!==typeof window){var e=window.document.currentScript,t=r(2579);e=t(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:t});var n=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(r.p=n[1])}r(8706),r(3792),r(4114),r(4743),r(1745),r(6573),r(8100),r(7936),r(2010),r(9432),r(6099),r(3362),r(7495),r(5440),r(4594),r(9833),r(6594),r(5477),r(1489),r(8140),r(1630),r(2170),r(5044),r(1920),r(1694),r(9955),r(1903),r(1134),r(3206),r(4496),r(6651),r(2887),r(9369),r(6812),r(8995),r(1575),r(6072),r(8747),r(8845),r(9423),r(7301),r(373),r(6614),r(1405),r(7467),r(4732),r(3684),r(9577),r(3500),r(3611),r(2675),r(9463),r(2259),r(7764),r(2953);r(6412),r(6280),r(4782),r(9085),r(3851),r(3548),r(287),r(5472);function o(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{u(n.next(e))}catch(t){i(t)}}function s(e){try{u(n["throw"](e))}catch(t){i(t)}}function u(e){e.done?r(e.value):o(e.value).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function i(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(a=0)),a)try{if(r=1,n&&(o=2&s[0]?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}Object.create;function a(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=i.next()).done)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a}function s(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var u,c={};function _(e){return new Promise((function(t){if(c[e]&&(c[e].close(),c[e]=null,u=null),c[e])t();else{var r=indexedDB.open(e,22);r.onupgradeneeded=function(t){c[e]=t.target.result,c[e].objectStoreNames.contains("FILE_DATA")||(u=c[e].createObjectStore("FILE_DATA",{autoIncrement:!0}))},r.onsuccess=function(r){if(c[e]&&u)t();else if(c[e]=r.target.result,c[e].objectStoreNames.contains("FILE_DATA")){var n=c[e].transaction(["FILE_DATA"],"readwrite");u=n.objectStore("FILE_DATA"),t()}else u=c[e].createObjectStore("FILE_DATA",{autoIncrement:!0}),t()},r.onerror=function(e){console.error("创建idb报错:",e)}}}))}function l(e,t){return new Promise((function(r){try{if(c[e]){var n=c[e].transaction(["FILE_DATA"],"readonly"),o=n.objectStore("FILE_DATA"),i=o.get(t);i.onsuccess=function(e){r(e.target.result)},i.onerror=function(e){console.error("获取idb数据报错:",e),r(!1)}}else _(e).then((function(){var n=c[e].transaction(["FILE_DATA"],"readonly"),o=n.objectStore("FILE_DATA"),i=o.get(t);i.onsuccess=function(e){r(e.target.result)},i.onerror=function(e){console.error("获取idb数据报错:",e),r(!1)}}))}catch(a){console.error("idb报错:",a)}}))}function f(e,t,r){return new Promise((function(n,o){if(c[e]){var i=c[e].transaction(["FILE_DATA"],"readwrite"),a=i.objectStore("FILE_DATA"),s=a.put(r,t);s.onsuccess=function(e){n(e.target.result)},s.onerror=function(e){console.error("获取idb数据报错:",e),n(!1)}}else _(e).then((function(){var o=c[e].transaction(["FILE_DATA"],"readwrite"),i=o.objectStore("FILE_DATA"),a=i.put(r,t);a.onsuccess=function(e){n(e.target.result)},a.onerror=function(e){console.error("获取idb数据报错:",e),n(!1)}}))}))}r(3296),r(7208),r(8408),r(4603),r(7566),r(8721),r(4554),r(2892);var h,d,p=function(){function e(){this.items={},this.len=0}return e.prototype.add=function(e,t){e in this.items?this.items[e]=t:(this.items[e]=t,this.len++)},e.prototype.addRange=function(e){for(var t in e)this.add(t,e[t])},e.prototype.remove=function(e){return e in this.items&&(delete this.items[e],this.len--,!0)},e.prototype.clear=function(){this.items={},this.len=0},e.prototype.has=function(e){return e in this.items},e.prototype.get=function(e){var t=this.items[e];return t||null},Object.defineProperty(e.prototype,"count",{get:function(){return this.len},enumerable:!1,configurable:!0}),e.prototype.forEach=function(e){for(var t in this.items){var r=e(t,this.items[t]);if(!1===r)return}},e}(),S=(function(){function e(){this.typeName="NumberKeyList",this.items={},this.len=0}e.prototype.add=function(e,t){e in this.items?this.items[e]=t:(this.items[e]=t,this.len++)},e.prototype.addRange=function(e){for(var t in e)this.add(parseInt(t),e[t])},e.prototype.remove=function(e){return e in this.items&&(delete this.items[e],this.len--,!0)},e.prototype.clear=function(){this.items={},this.len=0},e.prototype.has=function(e){return e in this.items},e.prototype.get=function(e){var t=this.items[e];return t||null},Object.defineProperty(e.prototype,"first",{get:function(){var e=null;for(var t in this.items){e=this.items[t];break}return e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this.len},enumerable:!1,configurable:!0}),e.prototype.forEach=function(e){for(var t in this.items){var r=e(Number(t),this.items[t]);if(!1===r)return}}}(),function(){function e(){this.typeName="NumberSortedList",this.inOrder=!1,this.items=new Array}return Object.defineProperty(e.prototype,"count",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),e.prototype.indexOf=function(e){for(var t=0;t<this.items.length;t++)if(this.items[t][1]==e)return t;return-1},e.prototype.indexOfKey=function(e){var t=0,r=this.items.length-1;while(t<=r){var n=Math.floor((t+r)/2);if(e===this.items[n][0])return n;e>this.items[n][0]?t=n+1:r=n-1}return-1},e.prototype.add=function(e,t){var r=this.items.length-1,n=0,o=r;if(0!=this.items.length)if(e<this.items[0][0])this.items.unshift([e,t]);else if(e>=this.items[r][0])this.items.push([e,t]);else{var i=-1;while(n<o){var a=Math.floor((n+o)/2);if(a>0&&e<=this.items[a][0]&&e>=this.items[a-1][0]){i=a;break}if(a<r&&e>=this.items[a][0]&&e<=this.items[a+1][0]){i=a+1;break}e>this.items[a][0]?n=a+1:o=a-1}if(i>=0){if(this.inOrder)for(var s=i;s<this.items.length;s++){if(this.items[s][0]!=e)break;i=s+1}this.items.splice(i,0,[e,t])}}else this.items.push([e,t])},e.prototype.removeAt=function(e){return e>=0&&e<this.items.length&&(this.items.splice(e,1),!0)},e.prototype.remove=function(e){var t=this.indexOfKey(e);this.removeAt(t)},e.prototype.keyByIndex=function(e){return e>=0&&e<this.items.length?this.items[e][0]:-1},e.prototype.valueByIndex=function(e){return e>=0&&e<this.items.length?this.items[e][1]:null},e.prototype.clear=function(){this.items=new Array},e.prototype.forEach=function(e){for(var t=this.items.length,r=0;r<t;r++){var n=e(this.items[r][1]);if(!1===n)return}},e}()),y=function(){function e(e){this.typeName="List",this.items=e?new Array(e):[]}return Object.defineProperty(e.prototype,"count",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),e.prototype.indexOf=function(e){return this.items.indexOf(e)},e.prototype.lastIndexOf=function(e){return this.items.lastIndexOf(e)},e.prototype.add=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];(e=this.items).push.apply(e,s([],a(t),!1))},e.prototype.insert=function(e,t){0==e?this.items.unshift(t):this.items.splice(e,0,t)},e.prototype.addRange=function(e){this.items=this.items.concat(e.items)},e.prototype.remove=function(e){for(var t=this.items.length,r=0;r<t;r++)if(this.items[r]==e)return this.items.splice(r,1),!0;return!1},e.prototype.removeAt=function(e){return e>=0&&e<this.items.length&&(this.items.splice(e,1),!0)},e.prototype.removeRange=function(e,t){return e>=0&&e<this.items.length&&(this.items.splice(e,t),!0)},e.prototype.clear=function(){this.items=[]},e.prototype.get=function(e){var t=this.items[e];return void 0!=t?t:null},e.prototype.contains=function(e){return this.items.indexOf(e)>=0},e.prototype.forEach=function(e){for(var t=this.items.length,r=0;r<t;r++){var n=e(this.items[r],r);if(!1===n)return}},e.prototype.reverseForEach=function(e){for(var t=this.items.length,r=t-1;r>=0;r--){var n=e(this.items[r],r);if(!1===n)return}},e}(),m=(function(){function e(e){this.typeName="Stack",this.index=-1,this.items=e?new Array(e):[]}Object.defineProperty(e.prototype,"count",{get:function(){return this.index+1},enumerable:!1,configurable:!0}),e.prototype.push=function(e){this.items[++this.index]=e},e.prototype.add=function(e){this.items[++this.index]=e},e.prototype.pop=function(){return this.index>=0?this.items[this.index--]:null},e.prototype.peek=function(){return this.index>=0?this.items[this.index]:null},e.prototype.peekDirect=function(){return this.items[this.index]},e.prototype.peekPrev=function(){return this.index>0?this.items[this.index-1]:null},e.prototype.get=function(e){var t=this.items[e];return void 0!=t?t:null},e.prototype.forEach=function(e){for(var t=this.items.length,r=0;r<t;r++){var n=e(this.items[r]);if(!1===n)return}}}(),r(8598),function(){function e(t){this._resolve=null,this._reject=null,this._nullResolve=function(e){},this._nullReject=function(e){},this._event=null,this._resultValue=null,this._resultReason=null,this._resolved=!1,this._rejected=!1,this.allResolveNotify=null,this.allRejectNotify=null,this.joinList=[],t&&(this._event=t),e.promises.add(this)}return Object.defineProperty(e.prototype,"resolved",{get:function(){return this._resolved},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rejected",{get:function(){return this._rejected},enumerable:!1,configurable:!0}),e.prototype.then=function(e){return this._resolve=e,this},e.prototype.catch=function(e){return this._reject=e,this},e.prototype.resolve=function(e){this.allResolveNotify?this.allResolveNotify(e):(this._resultValue=e,this._resolved=!0)},e.prototype.reject=function(e){this.allRejectNotify?this.allRejectNotify(e):(this._resultReason=e,this._rejected=!0)},e.prototype.join=function(e){this.joinList.push(e)},e.prototype._execute=function(){var e=this;if(this._event&&(this._event((function(t){e.resolve(t)}),(function(t){e.reject(t)})),this._event=null),this._resolved){if(this._resolve&&this._resolve(this._resultValue),this.joinList)for(var t=0;t<this.joinList.length;t++){var r=this.joinList[t];r._resolve&&r._resolve(this._resultValue)}return!0}if(this._rejected){if(this._reject&&this._reject(this._resultReason),this.joinList)for(t=0;t<this.joinList.length;t++){r=this.joinList[t];r._reject&&r._reject(this._resultReason)}return!0}return!1},e.all=function(t){var r=new e,n=0,o=0,i=new Array(t.length),a=new Array(t.length);return t.forEach((function(e){e["allResolveNotify"]=function(s){var u=t.indexOf(e);i[u]=s,n++,n==t.length?(r._resultValue=i,r._resolved=!0):n+o==t.length&&(r._resultReason=a,r._rejected=!0)},e._resolved&&e["allResolveNotify"](e._resultValue),e["allRejectNotify"]=function(i){var s=t.indexOf(e);a[s]=i,o++,o!=t.length&&n+o!=t.length||(r._resultReason=a,r._rejected=!0)},e._rejected&&e["allRejectNotify"](e._resultReason)})),r},e.processPromises=function(t){if(e.promises.count>0)if(t)for(var r=0,n=e.promises.items,o=0;o<n.length;o++){var i=n[o];if(i["allResolveNotify"])n.splice(o,1),o--;else if(i._execute()&&(n.splice(o,1),o--,r++),r==t)break}else for(n=e.promises.items,o=0;o<n.length;o++){i=n[o];(i["allResolveNotify"]||i._execute())&&(n.splice(o,1),o--)}},e.promises=new y,e}()),g={ModelUrls:{sourceUrl:"",model:"",system:"",headers:{}}},v=g;(function(e){e[e["Idle"]=0]="Idle",e[e["Busy"]=1]="Busy"})(h||(h={})),function(e){e[e["None"]=0]="None",e[e["Initialize"]=1]="Initialize",e[e["GetJson"]=2]="GetJson",e[e["GetGSZ"]=3]="GetGSZ",e[e["GetGSM"]=4]="GetGSM",e[e["GetImage"]=5]="GetImage",e[e["ComputeHLODLevels"]=6]="ComputeHLODLevels",e[e["GetBTZ"]=7]="GetBTZ",e[e["GetFile"]=8]="GetFile",e[e["GetURLImage"]=9]="GetURLImage",e[e["GetOsgbGSM"]=10]="GetOsgbGSM",e[e["GetImageArrayBuffer"]=11]="GetImageArrayBuffer",e[e["Decompression"]=12]="Decompression",e[e["ComputeSphericalPolynomial"]=20]="ComputeSphericalPolynomial",e[e["ComputeOneSphericalHarmonics"]=21]="ComputeOneSphericalHarmonics",e[e["ComputeCollision"]=13]="ComputeCollision",e[e["ComputeCollisionByTriangles"]=14]="ComputeCollisionByTriangles",e[e["ComputeInstancesCulling"]=15]="ComputeInstancesCulling"}(d||(d={}));var w,G=function(){function e(e,t){this.type=e,this.data=t}return e}();(function(){function e(e){void 0===e&&(e=8);var t=this;this.workers=new y,this.tasks=new S,this.workerNoCounter=1,this.workerCount=8,this.workerInitializePromises=[],this.tasks.inOrder=!0,this.workerCount=e;for(var r=0;r<this.workerCount;r++){var n=new Promise((function(e){var r,n=v.ModelUrls.sourceUrl;n?-1===n.indexOf("http")&&(n=window.location.protocol+"//"+window.location.host+"/"+v.ModelUrls.sourceUrl):n=window.location.protocol+"//"+window.location.host;var o=new Blob(['importScripts("'.concat(n,'/js/BimAirWorker.umd.min.js")')],{type:"application/javascript"}),i=window.URL.createObjectURL(o);r=new Worker(i),r["no"]=t.workerNoCounter++,r["state"]=h.Idle,t.workers.add(r),r.onmessage=function(n){if(n.data.type===d.Initialize)e(null);else{var o=r["promise"];o&&(n&&n.data&&n.data.succeeded?o.resolve(new G(n.data.type,n.data.result)):o.reject(n.data.error))}if(r["state"]=h.Idle,r["promise"]=null,t.tasks.count>0){var i=t.tasks.items[0][1];t.tasks.removeAt(0),r["state"]=h.Busy,r["promise"]=i.promise,i.transfer?r.postMessage({cmd:i.type,params:i.params},i.transfer):r.postMessage({cmd:i.type,params:i.params})}},r.postMessage({cmd:d.Initialize,params:{no:r["no"],urls:{model:v.ModelUrls.model,system:v.ModelUrls.system,headers:v.ModelUrls.headers}}})}));this.workerInitializePromises.push(n)}}e.init=function(t){return void 0===t&&(t=8),this.instance=new e(t),Promise.all(this.instance.workerInitializePromises)},e.execute=function(t,r,n,o){void 0===n&&(n=0),this.instance||(this.instance=new e);var i=!1,a=new m;return this.instance.workers.forEach((function(e){if(e["state"]==h.Idle)return e["state"]=h.Busy,e["promise"]=a,o?e.postMessage({cmd:t,params:r},o):e.postMessage({cmd:t,params:r}),i=!0,!1})),i||this.instance.tasks.add(n,{type:t,params:r,transfer:o,promise:a}),a},e.dispose=function(){this.instance&&(console.log("workers dispose----------------"),this.instance.workers.forEach((function(e){e.terminate()})))},e.instance=null})(),r(3175);WebAssembly.instantiateStreaming||(WebAssembly.instantiateStreaming=function(e,t){return o(void 0,void 0,void 0,(function(){var r;return i(this,(function(n){switch(n.label){case 0:return[4,e];case 1:return[4,n.sent().arrayBuffer()];case 2:return r=n.sent(),[4,WebAssembly.instantiate(r,t)];case 3:return[2,n.sent()]}}))}))});var b,E,T=new Promise((function(e){w=e}));(function(e){e[e["None"]=0]="None",e[e["Intersect"]=1]="Intersect",e[e["Touch"]=2]="Touch",e[e["Contain"]=4]="Contain",e[e["Soft"]=8]="Soft"})(E||(E={}));var P=null,A=null,x=null,C=null,I=null,L=null,O=null,F=null,M=null,k=null,R=null,D=null,B=function(){P||(P=b._GS_Init_Database,A=b._GS_Fina_Database,x=function(e){var t=b.allocateUTF8(e),r=b._GS_Open_Segment(t);return b._free(t),r},b._GS_Open_Segment_By_Key,C=b._GS_Close_Segment,function(e){var t=b.allocateUTF8(e);b._GS_Delete_Segment(t),b._free(t)},b._GS_Delete_By_Key,function(e){var t=b._malloc(256);b._GS_Show_Segment_Name(e,t);var r=b.UTF8ToString(t);return b._free(t),r},function(e){var t=b._malloc(1024);b._GS_Show_Segment_Path(e,t);var r=b.UTF8ToString(t);return b._free(t),r},function(e){var t=b.allocateUTF8(e),r=b._GS_Segment_Exists(t);return b._free(t),!!r},function(e,t){var r=b.allocateUTF8(t);b._GS_Move_Key(e,r),b._free(r)},b._GS_Move_Key_By_Key,function(e){var t=b.allocateUTF8(e),r=b._GS_Rename_Segment(t);return b._free(t),r},function(e){var t=b._malloc(4),r=b._malloc(4);b._GS_Segment_To_Stream_By_Key(e,t,r);var n=b.HEAP32[t/4],o=b.HEAP32[r/4],i=new ArrayBuffer(o),a=new Uint8Array(i);return a.set(b.HEAP8.subarray(n,n+o)),i},function(e){var t=b._malloc(4),r=b._malloc(4);b._GS_Segment_To_Stream_With_Compression_By_Key(e,t,r);var n=b.HEAP32[t/4],o=b.HEAP32[r/4],i=new ArrayBuffer(o),a=new Uint8Array(i);return a.set(b.HEAP8.subarray(n,n+o)),i},I=function(e,t){var r=b._malloc(e.byteLength),n=new Int8Array(e);b.HEAP8.set(n,r);var o=_GS_Stream_To_Segment_By_Key(r,e.byteLength,t);return b._free(r),n=null,o},function(e,t,r){var n=b._malloc(e.byteLength),o=b.allocateUTF8(r),i=new Int8Array(e);b.HEAP8.set(i,n);var a=_GS_Stream_With_Compression_To_Segment_By_Key(n,e.byteLength,t,o);return b._free(n),b._free(o),i=null,a},L=function(e,t,r,n){if(t.length>0&&r.length>0){var o=b._malloc(4*t.length);b.HEAP32.set(t,o/4);var i=b._malloc(4*r.length);b.HEAP32.set(r,i/4);var a=b._GS_Compute_Collision_By_Keys(e,o,t.length,i,r.length,n);return b._free(o),b._free(i),a}return-1},function(){var e=b._malloc(4);b._GS_Show_Collision_Count(e);var t=b.HEAP32[e/4];return b._free(e),t},function(e){var t=b._malloc(4),r=b._malloc(4),n=b._malloc(4),o=b._malloc(4);b._GS_Show_Collision_Elements(e,t,r,n,o);var i=b.HEAP32[t/4],a=b.HEAP32[r/4],s=b.HEAP32[n/4],u=b.HEAP32[o/4];return b._free(t),b._free(r),b._free(n),b._free(o),new Int32Array([i,a,s,u])},function(e){var t=b._malloc(1024),r=b._malloc(1024);b._GS_Show_Collision_Paths(e,t,r);var n=b.UTF8ToString(t),o=b.UTF8ToString(r);return b._free(t),b._free(r),[n,o]},function(e){var t=b._malloc(4),r=b._malloc(2048),n=b._malloc(4),o=b._malloc(2048);b._GS_Show_Collision_Path_By_Keys(e,t,r,n,o);for(var i=b.HEAP32[t/4],a=new Int32Array(i),s=b.HEAP32[n/4],u=new Int32Array(s),c=0;c<i;c++)a[c]=b.HEAP32[r/4+c];for(c=0;c<s;c++)u[c]=b.HEAP32[o/4+c];return b._free(t),b._free(r),b._free(n),b._free(o),[a,u]},function(e){var t=b._malloc(24);b._GS_Show_Collision_Position(e,t);var r=new Float32Array(3);return r[0]=b.HEAPF32[t/4],r[1]=b.HEAPF32[t/4+1],r[2]=b.HEAPF32[t/4+2],b._free(t),r},function(e){var t=b._malloc(4);b._GS_Show_Collision_Type(e,t);var r=b.HEAP32[t/4];return b._free(t),r},O=function(e){var t=null,r=b._malloc(4),n=b._malloc(4),o=b._malloc(4),i=b._malloc(4),a=b._malloc(4),s=b._malloc(e.byteLength),u=new Int8Array(e);b.HEAP8.set(u,s),b._GS_Load_Image(s,e.byteLength,r,n,o,i,a);var c=b.HEAP32[r/4],_=b.HEAP32[n/4],l=b.HEAP32[o/4],f=b.HEAP32[i/4],h=b.HEAP32[a/4],d=_*l*f;return h?(t=new Float32Array(d),t.set(b.HEAPF32.subarray(c/4,c/4+d))):(t=new Uint8Array(d),t.set(b.HEAP8.subarray(c,c+d))),b._free(s),b._free(c),b._free(r),b._free(n),b._free(o),b._free(i),b._free(a),{width:_,height:l,channels:f,isHdr:h,data:t}},F=function(e){var t=null,r=b._malloc(4),n=b._malloc(4),o=b._malloc(e.byteLength),i=new Int8Array(e);b.HEAP8.set(i,o),b._GS_Decompress_Data(o,e.byteLength,r,n);var a=b.HEAP32[r/4],s=b.HEAP32[n/4];return t=new Uint8Array(s),t.set(b.HEAP8.subarray(a,a+s)),b._free(o),b._free(a),b._free(r),b._free(n),t},M=function(e,t,r,n,o,i,a,s,u,c){var _=b._malloc(o.byteLength);b.HEAP8.set(o,_);var l=b._malloc(i.byteLength);b.HEAP8.set(i,l);var f=b._malloc(a.byteLength);b.HEAP8.set(a,f);var h=b._malloc(s.byteLength);b.HEAP8.set(s,h);var d=b._malloc(u.byteLength);b.HEAP8.set(u,d);var p=b._malloc(c.byteLength);b.HEAP8.set(c,p);var S=b._malloc(216);b._GS_Compute_Spherical_Polynomial(e,t,r,n?1:0,_,l,f,h,d,p,S);var y=new Float64Array(27);return y.set(b.HEAPF64.subarray(S/8,S/8+27)),b._free(_),b._free(l),b._free(f),b._free(h),b._free(d),b._free(p),b._free(S),y},k=function(e,t,r,n,o,i){var a=b._malloc(o.byteLength);b.HEAP8.set(o,a);var s=b._malloc(72);b.HEAPF64.set(i,s/8);var u=b._malloc(216);b._GS_Compute_One_Spherical_Harmonics(e,t,r,n?1:0,a,s,u);var c=new Float64Array(27);return c.set(b.HEAPF64.subarray(u/8,u/8+27)),b._free(a),b._free(s),b._free(u),c},R=function(e,t,r,n,o,i,a,s,u,c){var _=null;if(t.length>=3&&n.length>=3){var l=b._malloc(4*e.length);b.HEAPF32.set(e,l/4);var f=b._malloc(4*r.length);b.HEAPF32.set(r,f/4);var h=b._malloc(4*t.length);b.HEAP32.set(t,h/4);var d=b._malloc(4*n.length);b.HEAP32.set(n,d/4);var p=0;i&&(p=b._malloc(64),b.HEAPF32.set(i,p/4));var S=0;a&&(S=b._malloc(64),b.HEAPF32.set(i,S/4));var y=b._malloc(4),m=b._malloc(12);if(b._GS_FLT_Compute_Collision_Triangles(l,h,t.length,f,d,n.length,o,p,S,s,u,c,y,m)){var g=new Float32Array(3);g[0]=b.HEAPF32[m/4],g[1]=b.HEAPF32[m/4+1],g[2]=b.HEAPF32[m/4+2],_={type:b.HEAP32[y/4],point:g}}b._free(l),b._free(f),b._free(h),b._free(d),p&&b._free(p),S&&b._free(S),b._free(y),b._free(m)}return _},D=function(e,t,r,n,o,i){var a=b._malloc(24);b.HEAPF32.set(e,a/4);var s=b._malloc(4*t.length);b.HEAPF32.set(t,s/4);var u=b._malloc(96);b.HEAPF32.set(r,u/4);var c=b._malloc(64);b.HEAPF32.set(n,c/4);var _=b._malloc(4),l=b._malloc(4);b._GS_Compute_Instances_Culling(a,s,t.length/16,u,c,o,i?1:0,_,l);var f=b.HEAP32[_/4],h=b.HEAP32[l/4],d=new Float32Array(16*h);return d.set(b.HEAPF32.subarray(f,f+16*h)),b._free(a),b._free(s),b._free(u),b._free(c),b._free(f),b._free(h),d})},N=0,U=function(){N=0};function j(e){for(var t=new ArrayBuffer(4),r=new DataView(t),n=0;n<4;n++)r.setUint8(n,e[N+n]);var o=r.getUint32(0,!0);return N+=4,o}var H=function(e,t){void 0===t&&(t=!0);var r=0;if(t)for(var n=N+4-1;n>=N;n--)r=(r<<8)+e[n];else for(n=N;n<N+4;n++)r=(r<<8)+e[n];return N+=4,r},V=function(e){var t=H(e),r=new TextDecoder,n=r.decode(e.subarray(N,N+t));return N+=t,n},K=function(e){var t=new ArrayBuffer(1),r=new DataView(t);return r.setUint8(0,e[N++]),!!r.getUint8(0)},z=function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=!0);var n=0;n=t?H(e,r)/4:H(e,r);var o=new Uint8Array(4*n);return o.set(e.subarray(N,N+4*n)),N+=4*n,new Float32Array(o.buffer)},W=function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=!0);var n=0;n=t?H(e,r)/4:H(e,r);var o=new Uint8Array(4*n);return o.set(e.subarray(N,N+4*n)),N+=4*n,new Int32Array(o.buffer)},q=function(e,t){void 0===t&&(t=!0);var r=H(e,t),n=new Uint8Array(r);return n.set(e.subarray(N,N+r)),N+=r,n},Y={get:function(e,t){return void 0===t&&(t=!1),new Promise((function(r,n){var o=new XMLHttpRequest;o.open("GET",e,!0),t&&(o.responseType="blob");var i=X.urls.headers();Object.keys(i).forEach((function(e){o.setRequestHeader(e,i[e])})),o.onload=function(){200==o.status?r({data:o.response}):n()},o.onerror=function(e){console.log("worker xhr error: ",e),n()},o.send()}))}},X={urls:{model:function(e){return""},system:function(){return""},headers:function(){return{}}},getImageResource:function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=!1),new Promise((function(o){if(t||(console.log("请求路径出错:","projectId:",e,"resourcePath:",t),o(null)),!1!==r&&e)l(e,t).then((function(r){if(r)o(r);else{var i="";i="LonganSystem"===e?X.urls.system()+t:(n?e.split("_")[0]:X.urls.model(e))+t,Y.get(i,!0).then((function(r){if(r&&r.data){var n=new FileReader;n.readAsArrayBuffer(r.data),n.onload=function(r){if(r.target["readyState"]==FileReader.DONE){var n=r.target["result"],i=O(n);o(i),f(e,t,i)}}}else o(null)}))}})).catch((function(e){console.error("idb获取数据出错:",e)}));else{var i="";i="LonganSystem"===e?X.urls.system()+t:!e&&t?t:(n?e.split("_")[0]:X.urls.model(e))+t,Y.get(i,!0).then((function(e){if(e&&e.data){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"],r=O(t);o(r)}}}}))}}))},getGSMResource:function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=!1),new Promise((function(o,i){if(e&&t||(console.log("请求路径出错:","projectId:",e,"resourcePath:",t),i(null)),r)l(e,t).then((function(r){if(r)o({data:r.buffer,isCompressed:!1});else{var a="";a="LonganSystem"===e?X.urls.system()+t:(n?e.split("_")[0]:X.urls.model(e))+t,Y.get(a,!0).then((function(e){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"];o({data:t,isCompressed:!0})}}})).catch((function(e){i("getGSMResource reject4"),console.error("获取"+t+"失败",e)}))}})).catch((function(e){i("getGSMResource reject5"),console.error("idb获取数据出错:",e)}));else{var a="";a="LonganSystem"===e?X.urls.system()+t:(n?e.split("_")[0]:X.urls.model(e))+t,Y.get(a,!0).then((function(e){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"];o({data:t,isCompressed:!0})}}})).catch((function(e){i("getGSMResource reject2"),console.error("获取"+t+"失败",e)}))}}))},decompression:function(e,t,r,n,o){return void 0===o&&(o=!0),new Promise((function(i,a){if(r){var s=F(n);i(s),o&&f(e,t,s)}else i(new Uint8Array(n))}))},getFileResource:function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=!1),new Promise((function(o){if(e&&t||(console.log("请求路径出错:","projectId:",e,"resourcePath:",t),o(null)),r)l(e,t).then((function(r){if(r)o(r);else{var i="";i="LonganSystem"===e?X.urls.system()+t:(n?e.split("_")[0]:X.urls.model(e))+t,Y.get(i,!0).then((function(r){if(r&&r.data){var n=new FileReader;n.readAsArrayBuffer(r.data),n.onload=function(r){if(r.target["readyState"]==FileReader.DONE){var n=r.target["result"];o(n),f(e,t,n)}}}else o(null)}))}})).catch((function(e){console.error("idb获取数据出错:",e)}));else{var i="";i="LonganSystem"===e?X.urls.system()+t:(n?e.split("_")[0]:X.urls.model(e))+t,Y.get(i,!0).then((function(e){if(e&&e.data){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"];o(t)}}}}))}}))},getOsgbGSM:function(e,t){return new Promise((function(r){e&&t||(console.log("请求路径出错:","uri",e,"relativePath",t),r(null));var n="".concat(e,"?relativePath=").concat(encodeURIComponent(t));Y.get(n,!0).then((function(e){if(e&&e.data){var t=new FileReader;t.readAsArrayBuffer(e.data),t.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"];r(t)}}}else r(null)}))}))}},$=!1;self.Module||(self.Module={}),self.Module.onRuntimeInitialized=function(){b=self["Module"],B(),P(),console.log("Worker Initialized"),$=!0},self.onmessage=function(e){if(e&&e.data)switch(e.data.cmd){case d.Initialize:var t=setInterval((function(){if($){w(b);var r=e.data.params;X.urls.model=function(e){return r.urls.model.replace("$modelId",e)},X.urls.system=function(){return r.urls.system},X.urls.headers=function(){return r.urls.headers},self.postMessage({succeeded:!0,type:d.Initialize,result:{}},null),clearInterval(t)}}),100);break;case d.GetImage:T.then((function(t){var r=e.data.params;X.getImageResource(r.projectId,r.resourcePath,r.isFromIDB,r.isFromLocal).then((function(e){self.postMessage({succeeded:!0,type:d.GetImage,result:{width:e.width,height:e.height,channels:e.channels,isHdr:e.isHdr,data:e.data}},null,[e.data])}))}));break;case d.GetURLImage:T.then((function(t){var r=new XMLHttpRequest;r.open("GET",e.data.params,!0),r.responseType="blob",r.onload=function(){if(200==r.status){var e=new FileReader;e.readAsArrayBuffer(r.response),e.onload=function(e){if(e.target["readyState"]==FileReader.DONE){var t=e.target["result"],r=O(t);self.postMessage({succeeded:!0,type:d.GetImage,result:{width:r.width,height:r.height,channels:r.channels,isHdr:r.isHdr,data:r.data}},null,[r.data])}}}},r.onerror=function(e){console.log("worker xhr error: ",e)},r.send()}));break;case d.GetImageArrayBuffer:T.then((function(t){var r=e.data.params,n=O(r);self.postMessage({succeeded:!0,type:d.GetImage,result:{width:n.width,height:n.height,channels:n.channels,isHdr:n.isHdr,data:n.data}},null,[n.data])}));break;case d.GetGSM:T.then((function(t){var r=e.data.params;X.getGSMResource(r.projectId,r.resourcePath,r.isFromIDB,r.isFromLocal).then((function(e){self.postMessage({succeeded:!0,type:d.GetGSM,result:{data:e}},null,[e.data])})).catch((function(e){self.postMessage({succeeded:!1,type:d.GetGSM,result:{data:"modelService getGSMResource reject"}},null),console.error("获取"+r.resourcePath+"失败",e)}))}));break;case d.Decompression:T.then((function(t){var r=e.data.params;X.decompression(r.projectId,r.resourcePath,r.isCompressed,r.data,r.isFromIDB).then((function(e){if(U(),"25.4.14.0"===r.modelVersion){var t=e[0];if(N+=1,t){j(e),V(e),V(e),W(e,!1);for(var n=H(e),o=new Array,i=0;i<n;i++){var u=V(e),c=H(e),_=H(e),l=H(e),f=H(e),h=H(e);o.push({name:u,slot:c,size:_,type:l,offset:f,stride:h})}H(e);var S=new Array,y=new p;for(i=0;i<o.length;i++){var m=z(e,!1);S.push(m);var g=o[i].name,v=g.indexOf("_");-1!==v&&(g=g.substring(v+1)),y.add(g,m)}var w=W(e,!1);self.postMessage({succeeded:!0,type:d.Decompression,result:{formats:o,vertexes:y.items,indexes:w}},null,s(s([],a(S),!1),[w],!1))}}else if("25.6.4.0"===r.modelVersion){for(V(e),W(e,!1),n=H(e),o=new Array,i=0;i<n;i++){u=V(e),c=H(e),_=H(e),l=H(e),f=H(e),h=H(e);o.push({name:u,slot:c,size:_,type:l,offset:f,stride:h})}H(e),S=new Array,y=new p;var G=!0;for(i=0;i<o.length;i++){g=o[i].name;var b=g.indexOf("_");if(-1!==b&&(g=g.substring(b+1)),g.indexOf("uv")>-1){G=!1;break}}for(i=0;i<o.length;i++){g=o[i].name,b=g.indexOf("_");if(-1!==b&&(g=g.substring(b+1)),"position"===g||"normal"===g||G){m=z(e);S.push(m),y.add(g,m)}else{var E=z(e),T=(v=0,new Array);while(v<E.length){var P=E[v];v++;var A=E[v];v++;for(var x=new Float32Array(A),C=0;C<A;C++){var I=E[v];v++,x[C]=I}var L=new Float32Array(P*A);for(C=0;C<P;C++)L.set(x,C*A);T.push(L)}for(var O=0,F=0;F<T.length;F++)O+=T[F].length;m=new Float32Array(O);for(var M=0,k=0;k<T.length;k++)m.set(T[k],M),M+=T[k].length;y.add(g,m)}}w=W(e);self.postMessage({succeeded:!0,type:d.Decompression,result:{formats:o,vertexes:y.items,indexes:w}},null,s(s([],a(S),!1),[w],!1))}else if("24.6.11.0"===r.modelVersion){for(V(e),W(e,!1),n=H(e),o=new Array,i=0;i<n;i++){u=V(e),c=H(e),_=H(e),l=H(e),f=H(e),h=H(e);o.push({name:u,slot:c,size:_,type:l,offset:f,stride:h})}for(H(e),S=new Array,y=new p,i=0;i<o.length;i++){m=z(e);S.push(m);g=o[i].name,v=g.indexOf("_");-1!==v&&(g=g.substring(v+1)),y.add(g,m)}w=W(e);self.postMessage({succeeded:!0,type:d.Decompression,result:{formats:o,vertexes:y.items,indexes:w}},null,s(s([],a(S),!1),[w],!1))}else console.error("model Version Error:",r.modelVersion)})).catch((function(e){console.log("获取"+r.resourcePath+"失败",e)}))}));break;case d.GetFile:T.then((function(t){var r=e.data.params;X.getFileResource(r.projectId,r.resourcePath,r.isFromIDB,r.isFromLocal).then((function(e){self.postMessage({succeeded:!0,type:d.GetFile,result:e},null,[e])}))}));break;case d.GetOsgbGSM:T.then((function(t){var r=e.data.params;X.getOsgbGSM(r.osgbId,r.relativePath).then((function(e){e||self.postMessage({succeeded:!1,type:d.GetOsgbGSM,result:null},null,[]);var t=F(e);U();V(t);for(var r=H(t),n=new Array,o=0;o<r;o++){var i=V(t),a=H(t),s=H(t),u=H(t),c=H(t),_=H(t);n.push({name:i,slot:a,size:s,type:u,offset:c,stride:_})}var l,f,h=z(t),p=W(t),S=K(t);S&&(V(t),H(t),H(t),l=q(t),f=O(l)),self.postMessage({succeeded:!0,type:d.GetOsgbGSM,result:{formats:n,vertexes:h,indexes:p,image:f}},null,[h,p,f])}))}));break;case d.ComputeSphericalPolynomial:T.then((function(t){var r=e.data.params;if(r.back instanceof Uint8Array){var n=M(r.size,r.format,r.type,r.gammaSpace,r.right,r.left,r.up,r.down,r.front,r.back);self.postMessage({succeeded:!0,type:d.ComputeSphericalPolynomial,result:{data:n}},null,[n])}}));break;case d.ComputeOneSphericalHarmonics:T.then((function(t){var r=e.data.params;if(r.face instanceof Uint8Array){var n=new Float64Array(9);n[0]=r.face_direct[0]._x,n[1]=r.face_direct[0]._y,n[2]=r.face_direct[0]._z,n[3]=r.face_direct[1]._x,n[4]=r.face_direct[1]._y,n[5]=r.face_direct[1]._z,n[6]=r.face_direct[2]._x,n[7]=r.face_direct[2]._y,n[8]=r.face_direct[2]._z;var o=k(r.size,r.format,r.type,r.gammaSpace?1:0,r.face,n);self.postMessage({succeeded:!0,type:d.ComputeOneSphericalHarmonics,result:{data:o}},null,[o])}}));break;case d.ComputeCollision:T.then((function(t){var r=e.data.params;B(),P();var n=x("/include library"),o=x("ro1");I(r.roStream1,o),C();var i=x("ro2");I(r.roStream2,i),C();L(n,new Int32Array([o]),new Int32Array([i]),E.Touch);C(),A()}));break;case d.ComputeCollisionByTriangles:T.then((function(t){var r=e.data.params,n=R(r.position1,r.indexes1,r.position2,r.indexes2,r.stride,r.mm1,r.mm2,r.type,r.tolerance,r.soft_distance);self.postMessage({succeeded:!0,type:d.ComputeCollisionByTriangles,result:{data:n}},null,n?[n.point]:void 0)}));break;case d.ComputeInstancesCulling:T.then((function(t){var r=e.data.params,n=D(r.templateBB,r.instancesMM,r.frustumPlanes,r.projectionViewMatrix,r.cullingExtent,r.approximate);self.postMessage({succeeded:!0,type:d.ComputeInstancesCulling,result:{data:n,instancesMM:r.instancesMM}},null,n?[n,r.instancesMM]:void 0)}));break}}}(),n=n["default"],n}()}));
|