imposium-js-sdk 3.5.5 → 3.5.7

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 (70) hide show
  1. package/.prettierignore +13 -0
  2. package/CODESTEWARDS.md +12 -0
  3. package/README.md +14 -15
  4. package/coverage/base.css +224 -0
  5. package/coverage/block-navigation.js +87 -0
  6. package/coverage/cobertura-coverage.xml +1574 -0
  7. package/coverage/coverage-final.json +13 -0
  8. package/coverage/coverage-summary.json +14 -0
  9. package/coverage/favicon.png +0 -0
  10. package/coverage/index.html +176 -0
  11. package/coverage/junit.xml +355 -0
  12. package/coverage/lcov-report/base.css +224 -0
  13. package/coverage/lcov-report/block-navigation.js +87 -0
  14. package/coverage/lcov-report/favicon.png +0 -0
  15. package/coverage/lcov-report/index.html +176 -0
  16. package/coverage/lcov-report/prettify.css +1 -0
  17. package/coverage/lcov-report/prettify.js +2 -0
  18. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  19. package/coverage/lcov-report/sorter.js +210 -0
  20. package/coverage/lcov-report/src/Entry.ts.html +205 -0
  21. package/coverage/lcov-report/src/client/Client.ts.html +1468 -0
  22. package/coverage/lcov-report/src/client/DirectDeliveryPipe.ts.html +658 -0
  23. package/coverage/lcov-report/src/client/http/API.ts.html +526 -0
  24. package/coverage/lcov-report/src/client/http/index.html +116 -0
  25. package/coverage/lcov-report/src/client/index.html +131 -0
  26. package/coverage/lcov-report/src/index.html +116 -0
  27. package/coverage/lcov-report/src/scaffolding/ExceptionPipe.ts.html +430 -0
  28. package/coverage/lcov-report/src/scaffolding/Exceptions.ts.html +616 -0
  29. package/coverage/lcov-report/src/scaffolding/GoogleAnalytics.ts.html +424 -0
  30. package/coverage/lcov-report/src/scaffolding/Helpers.ts.html +412 -0
  31. package/coverage/lcov-report/src/scaffolding/Version.ts.html +118 -0
  32. package/coverage/lcov-report/src/scaffolding/index.html +176 -0
  33. package/coverage/lcov-report/src/video/FallbackPlayer.ts.html +133 -0
  34. package/coverage/lcov-report/src/video/Player.ts.html +1663 -0
  35. package/coverage/lcov-report/src/video/VideoPlayer.ts.html +679 -0
  36. package/coverage/lcov-report/src/video/index.html +146 -0
  37. package/coverage/lcov.info +1426 -0
  38. package/coverage/prettify.css +1 -0
  39. package/coverage/prettify.js +2 -0
  40. package/coverage/sort-arrow-sprite.png +0 -0
  41. package/coverage/sorter.js +210 -0
  42. package/coverage/src/Entry.ts.html +205 -0
  43. package/coverage/src/client/Client.ts.html +1468 -0
  44. package/coverage/src/client/DirectDeliveryPipe.ts.html +658 -0
  45. package/coverage/src/client/http/API.ts.html +526 -0
  46. package/coverage/src/client/http/index.html +116 -0
  47. package/coverage/src/client/index.html +131 -0
  48. package/coverage/src/index.html +116 -0
  49. package/coverage/src/scaffolding/ExceptionPipe.ts.html +430 -0
  50. package/coverage/src/scaffolding/Exceptions.ts.html +616 -0
  51. package/coverage/src/scaffolding/GoogleAnalytics.ts.html +424 -0
  52. package/coverage/src/scaffolding/Helpers.ts.html +412 -0
  53. package/coverage/src/scaffolding/Version.ts.html +118 -0
  54. package/coverage/src/scaffolding/index.html +176 -0
  55. package/coverage/src/video/FallbackPlayer.ts.html +133 -0
  56. package/coverage/src/video/Player.ts.html +1663 -0
  57. package/coverage/src/video/VideoPlayer.ts.html +679 -0
  58. package/coverage/src/video/index.html +146 -0
  59. package/eslint-report.xml +1 -0
  60. package/examples/web/.eslintrc.json +10 -14
  61. package/lib/imposium.js +8023 -7999
  62. package/lib/imposium.js.map +1 -1
  63. package/lib/imposium.min.js +1 -1
  64. package/lib/imposium.min.js.LICENSE.txt +1 -1
  65. package/lib/imposium.min.js.map +1 -1
  66. package/package.json +38 -9
  67. package/tsconfig.eslint.json +8 -0
  68. package/vitest.config.ts +37 -0
  69. package/.eslintrc.js +0 -168
  70. package/CODEOWNERS +0 -1
@@ -1,3 +1,3 @@
1
1
  /*! For license information please see imposium.min.js.LICENSE.txt */
