@vinay.kumar.ha/videosdk-ui-toolkit 2.3.5-1.4 → 2.3.5-1.6

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.
Files changed (72) hide show
  1. package/dist/favicon.ico +0 -0
  2. package/dist/image/SanFrancisco.jpg +0 -0
  3. package/dist/image/Zoom_Logo_Bloom_RGB.png +0 -0
  4. package/dist/image/av/android/android-permission-1.png +0 -0
  5. package/dist/image/av/android/android-permission-2.png +0 -0
  6. package/dist/image/av/android/android-permission-3.jpg +0 -0
  7. package/dist/image/av/android/android-permission-3.png +0 -0
  8. package/dist/image/av/android/android-permission-ask.png +0 -0
  9. package/dist/image/av/chrome-operation.jpg +0 -0
  10. package/dist/image/av/ios/ios-permission-ask.png +0 -0
  11. package/dist/image/av/safari-operation1.png +0 -0
  12. package/dist/image/av/safari-operation2.png +0 -0
  13. package/dist/image/av/share_disallow_image_1.png +0 -0
  14. package/dist/image/av/share_disallow_image_2.png +0 -0
  15. package/dist/image/blur.png +0 -0
  16. package/dist/image/earth.jpg +0 -0
  17. package/dist/image/grass.jpg +0 -0
  18. package/dist/lib/annoter.min.js +3 -0
  19. package/dist/lib/audio.encode.wasm +0 -0
  20. package/dist/lib/audio.light.simd.wasm +0 -0
  21. package/dist/lib/audio.simd.wasm +0 -0
  22. package/dist/lib/audio_light_simd.min.js +2 -0
  23. package/dist/lib/audio_simd.min.js +2 -0
  24. package/dist/lib/graphics.min.js +2 -0
  25. package/dist/lib/js_audio_level_worklet_process.min.js +2 -0
  26. package/dist/lib/js_audio_level_worklet_process_light.min.js +2 -0
  27. package/dist/lib/js_audio_process.min.js +2 -0
  28. package/dist/lib/js_audio_processor_worklet.min.js +2 -0
  29. package/dist/lib/js_audio_worklet.min.js +2 -0
  30. package/dist/lib/js_audio_worklet_light_simd.min.js +2 -0
  31. package/dist/lib/js_audio_worklet_process.min.js +2 -0
  32. package/dist/lib/js_audio_worklet_simd.min.js +2 -0
  33. package/dist/lib/js_media.min.js +3 -0
  34. package/dist/lib/js_sharing_audio_worklet.min.js +2 -0
  35. package/dist/lib/manifest.json +338 -0
  36. package/dist/lib/mesh_thread.min.js +2 -0
  37. package/dist/lib/net.wasm +0 -0
  38. package/dist/lib/net_thread.min.js +2 -0
  39. package/dist/lib/pako.min.js +2 -0
  40. package/dist/lib/qrscanner.min.js +2 -0
  41. package/dist/lib/share_processor.min.js +2 -0
  42. package/dist/lib/sharing_m.min.js +3 -0
  43. package/dist/lib/sharing_mtsimd.min.js +3 -0
  44. package/dist/lib/sharing_s.min.js +2 -0
  45. package/dist/lib/sharing_simd.min.js +2 -0
  46. package/dist/lib/tp.min.js +2 -0
  47. package/dist/lib/tp.wasm +0 -0
  48. package/dist/lib/vb-resource/dualModel.bin +0 -0
  49. package/dist/lib/vb-resource/tf.min.js +18 -0
  50. package/dist/lib/vb.min.js +2 -0
  51. package/dist/lib/vb_worker.min.js +2 -0
  52. package/dist/lib/video.decode.js +1 -0
  53. package/dist/lib/video.decode.wasm +0 -0
  54. package/dist/lib/video.mt.js +1 -0
  55. package/dist/lib/video.mt.wasm +0 -0
  56. package/dist/lib/video.mtsimd.js +1 -0
  57. package/dist/lib/video.mtsimd.wasm +0 -0
  58. package/dist/lib/video.simd.js +1 -0
  59. package/dist/lib/video.simd.wasm +0 -0
  60. package/dist/lib/video_m.min.js +3 -0
  61. package/dist/lib/video_mtsimd.min.js +3 -0
  62. package/dist/lib/video_processor.min.js +2 -0
  63. package/dist/lib/video_s.min.js +2 -0
  64. package/dist/lib/video_share_mtsimd.min.js +3 -0
  65. package/dist/lib/video_simd.min.js +2 -0
  66. package/dist/lib/wasm_ssrc_stream_service_dynmod.min.js +2 -0
  67. package/dist/lib/webgpu_renderer_dynmod.min.js +2 -0
  68. package/dist/lib/wmsc.min.js +2 -0
  69. package/dist/videosdk-ui-toolkit.css +1 -0
  70. package/dist/videosdk-ui-toolkit.min.esm.js +141319 -0
  71. package/dist/videosdk-ui-toolkit.min.umd.js +629 -0
  72. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("ZoomTPModule",[],e):"object"==typeof exports?exports.ZoomTPModule=e():t.ZoomTPModule=e()}(self,(()=>(()=>{var t={5512:t=>{"use strict";t.exports=function(t,e,r,n){var s=self||window;try{try{var i;try{i=new s.Blob([t])}catch(e){(i=new(s.BlobBuilder||s.WebKitBlobBuilder||s.MozBlobBuilder||s.MSBlobBuilder)).append(t),i=i.getBlob()}var o=s.URL||s.webkitURL,a=o.createObjectURL(i),u=new s[e](a,r);return o.revokeObjectURL(a),u}catch(n){return new s[e]("data:application/javascript,".concat(encodeURIComponent(t)),r)}}catch(t){if(!n)throw Error("Inline worker is not supported");return new s[e](n,r)}}},6512:(t,e,r)=>{t.exports=r(8348)},6984:(t,e,r)=>{t.exports=r(9792)},2159:(t,e,r)=>{"use strict";var n=r(2250),s=r(4640),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not a function")}},43:(t,e,r)=>{"use strict";var n=r(4018),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+s(t)+" as a prototype")}},2156:t=>{"use strict";t.exports=function(){}},9596:(t,e,r)=>{"use strict";var n=r(8280),s=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new s("Incorrect invocation")}},6624:(t,e,r)=>{"use strict";var n=r(6285),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not an object")}},1229:(t,e,r)=>{"use strict";var n=r(8311),s=r(3930),i=r(9298),o=r(6818),a=r(7812),u=r(5468),c=r(575),l=r(5543),f=r(300),h=r(3448),p=Array;t.exports=function(t){var e=i(t),r=u(this),d=arguments.length,g=d>1?arguments[1]:void 0,v=void 0!==g;v&&(g=n(g,d>2?arguments[2]:void 0));var m,y,w,b,_,x,S=h(e),P=0;if(!S||this===p&&a(S))for(m=c(e),y=r?new this(m):p(m);m>P;P++)x=v?g(e[P],P):e[P],l(y,P,x);else for(y=r?new this:[],_=(b=f(e,S)).next;!(w=s(_,b)).done;P++)x=v?o(b,g,[w.value,P],!0):w.value,l(y,P,x);return y.length=P,y}},4436:(t,e,r)=>{"use strict";var n=r(7374),s=r(4849),i=r(575),o=function(t){return function(e,r,o){var a=n(e),u=i(a);if(0===u)return!t&&-1;var c,l=s(o,u);if(t&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((t||l in a)&&a[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},3427:(t,e,r)=>{"use strict";var n=r(1907);t.exports=n([].slice)},4321:(t,e,r)=>{"use strict";var n=r(3427),s=Math.floor,i=function(t,e){var r=t.length;if(r<8)for(var o,a,u=1;u<r;){for(a=u,o=t[u];a&&e(t[a-1],o)>0;)t[a]=t[--a];a!==u++&&(t[a]=o)}else for(var c=s(r/2),l=i(n(t,0,c),e),f=i(n(t,c),e),h=l.length,p=f.length,d=0,g=0;d<h||g<p;)t[d+g]=d<h&&g<p?e(l[d],f[g])<=0?l[d++]:f[g++]:d<h?l[d++]:f[g++];return t};t.exports=i},6818:(t,e,r)=>{"use strict";var n=r(6624),s=r(154);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){s(t,"throw",e)}}},5807:(t,e,r)=>{"use strict";var n=r(1907),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},3948:(t,e,r)=>{"use strict";var n=r(2623),s=r(2250),i=r(5807),o=r(6264)("toStringTag"),a=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),o))?r:u?i(e):"Object"===(n=i(e))&&s(e.callee)?"Arguments":n}},7382:(t,e,r)=>{"use strict";var n=r(8828);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},9550:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},1626:(t,e,r)=>{"use strict";var n=r(9447),s=r(4284),i=r(5817);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},5817:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5543:(t,e,r)=>{"use strict";var n=r(9447),s=r(4284),i=r(5817);t.exports=function(t,e,r){n?s.f(t,e,i(0,r)):t[e]=r}},9251:(t,e,r)=>{"use strict";var n=r(4284);t.exports=function(t,e,r){return n.f(t,e,r)}},8055:(t,e,r)=>{"use strict";var n=r(1626);t.exports=function(t,e,r,s){return s&&s.enumerable?t[e]=r:n(t,e,r),t}},2802:(t,e,r)=>{"use strict";var n=r(8055);t.exports=function(t,e,r){for(var s in e)r&&r.unsafe&&t[s]?t[s]=e[s]:n(t,s,e[s],r);return t}},2532:(t,e,r)=>{"use strict";var n=r(5951),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9447:(t,e,r)=>{"use strict";var n=r(8828);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9552:(t,e,r)=>{"use strict";var n=r(5951),s=r(6285),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},9287:t=>{"use strict";t.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}},376:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6794:(t,e,r)=>{"use strict";var n=r(5951).navigator,s=n&&n.userAgent;t.exports=s?String(s):""},798:(t,e,r)=>{"use strict";var n,s,i=r(5951),o=r(6794),a=i.process,u=i.Deno,c=a&&a.versions||u&&u.version,l=c&&c.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},1091:(t,e,r)=>{"use strict";var n=r(5951),s=r(6024),i=r(2361),o=r(2250),a=r(3846).f,u=r(7463),c=r(2046),l=r(8311),f=r(1626),h=r(9724);r(6128);var p=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,d,g,v,m,y,w,b,_=t.target,x=t.global,S=t.stat,P=t.proto,O=x?n:S?n[_]:n[_]&&n[_].prototype,k=x?c:c[_]||f(c,_,{})[_],L=k.prototype;for(g in e)s=!(r=u(x?g:_+(S?".":"#")+g,t.forced))&&O&&h(O,g),m=k[g],s&&(y=t.dontCallGetSet?(b=a(O,g))&&b.value:O[g]),v=s&&y?y:e[g],(r||P||typeof m!=typeof v)&&(w=t.bind&&s?l(v,n):t.wrap&&s?p(v):P&&o(v)?i(v):v,(t.sham||v&&v.sham||m&&m.sham)&&f(w,"sham",!0),f(k,g,w),P&&(h(c,d=_+"Prototype")||f(c,d,{}),f(c[d],g,v),t.real&&L&&(r||!L[g])&&f(L,g,v)))}},8828:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},6024:(t,e,r)=>{"use strict";var n=r(1505),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8311:(t,e,r)=>{"use strict";var n=r(2361),s=r(2159),i=r(1505),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},1505:(t,e,r)=>{"use strict";var n=r(8828);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},3930:(t,e,r)=>{"use strict";var n=r(1505),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},6833:(t,e,r)=>{"use strict";var n=r(9447),s=r(9724),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),u=a&&"something"===function(){}.name,c=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:c}},1871:(t,e,r)=>{"use strict";var n=r(1907),s=r(2159);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},2361:(t,e,r)=>{"use strict";var n=r(5807),s=r(1907);t.exports=function(t){if("Function"===n(t))return s(t)}},1907:(t,e,r)=>{"use strict";var n=r(1505),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},5582:(t,e,r)=>{"use strict";var n=r(2046),s=r(5951),i=r(2250),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},3448:(t,e,r)=>{"use strict";var n=r(3948),s=r(9367),i=r(7136),o=r(3742),a=r(6264)("iterator");t.exports=function(t){if(!i(t))return s(t,a)||s(t,"@@iterator")||o[n(t)]}},300:(t,e,r)=>{"use strict";var n=r(3930),s=r(2159),i=r(6624),o=r(4640),a=r(3448),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(s(r))return i(n(r,t));throw new u(o(t)+" is not iterable")}},9367:(t,e,r)=>{"use strict";var n=r(2159),s=r(7136);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},5951:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.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")()},9724:(t,e,r)=>{"use strict";var n=r(1907),s=r(9298),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},8530:t=>{"use strict";t.exports={}},2416:(t,e,r)=>{"use strict";var n=r(5582);t.exports=n("document","documentElement")},3648:(t,e,r)=>{"use strict";var n=r(9447),s=r(8828),i=r(9552);t.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6946:(t,e,r)=>{"use strict";var n=r(1907),s=r(8828),i=r(5807),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):o(t)}:o},2647:(t,e,r)=>{"use strict";var n=r(1907),s=r(2250),i=r(6128),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(t){return o(t)}),t.exports=i.inspectSource},4932:(t,e,r)=>{"use strict";var n,s,i,o=r(551),a=r(5951),u=r(6285),c=r(1626),l=r(9724),f=r(6128),h=r(2522),p=r(8530),d="Object already initialized",g=a.TypeError,v=a.WeakMap;if(o||f.state){var m=f.state||(f.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw new g(d);return e.facade=t,m.set(t,e),e},s=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var y=h("state");p[y]=!0,n=function(t,e){if(l(t,y))throw new g(d);return e.facade=t,c(t,y,e),e},s=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=s(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return r}}}},7812:(t,e,r)=>{"use strict";var n=r(6264),s=r(3742),i=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||o[i]===t)}},2250:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},5468:(t,e,r)=>{"use strict";var n=r(1907),s=r(8828),i=r(2250),o=r(3948),a=r(5582),u=r(2647),c=function(){},l=a("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=n(f.exec),p=!f.test(c),d=function(t){if(!i(t))return!1;try{return l(c,[],t),!0}catch(t){return!1}},g=function(t){if(!i(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(f,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!l||s((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?g:d},7463:(t,e,r)=>{"use strict";var n=r(8828),s=r(2250),i=/#|\.prototype\./,o=function(t,e){var r=u[a(t)];return r===l||r!==c&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},7136:t=>{"use strict";t.exports=function(t){return null==t}},6285:(t,e,r)=>{"use strict";var n=r(2250);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},4018:(t,e,r)=>{"use strict";var n=r(6285);t.exports=function(t){return n(t)||null===t}},7376:t=>{"use strict";t.exports=!0},5594:(t,e,r)=>{"use strict";var n=r(5582),s=r(2250),i=r(8280),o=r(1175),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},154:(t,e,r)=>{"use strict";var n=r(3930),s=r(6624),i=r(9367);t.exports=function(t,e,r){var o,a;s(t);try{if(!(o=i(t,"return"))){if("throw"===e)throw r;return r}o=n(o,t)}catch(t){a=!0,o=t}if("throw"===e)throw r;if(a)throw o;return s(o),r}},7181:(t,e,r)=>{"use strict";var n=r(5116).IteratorPrototype,s=r(8075),i=r(5817),o=r(4840),a=r(3742),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=s(n,{next:i(+!c,r)}),o(t,l,!1,!0),a[l]=u,t}},183:(t,e,r)=>{"use strict";var n=r(1091),s=r(3930),i=r(7376),o=r(6833),a=r(2250),u=r(7181),c=r(5972),l=r(9192),f=r(4840),h=r(1626),p=r(8055),d=r(6264),g=r(3742),v=r(5116),m=o.PROPER,y=o.CONFIGURABLE,w=v.IteratorPrototype,b=v.BUGGY_SAFARI_ITERATORS,_=d("iterator"),x="keys",S="values",P="entries",O=function(){return this};t.exports=function(t,e,r,o,d,v,k){u(r,e,o);var L,R,E,C=function(t){if(t===d&&A)return A;if(!b&&t&&t in T)return T[t];switch(t){case x:case S:case P:return function(){return new r(this,t)}}return function(){return new r(this)}},M=e+" Iterator",j=!1,T=t.prototype,I=T[_]||T["@@iterator"]||d&&T[d],A=!b&&I||C(d),U="Array"===e&&T.entries||I;if(U&&(L=c(U.call(new t)))!==Object.prototype&&L.next&&(i||c(L)===w||(l?l(L,w):a(L[_])||p(L,_,O)),f(L,M,!0,!0),i&&(g[M]=O)),m&&d===S&&I&&I.name!==S&&(!i&&y?h(T,"name",S):(j=!0,A=function(){return s(I,this)})),d)if(R={values:C(S),keys:v?A:C(x),entries:C(P)},k)for(E in R)(b||j||!(E in T))&&p(T,E,R[E]);else n({target:e,proto:!0,forced:b||j},R);return i&&!k||T[_]===A||p(T,_,A,{name:d}),g[e]=A,R}},5116:(t,e,r)=>{"use strict";var n,s,i,o=r(8828),a=r(2250),u=r(6285),c=r(8075),l=r(5972),f=r(8055),h=r(6264),p=r(7376),d=h("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):g=!0),!u(n)||o((function(){var t={};return n[d].call(t)!==t}))?n={}:p&&(n=c(n)),a(n[d])||f(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},3742:t=>{"use strict";t.exports={}},575:(t,e,r)=>{"use strict";var n=r(3121);t.exports=function(t){return n(t.length)}},1176:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},9538:(t,e,r)=>{"use strict";var n=r(9447),s=r(1907),i=r(3930),o=r(8828),a=r(2875),u=r(7170),c=r(2574),l=r(9298),f=r(6946),h=Object.assign,p=Object.defineProperty,d=s([].concat);t.exports=!h||o((function(){if(n&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),s="abcdefghijklmnopqrst";return t[r]=7,s.split("").forEach((function(t){e[t]=t})),7!==h({},t)[r]||a(h({},e)).join("")!==s}))?function(t,e){for(var r=l(t),s=arguments.length,o=1,h=u.f,p=c.f;s>o;)for(var g,v=f(arguments[o++]),m=h?d(a(v),h(v)):a(v),y=m.length,w=0;y>w;)g=m[w++],n&&!i(p,v,g)||(r[g]=v[g]);return r}:h},8075:(t,e,r)=>{"use strict";var n,s=r(6624),i=r(2220),o=r(376),a=r(8530),u=r(2416),c=r(9552),l=r(2522),f="prototype",h="script",p=l("IE_PROTO"),d=function(){},g=function(t){return"<"+h+">"+t+"</"+h+">"},v=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;m="undefined"!=typeof document?document.domain&&n?v(n):(e=c("iframe"),r="java"+h+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):v(n);for(var s=o.length;s--;)delete m[f][o[s]];return m()};a[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d[f]=s(t),r=new d,d[f]=null,r[p]=t):r=m(),void 0===e?r:i.f(r,e)}},2220:(t,e,r)=>{"use strict";var n=r(9447),s=r(8661),i=r(4284),o=r(6624),a=r(7374),u=r(2875);e.f=n&&!s?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=u(e),c=s.length,l=0;c>l;)i.f(t,r=s[l++],n[r]);return t}},4284:(t,e,r)=>{"use strict";var n=r(9447),s=r(3648),i=r(8661),o=r(6624),a=r(470),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=l(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:f in r?r[f]:n[f],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},3846:(t,e,r)=>{"use strict";var n=r(9447),s=r(3930),i=r(2574),o=r(5817),a=r(7374),u=r(470),c=r(9724),l=r(3648),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=u(e),l)try{return f(t,e)}catch(t){}if(c(t,e))return o(!s(i.f,t,e),t[e])}},7170:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},5972:(t,e,r)=>{"use strict";var n=r(9724),s=r(2250),i=r(9298),o=r(2522),a=r(7382),u=o("IE_PROTO"),c=Object,l=c.prototype;t.exports=a?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},8280:(t,e,r)=>{"use strict";var n=r(1907);t.exports=n({}.isPrototypeOf)},3045:(t,e,r)=>{"use strict";var n=r(1907),s=r(9724),i=r(7374),o=r(4436).indexOf,a=r(8530),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&u(l,r);for(;e.length>c;)s(n,r=e[c++])&&(~o(l,r)||u(l,r));return l}},2875:(t,e,r)=>{"use strict";var n=r(3045),s=r(376);t.exports=Object.keys||function(t){return n(t,s)}},2574:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},9192:(t,e,r)=>{"use strict";var n=r(1871),s=r(6285),i=r(4239),o=r(43);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),o(n),s(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},4878:(t,e,r)=>{"use strict";var n=r(2623),s=r(3948);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},581:(t,e,r)=>{"use strict";var n=r(3930),s=r(2250),i=r(6285),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw new o("Can't convert object to primitive value")}},2046:t=>{"use strict";t.exports={}},4239:(t,e,r)=>{"use strict";var n=r(7136),s=TypeError;t.exports=function(t){if(n(t))throw new s("Can't call method on "+t);return t}},2098:(t,e,r)=>{"use strict";var n=r(5951),s=r(9447),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!s)return n[t];var e=i(n,t);return e&&e.value}},4840:(t,e,r)=>{"use strict";var n=r(2623),s=r(4284).f,i=r(1626),o=r(9724),a=r(4878),u=r(6264)("toStringTag");t.exports=function(t,e,r,c){var l=r?t:t&&t.prototype;l&&(o(l,u)||s(l,u,{configurable:!0,value:e}),c&&!n&&i(l,"toString",a))}},2522:(t,e,r)=>{"use strict";var n=r(5816),s=r(6499),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},6128:(t,e,r)=>{"use strict";var n=r(7376),s=r(5951),i=r(2532),o="__core-js_shared__",a=t.exports=s[o]||i(o,{});(a.versions||(a.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5816:(t,e,r)=>{"use strict";var n=r(6128);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},1470:(t,e,r)=>{"use strict";var n=r(1907),s=r(5482),i=r(160),o=r(4239),a=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,f=i(o(e)),h=s(r),p=f.length;return h<0||h>=p?t?"":void 0:(n=u(f,h))<55296||n>56319||h+1===p||(l=u(f,h+1))<56320||l>57343?t?a(f,h):n:t?c(f,h,h+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},9156:(t,e,r)=>{"use strict";var n=r(1907),s=2147483647,i=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",u=RangeError,c=n(o.exec),l=Math.floor,f=String.fromCharCode,h=n("".charCodeAt),p=n([].join),d=n([].push),g=n("".replace),v=n("".split),m=n("".toLowerCase),y=function(t){return t+22+75*(t<26)},w=function(t,e,r){var n=0;for(t=r?l(t/700):t>>1,t+=l(t/e);t>455;)t=l(t/35),n+=36;return l(n+36*t/(t+38))},b=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var s=h(t,r++);if(s>=55296&&s<=56319&&r<n){var i=h(t,r++);56320==(64512&i)?d(e,((1023&s)<<10)+(1023&i)+65536):(d(e,s),r--)}else d(e,s)}return e}(t);var r,n,i=t.length,o=128,c=0,g=72;for(r=0;r<t.length;r++)(n=t[r])<128&&d(e,f(n));var v=e.length,m=v;for(v&&d(e,"-");m<i;){var b=s;for(r=0;r<t.length;r++)(n=t[r])>=o&&n<b&&(b=n);var _=m+1;if(b-o>l((s-c)/_))throw new u(a);for(c+=(b-o)*_,o=b,r=0;r<t.length;r++){if((n=t[r])<o&&++c>s)throw new u(a);if(n===o){for(var x=c,S=36;;){var P=S<=g?1:S>=g+26?26:S-g;if(x<P)break;var O=x-P,k=36-P;d(e,f(y(P+O%k))),x=l(O/k),S+=36}d(e,f(y(x))),g=w(c,_,m===v),c=0,m++}}c++,o++}return p(e,"")};t.exports=function(t){var e,r,n=[],s=v(g(m(t),o,"."),".");for(e=0;e<s.length;e++)r=s[e],d(n,c(i,r)?"xn--"+b(r):r);return p(n,".")}},9846:(t,e,r)=>{"use strict";var n=r(798),s=r(8828),i=r(5951).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4849:(t,e,r)=>{"use strict";var n=r(5482),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},7374:(t,e,r)=>{"use strict";var n=r(6946),s=r(4239);t.exports=function(t){return n(s(t))}},5482:(t,e,r)=>{"use strict";var n=r(1176);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},3121:(t,e,r)=>{"use strict";var n=r(5482),s=Math.min;t.exports=function(t){var e=n(t);return e>0?s(e,9007199254740991):0}},9298:(t,e,r)=>{"use strict";var n=r(4239),s=Object;t.exports=function(t){return s(n(t))}},6028:(t,e,r)=>{"use strict";var n=r(3930),s=r(6285),i=r(5594),o=r(9367),a=r(581),u=r(6264),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,u=o(t,l);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!s(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},470:(t,e,r)=>{"use strict";var n=r(6028),s=r(5594);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},2623:(t,e,r)=>{"use strict";var n={};n[r(6264)("toStringTag")]="z",t.exports="[object z]"===String(n)},160:(t,e,r)=>{"use strict";var n=r(3948),s=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return s(t)}},4640:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6499:(t,e,r)=>{"use strict";var n=r(1907),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},4791:(t,e,r)=>{"use strict";var n=r(8828),s=r(6264),i=r(9447),o=r(7376),a=s("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),o&&(!t.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!e.size&&(o||!i)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))},1175:(t,e,r)=>{"use strict";var n=r(9846);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8661:(t,e,r)=>{"use strict";var n=r(9447),s=r(8828);t.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4787:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},551:(t,e,r)=>{"use strict";var n=r(5951),s=r(2250),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},6264:(t,e,r)=>{"use strict";var n=r(5951),s=r(5816),i=r(9724),o=r(6499),a=r(9846),u=r(1175),c=n.Symbol,l=s("wks"),f=u?c.for||c:c&&c.withoutSetter||o;t.exports=function(t){return i(l,t)||(l[t]=a&&i(c,t)?c[t]:f("Symbol."+t)),l[t]}},9363:(t,e,r)=>{"use strict";var n=r(7374),s=r(2156),i=r(3742),o=r(4932),a=r(4284).f,u=r(183),c=r(9550),l=r(7376),f=r(9447),h="Array Iterator",p=o.set,d=o.getterFor(h);t.exports=u(Array,"Array",(function(t,e){p(this,{type:h,target:n(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var g=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(t){}},1074:(t,e,r)=>{"use strict";var n=r(1091),s=r(1907),i=r(4849),o=RangeError,a=String.fromCharCode,u=String.fromCodePoint,c=s([].join);n({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,s=0;n>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw new o(e+" is not a valid code point");r[s]=e<65536?a(e):a(55296+((e-=65536)>>10),e%1024+56320)}return c(r,"")}})},7057:(t,e,r)=>{"use strict";var n=r(1470).charAt,s=r(160),i=r(4932),o=r(183),a=r(9550),u="String Iterator",c=i.set,l=i.getterFor(u);o(String,"String",(function(t){c(this,{type:u,string:s(t),index:0})}),(function(){var t,e=l(this),r=e.string,s=e.index;return s>=r.length?a(void 0,!0):(t=n(r,s),e.index+=t.length,a(t,!1))}))},2560:(t,e,r)=>{"use strict";r(9363);var n=r(9287),s=r(5951),i=r(4840),o=r(3742);for(var a in n)i(s[a],a),o[a]=o.Array},7105:(t,e,r)=>{"use strict";r(9363),r(1074);var n=r(1091),s=r(5951),i=r(2098),o=r(5582),a=r(3930),u=r(1907),c=r(9447),l=r(4791),f=r(8055),h=r(9251),p=r(2802),d=r(4840),g=r(7181),v=r(4932),m=r(9596),y=r(2250),w=r(9724),b=r(8311),_=r(3948),x=r(6624),S=r(6285),P=r(160),O=r(8075),k=r(5817),L=r(300),R=r(3448),E=r(9550),C=r(4787),M=r(6264),j=r(4321),T=M("iterator"),I="URLSearchParams",A=I+"Iterator",U=v.set,D=v.getterFor(I),N=v.getterFor(A),F=i("fetch"),H=i("Request"),B=i("Headers"),W=H&&H.prototype,q=B&&B.prototype,G=s.TypeError,z=s.encodeURIComponent,$=String.fromCharCode,Y=o("String","fromCodePoint"),V=parseInt,Z=u("".charAt),K=u([].join),X=u([].push),J=u("".replace),Q=u([].shift),tt=u([].splice),et=u("".split),rt=u("".slice),nt=u(/./.exec),st=/\+/g,it=/^[0-9a-f]+$/i,ot=function(t,e){var r=rt(t,e,e+2);return nt(it,r)?V(r,16):NaN},at=function(t){for(var e=0,r=128;r>0&&t&r;r>>=1)e++;return e},ut=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ct=function(t){for(var e=(t=J(t,st," ")).length,r="",n=0;n<e;){var s=Z(t,n);if("%"===s){if("%"===Z(t,n+1)||n+3>e){r+="%",n++;continue}var i=ot(t,n+1);if(i!=i){r+=s,n++;continue}n+=2;var o=at(i);if(0===o)s=$(i);else{if(1===o||o>4){r+="�",n++;continue}for(var a=[i],u=1;u<o&&!(3+ ++n>e||"%"!==Z(t,n));){var c=ot(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;X(a,c),n+=2,u++}if(a.length!==o){r+="�";continue}var l=ut(a);null===l?r+="�":s=Y(l)}}r+=s,n++}return r},lt=/[!'()~]|%20/g,ft={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ht=function(t){return ft[t]},pt=function(t){return J(z(t),lt,ht)},dt=g((function(t,e){U(this,{type:A,target:D(t).entries,index:0,kind:e})}),I,(function(){var t=N(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,E(void 0,!0);var n=e[r];switch(t.kind){case"keys":return E(n.key,!1);case"values":return E(n.value,!1)}return E([n.key,n.value],!1)}),!0),gt=function(t){this.entries=[],this.url=null,void 0!==t&&(S(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Z(t,0)?rt(t,1):t:P(t)))};gt.prototype={type:I,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,s,i,o,u,c=this.entries,l=R(t);if(l)for(r=(e=L(t,l)).next;!(n=a(r,e)).done;){if(i=(s=L(x(n.value))).next,(o=a(i,s)).done||(u=a(i,s)).done||!a(i,s).done)throw new G("Expected sequence with length 2");X(c,{key:P(o.value),value:P(u.value)})}else for(var f in t)w(t,f)&&X(c,{key:f,value:P(t[f])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,s=et(t,"&"),i=0;i<s.length;)(e=s[i++]).length&&(r=et(e,"="),X(n,{key:ct(Q(r)),value:ct(K(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],X(r,pt(t.key)+"="+pt(t.value));return K(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var vt=function(){m(this,mt);var t=U(this,new gt(arguments.length>0?arguments[0]:void 0));c||(this.size=t.entries.length)},mt=vt.prototype;if(p(mt,{append:function(t,e){var r=D(this);C(arguments.length,2),X(r.entries,{key:P(t),value:P(e)}),c||this.length++,r.updateURL()},delete:function(t){for(var e=D(this),r=C(arguments.length,1),n=e.entries,s=P(t),i=r<2?void 0:arguments[1],o=void 0===i?i:P(i),a=0;a<n.length;){var u=n[a];if(u.key!==s||void 0!==o&&u.value!==o)a++;else if(tt(n,a,1),void 0!==o)break}c||(this.size=n.length),e.updateURL()},get:function(t){var e=D(this).entries;C(arguments.length,1);for(var r=P(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=D(this).entries;C(arguments.length,1);for(var r=P(t),n=[],s=0;s<e.length;s++)e[s].key===r&&X(n,e[s].value);return n},has:function(t){for(var e=D(this).entries,r=C(arguments.length,1),n=P(t),s=r<2?void 0:arguments[1],i=void 0===s?s:P(s),o=0;o<e.length;){var a=e[o++];if(a.key===n&&(void 0===i||a.value===i))return!0}return!1},set:function(t,e){var r=D(this);C(arguments.length,1);for(var n,s=r.entries,i=!1,o=P(t),a=P(e),u=0;u<s.length;u++)(n=s[u]).key===o&&(i?tt(s,u--,1):(i=!0,n.value=a));i||X(s,{key:o,value:a}),c||(this.size=s.length),r.updateURL()},sort:function(){var t=D(this);j(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=D(this).entries,n=b(t,arguments.length>1?arguments[1]:void 0),s=0;s<r.length;)n((e=r[s++]).value,e.key,this)},keys:function(){return new dt(this,"keys")},values:function(){return new dt(this,"values")},entries:function(){return new dt(this,"entries")}},{enumerable:!0}),f(mt,T,mt.entries,{name:"entries"}),f(mt,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),c&&h(mt,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),d(vt,I),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:vt}),!l&&y(B)){var yt=u(q.has),wt=u(q.set),bt=function(t){if(S(t)){var e,r=t.body;if(_(r)===I)return e=t.headers?new B(t.headers):new B,yt(e,"content-type")||wt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(t,{body:k(0,P(r)),headers:k(0,e)})}return t};if(y(F)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return F(t,arguments.length>1?bt(arguments[1]):{})}}),y(H)){var _t=function(t){return m(this,W),new H(t,arguments.length>1?bt(arguments[1]):{})};W.constructor=_t,_t.prototype=W,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:_t})}}t.exports={URLSearchParams:vt,getState:D}},5042:()=>{},7649:()=>{},6299:(t,e,r)=>{"use strict";r(7105)},3604:()=>{},8669:(t,e,r)=>{"use strict";var n=r(1091),s=r(5582),i=r(8828),o=r(4787),a=r(160),u=r(4791),c=s("URL"),l=u&&i((function(){c.canParse()})),f=i((function(){return 1!==c.canParse.length}));n({target:"URL",stat:!0,forced:!l||f},{canParse:function(t){var e=o(arguments.length,1),r=a(t),n=e<2||void 0===arguments[1]?void 0:a(arguments[1]);try{return!!new c(r,n)}catch(t){return!1}}})},6909:(t,e,r)=>{"use strict";r(7057);var n,s=r(1091),i=r(9447),o=r(4791),a=r(5951),u=r(8311),c=r(1907),l=r(8055),f=r(9251),h=r(9596),p=r(9724),d=r(9538),g=r(1229),v=r(3427),m=r(1470).codeAt,y=r(9156),w=r(160),b=r(4840),_=r(4787),x=r(7105),S=r(4932),P=S.set,O=S.getterFor("URL"),k=x.URLSearchParams,L=x.getState,R=a.URL,E=a.TypeError,C=a.parseInt,M=Math.floor,j=Math.pow,T=c("".charAt),I=c(/./.exec),A=c([].join),U=c(1..toString),D=c([].pop),N=c([].push),F=c("".replace),H=c([].shift),B=c("".split),W=c("".slice),q=c("".toLowerCase),G=c([].unshift),z="Invalid scheme",$="Invalid host",Y="Invalid port",V=/[a-z]/i,Z=/[\d+-.a-z]/i,K=/\d/,X=/^0x/i,J=/^[0-7]+$/,Q=/^\d+$/,tt=/^[\da-f]+$/i,et=/[\0\t\n\r #%/:<>?@[\\\]^|]/,rt=/[\0\t\n\r #/:<>?@[\\\]^|]/,nt=/^[\u0000-\u0020]+/,st=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,it=/[\t\n\r]/g,ot=function(t){var e,r,n,s;if("number"==typeof t){for(e=[],r=0;r<4;r++)G(e,t%256),t=M(t/256);return A(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,s=0,i=0;i<8;i++)0!==t[i]?(s>r&&(e=n,r=s),n=null,s=0):(null===n&&(n=i),++s);return s>r?n:e}(t),r=0;r<8;r++)s&&0===t[r]||(s&&(s=!1),n===r?(e+=r?":":"::",s=!0):(e+=U(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},at={},ut=d({},at,{" ":1,'"':1,"<":1,">":1,"`":1}),ct=d({},ut,{"#":1,"?":1,"{":1,"}":1}),lt=d({},ct,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ft=function(t,e){var r=m(t,0);return r>32&&r<127&&!p(e,t)?t:encodeURIComponent(t)},ht={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pt=function(t,e){var r;return 2===t.length&&I(V,T(t,0))&&(":"===(r=T(t,1))||!e&&"|"===r)},dt=function(t){var e;return t.length>1&&pt(W(t,0,2))&&(2===t.length||"/"===(e=T(t,2))||"\\"===e||"?"===e||"#"===e)},gt=function(t){return"."===t||"%2e"===q(t)},vt={},mt={},yt={},wt={},bt={},_t={},xt={},St={},Pt={},Ot={},kt={},Lt={},Rt={},Et={},Ct={},Mt={},jt={},Tt={},It={},At={},Ut={},Dt=function(t,e,r){var n,s,i,o=w(t);if(e){if(s=this.parse(o))throw new E(s);this.searchParams=null}else{if(void 0!==r&&(n=new Dt(r,!0)),s=this.parse(o,null,n))throw new E(s);(i=L(new k)).bindURL(this),this.searchParams=i}};Dt.prototype={type:"URL",parse:function(t,e,r){var s,i,o,a,u,c=this,l=e||vt,f=0,h="",d=!1,m=!1,y=!1;for(t=w(t),e||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=F(t,nt,""),t=F(t,st,"$1")),t=F(t,it,""),s=g(t);f<=s.length;){switch(i=s[f],l){case vt:if(!i||!I(V,i)){if(e)return z;l=yt;continue}h+=q(i),l=mt;break;case mt:if(i&&(I(Z,i)||"+"===i||"-"===i||"."===i))h+=q(i);else{if(":"!==i){if(e)return z;h="",l=yt,f=0;continue}if(e&&(c.isSpecial()!==p(ht,h)||"file"===h&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=h,e)return void(c.isSpecial()&&ht[c.scheme]===c.port&&(c.port=null));h="","file"===c.scheme?l=Et:c.isSpecial()&&r&&r.scheme===c.scheme?l=wt:c.isSpecial()?l=St:"/"===s[f+1]?(l=bt,f++):(c.cannotBeABaseURL=!0,N(c.path,""),l=It)}break;case yt:if(!r||r.cannotBeABaseURL&&"#"!==i)return z;if(r.cannotBeABaseURL&&"#"===i){c.scheme=r.scheme,c.path=v(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=Ut;break}l="file"===r.scheme?Et:_t;continue;case wt:if("/"!==i||"/"!==s[f+1]){l=_t;continue}l=Pt,f++;break;case bt:if("/"===i){l=Ot;break}l=Tt;continue;case _t:if(c.scheme=r.scheme,i===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query;else if("/"===i||"\\"===i&&c.isSpecial())l=xt;else if("?"===i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query="",l=At;else{if("#"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.path.length--,l=Tt;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query,c.fragment="",l=Ut}break;case xt:if(!c.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=Tt;continue}l=Ot}else l=Pt;break;case St:if(l=Pt,"/"!==i||"/"!==T(h,f+1))continue;f++;break;case Pt:if("/"!==i&&"\\"!==i){l=Ot;continue}break;case Ot:if("@"===i){d&&(h="%40"+h),d=!0,o=g(h);for(var b=0;b<o.length;b++){var _=o[b];if(":"!==_||y){var x=ft(_,lt);y?c.password+=x:c.username+=x}else y=!0}h=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(d&&""===h)return"Invalid authority";f-=g(h).length+1,h="",l=kt}else h+=i;break;case kt:case Lt:if(e&&"file"===c.scheme){l=Mt;continue}if(":"!==i||m){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(c.isSpecial()&&""===h)return $;if(e&&""===h&&(c.includesCredentials()||null!==c.port))return;if(a=c.parseHost(h))return a;if(h="",l=jt,e)return;continue}"["===i?m=!0:"]"===i&&(m=!1),h+=i}else{if(""===h)return $;if(a=c.parseHost(h))return a;if(h="",l=Rt,e===Lt)return}break;case Rt:if(!I(K,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()||e){if(""!==h){var S=C(h,10);if(S>65535)return Y;c.port=c.isSpecial()&&S===ht[c.scheme]?null:S,h=""}if(e)return;l=jt;continue}return Y}h+=i;break;case Et:if(c.scheme="file","/"===i||"\\"===i)l=Ct;else{if(!r||"file"!==r.scheme){l=Tt;continue}switch(i){case n:c.host=r.host,c.path=v(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=v(r.path),c.query="",l=At;break;case"#":c.host=r.host,c.path=v(r.path),c.query=r.query,c.fragment="",l=Ut;break;default:dt(A(v(s,f),""))||(c.host=r.host,c.path=v(r.path),c.shortenPath()),l=Tt;continue}}break;case Ct:if("/"===i||"\\"===i){l=Mt;break}r&&"file"===r.scheme&&!dt(A(v(s,f),""))&&(pt(r.path[0],!0)?N(c.path,r.path[0]):c.host=r.host),l=Tt;continue;case Mt:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!e&&pt(h))l=Tt;else if(""===h){if(c.host="",e)return;l=jt}else{if(a=c.parseHost(h))return a;if("localhost"===c.host&&(c.host=""),e)return;h="",l=jt}continue}h+=i;break;case jt:if(c.isSpecial()){if(l=Tt,"/"!==i&&"\\"!==i)continue}else if(e||"?"!==i)if(e||"#"!==i){if(i!==n&&(l=Tt,"/"!==i))continue}else c.fragment="",l=Ut;else c.query="",l=At;break;case Tt:if(i===n||"/"===i||"\\"===i&&c.isSpecial()||!e&&("?"===i||"#"===i)){if(".."===(u=q(u=h))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"===i||"\\"===i&&c.isSpecial()||N(c.path,"")):gt(h)?"/"===i||"\\"===i&&c.isSpecial()||N(c.path,""):("file"===c.scheme&&!c.path.length&&pt(h)&&(c.host&&(c.host=""),h=T(h,0)+":"),N(c.path,h)),h="","file"===c.scheme&&(i===n||"?"===i||"#"===i))for(;c.path.length>1&&""===c.path[0];)H(c.path);"?"===i?(c.query="",l=At):"#"===i&&(c.fragment="",l=Ut)}else h+=ft(i,ct);break;case It:"?"===i?(c.query="",l=At):"#"===i?(c.fragment="",l=Ut):i!==n&&(c.path[0]+=ft(i,at));break;case At:e||"#"!==i?i!==n&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":ft(i,at)):(c.fragment="",l=Ut);break;case Ut:i!==n&&(c.fragment+=ft(i,ut))}f++}},parseHost:function(t){var e,r,n;if("["===T(t,0)){if("]"!==T(t,t.length-1))return $;if(e=function(t){var e,r,n,s,i,o,a,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,h=function(){return T(t,f)};if(":"===h()){if(":"!==T(t,1))return;f+=2,l=++c}for(;h();){if(8===c)return;if(":"!==h()){for(e=r=0;r<4&&I(tt,h());)e=16*e+C(h(),16),f++,r++;if("."===h()){if(0===r)return;if(f-=r,c>6)return;for(n=0;h();){if(s=null,n>0){if(!("."===h()&&n<4))return;f++}if(!I(K,h()))return;for(;I(K,h());){if(i=C(h(),10),null===s)s=i;else{if(0===s)return;s=10*s+i}if(s>255)return;f++}u[c]=256*u[c]+s,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===h()){if(f++,!h())return}else if(h())return;u[c++]=e}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(o=c-l,c=7;0!==c&&o>0;)a=u[c],u[c--]=u[l+o-1],u[l+--o]=a;else if(8!==c)return;return u}(W(t,1,-1)),!e)return $;this.host=e}else if(this.isSpecial()){if(t=y(t),I(et,t))return $;if(e=function(t){var e,r,n,s,i,o,a,u=B(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(s=u[n]))return t;if(i=10,s.length>1&&"0"===T(s,0)&&(i=I(X,s)?16:8,s=W(s,8===i?1:2)),""===s)o=0;else{if(!I(10===i?Q:8===i?J:tt,s))return t;o=C(s,i)}N(r,o)}for(n=0;n<e;n++)if(o=r[n],n===e-1){if(o>=j(256,5-e))return null}else if(o>255)return null;for(a=D(r),n=0;n<r.length;n++)a+=r[n]*j(256,3-n);return a}(t),null===e)return $;this.host=e}else{if(I(rt,t))return $;for(e="",r=g(t),n=0;n<r.length;n++)e+=ft(r[n],at);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return p(ht,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&pt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,s=t.host,i=t.port,o=t.path,a=t.query,u=t.fragment,c=e+":";return null!==s?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=ot(s),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?o[0]:o.length?"/"+A(o,"/"):"",null!==a&&(c+="?"+a),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new E(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Nt(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+ot(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(w(t)+":",vt)},getUsername:function(){return this.username},setUsername:function(t){var e=g(w(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=ft(e[r],lt)}},getPassword:function(){return this.password},setPassword:function(t){var e=g(w(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=ft(e[r],lt)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ot(t):ot(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,kt)},getHostname:function(){var t=this.host;return null===t?"":ot(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Lt)},getPort:function(){var t=this.port;return null===t?"":w(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=w(t))?this.port=null:this.parse(t,Rt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+A(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,jt))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=w(t))?this.query=null:("?"===T(t,0)&&(t=W(t,1)),this.query="",this.parse(t,At)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=w(t))?("#"===T(t,0)&&(t=W(t,1)),this.fragment="",this.parse(t,Ut)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Nt=function(t){var e=h(this,Ft),r=_(arguments.length,1)>1?arguments[1]:void 0,n=P(e,new Dt(t,!1,r));i||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Ft=Nt.prototype,Ht=function(t,e){return{get:function(){return O(this)[t]()},set:e&&function(t){return O(this)[e](t)},configurable:!0,enumerable:!0}};if(i&&(f(Ft,"href",Ht("serialize","setHref")),f(Ft,"origin",Ht("getOrigin")),f(Ft,"protocol",Ht("getProtocol","setProtocol")),f(Ft,"username",Ht("getUsername","setUsername")),f(Ft,"password",Ht("getPassword","setPassword")),f(Ft,"host",Ht("getHost","setHost")),f(Ft,"hostname",Ht("getHostname","setHostname")),f(Ft,"port",Ht("getPort","setPort")),f(Ft,"pathname",Ht("getPathname","setPathname")),f(Ft,"search",Ht("getSearch","setSearch")),f(Ft,"searchParams",Ht("getSearchParams")),f(Ft,"hash",Ht("getHash","setHash"))),l(Ft,"toJSON",(function(){return O(this).serialize()}),{enumerable:!0}),l(Ft,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),R){var Bt=R.createObjectURL,Wt=R.revokeObjectURL;Bt&&l(Nt,"createObjectURL",u(Bt,R)),Wt&&l(Nt,"revokeObjectURL",u(Wt,R))}b(Nt,"URL"),s({global:!0,constructor:!0,forced:!o,sham:!i},{URL:Nt})},3487:(t,e,r)=>{"use strict";r(6909)},8670:(t,e,r)=>{"use strict";var n=r(1091),s=r(5582),i=r(4787),o=r(160),a=r(4791),u=s("URL");n({target:"URL",stat:!0,forced:!a},{parse:function(t){var e=i(arguments.length,1),r=o(t),n=e<2||void 0===arguments[1]?void 0:o(arguments[1]);try{return new u(r,n)}catch(t){return null}}})},4783:()=>{},8348:(t,e,r)=>{"use strict";var n=r(9076);r(2560),t.exports=n},9792:(t,e,r)=>{"use strict";var n=r(6908);t.exports=n},9076:(t,e,r)=>{"use strict";r(6299),r(5042),r(7649),r(3604);var n=r(2046);t.exports=n.URLSearchParams},6908:(t,e,r)=>{"use strict";r(9076),r(3487),r(8669),r(8670),r(4783);var n=r(2046);t.exports=n.URL}},e={};function r(n){var s=e[n];if(void 0!==s)return s.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{ZoomTPWebSocket:()=>Z,initTPModule:()=>Y,initWorker:()=>V,isEnableTP:()=>K,setCmd:()=>G,tpLogger:()=>H});var t=r(6984),e=r.n(t),s=r(5512),i=r.n(s);function o(){return i()('(()=>{var t={6512:(t,e,r)=>{t.exports=r(8348)},6984:(t,e,r)=>{t.exports=r(9792)},2601:(t,e,r)=>{t.exports=r(4444)},3565:(t,e,r)=>{"use strict";var n=r(1960);t.exports=n},2671:(t,e,r)=>{"use strict";r(2344),t.exports=r(5951)},4444:(t,e,r)=>{"use strict";t.exports=r(214)},214:(t,e,r)=>{"use strict";r(397);var n=r(3565);t.exports=n},2159:(t,e,r)=>{"use strict";var n=r(2250),s=r(4640),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not a function")}},43:(t,e,r)=>{"use strict";var n=r(4018),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can\'t set "+s(t)+" as a prototype")}},2156:t=>{"use strict";t.exports=function(){}},9596:(t,e,r)=>{"use strict";var n=r(8280),s=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new s("Incorrect invocation")}},6624:(t,e,r)=>{"use strict";var n=r(6285),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not an object")}},1229:(t,e,r)=>{"use strict";var n=r(8311),s=r(3930),i=r(9298),o=r(6818),a=r(7812),c=r(5468),u=r(575),l=r(5543),h=r(300),f=r(3448),p=Array;t.exports=function(t){var e=i(t),r=c(this),d=arguments.length,g=d>1?arguments[1]:void 0,v=void 0!==g;v&&(g=n(g,d>2?arguments[2]:void 0));var m,y,_,w,b,S,P=f(e),x=0;if(!P||this===p&&a(P))for(m=u(e),y=r?new this(m):p(m);m>x;x++)S=v?g(e[x],x):e[x],l(y,x,S);else for(y=r?new this:[],b=(w=h(e,P)).next;!(_=s(b,w)).done;x++)S=v?o(w,g,[_.value,x],!0):_.value,l(y,x,S);return y.length=x,y}},4436:(t,e,r)=>{"use strict";var n=r(7374),s=r(4849),i=r(575),o=function(t){return function(e,r,o){var a=n(e),c=i(a);if(0===c)return!t&&-1;var u,l=s(o,c);if(t&&r!=r){for(;c>l;)if((u=a[l++])!=u)return!0}else for(;c>l;l++)if((t||l in a)&&a[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},3427:(t,e,r)=>{"use strict";var n=r(1907);t.exports=n([].slice)},4321:(t,e,r)=>{"use strict";var n=r(3427),s=Math.floor,i=function(t,e){var r=t.length;if(r<8)for(var o,a,c=1;c<r;){for(a=c,o=t[c];a&&e(t[a-1],o)>0;)t[a]=t[--a];a!==c++&&(t[a]=o)}else for(var u=s(r/2),l=i(n(t,0,u),e),h=i(n(t,u),e),f=l.length,p=h.length,d=0,g=0;d<f||g<p;)t[d+g]=d<f&&g<p?e(l[d],h[g])<=0?l[d++]:h[g++]:d<f?l[d++]:h[g++];return t};t.exports=i},6818:(t,e,r)=>{"use strict";var n=r(6624),s=r(154);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){s(t,"throw",e)}}},5807:(t,e,r)=>{"use strict";var n=r(1907),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},3948:(t,e,r)=>{"use strict";var n=r(2623),s=r(2250),i=r(5807),o=r(6264)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),o))?r:c?i(e):"Object"===(n=i(e))&&s(e.callee)?"Arguments":n}},7382:(t,e,r)=>{"use strict";var n=r(8828);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},9550:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},1626:(t,e,r)=>{"use strict";var n=r(9447),s=r(4284),i=r(5817);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},5817:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5543:(t,e,r)=>{"use strict";var n=r(9447),s=r(4284),i=r(5817);t.exports=function(t,e,r){n?s.f(t,e,i(0,r)):t[e]=r}},9251:(t,e,r)=>{"use strict";var n=r(4284);t.exports=function(t,e,r){return n.f(t,e,r)}},8055:(t,e,r)=>{"use strict";var n=r(1626);t.exports=function(t,e,r,s){return s&&s.enumerable?t[e]=r:n(t,e,r),t}},2802:(t,e,r)=>{"use strict";var n=r(8055);t.exports=function(t,e,r){for(var s in e)r&&r.unsafe&&t[s]?t[s]=e[s]:n(t,s,e[s],r);return t}},2532:(t,e,r)=>{"use strict";var n=r(5951),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9447:(t,e,r)=>{"use strict";var n=r(8828);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9552:(t,e,r)=>{"use strict";var n=r(5951),s=r(6285),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},9287:t=>{"use strict";t.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}},376:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6794:(t,e,r)=>{"use strict";var n=r(5951).navigator,s=n&&n.userAgent;t.exports=s?String(s):""},798:(t,e,r)=>{"use strict";var n,s,i=r(5951),o=r(6794),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\\/(\\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\\/(\\d+)/))&&(s=+n[1]),t.exports=s},1091:(t,e,r)=>{"use strict";var n=r(5951),s=r(6024),i=r(2361),o=r(2250),a=r(3846).f,c=r(7463),u=r(2046),l=r(8311),h=r(1626),f=r(9724);r(6128);var p=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,d,g,v,m,y,_,w,b=t.target,S=t.global,P=t.stat,x=t.proto,O=S?n:P?n[b]:n[b]&&n[b].prototype,R=S?u:u[b]||h(u,b,{})[b],k=R.prototype;for(g in e)s=!(r=c(S?g:b+(P?".":"#")+g,t.forced))&&O&&f(O,g),m=R[g],s&&(y=t.dontCallGetSet?(w=a(O,g))&&w.value:O[g]),v=s&&y?y:e[g],(r||x||typeof m!=typeof v)&&(_=t.bind&&s?l(v,n):t.wrap&&s?p(v):x&&o(v)?i(v):v,(t.sham||v&&v.sham||m&&m.sham)&&h(_,"sham",!0),h(R,g,_),x&&(f(u,d=b+"Prototype")||h(u,d,{}),h(u[d],g,v),t.real&&k&&(r||!k[g])&&h(k,g,v)))}},8828:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},6024:(t,e,r)=>{"use strict";var n=r(1505),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8311:(t,e,r)=>{"use strict";var n=r(2361),s=r(2159),i=r(1505),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},1505:(t,e,r)=>{"use strict";var n=r(8828);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},3930:(t,e,r)=>{"use strict";var n=r(1505),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},6833:(t,e,r)=>{"use strict";var n=r(9447),s=r(9724),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},1871:(t,e,r)=>{"use strict";var n=r(1907),s=r(2159);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},2361:(t,e,r)=>{"use strict";var n=r(5807),s=r(1907);t.exports=function(t){if("Function"===n(t))return s(t)}},1907:(t,e,r)=>{"use strict";var n=r(1505),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},5582:(t,e,r)=>{"use strict";var n=r(2046),s=r(5951),i=r(2250),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},3448:(t,e,r)=>{"use strict";var n=r(3948),s=r(9367),i=r(7136),o=r(3742),a=r(6264)("iterator");t.exports=function(t){if(!i(t))return s(t,a)||s(t,"@@iterator")||o[n(t)]}},300:(t,e,r)=>{"use strict";var n=r(3930),s=r(2159),i=r(6624),o=r(4640),a=r(3448),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(s(r))return i(n(r,t));throw new c(o(t)+" is not iterable")}},9367:(t,e,r)=>{"use strict";var n=r(2159),s=r(7136);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},5951:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.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")()},9724:(t,e,r)=>{"use strict";var n=r(1907),s=r(9298),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},8530:t=>{"use strict";t.exports={}},2416:(t,e,r)=>{"use strict";var n=r(5582);t.exports=n("document","documentElement")},3648:(t,e,r)=>{"use strict";var n=r(9447),s=r(8828),i=r(9552);t.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6946:(t,e,r)=>{"use strict";var n=r(1907),s=r(8828),i=r(5807),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):o(t)}:o},2647:(t,e,r)=>{"use strict";var n=r(1907),s=r(2250),i=r(6128),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(t){return o(t)}),t.exports=i.inspectSource},4932:(t,e,r)=>{"use strict";var n,s,i,o=r(551),a=r(5951),c=r(6285),u=r(1626),l=r(9724),h=r(6128),f=r(2522),p=r(8530),d="Object already initialized",g=a.TypeError,v=a.WeakMap;if(o||h.state){var m=h.state||(h.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw new g(d);return e.facade=t,m.set(t,e),e},s=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var y=f("state");p[y]=!0,n=function(t,e){if(l(t,y))throw new g(d);return e.facade=t,u(t,y,e),e},s=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=s(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return r}}}},7812:(t,e,r)=>{"use strict";var n=r(6264),s=r(3742),i=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||o[i]===t)}},2250:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},5468:(t,e,r)=>{"use strict";var n=r(1907),s=r(8828),i=r(2250),o=r(3948),a=r(5582),c=r(2647),u=function(){},l=a("Reflect","construct"),h=/^\\s*(?:class|function)\\b/,f=n(h.exec),p=!h.test(u),d=function(t){if(!i(t))return!1;try{return l(u,[],t),!0}catch(t){return!1}},g=function(t){if(!i(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,c(t))}catch(t){return!0}};g.sham=!0,t.exports=!l||s((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?g:d},7463:(t,e,r)=>{"use strict";var n=r(8828),s=r(2250),i=/#|\\.prototype\\./,o=function(t,e){var r=c[a(t)];return r===l||r!==u&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},7136:t=>{"use strict";t.exports=function(t){return null==t}},6285:(t,e,r)=>{"use strict";var n=r(2250);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},4018:(t,e,r)=>{"use strict";var n=r(6285);t.exports=function(t){return n(t)||null===t}},7376:t=>{"use strict";t.exports=!0},5594:(t,e,r)=>{"use strict";var n=r(5582),s=r(2250),i=r(8280),o=r(1175),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},154:(t,e,r)=>{"use strict";var n=r(3930),s=r(6624),i=r(9367);t.exports=function(t,e,r){var o,a;s(t);try{if(!(o=i(t,"return"))){if("throw"===e)throw r;return r}o=n(o,t)}catch(t){a=!0,o=t}if("throw"===e)throw r;if(a)throw o;return s(o),r}},7181:(t,e,r)=>{"use strict";var n=r(5116).IteratorPrototype,s=r(8075),i=r(5817),o=r(4840),a=r(3742),c=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=s(n,{next:i(+!u,r)}),o(t,l,!1,!0),a[l]=c,t}},183:(t,e,r)=>{"use strict";var n=r(1091),s=r(3930),i=r(7376),o=r(6833),a=r(2250),c=r(7181),u=r(5972),l=r(9192),h=r(4840),f=r(1626),p=r(8055),d=r(6264),g=r(3742),v=r(5116),m=o.PROPER,y=o.CONFIGURABLE,_=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,b=d("iterator"),S="keys",P="values",x="entries",O=function(){return this};t.exports=function(t,e,r,o,d,v,R){c(r,e,o);var k,M,C,L=function(t){if(t===d&&j)return j;if(!w&&t&&t in E)return E[t];switch(t){case S:case P:case x:return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",I=!1,E=t.prototype,T=E[b]||E["@@iterator"]||d&&E[d],j=!w&&T||L(d),U="Array"===e&&E.entries||T;if(U&&(k=u(U.call(new t)))!==Object.prototype&&k.next&&(i||u(k)===_||(l?l(k,_):a(k[b])||p(k,b,O)),h(k,A,!0,!0),i&&(g[A]=O)),m&&d===P&&T&&T.name!==P&&(!i&&y?f(E,"name",P):(I=!0,j=function(){return s(T,this)})),d)if(M={values:L(P),keys:v?j:L(S),entries:L(x)},R)for(C in M)(w||I||!(C in E))&&p(E,C,M[C]);else n({target:e,proto:!0,forced:w||I},M);return i&&!R||E[b]===j||p(E,b,j,{name:d}),g[e]=j,M}},5116:(t,e,r)=>{"use strict";var n,s,i,o=r(8828),a=r(2250),c=r(6285),u=r(8075),l=r(5972),h=r(8055),f=r(6264),p=r(7376),d=f("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):g=!0),!c(n)||o((function(){var t={};return n[d].call(t)!==t}))?n={}:p&&(n=u(n)),a(n[d])||h(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},3742:t=>{"use strict";t.exports={}},575:(t,e,r)=>{"use strict";var n=r(3121);t.exports=function(t){return n(t.length)}},1176:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},9538:(t,e,r)=>{"use strict";var n=r(9447),s=r(1907),i=r(3930),o=r(8828),a=r(2875),c=r(7170),u=r(2574),l=r(9298),h=r(6946),f=Object.assign,p=Object.defineProperty,d=s([].concat);t.exports=!f||o((function(){if(n&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),s="abcdefghijklmnopqrst";return t[r]=7,s.split("").forEach((function(t){e[t]=t})),7!==f({},t)[r]||a(f({},e)).join("")!==s}))?function(t,e){for(var r=l(t),s=arguments.length,o=1,f=c.f,p=u.f;s>o;)for(var g,v=h(arguments[o++]),m=f?d(a(v),f(v)):a(v),y=m.length,_=0;y>_;)g=m[_++],n&&!i(p,v,g)||(r[g]=v[g]);return r}:f},8075:(t,e,r)=>{"use strict";var n,s=r(6624),i=r(2220),o=r(376),a=r(8530),c=r(2416),u=r(9552),l=r(2522),h="prototype",f="script",p=l("IE_PROTO"),d=function(){},g=function(t){return"<"+f+">"+t+"</"+f+">"},v=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;m="undefined"!=typeof document?document.domain&&n?v(n):(e=u("iframe"),r="java"+f+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):v(n);for(var s=o.length;s--;)delete m[h][o[s]];return m()};a[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d[h]=s(t),r=new d,d[h]=null,r[p]=t):r=m(),void 0===e?r:i.f(r,e)}},2220:(t,e,r)=>{"use strict";var n=r(9447),s=r(8661),i=r(4284),o=r(6624),a=r(7374),c=r(2875);e.f=n&&!s?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=c(e),u=s.length,l=0;u>l;)i.f(t,r=s[l++],n[r]);return t}},4284:(t,e,r)=>{"use strict";var n=r(9447),s=r(3648),i=r(8661),o=r(6624),a=r(470),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",p="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=l(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:h in r?r[h]:n[h],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},3846:(t,e,r)=>{"use strict";var n=r(9447),s=r(3930),i=r(2574),o=r(5817),a=r(7374),c=r(470),u=r(9724),l=r(3648),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=a(t),e=c(e),l)try{return h(t,e)}catch(t){}if(u(t,e))return o(!s(i.f,t,e),t[e])}},7170:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},5972:(t,e,r)=>{"use strict";var n=r(9724),s=r(2250),i=r(9298),o=r(2522),a=r(7382),c=o("IE_PROTO"),u=Object,l=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},8280:(t,e,r)=>{"use strict";var n=r(1907);t.exports=n({}.isPrototypeOf)},3045:(t,e,r)=>{"use strict";var n=r(1907),s=r(9724),i=r(7374),o=r(4436).indexOf,a=r(8530),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&c(l,r);for(;e.length>u;)s(n,r=e[u++])&&(~o(l,r)||c(l,r));return l}},2875:(t,e,r)=>{"use strict";var n=r(3045),s=r(376);t.exports=Object.keys||function(t){return n(t,s)}},2574:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},9192:(t,e,r)=>{"use strict";var n=r(1871),s=r(6285),i=r(4239),o=r(43);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),o(n),s(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},4878:(t,e,r)=>{"use strict";var n=r(2623),s=r(3948);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},581:(t,e,r)=>{"use strict";var n=r(3930),s=r(2250),i=r(6285),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw new o("Can\'t convert object to primitive value")}},2046:t=>{"use strict";t.exports={}},4239:(t,e,r)=>{"use strict";var n=r(7136),s=TypeError;t.exports=function(t){if(n(t))throw new s("Can\'t call method on "+t);return t}},2098:(t,e,r)=>{"use strict";var n=r(5951),s=r(9447),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!s)return n[t];var e=i(n,t);return e&&e.value}},4840:(t,e,r)=>{"use strict";var n=r(2623),s=r(4284).f,i=r(1626),o=r(9724),a=r(4878),c=r(6264)("toStringTag");t.exports=function(t,e,r,u){var l=r?t:t&&t.prototype;l&&(o(l,c)||s(l,c,{configurable:!0,value:e}),u&&!n&&i(l,"toString",a))}},2522:(t,e,r)=>{"use strict";var n=r(5816),s=r(6499),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},6128:(t,e,r)=>{"use strict";var n=r(7376),s=r(5951),i=r(2532),o="__core-js_shared__",a=t.exports=s[o]||i(o,{});(a.versions||(a.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5816:(t,e,r)=>{"use strict";var n=r(6128);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},1470:(t,e,r)=>{"use strict";var n=r(1907),s=r(5482),i=r(160),o=r(4239),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,h=i(o(e)),f=s(r),p=h.length;return f<0||f>=p?t?"":void 0:(n=c(h,f))<55296||n>56319||f+1===p||(l=c(h,f+1))<56320||l>57343?t?a(h,f):n:t?u(h,f,f+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},9156:(t,e,r)=>{"use strict";var n=r(1907),s=2147483647,i=/[^\\0-\\u007E]/,o=/[.\\u3002\\uFF0E\\uFF61]/g,a="Overflow: input needs wider integers to process",c=RangeError,u=n(o.exec),l=Math.floor,h=String.fromCharCode,f=n("".charCodeAt),p=n([].join),d=n([].push),g=n("".replace),v=n("".split),m=n("".toLowerCase),y=function(t){return t+22+75*(t<26)},_=function(t,e,r){var n=0;for(t=r?l(t/700):t>>1,t+=l(t/e);t>455;)t=l(t/35),n+=36;return l(n+36*t/(t+38))},w=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var s=f(t,r++);if(s>=55296&&s<=56319&&r<n){var i=f(t,r++);56320==(64512&i)?d(e,((1023&s)<<10)+(1023&i)+65536):(d(e,s),r--)}else d(e,s)}return e}(t);var r,n,i=t.length,o=128,u=0,g=72;for(r=0;r<t.length;r++)(n=t[r])<128&&d(e,h(n));var v=e.length,m=v;for(v&&d(e,"-");m<i;){var w=s;for(r=0;r<t.length;r++)(n=t[r])>=o&&n<w&&(w=n);var b=m+1;if(w-o>l((s-u)/b))throw new c(a);for(u+=(w-o)*b,o=w,r=0;r<t.length;r++){if((n=t[r])<o&&++u>s)throw new c(a);if(n===o){for(var S=u,P=36;;){var x=P<=g?1:P>=g+26?26:P-g;if(S<x)break;var O=S-x,R=36-x;d(e,h(y(x+O%R))),S=l(O/R),P+=36}d(e,h(y(S))),g=_(u,b,m===v),u=0,m++}}u++,o++}return p(e,"")};t.exports=function(t){var e,r,n=[],s=v(g(m(t),o,"."),".");for(e=0;e<s.length;e++)r=s[e],d(n,u(i,r)?"xn--"+w(r):r);return p(n,".")}},9846:(t,e,r)=>{"use strict";var n=r(798),s=r(8828),i=r(5951).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4849:(t,e,r)=>{"use strict";var n=r(5482),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},7374:(t,e,r)=>{"use strict";var n=r(6946),s=r(4239);t.exports=function(t){return n(s(t))}},5482:(t,e,r)=>{"use strict";var n=r(1176);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},3121:(t,e,r)=>{"use strict";var n=r(5482),s=Math.min;t.exports=function(t){var e=n(t);return e>0?s(e,9007199254740991):0}},9298:(t,e,r)=>{"use strict";var n=r(4239),s=Object;t.exports=function(t){return s(n(t))}},6028:(t,e,r)=>{"use strict";var n=r(3930),s=r(6285),i=r(5594),o=r(9367),a=r(581),c=r(6264),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,c=o(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!s(r)||i(r))return r;throw new u("Can\'t convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},470:(t,e,r)=>{"use strict";var n=r(6028),s=r(5594);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},2623:(t,e,r)=>{"use strict";var n={};n[r(6264)("toStringTag")]="z",t.exports="[object z]"===String(n)},160:(t,e,r)=>{"use strict";var n=r(3948),s=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return s(t)}},4640:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6499:(t,e,r)=>{"use strict";var n=r(1907),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},4791:(t,e,r)=>{"use strict";var n=r(8828),s=r(6264),i=r(9447),o=r(7376),a=s("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),o&&(!t.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!e.size&&(o||!i)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))},1175:(t,e,r)=>{"use strict";var n=r(9846);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8661:(t,e,r)=>{"use strict";var n=r(9447),s=r(8828);t.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4787:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},551:(t,e,r)=>{"use strict";var n=r(5951),s=r(2250),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},6264:(t,e,r)=>{"use strict";var n=r(5951),s=r(5816),i=r(9724),o=r(6499),a=r(9846),c=r(1175),u=n.Symbol,l=s("wks"),h=c?u.for||u:u&&u.withoutSetter||o;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:h("Symbol."+t)),l[t]}},9363:(t,e,r)=>{"use strict";var n=r(7374),s=r(2156),i=r(3742),o=r(4932),a=r(4284).f,c=r(183),u=r(9550),l=r(7376),h=r(9447),f="Array Iterator",p=o.set,d=o.getterFor(f);t.exports=c(Array,"Array",(function(t,e){p(this,{type:f,target:n(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)}),"values");var g=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&h&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(t){}},2344:(t,e,r)=>{"use strict";var n=r(1091),s=r(5951);n({global:!0,forced:s.globalThis!==s},{globalThis:s})},1074:(t,e,r)=>{"use strict";var n=r(1091),s=r(1907),i=r(4849),o=RangeError,a=String.fromCharCode,c=String.fromCodePoint,u=s([].join);n({target:"String",stat:!0,arity:1,forced:!!c&&1!==c.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,s=0;n>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw new o(e+" is not a valid code point");r[s]=e<65536?a(e):a(55296+((e-=65536)>>10),e%1024+56320)}return u(r,"")}})},7057:(t,e,r)=>{"use strict";var n=r(1470).charAt,s=r(160),i=r(4932),o=r(183),a=r(9550),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(t){u(this,{type:c,string:s(t),index:0})}),(function(){var t,e=l(this),r=e.string,s=e.index;return s>=r.length?a(void 0,!0):(t=n(r,s),e.index+=t.length,a(t,!1))}))},397:(t,e,r)=>{"use strict";r(2344)},2560:(t,e,r)=>{"use strict";r(9363);var n=r(9287),s=r(5951),i=r(4840),o=r(3742);for(var a in n)i(s[a],a),o[a]=o.Array},7105:(t,e,r)=>{"use strict";r(9363),r(1074);var n=r(1091),s=r(5951),i=r(2098),o=r(5582),a=r(3930),c=r(1907),u=r(9447),l=r(4791),h=r(8055),f=r(9251),p=r(2802),d=r(4840),g=r(7181),v=r(4932),m=r(9596),y=r(2250),_=r(9724),w=r(8311),b=r(3948),S=r(6624),P=r(6285),x=r(160),O=r(8075),R=r(5817),k=r(300),M=r(3448),C=r(9550),L=r(4787),A=r(6264),I=r(4321),E=A("iterator"),T="URLSearchParams",j=T+"Iterator",U=v.set,D=v.getterFor(T),F=v.getterFor(j),H=i("fetch"),N=i("Request"),B=i("Headers"),W=N&&N.prototype,$=B&&B.prototype,z=s.TypeError,G=s.encodeURIComponent,q=String.fromCharCode,Y=o("String","fromCodePoint"),V=parseInt,X=c("".charAt),J=c([].join),K=c([].push),Z=c("".replace),Q=c([].shift),tt=c([].splice),et=c("".split),rt=c("".slice),nt=c(/./.exec),st=/\\+/g,it=/^[0-9a-f]+$/i,ot=function(t,e){var r=rt(t,e,e+2);return nt(it,r)?V(r,16):NaN},at=function(t){for(var e=0,r=128;r>0&&t&r;r>>=1)e++;return e},ct=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ut=function(t){for(var e=(t=Z(t,st," ")).length,r="",n=0;n<e;){var s=X(t,n);if("%"===s){if("%"===X(t,n+1)||n+3>e){r+="%",n++;continue}var i=ot(t,n+1);if(i!=i){r+=s,n++;continue}n+=2;var o=at(i);if(0===o)s=q(i);else{if(1===o||o>4){r+="�",n++;continue}for(var a=[i],c=1;c<o&&!(3+ ++n>e||"%"!==X(t,n));){var u=ot(t,n+1);if(u!=u){n+=3;break}if(u>191||u<128)break;K(a,u),n+=2,c++}if(a.length!==o){r+="�";continue}var l=ct(a);null===l?r+="�":s=Y(l)}}r+=s,n++}return r},lt=/[!\'()~]|%20/g,ht={"!":"%21","\'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ft=function(t){return ht[t]},pt=function(t){return Z(G(t),lt,ft)},dt=g((function(t,e){U(this,{type:j,target:D(t).entries,index:0,kind:e})}),T,(function(){var t=F(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,C(void 0,!0);var n=e[r];switch(t.kind){case"keys":return C(n.key,!1);case"values":return C(n.value,!1)}return C([n.key,n.value],!1)}),!0),gt=function(t){this.entries=[],this.url=null,void 0!==t&&(P(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===X(t,0)?rt(t,1):t:x(t)))};gt.prototype={type:T,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,s,i,o,c,u=this.entries,l=M(t);if(l)for(r=(e=k(t,l)).next;!(n=a(r,e)).done;){if(i=(s=k(S(n.value))).next,(o=a(i,s)).done||(c=a(i,s)).done||!a(i,s).done)throw new z("Expected sequence with length 2");K(u,{key:x(o.value),value:x(c.value)})}else for(var h in t)_(t,h)&&K(u,{key:h,value:x(t[h])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,s=et(t,"&"),i=0;i<s.length;)(e=s[i++]).length&&(r=et(e,"="),K(n,{key:ut(Q(r)),value:ut(J(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],K(r,pt(t.key)+"="+pt(t.value));return J(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var vt=function(){m(this,mt);var t=U(this,new gt(arguments.length>0?arguments[0]:void 0));u||(this.size=t.entries.length)},mt=vt.prototype;if(p(mt,{append:function(t,e){var r=D(this);L(arguments.length,2),K(r.entries,{key:x(t),value:x(e)}),u||this.length++,r.updateURL()},delete:function(t){for(var e=D(this),r=L(arguments.length,1),n=e.entries,s=x(t),i=r<2?void 0:arguments[1],o=void 0===i?i:x(i),a=0;a<n.length;){var c=n[a];if(c.key!==s||void 0!==o&&c.value!==o)a++;else if(tt(n,a,1),void 0!==o)break}u||(this.size=n.length),e.updateURL()},get:function(t){var e=D(this).entries;L(arguments.length,1);for(var r=x(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=D(this).entries;L(arguments.length,1);for(var r=x(t),n=[],s=0;s<e.length;s++)e[s].key===r&&K(n,e[s].value);return n},has:function(t){for(var e=D(this).entries,r=L(arguments.length,1),n=x(t),s=r<2?void 0:arguments[1],i=void 0===s?s:x(s),o=0;o<e.length;){var a=e[o++];if(a.key===n&&(void 0===i||a.value===i))return!0}return!1},set:function(t,e){var r=D(this);L(arguments.length,1);for(var n,s=r.entries,i=!1,o=x(t),a=x(e),c=0;c<s.length;c++)(n=s[c]).key===o&&(i?tt(s,c--,1):(i=!0,n.value=a));i||K(s,{key:o,value:a}),u||(this.size=s.length),r.updateURL()},sort:function(){var t=D(this);I(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=D(this).entries,n=w(t,arguments.length>1?arguments[1]:void 0),s=0;s<r.length;)n((e=r[s++]).value,e.key,this)},keys:function(){return new dt(this,"keys")},values:function(){return new dt(this,"values")},entries:function(){return new dt(this,"entries")}},{enumerable:!0}),h(mt,E,mt.entries,{name:"entries"}),h(mt,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),u&&f(mt,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),d(vt,T),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:vt}),!l&&y(B)){var yt=c($.has),_t=c($.set),wt=function(t){if(P(t)){var e,r=t.body;if(b(r)===T)return e=t.headers?new B(t.headers):new B,yt(e,"content-type")||_t(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(t,{body:R(0,x(r)),headers:R(0,e)})}return t};if(y(H)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return H(t,arguments.length>1?wt(arguments[1]):{})}}),y(N)){var bt=function(t){return m(this,W),new N(t,arguments.length>1?wt(arguments[1]):{})};W.constructor=bt,bt.prototype=W,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:bt})}}t.exports={URLSearchParams:vt,getState:D}},5042:()=>{},7649:()=>{},6299:(t,e,r)=>{"use strict";r(7105)},3604:()=>{},8669:(t,e,r)=>{"use strict";var n=r(1091),s=r(5582),i=r(8828),o=r(4787),a=r(160),c=r(4791),u=s("URL"),l=c&&i((function(){u.canParse()})),h=i((function(){return 1!==u.canParse.length}));n({target:"URL",stat:!0,forced:!l||h},{canParse:function(t){var e=o(arguments.length,1),r=a(t),n=e<2||void 0===arguments[1]?void 0:a(arguments[1]);try{return!!new u(r,n)}catch(t){return!1}}})},6909:(t,e,r)=>{"use strict";r(7057);var n,s=r(1091),i=r(9447),o=r(4791),a=r(5951),c=r(8311),u=r(1907),l=r(8055),h=r(9251),f=r(9596),p=r(9724),d=r(9538),g=r(1229),v=r(3427),m=r(1470).codeAt,y=r(9156),_=r(160),w=r(4840),b=r(4787),S=r(7105),P=r(4932),x=P.set,O=P.getterFor("URL"),R=S.URLSearchParams,k=S.getState,M=a.URL,C=a.TypeError,L=a.parseInt,A=Math.floor,I=Math.pow,E=u("".charAt),T=u(/./.exec),j=u([].join),U=u(1..toString),D=u([].pop),F=u([].push),H=u("".replace),N=u([].shift),B=u("".split),W=u("".slice),$=u("".toLowerCase),z=u([].unshift),G="Invalid scheme",q="Invalid host",Y="Invalid port",V=/[a-z]/i,X=/[\\d+-.a-z]/i,J=/\\d/,K=/^0x/i,Z=/^[0-7]+$/,Q=/^\\d+$/,tt=/^[\\da-f]+$/i,et=/[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/,rt=/[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/,nt=/^[\\u0000-\\u0020]+/,st=/(^|[^\\u0000-\\u0020])[\\u0000-\\u0020]+$/,it=/[\\t\\n\\r]/g,ot=function(t){var e,r,n,s;if("number"==typeof t){for(e=[],r=0;r<4;r++)z(e,t%256),t=A(t/256);return j(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,s=0,i=0;i<8;i++)0!==t[i]?(s>r&&(e=n,r=s),n=null,s=0):(null===n&&(n=i),++s);return s>r?n:e}(t),r=0;r<8;r++)s&&0===t[r]||(s&&(s=!1),n===r?(e+=r?":":"::",s=!0):(e+=U(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},at={},ct=d({},at,{" ":1,\'"\':1,"<":1,">":1,"`":1}),ut=d({},ct,{"#":1,"?":1,"{":1,"}":1}),lt=d({},ut,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\\\":1,"]":1,"^":1,"|":1}),ht=function(t,e){var r=m(t,0);return r>32&&r<127&&!p(e,t)?t:encodeURIComponent(t)},ft={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pt=function(t,e){var r;return 2===t.length&&T(V,E(t,0))&&(":"===(r=E(t,1))||!e&&"|"===r)},dt=function(t){var e;return t.length>1&&pt(W(t,0,2))&&(2===t.length||"/"===(e=E(t,2))||"\\\\"===e||"?"===e||"#"===e)},gt=function(t){return"."===t||"%2e"===$(t)},vt={},mt={},yt={},_t={},wt={},bt={},St={},Pt={},xt={},Ot={},Rt={},kt={},Mt={},Ct={},Lt={},At={},It={},Et={},Tt={},jt={},Ut={},Dt=function(t,e,r){var n,s,i,o=_(t);if(e){if(s=this.parse(o))throw new C(s);this.searchParams=null}else{if(void 0!==r&&(n=new Dt(r,!0)),s=this.parse(o,null,n))throw new C(s);(i=k(new R)).bindURL(this),this.searchParams=i}};Dt.prototype={type:"URL",parse:function(t,e,r){var s,i,o,a,c,u=this,l=e||vt,h=0,f="",d=!1,m=!1,y=!1;for(t=_(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=H(t,nt,""),t=H(t,st,"$1")),t=H(t,it,""),s=g(t);h<=s.length;){switch(i=s[h],l){case vt:if(!i||!T(V,i)){if(e)return G;l=yt;continue}f+=$(i),l=mt;break;case mt:if(i&&(T(X,i)||"+"===i||"-"===i||"."===i))f+=$(i);else{if(":"!==i){if(e)return G;f="",l=yt,h=0;continue}if(e&&(u.isSpecial()!==p(ft,f)||"file"===f&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=f,e)return void(u.isSpecial()&&ft[u.scheme]===u.port&&(u.port=null));f="","file"===u.scheme?l=Ct:u.isSpecial()&&r&&r.scheme===u.scheme?l=_t:u.isSpecial()?l=Pt:"/"===s[h+1]?(l=wt,h++):(u.cannotBeABaseURL=!0,F(u.path,""),l=Tt)}break;case yt:if(!r||r.cannotBeABaseURL&&"#"!==i)return G;if(r.cannotBeABaseURL&&"#"===i){u.scheme=r.scheme,u.path=v(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,l=Ut;break}l="file"===r.scheme?Ct:bt;continue;case _t:if("/"!==i||"/"!==s[h+1]){l=bt;continue}l=xt,h++;break;case wt:if("/"===i){l=Ot;break}l=Et;continue;case bt: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=v(r.path),u.query=r.query;else if("/"===i||"\\\\"===i&&u.isSpecial())l=St;else if("?"===i)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=v(r.path),u.query="",l=jt;else{if("#"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=v(r.path),u.path.length--,l=Et;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=v(r.path),u.query=r.query,u.fragment="",l=Ut}break;case St:if(!u.isSpecial()||"/"!==i&&"\\\\"!==i){if("/"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,l=Et;continue}l=Ot}else l=xt;break;case Pt:if(l=xt,"/"!==i||"/"!==E(f,h+1))continue;h++;break;case xt:if("/"!==i&&"\\\\"!==i){l=Ot;continue}break;case Ot:if("@"===i){d&&(f="%40"+f),d=!0,o=g(f);for(var w=0;w<o.length;w++){var b=o[w];if(":"!==b||y){var S=ht(b,lt);y?u.password+=S:u.username+=S}else y=!0}f=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\\\"===i&&u.isSpecial()){if(d&&""===f)return"Invalid authority";h-=g(f).length+1,f="",l=Rt}else f+=i;break;case Rt:case kt:if(e&&"file"===u.scheme){l=At;continue}if(":"!==i||m){if(i===n||"/"===i||"?"===i||"#"===i||"\\\\"===i&&u.isSpecial()){if(u.isSpecial()&&""===f)return q;if(e&&""===f&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(f))return a;if(f="",l=It,e)return;continue}"["===i?m=!0:"]"===i&&(m=!1),f+=i}else{if(""===f)return q;if(a=u.parseHost(f))return a;if(f="",l=Mt,e===kt)return}break;case Mt:if(!T(J,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\\\"===i&&u.isSpecial()||e){if(""!==f){var P=L(f,10);if(P>65535)return Y;u.port=u.isSpecial()&&P===ft[u.scheme]?null:P,f=""}if(e)return;l=It;continue}return Y}f+=i;break;case Ct:if(u.scheme="file","/"===i||"\\\\"===i)l=Lt;else{if(!r||"file"!==r.scheme){l=Et;continue}switch(i){case n:u.host=r.host,u.path=v(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=v(r.path),u.query="",l=jt;break;case"#":u.host=r.host,u.path=v(r.path),u.query=r.query,u.fragment="",l=Ut;break;default:dt(j(v(s,h),""))||(u.host=r.host,u.path=v(r.path),u.shortenPath()),l=Et;continue}}break;case Lt:if("/"===i||"\\\\"===i){l=At;break}r&&"file"===r.scheme&&!dt(j(v(s,h),""))&&(pt(r.path[0],!0)?F(u.path,r.path[0]):u.host=r.host),l=Et;continue;case At:if(i===n||"/"===i||"\\\\"===i||"?"===i||"#"===i){if(!e&&pt(f))l=Et;else if(""===f){if(u.host="",e)return;l=It}else{if(a=u.parseHost(f))return a;if("localhost"===u.host&&(u.host=""),e)return;f="",l=It}continue}f+=i;break;case It:if(u.isSpecial()){if(l=Et,"/"!==i&&"\\\\"!==i)continue}else if(e||"?"!==i)if(e||"#"!==i){if(i!==n&&(l=Et,"/"!==i))continue}else u.fragment="",l=Ut;else u.query="",l=jt;break;case Et:if(i===n||"/"===i||"\\\\"===i&&u.isSpecial()||!e&&("?"===i||"#"===i)){if(".."===(c=$(c=f))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(u.shortenPath(),"/"===i||"\\\\"===i&&u.isSpecial()||F(u.path,"")):gt(f)?"/"===i||"\\\\"===i&&u.isSpecial()||F(u.path,""):("file"===u.scheme&&!u.path.length&&pt(f)&&(u.host&&(u.host=""),f=E(f,0)+":"),F(u.path,f)),f="","file"===u.scheme&&(i===n||"?"===i||"#"===i))for(;u.path.length>1&&""===u.path[0];)N(u.path);"?"===i?(u.query="",l=jt):"#"===i&&(u.fragment="",l=Ut)}else f+=ht(i,ut);break;case Tt:"?"===i?(u.query="",l=jt):"#"===i?(u.fragment="",l=Ut):i!==n&&(u.path[0]+=ht(i,at));break;case jt:e||"#"!==i?i!==n&&("\'"===i&&u.isSpecial()?u.query+="%27":u.query+="#"===i?"%23":ht(i,at)):(u.fragment="",l=Ut);break;case Ut:i!==n&&(u.fragment+=ht(i,ct))}h++}},parseHost:function(t){var e,r,n;if("["===E(t,0)){if("]"!==E(t,t.length-1))return q;if(e=function(t){var e,r,n,s,i,o,a,c=[0,0,0,0,0,0,0,0],u=0,l=null,h=0,f=function(){return E(t,h)};if(":"===f()){if(":"!==E(t,1))return;h+=2,l=++u}for(;f();){if(8===u)return;if(":"!==f()){for(e=r=0;r<4&&T(tt,f());)e=16*e+L(f(),16),h++,r++;if("."===f()){if(0===r)return;if(h-=r,u>6)return;for(n=0;f();){if(s=null,n>0){if(!("."===f()&&n<4))return;h++}if(!T(J,f()))return;for(;T(J,f());){if(i=L(f(),10),null===s)s=i;else{if(0===s)return;s=10*s+i}if(s>255)return;h++}c[u]=256*c[u]+s,2!=++n&&4!==n||u++}if(4!==n)return;break}if(":"===f()){if(h++,!f())return}else if(f())return;c[u++]=e}else{if(null!==l)return;h++,l=++u}}if(null!==l)for(o=u-l,u=7;0!==u&&o>0;)a=c[u],c[u--]=c[l+o-1],c[l+--o]=a;else if(8!==u)return;return c}(W(t,1,-1)),!e)return q;this.host=e}else if(this.isSpecial()){if(t=y(t),T(et,t))return q;if(e=function(t){var e,r,n,s,i,o,a,c=B(t,".");if(c.length&&""===c[c.length-1]&&c.length--,(e=c.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(s=c[n]))return t;if(i=10,s.length>1&&"0"===E(s,0)&&(i=T(K,s)?16:8,s=W(s,8===i?1:2)),""===s)o=0;else{if(!T(10===i?Q:8===i?Z:tt,s))return t;o=L(s,i)}F(r,o)}for(n=0;n<e;n++)if(o=r[n],n===e-1){if(o>=I(256,5-e))return null}else if(o>255)return null;for(a=D(r),n=0;n<r.length;n++)a+=r[n]*I(256,3-n);return a}(t),null===e)return q;this.host=e}else{if(T(rt,t))return q;for(e="",r=g(t),n=0;n<r.length;n++)e+=ht(r[n],at);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return p(ft,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&pt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,s=t.host,i=t.port,o=t.path,a=t.query,c=t.fragment,u=e+":";return null!==s?(u+="//",t.includesCredentials()&&(u+=r+(n?":"+n:"")+"@"),u+=ot(s),null!==i&&(u+=":"+i)):"file"===e&&(u+="//"),u+=t.cannotBeABaseURL?o[0]:o.length?"/"+j(o,"/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},setHref:function(t){var e=this.parse(t);if(e)throw new C(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Ft(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+ot(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(_(t)+":",vt)},getUsername:function(){return this.username},setUsername:function(t){var e=g(_(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=ht(e[r],lt)}},getPassword:function(){return this.password},setPassword:function(t){var e=g(_(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=ht(e[r],lt)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ot(t):ot(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Rt)},getHostname:function(){var t=this.host;return null===t?"":ot(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,kt)},getPort:function(){var t=this.port;return null===t?"":_(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=_(t))?this.port=null:this.parse(t,Mt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+j(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,It))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=_(t))?this.query=null:("?"===E(t,0)&&(t=W(t,1)),this.query="",this.parse(t,jt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=_(t))?("#"===E(t,0)&&(t=W(t,1)),this.fragment="",this.parse(t,Ut)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ft=function(t){var e=f(this,Ht),r=b(arguments.length,1)>1?arguments[1]:void 0,n=x(e,new Dt(t,!1,r));i||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Ht=Ft.prototype,Nt=function(t,e){return{get:function(){return O(this)[t]()},set:e&&function(t){return O(this)[e](t)},configurable:!0,enumerable:!0}};if(i&&(h(Ht,"href",Nt("serialize","setHref")),h(Ht,"origin",Nt("getOrigin")),h(Ht,"protocol",Nt("getProtocol","setProtocol")),h(Ht,"username",Nt("getUsername","setUsername")),h(Ht,"password",Nt("getPassword","setPassword")),h(Ht,"host",Nt("getHost","setHost")),h(Ht,"hostname",Nt("getHostname","setHostname")),h(Ht,"port",Nt("getPort","setPort")),h(Ht,"pathname",Nt("getPathname","setPathname")),h(Ht,"search",Nt("getSearch","setSearch")),h(Ht,"searchParams",Nt("getSearchParams")),h(Ht,"hash",Nt("getHash","setHash"))),l(Ht,"toJSON",(function(){return O(this).serialize()}),{enumerable:!0}),l(Ht,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),M){var Bt=M.createObjectURL,Wt=M.revokeObjectURL;Bt&&l(Ft,"createObjectURL",c(Bt,M)),Wt&&l(Ft,"revokeObjectURL",c(Wt,M))}w(Ft,"URL"),s({global:!0,constructor:!0,forced:!o,sham:!i},{URL:Ft})},3487:(t,e,r)=>{"use strict";r(6909)},8670:(t,e,r)=>{"use strict";var n=r(1091),s=r(5582),i=r(4787),o=r(160),a=r(4791),c=s("URL");n({target:"URL",stat:!0,forced:!a},{parse:function(t){var e=i(arguments.length,1),r=o(t),n=e<2||void 0===arguments[1]?void 0:o(arguments[1]);try{return new c(r,n)}catch(t){return null}}})},4783:()=>{},1960:(t,e,r)=>{"use strict";var n=r(2671);t.exports=n},8348:(t,e,r)=>{"use strict";var n=r(9076);r(2560),t.exports=n},9792:(t,e,r)=>{"use strict";var n=r(6908);t.exports=n},9076:(t,e,r)=>{"use strict";r(6299),r(5042),r(7649),r(3604);var n=r(2046);t.exports=n.URLSearchParams},6908:(t,e,r)=>{"use strict";r(9076),r(3487),r(8669),r(8670),r(4783);var n=r(2046);t.exports=n.URL}},e={};function r(n){var s=e[n];if(void 0!==s)return s.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t,e=r(2601),n=r.n(e);class s{static setConnection(t){this.connection=t}static setLogger(t){this.logger=t}static setConnectionError(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.connectionError=t}static sendAll(){this.connection&&this.cache.length>0&&(this.sendMonitor(this.cache.join("")),this.cache=[])}static cleanUp(){this.connection=void 0,this.logger&&this.cache.length&&(this.sendMonitor(this.cache.join("")),this.cache=[])}static addMonitor(t,e){var r;this.timeBase||(this.timeBase=Date.now(),this.cache.push("STARTTPMONITOR".concat(this.timeBase,"(0)")));const n="".concat(t,"(").concat(Math.ceil(Date.now()-this.timeBase),")");e?(null===(r=this.logger)||void 0===r||r.call(this,t),this.connection?this.sendMonitor(n):this.cache.push(n)):this.cache.push(n)}static transform(t){return"WCL_M,TP;"+t.replace(/,/g,"-")}static sendMonitor(t){if(this.connection){const e={evt:4167,seq:1,body:{data:this.transform(t)}};this.connection.send(JSON.stringify(e))}this.logger&&this.connectionError&&this.logger(t)}static startMonitor(){setInterval((()=>{this.cache.length>0&&(this.connection||this.logger&&this.connectionError)&&(this.sendMonitor(this.cache.join("")),this.cache=[])}),1e4)}}s.cache=[],s.connectionError=!1,s.timeBase=0;const i=(t="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(e){var r,n;(e=void 0!==(e=e||{})?e:{}).ready=new Promise((function(t,e){r=t,n=e}));var s,i=Object.assign({},e),o=[],a="./this.program",c="";c=self.location.href,t&&(c=t),c=0!==c.indexOf("blob:")?c.substr(0,c.replace(/[?#].*/,"").lastIndexOf("/")+1):"",s=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)};var u,l,h=e.print||console.log.bind(console),f=e.printErr||console.warn.bind(console);Object.assign(e,i),i=null,e.arguments&&(o=e.arguments),e.thisProgram&&(a=e.thisProgram),e.quit&&e.quit,e.wasmBinary&&(u=e.wasmBinary),e.noExitRuntime,"object"!=typeof WebAssembly&&F("no native wasm support detected");var p=!1;function d(t,e){t||F(e)}var g,v,m,y,_,w,b,S,P="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function x(t,e,r){for(var n=e+r,s=e;t[s]&&!(s>=n);)++s;if(s-e>16&&t.buffer&&P)return P.decode(t.subarray(e,s));for(var i="";e<s;){var o=t[e++];if(128&o){var a=63&t[e++];if(192!=(224&o)){var c=63&t[e++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&t[e++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function O(t,e){return t?x(m,t,e):""}function R(t,e,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-1,o=0;o<t.length;++o){var a=t.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),a<=127){if(r>=i)break;e[r++]=a}else if(a<=2047){if(r+1>=i)break;e[r++]=192|a>>6,e[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;e[r++]=224|a>>12,e[r++]=128|a>>6&63,e[r++]=128|63&a}else{if(r+3>=i)break;e[r++]=240|a>>18,e[r++]=128|a>>12&63,e[r++]=128|a>>6&63,e[r++]=128|63&a}}return e[r]=0,r-s}function k(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e}function M(t){g=t,e.HEAP8=v=new Int8Array(t),e.HEAP16=y=new Int16Array(t),e.HEAP32=w=new Int32Array(t),e.HEAPU8=m=new Uint8Array(t),e.HEAPU16=_=new Uint16Array(t),e.HEAPU32=b=new Uint32Array(t),e.HEAPF32=new Float32Array(t),e.HEAPF64=S=new Float64Array(t)}var C=e.INITIAL_MEMORY||20971520;(l=e.wasmMemory?e.wasmMemory:new WebAssembly.Memory({initial:C/65536,maximum:2048}))&&(g=l.buffer),C=g.byteLength,M(g);var L,A,I=[],E=[],T=[],j=0,U=null,D=null;function F(t){e.onAbort&&e.onAbort(t),f(t="Aborted("+t+")"),p=!0,t+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(t);throw n(r),r}function H(t){return t.startsWith("data:application/octet-stream;base64,")}function N(t){try{if(t==L&&u)return new Uint8Array(u);if(s)return s(t);throw"both async and sync fetching of the wasm failed"}catch(t){F(t)}}H(L="tp.wasm")||(A=L,L=e.locateFile?e.locateFile(A,c):c+A);var B={63060:t=>{js_helper_destoryed(t)},63089:(t,e)=>{js_wss_connect(t,e)},63117:(t,e,r)=>{js_wss_send(t,e,r)},63146:t=>{js_wss_close(t)},63168:(t,e,r)=>{js_app_on_message(t,e,r)},63203:(t,e)=>{js_app_on_connect(t,e)},63234:(t,e)=>{js_app_on_close(t,e)},63263:(t,e,r)=>{on_socket_monitor(t,e,r)},63298:(t,e)=>{LOG_OUT(t,e)},63319:(t,e)=>{wcl_trace_log(t,e)}};function W(t){for(;t.length>0;)t.shift()(e)}function $(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){b[this.ptr+4>>2]=t},this.get_type=function(){return b[this.ptr+4>>2]},this.set_destructor=function(t){b[this.ptr+8>>2]=t},this.get_destructor=function(){return b[this.ptr+8>>2]},this.set_refcount=function(t){w[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,v[this.ptr+12|0]=t},this.get_caught=function(){return 0!=v[this.ptr+12|0]},this.set_rethrown=function(t){t=t?1:0,v[this.ptr+13|0]=t},this.get_rethrown=function(){return 0!=v[this.ptr+13|0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=w[this.ptr>>2];w[this.ptr>>2]=t+1},this.release_ref=function(){var t=w[this.ptr>>2];return w[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){b[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return b[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Mt(this.get_type()))return b[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}function z(){f("missing function: $SOCKFS"),F(-1)}function G(){f("missing function: $FS"),F(-1)}function q(t){var e=z.getSocket(t);if(!e)throw new G.ErrnoError(8);return e}function Y(t){for(var e=t.split("."),r=0;r<4;r++){var n=Number(e[r]);if(isNaN(n))return null;e[r]=n}return(e[0]|e[1]<<8|e[2]<<16|e[3]<<24)>>>0}function V(t){return parseInt(t)}function X(t){var e,r,n,s,i=[];if(!/^((?=.*::)(?!.*::.+::)(::)?([\\dA-F]{1,4}:(:|\\b)|){5}|([\\dA-F]{1,4}:){6})((([\\dA-F]{1,4}((?!\\3)::|:\\b|$))|(?!\\2\\3)){2}|(((2[0-4]|1\\d|[1-9])?\\d|25[0-5])\\.?\\b){4})$/i.test(t))return null;if("::"===t)return[0,0,0,0,0,0,0,0];for((t=t.startsWith("::")?t.replace("::","Z:"):t.replace("::",":Z:")).indexOf(".")>0?((e=(t=t.replace(new RegExp("[.]","g"),":")).split(":"))[e.length-4]=V(e[e.length-4])+256*V(e[e.length-3]),e[e.length-3]=V(e[e.length-2])+256*V(e[e.length-1]),e=e.slice(0,e.length-2)):e=t.split(":"),n=0,s=0,r=0;r<e.length;r++)if("string"==typeof e[r])if("Z"===e[r]){for(s=0;s<8-e.length+1;s++)i[r+s]=0;n=s-1}else i[r+n]=Pt(parseInt(e[r],16));else i[r+n]=e[r];return[i[1]<<16|i[0],i[3]<<16|i[2],i[5]<<16|i[4],i[7]<<16|i[6]]}function J(t,e){return m.fill(0,t,t+e),t}function K(t,e,r,n,s){switch(e){case 2:r=Y(r),J(t,16),s&&(w[s>>2]=16),y[t>>1]=e,w[t+4>>2]=r,y[t+2>>1]=Pt(n);break;case 10:r=X(r),J(t,28),s&&(w[s>>2]=28),w[t>>2]=e,w[t+8>>2]=r[0],w[t+12>>2]=r[1],w[t+16>>2]=r[2],w[t+20>>2]=r[3],y[t+2>>1]=Pt(n);break;default:return 5}return 0}var Z={address_map:{id:1,addrs:{},names:{}},lookup_name:function(t){var e,r=Y(t);if(null!==r)return t;if(null!==(r=X(t)))return t;if(Z.address_map.addrs[t])e=Z.address_map.addrs[t];else{var n=Z.address_map.id++;d(n<65535,"exceeded max address mappings of 65535"),e="172.29."+(255&n)+"."+(65280&n),Z.address_map.names[e]=t,Z.address_map.addrs[t]=e}return e},lookup_addr:function(t){return Z.address_map.names[t]?Z.address_map.names[t]:null}},Q={varargs:void 0,get:function(){return Q.varargs+=4,w[Q.varargs-4>>2]},getStr:function(t){return O(t)}};function tt(t){return(255&t)+"."+(t>>8&255)+"."+(t>>16&255)+"."+(t>>24&255)}function et(t){var e="",r=0,n=0,s=0,i=0,o=0,a=0,c=[65535&t[0],t[0]>>16,65535&t[1],t[1]>>16,65535&t[2],t[2]>>16,65535&t[3],t[3]>>16],u=!0,l="";for(a=0;a<5;a++)if(0!==c[a]){u=!1;break}if(u){if(l=tt(c[6]|c[7]<<16),-1===c[5])return(e="::ffff:")+l;if(0===c[5])return"0.0.0.0"===l&&(l=""),"0.0.0.1"===l&&(l="1"),(e="::")+l}for(r=0;r<8;r++)0===c[r]&&(r-s>1&&(o=0),s=r,o++),o>n&&(i=r-(n=o)+1);for(r=0;r<8;r++)n>1&&0===c[r]&&r>=i&&r<i+n?r===i&&(e+=":",0===i&&(e+=":")):(e+=Number(bt(65535&c[r])).toString(16),e+=r<7?":":"");return e}function rt(t,e){var r,n=y[t>>1],s=bt(_[t+2>>1]);switch(n){case 2:if(16!==e)return{errno:28};r=tt(r=w[t+4>>2]);break;case 10:if(28!==e)return{errno:28};r=et(r=[w[t+8>>2],w[t+12>>2],w[t+16>>2],w[t+20>>2]]);break;default:return{errno:5}}return{family:n,addr:r,port:s}}function nt(t){return b[t>>2]+4294967296*w[t+4>>2]}function st(t){return t%4==0&&(t%100!=0||t%400==0)}var it=[0,31,60,91,121,152,182,213,244,274,305,335],ot=[0,31,59,90,120,151,181,212,243,273,304,334];function at(t){var e=k(t)+1,r=xt(e);return r&&R(t,v,r,e),r}var ct=[];function ut(t){try{return l.grow(t-g.byteLength+65535>>>16),M(l.buffer),1}catch(t){}}var lt={};function ht(){if(!ht.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var e in lt)void 0===lt[e]?delete t[e]:t[e]=lt[e];var r=[];for(var e in t)r.push(e+"="+t[e]);ht.strings=r}return ht.strings}var ft=[null,[],[]];function pt(t,e){var r=ft[t];0===e||10===e?((1===t?h:f)(x(r,0)),r.length=0):r.push(e)}var dt=[31,29,31,30,31,30,31,31,30,31,30,31],gt=[31,28,31,30,31,30,31,31,30,31,30,31];function vt(t,e){v.set(t,e)}function mt(t,e,r,n){var s=w[n+40>>2],i={tm_sec:w[n>>2],tm_min:w[n+4>>2],tm_hour:w[n+8>>2],tm_mday:w[n+12>>2],tm_mon:w[n+16>>2],tm_year:w[n+20>>2],tm_wday:w[n+24>>2],tm_yday:w[n+28>>2],tm_isdst:w[n+32>>2],tm_gmtoff:w[n+36>>2],tm_zone:s?O(s):""},o=O(r),a={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var c in a)o=o.replace(new RegExp(c,"g"),a[c]);var u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],l=["January","February","March","April","May","June","July","August","September","October","November","December"];function h(t,e,r){for(var n="number"==typeof t?t.toString():t||"";n.length<e;)n=r[0]+n;return n}function f(t,e){return h(t,e,"0")}function p(t,e){function r(t){return t<0?-1:t>0?1:0}var n;return 0===(n=r(t.getFullYear()-e.getFullYear()))&&0===(n=r(t.getMonth()-e.getMonth()))&&(n=r(t.getDate()-e.getDate())),n}function d(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function g(t){var e=function(t,e){for(var r=new Date(t.getTime());e>0;){var n=st(r.getFullYear()),s=r.getMonth(),i=(n?dt:gt)[s];if(!(e>i-r.getDate()))return r.setDate(r.getDate()+e),r;e-=i-r.getDate()+1,r.setDate(1),s<11?r.setMonth(s+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r}(new Date(t.tm_year+1900,0,1),t.tm_yday),r=new Date(e.getFullYear(),0,4),n=new Date(e.getFullYear()+1,0,4),s=d(r),i=d(n);return p(s,e)<=0?p(i,e)<=0?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var v={"%a":function(t){return u[t.tm_wday].substring(0,3)},"%A":function(t){return u[t.tm_wday]},"%b":function(t){return l[t.tm_mon].substring(0,3)},"%B":function(t){return l[t.tm_mon]},"%C":function(t){return f((t.tm_year+1900)/100|0,2)},"%d":function(t){return f(t.tm_mday,2)},"%e":function(t){return h(t.tm_mday,2," ")},"%g":function(t){return g(t).toString().substring(2)},"%G":function(t){return g(t)},"%H":function(t){return f(t.tm_hour,2)},"%I":function(t){var e=t.tm_hour;return 0==e?e=12:e>12&&(e-=12),f(e,2)},"%j":function(t){return f(t.tm_mday+function(t,e){for(var r=0,n=0;n<=e;r+=t[n++]);return r}(st(t.tm_year+1900)?dt:gt,t.tm_mon-1),3)},"%m":function(t){return f(t.tm_mon+1,2)},"%M":function(t){return f(t.tm_min,2)},"%n":function(){return"\\n"},"%p":function(t){return t.tm_hour>=0&&t.tm_hour<12?"AM":"PM"},"%S":function(t){return f(t.tm_sec,2)},"%t":function(){return"\\t"},"%u":function(t){return t.tm_wday||7},"%U":function(t){var e=t.tm_yday+7-t.tm_wday;return f(Math.floor(e/7),2)},"%V":function(t){var e=Math.floor((t.tm_yday+7-(t.tm_wday+6)%7)/7);if((t.tm_wday+371-t.tm_yday-2)%7<=2&&e++,e){if(53==e){var r=(t.tm_wday+371-t.tm_yday)%7;4==r||3==r&&st(t.tm_year)||(e=1)}}else{e=52;var n=(t.tm_wday+7-t.tm_yday-1)%7;(4==n||5==n&&st(t.tm_year%400-1))&&e++}return f(e,2)},"%w":function(t){return t.tm_wday},"%W":function(t){var e=t.tm_yday+7-(t.tm_wday+6)%7;return f(Math.floor(e/7),2)},"%y":function(t){return(t.tm_year+1900).toString().substring(2)},"%Y":function(t){return t.tm_year+1900},"%z":function(t){var e=t.tm_gmtoff,r=e>=0;return e=(e=Math.abs(e)/60)/60*100+e%60,(r?"+":"-")+String("0000"+e).slice(-4)},"%Z":function(t){return t.tm_zone},"%%":function(){return"%"}};for(var c in o=o.replace(/%%/g,"\\0\\0"),v)o.includes(c)&&(o=o.replace(new RegExp(c,"g"),v[c](i)));var m,y,_,b=(y=k(m=o=o.replace(/\\0\\0/g,"%"))+1,R(m,_=new Array(y),0,_.length),_);return b.length>e?0:(vt(b,t),b.length-1)}function yt(t){return e["_"+t]}var _t,wt={h:function(t){return xt(t+24)+24},g:function(t,e,r){throw new $(t).init(e,r),t},K:function(t,e,r,n){var s=q(t),i=s.sock_ops.accept(s);return e&&K(e,i.family,Z.lookup_name(i.daddr),i.dport,r),i.stream.fd},J:function(t,e,r){var n=q(t),s=function(t,e){var r=rt(t,e);if(r.errno)throw new G.ErrnoError(r.errno);return r.addr=Z.lookup_addr(r.addr)||r.addr,r}(e,r);return n.sock_ops.bind(n,s.addr,s.port),0},b:function(t,e,r){return Q.varargs=r,0},I:function(t,e){},H:function(t,e,r){f("__syscall_getsockname "+t);var n=q(t);return K(e,n.family,Z.lookup_name(n.saddr||"0.0.0.0"),n.sport,r),0},G:function(t,e,r,n,s){var i=q(t);return 1===e&&4===r?(w[n>>2]=i.error,w[s>>2]=4,i.error=null,0):-50},m:function(t,e,r){return Q.varargs=r,0},F:function(t,e){var r=q(t);return r.sock_ops.listen(r,e),0},E:function(t,e,r){},l:function(t,e,r,n){Q.varargs=n},D:function(t){},C:function(t,e,r){},B:function(t,e,r,n,s,i){var o=q(t),a=o.sock_ops.recvmsg(o,r);return a?(s&&K(s,o.family,Z.lookup_name(a.addr),a.port,i),m.set(a.buffer,e),a.buffer.byteLength):0},A:function(t,e,r){var n,s,i=q(t),o=b[e+8>>2],a=w[e+12>>2],c=b[e>>2],u=w[e+4>>2];if(c){var l=rt(c,u);if(l.errno)return-l.errno;s=l.port,n=Z.lookup_addr(l.addr)||l.addr}for(var h=0,f=0;f<a;f++)h+=w[o+(8*f+4)>>2];var p=new Uint8Array(h),d=0;for(f=0;f<a;f++)for(var g=b[o+(8*f+0)>>2],m=w[o+(8*f+4)>>2],y=0;y<m;y++)p[d++]=v[g+y|0];return i.sock_ops.sendmsg(i,p,0,h,n,s)},k:function(t,e,r){},x:function(){return!0},w:function(t,e){var r=new Date(1e3*nt(t));w[e>>2]=r.getUTCSeconds(),w[e+4>>2]=r.getUTCMinutes(),w[e+8>>2]=r.getUTCHours(),w[e+12>>2]=r.getUTCDate(),w[e+16>>2]=r.getUTCMonth(),w[e+20>>2]=r.getUTCFullYear()-1900,w[e+24>>2]=r.getUTCDay();var n=Date.UTC(r.getUTCFullYear(),0,1,0,0,0,0),s=(r.getTime()-n)/864e5|0;w[e+28>>2]=s},v:function(t,e){var r=new Date(1e3*nt(t));w[e>>2]=r.getSeconds(),w[e+4>>2]=r.getMinutes(),w[e+8>>2]=r.getHours(),w[e+12>>2]=r.getDate(),w[e+16>>2]=r.getMonth(),w[e+20>>2]=r.getFullYear()-1900,w[e+24>>2]=r.getDay();var n=0|function(t){return(st(t.getFullYear())?it:ot)[t.getMonth()]+t.getDate()-1}(r);w[e+28>>2]=n,w[e+36>>2]=-60*r.getTimezoneOffset();var s=new Date(r.getFullYear(),0,1),i=new Date(r.getFullYear(),6,1).getTimezoneOffset(),o=s.getTimezoneOffset(),a=0|(i!=o&&r.getTimezoneOffset()==Math.min(o,i));w[e+32>>2]=a},u:function(t,e,r){var n=(new Date).getFullYear(),s=new Date(n,0,1),i=new Date(n,6,1),o=s.getTimezoneOffset(),a=i.getTimezoneOffset(),c=Math.max(o,a);function u(t){var e=t.toTimeString().match(/\\(([A-Za-z ]+)\\)$/);return e?e[1]:"GMT"}b[t>>2]=60*c,w[e>>2]=Number(o!=a);var l=u(s),h=u(i),f=at(l),p=at(h);a<o?(b[r>>2]=f,b[r+4>>2]=p):(b[r>>2]=p,b[r+4>>2]=f)},i:function(){F("")},c:function(t,e,r){return function(t,e,r){var n=function(t,e){var r;for(ct.length=0,e>>=2;r=m[t++];)e+=105!=r&e,ct.push(105==r?w[e]:S[e++>>1]),++e;return ct}(e,r);return B[t].apply(null,n)}(t,e,r)},e:function(){return Date.now()},t:function(t,e,r){m.copyWithin(t,e,e+r)},s:function(t){var e,r=m.length,n=134217728;if((t>>>=0)>n)return self.wasm_memory_alert(t,n),!1;for(var s=1;s<=4;s*=2){var i=r*(1+.2/s);if(i=Math.min(i,t+100663296),ut(Math.min(n,(e=Math.max(t,i))+(65536-e%65536)%65536)))return!0}return!1},z:function(t,e){var r=0;return ht().forEach((function(n,s){var i=e+r;b[t+4*s>>2]=i,function(t,e){for(var r=0;r<t.length;++r)v[0|e++]=t.charCodeAt(r);v[0|e]=0}(n,i),r+=n.length+1})),0},y:function(t,e){var r=ht();b[t>>2]=r.length;var n=0;return r.forEach((function(t){n+=t.length+1})),b[e>>2]=n,0},d:function(t){return 52},j:function(t,e,r,n){return 52},q:function(t,e,r,n,s){return 70},f:function(t,e,r,n){for(var s=0,i=0;i<r;i++){var o=b[e>>2],a=b[e+4>>2];e+=8;for(var c=0;c<a;c++)pt(t,m[o+c]);s+=a}return b[n>>2]=s,0},r:function(t,e,r,n){var s,i=0,o=0,a=0,c=0,u=0,l=0;function h(t,e,r,n,s,i){var o,a,c;return a=10===t?28:16,s=10===t?et(s):tt(s),d(!K(o=xt(a),t,s,i)),c=xt(32),w[c+4>>2]=t,w[c+8>>2]=e,w[c+12>>2]=r,w[c+24>>2]=n,b[c+20>>2]=o,w[c+16>>2]=10===t?28:16,w[c+28>>2]=0,c}if(r&&(a=w[r>>2],c=w[r+4>>2],u=w[r+8>>2],l=w[r+12>>2]),u&&!l&&(l=2===u?17:6),!u&&l&&(u=17===l?2:1),0===l&&(l=6),0===u&&(u=1),!t&&!e)return-2;if(-1088&a)return-1;if(0!==r&&2&w[r>>2]&&!t)return-1;if(32&a)return-2;if(0!==u&&1!==u&&2!==u)return-7;if(0!==c&&2!==c&&10!==c)return-6;if(e&&(e=O(e),o=parseInt(e,10),isNaN(o)))return 1024&a?-2:-8;if(!t)return 0===c&&(c=2),1&a||(i=2===c?St(2130706433):[0,0,0,1]),s=h(c,u,l,null,i,o),b[n>>2]=s,0;if(null!==(i=Y(t=O(t))))if(0===c||2===c)c=2;else{if(!(10===c&&8&a))return-2;i=[0,0,St(65535),i],c=10}else if(null!==(i=X(t))){if(0!==c&&10!==c)return-2;c=10}return null!=i?(s=h(c,u,l,t,i,o),b[n>>2]=s,0):4&a?-2:(i=Y(t=Z.lookup_name(t)),0===c?c=2:10===c&&(i=[0,0,St(65535),i]),s=h(c,u,l,null,i,o),b[n>>2]=s,0)},a:l,p:mt,o:function(t,e,r,n,s){return mt(t,e,r,n)},n:function(t){var e=null;if(!e){e=new Array(16);for(var r=(new Date).getTime(),n=0;n<16;n++){var s=(r+256*Math.random())%256|0;r=r/256|0,e[n]=s}}e[6]=15&e[6]|64,e[8]=63&e[8]|128,vt(e,t)}},bt=(function(){var t={a:wt};function r(t,r){var n,s=t.exports;e.asm=s,e.asm.M,n=e.asm.L,E.unshift(n),function(){if(j--,e.monitorRunDependencies&&e.monitorRunDependencies(j),0==j&&(null!==U&&(clearInterval(U),U=null),D)){var t=D;D=null,t()}}()}function s(t){r(t.instance)}function i(e){return(u||"function"!=typeof fetch?Promise.resolve().then((function(){return N(L)})):fetch(L,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at \'"+L+"\'";return t.arrayBuffer()})).catch((function(){return N(L)}))).then((function(e){return WebAssembly.instantiate(e,t)})).then((function(t){return t})).then(e,(function(t){f("failed to asynchronously prepare wasm: "+t),F(t)}))}if(j++,e.monitorRunDependencies&&e.monitorRunDependencies(j),e.instantiateWasm)try{return e.instantiateWasm(t,r)}catch(t){f("Module.instantiateWasm callback failed with error: "+t),n(t)}(u||"function"!=typeof WebAssembly.instantiateStreaming||H(L)||"function"!=typeof fetch?i(s):fetch(L,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,t).then(s,(function(t){return f("wasm streaming compile failed: "+t),f("falling back to ArrayBuffer instantiation"),i(s)}))}))).catch(n)}(),e.___wasm_call_ctors=function(){return(e.___wasm_call_ctors=e.asm.L).apply(null,arguments)},e._init_tp_worker=function(){return(e._init_tp_worker=e.asm.N).apply(null,arguments)},e._thread_run=function(){return(e._thread_run=e.asm.O).apply(null,arguments)},e._create_wcl_tp_handler=function(){return(e._create_wcl_tp_handler=e.asm.P).apply(null,arguments)},e._destroy_wcl_tp_handler=function(){return(e._destroy_wcl_tp_handler=e.asm.Q).apply(null,arguments)},e._wcl_tp_handler_connect=function(){return(e._wcl_tp_handler_connect=e.asm.R).apply(null,arguments)},e._wcl_tp_handler_send=function(){return(e._wcl_tp_handler_send=e.asm.S).apply(null,arguments)},e._wcl_tp_handler_close=function(){return(e._wcl_tp_handler_close=e.asm.T).apply(null,arguments)},e._wcl_tp_helper_on_connect=function(){return(e._wcl_tp_helper_on_connect=e.asm.U).apply(null,arguments)},e._wcl_tp_helper_on_close=function(){return(e._wcl_tp_helper_on_close=e.asm.V).apply(null,arguments)},e._wcl_tp_helper_on_message=function(){return(e._wcl_tp_helper_on_message=e.asm.W).apply(null,arguments)},e._ntohs=function(){return(bt=e._ntohs=e.asm.X).apply(null,arguments)}),St=e._htonl=function(){return(St=e._htonl=e.asm.Y).apply(null,arguments)},Pt=e._htons=function(){return(Pt=e._htons=e.asm.Z).apply(null,arguments)},xt=e._malloc=function(){return(xt=e._malloc=e.asm._).apply(null,arguments)},Ot=e.stackSave=function(){return(Ot=e.stackSave=e.asm.$).apply(null,arguments)},Rt=e.stackRestore=function(){return(Rt=e.stackRestore=e.asm.aa).apply(null,arguments)},kt=e.stackAlloc=function(){return(kt=e.stackAlloc=e.asm.ba).apply(null,arguments)},Mt=e.___cxa_is_pointer_type=function(){return(Mt=e.___cxa_is_pointer_type=e.asm.ca).apply(null,arguments)};function Ct(t){function n(){_t||(_t=!0,e.calledRun=!0,p||(W(E),r(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),function(){if(e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;)t=e.postRun.shift(),T.unshift(t);var t;W(T)}()))}t=t||o,j>0||(function(){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)t=e.preRun.shift(),I.unshift(t);var t;W(I)}(),j>0||(e.setStatus?(e.setStatus("Running..."),setTimeout((function(){setTimeout((function(){e.setStatus("")}),1),n()}),1)):n()))}if(e.cwrap=function(t,e,r,n){var s=(r=r||[]).every((t=>"number"===t||"boolean"===t));return"string"!==e&&s&&!n?yt(t):function(){return function(t,e,r,n){var s={string:t=>{var e=0;if(null!=t&&0!==t){var r=1+(t.length<<2);!function(t,e,r){R(t,m,e,r)}(t,e=kt(r),r)}return e},array:t=>{var e=kt(t.length);return vt(t,e),e}},i=yt(t),o=[],a=0;if(n)for(var c=0;c<n.length;c++){var u=s[r[c]];u?(0===a&&(a=Ot()),o[c]=u(n[c])):o[c]=n[c]}return function(t){return 0!==a&&Rt(a),function(t){return"string"===e?O(t):"boolean"===e?Boolean(t):t}(t)}(i.apply(null,o))}(t,e,r,arguments)}},D=function t(){_t||Ct(),_t||(D=t)},e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.pop()();return Ct(),e.ready});var o=r(6984),a=r.n(o);class c{static setHelperConnectionMap(t,e){this.helperConnectionMap.set(t,e)}static setIdConnectionMap(t,e){this.idConnectionMap.set(t,e)}static setHandlerIdMap(t,e){this.handlerIdMap.set(t,e)}static getById(t){return this.idConnectionMap.get(t)}static getByHandler(t){return this.getById(this.handlerIdMap.get(t))}static getByHelper(t){return this.helperConnectionMap.get(t)}static removeHelperConnectionMap(t){this.helperConnectionMap.delete(t)}static removeIdConnectionMap(t){this.idConnectionMap.delete(t)}static removeHandlerIdMap(t){this.handlerIdMap.delete(t)}}c.idConnectionMap=new Map,c.handlerIdMap=new Map,c.helperConnectionMap=new Map;const u=function*(){let t=1;for(;;)yield t,t=t<65535?t+1:1}();var l,h=r(6512),f=r.n(h);!function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.RWG=1]="RWG",t[t.BO_MASTER=2]="BO_MASTER",t[t.XMPP=3]="XMPP",t[t.VIDEO_BRIDGE=4]="VIDEO_BRIDGE",t[t.AUDIO_BRIDGE=5]="AUDIO_BRIDGE",t[t.VDIGW=6]="VDIGW"}(l||(l={}));class p{get isMainCMD(){return this.type===l.RWG||this.type===l.VDIGW}constructor(t,e,r,i,o,h,p){this.messageId=t,this.wssUrl=e,this.Module=r,this.API=i,this.target=o,this.tpLogger=h,this.logBase=p,this.isOpened=!1,this.isClosing=!1,this.isClosed=!1,this.isTPConnectFinished=!1,this.encoder=new TextEncoder,this.decoder=new TextDecoder("utf-8"),this.messageCache=[],this.type=l.UNKNOWN,this.debugWS=null,this.cache=[],this.id=u.next().value,this.threadRunIntervalCount=0,this.processMessageCache=()=>{this.cache.length&&(this.cache.forEach((t=>{var e;if(this.socket)if("send"===t.type)try{this.socket.readyState===WebSocket.OPEN&&this.socket.send(t.data)}catch(t){null===(e=this.tpLogger)||void 0===e||e.call(this,"directReport",null==t?void 0:t.message)}else"close"===t.type&&this.socket.close()})),this.cache=[])},this.send=t=>{let e=t;"string"==typeof e&&(this.debugWS&&this.debugWS.readyState===WebSocket.OPEN&&this.debugWS.send("send "+t),e=this.encoder.encode(e+"\\n")),this.tp_send(e)},this.onclose=t=>{this.interval&&self.clearInterval(this.interval),this.target.postMessage({type:"close",id:this.messageId,reason:t.reason,code:t.code}),c.removeIdConnectionMap(this.id),this.isMainCMD?(s.setConnectionError(!0),s.cleanUp()):s.sendAll(),this.isClosed=!0},this.type=function(t){const e="string"==typeof t?new(a())(t):t;return function(t){const e=new(f())(t.search);return e.has("dn2")||e.has("islch")}(e)?l.RWG:function(t){return t.pathname.includes("/wc/media")&&"m"===t.searchParams.get("type")}(e)?l.BO_MASTER:function(t){return t.pathname.includes("/wc/media")&&"x"===t.searchParams.get("type")}(e)?l.XMPP:function(t){return t.pathname.includes("/wc/media")&&"v"===t.searchParams.get("type")&&"16"===t.searchParams.get("mode")}(e)?l.VIDEO_BRIDGE:function(t){return t.pathname.includes("/ab/signal")&&t.searchParams.get("rwg")===t.hostname}(e)?l.AUDIO_BRIDGE:function(t){return t.hostname.includes("vdigw")}(e)?l.VDIGW:l.UNKNOWN}(e),this.isMainCMD&&s.setConnectionError(!1),this.sendLog=t=>s.addMonitor(t,this.isMainCMD||this.type===l.AUDIO_BRIDGE||this.type===l.VIDEO_BRIDGE),this.threadRunIntervalCount=n().threadRunIntervalCount,this.sendLog("TPWSURL,"+this.type+","+this.id+","+this.threadRunIntervalCount),this.target.addEventListener("message",(t=>{let e=t.data;if(e.id===this.messageId)switch(e.type){case"send":this.send(e.data);break;case"close":this.tp_close();break;case"close_wss":break;case"reconnect":if(!this.helper)return;this.socket&&this.cleanSocket(this.socket),this.sendLog("TPFC,"+this.type),this.API.wcl_tp_helper_on_close(this.helper)}})),c.setIdConnectionMap(this.id,this),this.tp_connect(),this.interval=self.setInterval((()=>this.processMessageCache()),10)}getType(){return this.type}tp_connect(){this.handler=this.API.create_wcl_tp_handler(),c.setHandlerIdMap(this.handler,this.id),this.API.wcl_tp_handler_connect(this.handler,this.id)}tp_send(t){let e=new Uint8Array(t);this.API.wcl_tp_handler_send(this.handler,e,t.byteLength)}tp_close(){if(this.isClosing||this.isClosed)return;if(this.sendLog("TPCLO,"+this.type+","+n().threadRunIntervalCount),this.isClosing=!0,null===this.handler)return;let t=this.handler;this.socket&&this.socket.readyState===WebSocket.OPEN||(this.sendLog("TPCLOBE,"+this.type+","+this.socket.readyState),this.cleanSocket(this.socket),this.onclose({code:1006,reason:""})),this.handler=null,this.API.wcl_tp_handler_close(t),this.API.destroy_wcl_tp_handler(t),c.removeHandlerIdMap(t)}cleanSocket(t){t&&(this.processMessageCache(),t.onopen=null,t.onclose=null,t.onmessage=null,t.onerror=null)}connectWebSocket(t){return e=this,r=void 0,i=function*(){return new Promise(((e,r)=>{this.socket&&this.cleanSocket(this.socket);const s=new(a())(t);this.isTPConnectFinished&&this.sendLog("TPREC,"+this.type);const i=this.socket=new WebSocket(s);i.binaryType="arraybuffer",i.onopen=()=>{this.sendLog("TPWSO,"+this.type+","+n().threadRunIntervalCount),e(i),this.isOpened=!0},i.onerror=t=>{var e;this.sendLog("TPWSE,"+this.type+","+t.code),this.helper&&this.API.wcl_tp_helper_on_close(this.helper),null===(e=this.tpLogger)||void 0===e||e.call(this,"directReport",this.type+" WebSocket errorCode "+t.code+" errorReason "+t.reason),this.isOpened||r(t)},i.onmessage=t=>{if(this.isTPConnectFinished||this.messageCache.push(t.data),this.helper){let e=new Uint8Array(t.data);this.API.wcl_tp_helper_on_message(this.helper,e,t.data.byteLength)}},i.onclose=t=>{var e;this.sendLog("TPWSC,"+this.type+","+t.code);const n=t.code,s=t.reason;this.helper&&this.API.wcl_tp_helper_on_close(this.helper),null===(e=this.tpLogger)||void 0===e||e.call(this,"directReport",this.type+" WebSocket closeCode "+n+" closeReason "+s),this.isOpened||r(t),this.isClosing&&this.onclose(t)}}))},new((s=void 0)||(s=Promise))((function(t,n){function o(t){try{c(i.next(t))}catch(t){n(t)}}function a(t){try{c(i.throw(t))}catch(t){n(t)}}function c(e){var r;e.done?t(e.value):(r=e.value,r instanceof s?r:new s((function(t){t(r)}))).then(o,a)}c((i=i.apply(e,r||[])).next())}));var e,r,s,i}js_wss_connect(t){c.setHelperConnectionMap(t,this),this.helper=t,this.connectWebSocket(this.wssUrl).then((()=>{this.helper&&this.API.wcl_tp_helper_on_connect(this.helper)})).catch((t=>{this.sendLog("TPNWSF,"+this.type+","+t.code),this.target.postMessage({type:"error",id:this.messageId}),this.isMainCMD&&s.setConnectionError(!0)}))}js_wss_send(t,e){var r=new Uint8Array(e),n=this.Module.HEAP8.subarray(t,t+e);r.set(n,0),this.cache.push({type:"send",data:r})}js_wss_close(){this.sendLog("TPCBC,"+this.type),this.isTPConnectFinished&&this.cache.push({type:"close"})}js_app_on_message(t,e){const r=new Uint8Array(this.Module.HEAP8.buffer,t,e),n=this.decoder.decode(r);this.debugWS&&this.debugWS.readyState===WebSocket.OPEN&&this.debugWS.send("receive "+n),this.target.postMessage({type:"message",data:n,id:this.messageId})}js_helper_destoryed(){c.removeHelperConnectionMap(this.helper),this.helper=null}js_app_on_connect(t){var e;const r=n().threadRunIntervalCount-this.threadRunIntervalCount;r>1e3&&(null===(e=this.tpLogger)||void 0===e||e.call(this,"directReport","tp connection timeout "+this.type+","+r)),this.sendLog("TPCBCON,"+this.type+","+t+","+n().threadRunIntervalCount),0===t?(this.target.postMessage({type:"open",id:this.messageId}),this.isMainCMD&&s.setConnection(this)):(this.target.postMessage({type:"error",id:this.messageId}),this.messageCache=[]),this.isTPConnectFinished=!0}js_app_on_close(t){this.sendLog("TPCBCLO,"+this.type+","+t+","+n().threadRunIntervalCount),c.removeHandlerIdMap(this.handler),this.handler=null,this.onclose({reason:"",code:t})}}var d=Object.defineProperty,g=(t,e,r)=>((t,e,r)=>e in t?d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r)(t,"symbol"!=typeof e?e+"":e,r);const v=new class{constructor(){g(this,"_enabled",!1),g(this,"_reportLog",(()=>{})),g(this,"_cacheName",""),g(this,"_enableLocalDebugLog",!1),g(this,"_resourcePath","")}get enabled(){return this._enabled}set enabled(t){this._enabled=t}get reportLog(){return this._reportLog}set reportLog(t){this._reportLog=t}get cacheName(){return this._cacheName}set cacheName(t){this._cacheName=t}get enableLocalDebugLog(){return this._enableLocalDebugLog}set enableLocalDebugLog(t){this._enableLocalDebugLog=t}get resourcePath(){return this._resourcePath}set resourcePath(t){this._resourcePath=t}},m=(...t)=>{if(!v.enableLocalDebugLog)return;const e=t[0];console.log(`FWB | ${e} -`,...t.slice(1))},y=t=>{let e=`/${t.fileName}`;t.hash&&(e=`/${t.fileName}/${t.hash}`);const r=[];return t.cdnPath&&r.push(`v=${t.cdnPath}`),t.timestamp&&r.push(`t=${t.timestamp}`),r.length>0?`${e}?${r.join("&")}`:e},_=()=>v.cacheName,w=t=>"function"==typeof t,b=void 0!==self.caches&&void 0!==self.Cache&&!!(w(self.caches.open)&&w(self.caches.delete)&&w(self.Cache.prototype.match)&&w(self.Cache.prototype.put)&&w(self.Cache.prototype.delete)&&w(self.Cache.prototype.keys)),S=t=>new Promise((e=>setTimeout(e,t))),P=(t,e,r)=>Number.isInteger(null==r?void 0:r.maxRetries)&&(null==r?void 0:r.maxRetries)>1?(async(t,e,r)=>{let n;const s=null==r?void 0:r.maxRetries,i=(null==r?void 0:r.delayMs)??-1;for(let r=0;r<s;r++)try{const r=await self.fetch(t,e);if(!r.ok)throw new Error(`Fetch resource error: ${r.status}`);return r}catch(t){if(n=t,"AbortError"===(null==t?void 0:t.name))break;r<s-1&&i>=0&&await S(i)}throw n})(t,e,r):self.fetch(t,e),x=async({cdnPath:t,fileName:e,hash:r,size:n,fetchOptions:s,fetchCustomOptions:i})=>{try{const s=await(async(t,e)=>(async t=>{const e=await caches.open(_()),r=new URL(t,self.location.origin),n=await e.match(r,{ignoreSearch:!0});if(!n)throw new Error("Not Found");return n})(y({fileName:t,hash:e})))(e,r),i=s.url||"",o=i.slice(0,i.length-e.length-1);return m(`/${t}/${e}`,"get file from cache"),v.reportLog({isHitCache:!0,isCrossRelease:o!==t,fileName:e,hash:r,size:n}),s}catch{try{const o=await(async({cdnPath:t,fileName:e,hash:r,fetchOptions:n,fetchCustomOptions:s})=>{const i=`${t}/${e}`,o=await P(i,n,s),a=y({cdnPath:t,fileName:e,hash:r,timestamp:Date.now()});try{await(async(t,e)=>{try{const r=await caches.open(_()),n=new URL(t,self.location.origin);await r.put(n,e.clone())}catch(t){console.error("Failed to save to cache",t)}})(a,o)}catch(r){m(`/${t}/${e}`,"save to cache failed",r)}return o})({cdnPath:t,fileName:e,hash:r,fetchOptions:s,fetchCustomOptions:i});return m(`/${t}/${e}`,"get file from network"),v.reportLog({isHitCache:!1,isCrossRelease:!1,fileName:e,hash:r,size:n,cachedVersion:""}),o}catch(r){throw m(`/${t}/${e}`,"get file from network - Failed"),r}}},O={},R=async(t,e)=>{O[t]||(O[t]={}),m(`/${t}/${e}`,"start to get manifest");let r=O[t].manifest;return r?(m(`/${t}/${e}`,"get manifest from memory"),{manifest:r}):(r=await(async(t,e)=>{const r=O[t];if(null==r?void 0:r.manifest)return r.manifest;const n=await(async(t,e)=>{const r=`${t}/manifest.json`,n=O[t];let s=null==n?void 0:n.ongoingPromise;return s?(m(`/${t}/${e}`,"fetchManifest","existing fetch pending"),s):(s=fetch(r,{headers:{Accept:"application/json"}}).then((async r=>{if(m(`/${t}/${e}`,"fetchManifest","get response",r.status),O[t].lastResponseStatus=r.status,!r.ok)throw r;const n=await r.json();return O[t].manifest=n,m(`/${t}/${e}`,"fetchManifest","success"),n})).finally((()=>{O[t].ongoingPromise=void 0})),O[t].ongoingPromise=s,m(`/${t}/${e}`,"fetchManifest","send request"),s)})(t,e);return n})(t,e),m(`/${t}/${e}`,"get manifest from network"),{manifest:r})},k=async(t,e,r)=>{const n=((t,e)=>{if(!t.startsWith(e))return null;e.endsWith("/")&&(e=e.slice(0,-1));const r=t.slice(e.length+1);return r?{cdnPath:e,fileName:r}:null})(new URL(t.toString()).href,v.resourcePath);if(!n)return P(t,e,r);const{cdnPath:s,fileName:i}=n;m(`/${s}/${i}`,"get file request");let o=null;try{const{manifest:t}=await R(s,i);o=t,m(`/${s}/${i}`,"get manifest success")}catch{return m(`/${s}/${i}`,"get manifest failed => fallback to browser"),P(t,e,r)}const a=null==o?void 0:o[i];return(null==a?void 0:a.hash)?x({cdnPath:s,fileName:i,hash:a.hash,size:a.size,fetchOptions:e,fetchCustomOptions:r}):P(t,e,r)};let M;self.setTimeout((async()=>{const t=_(),e=await caches.open(t);let r=[];try{r=await e.keys()}catch{return}const n=new Map;for(const t of r){const e=new URL(t.url),r=e.searchParams.get("t");if(!r)continue;const s=parseInt(r,10);if(isNaN(s))continue;const i=e.pathname.split("/").slice(0,-1).join("/");i&&(n.has(i)||n.set(i,[]),n.get(i).push({request:t,timestamp:s}))}for(const[t,r]of n){if(r.sort(((t,e)=>e.timestamp-t.timestamp)),r.length<=1)continue;let t=r.slice(2);r[0].timestamp-r[1].timestamp>5184e6&&(t=r.slice(1));for(const r of t){try{await e.delete(r.request)}catch{continue}m(`delete from cache: ${r.request.url}`)}}}),6e4);var C,L,A=function(t,e,r,n){return new(r||(r=Promise))((function(s,i){function o(t){try{c(n.next(t))}catch(t){i(t)}}function a(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?s(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(o,a)}c((n=n.apply(t,e||[])).next())}))};function I(t,e){}function E(t,e){postMessage({type:"log",level:t,message:e})}self.addEventListener("unhandledrejection",(t=>{E("error",t.error||t.reason)})),self.addEventListener("error",(t=>{E("error",t.error||t.reason),s.setConnectionError(!0),s.addMonitor("TPERR,2",!0),postMessage({type:"fallback"})})),self.addEventListener("message",(t=>{let e=t.data;switch(e.type){case"init":r={enabled:e.enableFetchWithCache,reportLog(t){E("directReport","FetchCache: ".concat(JSON.stringify(t)))},resourcePath:e.wasmUrl.replace("/tp.wasm","")},o=Object.assign({enabled:!0,cacheName:"zm-media",reportLog(t){console.log("FetchCache",t)}},r),v.enabled=o.enabled??!1,v.reportLog=o.reportLog??m,v.cacheName=o.cacheName??"zm-media",v.enableLocalDebugLog=o.enableLocalDebugLog??!1,v.resourcePath=o.resourcePath,M=b&&v.enabled&&v.resourcePath?k:P,function(t){return A(this,void 0,void 0,(function*(){s.setLogger((t=>E("directReport",t))),s.startMonitor(),C=yield i({instantiateWasm:(e,r)=>A(this,void 0,void 0,(function*(){const n=t;let s;try{s=yield function(t){return A(this,arguments,void 0,(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;return function*(){for(let i=0;i<e;i++)try{const e=yield(n=t,s={credentials:"same-origin"},M&&"function"==typeof M?M(n,s):(console.log("initializeFetchWithCache not initialized: ",n),fetch(n,s)));return e.ok||E("directReport","load tp.wasm fail : ".concat(e.statusText)),yield e.arrayBuffer()}catch(t){if(E("directReport","load tp.wasm retry (".concat(i+1,"/").concat(e,") : ").concat(t.message)),i===e-1)throw t;yield new Promise((t=>setTimeout(t,r)))}var n,s}()}))}(n)}catch(t){return E("directReport","fetch tp wasm error"),void postMessage({type:"fallback"})}const{instance:i,module:o}=yield WebAssembly.instantiate(s,e);return r(i),i.exports}))}).catch((()=>{E("directReport","init tp wasm error"),postMessage({type:"fallback"})})),(L={create_wcl_tp_handler:C.cwrap("create_wcl_tp_handler","number",[]),init_tp_worker:C.cwrap("init_tp_worker","",[]),destroy_wcl_tp_handler:C.cwrap("destroy_wcl_tp_handler","",["number"]),wcl_tp_handler_connect:C.cwrap("wcl_tp_handler_connect","",["number","number"]),wcl_tp_handler_close:C.cwrap("wcl_tp_handler_close","",["number"]),wcl_tp_handler_send:C.cwrap("wcl_tp_handler_send","",["number","array","number"]),wcl_tp_helper_on_connect:C.cwrap("wcl_tp_helper_on_connect","",["number"]),wcl_tp_helper_on_close:C.cwrap("wcl_tp_helper_on_close","",["number"]),wcl_tp_helper_on_message:C.cwrap("wcl_tp_helper_on_message","",["number","array","number"]),thread_run:C.cwrap("thread_run","",[])}).init_tp_worker(),n().threadRunIntervalCount=0,setInterval((()=>{L.thread_run(),n().threadRunIntervalCount++}),10),postMessage({type:"inited"})}))}(e.wasmUrl).catch((()=>{s.setConnectionError(!0),s.addMonitor("TPERR,1",!0),postMessage({type:"fallback"})}));break;case"connect":new p(e.id,e.url,C,L,self,E,"");break;case"add_port":e.port.addEventListener("message",(t=>{"connect"===t.data.type&&new p(t.data.id,t.data.url,C,L,e.port,E,"")})),e.port.start();break;case"heartbeat":postMessage({type:"heartbeat"})}var r,o})),self.js_wss_connect=function(t,e){var r;null===(r=c.getById(e))||void 0===r||r.js_wss_connect(t)},self.js_wss_send=function(t,e,r){var n;null===(n=c.getByHelper(t))||void 0===n||n.js_wss_send(e,r)},self.js_wss_close=function(t){var e;null===(e=c.getByHelper(t))||void 0===e||e.js_wss_close()},self.js_app_on_message=function(t,e,r){var n;null===(n=c.getByHandler(t))||void 0===n||n.js_app_on_message(e,r)},self.js_helper_destoryed=function(t){var e;null===(e=c.getByHelper(t))||void 0===e||e.js_helper_destoryed()},self.js_app_on_connect=function(t,e){var r;null===(r=c.getByHandler(t))||void 0===r||r.js_app_on_connect(e)},self.js_app_on_close=function(t,e){var r;null===(r=c.getByHandler(t))||void 0===r||r.js_app_on_close(e)},self.on_socket_monitor=function(t,e,r){var n;const i=new TextDecoder("utf-8"),o=new Uint8Array(C.HEAP8.buffer,e,r);let a=i.decode(o),u="";const l=null===(n=c.getById(t))||void 0===n?void 0:n.getType();u=l?"TYPE,"+l+","+a:"PORT,"+t+","+a,s.addMonitor(u)},self.wasm_memory_alert=function(t,e){const r="TPMEMALERT,"+t+","+e;s.addMonitor(r,!0)},self.wcl_trace_log=I,self.LOG_OUT=I})()})();\n',"Worker",{name:"zoom-tp"},void 0)}var a,u,c=r(6512),l=r.n(c);function f(t){const e=new(l())(t.search);return e.has("dn2")||e.has("islch")}function h(t){return t.hostname.includes("vdigw")}!function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.RWG=1]="RWG",t[t.BO_MASTER=2]="BO_MASTER",t[t.XMPP=3]="XMPP",t[t.VIDEO_BRIDGE=4]="VIDEO_BRIDGE",t[t.AUDIO_BRIDGE=5]="AUDIO_BRIDGE",t[t.VDIGW=6]="VDIGW"}(a||(a={}));class p{static init(){this.destroy(),self.addEventListener("online",this._handleOnline),self.addEventListener("offline",this._handleOffline)}static addSocket(t){this.socketList.push(t)}static removeSocket(t){this.socketList=this.socketList.filter((e=>e!==t))}static destroy(){self.removeEventListener("online",this._handleOnline),self.removeEventListener("offline",this._handleOffline)}}u=p,p.isOnline=!0,p.socketList=[],p._handleOnline=()=>{u.isOnline||u.socketList.forEach((t=>t.reconnect())),u.isOnline=!0},p._handleOffline=()=>{u.isOnline=!1};var d,g,v,m,y,w,b,_,x,S,P,O,k,L,R,E=function(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)},C=function(t,e,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(t,r):s?s.value=r:e.set(t,r),r};class M extends Event{constructor(t,e){super(t),Object.assign(this,e)}}class j extends EventTarget{get url(){return E(this,y,"f")}set url(t){}get readyState(){return E(this,w,"f")}set readyState(t){}get protocol(){return E(this,b,"f")}set protocol(t){}get bufferedAmount(){return E(this,_,"f")}set bufferedAmount(t){}get extensions(){return E(this,x,"f")}set extensions(t){}get OPEN(){return E(this,S,"f")}set OPEN(t){}get CONNECTING(){return E(this,P,"f")}set CONNECTING(t){}get CLOSING(){return E(this,O,"f")}set CLOSING(t){}get CLOSED(){return E(this,k,"f")}set CLOSED(t){}constructor(t,r){var n,s,i,o,a;super(),d.add(this),this.isRlb=!0,this.onopen=null,this.onmessage=null,this.onerror=null,this.onclose=null,this.binaryType="arraybuffer",v.set(this,function(){var t;return(null===(t=null===crypto||void 0===crypto?void 0:crypto.randomUUID)||void 0===t?void 0:t.call(crypto))||"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}()),m.set(this,!1),y.set(this,void 0),w.set(this,WebSocket.CONNECTING),b.set(this,""),_.set(this,0),x.set(this,""),S.set(this,WebSocket.OPEN),P.set(this,WebSocket.CONNECTING),O.set(this,WebSocket.CLOSING),k.set(this,WebSocket.CLOSED),L.set(this,(t=>{var e;let r=t.data;if(r.id===E(this,v,"f"))switch(r.type){case"open":E(this,w,"f")===WebSocket.CONNECTING&&(C(this,w,WebSocket.OPEN,"f"),E(this,d,"m",R).call(this,"open"));break;case"close":E(this,d,"m",R).call(this,"close",{reason:r.reason,code:r.code}),E(this,m,"f")&&(null==H||H("directReport","callback close event")),null===(e=g.target)||void 0===e||e.removeEventListener("message",E(this,L,"f")),C(this,w,WebSocket.CLOSED,"f");break;case"error":E(this,d,"m",R).call(this,"error");break;case"message":E(this,d,"m",R).call(this,"message",{data:r.data})}}));const u="string"==typeof t?new(e())(t):t;u.searchParams.set("rlb","1"),C(this,y,u.toString(),"f"),(f(u)||h(u))&&(C(this,m,!0,"f"),G(this)),g.target&&g.target instanceof MessagePort?self.addEventListener("message",(t=>{var e;"error"===(null===(e=t.data)||void 0===e?void 0:e.type)&&E(this,d,"m",R).call(this,"error")})):null===(n=g.target)||void 0===n||n.addEventListener("error",(t=>{t.message&&t.message.includes("RuntimeError:")&&E(this,d,"m",R).call(this,"error")})),null===(s=g.target)||void 0===s||s.addEventListener("message",E(this,L,"f")),null===(i=g.target)||void 0===i||i.postMessage({type:"connect",url:E(this,y,"f"),id:E(this,v,"f")}),g.target instanceof MessagePort&&(null===(a=null===(o=g.target)||void 0===o?void 0:o.start)||void 0===a||a.call(o))}send(t){var e;E(this,w,"f")===WebSocket.OPEN&&(null===(e=g.target)||void 0===e||e.postMessage({type:"send",data:t,id:E(this,v,"f")}))}close(){var t;E(this,m,"f")&&(null==H||H("directReport","call close tp")),C(this,w,WebSocket.CLOSING,"f"),null===(t=g.target)||void 0===t||t.postMessage({type:"close",id:E(this,v,"f")})}reconnect(){var t;null===(t=g.target)||void 0===t||t.postMessage({type:"reconnect",id:E(this,v,"f")})}socketError(t){E(this,d,"m",R).call(this,"error",{code:4001,reason:t})}}function T(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!t)return n;const s=t.length;if(e<0||r<=0||e>s||e+r-1>s)return n;const i=s-e-r+1,o=s-e+1;try{const e=t.slice(i,o),r=parseInt(e,16);return isNaN(r)?n:r}catch(t){console.error("[ABOptionsReader] error in read()",t)}return n}g=j,v=new WeakMap,m=new WeakMap,y=new WeakMap,w=new WeakMap,b=new WeakMap,_=new WeakMap,x=new WeakMap,S=new WeakMap,P=new WeakMap,O=new WeakMap,k=new WeakMap,L=new WeakMap,d=new WeakSet,R=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r;"open"===t?p.addSocket(this):"close"!==t&&"error"!==t||p.removeSocket(this);const n=new M(t,e);null===(r=this["on".concat(t)])||void 0===r||r.call(this,n),this.dispatchEvent(n)};var I,A,U,D,N=function(t,e,r,n){return new(r||(r=Promise))((function(s,i){function o(t){try{u(n.next(t))}catch(t){i(t)}}function a(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?s(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(o,a)}u((n=n.apply(t,e||[])).next())}))};let F,H,B,W={},q=!1;function G(t){B=t}const z=null===(D=null===(U=null===(A=null===(I=null===self||void 0===self?void 0:self.document)||void 0===I?void 0:I.currentScript)||void 0===A?void 0:A.src)||void 0===U?void 0:U.replace)||void 0===D?void 0:D.call(U,"tp.min.js","tp.wasm");function $(){return N(this,void 0,void 0,(function*(){return F||(F=new Promise(((t,e)=>N(this,void 0,void 0,(function*(){const e=new o;let r=0;e.addEventListener("error",(t=>{null==H||H("directReport","tp worker error "+(null==t?void 0:t.message)),q=!0,F=null,B&&B.socketError("tp worker error "+(null==t?void 0:t.message))})),e.addEventListener("message",(n=>{"inited"===n.data.type?(q=!1,t(e)):"fallback"===n.data.type?(q=!0,t(null)):"log"===n.data.type?null==H||H(n.data.level,n.data.message):"heartbeat"===n.data.type&&(r=0)})),e.postMessage({type:"init",wasmUrl:W.wasmUrl||z,enableFetchWithCache:T(W.options,81,1,1)});const n=()=>{!q&&K(null==W?void 0:W.options)&&self.setTimeout((()=>{var t;if(r>4){const e="tp worker no-heartbeat visibility:"+(null===(t=self.document)||void 0===t?void 0:t.visibilityState);null==H||H("directReport",e),q=!0,F=null,B&&B.socketError(e)}else e.postMessage({type:"heartbeat"}),n();r++}),5e3)};n()}))))),F}))}function Y(t){return N(this,void 0,void 0,(function*(){var e,r;return W=t||{},"function"!=typeof importScripts?(p.init(),H=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:console;return(e,r,n,s)=>{var i,o,a,u;"directReport"===e?null===(i=t.directReport||t.log)||void 0===i||i(r,s||["TP_INFO"]):"error"===e?null===(o=t.error)||void 0===o||o.call(t,r,n):"warn"===e?null===(a=t.warn)||void 0===a||a.call(t,r):null===(u=t.log)||void 0===u||u.call(t,r)}}(W.logInstance),null==H||H("directReport","initTPModule: "+!!F),!F&&j.target&&(null===(r=(e=j.target).terminate)||void 0===r||r.call(e),j.target=null),$().then((t=>{t&&(j.target=t)}))):new Promise(((t,e)=>{H=(t,e)=>{postMessage({type:"log",level:t,message:e})},self.addEventListener("message",(r=>{"boolean"==typeof r.data.fallback&&(q=r.data.fallback,q&&e()),"init_tp_port"===r.data.type?(j.target=r.data.port,W={options:r.data.options},self.portInited=!0,t()):"init_worker"!==r.data.type||self.portInited||(self.postMessage("init_tp"),W={options:r.data.options})})),self.postMessage("init_tp")}))}))}function V(t,e){return N(this,void 0,void 0,(function*(){const r=yield $();if(!r)return;r.addEventListener("error",(e=>{e.message&&e.message.includes("RuntimeError:")&&t.postMessage({type:"error",fallback:!0})}));let n=!1;t.addEventListener("message",(s=>{if("init_tp"!==s.data||n)"log"===s.data.type&&(null==H||H(s.data.level,s.data.message));else{const{port1:s,port2:i}=new MessageChannel;t.postMessage({type:"init_tp_port",port:s,fallback:q,options:(e||W).options},[s]),r.postMessage({type:"add_port",port:i},[i]),n=!0}})),t.postMessage({type:"init_worker",fallback:q,options:(e||W).options})}))}class Z{constructor(t,r){if(!t)throw new Error("Failed to construct ZoomTPWebSocket, the url is required.");const n="string"==typeof t?new(e())(t):t,s=!q&&function(t,e){return!!T(e,47,1)&&!!(f(t)||function(t){return t.pathname.includes("/wc/media")&&"m"===t.searchParams.get("type")}(t)||function(t){return t.pathname.includes("/wc/media")&&"x"===t.searchParams.get("type")}(t)||function(t){return t.pathname.includes("/wc/media")&&"v"===t.searchParams.get("type")&&"16"===t.searchParams.get("mode")}(t)||function(t){return t.pathname.includes("/ab/signal")&&t.searchParams.get("rwg")===t.hostname}(t)||h(t))}(n,W.options);return s?new j(n):new WebSocket(n,r)}}function K(t){return T(t,47,1)}Object.setPrototypeOf(Z.prototype,WebSocket.prototype)})(),n})()));
2
+ //# sourceMappingURL=https://d1cdksi819e9z7.cloudfront.net/sourcemap/tp.min.js-92a7a8e12fd3494cd020.map
Binary file