!function(){var e,t,n={271:function(e){function t(e){var t=document.createElement("a");return t.href=e,t.search.split("?")[1]||""}e.exports={getQueryParamsString:t,parseUrlParams:function(e){var n=t(e);return""===n?{}:n.split("&").reduce((function(e,t){var n=t.split("=");return e[n[0]]=decodeURIComponent(n[1]),e}),{})},loadScript:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=document.createElement("script");n.type="text/javascript",n.onerror=function(){t(new Error("Script failed to load"))},n.readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()},n.src=e,document.getElementsByTagName("head")[0].appendChild(n)}}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e](i,i.exports,o),i.loaded=!0,i.exports}o.m=n,o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))},o.u=function(e){return"sentry-browser.min.js"},o.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="asset_composer:",o.l=function(n,r,i,u){if(e[n])e[n].push(r);else{var c,a;if(void 0!==i)for(var f=document.getElementsByTagName("script"),s=0;s0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.message=t,this.props=n,this.error=Error(this.message),this.isUserError=r,this.fingerprint=this.message})),m={},b={},w={};function g(e,t){for(var n=0;n0&&void 0!==arguments[0]&&arguments[0]?w[this.product.name].assets:this.product.assets}},{key:"load",value:function(e,t){var n=this;return this.productIframe.ready().then((function(r){n.productIframe.injectMetadata(r,t),n.productIframe.injectAssets(r,e)})).catch((function(){return l.reject(n.loadProductError())}))}},{key:"loadProductError",value:function(){var e=this.product,t=e.name,n=e.id,r=e.features;return new v("failed to load product",{product:t,id:n,features:r})}}],n&&P(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),_=o(271);function k(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];return new l((function(r,o){var i=t.snippet.getParentWindow();if(n)i.zEACLoaded=!0,i.$zopim?r(b.products):r(m.products);else{var u=new T(i,e),c=function(e){var t=e.products;i.zEACLoaded=!0,r(t)},a=u.resolveComposeUrl();d(a).then(c).catch((function(n){404!==n.status&&400!==n.status?d(a).then((function(e){return c(e)})).catch((function(){return o(t.error(e))})):o(t.error(e))}))}}))}},{key:"loadProducts",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){var r=e.getProductAssets(n);return e.load(r,t.snippet.getZEQueue()).catch((function(e){return l.reject(e)}))}))}},{key:"getProductLoaders",value:function(e){var t=this.snippet.getParentWindow();return e.map((function(e){return"zopim_chat"===e.name?new O(e.id,t):new j(e,t)}))}},{key:"error",value:function(e){return new v("compose request failed",{key:e})}}],n&&R(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function C(e,t){for(var n=0;n