2
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Imposium",[],e):"object"==typeof exports?exports.Imposium=e():t.Imposium=e()}(self,()=>(()=>{var t={34:(t,e,r)=>{"use strict";var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},67:(t,e,r)=>{"use strict";r(7145)},81:(t,e,r)=>{"use strict";var n=r(9565),o=r(9306),i=r(8551),s=r(6823),a=r(851),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(o(r))return i(n(r,t));throw new u(s(t)+" is not iterable")}},197:t=>{"use strict";t.exports=JSON.parse('{"client":{"nodeAnalytics":"Sorry, analytics are not currently available in NodeJS."},"network":{"tcpFailure":"Unable to reach Imposium while processing this experience, retrying..."},"playerFailure":{"seekNotReady":"Seek can\'t be called until the video metadata has loaded, please try again shortly.","invalidSeekTime":"Could not seek to time outside of current video duration.","invalidVolume":"Could not set volume outside of range (double) 0.0 - 1.0."},"analytics":{"requestFailed":"Failed to record Imposium metric."}}')},230:(t,e,r)=>{"use strict";var n=r(6518),o=r(9306),i=r(6194),s=r(6223),a=TypeError;n({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=i(this),r=arguments.length<2,n=r?void 0:arguments[1];if(o(t),s(e,function(o,i){r?(r=!1,n=o):n=t(n,o,i,e)}),r)throw new a("Reduce of empty map with no initial value");return n}})},258:(t,e,r)=>{"use strict";function n(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(t,e){return t.require(e)}r.d(e,{fj:()=>o,wD:()=>n}),t=r.hmd(t)},280:(t,e,r)=>{"use strict";var n=r(6518),o=r(7751),i=r(6395),s=r(550),a=r(916).CONSTRUCTOR,u=r(3438),c=o("Promise"),f=i&&!a;n({target:"Promise",stat:!0,forced:i||a},{resolve:function(t){return u(f&&this===c?s:this,t)}})},283:(t,e,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(9297),a=r(3724),u=r(350).CONFIGURABLE,c=r(3706),f=r(1181),l=f.enforce,p=f.get,d=String,h=Object.defineProperty,v=n("".slice),y=n("".replace),g=n([].join),m=a&&!o(function(){return 8!==h(function(){},"length",{value:8}).length}),_=String(String).split("String"),b=t.exports=function(t,e,r){"Symbol("===v(d(e),0,7)&&(e="["+y(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||u&&t.name!==e)&&(a?h(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&s(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return s(n,"source")||(n.source=g(_,"string"==typeof e?e:"")),t};Function.prototype.toString=b(function(){return i(this)&&p(this).source||c(this)},"toString")},298:(t,e,r)=>{"use strict";var n=r(2195),o=r(5397),i=r(8480).f,s=r(7680),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return s(a)}}(t):i(o(t))}},350:(t,e,r)=>{"use strict";var n=r(3724),o=r(9297),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,c=a&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:c}},397:(t,e,r)=>{"use strict";var n=r(7751);t.exports=n("document","documentElement")},421:t=>{"use strict";t.exports={}},436:(t,e,r)=>{"use strict";var n,o,i,s,a=r(6518),u=r(6395),c=r(8574),f=r(4576),l=r(9167),p=r(9565),d=r(6840),h=r(2967),v=r(687),y=r(7633),g=r(9306),m=r(4901),_=r(34),b=r(679),E=r(2293),x=r(9225).set,w=r(1955),S=r(3138),O=r(1103),T=r(8265),k=r(1181),P=r(550),j=r(916),C=r(6043),R="Promise",I=j.CONSTRUCTOR,N=j.REJECTION_EVENT,A=j.SUBCLASSING,D=k.getterFor(R),M=k.set,L=P&&P.prototype,U=P,F=L,B=f.TypeError,q=f.document,H=f.process,G=C.f,z=G,V=!!(q&&q.createEvent&&f.dispatchEvent),W="unhandledrejection",Y=function(t){var e;return!(!_(t)||!m(e=t.then))&&e},X=function(t,e){var r,n,o,i=e.value,s=1===e.state,a=s?t.ok:t.fail,u=t.resolve,c=t.reject,f=t.domain;try{a?(s||(2===e.rejection&&Z(e),e.rejection=1),!0===a?r=i:(f&&f.enter(),r=a(i),f&&(f.exit(),o=!0)),r===t.promise?c(new B("Promise-chain cycle")):(n=Y(r))?p(n,r,u,c):u(r)):c(i)}catch(t){f&&!o&&f.exit(),c(t)}},J=function(t,e){t.notified||(t.notified=!0,w(function(){for(var r,n=t.reactions;r=n.get();)X(r,t);t.notified=!1,e&&!t.rejection&&$(t)}))},K=function(t,e,r){var n,o;V?((n=q.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:e,reason:r},!N&&(o=f["on"+t])?o(n):t===W&&S("Unhandled promise rejection",r)},$=function(t){p(x,f,function(){var e,r=t.facade,n=t.value;if(Q(t)&&(e=O(function(){c?H.emit("unhandledRejection",n,r):K(W,r,n)}),t.rejection=c||Q(t)?2:1,e.error))throw e.value})},Q=function(t){return 1!==t.rejection&&!t.parent},Z=function(t){p(x,f,function(){var e=t.facade;c?H.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)})},tt=function(t,e,r){return function(n){t(e,n,r)}},et=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,J(t,!0))},rt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new B("Promise can't be resolved itself");var n=Y(e);n?w(function(){var r={done:!1};try{p(n,e,tt(rt,r,t),tt(et,r,t))}catch(e){et(r,e,t)}}):(t.value=e,t.state=1,J(t,!1))}catch(e){et({done:!1},e,t)}}};if(I&&(F=(U=function(t){b(this,F),g(t),p(n,this);var e=D(this);try{t(tt(rt,e),tt(et,e))}catch(t){et(e,t)}}).prototype,(n=function(t){M(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:0,value:null})}).prototype=d(F,"then",function(t,e){var r=D(this),n=G(E(this,U));return r.parent=!0,n.ok=!m(t)||t,n.fail=m(e)&&e,n.domain=c?H.domain:void 0,0===r.state?r.reactions.add(n):w(function(){X(n,r)}),n.promise}),o=function(){var t=new n,e=D(t);this.promise=t,this.resolve=tt(rt,e),this.reject=tt(et,e)},C.f=G=function(t){return t===U||t===i?new o(t):z(t)},!u&&m(P)&&L!==Object.prototype)){s=L.then,A||d(L,"then",function(t,e){var r=this;return new U(function(t,e){p(s,r,t,e)}).then(t,e)},{unsafe:!0});try{delete L.constructor}catch(t){}h&&h(L,F)}a({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:U}),i=l.Promise,v(U,R,!1,!0),y(R)},507:(t,e,r)=>{"use strict";var n=r(9565);t.exports=function(t,e,r){for(var o,i,s=r?t:t.iterator,a=t.next;!(o=n(a,s)).done;)if(void 0!==(i=e(o.value)))return i}},511:(t,e,r)=>{"use strict";var n=r(9167),o=r(9297),i=r(1951),s=r(4913).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||s(e,t,{value:i.f(t)})}},537:(t,e,r)=>{"use strict";var n=r(550),o=r(4428),i=r(916).CONSTRUCTOR;t.exports=i||!o(function(t){n.all(t).then(void 0,function(){})})},550:(t,e,r)=>{"use strict";var n=r(4576);t.exports=n.Promise},616:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},632:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},i=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var s=r(8368),a=r(2505),u=r(6612),c=o(r(3685).zS,[]),f=function(){function t(){}return t.gaPlacement="",t.initialize=function(e){try{var r=new Date,n=JSON.parse(localStorage.getItem(t.CACHE_KEY))||{};if(t.gaPlacement=e,n.uuid&&n.expiry>=(new Date).valueOf())return void(t.CLIENT_ID=n.uuid);n.uuid=(0,u.generateUUID)(),n.expiry=r.setFullYear(r.getFullYear()+2),localStorage.setItem(t.CACHE_KEY,JSON.stringify(n)),t.CLIENT_ID=n.uuid}catch(e){t.CLIENT_ID=(0,u.generateUUID)()}},t.send=function(e){var r,o,u=t.BASE_URL,c=document.referrer;e=n({v:"1",ds:t.gaPlacement,cid:t.CLIENT_ID,z:"".concat(Math.round((new Date).getTime()/1e3))},e),""!==c&&(e.dr=c);try{for(var f=i(Object.keys(e)),l=f.next();!l.done;l=f.next()){var p=l.value,d=u===t.BASE_URL?"?":"&";u+="".concat(d).concat(p,"=").concat(encodeURIComponent(e[p]))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}a.default.get(u).catch(function(){s.default.logWarning("analytics","requestFailed")})},t.BASE_URL=c.baseUrl,t.CACHE_KEY=c.cacheKey,t.CLIENT_ID=c.cidPlaceholder,t}();e.default=f},655:(t,e,r)=>{"use strict";var n=r(6955),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},679:(t,e,r)=>{"use strict";var n=r(1625),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},687:(t,e,r)=>{"use strict";var n=r(4913).f,o=r(9297),i=r(8227)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},741: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)}},747:(t,e,r)=>{"use strict";var n=r(6699),o=r(6193),i=r(4659),s=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(s?s(t,e):n(t,"stack",o(r,a)))}},757:(t,e,r)=>{"use strict";var n=r(7751),o=r(4901),i=r(1625),s=r(7040),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},851:(t,e,r)=>{"use strict";var n=r(6955),o=r(5966),i=r(4117),s=r(6269),a=r(8227)("iterator");t.exports=function(t){if(!i(t))return o(t,a)||o(t,"@@iterator")||s[n(t)]}},916:(t,e,r)=>{"use strict";var n=r(4576),o=r(550),i=r(4901),s=r(2796),a=r(3706),u=r(8227),c=r(4215),f=r(6395),l=r(9519),p=o&&o.prototype,d=u("species"),h=!1,v=i(n.PromiseRejectionEvent),y=s("Promise",function(){var t=a(o),e=t!==String(o);if(!e&&66===l)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!l||l<51||!/native code/.test(t)){var r=new o(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[d]=n,!(h=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==c&&"DENO"!==c||v)});t.exports={CONSTRUCTOR:y,REJECTION_EVENT:v,SUBCLASSING:h}},963:t=>{"use strict";t.exports=JSON.parse('{"moderation":{"rejection":"This experience was rejected."},"clientConfiguration":{"badConfig":"Your Imposium configuration is an invalid type.","storyId":"An undefined or invalid storyId was set in your Imposium configuration.","accessToken":"An undefined or invalid accessToken was set in your Imposium configuration.","invalidEventName":"Invalid client event name.","invalidCallbackType":"The callback reference set for this client event is not of type function.","badConfigOnGet":"You cannot call client.getExperience(...) without using the Imposium player or setting the GOT_EXPERIENCE event.","bagConfigOnPostRender":"You cannot call client.createExperience({...}) without using the Imposium player or setting the GOT_EXPERIENCE event.","badConfigOnPostNoRender":"You cannot call client.createExperience({...}, false) without setting the EXPERIENCE_CREATED event."},"playerConfiguration":{"badClient":"You must provide a valid Imposium client reference to the player.","invalidPlayerRef":"No reference to an HTML5 video element was detected.","invalidEventName":"Invalid player event name.","invalidCallbackType":"The callback reference set for this player event is not of type function.","eventNotConfigured":"You cannot invoke this player event without a callback set.","badQualityOverride":"The quality specified does not exist for this experience."},"network":{"httpFailure":"Unable to process request to the Imposium API.","pollTimeout":"Polling timeout exceeded.","tcpFailure":"Socket connection failed while processing the experience.","errorOverTcp":"An error occured on the Imposium web servers while processing the experience.","messageParseFailure":"Message data from Imposium was malformed."},"uncaught":{"generic":"Something unexpected went wrong."}}')},1015:(t,e,r)=>{"use strict";var n=r(8418);t.exports=n},1072:(t,e,r)=>{"use strict";var n=r(1828),o=r(8727);t.exports=Object.keys||function(t){return n(t,o)}},1088:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(6395),s=r(350),a=r(4901),u=r(3994),c=r(2787),f=r(2967),l=r(687),p=r(6699),d=r(6840),h=r(8227),v=r(6269),y=r(7657),g=s.PROPER,m=s.CONFIGURABLE,_=y.IteratorPrototype,b=y.BUGGY_SAFARI_ITERATORS,E=h("iterator"),x="keys",w="values",S="entries",O=function(){return this};t.exports=function(t,e,r,s,h,y,T){u(r,e,s);var k,P,j,C=function(t){if(t===h&&D)return D;if(!b&&t&&t in N)return N[t];switch(t){case x:case w:case S:return function(){return new r(this,t)}}return function(){return new r(this)}},R=e+" Iterator",I=!1,N=t.prototype,A=N[E]||N["@@iterator"]||h&&N[h],D=!b&&A||C(h),M="Array"===e&&N.entries||A;if(M&&(k=c(M.call(new t)))!==Object.prototype&&k.next&&(i||c(k)===_||(f?f(k,_):a(k[E])||d(k,E,O)),l(k,R,!0,!0),i&&(v[R]=O)),g&&h===w&&A&&A.name!==w&&(!i&&m?p(N,"name",w):(I=!0,D=function(){return o(A,this)})),h)if(P={values:C(w),keys:y?D:C(x),entries:C(S)},T)for(j in P)(b||I||!(j in N))&&d(N,j,P[j]);else n({target:e,proto:!0,forced:b||I},P);return i&&!T||N[E]===D||d(N,E,D,{name:h}),v[e]=D,P}},1103:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},1155:(t,e,r)=>{"use strict";r(6099),r(3792),r(6033),r(6385),r(1517),r(1379),r(3777),r(4190),r(2359),r(6097),r(7254),r(7036),r(7273),r(7415),r(9929),r(7583),r(5122),r(230),r(7268),r(9733);var n=r(9167);t.exports=n.Map.of},1181:(t,e,r)=>{"use strict";var n,o,i,s=r(8622),a=r(4576),u=r(34),c=r(6699),f=r(9297),l=r(7629),p=r(6119),d=r(421),h="Object already initialized",v=a.TypeError,y=a.WeakMap;if(s||l.state){var g=l.state||(l.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new v(h);return e.facade=t,g.set(t,e),e},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var m=p("state");d[m]=!0,n=function(t,e){if(f(t,m))throw new v(h);return e.facade=t,c(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}}}},1291:(t,e,r)=>{"use strict";var n=r(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},1296:(t,e,r)=>{"use strict";var n=r(4495);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},1379:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(2248),s=i.get,a=i.has,u=i.set;n({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,i=o(this);return a(i,t)?(r=s(i,t),"update"in e&&(r=e.update(r,t,i),u(i,t,r)),r):(n=e.insert(t,i),u(i,t,n),n)}})},1469:(t,e,r)=>{"use strict";var n=r(7433);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},1481:(t,e,r)=>{"use strict";var n=r(6518),o=r(6043);n({target:"Promise",stat:!0,forced:r(916).CONSTRUCTOR},{reject:function(t){var e=o.f(this);return(0,e.reject)(t),e.promise}})},1499:function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0}),e.UncaughtError=e.HTTPError=e.PlayerConfigurationError=e.ClientConfigurationError=e.ModerationError=e.RenderError=e.ImposiumError=void 0;var s=r(2121),a=i(r(963),[]),u="moderation",c="clientConfiguration",f="playerConfiguration",l="network",p="uncaught",d=function(t){function e(r,n){var o=t.call(this,r)||this;return o.type="",o.version=s.version,o.storyId="<not_set>",o.logHeader="[IMPOSIUM ERROR]",o.setStoryId=function(t){o.storyId=t},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.type=n,o}return o(e,t),e}(Error);e.ImposiumError=d;var h=function(t){function e(r,n){var o=t.call(this,r,"render")||this;return o.experienceId=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Error rendering dynamic video\n \nExperience ID: ").concat(o.experienceId,"\n \nMessage: ").concat(o.message))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.experienceId=n||"<not_set>",o}return o(e,t),e}(d);e.RenderError=h;var v=function(t){function e(r,n){var o=t.call(this,a[u][r],u)||this;return o.experienceId=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Failed to pass moderation\n \nExperience ID: ").concat(o.experienceId,"\n \nMessage: ").concat(o.message))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.experienceId=n||"<not_set>",o}return o(e,t),e}(d);e.ModerationError=v;var y=function(t){function e(r,n){var o=t.call(this,a[c][r],c)||this;return o.eventName="",o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Invalid client configuration\n \nMessage: ").concat(o.message,"\n \nEvent name: ").concat(o.eventName))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.eventName=n||"<not_set>",o}return o(e,t),e}(d);e.ClientConfigurationError=y;var g=function(t){function e(r,n){var o=t.call(this,a[f][r],f)||this;return o.eventName="",o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Invalid player configuration\n \nMessage: ").concat(o.message,"\n \nEvent name: ").concat(o.eventName))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.eventName=n||"<not_set>",o}return o(e,t),e}(d);e.PlayerConfigurationError=g;var m=function(t){function e(r,n,o){var i,s,u=this;return(u=t.call(this,a[l][r],l)||this).experienceId=null,u.axiosError=null,u.log=function(){console.error("".concat(u.logHeader,"\n \nReason: HTTP error\n \nMessage: ").concat(u.message,"\n \nExperience ID: ").concat(u.experienceId,"\n \nNetwork Error: ").concat(u.axiosError," "))},Error.captureStackTrace&&Error.captureStackTrace(u,e),(null===(s=null===(i=null==o?void 0:o.response)||void 0===i?void 0:i.data)||void 0===s?void 0:s.error)&&(u.message=o.response.data.error),u.experienceId=n||"<not_set>",u.axiosError=o||"<not_set>",u}return o(e,t),e}(d);e.HTTPError=m;var _=function(t){function e(r,n){var o=t.call(this,a[p][r],p)||this;return o.uncaughtError=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Unknown\n \nMessage: ").concat(o.message,"\n \nError: "),o.uncaughtError)},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.uncaughtError=n,o}return o(e,t),e}(d);e.UncaughtError=_},1510:(t,e,r)=>{"use strict";var n=r(6518),o=r(7751),i=r(9297),s=r(655),a=r(5745),u=r(1296),c=a("string-to-symbol-registry"),f=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=s(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,f[r]=e,r}})},1517:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(2248).remove;n({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=o(this),r=!0,n=0,s=arguments.length;n<s;n++)t=i(e,arguments[n]),r=r&&t;return!!r}})},1625:(t,e,r)=>{"use strict";var n=r(9504);t.exports=n({}.isPrototypeOf)},1678:(t,e,r)=>{"use strict";r.d(e,{lu:()=>u,zf:()=>c});var n=r(6475),o=r(258);t=r.hmd(t);var i={nowSeconds:function(){return Date.now()/1e3}},s=(0,o.wD)()?function(){try{return(0,o.fj)(t,"perf_hooks").performance}catch(t){return}}():function(){var t=(0,n.V)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),a=void 0===s?i:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},u=i.nowSeconds.bind(i),c=a.nowSeconds.bind(a);!function(){var t=(0,n.V)().performance;if(t&&t.now){var e=36e5,r=t.now(),o=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+r-o):e,s=i<e,a=t.timing&&t.timing.navigationStart,u="number"==typeof a?Math.abs(a+r-o):e;(s||u<e)&&(i<=u&&t.timeOrigin)}}()},1689:(t,e,r)=>{"use strict";var n=r(6518),o=r(4576),i=r(8745),s=r(7680),a=r(6043),u=r(9306),c=r(1103),f=o.Promise,l=!1;n({target:"Promise",stat:!0,forced:!f||!f.try||c(function(){f.try(function(t){l=8===t},8)}).error||!l},{try:function(t){var e=arguments.length>1?s(arguments,1):[],r=a.f(this),n=c(function(){return i(u(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}})},1828:(t,e,r)=>{"use strict";var n=r(9504),o=r(9297),i=r(5397),s=r(9617).indexOf,a=r(421),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,f=[];for(r in n)!o(a,r)&&o(n,r)&&u(f,r);for(;e.length>c;)o(n,r=e[c++])&&(~s(f,r)||u(f,r));return f}},1928:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},1951:(t,e,r)=>{"use strict";var n=r(8227);e.f=n},1955:(t,e,r)=>{"use strict";var n,o,i,s,a,u=r(4576),c=r(3389),f=r(6080),l=r(9225).set,p=r(8265),d=r(9544),h=r(4265),v=r(7860),y=r(8574),g=u.MutationObserver||u.WebKitMutationObserver,m=u.document,_=u.process,b=u.Promise,E=c("queueMicrotask");if(!E){var x=new p,w=function(){var t,e;for(y&&(t=_.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};d||y||v||!g||!m?!h&&b&&b.resolve?((s=b.resolve(void 0)).constructor=b,a=f(s.then,s),n=function(){a(w)}):y?n=function(){_.nextTick(w)}:(l=f(l,u),n=function(){l(w)}):(o=!0,i=m.createTextNode(""),new g(w).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),E=function(t){x.head||n(),x.add(t)}}t.exports=E},2003:(t,e,r)=>{"use strict";var n=r(6518),o=r(6395),i=r(916).CONSTRUCTOR,s=r(550),a=r(7751),u=r(4901),c=r(6840),f=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&u(s)){var l=a("Promise").prototype.catch;f.catch!==l&&c(f,"catch",l,{unsafe:!0})}},2012:(t,e,r)=>{"use strict";var n=r(9516),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,s={};return t?(n.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(s[e]&&o.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}}),s):s}},2106:(t,e,r)=>{"use strict";var n=r(283),o=r(4913);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},2121:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printVersion=e.version=void 0,e.version="3.5.5",e.printVersion=function(){console.log("%cPowered By%c Imposium%c v".concat("3.5.5","%c https://imposium.com"),"text-transform: uppercase; padding: 5px 0px 5px 5px; background-color: black; color: white;","text-transform: uppercase; padding: 5px 0px 5px 0px; background-color: black; color: #a1b83a;","padding: 5px 5px 5px 0px; background-color: black; color: white;","padding: 5px 5px 5px 0px;")}},2140:(t,e,r)=>{"use strict";var n={};n[r(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},2181:(t,e,r)=>{"use strict";var n=r(5648);t.exports=n},2195:(t,e,r)=>{"use strict";var n=r(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},2211:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2248:(t,e,r)=>{"use strict";var n=r(9504),o=Map.prototype;t.exports={Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},2293:(t,e,r)=>{"use strict";var n=r(8551),o=r(5548),i=r(4117),s=r(8227)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||i(r=n(a)[s])?e:o(r)}},2359:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=s(e,function(t,n){if(r(t,n,e))return{value:t}},!0);return n&&n.value}})},2360:(t,e,r)=>{"use strict";var n,o=r(8551),i=r(6801),s=r(8727),a=r(421),u=r(397),c=r(4055),f=r(6119),l="prototype",p="script",d=f("IE_PROTO"),h=function(){},v=function(t){return"<"+p+">"+t+"</"+p+">"},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;g="undefined"!=typeof document?document.domain&&n?y(n):(e=c("iframe"),r="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(n);for(var o=s.length;o--;)delete g[l][s[o]];return g()};a[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[l]=o(t),r=new h,h[l]=null,r[d]=t):r=g(),void 0===e?r:i.f(r,e)}},2505:(t,e,r)=>{t.exports=r(8015)},2511:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var i=r(2955),s=r(6321),a=r(632),u=r(8368),c=r(7481),f=r(1499),l=r(6612),p=o(r(3685).Sn,[]),d=function(){function t(e){var r=this;this.clientConfig=void 0,this.gaProperty="",this.directDeliveryPipe=void 0,this.player=void 0,this.renderHistory=p.emptyHistory,this.eventDelegateRefs=(0,l.cloneWithKeys)(t.eventNames),this.playerIsFallback=!1,this.setup=function(t){var e=p.defaultConfig,o=r.clientConfig||p.defaultConfig,s=new Map,d=null;try{if("object"!=typeof t)throw new f.ClientConfigurationError("badConfig",null);if(!t.hasOwnProperty("storyId")||"string"!=typeof t.storyId)throw new f.ClientConfigurationError("storyId",null);if(!t.hasOwnProperty("accessToken")||"string"!=typeof t.accessToken)throw new f.ClientConfigurationError("accessToken",null);(0,l.prepConfig)(t,e),r.clientConfig=n(n({},o),t),d=new i.default(r.clientConfig.accessToken,r.clientConfig.environment,r.clientConfig.storyId,r.clientConfig.compositionId),s.set("experienceCreated",function(t){return r.experienceCreated(t)}),s.set("gotExperience",function(t){return r.gotExperience(t)}),s.set("internalError",function(t){return r.internalError(t)}),r.directDeliveryPipe=new c.default({api:d,clientDelegates:s,environment:r.clientConfig.environment}),d.getGAProperty().then(function(t){var e=t.gaTrackingId;"string"==typeof e&&e.length>0&&(a.default.initialize(r.clientConfig.gaPlacement),r.gaProperty=e,void 0!==r.player&&r.player.setGaProperty(e))}).catch(function(t){var e=new f.HTTPError("httpFailure",null,t);u.default.trapError(e,r.clientConfig.storyId,null)})}catch(e){var h=t&&t.storyId?t.storyId:"";u.default.trapError(e,h)}},this.bindPlayer=function(t,e){if(void 0===e&&(e=!1),r.clientConfig){var n=r.clientConfig.storyId;r.playerIsFallback=e,r.player=t,t.setStoryId(n),r.gaProperty&&t.setGaProperty(r.gaProperty)}},this.on=function(e,n){var o=r,i=o.eventDelegateRefs,s=o.eventDelegateRefs.ERROR;if(r.clientConfig){var a=r.clientConfig.storyId;try{if(!(0,l.isFunc)(n))throw new f.ClientConfigurationError("invalidCallbackType",e);if(!(0,l.keyExists)(t.eventNames,e))throw new f.ClientConfigurationError("invalidEventName",e);i[e]=n}catch(t){u.default.trapError(t,a,s)}}},this.off=function(e){void 0===e&&(e="");var n=r,o=n.eventDelegateRefs,i=n.eventDelegateRefs.ERROR;if(r.clientConfig){var s=r.clientConfig.storyId;try{if(e){if(!(0,l.keyExists)(t.eventNames,e))throw new f.ClientConfigurationError("invalidEventName",e);o[e]=null}else Object.keys(t.eventNames).forEach(function(t){o[t]=null})}catch(t){u.default.trapError(t,s,i)}}},this.captureAnalytics=function(t){void 0===t&&(t=null);var e=r.eventDelegateRefs.ERROR;if(r.clientConfig){var n=r.clientConfig.storyId;try{if(!(t instanceof HTMLVideoElement))throw new f.PlayerConfigurationError("invalidPlayerRef",null);r.bindPlayer(new s.default(t),!0)}catch(t){u.default.trapError(t,n,e)}}},this.getExperience=function(e){if(r.clientConfig){var n=r,o=n.player,i=n.clientConfig.storyId,s=n.eventDelegateRefs,a=s.GOT_EXPERIENCE,c=s.ERROR;try{if(null===o&&!(0,l.isFunc)(a))throw new f.ClientConfigurationError("badConfigOnGet",t.eventNames.GOT_EXPERIENCE);e.length>p.uuidLength&&(e=e.substring(0,p.uuidLength)),r.directDeliveryPipe.getExperience(e)}catch(t){u.default.trapError(t,i,c)}}},this.createExperience=function(e,n){if(void 0===n&&(n=!0),r.clientConfig){var o=r,i=o.player,s=o.playerIsFallback,a=o.clientConfig.storyId,c=o.eventDelegateRefs,p=c.GOT_EXPERIENCE,d=c.UPLOAD_PROGRESS,h=c.ERROR;try{if((null===i||s)&&!(0,l.isFunc)(p))throw new f.ClientConfigurationError("bagConfigOnPostRender",t.eventNames.GOT_EXPERIENCE);r.directDeliveryPipe.createExperience(e,n,d)}catch(t){u.default.trapError(t,a,h)}}},this.renderExperience=function(e){if(r.clientConfig){var n=r,o=n.player,i=n.playerIsFallback,s=n.clientConfig.storyId,a=n.eventDelegateRefs,c=a.GOT_EXPERIENCE,p=a.UPLOAD_PROGRESS,d=a.ERROR;try{if((null===o||i)&&!(0,l.isFunc)(c))throw new f.ClientConfigurationError("bagConfigOnPostRender",t.eventNames.GOT_EXPERIENCE);r.directDeliveryPipe.fetchExperience(e,p)}catch(t){u.default.trapError(t,s,d)}}},this.renderExperienceFromId=function(e){if(r.clientConfig){var n=r,o=n.player,i=n.playerIsFallback,s=n.clientConfig.storyId,a=n.eventDelegateRefs,c=a.GOT_EXPERIENCE,p=a.UPLOAD_PROGRESS,d=a.ERROR;try{if((null===o||i)&&!(0,l.isFunc)(c))throw new f.ClientConfigurationError("bagConfigOnPostRender",t.eventNames.GOT_EXPERIENCE);r.directDeliveryPipe.fetchExperience(null,p,1,e)}catch(t){u.default.trapError(t,s,d)}}},this.updateHistory=function(t,e){r.renderHistory[t]!==e&&(r.renderHistory[t]=e)},this.experienceCreated=function(t){var e=r.eventDelegateRefs.EXPERIENCE_CREATED,n=t.id;(0,l.isFunc)(e)&&e(t),r.updateHistory("prevExperienceId",n)},this.gotExperience=function(t){var e=r,n=e.player,o=e.clientConfig.storyId,i=e.eventDelegateRefs,s=i.GOT_EXPERIENCE,a=i.ERROR,c=t.id,p=t.moderation_status;try{if("rejected"===p)throw new f.ModerationError("rejection",c);(0,l.isFunc)(s)&&s(t),void 0!==n&&n.experienceGenerated(t),r.updateHistory("prevExperienceId",c),r.updateHistory("prevMessage","")}catch(t){u.default.trapError(t,o,a)}},this.internalError=function(t){var e=r,n=e.clientConfig.storyId,o=e.eventDelegateRefs.ERROR;u.default.trapError(t,n,o)},this.setup(e)}return t.eventNames=p.eventNames,t}();e.default=d},2529:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},2603:(t,e,r)=>{"use strict";var n=r(655);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},2652:(t,e,r)=>{"use strict";var n=r(6080),o=r(9565),i=r(8551),s=r(6823),a=r(4209),u=r(6198),c=r(1625),f=r(81),l=r(851),p=r(9539),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var y,g,m,_,b,E,x,w=r&&r.that,S=!(!r||!r.AS_ENTRIES),O=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),P=n(e,w),j=function(t){return y&&p(y,"normal"),new h(!0,t)},C=function(t){return S?(i(t),k?P(t[0],t[1],j):P(t[0],t[1])):k?P(t,j):P(t)};if(O)y=t.iterator;else if(T)y=t;else{if(!(g=l(t)))throw new d(s(t)+" is not iterable");if(a(g)){for(m=0,_=u(t);_>m;m++)if((b=C(t[m]))&&c(v,b))return b;return new h(!1)}y=f(t,g)}for(E=O?t.next:y.next;!(x=o(E,y)).done;){try{b=C(x.value)}catch(t){p(y,"throw",t)}if("object"==typeof b&&b&&c(v,b))return b}return new h(!1)}},2675:(t,e,r)=>{"use strict";r(6761),r(1510),r(7812),r(3110),r(9773)},2744:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},2777:(t,e,r)=>{"use strict";var n=r(9565),o=r(34),i=r(757),s=r(5966),a=r(4270),u=r(8227),c=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=s(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},2787:(t,e,r)=>{"use strict";var n=r(9297),o=r(4901),i=r(8981),s=r(6119),a=r(2211),u=s("IE_PROTO"),c=Object,f=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 o(r)&&e instanceof r?r.prototype:e instanceof c?f:null}},2796:(t,e,r)=>{"use strict";var n=r(9039),o=r(4901),i=/#|\.prototype\./,s=function(t,e){var r=u[a(t)];return r===f||r!==c&&(o(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=s.data={},c=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},2812:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},2839:(t,e,r)=>{"use strict";var n=r(4576).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},2881:(t,e,r)=>{"use strict";var n=r(9516),o=r(6987);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,function(r){t=r.call(i,t,e)}),t}},2955:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var i=r(6765),s=r(2505),a=r(6612),u=o(r(3685).FH,[]);e.default=function(t,e,r,o){var c;void 0===o&&(o=null);var f=this;this.http=null,this.storyId="",this.compositionId="",this.getGAProperty=function(){return new Promise(function(t,e){f.http.get("/story/".concat(f.storyId,"/property")).then(function(e){t(e.data)}).catch(function(t){e(t)})})},this.get=function(t){return new Promise(function(e,r){f.http.get("/story/".concat(f.storyId,"/experience/").concat(t,"?r=").concat(Math.random())).then(function(t){e(t.data)}).catch(function(t){r(t)})})},this.fetch=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var o=(0,a.inventoryToFormData)(f.storyId,t,f.compositionId),i={onUploadProgress:function(t){return f.uploadProgress(t,r)}};return o.append("id",e),new Promise(function(t,e){f.http.post("/experience/fetch",o,i).then(function(e){t(e.data)}).catch(function(t){e(t)})})},this.create=function(t,e,r,n){void 0===n&&(n=null);var o=e?"/experience/render":"/experience",i=(0,a.inventoryToFormData)(f.storyId,t,f.compositionId),s={onUploadProgress:function(t){return f.uploadProgress(t,n)}};return i.append("id",r),new Promise(function(t,e){f.http.post(o,i,s).then(function(e){t(e.data)}).catch(function(t){e(t)})})},this.getAuthHeader=function(t){var e,r,n=u.jwt,o=u.hmac;try{return(0,i.default)(t),(e={})[n]=t,e}catch(e){return(r={})[o]=t,r}},this.uploadProgress=function(t,e){if(void 0===e&&(e=null),e){var r=t.loaded,n=t.total;e(Math.round(r/n*100))}};var l=u.version,p=u.currentVersion;this.storyId=r,this.compositionId=o,this.http=s.default.create({baseURL:u[e],headers:n(n({},this.getAuthHeader(t)),(c={},c[l]=p,c))})}},2967:(t,e,r)=>{"use strict";var n=r(6706),o=r(34),i=r(7750),s=r(3506);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),s(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},2989:(t,e,r)=>{"use strict";t.exports=r(1155)},3110:(t,e,r)=>{"use strict";var n=r(6518),o=r(7751),i=r(8745),s=r(9565),a=r(9504),u=r(9039),c=r(4901),f=r(757),l=r(7680),p=r(6933),d=r(4495),h=String,v=o("JSON","stringify"),y=a(/./.exec),g=a("".charAt),m=a("".charCodeAt),_=a("".replace),b=a(1.1.toString),E=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,S=!d||u(function(){var t=o("Symbol")("stringify detection");return"[null]"!==v([t])||"{}"!==v({a:t})||"{}"!==v(Object(t))}),O=u(function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")}),T=function(t,e){var r=l(arguments),n=p(e);if(c(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(c(n)&&(e=s(n,this,h(t),e)),!f(e))return e},i(v,null,r)},k=function(t,e,r){var n=g(r,e-1),o=g(r,e+1);return y(x,t)&&!y(w,o)||y(w,t)&&!y(x,n)?"\\u"+b(m(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:S||O},{stringify:function(t,e,r){var n=l(arguments),o=i(S?T:v,null,n);return O&&"string"==typeof o?_(o,E,k):o}})},3138:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},3167:(t,e,r)=>{"use strict";var n=r(4901),o=r(34),i=r(2967);t.exports=function(t,e,r){var s,a;return i&&n(s=e.constructor)&&s!==r&&o(a=s.prototype)&&a!==r.prototype&&i(t,a),t}},3179:(t,e,r)=>{"use strict";var n=r(2140),o=r(6955);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},3191:(t,e,r)=>{"use strict";var n=r(1928);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var r=this;this.promise.then(function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}}),this.promise.then=function(t){var e,n=new Promise(function(t){r.subscribe(t),e=t}).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t(function(t){r.reason||(r.reason=new n(t),e(r.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},3317:t=>{"use strict";t.exports=function(t,e){return t===e||t!=t&&e!=e}},3362:(t,e,r)=>{"use strict";r(436),r(6499),r(2003),r(7743),r(1481),r(280)},3389:(t,e,r)=>{"use strict";var n=r(4576),o=r(3724),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!o)return n[t];var e=i(n,t);return e&&e.value}},3392:(t,e,r)=>{"use strict";var n=r(9504),o=0,i=Math.random(),s=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3438:(t,e,r)=>{"use strict";var n=r(8551),o=r(34),i=r(6043);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},3451:(t,e,r)=>{"use strict";var n=r(6518),o=r(9504),i=r(421),s=r(34),a=r(9297),u=r(4913).f,c=r(8480),f=r(298),l=r(4124),p=r(3392),d=r(2744),h=!1,v=p("meta"),y=0,g=function(t){u(t,v,{value:{objectID:"O"+y++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},h=!0;var t=c.f,e=o([].splice),r={};r[v]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===v){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,v)){if(!l(t))return"F";if(!e)return"E";g(t)}return t[v].objectID},getWeakData:function(t,e){if(!a(t,v)){if(!l(t))return!0;if(!e)return!1;g(t)}return t[v].weakData},onFreeze:function(t){return d&&h&&l(t)&&!a(t,v)&&g(t),t}};i[v]=!0},3471:(t,e,r)=>{"use strict";var n=r(9516);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},3506:(t,e,r)=>{"use strict";var n=r(3925),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},3517:(t,e,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(6955),a=r(7751),u=r(3706),c=function(){},f=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),d=!l.test(c),h=function(t){if(!i(t))return!1;try{return f(c,[],t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(l,u(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o(function(){var t;return h(h.call)||!h(Object)||!h(function(){t=!0})||t})?v:h},3518:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(7751),a=r(6043),u=r(1103),c=r(2652),f=r(537),l="No one promise resolved";n({target:"Promise",stat:!0,forced:f},{any:function(t){var e=this,r=s("AggregateError"),n=a.f(e),f=n.resolve,p=n.reject,d=u(function(){var n=i(e.resolve),s=[],a=0,u=1,d=!1;c(t,function(t){var i=a++,c=!1;u++,o(n,e,t).then(function(t){c||d||(d=!0,f(t))},function(t){c||d||(c=!0,s[i]=t,--u||p(new r(s,l)))})}),--u||p(new r(s,l))});return d.error&&p(d.value),n.promise}})},3685:t=>{"use strict";t.exports=JSON.parse('{"Sn":{"uuidLength":36,"defaultConfig":{"accessToken":"","storyId":"","compositionId":"","environment":"production","gaPlacement":"web"},"emptyHistory":{"prevExperienceId":"","prevMessage":""},"clientEmits":{"adding":"Adding job to queue...","added":"Added job to queue...","finishedPolling":"Video ready for viewing."},"eventNames":{"EXPERIENCE_CREATED":"EXPERIENCE_CREATED","UPLOAD_PROGRESS":"UPLOAD_PROGRESS","GOT_EXPERIENCE":"GOT_EXPERIENCE","STATUS_UPDATE":"STATUS_UPDATE","ERROR":"ERROR"}},"FH":{"production":"https://api.imposium.com","staging":"https://api.staging.imposium.com","local":"https://api","currentVersion":"2.0.0","version":"X-Imposium-Api-Version","hmac":"X-Imposium-Access-Key","jwt":"Authorization"},"e$":{"dsn":"https://17ffe982179e4d60a1df2062198d7ade@sentry.io/1411258","projectName":"imposium-js-sdk"},"zS":{"exceptionProp":"UA-123315989-1","baseUrl":"https://ssl.google-analytics.com/collect","lsLookup":"imposium_js_ga_cid","gaPropPlaceholder":"[id_placeholder]","cidPlaceholder":"[cid_placeholder]"},"xY":{"defaultConfig":{"volume":1,"preload":"auto","loop":false,"muted":false,"autoLoad":true,"autoPlay":true,"controls":true,"crossOrigin":"anonymous","qualityOverride":null},"testImage":"https://cdn.imposium.com/SampleJPGImage_1mb.jpg","playbackEvents":[0,0.25,0.5,0.75],"checkPlaybackRateMs":100,"volumeMin":0,"volumeMax":1,"bandwidth":{"low":2.4,"mid":8},"compression":{"stream":"m3u8","low":"mp4_480","mid":"mp4_720","high":"mp4_1080"},"bandwidthSamples":5,"hlsSupportLevels":{"native":"native","hlsjs":"hls-js"},"streamType":"application/vnd.apple.mpegurl"}}')},3706:(t,e,r)=>{"use strict";var n=r(9504),o=r(4901),i=r(7629),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},3717:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},3724:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},3777:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{every:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0);return!1!==s(e,function(t,n){if(!r(t,n,e))return!1},!0)}})},3792:(t,e,r)=>{"use strict";var n=r(5397),o=r(6469),i=r(6269),s=r(1181),a=r(4913).f,u=r(1088),c=r(2529),f=r(6395),l=r(3724),p="Array Iterator",d=s.set,h=s.getterFor(p);t.exports=u(Array,"Array",function(t,e){d(this,{type:p,target:n(t),index:0,kind:e})},function(){var t=h(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 v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==v.name)try{a(v,"name",{value:"values"})}catch(t){}},3864:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},3925:(t,e,r)=>{"use strict";var n=r(34);t.exports=function(t){return n(t)||null===t}},3948:(t,e,r)=>{"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,s){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},3994:(t,e,r)=>{"use strict";var n=r(7657).IteratorPrototype,o=r(2360),i=r(6980),s=r(687),a=r(6269),u=function(){return this};t.exports=function(t,e,r,c){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),s(t,f,!1,!0),a[f]=u,t}},4055:(t,e,r)=>{"use strict";var n=r(4576),o=r(34),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},4117:t=>{"use strict";t.exports=function(t){return null==t}},4124:(t,e,r)=>{"use strict";var n=r(9039),o=r(34),i=r(2195),s=r(5652),a=Object.isExtensible,u=n(function(){a(1)});t.exports=u||s?function(t){return!!o(t)&&(!s||"ArrayBuffer"!==i(t))&&(!a||a(t))}:a},4190:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(2248),a=r(6223),u=s.Map,c=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new u;return a(e,function(t,o){r(t,o,e)&&c(n,o,t)}),n}})},4202:(t,e,r)=>{"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},4209:(t,e,r)=>{"use strict";var n=r(8227),o=r(6269),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},4213:(t,e,r)=>{"use strict";var n=r(3724),o=r(9504),i=r(9565),s=r(9039),a=r(1072),u=r(3717),c=r(8773),f=r(8981),l=r(7055),p=Object.assign,d=Object.defineProperty,h=o([].concat);t.exports=!p||s(function(){if(n&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach(function(t){e[t]=t}),7!==p({},t)[r]||a(p({},e)).join("")!==o})?function(t,e){for(var r=f(t),o=arguments.length,s=1,p=u.f,d=c.f;o>s;)for(var v,y=l(arguments[s++]),g=p?h(a(y),p(y)):a(y),m=g.length,_=0;m>_;)v=g[_++],n&&!i(d,y,v)||(r[v]=y[v]);return r}:p},4215:(t,e,r)=>{"use strict";var n=r(4576),o=r(2839),i=r(2195),s=function(t){return o.slice(0,t.length)===t};t.exports=s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},4265:(t,e,r)=>{"use strict";var n=r(2839);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},4270:(t,e,r)=>{"use strict";var n=r(9565),o=r(4901),i=r(34),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw new s("Can't convert object to primitive value")}},4376:(t,e,r)=>{"use strict";var n=r(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4428:(t,e,r)=>{"use strict";var n=r(8227)("iterator"),o=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){o=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){try{if(!e&&!o)return!1}catch(t){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},4490:(t,e,r)=>{"use strict";var n=r(9516),o=r(2881),i=r(3864),s=r(6987),a=r(1928);function u(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new a("canceled")}t.exports=function(t){return u(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return u(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},4495:(t,e,r)=>{"use strict";var n=r(9519),o=r(9039),i=r(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},4576: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")()},4628:(t,e,r)=>{"use strict";var n=r(6518),o=r(6043);n({target:"Promise",stat:!0},{withResolvers:function(){var t=o.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},4659:(t,e,r)=>{"use strict";var n=r(9039),o=r(6980);t.exports=!n(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)})},4680:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4841:(t,e,r)=>{"use strict";var n=r(9641).version,o={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});var i={};o.transitional=function(t,e,r){function o(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,s){if(!1===t)throw new Error(o(n," has been removed"+(e?" in "+e:"")));return e&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,s)}},t.exports={assertOptions:function(t,e,r){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],s=e[i];if(s){var a=t[i],u=void 0===a||s(a,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},4901: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}},4912:(t,e,r)=>{"use strict";r.r(e),r.d(e,{BrowserClient:()=>Pr,Hub:()=>ct,Integrations:()=>yn,SDK_NAME:()=>dn,SDK_VERSION:()=>Ct,Scope:()=>j,Session:()=>at,Severity:()=>u,Transports:()=>i,addBreadcrumb:()=>Et,addGlobalEventProcessor:()=>R,captureEvent:()=>_t,captureException:()=>gt,captureMessage:()=>mt,close:()=>fn,configureScope:()=>bt,defaultIntegrations:()=>rn,eventFromException:()=>Re,eventFromMessage:()=>Ie,flush:()=>cn,forceLoad:()=>an,getCurrentHub:()=>pt,getHubFromCarrier:()=>ht,init:()=>nn,injectReportDialog:()=>ar,lastEventId:()=>sn,makeMain:()=>lt,onLoad:()=>un,setContext:()=>xt,setExtra:()=>Ot,setExtras:()=>wt,setTag:()=>Tt,setTags:()=>St,setUser:()=>kt,showReportDialog:()=>on,startTransaction:()=>jt,withScope:()=>Pt,wrap:()=>ln});var n={};r.r(n),r.d(n,{FunctionToString:()=>Nr,InboundFilters:()=>Cr});var o={};r.r(o),r.d(o,{Breadcrumbs:()=>xr,Dedupe:()=>Jr,GlobalHandlers:()=>Br,LinkedErrors:()=>Yr,TryCatch:()=>Dr,UserAgent:()=>en});var i={};r.r(i),r.d(i,{BaseTransport:()=>$e,FetchTransport:()=>Qe,XHRTransport:()=>er,makeNewFetchTransport:()=>Xe,makeNewXHRTransport:()=>tr});var s=function(t,e){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},s(t,e)};function a(t,e){function r(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var u,c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)};function f(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function p(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(u||(u={}));var d=Object.prototype.toString;function h(t){switch(d.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return w(t,Error)}}function v(t,e){return d.call(t)==="[object "+e+"]"}function y(t){return v(t,"ErrorEvent")}function g(t){return v(t,"DOMError")}function m(t){return v(t,"String")}function _(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function b(t){return v(t,"Object")}function E(t){return"undefined"!=typeof Event&&w(t,Event)}function x(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function w(t,e){try{return t instanceof e}catch(t){return!1}}var S=r(1678);function O(t){return new k(function(e){e(t)})}function T(t){return new k(function(e,r){r(t)})}var k=function(){function t(t){var e=this;this._state=0,this._handlers=[],this._resolve=function(t){e._setResult(1,t)},this._reject=function(t){e._setResult(2,t)},this._setResult=function(t,r){0===e._state&&(x(r)?r.then(e._resolve,e._reject):(e._state=t,e._value=r,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach(function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)})}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.then=function(e,r){var n=this;return new t(function(t,o){n._handlers.push([!1,function(r){if(e)try{t(e(r))}catch(t){o(t)}else t(r)},function(e){if(r)try{t(r(e))}catch(t){o(t)}else o(e)}]),n._executeHandlers()})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(e){var r=this;return new t(function(t,n){var o,i;return r.then(function(t){i=!1,o=t,e&&e()},function(t){i=!0,o=t,e&&e()}).then(function(){i?n(o):t(o)})})},t}(),P=r(6475),j=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return t.clone=function(e){var r=new t;return e&&(r._breadcrumbs=p(e._breadcrumbs),r._tags=c({},e._tags),r._extra=c({},e._extra),r._contexts=c({},e._contexts),r._user=e._user,r._level=e._level,r._span=e._span,r._session=e._session,r._transactionName=e._transactionName,r._fingerprint=e._fingerprint,r._eventProcessors=p(e._eventProcessors),r._requestSession=e._requestSession),r},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=c(c({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var r;return this._tags=c(c({},this._tags),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=c(c({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var r;return this._extra=c(c({},this._extra),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var r;return null===e?delete this._contexts[t]:this._contexts=c(c({},this._contexts),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t=this.getSpan();return t&&t.transaction},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var r=e(this);return r instanceof t?r:this}return e instanceof t?(this._tags=c(c({},this._tags),e._tags),this._extra=c(c({},this._extra),e._extra),this._contexts=c(c({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):b(e)&&(this._tags=c(c({},this._tags),e.tags),this._extra=c(c({},this._extra),e.extra),this._contexts=c(c({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var r="number"==typeof e?Math.min(e,100):100;if(r<=0)return this;var n=c({timestamp:(0,S.lu)()},t);return this._breadcrumbs=p(this._breadcrumbs,[n]).slice(-r),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=c(c({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=c(c({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=c(c({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=c(c({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=c({trace:this._span.getTraceContext()},t.contexts);var r=this._span.transaction&&this._span.transaction.name;r&&(t.tags=c({transaction:r},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=p(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(p(C(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=c(c({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,r,n){var o=this;return void 0===n&&(n=0),new k(function(i,s){var a=t[n];if(null===e||"function"!=typeof a)i(e);else{var u=a(c({},e),r);x(u)?u.then(function(e){return o._notifyEventProcessors(t,e,r,n+1).then(i)}).then(null,s):o._notifyEventProcessors(t,u,r,n+1).then(i).then(null,s)}})},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(e){e(t)}),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function C(){return(0,P.B)("globalEventProcessors",function(){return[]})}function R(t){C().push(t)}function I(t,e){try{for(var r=t,n=[],o=0,i=0,s=void 0;r&&o++<5&&!("html"===(s=N(r,e))||o>1&&i+3*n.length+s.length>=80);)n.push(s),i+=s.length,r=r.parentNode;return n.reverse().join(" > ")}catch(t){return"<unknown>"}}function N(t,e){var r,n,o,i,s,a=t,u=[];if(!a||!a.tagName)return"";u.push(a.tagName.toLowerCase());var c=e&&e.length?e.filter(function(t){return a.getAttribute(t)}).map(function(t){return[t,a.getAttribute(t)]}):null;if(c&&c.length)c.forEach(function(t){u.push("["+t[0]+'="'+t[1]+'"]')});else if(a.id&&u.push("#"+a.id),(r=a.className)&&m(r))for(n=r.split(/\s+/),s=0;s<n.length;s++)u.push("."+n[s]);var f=["type","name","title","alt"];for(s=0;s<f.length;s++)o=f[s],(i=a.getAttribute(o))&&u.push("["+o+'="'+i+'"]');return u.join("")}function A(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function D(t,e){if(!Array.isArray(t))return"";for(var r=[],n=0;n<t.length;n++){var o=t[n];try{r.push(String(o))}catch(t){r.push("[value cannot be serialized]")}}return r.join(e)}function M(t,e){return!!m(t)&&(v(e,"RegExp")?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}function L(t,e,r){if(e in t){var n=t[e],o=r(n);if("function"==typeof o)try{F(o,n)}catch(t){}t[e]=o}}function U(t,e,r){Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0})}function F(t,e){var r=e.prototype||{};t.prototype=e.prototype=r,U(t,"__sentry_original__",e)}function B(t){return t.__sentry_original__}function q(t){var e=t;if(h(t))e=c({message:t.message,name:t.name,stack:t.stack},G(t));else if(E(t)){var r=t;e=c({type:r.type,target:H(r.target),currentTarget:H(r.currentTarget)},G(r)),"undefined"!=typeof CustomEvent&&w(t,CustomEvent)&&(e.detail=r.detail)}return e}function H(t){try{return"undefined"!=typeof Element&&w(t,Element)?I(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function G(t){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function z(t,e){void 0===e&&(e=40);var r=Object.keys(q(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return A(r[0],e);for(var n=r.length;n>0;n--){var o=r.slice(0,n).join(", ");if(!(o.length>e))return n===r.length?o:A(o,e)}return""}function V(t){var e,r;if(b(t)){var n={};try{for(var o=f(Object.keys(t)),i=o.next();!i.done;i=o.next()){var s=i.value;void 0!==t[s]&&(n[s]=V(t[s]))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n}return Array.isArray(t)?t.map(V):t}function W(){var t=(0,P.V)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var r=new Uint16Array(8);e.getRandomValues(r),r[3]=4095&r[3]|16384,r[4]=16383&r[4]|32768;var n=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return n(r[0])+n(r[1])+n(r[2])+n(r[3])+n(r[4])+n(r[5])+n(r[6])+n(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}function Y(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var r=e[6]||"",n=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+r+n}}function X(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function J(t){var e=t.message,r=t.event_id;if(e)return e;var n=X(t);return n?n.type&&n.value?n.type+": "+n.value:n.type||n.value||r||"<unknown>":r||"<unknown>"}function K(t,e,r){var n=t.exception=t.exception||{},o=n.values=n.values||[],i=o[0]=o[0]||{};i.value||(i.value=e||""),i.type||(i.type=r||"Error")}function $(t,e){var r=X(t);if(r){var n=r.mechanism;if(r.mechanism=c(c(c({},{type:"generic",handled:!0}),n),e),e&&"data"in e){var o=c(c({},n&&n.data),e.data);r.mechanism.data=o}}}function Q(t){if(t&&t.__sentry_captured__)return!0;try{U(t,"__sentry_captured__",!0)}catch(t){}return!1}var Z,tt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,et=(0,P.V)(),rt=["debug","info","warn","error","log","assert"];function nt(t){var e=(0,P.V)();if(!("console"in e))return t();var r=e.console,n={};rt.forEach(function(t){var o=r[t]&&r[t].__sentry_original__;t in e.console&&o&&(n[t]=r[t],r[t]=o)});try{return t()}finally{Object.keys(n).forEach(function(t){r[t]=n[t]})}}function ot(){var t=!1,e={enable:function(){t=!0},disable:function(){t=!1}};return tt?rt.forEach(function(r){e[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t&&nt(function(){var t;(t=et.console)[r].apply(t,p(["Sentry Logger ["+r+"]:"],e))})}}):rt.forEach(function(t){e[t]=function(){}}),e}Z=tt?(0,P.B)("logger",ot):ot();var it=r(258),st="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,at=function(){function t(t){this.errors=0,this.sid=W(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var e=(0,S.zf)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||(0,S.zf)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:W()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return V({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),ut=4,ct=function(){function t(t,e,r){void 0===e&&(e=new j),void 0===r&&(r=ut),this._version=r,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=j.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var r=this._lastEventId=e&&e.event_id?e.event_id:W(),n=e;if(!e){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(t){o=t}n={originalException:t,syntheticException:o}}return this._invokeClient("captureException",t,c(c({},n),{event_id:r})),r},t.prototype.captureMessage=function(t,e,r){var n=this._lastEventId=r&&r.event_id?r.event_id:W(),o=r;if(!r){var i=void 0;try{throw new Error(t)}catch(t){i=t}o={originalException:t,syntheticException:i}}return this._invokeClient("captureMessage",t,e,c(c({},o),{event_id:n})),n},t.prototype.captureEvent=function(t,e){var r=e&&e.event_id?e.event_id:W();return"transaction"!==t.type&&(this._lastEventId=r),this._invokeClient("captureEvent",t,c(c({},e),{event_id:r})),r},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var r=this.getStackTop(),n=r.scope,o=r.client;if(n&&o){var i=o.getOptions&&o.getOptions()||{},s=i.beforeBreadcrumb,a=void 0===s?null:s,u=i.maxBreadcrumbs,f=void 0===u?100:u;if(!(f<=0)){var l=(0,S.lu)(),p=c({timestamp:l},t),d=a?nt(function(){return a(p,e)}):p;null!==d&&n.addBreadcrumb(d,f)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var r=this.getScope();r&&r.setTag(t,e)},t.prototype.setExtra=function(t,e){var r=this.getScope();r&&r.setExtra(t,e)},t.prototype.setContext=function(t,e){var r=this.getScope();r&&r.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),r=e.scope,n=e.client;r&&n&&t(r)},t.prototype.run=function(t){var e=lt(this);try{t(this)}finally{lt(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return st&&Z.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t=this.getStackTop(),e=t&&t.scope,r=e&&e.getSession();r&&r.close(),this._sendSessionUpdate(),e&&e.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),r=e.scope,n=e.client,o=n&&n.getOptions()||{},i=o.release,s=o.environment,a=((0,P.V)().navigator||{}).userAgent,u=new at(c(c(c({release:i,environment:s},r&&{user:r.getUser()}),a&&{userAgent:a}),t));if(r){var f=r.getSession&&r.getSession();f&&"ok"===f.status&&f.update({status:"exited"}),this.endSession(),r.setSession(u)}return u},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,r=t.client;if(e){var n=e.getSession&&e.getSession();n&&r&&r.captureSession&&r.captureSession(n)}},t.prototype._invokeClient=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=this.getStackTop(),i=o.scope,s=o.client;s&&s[t]&&(e=s)[t].apply(e,p(r,[i]))},t.prototype._callExtensionMethod=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=ft().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);st&&Z.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function ft(){var t=(0,P.V)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function lt(t){var e=ft(),r=ht(e);return vt(e,t),r}function pt(){var t=ft();return dt(t)&&!ht(t).isOlderThan(ut)||vt(t,new ct),(0,it.wD)()?function(t){try{var e=ft().__SENTRY__,r=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!r)return ht(t);if(!dt(r)||ht(r).isOlderThan(ut)){var n=ht(t).getStackTop();vt(r,new ct(n.client,j.clone(n.scope)))}return ht(r)}catch(e){return ht(t)}}(t):ht(t)}function dt(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function ht(t){return(0,P.B)("hub",function(){return new ct},t)}function vt(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}function yt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=pt();if(n&&n[t])return n[t].apply(n,p(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function gt(t,e){return yt("captureException",t,{captureContext:e,originalException:t,syntheticException:new Error("Sentry syntheticException")})}function mt(t,e){var r=new Error(t);return yt("captureMessage",t,"string"==typeof e?e:void 0,c({originalException:t,syntheticException:r},"string"!=typeof e?{captureContext:e}:void 0))}function _t(t){return yt("captureEvent",t)}function bt(t){yt("configureScope",t)}function Et(t){yt("addBreadcrumb",t)}function xt(t,e){yt("setContext",t,e)}function wt(t){yt("setExtras",t)}function St(t){yt("setTags",t)}function Ot(t,e){yt("setExtra",t,e)}function Tt(t,e){yt("setTag",t,e)}function kt(t){yt("setUser",t)}function Pt(t){yt("withScope",t)}function jt(t,e){return yt("startTransaction",c({},t),e)}var Ct="6.19.7",Rt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(t,r)||(t[r]=e[r]);return t}),It=function(t){function e(e){var r=this.constructor,n=t.call(this,e)||this;return n.message=e,n.name=r.prototype.constructor.name,Rt(n,r.prototype),n}return a(e,t),e}(Error),Nt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function At(t,e){void 0===e&&(e=!1);var r=t.host,n=t.path,o=t.pass,i=t.port,s=t.projectId;return t.protocol+"://"+t.publicKey+(e&&o?":"+o:"")+"@"+r+(i?":"+i:"")+"/"+(n?n+"/":n)+s}function Dt(t){return"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),{user:t.publicKey||"",protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Mt(t){var e="string"==typeof t?function(t){var e=Nt.exec(t);if(!e)throw new It("Invalid Sentry Dsn: "+t);var r=l(e.slice(1),6),n=r[0],o=r[1],i=r[2],s=void 0===i?"":i,a=r[3],u=r[4],c=void 0===u?"":u,f="",p=r[5],d=p.split("/");if(d.length>1&&(f=d.slice(0,-1).join("/"),p=d.pop()),p){var h=p.match(/^\d+/);h&&(p=h[0])}return Dt({host:a,pass:s,path:f,projectId:p,port:c,protocol:n,publicKey:o})}(t):Dt(t);return function(t){if(tt){var e=t.port,r=t.projectId,n=t.protocol;if(["protocol","publicKey","host","projectId"].forEach(function(e){if(!t[e])throw new It("Invalid Sentry Dsn: "+e+" missing")}),!r.match(/^\d+$/))throw new It("Invalid Sentry Dsn: Invalid projectId "+r);if(!function(t){return"http"===t||"https"===t}(n))throw new It("Invalid Sentry Dsn: Invalid protocol "+n);if(e&&isNaN(parseInt(e,10)))throw new It("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}var Lt=50;var Ut="<anonymous>";function Ft(t){try{return t&&"function"==typeof t&&t.name||Ut}catch(t){return Ut}}function Bt(t,e,r){void 0===e&&(e=1/0),void 0===r&&(r=1/0);try{return Ht("",t,e,r)}catch(t){return{ERROR:"**non-serializable** ("+t+")"}}}function qt(t,e,r){void 0===e&&(e=3),void 0===r&&(r=102400);var n,o=Bt(t,e);return n=o,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(n))>r?qt(t,e-1,r):o}function Ht(t,e,n,o,i){var s,a;void 0===n&&(n=1/0),void 0===o&&(o=1/0),void 0===i&&(s="function"==typeof WeakSet,a=s?new WeakSet:[],i=[function(t){if(s)return!!a.has(t)||(a.add(t),!1);for(var e=0;e<a.length;e++)if(a[e]===t)return!0;return a.push(t),!1},function(t){if(s)a.delete(t);else for(var e=0;e<a.length;e++)if(a[e]===t){a.splice(e,1);break}}]);var u,c=l(i,2),f=c[0],p=c[1],d=e;if(d&&"function"==typeof d.toJSON)try{return d.toJSON()}catch(t){}if(null===e||["number","boolean","string"].includes(typeof e)&&("number"!=typeof(u=e)||u==u))return e;var v=function(t,e){try{return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==r.g&&e===r.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":function(t){return b(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Ft(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":"[object "+Object.getPrototypeOf(e).constructor.name+"]"}catch(t){return"**non-serializable** ("+t+")"}}(t,e);if(!v.startsWith("[object "))return v;if(0===n)return v.replace("object ","");if(f(e))return"[Circular ~]";var y=Array.isArray(e)?[]:{},g=0,m=h(e)||E(e)?q(e):e;for(var _ in m)if(Object.prototype.hasOwnProperty.call(m,_)){if(g>=o){y[_]="[MaxProperties ~]";break}var x=m[_];y[_]=Ht(_,x,n-1,o,i),g+=1}return p(e),y}var Gt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,zt=[];function Vt(t){return t.reduce(function(t,e){return t.every(function(t){return e.name!==t.name})&&t.push(e),t},[])}var Wt="Not capturing exception because it's already been captured.",Yt=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=Mt(e.dsn))}return t.prototype.captureException=function(t,e,r){var n=this;if(!Q(t)){var o=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then(function(t){return n._captureEvent(t,e,r)}).then(function(t){o=t})),o}Gt&&Z.log(Wt)},t.prototype.captureMessage=function(t,e,r,n){var o=this,i=r&&r.event_id,s=_(t)?this._getBackend().eventFromMessage(String(t),e,r):this._getBackend().eventFromException(t,r);return this._process(s.then(function(t){return o._captureEvent(t,r,n)}).then(function(t){i=t})),i},t.prototype.captureEvent=function(t,e,r){if(!(e&&e.originalException&&Q(e.originalException))){var n=e&&e.event_id;return this._process(this._captureEvent(t,e,r).then(function(t){n=t})),n}Gt&&Z.log(Wt)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?Gt&&Z.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):Gt&&Z.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.prototype.flush=function(t){var e=this;return this._isClientDoneProcessing(t).then(function(r){return e.getTransport().close(t).then(function(t){return r&&t})})},t.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},t.prototype.setupIntegrations=function(){var t,e;this._isEnabled()&&!this._integrations.initialized&&(this._integrations=(t=this._options,e={},function(t){var e=t.defaultIntegrations&&p(t.defaultIntegrations)||[],r=t.integrations,n=p(Vt(e));Array.isArray(r)?n=p(n.filter(function(t){return r.every(function(e){return e.name!==t.name})}),Vt(r)):"function"==typeof r&&(n=r(n),n=Array.isArray(n)?n:[n]);var o=n.map(function(t){return t.name}),i="Debug";return-1!==o.indexOf(i)&&n.push.apply(n,p(n.splice(o.indexOf(i),1))),n}(t).forEach(function(t){e[t.name]=t,function(t){-1===zt.indexOf(t.name)&&(t.setupOnce(R,pt),zt.push(t.name),Gt&&Z.log("Integration installed: "+t.name))}(t)}),U(e,"initialized",!0),e))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return Gt&&Z.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var r,n,o=!1,i=!1,s=e.exception&&e.exception.values;if(s){i=!0;try{for(var a=f(s),u=a.next();!u.done;u=a.next()){var l=u.value.mechanism;if(l&&!1===l.handled){o=!0;break}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}var p="ok"===t.status;(p&&0===t.errors||p&&o)&&(t.update(c(c({},o&&{status:"crashed"}),{errors:t.errors||Number(i||o)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new k(function(r){var n=0,o=setInterval(function(){0==e._numProcessing?(clearInterval(o),r(!0)):(n+=1,t&&n>=t&&(clearInterval(o),r(!1)))},1)})},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,r){var n=this,o=this.getOptions(),i=o.normalizeDepth,s=void 0===i?3:i,a=o.normalizeMaxBreadth,u=void 0===a?1e3:a,f=c(c({},t),{event_id:t.event_id||(r&&r.event_id?r.event_id:W()),timestamp:t.timestamp||(0,S.lu)()});this._applyClientOptions(f),this._applyIntegrationsMetadata(f);var l=e;r&&r.captureContext&&(l=j.clone(l).update(r.captureContext));var p=O(f);return l&&(p=l.applyToEvent(f,r)),p.then(function(t){return t&&(t.sdkProcessingMetadata=c(c({},t.sdkProcessingMetadata),{normalizeDepth:Bt(s)+" ("+typeof s+")"})),"number"==typeof s&&s>0?n._normalizeEvent(t,s,u):t})},t.prototype._normalizeEvent=function(t,e,r){if(!t)return null;var n=c(c(c(c(c({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return c(c({},t),t.data&&{data:Bt(t.data,e,r)})})}),t.user&&{user:Bt(t.user,e,r)}),t.contexts&&{contexts:Bt(t.contexts,e,r)}),t.extra&&{extra:Bt(t.extra,e,r)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n.sdkProcessingMetadata=c(c({},n.sdkProcessingMetadata),{baseClientNormalized:!0}),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),r=e.environment,n=e.release,o=e.dist,i=e.maxValueLength,s=void 0===i?250:i;"environment"in t||(t.environment="environment"in e?r:"production"),void 0===t.release&&void 0!==n&&(t.release=n),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=A(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=A(a.value,s));var u=t.request;u&&u.url&&(u.url=A(u.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=p(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,r){return this._processEvent(t,e,r).then(function(t){return t.event_id},function(t){Gt&&Z.error(t)})},t.prototype._processEvent=function(t,e,r){var n=this,o=this.getOptions(),i=o.beforeSend,s=o.sampleRate,a=this.getTransport();function u(t,e){a.recordLostEvent&&a.recordLostEvent(t,e)}if(!this._isEnabled())return T(new It("SDK not enabled, will not capture event."));var c="transaction"===t.type;return!c&&"number"==typeof s&&Math.random()>s?(u("sample_rate","event"),T(new It("Discarding event because it's not included in the random sample (sampling rate = "+s+")"))):this._prepareEvent(t,r,e).then(function(r){if(null===r)throw u("event_processor",t.type||"event"),new It("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||c||!i?r:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(x(t))return t.then(function(t){if(!b(t)&&null!==t)throw new It(e);return t},function(t){throw new It("beforeSend rejected with "+t)});if(!b(t)&&null!==t)throw new It(e);return t}(i(r,e))}).then(function(e){if(null===e)throw u("before_send",t.type||"event"),new It("`beforeSend` returned `null`, will not send event.");var o=r&&r.getSession&&r.getSession();return!c&&o&&n._updateSessionFromEvent(o,e),n._sendEvent(e),e}).then(null,function(t){if(t instanceof It)throw t;throw n.captureException(t,{data:{__sentry__:!0},originalException:t}),new It("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})},t.prototype._process=function(t){var e=this;this._numProcessing+=1,t.then(function(t){return e._numProcessing-=1,t},function(t){return e._numProcessing-=1,t})},t}();function Xt(t,e,r){return{initDsn:t,metadata:e||{},dsn:Mt(t),tunnel:r}}function Jt(t){var e=t.protocol?t.protocol+":":"",r=t.port?":"+t.port:"";return e+"//"+t.host+r+(t.path?"/"+t.path:"")+"/api/"}function Kt(t,e){return""+Jt(t)+t.projectId+"/"+e+"/"}function $t(t){return e={sentry_key:t.publicKey,sentry_version:"7"},Object.keys(e).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])}).join("&");var e}function Qt(t){return Kt(t,"store")}function Zt(t){return Qt(t)+"?"+$t(t)}function te(t,e){return e||function(t){return Kt(t,"envelope")}(t)+"?"+$t(t)}function ee(t,e){return void 0===e&&(e=[]),[t,e]}function re(t){var e=l(t,2),r=e[0],n=e[1],o=JSON.stringify(r);return n.reduce(function(t,e){var r=l(e,2),n=r[0],o=r[1],i=_(o)?String(o):JSON.stringify(o);return t+"\n"+JSON.stringify(n)+"\n"+i},o)}function ne(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function oe(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=p(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=p(t.sdk.packages||[],e.packages||[]),t):t}function ie(t,e){var r=ne(e),n="aggregates"in t?"sessions":"session";return[ee(c(c({sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:At(e.dsn)}),[[{type:n},t]]),n]}!function(){function t(t,e,r){void 0===e&&(e={}),this.dsn=t,this._dsnObject=Mt(t),this.metadata=e,this._tunnel=r}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return Jt(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return Qt(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return Zt(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return te(this._dsnObject,this._tunnel)}}();var se=function(){function t(){}return t.prototype.sendEvent=function(t){return O({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return O(!0)},t}(),ae=function(){function t(t){this._options=t,this._options.dsn||Gt&&Z.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new It("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,r){throw new It("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=function(t,e){var r=ne(e),n=t.type||"event",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},i=o.method,s=o.rate;return oe(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata,ee(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:At(e.dsn)}),[[{type:n,sample_rates:[{id:i,rate:s}]},t]])}(t,Xt(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,function(t){Gt&&Z.error("Error while sending event:",t)})}else this._transport.sendEvent(t).then(null,function(t){Gt&&Z.error("Error while sending event:",t)})},t.prototype.sendSession=function(t){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=l(ie(t,Xt(this._options.dsn,this._options._metadata,this._options.tunnel)),1)[0];this._newTransport.send(e).then(null,function(t){Gt&&Z.error("Error while sending session:",t)})}else this._transport.sendSession(t).then(null,function(t){Gt&&Z.error("Error while sending session:",t)});else Gt&&Z.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new se},t}();function ue(){if(!("fetch"in(0,P.V)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function ce(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function fe(){if(!ue())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var le="?";function pe(t,e,r,n){var o={filename:t,function:e,in_app:!0};return void 0!==r&&(o.lineno=r),void 0!==n&&(o.colno=n),o}var de=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,he=/\((\S*)(?::(\d+))(?::(\d+))\)/,ve=[30,function(t){var e=de.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var r=he.exec(e[2]);r&&(e[2]=r[1],e[3]=r[2],e[4]=r[3])}var n=l(Oe(e[1]||le,e[2]),2),o=n[0];return pe(n[1],o,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],ye=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ge=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,me=[50,function(t){var e,r=ye.exec(t);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){var n=ge.exec(r[3]);n&&(r[1]=r[1]||"eval",r[3]=n[1],r[4]=n[2],r[5]="")}var o=r[3],i=r[1]||le;return i=(e=l(Oe(i,o),2))[0],pe(o=e[1],i,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}}],_e=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,be=[40,function(t){var e=_e.exec(t);return e?pe(e[2],e[1]||le,+e[3],e[4]?+e[4]:void 0):void 0}],Ee=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,xe=[10,function(t){var e=Ee.exec(t);return e?pe(e[2],e[3]||le,+e[1]):void 0}],we=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Se=[20,function(t){var e=we.exec(t);return e?pe(e[5],e[3]||e[4]||le,+e[1],+e[2]):void 0}],Oe=function(t,e){var r=-1!==t.indexOf("safari-extension"),n=-1!==t.indexOf("safari-web-extension");return r||n?[-1!==t.indexOf("@")?t.split("@")[0]:le,r?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function Te(t){var e=Pe(t),r={type:t&&t.name,value:Ce(t)};return e.length&&(r.stacktrace={frames:e}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function ke(t){return{exception:{values:[Te(t)]}}}function Pe(t){var e=t.stacktrace||t.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(je.test(t.message))return 1}return 0}(t);try{return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t.sort(function(t,e){return t[0]-e[0]}).map(function(t){return t[1]});return function(t,e){var n,o,i,s;void 0===e&&(e=0);var a=[];try{for(var u=f(t.split("\n").slice(e)),l=u.next();!l.done;l=u.next()){var p=l.value;try{for(var d=(i=void 0,f(r)),h=d.next();!h.done;h=d.next()){var v=(0,h.value)(p);if(v){a.push(v);break}}}catch(t){i={error:t}}finally{try{h&&!h.done&&(s=d.return)&&s.call(d)}finally{if(i)throw i.error}}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}return function(t){if(!t.length)return[];var e=t,r=e[0].function||"",n=e[e.length-1].function||"";return-1===r.indexOf("captureMessage")&&-1===r.indexOf("captureException")||(e=e.slice(1)),-1!==n.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,Lt).map(function(t){return c(c({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})}).reverse()}(a)}}(xe,Se,ve,be,me)(e,r)}catch(t){}return[]}var je=/Minified React error #\d+;/i;function Ce(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Re(t,e,r){var n=Ne(t,e&&e.syntheticException||void 0,r);return $(n),n.level=u.Error,e&&e.event_id&&(n.event_id=e.event_id),O(n)}function Ie(t,e,r,n){void 0===e&&(e=u.Info);var o=Ae(t,r&&r.syntheticException||void 0,n);return o.level=e,r&&r.event_id&&(o.event_id=r.event_id),O(o)}function Ne(t,e,r,n){var o;if(y(t)&&t.error)return ke(t.error);if(g(t)||v(t,"DOMException")){var i=t;if("stack"in t)o=ke(t);else{var s=i.name||(g(i)?"DOMError":"DOMException"),a=i.message?s+": "+i.message:s;K(o=Ae(a,e,r),a)}return"code"in i&&(o.tags=c(c({},o.tags),{"DOMException.code":""+i.code})),o}return h(t)?ke(t):b(t)||E(t)?(o=function(t,e,r){var n={exception:{values:[{type:E(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error "+(r?"promise rejection":"exception")+" captured with keys: "+z(t)}]},extra:{__serialized__:qt(t)}};if(e){var o=Pe(e);o.length&&(n.stacktrace={frames:o})}return n}(t,e,n),$(o,{synthetic:!0}),o):(K(o=Ae(t,e,r),""+t,void 0),$(o,{synthetic:!0}),o)}function Ae(t,e,r){var n={message:t};if(r&&e){var o=Pe(e);o.length&&(n.stacktrace={frames:o})}return n}function De(t){var e=[];function r(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(n){if(!(void 0===t||e.length<t))return T(new It("Not adding Promise due to buffer limit reached."));var o=n();return-1===e.indexOf(o)&&e.push(o),o.then(function(){return r(o)}).then(null,function(){return r(o).then(null,function(){})}),o},drain:function(t){return new k(function(r,n){var o=e.length;if(!o)return r(!0);var i=setTimeout(function(){t&&t>0&&r(!1)},t);e.forEach(function(t){O(t).then(function(){--o||(clearTimeout(i),r(!0))},n)})})}}}var Me=6e4;function Le(t,e){return t[e]||t.all||0}function Ue(t,e,r){return void 0===r&&(r=Date.now()),Le(t,e)>r}function Fe(t,e,r){var n,o,i,s;void 0===r&&(r=Date.now());var a=c({},t),u=e["x-sentry-rate-limits"],l=e["retry-after"];if(u)try{for(var p=f(u.trim().split(",")),d=p.next();!d.done;d=p.next()){var h=d.value.split(":",2),v=parseInt(h[0],10),y=1e3*(isNaN(v)?60:v);if(h[1])try{for(var g=(i=void 0,f(h[1].split(";"))),m=g.next();!m.done;m=g.next())a[m.value]=r+y}catch(t){i={error:t}}finally{try{m&&!m.done&&(s=g.return)&&s.call(g)}finally{if(i)throw i.error}}else a.all=r+y}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}else l&&(a.all=r+function(t,e){void 0===e&&(e=Date.now());var r=parseInt(""+t,10);if(!isNaN(r))return 1e3*r;var n=Date.parse(""+t);return isNaN(n)?Me:n-e}(l,r));return a}function Be(t){return t>=200&&t<300?"success":429===t?"rate_limit":t>=400&&t<500?"invalid":t>=500?"failed":"unknown"}var qe=30;function He(t,e,r){void 0===r&&(r=De(t.bufferSize||qe));var n={};return{send:function(t){var o=function(t){var e=l(t,2),r=l(e[1],1);return l(r[0],1)[0].type}(t),i="event"===o?"error":o,s={category:i,body:re(t)};return Ue(n,i)?T({status:"rate_limit",reason:Ge(n,i)}):r.add(function(){return e(s).then(function(t){var e=t.body,r=t.headers,o=t.reason,s=Be(t.statusCode);return r&&(n=Fe(n,r)),"success"===s?O({status:s,reason:o}):T({status:s,reason:o||e||("rate_limit"===s?Ge(n,i):"Unknown transport error")})})})},flush:function(t){return r.drain(t)}}}function Ge(t,e){return"Too many "+e+" requests, backing off until: "+new Date(Le(t,e)).toISOString()}var ze,Ve="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,We=(0,P.V)();function Ye(){if(ze)return ze;if(ce(We.fetch))return ze=We.fetch.bind(We);var t=We.document,e=We.fetch;if(t&&"function"==typeof t.createElement)try{var r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r);var n=r.contentWindow;n&&n.fetch&&(e=n.fetch),t.head.removeChild(r)}catch(t){Ve&&Z.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return ze=e.bind(We)}function Xe(t,e){return void 0===e&&(e=Ye()),He({bufferSize:t.bufferSize},function(r){var n=c({body:r.body,method:"POST",referrerPolicy:"origin"},t.requestOptions);return e(t.url,n).then(function(t){return t.text().then(function(e){return{body:e,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")},reason:t.statusText,statusCode:t.status}})})})}function Je(t){return"event"===t?"error":t}var Ke=(0,P.V)(),$e=function(){function t(t){var e=this;this.options=t,this._buffer=De(30),this._rateLimits={},this._outcomes={},this._api=Xt(t.dsn,t._metadata,t.tunnel),this.url=Zt(this._api.dsn),this.options.sendClientReports&&Ke.document&&Ke.document.addEventListener("visibilitychange",function(){"hidden"===Ke.document.visibilityState&&e._flushOutcomes()})}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var r,n=ne(e),o=t.type||"event",i="transaction"===o||!!e.tunnel,s=(t.sdkProcessingMetadata||{}).transactionSampling||{},a=s.method,u=s.rate;oe(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{r=JSON.stringify(t)}catch(e){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=e;try{r=JSON.stringify(Bt(t))}catch(t){var f=t;r=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:f.message,stack:f.stack}})}}var l={body:r,type:o,url:i?te(e.dsn,e.tunnel):Zt(e.dsn)};if(i){var p=ee(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:At(e.dsn)}),[[{type:o,sample_rates:[{id:a,rate:u}]},l.body]]);l.body=re(p)}return l}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var r=l(ie(t,e),2),n=r[0],o=r[1];return{body:re(n),type:o,url:te(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var r;if(this.options.sendClientReports){var n=Je(e)+":"+t;Ve&&Z.log("Adding outcome: "+n),this._outcomes[n]=(null!=(r=this._outcomes[n])?r:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){Ve&&Z.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,r,n=te(this._api.dsn,this._api.tunnel),o=(e=Object.keys(t).map(function(e){var r=l(e.split(":"),2),n=r[0];return{reason:r[1],category:n,quantity:t[e]}}),ee((r=this._api.tunnel&&At(this._api.dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:(0,S.lu)(),discarded_events:e}]]));try{!function(t,e){if("[object Navigator]"===Object.prototype.toString.call(We&&We.navigator)&&"function"==typeof We.navigator.sendBeacon)return We.navigator.sendBeacon.bind(We.navigator)(t,e);ue()&&Ye()(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,function(t){console.error(t)})}(n,re(o))}catch(t){Ve&&Z.error(t)}}else Ve&&Z.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e=t.requestType,r=t.response,n=t.headers,o=t.resolve,i=t.reject,s=Be(r.status);this._rateLimits=Fe(this._rateLimits,n),this._isRateLimited(e)&&Ve&&Z.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),"success"!==s?i(r):o({status:s})},t.prototype._disabledUntil=function(t){var e=Je(t);return new Date(Le(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=Je(t);return Ue(this._rateLimits,e)},t}(),Qe=function(t){function e(e,r){void 0===r&&(r=Ye());var n=t.call(this,e)||this;return n._fetch=r,n}return a(e,t),e.prototype._sendRequest=function(t,e){var r=this;if(this._isRateLimited(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var n={body:t.body,method:"POST",referrerPolicy:fe()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(n,this.options.fetchParameters),void 0!==this.options.headers&&(n.headers=this.options.headers),this._buffer.add(function(){return new k(function(e,o){r._fetch(t.url,n).then(function(n){var i={"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")};r._handleResponse({requestType:t.type,response:n,headers:i,resolve:e,reject:o})}).catch(o)})}).then(void 0,function(e){throw e instanceof It?r.recordLostEvent("queue_overflow",t.type):r.recordLostEvent("network_error",t.type),e})},e}($e),Ze=4;function tr(t){return He({bufferSize:t.bufferSize},function(e){return new k(function(r,n){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(o.readyState===Ze){var t={body:o.response,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")},reason:o.statusText,statusCode:o.status};r(t)}},o.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,i)&&o.setRequestHeader(i,t.headers[i]);o.send(e.body)})})}var er=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype._sendRequest=function(t,e){var r=this;return this._isRateLimited(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add(function(){return new k(function(e,n){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};r._handleResponse({requestType:t.type,response:o,headers:i,resolve:e,reject:n})}},o.open("POST",t.url),r.options.headers)Object.prototype.hasOwnProperty.call(r.options.headers,i)&&o.setRequestHeader(i,r.options.headers[i]);o.send(t.body)})}).then(void 0,function(e){throw e instanceof It?r.recordLostEvent("queue_overflow",t.type):r.recordLostEvent("network_error",t.type),e})},e}($e),rr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.eventFromException=function(t,e){return Re(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,r){return void 0===e&&(e=u.Info),Ie(t,e,r,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=c(c({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),r=Xt(e.dsn,e._metadata,e.tunnel),n=te(r.dsn,r.tunnel);if(this._options.transport)return new this._options.transport(e);if(ue()){var o=c({},e.fetchParameters);return this._newTransport=Xe({requestOptions:o,url:n}),new Qe(e)}return this._newTransport=tr({url:n,headers:e.headers}),new er(e)},e}(ae),nr=(0,P.V)(),or=0;function ir(){return or>0}function sr(t,e,r){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var n=t.__sentry_wrapped__;if(n)return n;if(B(t))return t}catch(e){return t}var o=function(){var n=Array.prototype.slice.call(arguments);try{r&&"function"==typeof r&&r.apply(this,arguments);var o=n.map(function(t){return sr(t,e)});return t.apply(this,o)}catch(t){throw or+=1,setTimeout(function(){or-=1}),Pt(function(r){r.addEventProcessor(function(t){return e.mechanism&&(K(t,void 0,void 0),$(t,e.mechanism)),t.extra=c(c({},t.extra),{arguments:n}),t}),gt(t)}),t}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i])}catch(t){}F(o,t),U(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return t.name}})}catch(t){}return o}function ar(t){if(void 0===t&&(t={}),nr.document)if(t.eventId)if(t.dsn){var e=nr.document.createElement("script");e.async=!0,e.src=function(t,e){var r=Mt(t),n=Jt(r)+"embed/error-page/",o="dsn="+At(r);for(var i in e)if("dsn"!==i)if("user"===i){if(!e.user)continue;e.user.name&&(o+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(o+="&email="+encodeURIComponent(e.user.email))}else o+="&"+encodeURIComponent(i)+"="+encodeURIComponent(e[i]);return n+"?"+o}(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var r=nr.document.head||nr.document.body;r&&r.appendChild(e)}else Ve&&Z.error("Missing dsn option in showReportDialog call");else Ve&&Z.error("Missing eventId option in showReportDialog call")}var ur,cr=(0,P.V)(),fr={},lr={};function pr(t,e){fr[t]=fr[t]||[],fr[t].push(e),function(t){if(!lr[t])switch(lr[t]=!0,t){case"console":"console"in cr&&rt.forEach(function(t){t in cr.console&&L(cr.console,t,function(e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];dr("console",{args:r,level:t}),e&&e.apply(cr.console,r)}})});break;case"dom":!function(){if("document"in cr){var t=dr.bind(null,"dom"),e=mr(t,!0);cr.document.addEventListener("click",e,!1),cr.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(function(e){var r=cr[e]&&cr[e].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(L(r,"addEventListener",function(e){return function(r,n,o){if("click"===r||"keypress"==r)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=i[r]=i[r]||{refCount:0};if(!s.handler){var a=mr(t);s.handler=a,e.call(this,r,a,o)}s.refCount+=1}catch(t){}return e.call(this,r,n,o)}}),L(r,"removeEventListener",function(t){return function(e,r,n){if("click"===e||"keypress"==e)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[e];i&&(i.refCount-=1,i.refCount<=0&&(t.call(this,e,i.handler,n),i.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,r,n)}}))})}}();break;case"xhr":!function(){if("XMLHttpRequest"in cr){var t=XMLHttpRequest.prototype;L(t,"open",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this,o=e[1],i=n.__sentry_xhr__={method:m(e[0])?e[0].toUpperCase():e[0],url:e[1]};m(o)&&"POST"===i.method&&o.match(/sentry_key/)&&(n.__sentry_own_request__=!0);var s=function(){if(4===n.readyState){try{i.status_code=n.status}catch(t){}dr("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?L(n,"onreadystatechange",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return s(),t.apply(n,e)}}):n.addEventListener("readystatechange",s),t.apply(n,e)}}),L(t,"send",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),dr("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}})}}();break;case"fetch":(function(){if(!ue())return!1;var t=(0,P.V)();if(ce(t.fetch))return!0;var e=!1,r=t.document;if(r&&"function"==typeof r.createElement)try{var n=r.createElement("iframe");n.hidden=!0,r.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=ce(n.contentWindow.fetch)),r.head.removeChild(n)}catch(t){tt&&Z.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e})()&&L(cr,"fetch",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n,o={args:e,fetchData:{method:(n=e,void 0===n&&(n=[]),"Request"in cr&&w(n[0],Request)&&n[0].method?String(n[0].method).toUpperCase():n[1]&&n[1].method?String(n[1].method).toUpperCase():"GET"),url:hr(e)},startTimestamp:Date.now()};return dr("fetch",c({},o)),t.apply(cr,e).then(function(t){return dr("fetch",c(c({},o),{endTimestamp:Date.now(),response:t})),t},function(t){throw dr("fetch",c(c({},o),{endTimestamp:Date.now(),error:t})),t})}});break;case"history":!function(){if(function(){var t=(0,P.V)(),e=t.chrome,r=e&&e.app&&e.app.runtime,n="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!r&&n}()){var t=cr.onpopstate;cr.onpopstate=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=cr.location.href,o=ur;if(ur=n,dr("history",{from:o,to:n}),t)try{return t.apply(this,e)}catch(t){}},L(cr.history,"pushState",e),L(cr.history,"replaceState",e)}function e(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e.length>2?e[2]:void 0;if(n){var o=ur,i=String(n);ur=i,dr("history",{from:o,to:i})}return t.apply(this,e)}}}();break;case"error":_r=cr.onerror,cr.onerror=function(t,e,r,n,o){return dr("error",{column:n,error:o,line:r,msg:t,url:e}),!!_r&&_r.apply(this,arguments)};break;case"unhandledrejection":br=cr.onunhandledrejection,cr.onunhandledrejection=function(t){return dr("unhandledrejection",t),!br||br.apply(this,arguments)};break;default:tt&&Z.warn("unknown instrumentation type:",t)}}(t)}function dr(t,e){var r,n;if(t&&fr[t])try{for(var o=f(fr[t]||[]),i=o.next();!i.done;i=o.next()){var s=i.value;try{s(e)}catch(e){tt&&Z.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Ft(s)+"\nError:",e)}}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}function hr(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in cr&&w(t[0],Request)?t[0].url:String(t[0])}var vr,yr,gr=1e3;function mr(t,e){return void 0===e&&(e=!1),function(r){if(r&&yr!==r&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(r)){var n="keypress"===r.type?"input":r.type;(void 0===vr||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(yr,r))&&(t({event:r,name:n,global:e}),yr=r),clearTimeout(vr),vr=cr.setTimeout(function(){vr=void 0},gr)}}}var _r=null,br=null,Er=["fatal","error","warning","log","info","debug","critical"];var xr=function(){function t(e){this.name=t.id,this._options=c({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&pt().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:J(t)},{event:t})},t.prototype.setupOnce=function(){var t;this._options.console&&pr("console",wr),this._options.dom&&pr("dom",(t=this._options.dom,function(e){var r,n="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof n&&(n=[n]);try{r=e.event.target?I(e.event.target,n):I(e.event,n)}catch(t){r="<unknown>"}0!==r.length&&pt().addBreadcrumb({category:"ui."+e.name,message:r},{event:e.event,name:e.name,global:e.global})})),this._options.xhr&&pr("xhr",Sr),this._options.fetch&&pr("fetch",Or),this._options.history&&pr("history",Tr)},t.id="Breadcrumbs",t}();function wr(t){var e,r={category:"console",data:{arguments:t.args,logger:"console"},level:(e=t.level,"warn"===e?u.Warning:function(t){return-1!==Er.indexOf(t)}(e)?e:u.Log),message:D(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message="Assertion failed: "+(D(t.args.slice(1)," ")||"console.assert"),r.data.arguments=t.args.slice(1)}pt().addBreadcrumb(r,{input:t.args,level:t.level})}function Sr(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},r=e.method,n=e.url,o=e.status_code,i=e.body;pt().addBreadcrumb({category:"xhr",data:{method:r,url:n,status_code:o},type:"http"},{xhr:t.xhr,input:i})}}function Or(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?pt().addBreadcrumb({category:"fetch",data:t.fetchData,level:u.Error,type:"http"},{data:t.error,input:t.args}):pt().addBreadcrumb({category:"fetch",data:c(c({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function Tr(t){var e=(0,P.V)(),r=t.from,n=t.to,o=Y(e.location.href),i=Y(r),s=Y(n);i.path||(i=o),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),pt().addBreadcrumb({category:"navigation",data:{from:r,to:n}})}var kr,Pr=function(t){function e(e){return void 0===e&&(e={}),e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Ct}],version:Ct},t.call(this,rr,e)||this}return a(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),(0,P.V)().document&&(this._isEnabled()?ar(c(c({},t),{dsn:t.dsn||this.getDsn()})):Ve&&Z.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,r,n){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,r,n)},e.prototype._sendEvent=function(e){var r=this.getIntegration(xr);r&&r.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(Yt),jr=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Cr=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(e,r){e(function(e){var n=r();if(n){var o=n.getIntegration(t);if(o){var i=n.getClient(),s=i?i.getOptions():{},a=function(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),{allowUrls:p(t.whitelistUrls||[],t.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:p(t.blacklistUrls||[],t.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:p(t.ignoreErrors||[],e.ignoreErrors||[],jr),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(o._options,s);return function(t,e){return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(Gt&&Z.warn("Event dropped due to being internal Sentry Error.\nEvent: "+J(t)),!0):function(t,e){return!(!e||!e.length)&&function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},r=e.type,n=void 0===r?"":r,o=e.value,i=void 0===o?"":o;return[""+i,n+": "+i]}catch(e){return Gt&&Z.error("Cannot extract message for event "+J(t)),[]}return[]}(t).some(function(t){return e.some(function(e){return M(t,e)})})}(t,e.ignoreErrors)?(Gt&&Z.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+J(t)),!0):function(t,e){if(!e||!e.length)return!1;var r=Ir(t);return!!r&&e.some(function(t){return M(r,t)})}(t,e.denyUrls)?(Gt&&Z.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+J(t)+".\nUrl: "+Ir(t)),!0):!function(t,e){if(!e||!e.length)return!0;var r=Ir(t);return!r||e.some(function(t){return M(r,t)})}(t,e.allowUrls)&&(Gt&&Z.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+J(t)+".\nUrl: "+Ir(t)),!0)}(e,a)?null:e}}return e})},t.id="InboundFilters",t}();function Rr(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var r=t[e];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}function Ir(t){try{if(t.stacktrace)return Rr(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?Rr(e):null}catch(e){return Gt&&Z.error("Cannot extract url for event "+J(t)),null}}var Nr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){kr=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=B(this)||this;return kr.apply(r,t)}},t.id="FunctionToString",t}(),Ar=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Dr=function(){function t(e){this.name=t.id,this._options=c({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=(0,P.V)();this._options.setTimeout&&L(t,"setTimeout",Mr),this._options.setInterval&&L(t,"setInterval",Mr),this._options.requestAnimationFrame&&L(t,"requestAnimationFrame",Lr),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&L(XMLHttpRequest.prototype,"send",Ur);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:Ar).forEach(Fr)},t.id="TryCatch",t}();function Mr(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e[0];return e[0]=sr(n,{mechanism:{data:{function:Ft(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function Lr(t){return function(e){return t.apply(this,[sr(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Ft(t)},handled:!0,type:"instrument"}})])}}function Ur(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(function(t){t in n&&"function"==typeof n[t]&&L(n,t,function(e){var r={mechanism:{data:{function:t,handler:Ft(e)},handled:!0,type:"instrument"}},n=B(e);return n&&(r.mechanism.data.handler=Ft(n)),sr(e,r)})}),t.apply(this,e)}}function Fr(t){var e=(0,P.V)(),r=e[t]&&e[t].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(L(r,"addEventListener",function(e){return function(r,n,o){try{"function"==typeof n.handleEvent&&(n.handleEvent=sr(n.handleEvent.bind(n),{mechanism:{data:{function:"handleEvent",handler:Ft(n),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[r,sr(n,{mechanism:{data:{function:"addEventListener",handler:Ft(n),target:t},handled:!0,type:"instrument"}}),o])}}),L(r,"removeEventListener",function(t){return function(e,r,n){var o=r;try{var i=o&&o.__sentry_wrapped__;i&&t.call(this,e,i,n)}catch(t){}return t.call(this,e,o,n)}}))}var Br=function(){function t(e){this.name=t.id,this._installFunc={onerror:qr,onunhandledrejection:Hr},this._options=c({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t=this._options;for(var e in t){var r=this._installFunc[e];r&&t[e]&&(zr(e),r(),this._installFunc[e]=void 0)}},t.id="GlobalHandlers",t}();function qr(){pr("error",function(t){var e=l(Wr(),2),r=e[0],n=e[1];if(r.getIntegration(Br)){var o=t.msg,i=t.url,s=t.line,a=t.column,c=t.error;if(!(ir()||c&&c.__sentry_own_request__)){var f=void 0===c&&m(o)?function(t,e,r,n){var o=y(t)?t.message:t,i="Error",s=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return s&&(i=s[1],o=s[2]),Gr({exception:{values:[{type:i,value:o}]}},e,r,n)}(o,i,s,a):Gr(Ne(c||o,void 0,n,!1),i,s,a);f.level=u.Error,Vr(r,c,f,"onerror")}}})}function Hr(){pr("unhandledrejection",function(t){var e=l(Wr(),2),r=e[0],n=e[1];if(r.getIntegration(Br)){var o=t;try{"reason"in t?o=t.reason:"detail"in t&&"reason"in t.detail&&(o=t.detail.reason)}catch(t){}if(ir()||o&&o.__sentry_own_request__)return!0;var i=_(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(o)}]}}:Ne(o,void 0,n,!0);i.level=u.Error,Vr(r,o,i,"onunhandledrejection")}})}function Gr(t,e,r,n){var o=t.exception=t.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{},a=s.stacktrace=s.stacktrace||{},u=a.frames=a.frames||[],c=isNaN(parseInt(n,10))?void 0:n,f=isNaN(parseInt(r,10))?void 0:r,l=m(e)&&e.length>0?e:function(){var t=(0,P.V)();try{return t.document.location.href}catch(t){return""}}();return 0===u.length&&u.push({colno:c,filename:l,function:"?",in_app:!0,lineno:f}),t}function zr(t){Ve&&Z.log("Global Handler attached: "+t)}function Vr(t,e,r,n){$(r,{handled:!1,type:n}),t.captureEvent(r,{originalException:e})}function Wr(){var t=pt(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var Yr=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){R(function(e,r){var n=pt().getIntegration(t);return n?function(t,e,r,n){if(!(r.exception&&r.exception.values&&n&&w(n.originalException,Error)))return r;var o=Xr(e,n.originalException,t);return r.exception.values=p(o,r.exception.values),r}(n._key,n._limit,e,r):e})},t.id="LinkedErrors",t}();function Xr(t,e,r,n){if(void 0===n&&(n=[]),!w(e[r],Error)||n.length+1>=t)return n;var o=Te(e[r]);return Xr(t,e[r],r,p([o],n))}var Jr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,r){e(function(e){var n=r().getIntegration(t);if(n){try{if(function(t,e){return!!e&&(!!function(t,e){var r=t.message,n=e.message;return!(!r&&!n)&&(!(r&&!n||!r&&n)&&(r===n&&(!!$r(t,e)&&!!Kr(t,e))))}(t,e)||!!function(t,e){var r=Qr(e),n=Qr(t);return!(!r||!n)&&(r.type===n.type&&r.value===n.value&&(!!$r(t,e)&&!!Kr(t,e)))}(t,e))}(e,n._previousEvent))return Ve&&Z.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return n._previousEvent=e}return n._previousEvent=e}return e})},t.id="Dedupe",t}();function Kr(t,e){var r=Zr(t),n=Zr(e);if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o],s=r[o];if(i.filename!==s.filename||i.lineno!==s.lineno||i.colno!==s.colno||i.function!==s.function)return!1}return!0}function $r(t,e){var r=t.fingerprint,n=e.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return!(r.join("")!==n.join(""))}catch(t){return!1}}function Qr(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Zr(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}else if(t.stacktrace)return t.stacktrace.frames}var tn=(0,P.V)(),en=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){R(function(e){if(pt().getIntegration(t)){if(!tn.navigator&&!tn.location&&!tn.document)return e;var r=e.request&&e.request.url||tn.location&&tn.location.href,n=(tn.document||{}).referrer,o=(tn.navigator||{}).userAgent,i=c(c(c({},e.request&&e.request.headers),n&&{Referer:n}),o&&{"User-Agent":o}),s=c(c({},r&&{url:r}),{headers:i});return c(c({},e),{request:s})}return e})},t.id="UserAgent",t}(),rn=[new Cr,new Nr,new Dr,new xr,new Br,new Yr,new Jr,new en];function nn(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=rn),void 0===t.release){var e=(0,P.V)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,e){!0===e.debug&&(Gt?Z.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var r=pt(),n=r.getScope();n&&n.update(e.initialScope);var o=new t(e);r.bindClient(o)}(Pr,t),t.autoSessionTracking&&function(){if(void 0!==(0,P.V)().document){var t=pt();t.captureSession&&(pn(t),pr("history",function(t){var e=t.from,r=t.to;void 0!==e&&e!==r&&pn(pt())}))}else Ve&&Z.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}function on(t){void 0===t&&(t={});var e=pt(),r=e.getScope();r&&(t.user=c(c({},r.getUser()),t.user)),t.eventId||(t.eventId=e.lastEventId());var n=e.getClient();n&&n.showReportDialog(t)}function sn(){return pt().lastEventId()}function an(){}function un(t){t()}function cn(t){var e=pt().getClient();return e?e.flush(t):(Ve&&Z.warn("Cannot flush events. No client defined."),O(!1))}function fn(t){var e=pt().getClient();return e?e.close(t):(Ve&&Z.warn("Cannot flush events and disable SDK. No client defined."),O(!1))}function ln(t){return sr(t)()}function pn(t){t.startSession({ignoreDuration:!0}),t.captureSession()}var dn="sentry.javascript.browser",hn={},vn=(0,P.V)();vn.Sentry&&vn.Sentry.Integrations&&(hn=vn.Sentry.Integrations);var yn=c(c(c({},hn),n),o)},4913:(t,e,r)=>{"use strict";var n=r(3724),o=r(5917),i=r(8686),s=r(8551),a=r(6969),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",d="writable";e.f=n?i?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(s(t),e=a(e),s(r),o)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}},5019:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},5031:(t,e,r)=>{"use strict";var n=r(7751),o=r(9504),i=r(8480),s=r(3717),a=r(8551),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=s.f;return r?u(e,r(t)):e}},5122:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(2652),s=r(2248).set;n({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=o(this),r=arguments.length,n=0;n<r;)i(arguments[n++],function(t,r){s(e,t,r)},{AS_ENTRIES:!0});return e}})},5155:(t,e,r)=>{"use strict";var n=r(9516),o=r(9106),i=r(3471),s=r(4490),a=r(5343),u=r(4841),c=u.validators;function f(t){this.defaults=t,this.interceptors={request:new i,response:new i}}f.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))});var o,i=[];if(this.interceptors.response.forEach(function(t){i.push(t.fulfilled,t.rejected)}),!n){var f=[s,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(i),o=Promise.resolve(t);f.length;)o=o.then(f.shift(),f.shift());return o}for(var l=t;r.length;){var p=r.shift(),d=r.shift();try{l=p(l)}catch(t){d(t);break}}try{o=s(l)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},f.prototype.getUri=function(t){return t=a(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],function(t){f.prototype[t]=function(e,r){return this.request(a(r||{},{method:t,url:e,data:(r||{}).data}))}}),n.forEach(["post","put","patch"],function(t){f.prototype[t]=function(e,r,n){return this.request(a(n||{},{method:t,url:e,data:r}))}}),t.exports=f},5343:(t,e,r)=>{"use strict";var n=r(9516);t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function s(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function a(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function u(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return n.forEach(Object.keys(t).concat(Object.keys(e)),function(t){var e=c[t]||i,o=e(t);n.isUndefined(o)&&e!==u||(r[t]=o)}),r}},5397:(t,e,r)=>{"use strict";var n=r(7055),o=r(7750);t.exports=function(t){return n(o(t))}},5449:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},5548:(t,e,r)=>{"use strict";var n=r(3517),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a constructor")}},5592:(t,e,r)=>{"use strict";var n=r(9516),o=r(7522),i=r(3948),s=r(9106),a=r(9615),u=r(2012),c=r(4202),f=r(7763),l=r(6987),p=r(1928);t.exports=function(t){return new Promise(function(e,r){var d,h=t.data,v=t.headers,y=t.responseType;function g(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete v["Content-Type"];var m=new XMLHttpRequest;if(t.auth){var _=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(_+":"+b)}var E=a(t.baseURL,t.url);function x(){if(m){var n="getAllResponseHeaders"in m?u(m.getAllResponseHeaders()):null,i={data:y&&"text"!==y&&"json"!==y?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:t,request:m};o(function(t){e(t),g()},function(t){r(t),g()},i),m=null}}if(m.open(t.method.toUpperCase(),s(E,t.params,t.paramsSerializer),!0),m.timeout=t.timeout,"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(x)},m.onabort=function(){m&&(r(f("Request aborted",t,"ECONNABORTED",m)),m=null)},m.onerror=function(){r(f("Network Error",t,null,m)),m=null},m.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||l.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var w=(t.withCredentials||c(E))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;w&&(v[t.xsrfHeaderName]=w)}"setRequestHeader"in m&&n.forEach(v,function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete v[e]:m.setRequestHeader(e,t)}),n.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),y&&"json"!==y&&(m.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&m.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){m&&(r(!t||t&&t.type?new p("canceled"):t),m.abort(),m=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),h||(h=null),m.send(h)})}},5610:(t,e,r)=>{"use strict";var n=r(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5648:(t,e,r)=>{"use strict";r(2675);var n=r(9167);t.exports=n.Symbol.keyFor},5652:(t,e,r)=>{"use strict";var n=r(9039);t.exports=n(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})},5745:(t,e,r)=>{"use strict";var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},5917:(t,e,r)=>{"use strict";var n=r(3724),o=r(9039),i=r(4055);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},5966:(t,e,r)=>{"use strict";var n=r(9306),o=r(4117);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},5985:(t,e,r)=>{"use strict";t.exports=r(7267)},6008:(t,e,r)=>{"use strict";var n=r(1015);t.exports=n},6033:(t,e,r)=>{"use strict";r(8523)},6043:(t,e,r)=>{"use strict";var n=r(9306),o=TypeError,i=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new o("Bad Promise constructor");e=t,r=n}),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},6080:(t,e,r)=>{"use strict";var n=r(7476),o=r(9306),i=r(616),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},6097:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=s(e,function(t,n){if(r(t,n,e))return{key:n}},!0);return n&&n.key}})},6099:(t,e,r)=>{"use strict";var n=r(2140),o=r(6840),i=r(3179);n||o(Object.prototype,"toString",i,{unsafe:!0})},6119:(t,e,r)=>{"use strict";var n=r(5745),o=r(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6167:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(6043),a=r(1103),u=r(2652);n({target:"Promise",stat:!0,forced:r(537)},{allSettled:function(t){var e=this,r=s.f(e),n=r.resolve,c=r.reject,f=a(function(){var r=i(e.resolve),s=[],a=0,c=1;u(t,function(t){var i=a++,u=!1;c++,o(r,e,t).then(function(t){u||(u=!0,s[i]={status:"fulfilled",value:t},--c||n(s))},function(t){u||(u=!0,s[i]={status:"rejected",reason:t},--c||n(s))})}),--c||n(s)});return f.error&&c(f.value),r.promise}})},6193:(t,e,r)=>{"use strict";var n=r(9504),o=Error,i=n("".replace),s=String(new o("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,u=a.test(s);t.exports=function(t,e){if(u&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},6194:(t,e,r)=>{"use strict";var n=r(2248).has;t.exports=function(t){return n(t),t}},6198:(t,e,r)=>{"use strict";var n=r(8014);t.exports=function(t){return n(t.length)}},6223:(t,e,r)=>{"use strict";var n=r(9504),o=r(507),i=r(2248),s=i.Map,a=i.proto,u=n(a.forEach),c=n(a.entries),f=c(new s).next;t.exports=function(t,e,r){return r?o({iterator:c(t),next:f},function(t){return e(t[1],t[0])}):u(t,e)}},6269:t=>{"use strict";t.exports={}},6279:(t,e,r)=>{"use strict";var n=r(6840);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},6321:function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(e){var r=t.call(this,e)||this;return r.experienceGenerated=function(t){var e=t.id;r.setExperienceId(e)},r}return o(e,t),e}(r(9722).default);e.default=i},6385:(t,e,r)=>{"use strict";var n=r(6518),o=r(2248);n({target:"Map",stat:!0,forced:!0},{of:r(7500)(o.Map,o.set,!0)})},6395:t=>{"use strict";t.exports=!1},6398:(t,e,r)=>{"use strict";r(67),r(3792),r(6099),r(3362),r(6167),r(3518),r(1689),r(4628),r(9391),r(7764);var n=r(9167);t.exports=n.Promise},6468:(t,e,r)=>{"use strict";var n=r(6518),o=r(4576),i=r(9504),s=r(2796),a=r(6840),u=r(3451),c=r(2652),f=r(679),l=r(4901),p=r(4117),d=r(34),h=r(9039),v=r(4428),y=r(687),g=r(3167);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),_=-1!==t.indexOf("Weak"),b=m?"set":"add",E=o[t],x=E&&E.prototype,w=E,S={},O=function(t){var e=i(x[t]);a(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(_&&!d(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return _&&!d(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(_&&!d(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(s(t,!l(E)||!(_||x.forEach&&!h(function(){(new E).entries().next()}))))w=r.getConstructor(e,t,m,b),u.enable();else if(s(t,!0)){var T=new w,k=T[b](_?{}:-0,1)!==T,P=h(function(){T.has(1)}),j=v(function(t){new E(t)}),C=!_&&h(function(){for(var t=new E,e=5;e--;)t[b](e,e);return!t.has(-0)});j||((w=e(function(t,e){f(t,x);var r=g(new E,t,w);return p(e)||c(e,r[b],{that:r,AS_ENTRIES:m}),r})).prototype=x,x.constructor=w),(P||C)&&(O("delete"),O("has"),m&&O("get")),(C||k)&&O(b),_&&x.clear&&delete x.clear}return S[t]=w,n({global:!0,constructor:!0,forced:w!==E},S),y(w,t),_||r.setStrong(w,t,m),w}},6469:(t,e,r)=>{"use strict";var n=r(8227),o=r(2360),i=r(4913).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&i(a,s,{configurable:!0,value:o(null)}),t.exports=function(t){a[s][t]=!0}},6475:(t,e,r)=>{"use strict";r.d(e,{B:()=>s,V:()=>i});var n=r(258),o={};function i(){return(0,n.wD)()?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function s(t,e,r){var n=r||i(),o=n.__SENTRY__=n.__SENTRY__||{};return o[t]||(o[t]=e())}},6499:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(6043),a=r(1103),u=r(2652);n({target:"Promise",stat:!0,forced:r(537)},{all:function(t){var e=this,r=s.f(e),n=r.resolve,c=r.reject,f=a(function(){var r=i(e.resolve),s=[],a=0,f=1;u(t,function(t){var i=a++,u=!1;f++,o(r,e,t).then(function(t){u||(u=!0,s[i]=t,--f||n(s))},c)}),--f||n(s)});return f.error&&c(f.value),r.promise}})},6518:(t,e,r)=>{"use strict";var n=r(4576),o=r(7347).f,i=r(6699),s=r(6840),a=r(9433),u=r(7740),c=r(2796);t.exports=function(t,e){var r,f,l,p,d,h=t.target,v=t.global,y=t.stat;if(r=v?n:y?n[h]||a(h,{}):n[h]&&n[h].prototype)for(f in e){if(p=e[f],l=t.dontCallGetSet?(d=o(r,f))&&d.value:r[f],!c(v?f:h+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),s(r,f,p,t)}}},6612:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inventoryToFormData=e.generateUUID=e.calculateAverageMbps=e.calculateMbps=e.cloneWithKeys=e.keyExists=e.isFunc=e.inRangeNumeric=e.prepConfig=void 0,e.prepConfig=function(t,e){var r=Object.keys(e);for(var n in t)-1===r.indexOf(n)&&delete t[n]},e.inRangeNumeric=function(t,e,r){return(t-e)*(t-r)<=0},e.isFunc=function(t){return"[object Function]"===Object.prototype.toString.call(t)},e.keyExists=function(t,e){return~Object.keys(t).map(function(e){return t[e]}).indexOf(e)},e.cloneWithKeys=function(t){return Object.keys(t).reduce(function(t,e){return t[e]=null,t},{})},e.calculateMbps=function(t,e){return 8*e/(((new Date).getTime()-t)/1e3)/Math.pow(1024,2)},e.calculateAverageMbps=function(t){var e=t.reduce(function(t,e){return t+e});return parseFloat((e/t.length).toFixed(2))},e.generateUUID=function(){var t=window.performance,e=(new Date).getTime();return void 0!==t&&"function"==typeof t.now&&(e+=t.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?r:7&r|8).toString(16)})},e.inventoryToFormData=function(t,e,r){void 0===r&&(r=null);var n=new FormData;for(var o in n.append("story_id",t),r&&n.append("composition_id",r),e)if(e[o]){var i=e[o];if(i&&"file"===i.type){var s=i.files;s.length>0?(e[o]="",n.append(o,s[0])):e[o]=""}else i&&i instanceof File&&(e[o]="",n.append(o,i,i.name));n.append("inventory[".concat(o,"]"),e[o])}return n}},6624:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(e,"__esModule",{value:!0}),e.PlayerEvents=e.Events=e.Player=e.Client=void 0,r(6398),r(5985),r(2989),r(7782);var i=r(2511);e.Client=i.default;var s=r(6671);e.Player=s.default,(0,r(2121).printVersion)();var a=o([n({},i.default.eventNames),n({},s.default.events)],2),u=a[0],c=a[1];e.Events=u,e.PlayerEvents=c},6671:function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var a=r(2505),u=r(9722),c=r(8368),f=r(1499),l=r(6612),p=r(3685).xY,d=window.hls,h=function(t){function e(r,n,o){void 0===o&&(o=p.defaultConfig);var u=t.call(this,r)||this;u.eventDelegateRefs={play:{callback:null,native:!0},pause:{callback:null,native:!0},ended:{callback:null,native:!0},error:{callback:null,native:!0},seeked:{callback:null,native:!0},timeupdate:{callback:null,native:!0},volumechanged:{callback:null,native:!0},muted:{callback:null,native:!1},controlsset:{callback:null,native:!1}},u.hlsSupport="",u.hlsPlayer=null,u.imposiumPlayerConfig=null,u.init=function(t){var e=p.defaultConfig;for(var r in(0,l.prepConfig)(t,e),u.imposiumPlayerConfig=i(i({},e),t),u.imposiumPlayerConfig)u.imposiumPlayerConfig[r]&&(u.node[r]=u.imposiumPlayerConfig[r])},u.experienceGenerated=function(t){var e=u.imposiumPlayerConfig.qualityOverride,r=t.id,n=t.output,o=n.videos,i=n.images,s="";u.setExperienceId(r),i&&i.hasOwnProperty("poster")&&(s=i.poster),e?u.doQualityOverride(o,s):u.doQualityAssessment(o,s)},u.on=function(t,r){var n=u,o=n.storyId,i=n.eventDelegateRefs;try{if(!(0,l.isFunc)(r))throw new f.PlayerConfigurationError("invalidCallbackType",t);if(!(0,l.keyExists)(e.events,t))throw new f.PlayerConfigurationError("invalidEventName",t);var s=i[t];s.callback=r,s.native&&u.node.addEventListener(t,s.callback)}catch(t){c.default.trapError(t,o)}},u.off=function(t){var r=u,n=r.storyId,o=r.eventDelegateRefs;try{if(!(0,l.keyExists)(e.events,t))throw new f.PlayerConfigurationError("invalidEventName",t);var i=o[t];i.native&&u.node.removeEventListener(t,i.callback),i.callback=null}catch(t){c.default.trapError(t,n)}},u.play=function(){u.node.play().catch(function(){console.error("Error playing video")})},u.pause=function(){u.node.pause()},u.getPlaybackState=function(){return u.node.paused?"paused":"playing"},u.getPosition=function(){return u.node.currentTime},u.getDuration=function(){return u.node.duration},u.seek=function(t){var e=u.node.duration;isNaN(e)?c.default.logWarning("playerFailure","seekNotReady"):(t=Math.floor(t),(0,l.inRangeNumeric)(t,0,e)?u.node.currentTime=t:c.default.logWarning("playerFailure","invalidSeekTime"))},u.getMute=function(){return u.node.muted},u.setMute=function(t){var e=u.eventDelegateRefs.muted.callback;u.node.muted=t,e&&e()},u.getVolume=function(){return u.node.volume},u.setVolume=function(t){var e=p.volumeMin,r=p.volumeMax;t=Math.round(10*t)/10,(0,l.inRangeNumeric)(t,e,r)?u.node.volume=t:c.default.logWarning("playerFailure","invalidVolume")},u.getControls=function(){return u.node.controls},u.setControls=function(t){var e=u.eventDelegateRefs.controlsset;u.node.controls=t,e&&e.callback()},u.replay=function(){u.pauseIfPlaying(),u.node.currentTime=0,u.play()},u.remove=function(){var t,e,r=u.eventDelegateRefs,n=p.defaultConfig;u.pauseIfPlaying();try{for(var o=s(Object.keys(r)),a=o.next();!a.done;a=o.next()){var c=a.value;u.off(r[c])}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}u.imposiumPlayerConfig=i({},n),u.node=null},u.setupHls=function(){var t=e.hlsSupportLevels,r=t.NATIVE,n=t.HLSJS;u.node.canPlayType(e.STREAM_TYPE)?u.hlsSupport=r:void 0!==d&&d.isSupported()&&(u.hlsSupport=n)},u.doQualityOverride=function(t,e){var r=u.storyId,n=u.imposiumPlayerConfig.qualityOverride;try{if(!t.hasOwnProperty(n))throw new f.PlayerConfigurationError("badQualityOverride",null);u.setPlayerData(t[n].url,!0,e)}catch(t){c.default.trapError(t,r)}},u.doQualityAssessment=function(t,r){var n=u.hlsSupport,o=e.compressionLevels.STREAM;if(t.hasOwnProperty(o)&&n)u.setPlayerData(t[o].url,!0,r);else{var i=Object.keys(t);1===i.length?u.setPlayerData(t[i[0]].url,!1,r):u.checkBandwidth(t).then(function(e){u.setPlayerData(t[e].url,!1,r)}).catch(function(e){u.setPlayerData(t[e].url,!1,r)})}},u.sampleBandwidth=function(){var t="".concat(e.TEST_IMAGE,"?bust=").concat(Math.random()),r={responseType:"blob",timeout:1500};return new Promise(function(e,n){var o=(new Date).getTime();a.default.get(t,r).then(function(t){var r=t.data.size;e((0,l.calculateMbps)(o,r))}).catch(function(t){n(t)})})},u.checkBandwidth=function(t){for(var r=e.BANDWIDTH_SAMPLES,n=[],o=Object.keys(t).filter(function(t){return"m3u8"!==t}),i=0;i<r;i++)n.push(u.sampleBandwidth());return new Promise(function(e,r){Promise.all(n).then(function(r){var n=(0,l.calculateAverageMbps)(r),i={};o.forEach(function(e){var r=t[e],n=r.width,o=r.height;i[n*o/1e5]=e});var s=Object.keys(i).map(function(t){return parseFloat(t)}).reduce(function(t,e){return Math.abs(t-n)<Math.abs(e-n)?t:e});e(i[s])}).catch(function(){r(o.slice(-1).pop())})})},u.setPlayerData=function(t,r,n){void 0===n&&(n=null);var o=u.hlsSupport,i=e.hlsSupportLevels.HLSJS;r&&o===i?(u.hlsPlayer&&u.hlsPlayer.destroy(),u.hlsPlayer=new d,u.hlsPlayer.attachMedia(u.node),u.hlsPlayer.loadSource(t)):u.node.src=t,n&&(u.node.poster=n)},u.pauseIfPlaying=function(){u.node.paused||u.node.pause()};var h=!(!n||!n.clientConfig);try{if(!h)throw new f.PlayerConfigurationError("badClient",null);r instanceof HTMLVideoElement&&(n.bindPlayer(u),u.init(o),u.setupHls())}catch(t){var v=h?n.clientConfig.storyId:"";c.default.trapError(t,v)}return u}return o(e,t),e.events={PLAY:"play",PAUSE:"pause",COMPLETE:"ended",ERROR:"error",SEEK:"seeked",TIME:"timeupdate",VOLUME:"volumechange",MUTE:"muted",CONTROLS:"controlsset"},e.STREAM_TYPE=p.streamType,e.BANDWIDTH_SAMPLES=p.bandwidthSamples,e.TEST_IMAGE=p.testImage,e.bandwidthRatings={LOW:p.bandwidth.low,MID:p.bandwidth.mid},e.compressionLevels={STREAM:p.compression.stream,LOW:p.compression.low,MID:p.compression.mid,HIGH:p.compression.high},e.hlsSupportLevels={NATIVE:p.hlsSupportLevels.native,HLSJS:p.hlsSupportLevels.hlsjs},e}(u.default);e.default=h},6699:(t,e,r)=>{"use strict";var n=r(3724),o=r(4913),i=r(6980);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},6706:(t,e,r)=>{"use strict";var n=r(9504),o=r(9306);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},6761:(t,e,r)=>{"use strict";var n=r(6518),o=r(4576),i=r(9565),s=r(9504),a=r(6395),u=r(3724),c=r(4495),f=r(9039),l=r(9297),p=r(1625),d=r(8551),h=r(5397),v=r(6969),y=r(655),g=r(6980),m=r(2360),_=r(1072),b=r(8480),E=r(298),x=r(3717),w=r(7347),S=r(4913),O=r(6801),T=r(8773),k=r(6840),P=r(2106),j=r(5745),C=r(6119),R=r(421),I=r(3392),N=r(8227),A=r(1951),D=r(511),M=r(8242),L=r(687),U=r(1181),F=r(9213).forEach,B=C("hidden"),q="Symbol",H="prototype",G=U.set,z=U.getterFor(q),V=Object[H],W=o.Symbol,Y=W&&W[H],X=o.RangeError,J=o.TypeError,K=o.QObject,$=w.f,Q=S.f,Z=E.f,tt=T.f,et=s([].push),rt=j("symbols"),nt=j("op-symbols"),ot=j("wks"),it=!K||!K[H]||!K[H].findChild,st=function(t,e,r){var n=$(V,e);n&&delete V[e],Q(t,e,r),n&&t!==V&&Q(V,e,n)},at=u&&f(function(){return 7!==m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a})?st:Q,ut=function(t,e){var r=rt[t]=m(Y);return G(r,{type:q,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===V&&ct(nt,e,r),d(t);var n=v(e);return d(r),l(rt,n)?(r.enumerable?(l(t,B)&&t[B][n]&&(t[B][n]=!1),r=m(r,{enumerable:g(0,!1)})):(l(t,B)||Q(t,B,g(1,m(null))),t[B][n]=!0),at(t,n,r)):Q(t,n,r)},ft=function(t,e){d(t);var r=h(e),n=_(r).concat(ht(r));return F(n,function(e){u&&!i(lt,r,e)||ct(t,e,r[e])}),t},lt=function(t){var e=v(t),r=i(tt,this,e);return!(this===V&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,B)&&this[B][e])||r)},pt=function(t,e){var r=h(t),n=v(e);if(r!==V||!l(rt,n)||l(nt,n)){var o=$(r,n);return!o||!l(rt,n)||l(r,B)&&r[B][n]||(o.enumerable=!0),o}},dt=function(t){var e=Z(h(t)),r=[];return F(e,function(t){l(rt,t)||l(R,t)||et(r,t)}),r},ht=function(t){var e=t===V,r=Z(e?nt:h(t)),n=[];return F(r,function(t){!l(rt,t)||e&&!l(V,t)||et(n,rt[t])}),n};c||(k(Y=(W=function(){if(p(Y,this))throw new J("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=I(t),r=function(t){var n=void 0===this?o:this;n===V&&i(r,nt,t),l(n,B)&&l(n[B],e)&&(n[B][e]=!1);var s=g(1,t);try{at(n,e,s)}catch(t){if(!(t instanceof X))throw t;st(n,e,s)}};return u&&it&&at(V,e,{configurable:!0,set:r}),ut(e,t)})[H],"toString",function(){return z(this).tag}),k(W,"withoutSetter",function(t){return ut(I(t),t)}),T.f=lt,S.f=ct,O.f=ft,w.f=pt,b.f=E.f=dt,x.f=ht,A.f=function(t){return ut(N(t),t)},u&&(P(Y,"description",{configurable:!0,get:function(){return z(this).description}}),a||k(V,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),F(_(ot),function(t){D(t)}),n({target:q,stat:!0,forced:!c},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?m(t):ft(m(t),e)},defineProperty:ct,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt}),M(),L(W,q),R[B]=!0},6765:(t,e,r)=>{"use strict";function n(t){this.message=t}r.r(e),r.d(e,{InvalidTokenError:()=>s,default:()=>a}),n.prototype=new Error,n.prototype.name="InvalidCharacterError";var o="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,s=0,a="";o=e.charAt(s++);~o&&(r=i%4?64*r+o:o,i++%4)?a+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return a};function i(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(o(t).replace(/(.)/g,function(t,e){var r=e.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}(e)}catch(t){return o(e)}}function s(t){this.message=t}s.prototype=new Error,s.prototype.name="InvalidTokenError";const a=function(t,e){if("string"!=typeof t)throw new s("Invalid token specified");var r=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(".")[r]))}catch(t){throw new s("Invalid token specified: "+t.message)}}},6801:(t,e,r)=>{"use strict";var n=r(3724),o=r(8686),i=r(4913),s=r(8551),a=r(5397),u=r(1072);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),o=u(e),c=o.length,f=0;c>f;)i.f(t,r=o[f++],n[r]);return t}},6823:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6840:(t,e,r)=>{"use strict";var n=r(4901),o=r(4913),i=r(283),s=r(9433);t.exports=function(t,e,r,a){a||(a={});var u=a.enumerable,c=void 0!==a.name?a.name:e;if(n(r)&&i(r,c,a),a.global)u?t[e]=r:s(e,r);else{try{a.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},6933:(t,e,r)=>{"use strict";var n=r(9504),o=r(4376),i=r(4901),s=r(2195),a=r(655),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==s(c)&&"String"!==s(c)||u(r,a(c))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},6938:(t,e,r)=>{"use strict";var n=r(2360),o=r(2106),i=r(6279),s=r(6080),a=r(679),u=r(4117),c=r(2652),f=r(1088),l=r(2529),p=r(7633),d=r(3724),h=r(3451).fastKey,v=r(1181),y=v.set,g=v.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t(function(t,o){a(t,p),y(t,{type:e,index:n(null),first:null,last:null,size:0}),d||(t.size=0),u(o)||c(o,t[f],{that:t,AS_ENTRIES:r})}),p=l.prototype,v=g(e),m=function(t,e,r){var n,o,i=v(t),s=_(t,e);return s?s.value=r:(i.last=s={index:o=h(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=s),n&&(n.next=s),d?i.size++:t.size++,"F"!==o&&(i.index[o]=s)),t},_=function(t,e){var r,n=v(t),o=h(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return i(p,{clear:function(){for(var t=v(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=n(null),d?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=_(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),d?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=s(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!_(this,t)}}),i(p,r?{get:function(t){var e=_(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),d&&o(p,"size",{configurable:!0,get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=g(e),i=g(n);f(t,e,function(t,e){y(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,l(void 0,!0))},r?"entries":"values",!r,!0),p(e)}}},6955:(t,e,r)=>{"use strict";var n=r(2140),o=r(4901),i=r(2195),s=r(8227)("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),s))?r:u?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},6969:(t,e,r)=>{"use strict";var n=r(2777),o=r(757);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},6980:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6987:(t,e,r)=>{"use strict";var n=r(9516),o=r(7018),i=r(5449),s={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(5592)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(a(e,"application/json"),function(t){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||c.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(s){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],function(t){c.headers[t]={}}),n.forEach(["post","put","patch"],function(t){c.headers[t]=n.merge(s)}),t.exports=c},7018:(t,e,r)=>{"use strict";var n=r(9516);t.exports=function(t,e){n.forEach(t,function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])})}},7036:(t,e,r)=>{"use strict";var n=r(6518),o=r(9306),i=r(6194),s=r(2248),a=r(6395),u=s.get,c=s.has,f=s.set;n({target:"Map",proto:!0,real:!0,forced:a},{getOrInsertComputed:function(t,e){if(i(this),o(e),c(this,t))return u(this,t);0===t&&1/t==-1/0&&(t=0);var r=e(t);return f(this,t,r),r}})},7040:(t,e,r)=>{"use strict";var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:(t,e,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(2195),s=Object,a=n("".split);t.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?a(t,""):s(t)}:s},7145:(t,e,r)=>{"use strict";var n=r(6518),o=r(1625),i=r(2787),s=r(2967),a=r(7740),u=r(2360),c=r(6699),f=r(6980),l=r(7584),p=r(747),d=r(2652),h=r(2603),v=r(8227)("toStringTag"),y=Error,g=[].push,m=function(t,e){var r,n=o(_,this);s?r=s(new y,n?i(this):_):(r=n?this:u(_),c(r,v,"Error")),void 0!==e&&c(r,"message",h(e)),p(r,m,r.stack,1),arguments.length>2&&l(r,arguments[2]);var a=[];return d(t,g,{that:a}),c(r,"errors",a),r};s?s(m,y):a(m,y,{name:!0});var _=m.prototype=u(y.prototype,{constructor:f(1,m),message:f(1,""),name:f(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:m})},7254:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(2248),s=r(6395),a=i.get,u=i.has,c=i.set;n({target:"Map",proto:!0,real:!0,forced:s},{getOrInsert:function(t,e){return u(o(this),t)?a(this,t):(c(this,t,e),e)}})},7267:(t,e,r)=>{"use strict";var n=r(9062);t.exports=n},7268:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{some:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0);return!0===s(e,function(t,n){if(r(t,n,e))return!0},!0)}})},7273:(t,e,r)=>{"use strict";var n=r(6518),o=r(3317),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===s(i(this),function(e){if(o(e,t))return!0},!0)}})},7347:(t,e,r)=>{"use strict";var n=r(3724),o=r(9565),i=r(8773),s=r(6980),a=r(5397),u=r(6969),c=r(9297),f=r(5917),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=u(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return s(!o(i.f,t,e),t[e])}},7415:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=i(o(this),function(e,r){if(e===t)return{key:r}},!0);return e&&e.key}})},7433:(t,e,r)=>{"use strict";var n=r(4376),o=r(3517),i=r(34),s=r(8227)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?a:e}},7476:(t,e,r)=>{"use strict";var n=r(2195),o=r(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},7481:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(6612),o=r(1499),i=function(){function t(t){var e=this;this.api=null,this.clientDelegates=null,this.configCache=new Map,this.getExperience=function(t){clearTimeout(e.killPollTimeout),e.killPollTimeout=setTimeout(function(){return e.killPoll(t)},18e4),e.pollForExperience(t,function(t){clearTimeout(e.killPollTimeout),e.clientDelegates.get("gotExperience")(t)},function(r){clearTimeout(e.killPollTimeout);var n=new o.HTTPError("httpFailure",t,r);e.clientDelegates.get("internalError")(n)})},this.fetchExperience=function(t,r,i,s){void 0===i&&(i=1),void 0===s&&(s=null);var a=s||(0,n.generateUUID)();e.api.fetch(t,a,r).then(function(t){if(t.error){var r=new o.RenderError(t.error,a);e.clientDelegates.get("internalError")(r)}else e.configCache.delete(a),e.clientDelegates.get("gotExperience")(t)}).catch(function(n){var u,c;if(null===(c=null===(u=null==n?void 0:n.response)||void 0===u?void 0:u.data)||void 0===c?void 0:c.error){var f=new o.RenderError(n.response.data.error,a);e.clientDelegates.get("internalError")(f)}else n.response&&408===n.response.status?e.getExperience(a):n.response&&n.response.status>=500&&i<3?(i+=1,e.fetchExperience(t,r,i,s)):(f=new o.HTTPError("httpFailure",a,n),e.clientDelegates.get("internalError")(f))})},this.createExperience=function(t,r,i,s){void 0===s&&(s=0);var a=(0,n.generateUUID)();e.api.create(t,r,a,i).then(function(t){e.configCache.delete(a),e.clientDelegates.get("experienceCreated")(t)}).catch(function(n){if(n.response&&n.response.status>=500&&s<3)s+=1,e.createExperience(t,r,i,s);else{var u=new o.HTTPError("httpFailure",a,n);e.clientDelegates.get("internalError")(u)}})},this.api=t.api,this.clientDelegates=t.clientDelegates}return t.prototype.killPoll=function(t){clearTimeout(this.pollTimeout);var e=new o.HTTPError("pollTimeout",t);this.clientDelegates.get("internalError")(e)},t.prototype.pollForExperience=function(t,e,r,n){var i=this;void 0===n&&(n=1),this.api.get(t).then(function(s){if(s.rendering)clearTimeout(i.pollTimeout),i.pollTimeout=setTimeout(function(){i.pollForExperience(t,e,r,n)},5e3);else if(clearTimeout(i.pollTimeout),s.error){var a=new o.RenderError(s.error,t);i.clientDelegates.get("internalError")(a)}else e(s)}).catch(function(o){clearTimeout(i.pollTimeout),o.response&&o.response.status>=500&&n<3?(n+=1,i.pollForExperience(t,e,r,n)):r(o)})},t}();e.default=i},7500:(t,e,r)=>{"use strict";var n=r(8551);t.exports=function(t,e,r){return function(){for(var o=new t,i=arguments.length,s=0;s<i;s++){var a=arguments[s];r?e(o,n(a)[0],a[1]):e(o,a)}return o}}},7522:(t,e,r)=>{"use strict";var n=r(7763);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},7583:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(2248),a=r(6223),u=s.Map,c=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new u;return a(e,function(t,o){c(n,o,r(t,o,e))}),n}})},7584:(t,e,r)=>{"use strict";var n=r(34),o=r(6699);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},7629:(t,e,r)=>{"use strict";var n=r(6395),o=r(4576),i=r(9433),s="__core-js_shared__",a=t.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7633:(t,e,r)=>{"use strict";var n=r(7751),o=r(2106),i=r(8227),s=r(3724),a=i("species");t.exports=function(t){var e=n(t);s&&e&&!e[a]&&o(e,a,{configurable:!0,get:function(){return this}})}},7657:(t,e,r)=>{"use strict";var n,o,i,s=r(9039),a=r(4901),u=r(34),c=r(2360),f=r(2787),l=r(6840),p=r(8227),d=r(6395),h=p("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):v=!0),!u(n)||s(function(){var t={};return n[h].call(t)!==t})?n={}:d&&(n=c(n)),a(n[h])||l(n,h,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},7680:(t,e,r)=>{"use strict";var n=r(9504);t.exports=n([].slice)},7740:(t,e,r)=>{"use strict";var n=r(9297),o=r(5031),i=r(7347),s=r(4913);t.exports=function(t,e,r){for(var a=o(e),u=s.f,c=i.f,f=0;f<a.length;f++){var l=a[f];n(t,l)||r&&n(r,l)||u(t,l,c(e,l))}}},7743:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(6043),a=r(1103),u=r(2652);n({target:"Promise",stat:!0,forced:r(537)},{race:function(t){var e=this,r=s.f(e),n=r.reject,c=a(function(){var s=i(e.resolve);u(t,function(t){o(s,e,t).then(r.resolve,n)})});return c.error&&n(c.value),r.promise}})},7750:(t,e,r)=>{"use strict";var n=r(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},7751:(t,e,r)=>{"use strict";var n=r(4576),o=r(4901);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},7763:(t,e,r)=>{"use strict";var n=r(5449);t.exports=function(t,e,r,o,i){var s=new Error(t);return n(s,e,r,o,i)}},7764:(t,e,r)=>{"use strict";var n=r(8183).charAt,o=r(655),i=r(1181),s=r(1088),a=r(2529),u="String Iterator",c=i.set,f=i.getterFor(u);s(String,"String",function(t){c(this,{type:u,string:o(t),index:0})},function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?a(void 0,!0):(t=n(r,o),e.index+=t.length,a(t,!1))})},7782:(t,e,r)=>{"use strict";t.exports=r(6008)},7812:(t,e,r)=>{"use strict";var n=r(6518),o=r(9297),i=r(757),s=r(6823),a=r(5745),u=r(1296),c=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(s(t)+" is not a symbol");if(o(c,t))return c[t]}})},7860:(t,e,r)=>{"use strict";var n=r(2839);t.exports=/web0s(?!.*chrome)/i.test(n)},7980:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},8014:(t,e,r)=>{"use strict";var n=r(1291),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},8015:(t,e,r)=>{"use strict";var n=r(9516),o=r(9012),i=r(5155),s=r(5343),a=function t(e){var r=new i(e),a=o(i.prototype.request,r);return n.extend(a,i.prototype,r),n.extend(a,r),a.create=function(r){return t(s(e,r))},a}(r(6987));a.Axios=i,a.Cancel=r(1928),a.CancelToken=r(3191),a.isCancel=r(3864),a.VERSION=r(9641).version,a.all=function(t){return Promise.all(t)},a.spread=r(7980),a.isAxiosError=r(5019),t.exports=a,t.exports.default=a},8183:(t,e,r)=>{"use strict";var n=r(9504),o=r(1291),i=r(655),s=r(7750),a=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(e,r){var n,f,l=i(s(e)),p=o(r),d=l.length;return p<0||p>=d?t?"":void 0:(n=u(l,p))<55296||n>56319||p+1===d||(f=u(l,p+1))<56320||f>57343?t?a(l,p):n:t?c(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},8227:(t,e,r)=>{"use strict";var n=r(4576),o=r(5745),i=r(9297),s=r(3392),a=r(4495),u=r(7040),c=n.Symbol,f=o("wks"),l=u?c.for||c:c&&c.withoutSetter||s;t.exports=function(t){return i(f,t)||(f[t]=a&&i(c,t)?c[t]:l("Symbol."+t)),f[t]}},8242:(t,e,r)=>{"use strict";var n=r(9565),o=r(7751),i=r(8227),s=r(6840);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,a=i("toPrimitive");e&&!e[a]&&s(e,a,function(t){return n(r,this)},{arity:1})}},8265:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},8368:function(t,e,r){"use strict";var n=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var o=r(4912),i=r(1499),s=r(2121),a=n(r(197),[]),u=r(3685).e$,c=function(){function t(){}return t.logWarning=function(t,e){console.warn("IMPOSIUM\n".concat(a[t][e]))},t.trapError=function(e,r,n){void 0===n&&(n=null),e=e.log?e:new i.UncaughtError("generic",e),r&&e.setStoryId(r),n&&n(e),e.log(),t.hub.run(function(t){t.configureScope(function(n){n.setTag("type",e.type),n.setTag("version",e.version),n.setTag("storyId",r||"<not_set>"),e.experienceId&&n.setTag("experienceId",e.experienceId),e.axiosError&&("object"==typeof e.axiosError.response?n.setExtra("response",e.axiosError.response):"object"==typeof e.axiosError.request?(n.setExtra("request",e.axiosError.request),n.setExtra("reuqestConfig",e.axiosError.config)):(n.setExtra("axiosErrorMessage",e.axiosError.message),n.setExtra("reuqestConfig",e.axiosError.config))),e.closeEvent&&n.setExtra("socketCloseEvent",{code:e.closeEvent.code,type:e.closeEvent.type,timestamp:e.closeEvent.timeStamp,wsUrl:e.closeEvent.target.url,wsBufferedAmount:e.closeEvent.target.bufferedAmount}),t.captureException(e)})})},t.sentryClient=new o.BrowserClient({debug:!1,dsn:u.dsn,integrations:[new o.Integrations.UserAgent],beforeSend:function(e){return t.cleanDucktype(e)},release:"".concat(u.projectName,"@").concat(s.version)}),t.hub=new o.Hub(t.sentryClient),t.cleanDucktype=function(t){return void 0===t.extra||t.extra.Error&&(delete t.extra.Error.log,delete t.extra.Error.logHeader,delete t.extra.Error.setStoryId,t.extra.Error.axiosError&&delete t.extra.Error.axiosError,t.extra.Error.closeEvent&&delete t.extra.Error.closeEvent),t},t}();e.default=c},8418:(t,e,r)=>{"use strict";var n=r(8473);t.exports=n},8473:(t,e,r)=>{"use strict";r(9085);var n=r(9167);t.exports=n.Object.assign},8480:(t,e,r)=>{"use strict";var n=r(1828),o=r(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},8523:(t,e,r)=>{"use strict";r(6468)("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},r(6938))},8551:(t,e,r)=>{"use strict";var n=r(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8574:(t,e,r)=>{"use strict";var n=r(4215);t.exports="NODE"===n},8622:(t,e,r)=>{"use strict";var n=r(4576),o=r(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8686:(t,e,r)=>{"use strict";var n=r(3724),o=r(9039);t.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8727:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8745:(t,e,r)=>{"use strict";var n=r(616),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},8773:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},8981:(t,e,r)=>{"use strict";var n=r(7750),o=Object;t.exports=function(t){return o(n(t))}},9012:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},9039:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},9062:(t,e,r)=>{"use strict";var n=r(2181);t.exports=n},9085:(t,e,r)=>{"use strict";var n=r(6518),o=r(4213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9106:(t,e,r)=>{"use strict";var n=r(9516);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var s=[];n.forEach(e,function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))}))}),i=s.join("&")}if(i){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},9137:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},9167:(t,e,r)=>{"use strict";var n=r(4576);t.exports=n},9213:(t,e,r)=>{"use strict";var n=r(6080),o=r(9504),i=r(7055),s=r(8981),a=r(6198),u=r(1469),c=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,p=7===t,d=5===t||l;return function(h,v,y,g){for(var m,_,b=s(h),E=i(b),x=a(E),w=n(v,y),S=0,O=g||u,T=e?O(h,x):r||p?O(h,0):void 0;x>S;S++)if((d||S in E)&&(_=w(m=E[S],S,b),t))if(e)T[S]=_;else if(_)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:c(T,m)}else switch(t){case 4:return!1;case 7:c(T,m)}return l?-1:o||f?f:T}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},9225:(t,e,r)=>{"use strict";var n,o,i,s,a=r(4576),u=r(8745),c=r(6080),f=r(4901),l=r(9297),p=r(9039),d=r(397),h=r(7680),v=r(4055),y=r(2812),g=r(9544),m=r(8574),_=a.setImmediate,b=a.clearImmediate,E=a.process,x=a.Dispatch,w=a.Function,S=a.MessageChannel,O=a.String,T=0,k={},P="onreadystatechange";p(function(){n=a.location});var j=function(t){if(l(k,t)){var e=k[t];delete k[t],e()}},C=function(t){return function(){j(t)}},R=function(t){j(t.data)},I=function(t){a.postMessage(O(t),n.protocol+"//"+n.host)};_&&b||(_=function(t){y(arguments.length,1);var e=f(t)?t:w(t),r=h(arguments,1);return k[++T]=function(){u(e,void 0,r)},o(T),T},b=function(t){delete k[t]},m?o=function(t){E.nextTick(C(t))}:x&&x.now?o=function(t){x.now(C(t))}:S&&!g?(s=(i=new S).port2,i.port1.onmessage=R,o=c(s.postMessage,s)):a.addEventListener&&f(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!p(I)?(o=I,a.addEventListener("message",R,!1)):o=P in v("script")?function(t){d.appendChild(v("script"))[P]=function(){d.removeChild(this),j(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:_,clear:b}},9297:(t,e,r)=>{"use strict";var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},9306:(t,e,r)=>{"use strict";var n=r(4901),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},9391:(t,e,r)=>{"use strict";var n=r(6518),o=r(6395),i=r(550),s=r(9039),a=r(7751),u=r(4901),c=r(2293),f=r(3438),l=r(6840),p=i&&i.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&s(function(){p.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=c(this,a("Promise")),r=u(t);return this.then(r?function(r){return f(e,t()).then(function(){return r})}:t,r?function(r){return f(e,t()).then(function(){throw r})}:t)}}),!o&&u(i)){var d=a("Promise").prototype.finally;p.finally!==d&&l(p,"finally",d,{unsafe:!0})}},9433:(t,e,r)=>{"use strict";var n=r(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9504:(t,e,r)=>{"use strict";var n=r(616),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},9516:(t,e,r)=>{"use strict";var n=r(9012),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function s(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===o.call(t)}function f(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:u,isUndefined:s,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:c,isStream:function(t){return a(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function t(){var e={};function r(r,n){u(e[n])&&u(r)?e[n]=t(e[n],r):u(r)?e[n]=t({},r):i(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)f(arguments[n],r);return e},extend:function(t,e,r){return f(e,function(e,o){t[o]=r&&"function"==typeof e?n(e,r):e}),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},9519:(t,e,r)=>{"use strict";var n,o,i=r(4576),s=r(2839),a=i.process,u=i.Deno,c=a&&a.versions||u&&u.version,f=c&&c.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},9539:(t,e,r)=>{"use strict";var n=r(9565),o=r(8551),i=r(5966);t.exports=function(t,e,r){var s,a;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw r;if(a)throw s;return o(s),r}},9544:(t,e,r)=>{"use strict";var n=r(2839);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},9565:(t,e,r)=>{"use strict";var n=r(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},9615:(t,e,r)=>{"use strict";var n=r(9137),o=r(4680);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},9617:(t,e,r)=>{"use strict";var n=r(5397),o=r(5610),i=r(6198),s=function(t){return function(e,r,s){var a=n(e),u=i(a);if(0===u)return!t&&-1;var c,f=o(s,u);if(t&&r!=r){for(;u>f;)if((c=a[f++])!=c)return!0}else for(;u>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},9641:t=>{t.exports={version:"0.24.0"}},9722:function(t,e,r){"use strict";var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var i=r(8368),s=r(632),a=r(1499),u=r(3685).xY,c=function(){function t(e){var r,u,c=this;this.node=null,this.storyId="",this.gaProperty="",this.playbackHandlers=new Map([["play",function(){return c.onPlay()}],["pause",function(){return c.onPause()}],["ended",function(){return c.onEnded()}],["loaded",function(){return c.onLoad()}],["volumechange",function(){return c.onVolumeChange()}]]),this.queuedGACalls=[],this.experienceId="",this.prevPlaybackEvent=0,this.playbackInterval=-1,this.muted=!1,this.remove=function(){var t,e;try{for(var r=n(c.playbackHandlers.entries()),i=r.next();!i.done;i=r.next()){var s=o(i.value,2),a=s[0],u=s[1];c.node.removeEventListener(a,u)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},this.setGaProperty=function(t){for(c.gaProperty&&c.gaProperty!==t&&c.queuedGACalls.length>0&&(c.queuedGACalls=[]),c.gaProperty=t;c.queuedGACalls.length;)s.default.send(c.queuedGACalls.pop())},this.setStoryId=function(t){c.storyId=t},this.setExperienceId=function(t){c.experienceId=t},this.emitGAEventAction=function(e){var r=t.GA_EMIT_TYPE,n=t.GA_EMIT_CATEGORY,o=c,i={t:r,tid:o.gaProperty,ec:n,el:o.experienceId,ea:e};c.gaProperty?s.default.send(i):c.queuedGACalls.push(i)},this.onLoad=function(){c.emitGAEventAction("loaded")},this.onVolumeChange=function(){!c.muted&&c.node.muted&&(c.emitGAEventAction("muted"),c.muted=!0),c.muted&&!c.node.muted&&(c.emitGAEventAction("unmuted"),c.muted=!1)},this.onPlay=function(){var e=window.setInterval;clearInterval(c.playbackInterval),c.playbackInterval=e(function(){return c.checkPlayback()},t.INTERVAL_RATE),c.emitGAEventAction("play")},this.onPause=function(){clearInterval(c.playbackInterval),c.node.duration!==c.node.currentTime&&c.emitGAEventAction("pause")},this.onEnded=function(){clearInterval(c.playbackInterval),c.emitGAEventAction("playback_1"),c.prevPlaybackEvent=0},this.checkPlayback=function(){if(c.node){var e=c.node,r=e.currentTime/e.duration,n=t.PLAYBACK_EVENTS[c.prevPlaybackEvent];r>n&&(c.emitGAEventAction("playback_".concat(n)),c.prevPlaybackEvent++)}else clearInterval(c.playbackInterval)};try{if(!(e instanceof HTMLVideoElement))throw new a.PlayerConfigurationError("invalidPlayerRef",null);try{for(var f=n(this.playbackHandlers.entries()),l=f.next();!l.done;l=f.next()){var p=o(l.value,2),d=p[0],h=p[1];e.addEventListener(d,h)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(u=f.return)&&u.call(f)}finally{if(r)throw r.error}}this.node=e,this.muted=e.muted}catch(t){i.default.trapError(t,this.storyId)}}return t.INTERVAL_RATE=u.checkPlaybackRateMs,t.PLAYBACK_EVENTS=u.playbackEvents,t.GA_EMIT_TYPE="event",t.GA_EMIT_CATEGORY="video_player",t}();e.default=c},9733:(t,e,r)=>{"use strict";var n=r(6518),o=r(9306),i=r(6194),s=r(2248),a=TypeError,u=s.get,c=s.has,f=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var r=i(this),n=arguments.length;o(e);var s=c(r,t);if(!s&&n<3)throw new a("Updating absent value");var l=s?u(r,t):o(n>2?arguments[2]:void 0)(t,r);return f(r,t,e(l,t,r)),r}})},9773:(t,e,r)=>{"use strict";var n=r(6518),o=r(4495),i=r(9039),s=r(3717),a=r(8981);n({target:"Object",stat:!0,forced:!o||i(function(){s.f(1)})},{getOwnPropertySymbols:function(t){var e=s.f;return e?e(a(t)):[]}})},9929:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(2248),a=r(6223),u=s.Map,c=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new u;return a(e,function(t,o){c(n,r(t,o,e),t)}),n}})}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return 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.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),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})},r(6624)})());
2
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Imposium",[],e):"object"==typeof exports?exports.Imposium=e():t.Imposium=e()}(self,()=>(()=>{var t={4912(t,e,r){"use strict";r.r(e),r.d(e,{BrowserClient:()=>xr,Hub:()=>ut,Integrations:()=>fn,SDK_NAME:()=>an,SDK_VERSION:()=>jt,Scope:()=>j,Session:()=>at,Severity:()=>u,Transports:()=>i,addBreadcrumb:()=>bt,addGlobalEventProcessor:()=>R,captureEvent:()=>mt,captureException:()=>yt,captureMessage:()=>gt,close:()=>nn,configureScope:()=>_t,defaultIntegrations:()=>Kr,eventFromException:()=>je,eventFromMessage:()=>Ce,flush:()=>rn,forceLoad:()=>tn,getCurrentHub:()=>lt,getHubFromCarrier:()=>dt,init:()=>$r,injectReportDialog:()=>rr,lastEventId:()=>Zr,makeMain:()=>ft,onLoad:()=>en,setContext:()=>Et,setExtra:()=>St,setExtras:()=>xt,setTag:()=>Ot,setTags:()=>wt,setUser:()=>Tt,showReportDialog:()=>Qr,startTransaction:()=>Pt,withScope:()=>kt,wrap:()=>on});var n={};r.r(n),r.d(n,{FunctionToString:()=>kr,InboundFilters:()=>Sr});var o={};r.r(o),r.d(o,{Breadcrumbs:()=>yr,Dedupe:()=>Gr,GlobalHandlers:()=>Ar,LinkedErrors:()=>qr,TryCatch:()=>jr,UserAgent:()=>Jr});var i={};r.r(i),r.d(i,{BaseTransport:()=>Ye,FetchTransport:()=>Xe,XHRTransport:()=>Ke,makeNewFetchTransport:()=>ze,makeNewXHRTransport:()=>Je});var s=function(t,e){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},s(t,e)};function a(t,e){function r(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var u,c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)};function f(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function p(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(u||(u={}));var d=Object.prototype.toString;function h(t){switch(d.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return w(t,Error)}}function v(t,e){return d.call(t)==="[object "+e+"]"}function y(t){return v(t,"ErrorEvent")}function g(t){return v(t,"DOMError")}function m(t){return v(t,"String")}function _(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function b(t){return v(t,"Object")}function E(t){return"undefined"!=typeof Event&&w(t,Event)}function x(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function w(t,e){try{return t instanceof e}catch(t){return!1}}var S=r(1678);function O(t){return new k(function(e){e(t)})}function T(t){return new k(function(e,r){r(t)})}var k=function(){function t(t){var e=this;this._state=0,this._handlers=[],this._resolve=function(t){e._setResult(1,t)},this._reject=function(t){e._setResult(2,t)},this._setResult=function(t,r){0===e._state&&(x(r)?r.then(e._resolve,e._reject):(e._state=t,e._value=r,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach(function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)})}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.then=function(e,r){var n=this;return new t(function(t,o){n._handlers.push([!1,function(r){if(e)try{t(e(r))}catch(t){o(t)}else t(r)},function(e){if(r)try{t(r(e))}catch(t){o(t)}else o(e)}]),n._executeHandlers()})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(e){var r=this;return new t(function(t,n){var o,i;return r.then(function(t){i=!1,o=t,e&&e()},function(t){i=!0,o=t,e&&e()}).then(function(){i?n(o):t(o)})})},t}(),P=r(6475),j=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return t.clone=function(e){var r=new t;return e&&(r._breadcrumbs=p(e._breadcrumbs),r._tags=c({},e._tags),r._extra=c({},e._extra),r._contexts=c({},e._contexts),r._user=e._user,r._level=e._level,r._span=e._span,r._session=e._session,r._transactionName=e._transactionName,r._fingerprint=e._fingerprint,r._eventProcessors=p(e._eventProcessors),r._requestSession=e._requestSession),r},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=c(c({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var r;return this._tags=c(c({},this._tags),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=c(c({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var r;return this._extra=c(c({},this._extra),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var r;return null===e?delete this._contexts[t]:this._contexts=c(c({},this._contexts),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t=this.getSpan();return t&&t.transaction},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var r=e(this);return r instanceof t?r:this}return e instanceof t?(this._tags=c(c({},this._tags),e._tags),this._extra=c(c({},this._extra),e._extra),this._contexts=c(c({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):b(e)&&(this._tags=c(c({},this._tags),e.tags),this._extra=c(c({},this._extra),e.extra),this._contexts=c(c({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var r="number"==typeof e?Math.min(e,100):100;if(r<=0)return this;var n=c({timestamp:(0,S.lu)()},t);return this._breadcrumbs=p(this._breadcrumbs,[n]).slice(-r),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=c(c({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=c(c({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=c(c({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=c(c({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=c({trace:this._span.getTraceContext()},t.contexts);var r=this._span.transaction&&this._span.transaction.name;r&&(t.tags=c({transaction:r},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=p(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(p(C(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=c(c({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,r,n){var o=this;return void 0===n&&(n=0),new k(function(i,s){var a=t[n];if(null===e||"function"!=typeof a)i(e);else{var u=a(c({},e),r);x(u)?u.then(function(e){return o._notifyEventProcessors(t,e,r,n+1).then(i)}).then(null,s):o._notifyEventProcessors(t,u,r,n+1).then(i).then(null,s)}})},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(e){e(t)}),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function C(){return(0,P.B)("globalEventProcessors",function(){return[]})}function R(t){C().push(t)}function I(t,e){try{for(var r=t,n=[],o=0,i=0,s=void 0;r&&o++<5&&!("html"===(s=N(r,e))||o>1&&i+3*n.length+s.length>=80);)n.push(s),i+=s.length,r=r.parentNode;return n.reverse().join(" > ")}catch(t){return"<unknown>"}}function N(t,e){var r,n,o,i,s,a=t,u=[];if(!a||!a.tagName)return"";u.push(a.tagName.toLowerCase());var c=e&&e.length?e.filter(function(t){return a.getAttribute(t)}).map(function(t){return[t,a.getAttribute(t)]}):null;if(c&&c.length)c.forEach(function(t){u.push("["+t[0]+'="'+t[1]+'"]')});else if(a.id&&u.push("#"+a.id),(r=a.className)&&m(r))for(n=r.split(/\s+/),s=0;s<n.length;s++)u.push("."+n[s]);var f=["type","name","title","alt"];for(s=0;s<f.length;s++)o=f[s],(i=a.getAttribute(o))&&u.push("["+o+'="'+i+'"]');return u.join("")}function A(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function D(t,e){if(!Array.isArray(t))return"";for(var r=[],n=0;n<t.length;n++){var o=t[n];try{r.push(String(o))}catch(t){r.push("[value cannot be serialized]")}}return r.join(e)}function M(t,e){return!!m(t)&&(v(e,"RegExp")?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}function L(t,e,r){if(e in t){var n=t[e],o=r(n);if("function"==typeof o)try{F(o,n)}catch(t){}t[e]=o}}function U(t,e,r){Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0})}function F(t,e){var r=e.prototype||{};t.prototype=e.prototype=r,U(t,"__sentry_original__",e)}function B(t){return t.__sentry_original__}function q(t){var e=t;if(h(t))e=c({message:t.message,name:t.name,stack:t.stack},G(t));else if(E(t)){var r=t;e=c({type:r.type,target:H(r.target),currentTarget:H(r.currentTarget)},G(r)),"undefined"!=typeof CustomEvent&&w(t,CustomEvent)&&(e.detail=r.detail)}return e}function H(t){try{return"undefined"!=typeof Element&&w(t,Element)?I(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function G(t){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function z(t,e){void 0===e&&(e=40);var r=Object.keys(q(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return A(r[0],e);for(var n=r.length;n>0;n--){var o=r.slice(0,n).join(", ");if(!(o.length>e))return n===r.length?o:A(o,e)}return""}function V(t){var e,r;if(b(t)){var n={};try{for(var o=f(Object.keys(t)),i=o.next();!i.done;i=o.next()){var s=i.value;void 0!==t[s]&&(n[s]=V(t[s]))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n}return Array.isArray(t)?t.map(V):t}function W(){var t=(0,P.V)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var r=new Uint16Array(8);e.getRandomValues(r),r[3]=4095&r[3]|16384,r[4]=16383&r[4]|32768;var n=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return n(r[0])+n(r[1])+n(r[2])+n(r[3])+n(r[4])+n(r[5])+n(r[6])+n(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}function Y(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var r=e[6]||"",n=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+r+n}}function X(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function J(t){var e=t.message,r=t.event_id;if(e)return e;var n=X(t);return n?n.type&&n.value?n.type+": "+n.value:n.type||n.value||r||"<unknown>":r||"<unknown>"}function K(t,e,r){var n=t.exception=t.exception||{},o=n.values=n.values||[],i=o[0]=o[0]||{};i.value||(i.value=e||""),i.type||(i.type=r||"Error")}function $(t,e){var r=X(t);if(r){var n=r.mechanism;if(r.mechanism=c(c(c({},{type:"generic",handled:!0}),n),e),e&&"data"in e){var o=c(c({},n&&n.data),e.data);r.mechanism.data=o}}}function Q(t){if(t&&t.__sentry_captured__)return!0;try{U(t,"__sentry_captured__",!0)}catch(t){}return!1}var Z,tt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,et=(0,P.V)(),rt=["debug","info","warn","error","log","assert"];function nt(t){var e=(0,P.V)();if(!("console"in e))return t();var r=e.console,n={};rt.forEach(function(t){var o=r[t]&&r[t].__sentry_original__;t in e.console&&o&&(n[t]=r[t],r[t]=o)});try{return t()}finally{Object.keys(n).forEach(function(t){r[t]=n[t]})}}function ot(){var t=!1,e={enable:function(){t=!0},disable:function(){t=!1}};return tt?rt.forEach(function(r){e[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t&&nt(function(){var t;(t=et.console)[r].apply(t,p(["Sentry Logger ["+r+"]:"],e))})}}):rt.forEach(function(t){e[t]=function(){}}),e}Z=tt?(0,P.B)("logger",ot):ot();var it=r(258),st="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,at=function(){function t(t){this.errors=0,this.sid=W(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var e=(0,S.zf)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||(0,S.zf)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:W()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return V({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),ut=function(){function t(t,e,r){void 0===e&&(e=new j),void 0===r&&(r=4),this._version=r,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=j.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var r=this._lastEventId=e&&e.event_id?e.event_id:W(),n=e;if(!e){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(t){o=t}n={originalException:t,syntheticException:o}}return this._invokeClient("captureException",t,c(c({},n),{event_id:r})),r},t.prototype.captureMessage=function(t,e,r){var n=this._lastEventId=r&&r.event_id?r.event_id:W(),o=r;if(!r){var i=void 0;try{throw new Error(t)}catch(t){i=t}o={originalException:t,syntheticException:i}}return this._invokeClient("captureMessage",t,e,c(c({},o),{event_id:n})),n},t.prototype.captureEvent=function(t,e){var r=e&&e.event_id?e.event_id:W();return"transaction"!==t.type&&(this._lastEventId=r),this._invokeClient("captureEvent",t,c(c({},e),{event_id:r})),r},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var r=this.getStackTop(),n=r.scope,o=r.client;if(n&&o){var i=o.getOptions&&o.getOptions()||{},s=i.beforeBreadcrumb,a=void 0===s?null:s,u=i.maxBreadcrumbs,f=void 0===u?100:u;if(!(f<=0)){var l=(0,S.lu)(),p=c({timestamp:l},t),d=a?nt(function(){return a(p,e)}):p;null!==d&&n.addBreadcrumb(d,f)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var r=this.getScope();r&&r.setTag(t,e)},t.prototype.setExtra=function(t,e){var r=this.getScope();r&&r.setExtra(t,e)},t.prototype.setContext=function(t,e){var r=this.getScope();r&&r.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),r=e.scope,n=e.client;r&&n&&t(r)},t.prototype.run=function(t){var e=ft(this);try{t(this)}finally{ft(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return st&&Z.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t=this.getStackTop(),e=t&&t.scope,r=e&&e.getSession();r&&r.close(),this._sendSessionUpdate(),e&&e.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),r=e.scope,n=e.client,o=n&&n.getOptions()||{},i=o.release,s=o.environment,a=((0,P.V)().navigator||{}).userAgent,u=new at(c(c(c({release:i,environment:s},r&&{user:r.getUser()}),a&&{userAgent:a}),t));if(r){var f=r.getSession&&r.getSession();f&&"ok"===f.status&&f.update({status:"exited"}),this.endSession(),r.setSession(u)}return u},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,r=t.client;if(e){var n=e.getSession&&e.getSession();n&&r&&r.captureSession&&r.captureSession(n)}},t.prototype._invokeClient=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=this.getStackTop(),i=o.scope,s=o.client;s&&s[t]&&(e=s)[t].apply(e,p(r,[i]))},t.prototype._callExtensionMethod=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=ct().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);st&&Z.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function ct(){var t=(0,P.V)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function ft(t){var e=ct(),r=dt(e);return ht(e,t),r}function lt(){var t=ct();return pt(t)&&!dt(t).isOlderThan(4)||ht(t,new ut),(0,it.wD)()?function(t){try{var e=ct().__SENTRY__,r=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!r)return dt(t);if(!pt(r)||dt(r).isOlderThan(4)){var n=dt(t).getStackTop();ht(r,new ut(n.client,j.clone(n.scope)))}return dt(r)}catch(e){return dt(t)}}(t):dt(t)}function pt(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function dt(t){return(0,P.B)("hub",function(){return new ut},t)}function ht(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}function vt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=lt();if(n&&n[t])return n[t].apply(n,p(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function yt(t,e){return vt("captureException",t,{captureContext:e,originalException:t,syntheticException:new Error("Sentry syntheticException")})}function gt(t,e){var r=new Error(t);return vt("captureMessage",t,"string"==typeof e?e:void 0,c({originalException:t,syntheticException:r},"string"!=typeof e?{captureContext:e}:void 0))}function mt(t){return vt("captureEvent",t)}function _t(t){vt("configureScope",t)}function bt(t){vt("addBreadcrumb",t)}function Et(t,e){vt("setContext",t,e)}function xt(t){vt("setExtras",t)}function wt(t){vt("setTags",t)}function St(t,e){vt("setExtra",t,e)}function Ot(t,e){vt("setTag",t,e)}function Tt(t){vt("setUser",t)}function kt(t){vt("withScope",t)}function Pt(t,e){return vt("startTransaction",c({},t),e)}var jt="6.19.7",Ct=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(t,r)||(t[r]=e[r]);return t}),Rt=function(t){function e(e){var r=this.constructor,n=t.call(this,e)||this;return n.message=e,n.name=r.prototype.constructor.name,Ct(n,r.prototype),n}return a(e,t),e}(Error),It=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Nt(t,e){void 0===e&&(e=!1);var r=t.host,n=t.path,o=t.pass,i=t.port,s=t.projectId;return t.protocol+"://"+t.publicKey+(e&&o?":"+o:"")+"@"+r+(i?":"+i:"")+"/"+(n?n+"/":n)+s}function At(t){return"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),{user:t.publicKey||"",protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Dt(t){var e="string"==typeof t?function(t){var e=It.exec(t);if(!e)throw new Rt("Invalid Sentry Dsn: "+t);var r=l(e.slice(1),6),n=r[0],o=r[1],i=r[2],s=void 0===i?"":i,a=r[3],u=r[4],c=void 0===u?"":u,f="",p=r[5],d=p.split("/");if(d.length>1&&(f=d.slice(0,-1).join("/"),p=d.pop()),p){var h=p.match(/^\d+/);h&&(p=h[0])}return At({host:a,pass:s,path:f,projectId:p,port:c,protocol:n,publicKey:o})}(t):At(t);return function(t){if(tt){var e=t.port,r=t.projectId,n=t.protocol;if(["protocol","publicKey","host","projectId"].forEach(function(e){if(!t[e])throw new Rt("Invalid Sentry Dsn: "+e+" missing")}),!r.match(/^\d+$/))throw new Rt("Invalid Sentry Dsn: Invalid projectId "+r);if(!function(t){return"http"===t||"https"===t}(n))throw new Rt("Invalid Sentry Dsn: Invalid protocol "+n);if(e&&isNaN(parseInt(e,10)))throw new Rt("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}var Mt="<anonymous>";function Lt(t){try{return t&&"function"==typeof t&&t.name||Mt}catch(t){return Mt}}function Ut(t,e,r){void 0===e&&(e=1/0),void 0===r&&(r=1/0);try{return Bt("",t,e,r)}catch(t){return{ERROR:"**non-serializable** ("+t+")"}}}function Ft(t,e,r){void 0===e&&(e=3),void 0===r&&(r=102400);var n,o=Ut(t,e);return n=o,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(n))>r?Ft(t,e-1,r):o}function Bt(t,e,n,o,i){var s,a;void 0===n&&(n=1/0),void 0===o&&(o=1/0),void 0===i&&(s="function"==typeof WeakSet,a=s?new WeakSet:[],i=[function(t){if(s)return!!a.has(t)||(a.add(t),!1);for(var e=0;e<a.length;e++)if(a[e]===t)return!0;return a.push(t),!1},function(t){if(s)a.delete(t);else for(var e=0;e<a.length;e++)if(a[e]===t){a.splice(e,1);break}}]);var u,c=l(i,2),f=c[0],p=c[1],d=e;if(d&&"function"==typeof d.toJSON)try{return d.toJSON()}catch(t){}if(null===e||["number","boolean","string"].includes(typeof e)&&("number"!=typeof(u=e)||u==u))return e;var v=function(t,e){try{return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==r.g&&e===r.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":function(t){return b(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Lt(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":"[object "+Object.getPrototypeOf(e).constructor.name+"]"}catch(t){return"**non-serializable** ("+t+")"}}(t,e);if(!v.startsWith("[object "))return v;if(0===n)return v.replace("object ","");if(f(e))return"[Circular ~]";var y=Array.isArray(e)?[]:{},g=0,m=h(e)||E(e)?q(e):e;for(var _ in m)if(Object.prototype.hasOwnProperty.call(m,_)){if(g>=o){y[_]="[MaxProperties ~]";break}var x=m[_];y[_]=Bt(_,x,n-1,o,i),g+=1}return p(e),y}var qt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Ht=[];function Gt(t){return t.reduce(function(t,e){return t.every(function(t){return e.name!==t.name})&&t.push(e),t},[])}var zt="Not capturing exception because it's already been captured.",Vt=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=Dt(e.dsn))}return t.prototype.captureException=function(t,e,r){var n=this;if(!Q(t)){var o=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then(function(t){return n._captureEvent(t,e,r)}).then(function(t){o=t})),o}qt&&Z.log(zt)},t.prototype.captureMessage=function(t,e,r,n){var o=this,i=r&&r.event_id,s=_(t)?this._getBackend().eventFromMessage(String(t),e,r):this._getBackend().eventFromException(t,r);return this._process(s.then(function(t){return o._captureEvent(t,r,n)}).then(function(t){i=t})),i},t.prototype.captureEvent=function(t,e,r){if(!(e&&e.originalException&&Q(e.originalException))){var n=e&&e.event_id;return this._process(this._captureEvent(t,e,r).then(function(t){n=t})),n}qt&&Z.log(zt)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?qt&&Z.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):qt&&Z.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.prototype.flush=function(t){var e=this;return this._isClientDoneProcessing(t).then(function(r){return e.getTransport().close(t).then(function(t){return r&&t})})},t.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},t.prototype.setupIntegrations=function(){var t,e;this._isEnabled()&&!this._integrations.initialized&&(this._integrations=(t=this._options,e={},function(t){var e=t.defaultIntegrations&&p(t.defaultIntegrations)||[],r=t.integrations,n=p(Gt(e));Array.isArray(r)?n=p(n.filter(function(t){return r.every(function(e){return e.name!==t.name})}),Gt(r)):"function"==typeof r&&(n=r(n),n=Array.isArray(n)?n:[n]);var o=n.map(function(t){return t.name}),i="Debug";return-1!==o.indexOf(i)&&n.push.apply(n,p(n.splice(o.indexOf(i),1))),n}(t).forEach(function(t){e[t.name]=t,function(t){-1===Ht.indexOf(t.name)&&(t.setupOnce(R,lt),Ht.push(t.name),qt&&Z.log("Integration installed: "+t.name))}(t)}),U(e,"initialized",!0),e))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return qt&&Z.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var r,n,o=!1,i=!1,s=e.exception&&e.exception.values;if(s){i=!0;try{for(var a=f(s),u=a.next();!u.done;u=a.next()){var l=u.value.mechanism;if(l&&!1===l.handled){o=!0;break}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}var p="ok"===t.status;(p&&0===t.errors||p&&o)&&(t.update(c(c({},o&&{status:"crashed"}),{errors:t.errors||Number(i||o)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new k(function(r){var n=0,o=setInterval(function(){0==e._numProcessing?(clearInterval(o),r(!0)):(n+=1,t&&n>=t&&(clearInterval(o),r(!1)))},1)})},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,r){var n=this,o=this.getOptions(),i=o.normalizeDepth,s=void 0===i?3:i,a=o.normalizeMaxBreadth,u=void 0===a?1e3:a,f=c(c({},t),{event_id:t.event_id||(r&&r.event_id?r.event_id:W()),timestamp:t.timestamp||(0,S.lu)()});this._applyClientOptions(f),this._applyIntegrationsMetadata(f);var l=e;r&&r.captureContext&&(l=j.clone(l).update(r.captureContext));var p=O(f);return l&&(p=l.applyToEvent(f,r)),p.then(function(t){return t&&(t.sdkProcessingMetadata=c(c({},t.sdkProcessingMetadata),{normalizeDepth:Ut(s)+" ("+typeof s+")"})),"number"==typeof s&&s>0?n._normalizeEvent(t,s,u):t})},t.prototype._normalizeEvent=function(t,e,r){if(!t)return null;var n=c(c(c(c(c({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return c(c({},t),t.data&&{data:Ut(t.data,e,r)})})}),t.user&&{user:Ut(t.user,e,r)}),t.contexts&&{contexts:Ut(t.contexts,e,r)}),t.extra&&{extra:Ut(t.extra,e,r)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n.sdkProcessingMetadata=c(c({},n.sdkProcessingMetadata),{baseClientNormalized:!0}),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),r=e.environment,n=e.release,o=e.dist,i=e.maxValueLength,s=void 0===i?250:i;"environment"in t||(t.environment="environment"in e?r:"production"),void 0===t.release&&void 0!==n&&(t.release=n),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=A(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=A(a.value,s));var u=t.request;u&&u.url&&(u.url=A(u.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=p(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,r){return this._processEvent(t,e,r).then(function(t){return t.event_id},function(t){qt&&Z.error(t)})},t.prototype._processEvent=function(t,e,r){var n=this,o=this.getOptions(),i=o.beforeSend,s=o.sampleRate,a=this.getTransport();function u(t,e){a.recordLostEvent&&a.recordLostEvent(t,e)}if(!this._isEnabled())return T(new Rt("SDK not enabled, will not capture event."));var c="transaction"===t.type;return!c&&"number"==typeof s&&Math.random()>s?(u("sample_rate","event"),T(new Rt("Discarding event because it's not included in the random sample (sampling rate = "+s+")"))):this._prepareEvent(t,r,e).then(function(r){if(null===r)throw u("event_processor",t.type||"event"),new Rt("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||c||!i?r:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(x(t))return t.then(function(t){if(!b(t)&&null!==t)throw new Rt(e);return t},function(t){throw new Rt("beforeSend rejected with "+t)});if(!b(t)&&null!==t)throw new Rt(e);return t}(i(r,e))}).then(function(e){if(null===e)throw u("before_send",t.type||"event"),new Rt("`beforeSend` returned `null`, will not send event.");var o=r&&r.getSession&&r.getSession();return!c&&o&&n._updateSessionFromEvent(o,e),n._sendEvent(e),e}).then(null,function(t){if(t instanceof Rt)throw t;throw n.captureException(t,{data:{__sentry__:!0},originalException:t}),new Rt("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})},t.prototype._process=function(t){var e=this;this._numProcessing+=1,t.then(function(t){return e._numProcessing-=1,t},function(t){return e._numProcessing-=1,t})},t}();function Wt(t,e,r){return{initDsn:t,metadata:e||{},dsn:Dt(t),tunnel:r}}function Yt(t){var e=t.protocol?t.protocol+":":"",r=t.port?":"+t.port:"";return e+"//"+t.host+r+(t.path?"/"+t.path:"")+"/api/"}function Xt(t,e){return""+Yt(t)+t.projectId+"/"+e+"/"}function Jt(t){return e={sentry_key:t.publicKey,sentry_version:"7"},Object.keys(e).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])}).join("&");var e}function Kt(t){return Xt(t,"store")}function $t(t){return Kt(t)+"?"+Jt(t)}function Qt(t,e){return e||function(t){return Xt(t,"envelope")}(t)+"?"+Jt(t)}function Zt(t,e){return void 0===e&&(e=[]),[t,e]}function te(t){var e=l(t,2),r=e[0],n=e[1],o=JSON.stringify(r);return n.reduce(function(t,e){var r=l(e,2),n=r[0],o=r[1],i=_(o)?String(o):JSON.stringify(o);return t+"\n"+JSON.stringify(n)+"\n"+i},o)}function ee(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function re(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=p(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=p(t.sdk.packages||[],e.packages||[]),t):t}function ne(t,e){var r=ee(e),n="aggregates"in t?"sessions":"session";return[Zt(c(c({sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:Nt(e.dsn)}),[[{type:n},t]]),n]}!function(){function t(t,e,r){void 0===e&&(e={}),this.dsn=t,this._dsnObject=Dt(t),this.metadata=e,this._tunnel=r}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return Yt(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return Kt(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return $t(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return Qt(this._dsnObject,this._tunnel)}}();var oe=function(){function t(){}return t.prototype.sendEvent=function(t){return O({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return O(!0)},t}(),ie=function(){function t(t){this._options=t,this._options.dsn||qt&&Z.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new Rt("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,r){throw new Rt("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=function(t,e){var r=ee(e),n=t.type||"event",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},i=o.method,s=o.rate;return re(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata,Zt(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:Nt(e.dsn)}),[[{type:n,sample_rates:[{id:i,rate:s}]},t]])}(t,Wt(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,function(t){qt&&Z.error("Error while sending event:",t)})}else this._transport.sendEvent(t).then(null,function(t){qt&&Z.error("Error while sending event:",t)})},t.prototype.sendSession=function(t){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=l(ne(t,Wt(this._options.dsn,this._options._metadata,this._options.tunnel)),1)[0];this._newTransport.send(e).then(null,function(t){qt&&Z.error("Error while sending session:",t)})}else this._transport.sendSession(t).then(null,function(t){qt&&Z.error("Error while sending session:",t)});else qt&&Z.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new oe},t}();function se(){if(!("fetch"in(0,P.V)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function ae(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function ue(){if(!se())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var ce="?";function fe(t,e,r,n){var o={filename:t,function:e,in_app:!0};return void 0!==r&&(o.lineno=r),void 0!==n&&(o.colno=n),o}var le=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,pe=/\((\S*)(?::(\d+))(?::(\d+))\)/,de=[30,function(t){var e=le.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var r=pe.exec(e[2]);r&&(e[2]=r[1],e[3]=r[2],e[4]=r[3])}var n=l(we(e[1]||ce,e[2]),2),o=n[0];return fe(n[1],o,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],he=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ve=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ye=[50,function(t){var e,r=he.exec(t);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){var n=ve.exec(r[3]);n&&(r[1]=r[1]||"eval",r[3]=n[1],r[4]=n[2],r[5]="")}var o=r[3],i=r[1]||ce;return i=(e=l(we(i,o),2))[0],fe(o=e[1],i,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}}],ge=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,me=[40,function(t){var e=ge.exec(t);return e?fe(e[2],e[1]||ce,+e[3],e[4]?+e[4]:void 0):void 0}],_e=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,be=[10,function(t){var e=_e.exec(t);return e?fe(e[2],e[3]||ce,+e[1]):void 0}],Ee=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,xe=[20,function(t){var e=Ee.exec(t);return e?fe(e[5],e[3]||e[4]||ce,+e[1],+e[2]):void 0}],we=function(t,e){var r=-1!==t.indexOf("safari-extension"),n=-1!==t.indexOf("safari-web-extension");return r||n?[-1!==t.indexOf("@")?t.split("@")[0]:ce,r?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function Se(t){var e=Te(t),r={type:t&&t.name,value:Pe(t)};return e.length&&(r.stacktrace={frames:e}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Oe(t){return{exception:{values:[Se(t)]}}}function Te(t){var e=t.stacktrace||t.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(ke.test(t.message))return 1}return 0}(t);try{return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t.sort(function(t,e){return t[0]-e[0]}).map(function(t){return t[1]});return function(t,e){var n,o,i,s;void 0===e&&(e=0);var a=[];try{for(var u=f(t.split("\n").slice(e)),l=u.next();!l.done;l=u.next()){var p=l.value;try{for(var d=(i=void 0,f(r)),h=d.next();!h.done;h=d.next()){var v=(0,h.value)(p);if(v){a.push(v);break}}}catch(t){i={error:t}}finally{try{h&&!h.done&&(s=d.return)&&s.call(d)}finally{if(i)throw i.error}}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}return function(t){if(!t.length)return[];var e=t,r=e[0].function||"",n=e[e.length-1].function||"";return-1===r.indexOf("captureMessage")&&-1===r.indexOf("captureException")||(e=e.slice(1)),-1!==n.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map(function(t){return c(c({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})}).reverse()}(a)}}(be,xe,de,me,ye)(e,r)}catch(t){}return[]}var ke=/Minified React error #\d+;/i;function Pe(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function je(t,e,r){var n=Re(t,e&&e.syntheticException||void 0,r);return $(n),n.level=u.Error,e&&e.event_id&&(n.event_id=e.event_id),O(n)}function Ce(t,e,r,n){void 0===e&&(e=u.Info);var o=Ie(t,r&&r.syntheticException||void 0,n);return o.level=e,r&&r.event_id&&(o.event_id=r.event_id),O(o)}function Re(t,e,r,n){var o;if(y(t)&&t.error)return Oe(t.error);if(g(t)||v(t,"DOMException")){var i=t;if("stack"in t)o=Oe(t);else{var s=i.name||(g(i)?"DOMError":"DOMException"),a=i.message?s+": "+i.message:s;K(o=Ie(a,e,r),a)}return"code"in i&&(o.tags=c(c({},o.tags),{"DOMException.code":""+i.code})),o}return h(t)?Oe(t):b(t)||E(t)?(o=function(t,e,r){var n={exception:{values:[{type:E(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error "+(r?"promise rejection":"exception")+" captured with keys: "+z(t)}]},extra:{__serialized__:Ft(t)}};if(e){var o=Te(e);o.length&&(n.stacktrace={frames:o})}return n}(t,e,n),$(o,{synthetic:!0}),o):(K(o=Ie(t,e,r),""+t,void 0),$(o,{synthetic:!0}),o)}function Ie(t,e,r){var n={message:t};if(r&&e){var o=Te(e);o.length&&(n.stacktrace={frames:o})}return n}function Ne(t){var e=[];function r(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(n){if(!(void 0===t||e.length<t))return T(new Rt("Not adding Promise due to buffer limit reached."));var o=n();return-1===e.indexOf(o)&&e.push(o),o.then(function(){return r(o)}).then(null,function(){return r(o).then(null,function(){})}),o},drain:function(t){return new k(function(r,n){var o=e.length;if(!o)return r(!0);var i=setTimeout(function(){t&&t>0&&r(!1)},t);e.forEach(function(t){O(t).then(function(){--o||(clearTimeout(i),r(!0))},n)})})}}}function Ae(t,e){return t[e]||t.all||0}function De(t,e,r){return void 0===r&&(r=Date.now()),Ae(t,e)>r}function Me(t,e,r){var n,o,i,s;void 0===r&&(r=Date.now());var a=c({},t),u=e["x-sentry-rate-limits"],l=e["retry-after"];if(u)try{for(var p=f(u.trim().split(",")),d=p.next();!d.done;d=p.next()){var h=d.value.split(":",2),v=parseInt(h[0],10),y=1e3*(isNaN(v)?60:v);if(h[1])try{for(var g=(i=void 0,f(h[1].split(";"))),m=g.next();!m.done;m=g.next())a[m.value]=r+y}catch(t){i={error:t}}finally{try{m&&!m.done&&(s=g.return)&&s.call(g)}finally{if(i)throw i.error}}else a.all=r+y}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}else l&&(a.all=r+function(t,e){void 0===e&&(e=Date.now());var r=parseInt(""+t,10);if(!isNaN(r))return 1e3*r;var n=Date.parse(""+t);return isNaN(n)?6e4:n-e}(l,r));return a}function Le(t){return t>=200&&t<300?"success":429===t?"rate_limit":t>=400&&t<500?"invalid":t>=500?"failed":"unknown"}function Ue(t,e,r){void 0===r&&(r=Ne(t.bufferSize||30));var n={};return{send:function(t){var o=function(t){var e=l(t,2),r=l(e[1],1);return l(r[0],1)[0].type}(t),i="event"===o?"error":o,s={category:i,body:te(t)};return De(n,i)?T({status:"rate_limit",reason:Fe(n,i)}):r.add(function(){return e(s).then(function(t){var e=t.body,r=t.headers,o=t.reason,s=Le(t.statusCode);return r&&(n=Me(n,r)),"success"===s?O({status:s,reason:o}):T({status:s,reason:o||e||("rate_limit"===s?Fe(n,i):"Unknown transport error")})})})},flush:function(t){return r.drain(t)}}}function Fe(t,e){return"Too many "+e+" requests, backing off until: "+new Date(Ae(t,e)).toISOString()}var Be,qe="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,He=(0,P.V)();function Ge(){if(Be)return Be;if(ae(He.fetch))return Be=He.fetch.bind(He);var t=He.document,e=He.fetch;if(t&&"function"==typeof t.createElement)try{var r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r);var n=r.contentWindow;n&&n.fetch&&(e=n.fetch),t.head.removeChild(r)}catch(t){qe&&Z.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return Be=e.bind(He)}function ze(t,e){return void 0===e&&(e=Ge()),Ue({bufferSize:t.bufferSize},function(r){var n=c({body:r.body,method:"POST",referrerPolicy:"origin"},t.requestOptions);return e(t.url,n).then(function(t){return t.text().then(function(e){return{body:e,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")},reason:t.statusText,statusCode:t.status}})})})}function Ve(t){return"event"===t?"error":t}var We=(0,P.V)(),Ye=function(){function t(t){var e=this;this.options=t,this._buffer=Ne(30),this._rateLimits={},this._outcomes={},this._api=Wt(t.dsn,t._metadata,t.tunnel),this.url=$t(this._api.dsn),this.options.sendClientReports&&We.document&&We.document.addEventListener("visibilitychange",function(){"hidden"===We.document.visibilityState&&e._flushOutcomes()})}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var r,n=ee(e),o=t.type||"event",i="transaction"===o||!!e.tunnel,s=(t.sdkProcessingMetadata||{}).transactionSampling||{},a=s.method,u=s.rate;re(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{r=JSON.stringify(t)}catch(e){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=e;try{r=JSON.stringify(Ut(t))}catch(t){var f=t;r=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:f.message,stack:f.stack}})}}var l={body:r,type:o,url:i?Qt(e.dsn,e.tunnel):$t(e.dsn)};if(i){var p=Zt(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:Nt(e.dsn)}),[[{type:o,sample_rates:[{id:a,rate:u}]},l.body]]);l.body=te(p)}return l}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var r=l(ne(t,e),2),n=r[0],o=r[1];return{body:te(n),type:o,url:Qt(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var r;if(this.options.sendClientReports){var n=Ve(e)+":"+t;qe&&Z.log("Adding outcome: "+n),this._outcomes[n]=(null!=(r=this._outcomes[n])?r:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){qe&&Z.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,r,n=Qt(this._api.dsn,this._api.tunnel),o=(e=Object.keys(t).map(function(e){var r=l(e.split(":"),2),n=r[0];return{reason:r[1],category:n,quantity:t[e]}}),Zt((r=this._api.tunnel&&Nt(this._api.dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:(0,S.lu)(),discarded_events:e}]]));try{!function(t,e){if("[object Navigator]"===Object.prototype.toString.call(He&&He.navigator)&&"function"==typeof He.navigator.sendBeacon)return He.navigator.sendBeacon.bind(He.navigator)(t,e);se()&&Ge()(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,function(t){console.error(t)})}(n,te(o))}catch(t){qe&&Z.error(t)}}else qe&&Z.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e=t.requestType,r=t.response,n=t.headers,o=t.resolve,i=t.reject,s=Le(r.status);this._rateLimits=Me(this._rateLimits,n),this._isRateLimited(e)&&qe&&Z.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),"success"!==s?i(r):o({status:s})},t.prototype._disabledUntil=function(t){var e=Ve(t);return new Date(Ae(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=Ve(t);return De(this._rateLimits,e)},t}(),Xe=function(t){function e(e,r){void 0===r&&(r=Ge());var n=t.call(this,e)||this;return n._fetch=r,n}return a(e,t),e.prototype._sendRequest=function(t,e){var r=this;if(this._isRateLimited(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var n={body:t.body,method:"POST",referrerPolicy:ue()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(n,this.options.fetchParameters),void 0!==this.options.headers&&(n.headers=this.options.headers),this._buffer.add(function(){return new k(function(e,o){r._fetch(t.url,n).then(function(n){var i={"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")};r._handleResponse({requestType:t.type,response:n,headers:i,resolve:e,reject:o})}).catch(o)})}).then(void 0,function(e){throw e instanceof Rt?r.recordLostEvent("queue_overflow",t.type):r.recordLostEvent("network_error",t.type),e})},e}(Ye);function Je(t){return Ue({bufferSize:t.bufferSize},function(e){return new k(function(r,n){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var t={body:o.response,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")},reason:o.statusText,statusCode:o.status};r(t)}},o.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,i)&&o.setRequestHeader(i,t.headers[i]);o.send(e.body)})})}var Ke=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype._sendRequest=function(t,e){var r=this;return this._isRateLimited(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add(function(){return new k(function(e,n){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};r._handleResponse({requestType:t.type,response:o,headers:i,resolve:e,reject:n})}},o.open("POST",t.url),r.options.headers)Object.prototype.hasOwnProperty.call(r.options.headers,i)&&o.setRequestHeader(i,r.options.headers[i]);o.send(t.body)})}).then(void 0,function(e){throw e instanceof Rt?r.recordLostEvent("queue_overflow",t.type):r.recordLostEvent("network_error",t.type),e})},e}(Ye),$e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.eventFromException=function(t,e){return je(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,r){return void 0===e&&(e=u.Info),Ce(t,e,r,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=c(c({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),r=Wt(e.dsn,e._metadata,e.tunnel),n=Qt(r.dsn,r.tunnel);if(this._options.transport)return new this._options.transport(e);if(se()){var o=c({},e.fetchParameters);return this._newTransport=ze({requestOptions:o,url:n}),new Xe(e)}return this._newTransport=Je({url:n,headers:e.headers}),new Ke(e)},e}(ie),Qe=(0,P.V)(),Ze=0;function tr(){return Ze>0}function er(t,e,r){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var n=t.__sentry_wrapped__;if(n)return n;if(B(t))return t}catch(e){return t}var o=function(){var n=Array.prototype.slice.call(arguments);try{r&&"function"==typeof r&&r.apply(this,arguments);var o=n.map(function(t){return er(t,e)});return t.apply(this,o)}catch(t){throw Ze+=1,setTimeout(function(){Ze-=1}),kt(function(r){r.addEventProcessor(function(t){return e.mechanism&&(K(t,void 0,void 0),$(t,e.mechanism)),t.extra=c(c({},t.extra),{arguments:n}),t}),yt(t)}),t}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i])}catch(t){}F(o,t),U(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return t.name}})}catch(t){}return o}function rr(t){if(void 0===t&&(t={}),Qe.document)if(t.eventId)if(t.dsn){var e=Qe.document.createElement("script");e.async=!0,e.src=function(t,e){var r=Dt(t),n=Yt(r)+"embed/error-page/",o="dsn="+Nt(r);for(var i in e)if("dsn"!==i)if("user"===i){if(!e.user)continue;e.user.name&&(o+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(o+="&email="+encodeURIComponent(e.user.email))}else o+="&"+encodeURIComponent(i)+"="+encodeURIComponent(e[i]);return n+"?"+o}(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var r=Qe.document.head||Qe.document.body;r&&r.appendChild(e)}else qe&&Z.error("Missing dsn option in showReportDialog call");else qe&&Z.error("Missing eventId option in showReportDialog call")}var nr,or,ir,sr=(0,P.V)(),ar={},ur={};function cr(t,e){ar[t]=ar[t]||[],ar[t].push(e),function(t){if(!ur[t])switch(ur[t]=!0,t){case"console":"console"in sr&&rt.forEach(function(t){t in sr.console&&L(sr.console,t,function(e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];fr("console",{args:r,level:t}),e&&e.apply(sr.console,r)}})});break;case"dom":!function(){if("document"in sr){var t=fr.bind(null,"dom"),e=pr(t,!0);sr.document.addEventListener("click",e,!1),sr.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(function(e){var r=sr[e]&&sr[e].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(L(r,"addEventListener",function(e){return function(r,n,o){if("click"===r||"keypress"==r)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=i[r]=i[r]||{refCount:0};if(!s.handler){var a=pr(t);s.handler=a,e.call(this,r,a,o)}s.refCount+=1}catch(t){}return e.call(this,r,n,o)}}),L(r,"removeEventListener",function(t){return function(e,r,n){if("click"===e||"keypress"==e)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[e];i&&(i.refCount-=1,i.refCount<=0&&(t.call(this,e,i.handler,n),i.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,r,n)}}))})}}();break;case"xhr":!function(){if("XMLHttpRequest"in sr){var t=XMLHttpRequest.prototype;L(t,"open",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this,o=e[1],i=n.__sentry_xhr__={method:m(e[0])?e[0].toUpperCase():e[0],url:e[1]};m(o)&&"POST"===i.method&&o.match(/sentry_key/)&&(n.__sentry_own_request__=!0);var s=function(){if(4===n.readyState){try{i.status_code=n.status}catch(t){}fr("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?L(n,"onreadystatechange",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return s(),t.apply(n,e)}}):n.addEventListener("readystatechange",s),t.apply(n,e)}}),L(t,"send",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),fr("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}})}}();break;case"fetch":(function(){if(!se())return!1;var t=(0,P.V)();if(ae(t.fetch))return!0;var e=!1,r=t.document;if(r&&"function"==typeof r.createElement)try{var n=r.createElement("iframe");n.hidden=!0,r.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=ae(n.contentWindow.fetch)),r.head.removeChild(n)}catch(t){tt&&Z.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e})()&&L(sr,"fetch",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n,o={args:e,fetchData:{method:(n=e,void 0===n&&(n=[]),"Request"in sr&&w(n[0],Request)&&n[0].method?String(n[0].method).toUpperCase():n[1]&&n[1].method?String(n[1].method).toUpperCase():"GET"),url:lr(e)},startTimestamp:Date.now()};return fr("fetch",c({},o)),t.apply(sr,e).then(function(t){return fr("fetch",c(c({},o),{endTimestamp:Date.now(),response:t})),t},function(t){throw fr("fetch",c(c({},o),{endTimestamp:Date.now(),error:t})),t})}});break;case"history":!function(){if(function(){var t=(0,P.V)(),e=t.chrome,r=e&&e.app&&e.app.runtime,n="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!r&&n}()){var t=sr.onpopstate;sr.onpopstate=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=sr.location.href,o=nr;if(nr=n,fr("history",{from:o,to:n}),t)try{return t.apply(this,e)}catch(t){}},L(sr.history,"pushState",e),L(sr.history,"replaceState",e)}function e(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e.length>2?e[2]:void 0;if(n){var o=nr,i=String(n);nr=i,fr("history",{from:o,to:i})}return t.apply(this,e)}}}();break;case"error":dr=sr.onerror,sr.onerror=function(t,e,r,n,o){return fr("error",{column:n,error:o,line:r,msg:t,url:e}),!!dr&&dr.apply(this,arguments)};break;case"unhandledrejection":hr=sr.onunhandledrejection,sr.onunhandledrejection=function(t){return fr("unhandledrejection",t),!hr||hr.apply(this,arguments)};break;default:tt&&Z.warn("unknown instrumentation type:",t)}}(t)}function fr(t,e){var r,n;if(t&&ar[t])try{for(var o=f(ar[t]||[]),i=o.next();!i.done;i=o.next()){var s=i.value;try{s(e)}catch(e){tt&&Z.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Lt(s)+"\nError:",e)}}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}function lr(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in sr&&w(t[0],Request)?t[0].url:String(t[0])}function pr(t,e){return void 0===e&&(e=!1),function(r){if(r&&ir!==r&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(r)){var n="keypress"===r.type?"input":r.type;(void 0===or||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(ir,r))&&(t({event:r,name:n,global:e}),ir=r),clearTimeout(or),or=sr.setTimeout(function(){or=void 0},1e3)}}}var dr=null,hr=null,vr=["fatal","error","warning","log","info","debug","critical"];var yr=function(){function t(e){this.name=t.id,this._options=c({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&lt().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:J(t)},{event:t})},t.prototype.setupOnce=function(){var t;this._options.console&&cr("console",gr),this._options.dom&&cr("dom",(t=this._options.dom,function(e){var r,n="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof n&&(n=[n]);try{r=e.event.target?I(e.event.target,n):I(e.event,n)}catch(t){r="<unknown>"}0!==r.length&&lt().addBreadcrumb({category:"ui."+e.name,message:r},{event:e.event,name:e.name,global:e.global})})),this._options.xhr&&cr("xhr",mr),this._options.fetch&&cr("fetch",_r),this._options.history&&cr("history",br)},t.id="Breadcrumbs",t}();function gr(t){var e,r={category:"console",data:{arguments:t.args,logger:"console"},level:(e=t.level,"warn"===e?u.Warning:function(t){return-1!==vr.indexOf(t)}(e)?e:u.Log),message:D(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message="Assertion failed: "+(D(t.args.slice(1)," ")||"console.assert"),r.data.arguments=t.args.slice(1)}lt().addBreadcrumb(r,{input:t.args,level:t.level})}function mr(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},r=e.method,n=e.url,o=e.status_code,i=e.body;lt().addBreadcrumb({category:"xhr",data:{method:r,url:n,status_code:o},type:"http"},{xhr:t.xhr,input:i})}}function _r(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?lt().addBreadcrumb({category:"fetch",data:t.fetchData,level:u.Error,type:"http"},{data:t.error,input:t.args}):lt().addBreadcrumb({category:"fetch",data:c(c({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function br(t){var e=(0,P.V)(),r=t.from,n=t.to,o=Y(e.location.href),i=Y(r),s=Y(n);i.path||(i=o),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),lt().addBreadcrumb({category:"navigation",data:{from:r,to:n}})}var Er,xr=function(t){function e(e){return void 0===e&&(e={}),e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:jt}],version:jt},t.call(this,$e,e)||this}return a(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),(0,P.V)().document&&(this._isEnabled()?rr(c(c({},t),{dsn:t.dsn||this.getDsn()})):qe&&Z.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,r,n){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,r,n)},e.prototype._sendEvent=function(e){var r=this.getIntegration(yr);r&&r.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(Vt),wr=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Sr=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(e,r){e(function(e){var n=r();if(n){var o=n.getIntegration(t);if(o){var i=n.getClient(),s=i?i.getOptions():{},a=function(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),{allowUrls:p(t.whitelistUrls||[],t.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:p(t.blacklistUrls||[],t.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:p(t.ignoreErrors||[],e.ignoreErrors||[],wr),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(o._options,s);return function(t,e){return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(qt&&Z.warn("Event dropped due to being internal Sentry Error.\nEvent: "+J(t)),!0):function(t,e){return!(!e||!e.length)&&function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},r=e.type,n=void 0===r?"":r,o=e.value,i=void 0===o?"":o;return[""+i,n+": "+i]}catch(e){return qt&&Z.error("Cannot extract message for event "+J(t)),[]}return[]}(t).some(function(t){return e.some(function(e){return M(t,e)})})}(t,e.ignoreErrors)?(qt&&Z.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+J(t)),!0):function(t,e){if(!e||!e.length)return!1;var r=Tr(t);return!!r&&e.some(function(t){return M(r,t)})}(t,e.denyUrls)?(qt&&Z.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+J(t)+".\nUrl: "+Tr(t)),!0):!function(t,e){if(!e||!e.length)return!0;var r=Tr(t);return!r||e.some(function(t){return M(r,t)})}(t,e.allowUrls)&&(qt&&Z.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+J(t)+".\nUrl: "+Tr(t)),!0)}(e,a)?null:e}}return e})},t.id="InboundFilters",t}();function Or(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var r=t[e];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}function Tr(t){try{if(t.stacktrace)return Or(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?Or(e):null}catch(e){return qt&&Z.error("Cannot extract url for event "+J(t)),null}}var kr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Er=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=B(this)||this;return Er.apply(r,t)}},t.id="FunctionToString",t}(),Pr=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],jr=function(){function t(e){this.name=t.id,this._options=c({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=(0,P.V)();this._options.setTimeout&&L(t,"setTimeout",Cr),this._options.setInterval&&L(t,"setInterval",Cr),this._options.requestAnimationFrame&&L(t,"requestAnimationFrame",Rr),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&L(XMLHttpRequest.prototype,"send",Ir);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:Pr).forEach(Nr)},t.id="TryCatch",t}();function Cr(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e[0];return e[0]=er(n,{mechanism:{data:{function:Lt(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function Rr(t){return function(e){return t.apply(this,[er(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Lt(t)},handled:!0,type:"instrument"}})])}}function Ir(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(function(t){t in n&&"function"==typeof n[t]&&L(n,t,function(e){var r={mechanism:{data:{function:t,handler:Lt(e)},handled:!0,type:"instrument"}},n=B(e);return n&&(r.mechanism.data.handler=Lt(n)),er(e,r)})}),t.apply(this,e)}}function Nr(t){var e=(0,P.V)(),r=e[t]&&e[t].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(L(r,"addEventListener",function(e){return function(r,n,o){try{"function"==typeof n.handleEvent&&(n.handleEvent=er(n.handleEvent.bind(n),{mechanism:{data:{function:"handleEvent",handler:Lt(n),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[r,er(n,{mechanism:{data:{function:"addEventListener",handler:Lt(n),target:t},handled:!0,type:"instrument"}}),o])}}),L(r,"removeEventListener",function(t){return function(e,r,n){var o=r;try{var i=o&&o.__sentry_wrapped__;i&&t.call(this,e,i,n)}catch(t){}return t.call(this,e,o,n)}}))}var Ar=function(){function t(e){this.name=t.id,this._installFunc={onerror:Dr,onunhandledrejection:Mr},this._options=c({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t=this._options;for(var e in t){var r=this._installFunc[e];r&&t[e]&&(Ur(e),r(),this._installFunc[e]=void 0)}},t.id="GlobalHandlers",t}();function Dr(){cr("error",function(t){var e=l(Br(),2),r=e[0],n=e[1];if(r.getIntegration(Ar)){var o=t.msg,i=t.url,s=t.line,a=t.column,c=t.error;if(!(tr()||c&&c.__sentry_own_request__)){var f=void 0===c&&m(o)?function(t,e,r,n){var o=y(t)?t.message:t,i="Error",s=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return s&&(i=s[1],o=s[2]),Lr({exception:{values:[{type:i,value:o}]}},e,r,n)}(o,i,s,a):Lr(Re(c||o,void 0,n,!1),i,s,a);f.level=u.Error,Fr(r,c,f,"onerror")}}})}function Mr(){cr("unhandledrejection",function(t){var e=l(Br(),2),r=e[0],n=e[1];if(r.getIntegration(Ar)){var o=t;try{"reason"in t?o=t.reason:"detail"in t&&"reason"in t.detail&&(o=t.detail.reason)}catch(t){}if(tr()||o&&o.__sentry_own_request__)return!0;var i=_(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(o)}]}}:Re(o,void 0,n,!0);i.level=u.Error,Fr(r,o,i,"onunhandledrejection")}})}function Lr(t,e,r,n){var o=t.exception=t.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{},a=s.stacktrace=s.stacktrace||{},u=a.frames=a.frames||[],c=isNaN(parseInt(n,10))?void 0:n,f=isNaN(parseInt(r,10))?void 0:r,l=m(e)&&e.length>0?e:function(){var t=(0,P.V)();try{return t.document.location.href}catch(t){return""}}();return 0===u.length&&u.push({colno:c,filename:l,function:"?",in_app:!0,lineno:f}),t}function Ur(t){qe&&Z.log("Global Handler attached: "+t)}function Fr(t,e,r,n){$(r,{handled:!1,type:n}),t.captureEvent(r,{originalException:e})}function Br(){var t=lt(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var qr=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){R(function(e,r){var n=lt().getIntegration(t);return n?function(t,e,r,n){if(!(r.exception&&r.exception.values&&n&&w(n.originalException,Error)))return r;var o=Hr(e,n.originalException,t);return r.exception.values=p(o,r.exception.values),r}(n._key,n._limit,e,r):e})},t.id="LinkedErrors",t}();function Hr(t,e,r,n){if(void 0===n&&(n=[]),!w(e[r],Error)||n.length+1>=t)return n;var o=Se(e[r]);return Hr(t,e[r],r,p([o],n))}var Gr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,r){e(function(e){var n=r().getIntegration(t);if(n){try{if(function(t,e){return!!e&&(!!function(t,e){var r=t.message,n=e.message;return!(!r&&!n)&&(!(r&&!n||!r&&n)&&(r===n&&(!!Vr(t,e)&&!!zr(t,e))))}(t,e)||!!function(t,e){var r=Wr(e),n=Wr(t);return!(!r||!n)&&(r.type===n.type&&r.value===n.value&&(!!Vr(t,e)&&!!zr(t,e)))}(t,e))}(e,n._previousEvent))return qe&&Z.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return n._previousEvent=e}return n._previousEvent=e}return e})},t.id="Dedupe",t}();function zr(t,e){var r=Yr(t),n=Yr(e);if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o],s=r[o];if(i.filename!==s.filename||i.lineno!==s.lineno||i.colno!==s.colno||i.function!==s.function)return!1}return!0}function Vr(t,e){var r=t.fingerprint,n=e.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return!(r.join("")!==n.join(""))}catch(t){return!1}}function Wr(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Yr(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}else if(t.stacktrace)return t.stacktrace.frames}var Xr=(0,P.V)(),Jr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){R(function(e){if(lt().getIntegration(t)){if(!Xr.navigator&&!Xr.location&&!Xr.document)return e;var r=e.request&&e.request.url||Xr.location&&Xr.location.href,n=(Xr.document||{}).referrer,o=(Xr.navigator||{}).userAgent,i=c(c(c({},e.request&&e.request.headers),n&&{Referer:n}),o&&{"User-Agent":o}),s=c(c({},r&&{url:r}),{headers:i});return c(c({},e),{request:s})}return e})},t.id="UserAgent",t}(),Kr=[new Sr,new kr,new jr,new yr,new Ar,new qr,new Gr,new Jr];function $r(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Kr),void 0===t.release){var e=(0,P.V)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,e){!0===e.debug&&(qt?Z.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var r=lt(),n=r.getScope();n&&n.update(e.initialScope);var o=new t(e);r.bindClient(o)}(xr,t),t.autoSessionTracking&&function(){if(void 0!==(0,P.V)().document){var t=lt();t.captureSession&&(sn(t),cr("history",function(t){var e=t.from,r=t.to;void 0!==e&&e!==r&&sn(lt())}))}else qe&&Z.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}function Qr(t){void 0===t&&(t={});var e=lt(),r=e.getScope();r&&(t.user=c(c({},r.getUser()),t.user)),t.eventId||(t.eventId=e.lastEventId());var n=e.getClient();n&&n.showReportDialog(t)}function Zr(){return lt().lastEventId()}function tn(){}function en(t){t()}function rn(t){var e=lt().getClient();return e?e.flush(t):(qe&&Z.warn("Cannot flush events. No client defined."),O(!1))}function nn(t){var e=lt().getClient();return e?e.close(t):(qe&&Z.warn("Cannot flush events and disable SDK. No client defined."),O(!1))}function on(t){return er(t)()}function sn(t){t.startSession({ignoreDuration:!0}),t.captureSession()}var an="sentry.javascript.browser",un={},cn=(0,P.V)();cn.Sentry&&cn.Sentry.Integrations&&(un=cn.Sentry.Integrations);var fn=c(c(c({},un),n),o)},6475(t,e,r){"use strict";r.d(e,{B:()=>s,V:()=>i});var n=r(258),o={};function i(){return(0,n.wD)()?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function s(t,e,r){var n=r||i(),o=n.__SENTRY__=n.__SENTRY__||{};return o[t]||(o[t]=e())}},258(t,e,r){"use strict";function n(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(t,e){return t.require(e)}r.d(e,{fj:()=>o,wD:()=>n}),t=r.hmd(t)},1678(t,e,r){"use strict";r.d(e,{lu:()=>u,zf:()=>c});var n=r(6475),o=r(258);t=r.hmd(t);var i={nowSeconds:function(){return Date.now()/1e3}},s=(0,o.wD)()?function(){try{return(0,o.fj)(t,"perf_hooks").performance}catch(t){return}}():function(){var t=(0,n.V)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),a=void 0===s?i:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},u=i.nowSeconds.bind(i),c=a.nowSeconds.bind(a);!function(){var t=(0,n.V)().performance;if(t&&t.now){var e=36e5,r=t.now(),o=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+r-o):e,s=i<e,a=t.timing&&t.timing.navigationStart,u="number"==typeof a?Math.abs(a+r-o):e;(s||u<e)&&(i<=u&&t.timeOrigin)}}()},2505(t,e,r){t.exports=r(8015)},5592(t,e,r){"use strict";var n=r(9516),o=r(7522),i=r(3948),s=r(9106),a=r(9615),u=r(2012),c=r(4202),f=r(7763),l=r(6987),p=r(1928);t.exports=function(t){return new Promise(function(e,r){var d,h=t.data,v=t.headers,y=t.responseType;function g(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete v["Content-Type"];var m=new XMLHttpRequest;if(t.auth){var _=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(_+":"+b)}var E=a(t.baseURL,t.url);function x(){if(m){var n="getAllResponseHeaders"in m?u(m.getAllResponseHeaders()):null,i={data:y&&"text"!==y&&"json"!==y?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:t,request:m};o(function(t){e(t),g()},function(t){r(t),g()},i),m=null}}if(m.open(t.method.toUpperCase(),s(E,t.params,t.paramsSerializer),!0),m.timeout=t.timeout,"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(x)},m.onabort=function(){m&&(r(f("Request aborted",t,"ECONNABORTED",m)),m=null)},m.onerror=function(){r(f("Network Error",t,null,m)),m=null},m.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||l.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var w=(t.withCredentials||c(E))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;w&&(v[t.xsrfHeaderName]=w)}"setRequestHeader"in m&&n.forEach(v,function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete v[e]:m.setRequestHeader(e,t)}),n.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),y&&"json"!==y&&(m.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&m.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){m&&(r(!t||t&&t.type?new p("canceled"):t),m.abort(),m=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),h||(h=null),m.send(h)})}},8015(t,e,r){"use strict";var n=r(9516),o=r(9012),i=r(5155),s=r(5343),a=function t(e){var r=new i(e),a=o(i.prototype.request,r);return n.extend(a,i.prototype,r),n.extend(a,r),a.create=function(r){return t(s(e,r))},a}(r(6987));a.Axios=i,a.Cancel=r(1928),a.CancelToken=r(3191),a.isCancel=r(3864),a.VERSION=r(9641).version,a.all=function(t){return Promise.all(t)},a.spread=r(7980),a.isAxiosError=r(5019),t.exports=a,t.exports.default=a},1928(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},3191(t,e,r){"use strict";var n=r(1928);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var r=this;this.promise.then(function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}}),this.promise.then=function(t){var e,n=new Promise(function(t){r.subscribe(t),e=t}).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t(function(t){r.reason||(r.reason=new n(t),e(r.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},3864(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},5155(t,e,r){"use strict";var n=r(9516),o=r(9106),i=r(3471),s=r(4490),a=r(5343),u=r(4841),c=u.validators;function f(t){this.defaults=t,this.interceptors={request:new i,response:new i}}f.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))});var o,i=[];if(this.interceptors.response.forEach(function(t){i.push(t.fulfilled,t.rejected)}),!n){var f=[s,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(i),o=Promise.resolve(t);f.length;)o=o.then(f.shift(),f.shift());return o}for(var l=t;r.length;){var p=r.shift(),d=r.shift();try{l=p(l)}catch(t){d(t);break}}try{o=s(l)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},f.prototype.getUri=function(t){return t=a(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],function(t){f.prototype[t]=function(e,r){return this.request(a(r||{},{method:t,url:e,data:(r||{}).data}))}}),n.forEach(["post","put","patch"],function(t){f.prototype[t]=function(e,r,n){return this.request(a(n||{},{method:t,url:e,data:r}))}}),t.exports=f},3471(t,e,r){"use strict";var n=r(9516);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},9615(t,e,r){"use strict";var n=r(9137),o=r(4680);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},7763(t,e,r){"use strict";var n=r(5449);t.exports=function(t,e,r,o,i){var s=new Error(t);return n(s,e,r,o,i)}},4490(t,e,r){"use strict";var n=r(9516),o=r(2881),i=r(3864),s=r(6987),a=r(1928);function u(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new a("canceled")}t.exports=function(t){return u(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return u(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},5449(t){"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},5343(t,e,r){"use strict";var n=r(9516);t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function s(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function a(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function u(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return n.forEach(Object.keys(t).concat(Object.keys(e)),function(t){var e=c[t]||i,o=e(t);n.isUndefined(o)&&e!==u||(r[t]=o)}),r}},7522(t,e,r){"use strict";var n=r(7763);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},2881(t,e,r){"use strict";var n=r(9516),o=r(6987);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,function(r){t=r.call(i,t,e)}),t}},6987(t,e,r){"use strict";var n=r(9516),o=r(7018),i=r(5449),s={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(5592)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(a(e,"application/json"),function(t){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||c.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(s){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],function(t){c.headers[t]={}}),n.forEach(["post","put","patch"],function(t){c.headers[t]=n.merge(s)}),t.exports=c},9641(t){t.exports={version:"0.24.0"}},9012(t){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},9106(t,e,r){"use strict";var n=r(9516);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var s=[];n.forEach(e,function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))}))}),i=s.join("&")}if(i){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},4680(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},3948(t,e,r){"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,s){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},9137(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},5019(t){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},4202(t,e,r){"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},7018(t,e,r){"use strict";var n=r(9516);t.exports=function(t,e){n.forEach(t,function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])})}},2012(t,e,r){"use strict";var n=r(9516),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,s={};return t?(n.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(s[e]&&o.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}}),s):s}},7980(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4841(t,e,r){"use strict";var n=r(9641).version,o={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});var i={};o.transitional=function(t,e,r){function o(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,s){if(!1===t)throw new Error(o(n," has been removed"+(e?" in "+e:"")));return e&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,s)}},t.exports={assertOptions:function(t,e,r){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],s=e[i];if(s){var a=t[i],u=void 0===a||s(a,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},9516(t,e,r){"use strict";var n=r(9012),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function s(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===o.call(t)}function f(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:u,isUndefined:s,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:c,isStream:function(t){return a(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function t(){var e={};function r(r,n){u(e[n])&&u(r)?e[n]=t(e[n],r):u(r)?e[n]=t({},r):i(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)f(arguments[n],r);return e},extend:function(t,e,r){return f(e,function(e,o){t[o]=r&&"function"==typeof e?n(e,r):e}),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},6765(t,e,r){"use strict";function n(t){this.message=t}r.r(e),r.d(e,{InvalidTokenError:()=>s,default:()=>a}),n.prototype=new Error,n.prototype.name="InvalidCharacterError";var o="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,s=0,a="";o=e.charAt(s++);~o&&(r=i%4?64*r+o:o,i++%4)?a+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return a};function i(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(o(t).replace(/(.)/g,function(t,e){var r=e.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}(e)}catch(t){return o(e)}}function s(t){this.message=t}s.prototype=new Error,s.prototype.name="InvalidTokenError";const a=function(t,e){if("string"!=typeof t)throw new s("Invalid token specified");var r=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(".")[r]))}catch(t){throw new s("Invalid token specified: "+t.message)}}},6624(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(e,"__esModule",{value:!0}),e.PlayerEvents=e.Events=e.Player=e.Client=void 0,r(6398),r(5985),r(2989),r(7782);var i=r(2511);e.Client=i.default;var s=r(6671);e.Player=s.default,(0,r(2121).printVersion)();var a=o([n({},i.default.eventNames),n({},s.default.events)],2),u=a[0],c=a[1];e.Events=u,e.PlayerEvents=c},2511(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var i=r(2955),s=r(6321),a=r(632),u=r(8368),c=r(7481),f=r(1499),l=r(6612),p=o(r(3685).Sn,[]),d=function(){function t(e){var r=this;this.clientConfig=void 0,this.gaProperty="",this.directDeliveryPipe=void 0,this.player=void 0,this.renderHistory=p.emptyHistory,this.eventDelegateRefs=(0,l.cloneWithKeys)(t.eventNames),this.playerIsFallback=!1,this.setup=function(t){var e=p.defaultConfig,o=r.clientConfig||p.defaultConfig,s=new Map,d=null;try{if("object"!=typeof t)throw new f.ClientConfigurationError("badConfig",null);if(!t.hasOwnProperty("storyId")||"string"!=typeof t.storyId)throw new f.ClientConfigurationError("storyId",null);if(!t.hasOwnProperty("accessToken")||"string"!=typeof t.accessToken)throw new f.ClientConfigurationError("accessToken",null);(0,l.prepConfig)(t,e),r.clientConfig=n(n({},o),t),d=new i.default(r.clientConfig.accessToken,r.clientConfig.environment,r.clientConfig.storyId,r.clientConfig.compositionId),s.set("experienceCreated",function(t){return r.experienceCreated(t)}),s.set("gotExperience",function(t){return r.gotExperience(t)}),s.set("internalError",function(t){return r.internalError(t)}),r.directDeliveryPipe=new c.default({api:d,clientDelegates:s,environment:r.clientConfig.environment}),d.getGAProperty().then(function(t){var e=t.gaTrackingId;"string"==typeof e&&e.length>0&&(a.default.initialize(r.clientConfig.gaPlacement),r.gaProperty=e,void 0!==r.player&&r.player.setGaProperty(e))}).catch(function(t){var e=new f.HTTPError("httpFailure",null,t);u.default.trapError(e,r.clientConfig.storyId,null)})}catch(e){var h=t&&t.storyId?t.storyId:"";u.default.trapError(e,h)}},this.bindPlayer=function(t,e){if(void 0===e&&(e=!1),r.clientConfig){var n=r.clientConfig.storyId;r.playerIsFallback=e,r.player=t,t.setStoryId(n),r.gaProperty&&t.setGaProperty(r.gaProperty)}},this.on=function(e,n){var o=r,i=o.eventDelegateRefs,s=o.eventDelegateRefs.ERROR;if(r.clientConfig){var a=r.clientConfig.storyId;try{if(!(0,l.isFunc)(n))throw new f.ClientConfigurationError("invalidCallbackType",e);if(!(0,l.keyExists)(t.eventNames,e))throw new f.ClientConfigurationError("invalidEventName",e);i[e]=n}catch(t){u.default.trapError(t,a,s)}}},this.off=function(e){void 0===e&&(e="");var n=r,o=n.eventDelegateRefs,i=n.eventDelegateRefs.ERROR;if(r.clientConfig){var s=r.clientConfig.storyId;try{if(e){if(!(0,l.keyExists)(t.eventNames,e))throw new f.ClientConfigurationError("invalidEventName",e);o[e]=null}else Object.keys(t.eventNames).forEach(function(t){o[t]=null})}catch(t){u.default.trapError(t,s,i)}}},this.captureAnalytics=function(t){void 0===t&&(t=null);var e=r.eventDelegateRefs.ERROR;if(r.clientConfig){var n=r.clientConfig.storyId;try{if(!(t instanceof HTMLVideoElement))throw new f.PlayerConfigurationError("invalidPlayerRef",null);r.bindPlayer(new s.default(t),!0)}catch(t){u.default.trapError(t,n,e)}}},this.getExperience=function(e){if(r.clientConfig){var n=r,o=n.player,i=n.clientConfig.storyId,s=n.eventDelegateRefs,a=s.GOT_EXPERIENCE,c=s.ERROR;try{if(null===o&&!(0,l.isFunc)(a))throw new f.ClientConfigurationError("badConfigOnGet",t.eventNames.GOT_EXPERIENCE);e.length>p.uuidLength&&(e=e.substring(0,p.uuidLength)),r.directDeliveryPipe.getExperience(e)}catch(t){u.default.trapError(t,i,c)}}},this.createExperience=function(e,n){if(void 0===n&&(n=!0),r.clientConfig){var o=r,i=o.player,s=o.playerIsFallback,a=o.clientConfig.storyId,c=o.eventDelegateRefs,p=c.GOT_EXPERIENCE,d=c.UPLOAD_PROGRESS,h=c.ERROR;try{if((null===i||s)&&!(0,l.isFunc)(p))throw new f.ClientConfigurationError("bagConfigOnPostRender",t.eventNames.GOT_EXPERIENCE);r.directDeliveryPipe.createExperience(e,n,d)}catch(t){u.default.trapError(t,a,h)}}},this.renderExperience=function(e){if(r.clientConfig){var n=r,o=n.player,i=n.playerIsFallback,s=n.clientConfig.storyId,a=n.eventDelegateRefs,c=a.GOT_EXPERIENCE,p=a.UPLOAD_PROGRESS,d=a.ERROR;try{if((null===o||i)&&!(0,l.isFunc)(c))throw new f.ClientConfigurationError("bagConfigOnPostRender",t.eventNames.GOT_EXPERIENCE);r.directDeliveryPipe.fetchExperience(e,p)}catch(t){u.default.trapError(t,s,d)}}},this.renderExperienceFromId=function(e){if(r.clientConfig){var n=r,o=n.player,i=n.playerIsFallback,s=n.clientConfig.storyId,a=n.eventDelegateRefs,c=a.GOT_EXPERIENCE,p=a.UPLOAD_PROGRESS,d=a.ERROR;try{if((null===o||i)&&!(0,l.isFunc)(c))throw new f.ClientConfigurationError("bagConfigOnPostRender",t.eventNames.GOT_EXPERIENCE);r.directDeliveryPipe.fetchExperience(null,p,1,e)}catch(t){u.default.trapError(t,s,d)}}},this.updateHistory=function(t,e){r.renderHistory[t]!==e&&(r.renderHistory[t]=e)},this.experienceCreated=function(t){var e=r.eventDelegateRefs.EXPERIENCE_CREATED,n=t.id;(0,l.isFunc)(e)&&e(t),r.updateHistory("prevExperienceId",n)},this.gotExperience=function(t){var e=r,n=e.player,o=e.clientConfig.storyId,i=e.eventDelegateRefs,s=i.GOT_EXPERIENCE,a=i.ERROR,c=t.id,p=t.moderation_status;try{if("rejected"===p)throw new f.ModerationError("rejection",c);(0,l.isFunc)(s)&&s(t),void 0!==n&&n.experienceGenerated(t),r.updateHistory("prevExperienceId",c),r.updateHistory("prevMessage","")}catch(t){u.default.trapError(t,o,a)}},this.internalError=function(t){var e=r,n=e.clientConfig.storyId,o=e.eventDelegateRefs.ERROR;u.default.trapError(t,n,o)},this.setup(e)}return t.eventNames=p.eventNames,t}();e.default=d},7481(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(6612),o=r(1499),i=function(){function t(t){var e=this;this.api=null,this.clientDelegates=null,this.configCache=new Map,this.getExperience=function(t){clearTimeout(e.killPollTimeout),e.killPollTimeout=setTimeout(function(){return e.killPoll(t)},18e4),e.pollForExperience(t,function(t){clearTimeout(e.killPollTimeout),e.clientDelegates.get("gotExperience")(t)},function(r){clearTimeout(e.killPollTimeout);var n=new o.HTTPError("httpFailure",t,r);e.clientDelegates.get("internalError")(n)})},this.fetchExperience=function(t,r,i,s){void 0===i&&(i=1),void 0===s&&(s=null);var a=s||(0,n.generateUUID)();e.api.fetch(t,a,r).then(function(t){if(t.error){var r=new o.RenderError(t.error,a);e.clientDelegates.get("internalError")(r)}else e.configCache.delete(a),e.clientDelegates.get("gotExperience")(t)}).catch(function(n){var u,c;if(null===(c=null===(u=null==n?void 0:n.response)||void 0===u?void 0:u.data)||void 0===c?void 0:c.error){var f=new o.RenderError(n.response.data.error,a);e.clientDelegates.get("internalError")(f)}else n.response&&408===n.response.status?e.getExperience(a):n.response&&n.response.status>=500&&i<3?(i+=1,e.fetchExperience(t,r,i,s)):(f=new o.HTTPError("httpFailure",a,n),e.clientDelegates.get("internalError")(f))})},this.createExperience=function(t,r,i,s){void 0===s&&(s=0);var a=(0,n.generateUUID)();e.api.create(t,r,a,i).then(function(t){e.configCache.delete(a),e.clientDelegates.get("experienceCreated")(t)}).catch(function(n){if(n.response&&n.response.status>=500&&s<3)s+=1,e.createExperience(t,r,i,s);else{var u=new o.HTTPError("httpFailure",a,n);e.clientDelegates.get("internalError")(u)}})},this.api=t.api,this.clientDelegates=t.clientDelegates}return t.prototype.killPoll=function(t){clearTimeout(this.pollTimeout);var e=new o.HTTPError("pollTimeout",t);this.clientDelegates.get("internalError")(e)},t.prototype.pollForExperience=function(t,e,r,n){var i=this;void 0===n&&(n=1),this.api.get(t).then(function(s){if(s.rendering)clearTimeout(i.pollTimeout),i.pollTimeout=setTimeout(function(){i.pollForExperience(t,e,r,n)},5e3);else if(clearTimeout(i.pollTimeout),s.error){var a=new o.RenderError(s.error,t);i.clientDelegates.get("internalError")(a)}else e(s)}).catch(function(o){clearTimeout(i.pollTimeout),o.response&&o.response.status>=500&&n<3?(n+=1,i.pollForExperience(t,e,r,n)):r(o)})},t}();e.default=i},2955(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var i=r(6765),s=r(2505),a=r(6612),u=o(r(3685).FH,[]);e.default=function(t,e,r,o){var c;void 0===o&&(o=null);var f=this;this.http=null,this.storyId="",this.compositionId="",this.getGAProperty=function(){return new Promise(function(t,e){f.http.get("/story/".concat(f.storyId,"/property")).then(function(e){t(e.data)}).catch(function(t){e(t)})})},this.get=function(t){return new Promise(function(e,r){f.http.get("/story/".concat(f.storyId,"/experience/").concat(t,"?r=").concat(Math.random())).then(function(t){e(t.data)}).catch(function(t){r(t)})})},this.fetch=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var o=(0,a.inventoryToFormData)(f.storyId,t,f.compositionId),i={onUploadProgress:function(t){return f.uploadProgress(t,r)}};return o.append("id",e),new Promise(function(t,e){f.http.post("/experience/fetch",o,i).then(function(e){t(e.data)}).catch(function(t){e(t)})})},this.create=function(t,e,r,n){void 0===n&&(n=null);var o=e?"/experience/render":"/experience",i=(0,a.inventoryToFormData)(f.storyId,t,f.compositionId),s={onUploadProgress:function(t){return f.uploadProgress(t,n)}};return i.append("id",r),new Promise(function(t,e){f.http.post(o,i,s).then(function(e){t(e.data)}).catch(function(t){e(t)})})},this.getAuthHeader=function(t){var e,r,n=u.jwt,o=u.hmac;try{return(0,i.default)(t),(e={})[n]=t,e}catch(e){return(r={})[o]=t,r}},this.uploadProgress=function(t,e){if(void 0===e&&(e=null),e){var r=t.loaded,n=t.total;e(Math.round(r/n*100))}};var l=u.version,p=u.currentVersion;this.storyId=r,this.compositionId=o,this.http=s.default.create({baseURL:u[e],headers:n(n({},this.getAuthHeader(t)),(c={},c[l]=p,c))})}},8368(t,e,r){"use strict";var n=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var o=r(4912),i=r(1499),s=r(2121),a=n(r(197),[]),u=r(3685).e$,c=function(){function t(){}return t.logWarning=function(t,e){console.warn("IMPOSIUM\n".concat(a[t][e]))},t.trapError=function(e,r,n){void 0===n&&(n=null),e=e.log?e:new i.UncaughtError("generic",e),r&&e.setStoryId(r),n&&n(e),e.log(),t.hub.run(function(t){t.configureScope(function(n){n.setTag("type",e.type),n.setTag("version",e.version),n.setTag("storyId",r||"<not_set>"),e.experienceId&&n.setTag("experienceId",e.experienceId),e.axiosError&&("object"==typeof e.axiosError.response?n.setExtra("response",e.axiosError.response):"object"==typeof e.axiosError.request?(n.setExtra("request",e.axiosError.request),n.setExtra("reuqestConfig",e.axiosError.config)):(n.setExtra("axiosErrorMessage",e.axiosError.message),n.setExtra("reuqestConfig",e.axiosError.config))),e.closeEvent&&n.setExtra("socketCloseEvent",{code:e.closeEvent.code,type:e.closeEvent.type,timestamp:e.closeEvent.timeStamp,wsUrl:e.closeEvent.target.url,wsBufferedAmount:e.closeEvent.target.bufferedAmount}),t.captureException(e)})})},t.sentryClient=new o.BrowserClient({debug:!1,dsn:u.dsn,integrations:[new o.Integrations.UserAgent],beforeSend:function(e){return t.cleanDucktype(e)},release:"".concat(u.projectName,"@").concat(s.version)}),t.hub=new o.Hub(t.sentryClient),t.cleanDucktype=function(t){return void 0===t.extra||t.extra.Error&&(delete t.extra.Error.log,delete t.extra.Error.logHeader,delete t.extra.Error.setStoryId,t.extra.Error.axiosError&&delete t.extra.Error.axiosError,t.extra.Error.closeEvent&&delete t.extra.Error.closeEvent),t},t}();e.default=c},1499(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0}),e.UncaughtError=e.HTTPError=e.PlayerConfigurationError=e.ClientConfigurationError=e.ModerationError=e.RenderError=e.ImposiumError=void 0;var s=r(2121),a=i(r(963),[]),u="moderation",c="clientConfiguration",f="playerConfiguration",l="network",p="uncaught",d=function(t){function e(r,n){var o=t.call(this,r)||this;return o.type="",o.version=s.version,o.storyId="<not_set>",o.logHeader="[IMPOSIUM ERROR]",o.setStoryId=function(t){o.storyId=t},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.type=n,o}return o(e,t),e}(Error);e.ImposiumError=d;var h=function(t){function e(r,n){var o=t.call(this,r,"render")||this;return o.experienceId=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Error rendering dynamic video\n \nExperience ID: ").concat(o.experienceId,"\n \nMessage: ").concat(o.message))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.experienceId=n||"<not_set>",o}return o(e,t),e}(d);e.RenderError=h;var v=function(t){function e(r,n){var o=t.call(this,a[u][r],u)||this;return o.experienceId=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Failed to pass moderation\n \nExperience ID: ").concat(o.experienceId,"\n \nMessage: ").concat(o.message))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.experienceId=n||"<not_set>",o}return o(e,t),e}(d);e.ModerationError=v;var y=function(t){function e(r,n){var o=t.call(this,a[c][r],c)||this;return o.eventName="",o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Invalid client configuration\n \nMessage: ").concat(o.message,"\n \nEvent name: ").concat(o.eventName))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.eventName=n||"<not_set>",o}return o(e,t),e}(d);e.ClientConfigurationError=y;var g=function(t){function e(r,n){var o=t.call(this,a[f][r],f)||this;return o.eventName="",o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Invalid player configuration\n \nMessage: ").concat(o.message,"\n \nEvent name: ").concat(o.eventName))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.eventName=n||"<not_set>",o}return o(e,t),e}(d);e.PlayerConfigurationError=g;var m=function(t){function e(r,n,o){var i,s,u=this;return(u=t.call(this,a[l][r],l)||this).experienceId=null,u.axiosError=null,u.log=function(){console.error("".concat(u.logHeader,"\n \nReason: HTTP error\n \nMessage: ").concat(u.message,"\n \nExperience ID: ").concat(u.experienceId,"\n \nNetwork Error: ").concat(u.axiosError," "))},Error.captureStackTrace&&Error.captureStackTrace(u,e),(null===(s=null===(i=null==o?void 0:o.response)||void 0===i?void 0:i.data)||void 0===s?void 0:s.error)&&(u.message=o.response.data.error),u.experienceId=n||"<not_set>",u.axiosError=o||"<not_set>",u}return o(e,t),e}(d);e.HTTPError=m;var _=function(t){function e(r,n){var o=t.call(this,a[p][r],p)||this;return o.uncaughtError=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Unknown\n \nMessage: ").concat(o.message,"\n \nError: "),o.uncaughtError)},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.uncaughtError=n,o}return o(e,t),e}(d);e.UncaughtError=_},632(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},i=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var s=r(8368),a=r(2505),u=r(6612),c=o(r(3685).zS,[]),f=function(){function t(){}return t.gaPlacement="",t.initialize=function(e){try{var r=new Date,n=JSON.parse(localStorage.getItem(t.CACHE_KEY))||{};if(t.gaPlacement=e,n.uuid&&n.expiry>=(new Date).valueOf())return void(t.CLIENT_ID=n.uuid);n.uuid=(0,u.generateUUID)(),n.expiry=r.setFullYear(r.getFullYear()+2),localStorage.setItem(t.CACHE_KEY,JSON.stringify(n)),t.CLIENT_ID=n.uuid}catch(e){t.CLIENT_ID=(0,u.generateUUID)()}},t.send=function(e){var r,o,u=t.BASE_URL,c=document.referrer;e=n({v:"1",ds:t.gaPlacement,cid:t.CLIENT_ID,z:"".concat(Math.round((new Date).getTime()/1e3))},e),""!==c&&(e.dr=c);try{for(var f=i(Object.keys(e)),l=f.next();!l.done;l=f.next()){var p=l.value,d=u===t.BASE_URL?"?":"&";u+="".concat(d).concat(p,"=").concat(encodeURIComponent(e[p]))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}a.default.get(u).catch(function(){s.default.logWarning("analytics","requestFailed")})},t.BASE_URL=c.baseUrl,t.CACHE_KEY=c.cacheKey,t.CLIENT_ID=c.cidPlaceholder,t}();e.default=f},6612(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inventoryToFormData=e.generateUUID=e.calculateAverageMbps=e.calculateMbps=e.cloneWithKeys=e.keyExists=e.isFunc=e.inRangeNumeric=e.prepConfig=void 0,e.prepConfig=function(t,e){var r=Object.keys(e);for(var n in t)-1===r.indexOf(n)&&delete t[n]},e.inRangeNumeric=function(t,e,r){return(t-e)*(t-r)<=0},e.isFunc=function(t){return"[object Function]"===Object.prototype.toString.call(t)},e.keyExists=function(t,e){return~Object.keys(t).map(function(e){return t[e]}).indexOf(e)},e.cloneWithKeys=function(t){return Object.keys(t).reduce(function(t,e){return t[e]=null,t},{})},e.calculateMbps=function(t,e){return 8*e/(((new Date).getTime()-t)/1e3)/Math.pow(1024,2)},e.calculateAverageMbps=function(t){var e=t.reduce(function(t,e){return t+e});return parseFloat((e/t.length).toFixed(2))},e.generateUUID=function(){var t=window.performance,e=(new Date).getTime();return void 0!==t&&"function"==typeof t.now&&(e+=t.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?r:7&r|8).toString(16)})},e.inventoryToFormData=function(t,e,r){void 0===r&&(r=null);var n=new FormData;for(var o in n.append("story_id",t),r&&n.append("composition_id",r),e)if(e[o]){var i=e[o];if(i&&"file"===i.type){var s=i.files;s.length>0?(e[o]="",n.append(o,s[0])):e[o]=""}else i&&i instanceof File&&(e[o]="",n.append(o,i,i.name));n.append("inventory[".concat(o,"]"),e[o])}return n}},2121(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printVersion=e.version=void 0,e.version="3.5.7",e.printVersion=function(){console.log("%cPowered By%c Imposium%c v".concat("3.5.7","%c https://imposium.com"),"text-transform: uppercase; padding: 5px 0px 5px 5px; background-color: black; color: white;","text-transform: uppercase; padding: 5px 0px 5px 0px; background-color: black; color: #a1b83a;","padding: 5px 5px 5px 0px; background-color: black; color: white;","padding: 5px 5px 5px 0px;")}},6321(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(e){var r=t.call(this,e)||this;return r.experienceGenerated=function(t){var e=t.id;r.setExperienceId(e)},r}return o(e,t),e}(r(9722).default);e.default=i},6671(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var a=r(2505),u=r(9722),c=r(8368),f=r(1499),l=r(6612),p=r(3685).xY,d=window.hls,h=function(t){function e(r,n,o){void 0===o&&(o=p.defaultConfig);var u=t.call(this,r)||this;u.eventDelegateRefs={play:{callback:null,native:!0},pause:{callback:null,native:!0},ended:{callback:null,native:!0},error:{callback:null,native:!0},seeked:{callback:null,native:!0},timeupdate:{callback:null,native:!0},volumechanged:{callback:null,native:!0},muted:{callback:null,native:!1},controlsset:{callback:null,native:!1}},u.hlsSupport="",u.hlsPlayer=null,u.imposiumPlayerConfig=null,u.init=function(t){var e=p.defaultConfig;for(var r in(0,l.prepConfig)(t,e),u.imposiumPlayerConfig=i(i({},e),t),u.imposiumPlayerConfig)u.imposiumPlayerConfig[r]&&(u.node[r]=u.imposiumPlayerConfig[r])},u.experienceGenerated=function(t){var e=u.imposiumPlayerConfig.qualityOverride,r=t.id,n=t.output,o=n.videos,i=n.images,s="";u.setExperienceId(r),i&&i.hasOwnProperty("poster")&&(s=i.poster),e?u.doQualityOverride(o,s):u.doQualityAssessment(o,s)},u.on=function(t,r){var n=u,o=n.storyId,i=n.eventDelegateRefs;try{if(!(0,l.isFunc)(r))throw new f.PlayerConfigurationError("invalidCallbackType",t);if(!(0,l.keyExists)(e.events,t))throw new f.PlayerConfigurationError("invalidEventName",t);var s=i[t];s.callback=r,s.native&&u.node.addEventListener(t,s.callback)}catch(t){c.default.trapError(t,o)}},u.off=function(t){var r=u,n=r.storyId,o=r.eventDelegateRefs;try{if(!(0,l.keyExists)(e.events,t))throw new f.PlayerConfigurationError("invalidEventName",t);var i=o[t];i.native&&u.node.removeEventListener(t,i.callback),i.callback=null}catch(t){c.default.trapError(t,n)}},u.play=function(){u.node.play().catch(function(){console.error("Error playing video")})},u.pause=function(){u.node.pause()},u.getPlaybackState=function(){return u.node.paused?"paused":"playing"},u.getPosition=function(){return u.node.currentTime},u.getDuration=function(){return u.node.duration},u.seek=function(t){var e=u.node.duration;isNaN(e)?c.default.logWarning("playerFailure","seekNotReady"):(t=Math.floor(t),(0,l.inRangeNumeric)(t,0,e)?u.node.currentTime=t:c.default.logWarning("playerFailure","invalidSeekTime"))},u.getMute=function(){return u.node.muted},u.setMute=function(t){var e=u.eventDelegateRefs.muted.callback;u.node.muted=t,e&&e()},u.getVolume=function(){return u.node.volume},u.setVolume=function(t){var e=p.volumeMin,r=p.volumeMax;t=Math.round(10*t)/10,(0,l.inRangeNumeric)(t,e,r)?u.node.volume=t:c.default.logWarning("playerFailure","invalidVolume")},u.getControls=function(){return u.node.controls},u.setControls=function(t){var e=u.eventDelegateRefs.controlsset;u.node.controls=t,e&&e.callback()},u.replay=function(){u.pauseIfPlaying(),u.node.currentTime=0,u.play()},u.remove=function(){var t,e,r=u.eventDelegateRefs,n=p.defaultConfig;u.pauseIfPlaying();try{for(var o=s(Object.keys(r)),a=o.next();!a.done;a=o.next()){var c=a.value;u.off(r[c])}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}u.imposiumPlayerConfig=i({},n),u.node=null},u.setupHls=function(){var t=e.hlsSupportLevels,r=t.NATIVE,n=t.HLSJS;u.node.canPlayType(e.STREAM_TYPE)?u.hlsSupport=r:void 0!==d&&d.isSupported()&&(u.hlsSupport=n)},u.doQualityOverride=function(t,e){var r=u.storyId,n=u.imposiumPlayerConfig.qualityOverride;try{if(!t.hasOwnProperty(n))throw new f.PlayerConfigurationError("badQualityOverride",null);u.setPlayerData(t[n].url,!0,e)}catch(t){c.default.trapError(t,r)}},u.doQualityAssessment=function(t,r){var n=u.hlsSupport,o=e.compressionLevels.STREAM;if(t.hasOwnProperty(o)&&n)u.setPlayerData(t[o].url,!0,r);else{var i=Object.keys(t);1===i.length?u.setPlayerData(t[i[0]].url,!1,r):u.checkBandwidth(t).then(function(e){u.setPlayerData(t[e].url,!1,r)}).catch(function(e){u.setPlayerData(t[e].url,!1,r)})}},u.sampleBandwidth=function(){var t="".concat(e.TEST_IMAGE,"?bust=").concat(Math.random()),r={responseType:"blob",timeout:1500};return new Promise(function(e,n){var o=(new Date).getTime();a.default.get(t,r).then(function(t){var r=t.data.size;e((0,l.calculateMbps)(o,r))}).catch(function(t){n(t)})})},u.checkBandwidth=function(t){for(var r=e.BANDWIDTH_SAMPLES,n=[],o=Object.keys(t).filter(function(t){return"m3u8"!==t}),i=0;i<r;i++)n.push(u.sampleBandwidth());return new Promise(function(e,r){Promise.all(n).then(function(r){var n=(0,l.calculateAverageMbps)(r),i={};o.forEach(function(e){var r=t[e],n=r.width,o=r.height;i[n*o/1e5]=e});var s=Object.keys(i).map(function(t){return parseFloat(t)}).reduce(function(t,e){return Math.abs(t-n)<Math.abs(e-n)?t:e});e(i[s])}).catch(function(){r(o.slice(-1).pop())})})},u.setPlayerData=function(t,r,n){void 0===n&&(n=null);var o=u.hlsSupport,i=e.hlsSupportLevels.HLSJS;r&&o===i?(u.hlsPlayer&&u.hlsPlayer.destroy(),u.hlsPlayer=new d,u.hlsPlayer.attachMedia(u.node),u.hlsPlayer.loadSource(t)):u.node.src=t,n&&(u.node.poster=n)},u.pauseIfPlaying=function(){u.node.paused||u.node.pause()};var h=!(!n||!n.clientConfig);try{if(!h)throw new f.PlayerConfigurationError("badClient",null);r instanceof HTMLVideoElement&&(n.bindPlayer(u),u.init(o),u.setupHls())}catch(t){var v=h?n.clientConfig.storyId:"";c.default.trapError(t,v)}return u}return o(e,t),e.events={PLAY:"play",PAUSE:"pause",COMPLETE:"ended",ERROR:"error",SEEK:"seeked",TIME:"timeupdate",VOLUME:"volumechange",MUTE:"muted",CONTROLS:"controlsset"},e.STREAM_TYPE=p.streamType,e.BANDWIDTH_SAMPLES=p.bandwidthSamples,e.TEST_IMAGE=p.testImage,e.bandwidthRatings={LOW:p.bandwidth.low,MID:p.bandwidth.mid},e.compressionLevels={STREAM:p.compression.stream,LOW:p.compression.low,MID:p.compression.mid,HIGH:p.compression.high},e.hlsSupportLevels={NATIVE:p.hlsSupportLevels.native,HLSJS:p.hlsSupportLevels.hlsjs},e}(u.default);e.default=h},9722(t,e,r){"use strict";var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var i=r(8368),s=r(632),a=r(1499),u=r(3685).xY,c=function(){function t(e){var r,u,c=this;this.node=null,this.storyId="",this.gaProperty="",this.playbackHandlers=new Map([["play",function(){return c.onPlay()}],["pause",function(){return c.onPause()}],["ended",function(){return c.onEnded()}],["loaded",function(){return c.onLoad()}],["volumechange",function(){return c.onVolumeChange()}]]),this.queuedGACalls=[],this.experienceId="",this.prevPlaybackEvent=0,this.playbackInterval=-1,this.muted=!1,this.remove=function(){var t,e;try{for(var r=n(c.playbackHandlers.entries()),i=r.next();!i.done;i=r.next()){var s=o(i.value,2),a=s[0],u=s[1];c.node.removeEventListener(a,u)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},this.setGaProperty=function(t){for(c.gaProperty&&c.gaProperty!==t&&c.queuedGACalls.length>0&&(c.queuedGACalls=[]),c.gaProperty=t;c.queuedGACalls.length;)s.default.send(c.queuedGACalls.pop())},this.setStoryId=function(t){c.storyId=t},this.setExperienceId=function(t){c.experienceId=t},this.emitGAEventAction=function(e){var r=t.GA_EMIT_TYPE,n=t.GA_EMIT_CATEGORY,o=c,i={t:r,tid:o.gaProperty,ec:n,el:o.experienceId,ea:e};c.gaProperty?s.default.send(i):c.queuedGACalls.push(i)},this.onLoad=function(){c.emitGAEventAction("loaded")},this.onVolumeChange=function(){!c.muted&&c.node.muted&&(c.emitGAEventAction("muted"),c.muted=!0),c.muted&&!c.node.muted&&(c.emitGAEventAction("unmuted"),c.muted=!1)},this.onPlay=function(){var e=window.setInterval;clearInterval(c.playbackInterval),c.playbackInterval=e(function(){return c.checkPlayback()},t.INTERVAL_RATE),c.emitGAEventAction("play")},this.onPause=function(){clearInterval(c.playbackInterval),c.node.duration!==c.node.currentTime&&c.emitGAEventAction("pause")},this.onEnded=function(){clearInterval(c.playbackInterval),c.emitGAEventAction("playback_1"),c.prevPlaybackEvent=0},this.checkPlayback=function(){if(c.node){var e=c.node,r=e.currentTime/e.duration,n=t.PLAYBACK_EVENTS[c.prevPlaybackEvent];r>n&&(c.emitGAEventAction("playback_".concat(n)),c.prevPlaybackEvent++)}else clearInterval(c.playbackInterval)};try{if(!(e instanceof HTMLVideoElement))throw new a.PlayerConfigurationError("invalidPlayerRef",null);try{for(var f=n(this.playbackHandlers.entries()),l=f.next();!l.done;l=f.next()){var p=o(l.value,2),d=p[0],h=p[1];e.addEventListener(d,h)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(u=f.return)&&u.call(f)}finally{if(r)throw r.error}}this.node=e,this.muted=e.muted}catch(t){i.default.trapError(t,this.storyId)}}return t.INTERVAL_RATE=u.checkPlaybackRateMs,t.PLAYBACK_EVENTS=u.playbackEvents,t.GA_EMIT_TYPE="event",t.GA_EMIT_CATEGORY="video_player",t}();e.default=c},1015(t,e,r){"use strict";var n=r(8418);t.exports=n},9062(t,e,r){"use strict";var n=r(2181);t.exports=n},8473(t,e,r){"use strict";r(9085);var n=r(9167);t.exports=n.Object.assign},6398(t,e,r){"use strict";r(67),r(3792),r(6099),r(3362),r(6167),r(3518),r(1689),r(4628),r(9391),r(7764);var n=r(9167);t.exports=n.Promise},5648(t,e,r){"use strict";r(2675);var n=r(9167);t.exports=n.Symbol.keyFor},2989(t,e,r){"use strict";t.exports=r(1155)},7782(t,e,r){"use strict";t.exports=r(6008)},5985(t,e,r){"use strict";t.exports=r(7267)},1155(t,e,r){"use strict";r(6099),r(3792),r(6033),r(6385),r(1517),r(1379),r(3777),r(4190),r(2359),r(6097),r(7254),r(7036),r(7273),r(7415),r(9929),r(7583),r(5122),r(230),r(7268),r(9733);var n=r(9167);t.exports=n.Map.of},6008(t,e,r){"use strict";var n=r(1015);t.exports=n},7267(t,e,r){"use strict";var n=r(9062);t.exports=n},9306(t,e,r){"use strict";var n=r(4901),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},5548(t,e,r){"use strict";var n=r(3517),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a constructor")}},6194(t,e,r){"use strict";var n=r(2248).has;t.exports=function(t){return n(t),t}},3506(t,e,r){"use strict";var n=r(3925),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},6469(t,e,r){"use strict";var n=r(8227),o=r(2360),i=r(4913).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&i(a,s,{configurable:!0,value:o(null)}),t.exports=function(t){a[s][t]=!0}},679(t,e,r){"use strict";var n=r(1625),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},8551(t,e,r){"use strict";var n=r(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},5652(t,e,r){"use strict";var n=r(9039);t.exports=n(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})},9617(t,e,r){"use strict";var n=r(5397),o=r(5610),i=r(6198),s=function(t){return function(e,r,s){var a=n(e),u=i(a);if(0===u)return!t&&-1;var c,f=o(s,u);if(t&&r!=r){for(;u>f;)if((c=a[f++])!=c)return!0}else for(;u>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},9213(t,e,r){"use strict";var n=r(6080),o=r(9504),i=r(7055),s=r(8981),a=r(6198),u=r(1469),c=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,p=7===t,d=5===t||l;return function(h,v,y,g){for(var m,_,b=s(h),E=i(b),x=a(E),w=n(v,y),S=0,O=g||u,T=e?O(h,x):r||p?O(h,0):void 0;x>S;S++)if((d||S in E)&&(_=w(m=E[S],S,b),t))if(e)T[S]=_;else if(_)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:c(T,m)}else switch(t){case 4:return!1;case 7:c(T,m)}return l?-1:o||f?f:T}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},7680(t,e,r){"use strict";var n=r(9504);t.exports=n([].slice)},7433(t,e,r){"use strict";var n=r(4376),o=r(3517),i=r(34),s=r(8227)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?a:e}},1469(t,e,r){"use strict";var n=r(7433);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},4428(t,e,r){"use strict";var n=r(8227)("iterator"),o=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){o=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){try{if(!e&&!o)return!1}catch(t){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},2195(t,e,r){"use strict";var n=r(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},6955(t,e,r){"use strict";var n=r(2140),o=r(4901),i=r(2195),s=r(8227)("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),s))?r:u?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},7500(t,e,r){"use strict";var n=r(8551);t.exports=function(t,e,r){return function(){for(var o=new t,i=arguments.length,s=0;s<i;s++){var a=arguments[s];r?e(o,n(a)[0],a[1]):e(o,a)}return o}}},6938(t,e,r){"use strict";var n=r(2360),o=r(2106),i=r(6279),s=r(6080),a=r(679),u=r(4117),c=r(2652),f=r(1088),l=r(2529),p=r(7633),d=r(3724),h=r(3451).fastKey,v=r(1181),y=v.set,g=v.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t(function(t,o){a(t,p),y(t,{type:e,index:n(null),first:null,last:null,size:0}),d||(t.size=0),u(o)||c(o,t[f],{that:t,AS_ENTRIES:r})}),p=l.prototype,v=g(e),m=function(t,e,r){var n,o,i=v(t),s=_(t,e);return s?s.value=r:(i.last=s={index:o=h(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=s),n&&(n.next=s),d?i.size++:t.size++,"F"!==o&&(i.index[o]=s)),t},_=function(t,e){var r,n=v(t),o=h(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return i(p,{clear:function(){for(var t=v(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=n(null),d?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=_(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),d?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=s(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!_(this,t)}}),i(p,r?{get:function(t){var e=_(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),d&&o(p,"size",{configurable:!0,get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=g(e),i=g(n);f(t,e,function(t,e){y(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,l(void 0,!0))},r?"entries":"values",!r,!0),p(e)}}},6468(t,e,r){"use strict";var n=r(6518),o=r(4576),i=r(9504),s=r(2796),a=r(6840),u=r(3451),c=r(2652),f=r(679),l=r(4901),p=r(4117),d=r(34),h=r(9039),v=r(4428),y=r(687),g=r(3167);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),_=-1!==t.indexOf("Weak"),b=m?"set":"add",E=o[t],x=E&&E.prototype,w=E,S={},O=function(t){var e=i(x[t]);a(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(_&&!d(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return _&&!d(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(_&&!d(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(s(t,!l(E)||!(_||x.forEach&&!h(function(){(new E).entries().next()}))))w=r.getConstructor(e,t,m,b),u.enable();else if(s(t,!0)){var T=new w,k=T[b](_?{}:-0,1)!==T,P=h(function(){T.has(1)}),j=v(function(t){new E(t)}),C=!_&&h(function(){for(var t=new E,e=5;e--;)t[b](e,e);return!t.has(-0)});j||((w=e(function(t,e){f(t,x);var r=g(new E,t,w);return p(e)||c(e,r[b],{that:r,AS_ENTRIES:m}),r})).prototype=x,x.constructor=w),(P||C)&&(O("delete"),O("has"),m&&O("get")),(C||k)&&O(b),_&&x.clear&&delete x.clear}return S[t]=w,n({global:!0,constructor:!0,forced:w!==E},S),y(w,t),_||r.setStrong(w,t,m),w}},7740(t,e,r){"use strict";var n=r(9297),o=r(5031),i=r(7347),s=r(4913);t.exports=function(t,e,r){for(var a=o(e),u=s.f,c=i.f,f=0;f<a.length;f++){var l=a[f];n(t,l)||r&&n(r,l)||u(t,l,c(e,l))}}},2211(t,e,r){"use strict";var n=r(9039);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2529(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},6699(t,e,r){"use strict";var n=r(3724),o=r(4913),i=r(6980);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},6980(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2106(t,e,r){"use strict";var n=r(283),o=r(4913);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},6840(t,e,r){"use strict";var n=r(4901),o=r(4913),i=r(283),s=r(9433);t.exports=function(t,e,r,a){a||(a={});var u=a.enumerable,c=void 0!==a.name?a.name:e;if(n(r)&&i(r,c,a),a.global)u?t[e]=r:s(e,r);else{try{a.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},6279(t,e,r){"use strict";var n=r(6840);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},9433(t,e,r){"use strict";var n=r(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},3724(t,e,r){"use strict";var n=r(9039);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055(t,e,r){"use strict";var n=r(4576),o=r(34),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},8727(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4265(t,e,r){"use strict";var n=r(2839);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},9544(t,e,r){"use strict";var n=r(2839);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},8574(t,e,r){"use strict";var n=r(4215);t.exports="NODE"===n},7860(t,e,r){"use strict";var n=r(2839);t.exports=/web0s(?!.*chrome)/i.test(n)},2839(t,e,r){"use strict";var n=r(4576).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},9519(t,e,r){"use strict";var n,o,i=r(4576),s=r(2839),a=i.process,u=i.Deno,c=a&&a.versions||u&&u.version,f=c&&c.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},4215(t,e,r){"use strict";var n=r(4576),o=r(2839),i=r(2195),s=function(t){return o.slice(0,t.length)===t};t.exports=s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},6193(t,e,r){"use strict";var n=r(9504),o=Error,i=n("".replace),s=String(new o("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,u=a.test(s);t.exports=function(t,e){if(u&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},747(t,e,r){"use strict";var n=r(6699),o=r(6193),i=r(4659),s=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(s?s(t,e):n(t,"stack",o(r,a)))}},4659(t,e,r){"use strict";var n=r(9039),o=r(6980);t.exports=!n(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)})},6518(t,e,r){"use strict";var n=r(4576),o=r(7347).f,i=r(6699),s=r(6840),a=r(9433),u=r(7740),c=r(2796);t.exports=function(t,e){var r,f,l,p,d,h=t.target,v=t.global,y=t.stat;if(r=v?n:y?n[h]||a(h,{}):n[h]&&n[h].prototype)for(f in e){if(p=e[f],l=t.dontCallGetSet?(d=o(r,f))&&d.value:r[f],!c(v?f:h+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),s(r,f,p,t)}}},9039(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},2744(t,e,r){"use strict";var n=r(9039);t.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},8745(t,e,r){"use strict";var n=r(616),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},6080(t,e,r){"use strict";var n=r(7476),o=r(9306),i=r(616),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},616(t,e,r){"use strict";var n=r(9039);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},9565(t,e,r){"use strict";var n=r(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},350(t,e,r){"use strict";var n=r(3724),o=r(9297),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,c=a&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:c}},6706(t,e,r){"use strict";var n=r(9504),o=r(9306);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},7476(t,e,r){"use strict";var n=r(2195),o=r(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},9504(t,e,r){"use strict";var n=r(616),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},7751(t,e,r){"use strict";var n=r(4576),o=r(4901);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},851(t,e,r){"use strict";var n=r(6955),o=r(5966),i=r(4117),s=r(6269),a=r(8227)("iterator");t.exports=function(t){if(!i(t))return o(t,a)||o(t,"@@iterator")||s[n(t)]}},81(t,e,r){"use strict";var n=r(9565),o=r(9306),i=r(8551),s=r(6823),a=r(851),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(o(r))return i(n(r,t));throw new u(s(t)+" is not iterable")}},6933(t,e,r){"use strict";var n=r(9504),o=r(4376),i=r(4901),s=r(2195),a=r(655),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==s(c)&&"String"!==s(c)||u(r,a(c))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},5966(t,e,r){"use strict";var n=r(9306),o=r(4117);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},4576(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")()},9297(t,e,r){"use strict";var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},421(t){"use strict";t.exports={}},3138(t){"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},397(t,e,r){"use strict";var n=r(7751);t.exports=n("document","documentElement")},5917(t,e,r){"use strict";var n=r(3724),o=r(9039),i=r(4055);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},7055(t,e,r){"use strict";var n=r(9504),o=r(9039),i=r(2195),s=Object,a=n("".split);t.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?a(t,""):s(t)}:s},3167(t,e,r){"use strict";var n=r(4901),o=r(34),i=r(2967);t.exports=function(t,e,r){var s,a;return i&&n(s=e.constructor)&&s!==r&&o(a=s.prototype)&&a!==r.prototype&&i(t,a),t}},3706(t,e,r){"use strict";var n=r(9504),o=r(4901),i=r(7629),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},7584(t,e,r){"use strict";var n=r(34),o=r(6699);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},3451(t,e,r){"use strict";var n=r(6518),o=r(9504),i=r(421),s=r(34),a=r(9297),u=r(4913).f,c=r(8480),f=r(298),l=r(4124),p=r(3392),d=r(2744),h=!1,v=p("meta"),y=0,g=function(t){u(t,v,{value:{objectID:"O"+y++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},h=!0;var t=c.f,e=o([].splice),r={};r[v]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===v){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,v)){if(!l(t))return"F";if(!e)return"E";g(t)}return t[v].objectID},getWeakData:function(t,e){if(!a(t,v)){if(!l(t))return!0;if(!e)return!1;g(t)}return t[v].weakData},onFreeze:function(t){return d&&h&&l(t)&&!a(t,v)&&g(t),t}};i[v]=!0},1181(t,e,r){"use strict";var n,o,i,s=r(8622),a=r(4576),u=r(34),c=r(6699),f=r(9297),l=r(7629),p=r(6119),d=r(421),h="Object already initialized",v=a.TypeError,y=a.WeakMap;if(s||l.state){var g=l.state||(l.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new v(h);return e.facade=t,g.set(t,e),e},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var m=p("state");d[m]=!0,n=function(t,e){if(f(t,m))throw new v(h);return e.facade=t,c(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}}}},4209(t,e,r){"use strict";var n=r(8227),o=r(6269),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},4376(t,e,r){"use strict";var n=r(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4901(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}},3517(t,e,r){"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(6955),a=r(7751),u=r(3706),c=function(){},f=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),d=!l.test(c),h=function(t){if(!i(t))return!1;try{return f(c,[],t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(l,u(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o(function(){var t;return h(h.call)||!h(Object)||!h(function(){t=!0})||t})?v:h},2796(t,e,r){"use strict";var n=r(9039),o=r(4901),i=/#|\.prototype\./,s=function(t,e){var r=u[a(t)];return r===f||r!==c&&(o(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=s.data={},c=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},4117(t){"use strict";t.exports=function(t){return null==t}},34(t,e,r){"use strict";var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},3925(t,e,r){"use strict";var n=r(34);t.exports=function(t){return n(t)||null===t}},6395(t){"use strict";t.exports=!1},757(t,e,r){"use strict";var n=r(7751),o=r(4901),i=r(1625),s=r(7040),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},507(t,e,r){"use strict";var n=r(9565);t.exports=function(t,e,r){for(var o,i,s=r?t:t.iterator,a=t.next;!(o=n(a,s)).done;)if(void 0!==(i=e(o.value)))return i}},2652(t,e,r){"use strict";var n=r(6080),o=r(9565),i=r(8551),s=r(6823),a=r(4209),u=r(6198),c=r(1625),f=r(81),l=r(851),p=r(9539),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var y,g,m,_,b,E,x,w=r&&r.that,S=!(!r||!r.AS_ENTRIES),O=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),P=n(e,w),j=function(t){return y&&p(y,"normal"),new h(!0,t)},C=function(t){return S?(i(t),k?P(t[0],t[1],j):P(t[0],t[1])):k?P(t,j):P(t)};if(O)y=t.iterator;else if(T)y=t;else{if(!(g=l(t)))throw new d(s(t)+" is not iterable");if(a(g)){for(m=0,_=u(t);_>m;m++)if((b=C(t[m]))&&c(v,b))return b;return new h(!1)}y=f(t,g)}for(E=O?t.next:y.next;!(x=o(E,y)).done;){try{b=C(x.value)}catch(t){p(y,"throw",t)}if("object"==typeof b&&b&&c(v,b))return b}return new h(!1)}},9539(t,e,r){"use strict";var n=r(9565),o=r(8551),i=r(5966);t.exports=function(t,e,r){var s,a;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw r;if(a)throw s;return o(s),r}},3994(t,e,r){"use strict";var n=r(7657).IteratorPrototype,o=r(2360),i=r(6980),s=r(687),a=r(6269),u=function(){return this};t.exports=function(t,e,r,c){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),s(t,f,!1,!0),a[f]=u,t}},1088(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(6395),s=r(350),a=r(4901),u=r(3994),c=r(2787),f=r(2967),l=r(687),p=r(6699),d=r(6840),h=r(8227),v=r(6269),y=r(7657),g=s.PROPER,m=s.CONFIGURABLE,_=y.IteratorPrototype,b=y.BUGGY_SAFARI_ITERATORS,E=h("iterator"),x="keys",w="values",S="entries",O=function(){return this};t.exports=function(t,e,r,s,h,y,T){u(r,e,s);var k,P,j,C=function(t){if(t===h&&D)return D;if(!b&&t&&t in N)return N[t];switch(t){case x:case w:case S:return function(){return new r(this,t)}}return function(){return new r(this)}},R=e+" Iterator",I=!1,N=t.prototype,A=N[E]||N["@@iterator"]||h&&N[h],D=!b&&A||C(h),M="Array"===e&&N.entries||A;if(M&&(k=c(M.call(new t)))!==Object.prototype&&k.next&&(i||c(k)===_||(f?f(k,_):a(k[E])||d(k,E,O)),l(k,R,!0,!0),i&&(v[R]=O)),g&&h===w&&A&&A.name!==w&&(!i&&m?p(N,"name",w):(I=!0,D=function(){return o(A,this)})),h)if(P={values:C(w),keys:y?D:C(x),entries:C(S)},T)for(j in P)(b||I||!(j in N))&&d(N,j,P[j]);else n({target:e,proto:!0,forced:b||I},P);return i&&!T||N[E]===D||d(N,E,D,{name:h}),v[e]=D,P}},7657(t,e,r){"use strict";var n,o,i,s=r(9039),a=r(4901),u=r(34),c=r(2360),f=r(2787),l=r(6840),p=r(8227),d=r(6395),h=p("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):v=!0),!u(n)||s(function(){var t={};return n[h].call(t)!==t})?n={}:d&&(n=c(n)),a(n[h])||l(n,h,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},6269(t){"use strict";t.exports={}},6198(t,e,r){"use strict";var n=r(8014);t.exports=function(t){return n(t.length)}},283(t,e,r){"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(9297),a=r(3724),u=r(350).CONFIGURABLE,c=r(3706),f=r(1181),l=f.enforce,p=f.get,d=String,h=Object.defineProperty,v=n("".slice),y=n("".replace),g=n([].join),m=a&&!o(function(){return 8!==h(function(){},"length",{value:8}).length}),_=String(String).split("String"),b=t.exports=function(t,e,r){"Symbol("===v(d(e),0,7)&&(e="["+y(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||u&&t.name!==e)&&(a?h(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&s(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return s(n,"source")||(n.source=g(_,"string"==typeof e?e:"")),t};Function.prototype.toString=b(function(){return i(this)&&p(this).source||c(this)},"toString")},2248(t,e,r){"use strict";var n=r(9504),o=Map.prototype;t.exports={Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},6223(t,e,r){"use strict";var n=r(9504),o=r(507),i=r(2248),s=i.Map,a=i.proto,u=n(a.forEach),c=n(a.entries),f=c(new s).next;t.exports=function(t,e,r){return r?o({iterator:c(t),next:f},function(t){return e(t[1],t[0])}):u(t,e)}},741(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)}},1955(t,e,r){"use strict";var n,o,i,s,a,u=r(4576),c=r(3389),f=r(6080),l=r(9225).set,p=r(8265),d=r(9544),h=r(4265),v=r(7860),y=r(8574),g=u.MutationObserver||u.WebKitMutationObserver,m=u.document,_=u.process,b=u.Promise,E=c("queueMicrotask");if(!E){var x=new p,w=function(){var t,e;for(y&&(t=_.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};d||y||v||!g||!m?!h&&b&&b.resolve?((s=b.resolve(void 0)).constructor=b,a=f(s.then,s),n=function(){a(w)}):y?n=function(){_.nextTick(w)}:(l=f(l,u),n=function(){l(w)}):(o=!0,i=m.createTextNode(""),new g(w).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),E=function(t){x.head||n(),x.add(t)}}t.exports=E},6043(t,e,r){"use strict";var n=r(9306),o=TypeError,i=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new o("Bad Promise constructor");e=t,r=n}),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},2603(t,e,r){"use strict";var n=r(655);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},4213(t,e,r){"use strict";var n=r(3724),o=r(9504),i=r(9565),s=r(9039),a=r(1072),u=r(3717),c=r(8773),f=r(8981),l=r(7055),p=Object.assign,d=Object.defineProperty,h=o([].concat);t.exports=!p||s(function(){if(n&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach(function(t){e[t]=t}),7!==p({},t)[r]||a(p({},e)).join("")!==o})?function(t,e){for(var r=f(t),o=arguments.length,s=1,p=u.f,d=c.f;o>s;)for(var v,y=l(arguments[s++]),g=p?h(a(y),p(y)):a(y),m=g.length,_=0;m>_;)v=g[_++],n&&!i(d,y,v)||(r[v]=y[v]);return r}:p},2360(t,e,r){"use strict";var n,o=r(8551),i=r(6801),s=r(8727),a=r(421),u=r(397),c=r(4055),f=r(6119),l="prototype",p="script",d=f("IE_PROTO"),h=function(){},v=function(t){return"<"+p+">"+t+"</"+p+">"},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;g="undefined"!=typeof document?document.domain&&n?y(n):(e=c("iframe"),r="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(n);for(var o=s.length;o--;)delete g[l][s[o]];return g()};a[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[l]=o(t),r=new h,h[l]=null,r[d]=t):r=g(),void 0===e?r:i.f(r,e)}},6801(t,e,r){"use strict";var n=r(3724),o=r(8686),i=r(4913),s=r(8551),a=r(5397),u=r(1072);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),o=u(e),c=o.length,f=0;c>f;)i.f(t,r=o[f++],n[r]);return t}},4913(t,e,r){"use strict";var n=r(3724),o=r(5917),i=r(8686),s=r(8551),a=r(6969),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",d="writable";e.f=n?i?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(s(t),e=a(e),s(r),o)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}},7347(t,e,r){"use strict";var n=r(3724),o=r(9565),i=r(8773),s=r(6980),a=r(5397),u=r(6969),c=r(9297),f=r(5917),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=u(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return s(!o(i.f,t,e),t[e])}},298(t,e,r){"use strict";var n=r(2195),o=r(5397),i=r(8480).f,s=r(7680),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return s(a)}}(t):i(o(t))}},8480(t,e,r){"use strict";var n=r(1828),o=r(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},3717(t,e){"use strict";e.f=Object.getOwnPropertySymbols},2787(t,e,r){"use strict";var n=r(9297),o=r(4901),i=r(8981),s=r(6119),a=r(2211),u=s("IE_PROTO"),c=Object,f=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 o(r)&&e instanceof r?r.prototype:e instanceof c?f:null}},4124(t,e,r){"use strict";var n=r(9039),o=r(34),i=r(2195),s=r(5652),a=Object.isExtensible,u=n(function(){a(1)});t.exports=u||s?function(t){return!!o(t)&&(!s||"ArrayBuffer"!==i(t))&&(!a||a(t))}:a},1625(t,e,r){"use strict";var n=r(9504);t.exports=n({}.isPrototypeOf)},1828(t,e,r){"use strict";var n=r(9504),o=r(9297),i=r(5397),s=r(9617).indexOf,a=r(421),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,f=[];for(r in n)!o(a,r)&&o(n,r)&&u(f,r);for(;e.length>c;)o(n,r=e[c++])&&(~s(f,r)||u(f,r));return f}},1072(t,e,r){"use strict";var n=r(1828),o=r(8727);t.exports=Object.keys||function(t){return n(t,o)}},8773(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},2967(t,e,r){"use strict";var n=r(6706),o=r(34),i=r(7750),s=r(3506);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),s(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},3179(t,e,r){"use strict";var n=r(2140),o=r(6955);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},4270(t,e,r){"use strict";var n=r(9565),o=r(4901),i=r(34),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw new s("Can't convert object to primitive value")}},5031(t,e,r){"use strict";var n=r(7751),o=r(9504),i=r(8480),s=r(3717),a=r(8551),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=s.f;return r?u(e,r(t)):e}},9167(t,e,r){"use strict";var n=r(4576);t.exports=n},1103(t){"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},916(t,e,r){"use strict";var n=r(4576),o=r(550),i=r(4901),s=r(2796),a=r(3706),u=r(8227),c=r(4215),f=r(6395),l=r(9519),p=o&&o.prototype,d=u("species"),h=!1,v=i(n.PromiseRejectionEvent),y=s("Promise",function(){var t=a(o),e=t!==String(o);if(!e&&66===l)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!l||l<51||!/native code/.test(t)){var r=new o(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[d]=n,!(h=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==c&&"DENO"!==c||v)});t.exports={CONSTRUCTOR:y,REJECTION_EVENT:v,SUBCLASSING:h}},550(t,e,r){"use strict";var n=r(4576);t.exports=n.Promise},3438(t,e,r){"use strict";var n=r(8551),o=r(34),i=r(6043);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},537(t,e,r){"use strict";var n=r(550),o=r(4428),i=r(916).CONSTRUCTOR;t.exports=i||!o(function(t){n.all(t).then(void 0,function(){})})},8265(t){"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},7750(t,e,r){"use strict";var n=r(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},3389(t,e,r){"use strict";var n=r(4576),o=r(3724),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!o)return n[t];var e=i(n,t);return e&&e.value}},3317(t){"use strict";t.exports=function(t,e){return t===e||t!=t&&e!=e}},7633(t,e,r){"use strict";var n=r(7751),o=r(2106),i=r(8227),s=r(3724),a=i("species");t.exports=function(t){var e=n(t);s&&e&&!e[a]&&o(e,a,{configurable:!0,get:function(){return this}})}},687(t,e,r){"use strict";var n=r(4913).f,o=r(9297),i=r(8227)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},6119(t,e,r){"use strict";var n=r(5745),o=r(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629(t,e,r){"use strict";var n=r(6395),o=r(4576),i=r(9433),s="__core-js_shared__",a=t.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745(t,e,r){"use strict";var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},2293(t,e,r){"use strict";var n=r(8551),o=r(5548),i=r(4117),s=r(8227)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||i(r=n(a)[s])?e:o(r)}},8183(t,e,r){"use strict";var n=r(9504),o=r(1291),i=r(655),s=r(7750),a=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(e,r){var n,f,l=i(s(e)),p=o(r),d=l.length;return p<0||p>=d?t?"":void 0:(n=u(l,p))<55296||n>56319||p+1===d||(f=u(l,p+1))<56320||f>57343?t?a(l,p):n:t?c(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},4495(t,e,r){"use strict";var n=r(9519),o=r(9039),i=r(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},8242(t,e,r){"use strict";var n=r(9565),o=r(7751),i=r(8227),s=r(6840);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,a=i("toPrimitive");e&&!e[a]&&s(e,a,function(t){return n(r,this)},{arity:1})}},1296(t,e,r){"use strict";var n=r(4495);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},9225(t,e,r){"use strict";var n,o,i,s,a=r(4576),u=r(8745),c=r(6080),f=r(4901),l=r(9297),p=r(9039),d=r(397),h=r(7680),v=r(4055),y=r(2812),g=r(9544),m=r(8574),_=a.setImmediate,b=a.clearImmediate,E=a.process,x=a.Dispatch,w=a.Function,S=a.MessageChannel,O=a.String,T=0,k={},P="onreadystatechange";p(function(){n=a.location});var j=function(t){if(l(k,t)){var e=k[t];delete k[t],e()}},C=function(t){return function(){j(t)}},R=function(t){j(t.data)},I=function(t){a.postMessage(O(t),n.protocol+"//"+n.host)};_&&b||(_=function(t){y(arguments.length,1);var e=f(t)?t:w(t),r=h(arguments,1);return k[++T]=function(){u(e,void 0,r)},o(T),T},b=function(t){delete k[t]},m?o=function(t){E.nextTick(C(t))}:x&&x.now?o=function(t){x.now(C(t))}:S&&!g?(s=(i=new S).port2,i.port1.onmessage=R,o=c(s.postMessage,s)):a.addEventListener&&f(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!p(I)?(o=I,a.addEventListener("message",R,!1)):o=P in v("script")?function(t){d.appendChild(v("script"))[P]=function(){d.removeChild(this),j(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:_,clear:b}},5610(t,e,r){"use strict";var n=r(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5397(t,e,r){"use strict";var n=r(7055),o=r(7750);t.exports=function(t){return n(o(t))}},1291(t,e,r){"use strict";var n=r(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8014(t,e,r){"use strict";var n=r(1291),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},8981(t,e,r){"use strict";var n=r(7750),o=Object;t.exports=function(t){return o(n(t))}},2777(t,e,r){"use strict";var n=r(9565),o=r(34),i=r(757),s=r(5966),a=r(4270),u=r(8227),c=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=s(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},6969(t,e,r){"use strict";var n=r(2777),o=r(757);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},2140(t,e,r){"use strict";var n={};n[r(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},655(t,e,r){"use strict";var n=r(6955),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},6823(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392(t,e,r){"use strict";var n=r(9504),o=0,i=Math.random(),s=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},7040(t,e,r){"use strict";var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686(t,e,r){"use strict";var n=r(3724),o=r(9039);t.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},2812(t){"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},8622(t,e,r){"use strict";var n=r(4576),o=r(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},511(t,e,r){"use strict";var n=r(9167),o=r(9297),i=r(1951),s=r(4913).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||s(e,t,{value:i.f(t)})}},1951(t,e,r){"use strict";var n=r(8227);e.f=n},8227(t,e,r){"use strict";var n=r(4576),o=r(5745),i=r(9297),s=r(3392),a=r(4495),u=r(7040),c=n.Symbol,f=o("wks"),l=u?c.for||c:c&&c.withoutSetter||s;t.exports=function(t){return i(f,t)||(f[t]=a&&i(c,t)?c[t]:l("Symbol."+t)),f[t]}},7145(t,e,r){"use strict";var n=r(6518),o=r(1625),i=r(2787),s=r(2967),a=r(7740),u=r(2360),c=r(6699),f=r(6980),l=r(7584),p=r(747),d=r(2652),h=r(2603),v=r(8227)("toStringTag"),y=Error,g=[].push,m=function(t,e){var r,n=o(_,this);s?r=s(new y,n?i(this):_):(r=n?this:u(_),c(r,v,"Error")),void 0!==e&&c(r,"message",h(e)),p(r,m,r.stack,1),arguments.length>2&&l(r,arguments[2]);var a=[];return d(t,g,{that:a}),c(r,"errors",a),r};s?s(m,y):a(m,y,{name:!0});var _=m.prototype=u(y.prototype,{constructor:f(1,m),message:f(1,""),name:f(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:m})},67(t,e,r){"use strict";r(7145)},3792(t,e,r){"use strict";var n=r(5397),o=r(6469),i=r(6269),s=r(1181),a=r(4913).f,u=r(1088),c=r(2529),f=r(6395),l=r(3724),p="Array Iterator",d=s.set,h=s.getterFor(p);t.exports=u(Array,"Array",function(t,e){d(this,{type:p,target:n(t),index:0,kind:e})},function(){var t=h(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 v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==v.name)try{a(v,"name",{value:"values"})}catch(t){}},3110(t,e,r){"use strict";var n=r(6518),o=r(7751),i=r(8745),s=r(9565),a=r(9504),u=r(9039),c=r(4901),f=r(757),l=r(7680),p=r(6933),d=r(4495),h=String,v=o("JSON","stringify"),y=a(/./.exec),g=a("".charAt),m=a("".charCodeAt),_=a("".replace),b=a(1.1.toString),E=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,S=!d||u(function(){var t=o("Symbol")("stringify detection");return"[null]"!==v([t])||"{}"!==v({a:t})||"{}"!==v(Object(t))}),O=u(function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")}),T=function(t,e){var r=l(arguments),n=p(e);if(c(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(c(n)&&(e=s(n,this,h(t),e)),!f(e))return e},i(v,null,r)},k=function(t,e,r){var n=g(r,e-1),o=g(r,e+1);return y(x,t)&&!y(w,o)||y(w,t)&&!y(x,n)?"\\u"+b(m(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:S||O},{stringify:function(t,e,r){var n=l(arguments),o=i(S?T:v,null,n);return O&&"string"==typeof o?_(o,E,k):o}})},8523(t,e,r){"use strict";r(6468)("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},r(6938))},6033(t,e,r){"use strict";r(8523)},9085(t,e,r){"use strict";var n=r(6518),o=r(4213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9773(t,e,r){"use strict";var n=r(6518),o=r(4495),i=r(9039),s=r(3717),a=r(8981);n({target:"Object",stat:!0,forced:!o||i(function(){s.f(1)})},{getOwnPropertySymbols:function(t){var e=s.f;return e?e(a(t)):[]}})},6099(t,e,r){"use strict";var n=r(2140),o=r(6840),i=r(3179);n||o(Object.prototype,"toString",i,{unsafe:!0})},6167(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(6043),a=r(1103),u=r(2652);n({target:"Promise",stat:!0,forced:r(537)},{allSettled:function(t){var e=this,r=s.f(e),n=r.resolve,c=r.reject,f=a(function(){var r=i(e.resolve),s=[],a=0,c=1;u(t,function(t){var i=a++,u=!1;c++,o(r,e,t).then(function(t){u||(u=!0,s[i]={status:"fulfilled",value:t},--c||n(s))},function(t){u||(u=!0,s[i]={status:"rejected",reason:t},--c||n(s))})}),--c||n(s)});return f.error&&c(f.value),r.promise}})},6499(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(6043),a=r(1103),u=r(2652);n({target:"Promise",stat:!0,forced:r(537)},{all:function(t){var e=this,r=s.f(e),n=r.resolve,c=r.reject,f=a(function(){var r=i(e.resolve),s=[],a=0,f=1;u(t,function(t){var i=a++,u=!1;f++,o(r,e,t).then(function(t){u||(u=!0,s[i]=t,--f||n(s))},c)}),--f||n(s)});return f.error&&c(f.value),r.promise}})},3518(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(7751),a=r(6043),u=r(1103),c=r(2652),f=r(537),l="No one promise resolved";n({target:"Promise",stat:!0,forced:f},{any:function(t){var e=this,r=s("AggregateError"),n=a.f(e),f=n.resolve,p=n.reject,d=u(function(){var n=i(e.resolve),s=[],a=0,u=1,d=!1;c(t,function(t){var i=a++,c=!1;u++,o(n,e,t).then(function(t){c||d||(d=!0,f(t))},function(t){c||d||(c=!0,s[i]=t,--u||p(new r(s,l)))})}),--u||p(new r(s,l))});return d.error&&p(d.value),n.promise}})},2003(t,e,r){"use strict";var n=r(6518),o=r(6395),i=r(916).CONSTRUCTOR,s=r(550),a=r(7751),u=r(4901),c=r(6840),f=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&u(s)){var l=a("Promise").prototype.catch;f.catch!==l&&c(f,"catch",l,{unsafe:!0})}},436(t,e,r){"use strict";var n,o,i,s,a=r(6518),u=r(6395),c=r(8574),f=r(4576),l=r(9167),p=r(9565),d=r(6840),h=r(2967),v=r(687),y=r(7633),g=r(9306),m=r(4901),_=r(34),b=r(679),E=r(2293),x=r(9225).set,w=r(1955),S=r(3138),O=r(1103),T=r(8265),k=r(1181),P=r(550),j=r(916),C=r(6043),R="Promise",I=j.CONSTRUCTOR,N=j.REJECTION_EVENT,A=j.SUBCLASSING,D=k.getterFor(R),M=k.set,L=P&&P.prototype,U=P,F=L,B=f.TypeError,q=f.document,H=f.process,G=C.f,z=G,V=!!(q&&q.createEvent&&f.dispatchEvent),W="unhandledrejection",Y=function(t){var e;return!(!_(t)||!m(e=t.then))&&e},X=function(t,e){var r,n,o,i=e.value,s=1===e.state,a=s?t.ok:t.fail,u=t.resolve,c=t.reject,f=t.domain;try{a?(s||(2===e.rejection&&Z(e),e.rejection=1),!0===a?r=i:(f&&f.enter(),r=a(i),f&&(f.exit(),o=!0)),r===t.promise?c(new B("Promise-chain cycle")):(n=Y(r))?p(n,r,u,c):u(r)):c(i)}catch(t){f&&!o&&f.exit(),c(t)}},J=function(t,e){t.notified||(t.notified=!0,w(function(){for(var r,n=t.reactions;r=n.get();)X(r,t);t.notified=!1,e&&!t.rejection&&$(t)}))},K=function(t,e,r){var n,o;V?((n=q.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:e,reason:r},!N&&(o=f["on"+t])?o(n):t===W&&S("Unhandled promise rejection",r)},$=function(t){p(x,f,function(){var e,r=t.facade,n=t.value;if(Q(t)&&(e=O(function(){c?H.emit("unhandledRejection",n,r):K(W,r,n)}),t.rejection=c||Q(t)?2:1,e.error))throw e.value})},Q=function(t){return 1!==t.rejection&&!t.parent},Z=function(t){p(x,f,function(){var e=t.facade;c?H.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)})},tt=function(t,e,r){return function(n){t(e,n,r)}},et=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,J(t,!0))},rt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new B("Promise can't be resolved itself");var n=Y(e);n?w(function(){var r={done:!1};try{p(n,e,tt(rt,r,t),tt(et,r,t))}catch(e){et(r,e,t)}}):(t.value=e,t.state=1,J(t,!1))}catch(e){et({done:!1},e,t)}}};if(I&&(F=(U=function(t){b(this,F),g(t),p(n,this);var e=D(this);try{t(tt(rt,e),tt(et,e))}catch(t){et(e,t)}}).prototype,(n=function(t){M(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:0,value:null})}).prototype=d(F,"then",function(t,e){var r=D(this),n=G(E(this,U));return r.parent=!0,n.ok=!m(t)||t,n.fail=m(e)&&e,n.domain=c?H.domain:void 0,0===r.state?r.reactions.add(n):w(function(){X(n,r)}),n.promise}),o=function(){var t=new n,e=D(t);this.promise=t,this.resolve=tt(rt,e),this.reject=tt(et,e)},C.f=G=function(t){return t===U||t===i?new o(t):z(t)},!u&&m(P)&&L!==Object.prototype)){s=L.then,A||d(L,"then",function(t,e){var r=this;return new U(function(t,e){p(s,r,t,e)}).then(t,e)},{unsafe:!0});try{delete L.constructor}catch(t){}h&&h(L,F)}a({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:U}),i=l.Promise,v(U,R,!1,!0),y(R)},9391(t,e,r){"use strict";var n=r(6518),o=r(6395),i=r(550),s=r(9039),a=r(7751),u=r(4901),c=r(2293),f=r(3438),l=r(6840),p=i&&i.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&s(function(){p.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=c(this,a("Promise")),r=u(t);return this.then(r?function(r){return f(e,t()).then(function(){return r})}:t,r?function(r){return f(e,t()).then(function(){throw r})}:t)}}),!o&&u(i)){var d=a("Promise").prototype.finally;p.finally!==d&&l(p,"finally",d,{unsafe:!0})}},3362(t,e,r){"use strict";r(436),r(6499),r(2003),r(7743),r(1481),r(280)},7743(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(6043),a=r(1103),u=r(2652);n({target:"Promise",stat:!0,forced:r(537)},{race:function(t){var e=this,r=s.f(e),n=r.reject,c=a(function(){var s=i(e.resolve);u(t,function(t){o(s,e,t).then(r.resolve,n)})});return c.error&&n(c.value),r.promise}})},1481(t,e,r){"use strict";var n=r(6518),o=r(6043);n({target:"Promise",stat:!0,forced:r(916).CONSTRUCTOR},{reject:function(t){var e=o.f(this);return(0,e.reject)(t),e.promise}})},280(t,e,r){"use strict";var n=r(6518),o=r(7751),i=r(6395),s=r(550),a=r(916).CONSTRUCTOR,u=r(3438),c=o("Promise"),f=i&&!a;n({target:"Promise",stat:!0,forced:i||a},{resolve:function(t){return u(f&&this===c?s:this,t)}})},1689(t,e,r){"use strict";var n=r(6518),o=r(4576),i=r(8745),s=r(7680),a=r(6043),u=r(9306),c=r(1103),f=o.Promise,l=!1;n({target:"Promise",stat:!0,forced:!f||!f.try||c(function(){f.try(function(t){l=8===t},8)}).error||!l},{try:function(t){var e=arguments.length>1?s(arguments,1):[],r=a.f(this),n=c(function(){return i(u(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}})},4628(t,e,r){"use strict";var n=r(6518),o=r(6043);n({target:"Promise",stat:!0},{withResolvers:function(){var t=o.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},7764(t,e,r){"use strict";var n=r(8183).charAt,o=r(655),i=r(1181),s=r(1088),a=r(2529),u="String Iterator",c=i.set,f=i.getterFor(u);s(String,"String",function(t){c(this,{type:u,string:o(t),index:0})},function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?a(void 0,!0):(t=n(r,o),e.index+=t.length,a(t,!1))})},6761(t,e,r){"use strict";var n=r(6518),o=r(4576),i=r(9565),s=r(9504),a=r(6395),u=r(3724),c=r(4495),f=r(9039),l=r(9297),p=r(1625),d=r(8551),h=r(5397),v=r(6969),y=r(655),g=r(6980),m=r(2360),_=r(1072),b=r(8480),E=r(298),x=r(3717),w=r(7347),S=r(4913),O=r(6801),T=r(8773),k=r(6840),P=r(2106),j=r(5745),C=r(6119),R=r(421),I=r(3392),N=r(8227),A=r(1951),D=r(511),M=r(8242),L=r(687),U=r(1181),F=r(9213).forEach,B=C("hidden"),q="Symbol",H="prototype",G=U.set,z=U.getterFor(q),V=Object[H],W=o.Symbol,Y=W&&W[H],X=o.RangeError,J=o.TypeError,K=o.QObject,$=w.f,Q=S.f,Z=E.f,tt=T.f,et=s([].push),rt=j("symbols"),nt=j("op-symbols"),ot=j("wks"),it=!K||!K[H]||!K[H].findChild,st=function(t,e,r){var n=$(V,e);n&&delete V[e],Q(t,e,r),n&&t!==V&&Q(V,e,n)},at=u&&f(function(){return 7!==m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a})?st:Q,ut=function(t,e){var r=rt[t]=m(Y);return G(r,{type:q,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===V&&ct(nt,e,r),d(t);var n=v(e);return d(r),l(rt,n)?(r.enumerable?(l(t,B)&&t[B][n]&&(t[B][n]=!1),r=m(r,{enumerable:g(0,!1)})):(l(t,B)||Q(t,B,g(1,m(null))),t[B][n]=!0),at(t,n,r)):Q(t,n,r)},ft=function(t,e){d(t);var r=h(e),n=_(r).concat(ht(r));return F(n,function(e){u&&!i(lt,r,e)||ct(t,e,r[e])}),t},lt=function(t){var e=v(t),r=i(tt,this,e);return!(this===V&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,B)&&this[B][e])||r)},pt=function(t,e){var r=h(t),n=v(e);if(r!==V||!l(rt,n)||l(nt,n)){var o=$(r,n);return!o||!l(rt,n)||l(r,B)&&r[B][n]||(o.enumerable=!0),o}},dt=function(t){var e=Z(h(t)),r=[];return F(e,function(t){l(rt,t)||l(R,t)||et(r,t)}),r},ht=function(t){var e=t===V,r=Z(e?nt:h(t)),n=[];return F(r,function(t){!l(rt,t)||e&&!l(V,t)||et(n,rt[t])}),n};c||(W=function(){if(p(Y,this))throw new J("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=I(t),r=function(t){var n=void 0===this?o:this;n===V&&i(r,nt,t),l(n,B)&&l(n[B],e)&&(n[B][e]=!1);var s=g(1,t);try{at(n,e,s)}catch(t){if(!(t instanceof X))throw t;st(n,e,s)}};return u&&it&&at(V,e,{configurable:!0,set:r}),ut(e,t)},k(Y=W[H],"toString",function(){return z(this).tag}),k(W,"withoutSetter",function(t){return ut(I(t),t)}),T.f=lt,S.f=ct,O.f=ft,w.f=pt,b.f=E.f=dt,x.f=ht,A.f=function(t){return ut(N(t),t)},u&&(P(Y,"description",{configurable:!0,get:function(){return z(this).description}}),a||k(V,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),F(_(ot),function(t){D(t)}),n({target:q,stat:!0,forced:!c},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?m(t):ft(m(t),e)},defineProperty:ct,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt}),M(),L(W,q),R[B]=!0},1510(t,e,r){"use strict";var n=r(6518),o=r(7751),i=r(9297),s=r(655),a=r(5745),u=r(1296),c=a("string-to-symbol-registry"),f=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=s(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,f[r]=e,r}})},2675(t,e,r){"use strict";r(6761),r(1510),r(7812),r(3110),r(9773)},7812(t,e,r){"use strict";var n=r(6518),o=r(9297),i=r(757),s=r(6823),a=r(5745),u=r(1296),c=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(s(t)+" is not a symbol");if(o(c,t))return c[t]}})},1517(t,e,r){"use strict";var n=r(6518),o=r(6194),i=r(2248).remove;n({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=o(this),r=!0,n=0,s=arguments.length;n<s;n++)t=i(e,arguments[n]),r=r&&t;return!!r}})},1379(t,e,r){"use strict";var n=r(6518),o=r(6194),i=r(2248),s=i.get,a=i.has,u=i.set;n({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,i=o(this);return a(i,t)?(r=s(i,t),"update"in e&&(r=e.update(r,t,i),u(i,t,r)),r):(n=e.insert(t,i),u(i,t,n),n)}})},3777(t,e,r){"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{every:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0);return!1!==s(e,function(t,n){if(!r(t,n,e))return!1},!0)}})},4190(t,e,r){"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(2248),a=r(6223),u=s.Map,c=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new u;return a(e,function(t,o){r(t,o,e)&&c(n,o,t)}),n}})},6097(t,e,r){"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=s(e,function(t,n){if(r(t,n,e))return{key:n}},!0);return n&&n.key}})},2359(t,e,r){"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=s(e,function(t,n){if(r(t,n,e))return{value:t}},!0);return n&&n.value}})},7036(t,e,r){"use strict";var n=r(6518),o=r(9306),i=r(6194),s=r(2248),a=r(6395),u=s.get,c=s.has,f=s.set;n({target:"Map",proto:!0,real:!0,forced:a},{getOrInsertComputed:function(t,e){if(i(this),o(e),c(this,t))return u(this,t);0===t&&1/t==-1/0&&(t=0);var r=e(t);return f(this,t,r),r}})},7254(t,e,r){"use strict";var n=r(6518),o=r(6194),i=r(2248),s=r(6395),a=i.get,u=i.has,c=i.set;n({target:"Map",proto:!0,real:!0,forced:s},{getOrInsert:function(t,e){return u(o(this),t)?a(this,t):(c(this,t,e),e)}})},7273(t,e,r){"use strict";var n=r(6518),o=r(3317),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===s(i(this),function(e){if(o(e,t))return!0},!0)}})},7415(t,e,r){"use strict";var n=r(6518),o=r(6194),i=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=i(o(this),function(e,r){if(e===t)return{key:r}},!0);return e&&e.key}})},9929(t,e,r){"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(2248),a=r(6223),u=s.Map,c=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new u;return a(e,function(t,o){c(n,r(t,o,e),t)}),n}})},7583(t,e,r){"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(2248),a=r(6223),u=s.Map,c=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new u;return a(e,function(t,o){c(n,o,r(t,o,e))}),n}})},5122(t,e,r){"use strict";var n=r(6518),o=r(6194),i=r(2652),s=r(2248).set;n({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=o(this),r=arguments.length,n=0;n<r;)i(arguments[n++],function(t,r){s(e,t,r)},{AS_ENTRIES:!0});return e}})},6385(t,e,r){"use strict";var n=r(6518),o=r(2248);n({target:"Map",stat:!0,forced:!0},{of:r(7500)(o.Map,o.set,!0)})},230(t,e,r){"use strict";var n=r(6518),o=r(9306),i=r(6194),s=r(6223),a=TypeError;n({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=i(this),r=arguments.length<2,n=r?void 0:arguments[1];if(o(t),s(e,function(o,i){r?(r=!1,n=o):n=t(n,o,i,e)}),r)throw new a("Reduce of empty map with no initial value");return n}})},7268(t,e,r){"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{some:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0);return!0===s(e,function(t,n){if(r(t,n,e))return!0},!0)}})},9733(t,e,r){"use strict";var n=r(6518),o=r(9306),i=r(6194),s=r(2248),a=TypeError,u=s.get,c=s.has,f=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var r=i(this),n=arguments.length;o(e);var s=c(r,t);if(!s&&n<3)throw new a("Updating absent value");var l=s?u(r,t):o(n>2?arguments[2]:void 0)(t,r);return f(r,t,e(l,t,r)),r}})},8418(t,e,r){"use strict";var n=r(8473);t.exports=n},2181(t,e,r){"use strict";var n=r(5648);t.exports=n},963(t){"use strict";t.exports=JSON.parse('{"moderation":{"rejection":"This experience was rejected."},"clientConfiguration":{"badConfig":"Your Imposium configuration is an invalid type.","storyId":"An undefined or invalid storyId was set in your Imposium configuration.","accessToken":"An undefined or invalid accessToken was set in your Imposium configuration.","invalidEventName":"Invalid client event name.","invalidCallbackType":"The callback reference set for this client event is not of type function.","badConfigOnGet":"You cannot call client.getExperience(...) without using the Imposium player or setting the GOT_EXPERIENCE event.","bagConfigOnPostRender":"You cannot call client.createExperience({...}) without using the Imposium player or setting the GOT_EXPERIENCE event.","badConfigOnPostNoRender":"You cannot call client.createExperience({...}, false) without setting the EXPERIENCE_CREATED event."},"playerConfiguration":{"badClient":"You must provide a valid Imposium client reference to the player.","invalidPlayerRef":"No reference to an HTML5 video element was detected.","invalidEventName":"Invalid player event name.","invalidCallbackType":"The callback reference set for this player event is not of type function.","eventNotConfigured":"You cannot invoke this player event without a callback set.","badQualityOverride":"The quality specified does not exist for this experience."},"network":{"httpFailure":"Unable to process request to the Imposium API.","pollTimeout":"Polling timeout exceeded.","tcpFailure":"Socket connection failed while processing the experience.","errorOverTcp":"An error occured on the Imposium web servers while processing the experience.","messageParseFailure":"Message data from Imposium was malformed."},"uncaught":{"generic":"Something unexpected went wrong."}}')},3685(t){"use strict";t.exports=JSON.parse('{"Sn":{"uuidLength":36,"defaultConfig":{"accessToken":"","storyId":"","compositionId":"","environment":"production","gaPlacement":"web"},"emptyHistory":{"prevExperienceId":"","prevMessage":""},"clientEmits":{"adding":"Adding job to queue...","added":"Added job to queue...","finishedPolling":"Video ready for viewing."},"eventNames":{"EXPERIENCE_CREATED":"EXPERIENCE_CREATED","UPLOAD_PROGRESS":"UPLOAD_PROGRESS","GOT_EXPERIENCE":"GOT_EXPERIENCE","STATUS_UPDATE":"STATUS_UPDATE","ERROR":"ERROR"}},"FH":{"production":"https://api.imposium.com","staging":"https://api.staging.imposium.com","local":"https://api","currentVersion":"2.0.0","version":"X-Imposium-Api-Version","hmac":"X-Imposium-Access-Key","jwt":"Authorization"},"e$":{"dsn":"https://17ffe982179e4d60a1df2062198d7ade@sentry.io/1411258","projectName":"imposium-js-sdk"},"zS":{"exceptionProp":"UA-123315989-1","baseUrl":"https://ssl.google-analytics.com/collect","lsLookup":"imposium_js_ga_cid","gaPropPlaceholder":"[id_placeholder]","cidPlaceholder":"[cid_placeholder]"},"xY":{"defaultConfig":{"volume":1,"preload":"auto","loop":false,"muted":false,"autoLoad":true,"autoPlay":true,"controls":true,"crossOrigin":"anonymous","qualityOverride":null},"testImage":"https://cdn.imposium.com/SampleJPGImage_1mb.jpg","playbackEvents":[0,0.25,0.5,0.75],"checkPlaybackRateMs":100,"volumeMin":0,"volumeMax":1,"bandwidth":{"low":2.4,"mid":8},"compression":{"stream":"m3u8","low":"mp4_480","mid":"mp4_720","high":"mp4_1080"},"bandwidthSamples":5,"hlsSupportLevels":{"native":"native","hlsjs":"hls-js"},"streamType":"application/vnd.apple.mpegurl"}}')},197(t){"use strict";t.exports=JSON.parse('{"client":{"nodeAnalytics":"Sorry, analytics are not currently available in NodeJS."},"network":{"tcpFailure":"Unable to reach Imposium while processing this experience, retrying..."},"playerFailure":{"seekNotReady":"Seek can\'t be called until the video metadata has loaded, please try again shortly.","invalidSeekTime":"Could not seek to time outside of current video duration.","invalidVolume":"Could not set volume outside of range (double) 0.0 - 1.0."},"analytics":{"requestFailed":"Failed to record Imposium metric."}}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return 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.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),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})},r(6624)})());
3
3
  //# sourceMappingURL=imposium.min.js.map