@elliemae/pui-logrocket 1.2.5 → 1.2.6-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/build/docs/404.html +2 -2
  2. package/build/docs/api/functions/buildLogRocketQueryParams/index.html +2 -2
  3. package/build/docs/api/functions/hasUserConsentedToSessionRecording/index.html +2 -2
  4. package/build/docs/api/functions/initLogRocket/index.html +2 -2
  5. package/build/docs/api/index.html +2 -2
  6. package/build/docs/api/type-aliases/LROptions/index.html +2 -2
  7. package/build/docs/assets/js/e376fc56.76cb9b7e.js +1 -0
  8. package/build/docs/assets/js/main.3e17820f.js +2 -0
  9. package/build/docs/assets/js/{runtime~main.07b879c1.js → runtime~main.e342665a.js} +1 -1
  10. package/build/docs/compliance/index.html +2 -2
  11. package/build/docs/index.html +2 -2
  12. package/build/docs/usage-guide/index.html +2 -2
  13. package/dist/cjs/logrocket.js +9 -0
  14. package/dist/esm/logrocket.js +9 -0
  15. package/dist/public/index.html +1 -1
  16. package/dist/public/js/{emuiLogrocket.d7582f915136726127db.js → emuiLogrocket.241498f87f5f76412325.js} +9 -9
  17. package/dist/public/js/emuiLogrocket.241498f87f5f76412325.js.br +0 -0
  18. package/dist/public/js/emuiLogrocket.241498f87f5f76412325.js.gz +0 -0
  19. package/dist/public/js/emuiLogrocket.241498f87f5f76412325.js.map +1 -0
  20. package/dist/types/tsconfig.tsbuildinfo +1 -1
  21. package/dist/umd/index.js +8 -8
  22. package/dist/umd/index.js.br +0 -0
  23. package/dist/umd/index.js.gz +0 -0
  24. package/dist/umd/index.js.map +1 -1
  25. package/package.json +1 -1
  26. package/build/docs/assets/js/e376fc56.70f78c79.js +0 -1
  27. package/build/docs/assets/js/main.a518f750.js +0 -2
  28. package/dist/public/js/emuiLogrocket.d7582f915136726127db.js.br +0 -0
  29. package/dist/public/js/emuiLogrocket.d7582f915136726127db.js.gz +0 -0
  30. package/dist/public/js/emuiLogrocket.d7582f915136726127db.js.map +0 -1
  31. /package/build/docs/assets/js/{main.a518f750.js.LICENSE.txt → main.3e17820f.js.LICENSE.txt} +0 -0
package/dist/umd/index.js CHANGED
@@ -1,14 +1,14 @@
1
- (function(ce,oe){typeof exports=="object"&&typeof module=="object"?module.exports=oe(require("ReactDOM")):typeof define=="function"&&define.amd?define(["ReactDOM"],oe):typeof exports=="object"?exports.emuiLogrocket=oe(require("ReactDOM")):ce.emuiLogrocket=oe(ce.ReactDOM)})(globalThis,ve=>(()=>{var ce={755(X,B,V){"use strict";var Z;Z={value:!0},B.A=e;var re=V(845);let m;const o=re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;o&&o.Events&&o.Events[0]&&(m=o.Events[0]);function e(){const u=R=>{try{const v=m(R.target),w=[];let S=v;for(;S;){var l=typeof S.elementType=="function"&&S.elementType.displayName;l&&w.push(l),S=S.return}R.__lrName=w}catch{console.error("logrocket-react caught an error while hooking into React. Please make sure you are using the correct version of logrocket-react for your version of react-dom.")}};document.body.addEventListener("click",u,{capture:!0,passive:!0})}},5(X){(function(V,Z){if(1)X.exports=Z();else var re,m})(this,function(){return function(){var B={"./packages/@logrocket/console/src/index.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var R=u(e("./packages/@logrocket/console/src/registerConsole.js")),l=R.default;o.default=l},"./packages/@logrocket/console/src/registerConsole.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=w;var R=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),l=u(e("./packages/@logrocket/utils/src/enhanceFunc.ts")),v=e("./packages/@logrocket/exceptions/src/index.js");function w(S){var d=[],O=["log","warn","info","error","debug"];return O.forEach(function(f){d.push((0,l.default)(console,f,function(){for(var n=arguments.length,i=new Array(n),t=0;t<n;t++)i[t]=arguments[t];S.addEvent("lr.core.LogEvent",function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=g.isEnabled;if((0,R.default)(k)==="object"&&k[f]===!1||k===!1)return null;if(f==="error"&&g.shouldAggregateConsoleErrors)if(i&&i.length>=2&&i[0]==="ERROR"){var y="";try{y=" ".concat(i[1])}catch{}v.Capture.captureMessage(S,"".concat(i[0]).concat(y),i,{},!0)}else v.Capture.captureMessage(S,i[0],i,{},!0);return{logLevel:f.toUpperCase(),args:i}})}))}),function(){d.forEach(function(f){return f()})}}},"./packages/@logrocket/exceptions/src/Capture.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.captureMessage=w,o.captureException=S;var R=e("./packages/@logrocket/utils/src/scrubException.ts"),l=u(e("./packages/@logrocket/utils/src/TraceKit.js")),v=u(e("./packages/@logrocket/exceptions/src/stackTraceFromError.js"));function w(d,O,f){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,t={exceptionType:i?"CONSOLE":"MESSAGE",message:O,messageArgs:f,browserHref:window.location?window.location.href:""};(0,R.scrubException)(t,n),d.addEvent("lr.core.Exception",function(){return t})}function S(d,O){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"WINDOW",t=n||l.default.computeStackTrace(O),g={exceptionType:i,errorType:t.name,message:t.message,browserHref:window.location?window.location.href:""};(0,R.scrubException)(g,f);var k={_stackTrace:(0,v.default)(t)};d.addEvent("lr.core.Exception",function(){return g},k)}},"./packages/@logrocket/exceptions/src/index.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js"),R=e("./node_modules/@babel/runtime/helpers/typeof.js");Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"registerExceptions",{enumerable:!0,get:function(){return l.default}}),o.Capture=void 0;var l=u(e("./packages/@logrocket/exceptions/src/registerExceptions.js")),v=S(e("./packages/@logrocket/exceptions/src/Capture.js"));o.Capture=v;function w(d){if(typeof WeakMap!="function")return null;var O=new WeakMap,f=new WeakMap;return(w=function(i){return i?f:O})(d)}function S(d,O){if(!O&&d&&d.__esModule)return d;if(d===null||R(d)!=="object"&&typeof d!="function")return{default:d};var f=w(O);if(f&&f.has(d))return f.get(d);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in d)if(t!=="default"&&Object.prototype.hasOwnProperty.call(d,t)){var g=i?Object.getOwnPropertyDescriptor(d,t):null;g&&(g.get||g.set)?Object.defineProperty(n,t,g):n[t]=d[t]}return n.default=d,f&&f.set(d,n),n}},"./packages/@logrocket/exceptions/src/raven/FunctionPropertyMirror.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),l=u(e("./node_modules/@babel/runtime/helpers/createClass.js")),v=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),w=new Set(["prototype","length","name","arguments","caller","__lr__","__lr_wrapper__","__inner__","__refreshMirroredProps__"]);function S(O){return(0,v.default)(O)==="symbol"}var d=function(){function O(f,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t=i.hasKey,g=i.reservedProps,k=g===void 0?w:g,y=i.includeSymbols,E=y===void 0?!0:y;(0,R.default)(this,O),this.source=f,this.target=n,this.hasKey=t||function(){return!1},this.reservedProps=k,this.includeSymbols=E,this.mirroredProps=Object.create(null),this.descriptorCache=Object.create(null)}return(0,l.default)(O,[{key:"isReserved",value:function(n){return n==null?!0:S(n)?!this.includeSymbols:this.reservedProps.has(n)}},{key:"remember",value:function(n){this.mirroredProps[n]=!0}},{key:"forget",value:function(n){delete this.mirroredProps[n],Object.prototype.hasOwnProperty.call(this.descriptorCache,n)&&delete this.descriptorCache[n]}},{key:"hasMirrored",value:function(n){return Object.prototype.hasOwnProperty.call(this.mirroredProps,n)}},{key:"getDescriptor",value:function(n){if(Object.prototype.hasOwnProperty.call(this.descriptorCache,n))return this.descriptorCache[n]||void 0;var i;try{i=Object.getOwnPropertyDescriptor(this.source,n)}catch{i=void 0}return this.descriptorCache[n]=i||null,i}},{key:"defineMirroredDescriptor",value:function(n,i){var t=this,g=Object.prototype.hasOwnProperty.call(i,"configurable")?i.configurable:!0,k=Object.prototype.hasOwnProperty.call(i,"enumerable")?i.enumerable:!0;if(i.get||i.set){Object.defineProperty(this.target,n,{configurable:g,enumerable:k,get:i.get?function(){return i.get.call(t.source)}:void 0,set:i.set?function(E){return i.set.call(t.source,E)}:void 0});return}var y=Object.prototype.hasOwnProperty.call(i,"writable")?i.writable:!0;Object.defineProperty(this.target,n,{configurable:g,enumerable:k,get:function(){return t.source[n]},set:y===!1?void 0:function(E){t.source[n]=E}})}},{key:"mirrorProperty",value:function(n){if(this.isReserved(n)||this.hasMirrored(n)||!this.hasKey(this.source,n))return!1;var i=this.getDescriptor(n);if(!i)return!1;try{return this.defineMirroredDescriptor(n,i),this.remember(n),!0}catch{try{return this.target[n]=this.source[n],this.remember(n),!0}catch{return!1}}}},{key:"mirrorProperties",value:function(n){if(n)for(var i=Array.isArray(n)?n:[n],t=0;t<i.length;t+=1)this.mirrorProperty(i[t])}},{key:"syncAll",value:function(){try{this.mirrorProperties(Object.getOwnPropertyNames(this.source)),this.includeSymbols&&typeof Object.getOwnPropertySymbols=="function"&&this.mirrorProperties(Object.getOwnPropertySymbols(this.source))}catch{}}},{key:"syncProperty",value:function(n){this.isReserved(n)||(this.forget(n),this.mirrorProperty(n))}},{key:"attachManualRefreshHook",value:function(){var n=this;this.isReserved("__refreshMirroredProps__")&&Object.defineProperty(this.target,"__refreshMirroredProps__",{configurable:!0,enumerable:!1,writable:!1,value:function(){return n.syncAll(),n.target}})}}]),O}();o.default=d},"./packages/@logrocket/exceptions/src/raven/raven.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),l=u(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),v=u(e("./node_modules/@babel/runtime/helpers/createClass.js")),w=u(e("./packages/@logrocket/utils/src/TraceKit.js")),S=u(e("./packages/@logrocket/exceptions/src/raven/FunctionPropertyMirror.js")),d=Object.prototype;function O(E){return E===void 0}function f(E){return typeof E=="function"}function n(E,b){var r,a;if(O(E.length))for(r in E)i(E,r)&&b.call(null,r,E[r]);else if(a=E.length,a)for(r=0;r<a;r++)b.call(null,r,E[r])}function i(E,b){return d.hasOwnProperty.call(E,b)}function t(E,b,r,a){var P=E[b];E[b]=r(P),a&&a.push([E,b,P])}var g=typeof window<"u"?window:typeof e.g<"u"?e.g:typeof self<"u"?self:{},k=g.document,y=function(){function E(b){var r=b.captureException;(0,l.default)(this,E),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=r,w.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return(0,v.default)(E,[{key:"uninstall",value:function(){w.default.report.unsubscribe(this._errorHandler);for(var r;this._wrappedBuiltIns.length;){r=this._wrappedBuiltIns.shift();var a=r[0],P=r[1],_=r[2];a[P]=_}}},{key:"_errorHandler",value:function(r){this._ignoreOnError||this.captureException(r)}},{key:"_ignoreNextOnError",value:function(){var r=this;this._ignoreOnError+=1,setTimeout(function(){r._ignoreOnError-=1})}},{key:"context",value:function(r,a,P){return f(r)&&(P=a||[],a=r,r=void 0),this.wrap(r,a).apply(this,P)}},{key:"wrap",value:function(r,a,P){var _=this;if(O(a)&&!f(r))return r;if(f(r)&&(a=r,r=void 0),!f(a))return a;try{if(a.__lr__)return a;if(a.__lr_wrapper__)return a.__lr_wrapper__;if(!Object.isExtensible(a))return a}catch{return a}function C(){var p=[],h=arguments.length,c=!r||r&&r.deep!==!1;for(P&&f(P)&&P.apply(this,arguments);h--;)p[h]=c?_.wrap(r,arguments[h]):arguments[h];try{return a.apply(this,p)}catch(A){throw _._ignoreNextOnError(),_.captureException(w.default.computeStackTrace(A),r),A}}var j=(typeof Reflect>"u"?"undefined":(0,R.default)(Reflect))==="object"?Reflect:void 0,T=new S.default(a,C,{hasKey:i,includeSymbols:!0});T.syncAll(),T.attachManualRefreshHook(),C.prototype=a.prototype;try{typeof Object.setPrototypeOf=="function"?Object.setPrototypeOf(C,a):O(C.__proto__)||(C.__proto__=a)}catch{}var I=C;if(typeof Proxy=="function"){var M=new Proxy(C,{apply:function(h,c,A){return T.syncAll(),h.apply(c,A)},construct:function(h,c,A){if(T.syncAll(),j&&j.construct)return j.construct(h,c,A);var x=Function.bind.apply(h,[null].concat(c||[]));return new x},get:function(h,c,A){return c==="__inner__"?a:(T.mirrorProperty(c),j&&j.get?j.get(h,c,A):h[c])},set:function(h,c,A,x){if(c==="__lr__"||c==="__lr_wrapper__"||c==="__inner__")return j&&j.set?j.set(h,c,A,x):(h[c]=A,!0);T.mirrorProperty(c);var W;j&&j.set?W=j.set(h,c,A,x):(h[c]=A,W=!0);try{a[c]=A,T.syncProperty(c)}catch{}return W},has:function(h,c){if(T.mirrorProperty(c),j&&j.has){if(j.has(h,c))return!0}else if(c in h)return!0;return c in a},ownKeys:function(h){return T.syncAll(),j&&j.ownKeys?j.ownKeys(h):Object.getOwnPropertyNames(h)},getOwnPropertyDescriptor:function(h,c){return T.mirrorProperty(c),j&&j.getOwnPropertyDescriptor?j.getOwnPropertyDescriptor(h,c):Object.getOwnPropertyDescriptor(h,c)},defineProperty:function(h,c,A){var x;if(j&&j.defineProperty?x=j.defineProperty(h,c,A):(Object.defineProperty(h,c,A),x=!0),c==="__lr__"||c==="__lr_wrapper__"||c==="__inner__")return x;try{Object.defineProperty(a,c,A)}catch{}return T.syncProperty(c),x},deleteProperty:function(h,c){if(c==="__lr__"||c==="__lr_wrapper__"||c==="__inner__")return j&&j.deleteProperty?j.deleteProperty(h,c):delete h[c];T.forget(c);try{delete a[c]}catch{}return j&&j.deleteProperty?j.deleteProperty(h,c):delete h[c]}});I=M}return a.__lr_wrapper__=I,C.__lr__=!0,C.__inner__=a,I!==C&&(I.__lr__=!0,I.__inner__=a),I}},{key:"_instrumentTryCatch",value:function(){var r=this,a=r._wrappedBuiltIns;function P(I){return function(M,p){for(var h=new Array(arguments.length),c=0;c<h.length;++c)h[c]=arguments[c];var A=h[0];return f(A)&&(h[0]=r.wrap(A)),I.apply?I.apply(this,h):I(h[0],h[1])}}function _(I){var M=g[I]&&g[I].prototype;M&&M.hasOwnProperty&&M.hasOwnProperty("addEventListener")&&(t(M,"addEventListener",function(p){return function(h,c,A,x){try{c&&c.handleEvent&&(c.handleEvent=r.wrap(c.handleEvent))}catch{}var W;return p.call(this,h,r.wrap(c,void 0,W),A,x)}},a),t(M,"removeEventListener",function(p){return function(h,c,A,x){try{var W=c?.__lr_wrapper__;W&&p.call(this,h,W,A,x)}catch{}return p.call(this,h,c,A,x)}},void 0))}t(g,"setTimeout",P,a),t(g,"setInterval",P,a),g.requestAnimationFrame&&t(g,"requestAnimationFrame",function(I){return function(M){return I(r.wrap(M))}},a);for(var C=["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"],j=0;j<C.length;j++)_(C[j]);var T=g.jQuery||g.$;T&&T.fn&&T.fn.ready&&t(T.fn,"ready",function(I){return function(M){return I.call(this,r.wrap(M))}},a)}}]),E}();o.default=y},"./packages/@logrocket/exceptions/src/registerExceptions.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js"),R=e("./node_modules/@babel/runtime/helpers/typeof.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=d;var l=u(e("./packages/@logrocket/exceptions/src/raven/raven.js")),v=S(e("./packages/@logrocket/exceptions/src/Capture.js"));function w(O){if(typeof WeakMap!="function")return null;var f=new WeakMap,n=new WeakMap;return(w=function(t){return t?n:f})(O)}function S(O,f){if(!f&&O&&O.__esModule)return O;if(O===null||R(O)!=="object"&&typeof O!="function")return{default:O};var n=w(f);if(n&&n.has(O))return n.get(O);var i={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in O)if(g!=="default"&&Object.prototype.hasOwnProperty.call(O,g)){var k=t?Object.getOwnPropertyDescriptor(O,g):null;k&&(k.get||k.set)?Object.defineProperty(i,g,k):i[g]=O[g]}return i.default=O,n&&n.set(O,i),i}function d(O){var f=new l.default({captureException:function(t){v.captureException(O,null,null,t)}}),n=function(t){t.reason instanceof Error?v.captureException(O,t.reason,null,null,"UNHANDLED_REJECTION"):O.addEvent("lr.core.Exception",function(){return{exceptionType:"UNHANDLED_REJECTION",message:t.reason||"Unhandled Promise rejection"}})};return window.addEventListener("unhandledrejection",n),function(){window.removeEventListener("unhandledrejection",n),f.uninstall()}}},"./packages/@logrocket/exceptions/src/stackTraceFromError.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=e;function e(u){function R(l){return l===null?void 0:l}return u.stack?u.stack.map(function(l){return{lineNumber:R(l.line),columnNumber:R(l.column),fileName:R(l.url),functionName:R(l.func)}}):void 0}},"./packages/@logrocket/network/src/fetchIntercept.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/toConsumableArray.js")),l=e("./packages/@logrocket/network/src/registerXHR.js"),v=[];function w(f,n){for(var i=v.reduce(function(E,b){return[b].concat(E)},[]),t=arguments.length,g=new Array(t>2?t-2:0),k=2;k<t;k++)g[k-2]=arguments[k];var y=Promise.resolve(g);return i.forEach(function(E){var b=E.request,r=E.requestError;(b||r)&&(y=y.then(function(a){return b.apply(void 0,[n].concat((0,R.default)(a)))},function(a){return r.apply(void 0,[n].concat((0,R.default)(a)))}))}),y=y.then(function(E){(0,l.setActive)(!1);var b,r;try{b=f.apply(void 0,(0,R.default)(E))}catch(a){r=a}if((0,l.setActive)(!0),r)throw r;return b}),i.forEach(function(E){var b=E.response,r=E.responseError;(b||r)&&(y=y.then(function(a){return b(n,a)},function(a){return r&&r(n,a)}))}),y}function S(f){if(!(!f.fetch||!f.Promise)){var n=f.fetch.polyfill;f.fetch=function(i){var t=0;return function(){for(var g=arguments.length,k=new Array(g),y=0;y<g;y++)k[y]=arguments[y];return w.apply(void 0,[i,t++].concat(k))}}(f.fetch),n&&(f.fetch.polyfill=n)}}var d=!1,O={register:function(n){return d||(d=!0,S(window)),v.push(n),function(){var i=v.indexOf(n);i>=0&&v.splice(i,1)}},clear:function(){v=[]}};o.default=O},"./packages/@logrocket/network/src/index.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=i;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),v=u(e("./packages/@logrocket/network/src/registerFetch.js")),w=e("./packages/@logrocket/network/src/registerIonic.ts"),S=u(e("./packages/@logrocket/network/src/registerNetworkInformation.js")),d=u(e("./packages/@logrocket/network/src/registerXHR.js")),O=u(e("./packages/@logrocket/utils/src/mapValues.ts"));function f(t,g){var k=Object.keys(t);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(t);g&&(y=y.filter(function(E){return Object.getOwnPropertyDescriptor(t,E).enumerable})),k.push.apply(k,y)}return k}function n(t){for(var g=1;g<arguments.length;g++){var k=arguments[g]!=null?arguments[g]:{};g%2?f(Object(k),!0).forEach(function(y){(0,R.default)(t,y,k[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(k)):f(Object(k)).forEach(function(y){Object.defineProperty(t,y,Object.getOwnPropertyDescriptor(k,y))})}return t}function i(t){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{isReactNative:!1,isDisabled:!1};if(g?.isDisabled===!0)return function(){};var k=g.isReactNative,y=g.shouldAugmentNPS,E=g.shouldParseXHRBlob,b={},r=function(p){var h=4096e3,c=p;if((0,l.default)(p)==="object"&&p!=null){var A=Object.getPrototypeOf(p);(A===Object.prototype||A===null)&&(c=JSON.stringify(p))}if(c&&c.length&&c.length>h&&typeof c=="string"){var x=c.substring(0,1e3);return"".concat(x,` ... LogRocket truncating to first 1000 characters.
2
- Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference/network`)}return p},a=function(p,h){var c=h.method;t.addEvent("lr.network.RequestEvent",function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=A.isEnabled,W=x===void 0?!0:x,K=A.requestSanitizer,J=K===void 0?function(s){return s}:K;if(!W)return null;var G=null;try{G=J(n(n({},h),{},{reqId:p}))}catch(s){console.error(s)}if(G){var N=G.url;if(typeof document<"u"&&typeof document.createElement=="function"){var F=document.createElement("a");F.href=G.url,N=F.href}return{reqId:p,url:N,headers:(0,O.default)(G.headers,function(s){return"".concat(s)}),body:r(G.body),method:c,referrer:G.referrer||void 0,mode:G.mode||void 0,credentials:G.credentials||void 0,initiatorType:G.initiatorType||"UNKNOWN"}}return b[p]=!0,null})},P=function(p,h){var c=h.method,A=h.status,x=h.responseType;t.addEvent("lr.network.ResponseEvent",function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=W.isEnabled,J=K===void 0?!0:K,G=W.responseSanitizer,N=G===void 0?function(s){return s}:G;if(J){if(b[p])return delete b[p],null}else return null;var F=null;try{F=N(n(n({},h),{},{reqId:p}))}catch(s){console.error(s)}return F?{reqId:p,responseType:x,status:F.status,headers:(0,O.default)(F.headers,function(s){return"".concat(s)}),body:r(F.body),method:c}:{reqId:p,responseType:x,status:A,headers:{},body:null,method:c}})},_=function(p){return t.isDisabled||b[p]===!0},C=(0,v.default)({addRequest:a,addResponse:P,isIgnored:_}),j=(0,d.default)({addRequest:a,addResponse:P,isIgnored:_,logger:t,shouldAugmentNPS:y,shouldParseXHRBlob:E}),T=(0,w.registerIonic)({addRequest:a,addResponse:P,isIgnored:_}),I=k?function(){}:(0,S.default)(t);return function(){I(),C(),j(),T()}}},"./packages/@logrocket/network/src/registerFetch.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=i;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./packages/@logrocket/utils/src/mapValues.ts")),v=u(e("./packages/@logrocket/network/src/fetchIntercept.js"));function w(t,g){var k=Object.keys(t);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(t);g&&(y=y.filter(function(E){return Object.getOwnPropertyDescriptor(t,E).enumerable})),k.push.apply(k,y)}return k}function S(t){for(var g=1;g<arguments.length;g++){var k=arguments[g]!=null?arguments[g]:{};g%2?w(Object(k),!0).forEach(function(y){(0,R.default)(t,y,k[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(k)):w(Object(k)).forEach(function(y){Object.defineProperty(t,y,Object.getOwnPropertyDescriptor(k,y))})}return t}function d(t){if(t==null||typeof t.forEach!="function")return t;var g={};return t.forEach(function(k,y){g[y]?g[y]="".concat(g[y],",").concat(k):g[y]="".concat(k)}),g}var O=function(g){return(0,l.default)(d(g),function(k){return"".concat(k)})};function f(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{url:t.url,headers:O(t.headers),method:t.method&&t.method.toUpperCase(),referrer:t.referrer||void 0,mode:t.mode||void 0,credentials:t.credentials||void 0}}function n(t){return typeof t!="string"?!1:t.startsWith("image/")&&t!=="image/svg+xml"||t.startsWith("video/")?!0:t==="application/octet-stream"}function i(t){var g=t.addRequest,k=t.addResponse,y=t.isIgnored,E="fetch-",b={},r=v.default.register({request:function(P){for(var _=arguments.length,C=new Array(_>1?_-1:0),j=1;j<_;j++)C[j-1]=arguments[j];var T;if(typeof Request<"u"&&C[0]instanceof Request){var I;try{I=C[0].clone().text()}catch(M){I=Promise.resolve("LogRocket fetch error: ".concat(M.message))}T=I.then(function(M){return S(S({},f(C[0])),{},{body:M})},function(M){return S(S({},f(C[0])),{},{body:"LogRocket fetch error: ".concat(M.message)})})}else T=Promise.resolve(S(S({},f(C[1])),{},{url:"".concat(C[0]),body:(C[1]||{}).body}));return T.then(function(M){return b[P]=M.method,M.initiatorType="FETCH",g("".concat(E).concat(P),M),C})},requestError:function(P,_){return Promise.reject(_)},response:function(P,_){var C,j;if(y("".concat(E).concat(P)))return _;if(_.headers.get("content-type")==="text/event-stream")j=Promise.resolve("LogRocket skipped consuming an event-stream body.");else if(n(_.headers.get("content-type")))j=Promise.resolve("LogRocket skipped consuming a binary body.");else{try{C=_.clone()}catch(h){var T={url:_.url,responseType:_.type.toUpperCase(),status:_.status,headers:O(_.headers),body:"LogRocket fetch error: ".concat(h.message),method:b[P]};return delete b[P],k("".concat(E).concat(P),T),_}try{if(window.TextDecoder&&C.body){var I=C.body.getReader(),M=new window.TextDecoder("utf-8"),p="";j=I.read().then(function h(c){var A=c.done,x=c.value;if(A)return p;var W=x?M.decode(x,{stream:!0}):"";return p+=W,I.read().then(h)})}else j=C.text()}catch(h){j=Promise.resolve("LogRocket error reading body: ".concat(h.message))}}return j.catch(function(h){if(!(h.name==="AbortError"&&h instanceof DOMException))return"LogRocket error reading body: ".concat(h.message)}).then(function(h){var c={url:_.url,responseType:_.type.toUpperCase(),status:_.status,headers:O(_.headers),body:h,method:b[P]};delete b[P],k("".concat(E).concat(P),c)}),_},responseError:function(P,_){var C={url:void 0,status:0,headers:{},body:"".concat(_)};return k("".concat(E).concat(P),C),Promise.reject(_)}});return r}},"./packages/@logrocket/network/src/registerIonic.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.mergeHeaders=T,o.serializeQueryParams=A,o.appendQueryParamsString=x,o.processData=J,o.registerIonic=F;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),v=u(e("./node_modules/@babel/runtime/helpers/toConsumableArray.js")),w=u(e("./packages/@logrocket/utils/src/protectFunc.ts"));function S(s,L){var D=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!D){if(Array.isArray(s)||(D=d(s))||L&&s&&typeof s.length=="number"){D&&(s=D);var U=0,H=function(){};return{s:H,n:function(){return U>=s.length?{done:!0}:{done:!1,value:s[U++]}},e:function(te){throw te},f:H}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z=!0,$=!1,Y;return{s:function(){D=D.call(s)},n:function(){var te=D.next();return z=te.done,te},e:function(te){$=!0,Y=te},f:function(){try{!z&&D.return!=null&&D.return()}finally{if($)throw Y}}}}function d(s,L){if(s){if(typeof s=="string")return O(s,L);var D=Object.prototype.toString.call(s).slice(8,-1);if(D==="Object"&&s.constructor&&(D=s.constructor.name),D==="Map"||D==="Set")return Array.from(s);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return O(s,L)}}function O(s,L){(L==null||L>s.length)&&(L=s.length);for(var D=0,U=new Array(L);D<L;D++)U[D]=s[D];return U}function f(s,L){var D=Object.keys(s);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(s);L&&(U=U.filter(function(H){return Object.getOwnPropertyDescriptor(s,H).enumerable})),D.push.apply(D,U)}return D}function n(s){for(var L=1;L<arguments.length;L++){var D=arguments[L]!=null?arguments[L]:{};L%2?f(Object(D),!0).forEach(function(U){(0,R.default)(s,U,D[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(D)):f(Object(D)).forEach(function(U){Object.defineProperty(s,U,Object.getOwnPropertyDescriptor(D,U))})}return s}var i=new Set(["get","put","post","patch","head","delete","options","upload","download"]),t=new Set(["urlencoded","json","utf8"]),g=new Set(["raw","multipart"]),k="ionic-",y=new Set(["desktop","mobileweb","pwa"]),E=new Set(["FormData"]),b=new Set,r=new Set(["string"]),a=new Set(["string","array"]),P={utf8:r,urlencoded:new Set(["object"]),json:new Set(["array","object"]),raw:new Set(["Uint8Array","ArrayBuffer"]),default:b};function _(s,L,D){if(typeof L!="string")throw new Error("".concat(D," must be one of: ").concat((0,v.default)(s).join(", ")));if(L=L.trim().toLowerCase(),!s.has(L))throw new Error("".concat(D," must be one of: ").concat((0,v.default)(s).join(", ")));return L}function C(s,L,D){if((0,l.default)(s)!=="object")throw new Error(D);for(var U=0,H=Object.keys(s);U<H.length;U++){var z=H[U];if(!L.has((0,l.default)(s[z])))throw new Error(D)}return s}function j(s,L){var D=new URL(s),U=D.host;return L.getHeaders(U)||null}function T(s,L){return n(n({},s),L)}function I(s,L,D){var U=D.getHeaders("*")||{},H=j(s,D)||{};return T(T(U,H),L)}function M(s,L){return L?encodeURIComponent(s):s}function p(s,L,D){return s.length?D?"".concat(encodeURIComponent(s),"[").concat(encodeURIComponent(L),"]"):"".concat(s,"[").concat(L,"]"):D?encodeURIComponent(L):L}function h(s,L,D){var U=[],H=S(L),z;try{for(H.s();!(z=H.n()).done;){var $=z.value;if(Array.isArray($)){U.push(h("".concat(s,"[]"),$,D));continue}else if((0,l.default)($)==="object"){U.push(c("".concat(s,"[]").concat($),D,void 0));continue}U.push("".concat(p(s,"",D),"=").concat(M($,D)))}}catch(Y){H.e(Y)}finally{H.f()}return U.join("&")}function c(s,L,D){var U=[];for(var H in L)if(L.hasOwnProperty(H)){var z=s.length?"".concat(s,"[").concat(H,"]"):H;if(Array.isArray(L[H])){U.push(h(z,L[H],D));continue}else if((0,l.default)(L[H])==="object"&&L[H]!==null){U.push(c(z,L[H],D));continue}U.push("".concat(p(s,H,D),"=").concat(M(L[H],D)))}return U.join("&")}function A(s,L){return c("",s,L)}function x(s,L){if(!s.length||!L.length)return s;var D=new URL(s),U=D.host,H=D.pathname,z=D.search,$=D.hash,Y=D.protocol;return"".concat(Y,"//").concat(U).concat(H).concat(z.length?"".concat(z,"&").concat(L):"?".concat(L)).concat($)}function W(s){return P[s]||P.default}function K(s){return s==="multipart"?E:b}function J(s,L){var D=(0,l.default)(s),U=W(L),H=K(L);if(H.size>0){var z=!1;if(H.forEach(function($){e.g[$]&&s instanceof e.g[$]&&(z=!0)}),!z)throw new Error("INSTANCE_TYPE_MISMATCH_DATA ".concat((0,v.default)(H).join(", ")))}if(H.size===0&&!U.has(D))throw new Error("TYPE_MISMATCH_DATA ".concat((0,v.default)(U).join(", ")));switch(L){case"utf8":return s;default:return JSON.stringify(s,void 0,2)}}function G(s,L){s=s||{};var D,U=s.data;try{D=_(t,s.serializer||L.getDataSerializer(),"serializer / data payload type")}catch{D=_(g,s.serializer||L.getDataSerializer(),"serializer / data payload type"),U={}}return{data:U,filePath:s.filePath,followRedirect:s.followRedirect,headers:C(s.headers||{},r,"Invalid header type, must be string"),method:_(i,s.method||i[0],"method"),name:s.name,params:C(s.params||{},a,"Invalid param, must be of type string or array"),responseType:s.responseType,serializer:D,connectTimeout:s.connectTimeout,readTimeout:s.readTimeout,timeout:s.timeout}}var N=0;function F(s){var L,D,U,H=s.addRequest,z=s.addResponse,$=s.isIgnored,Y=(L=window.cordova)===null||L===void 0||(D=L.plugin)===null||D===void 0?void 0:D.http,ee={},te=!1;if(typeof Y>"u")return function(){};var de=(U=window.ionic)===null||U===void 0?void 0:U.platforms;if(typeof de<"u"&&typeof de.some=="function"&&de.some(function(q){return y.has(q)}))return function(){};var he=Y.sendRequest,me=(0,w.default)(function(q,ie,ae){if(!$("".concat(k).concat(ae)))try{var fe={url:q.url||"",status:q.status<600&&q.status>=100?q.status:0,headers:q.headers||{},body:ie?q.data:q.error,method:ee[ae].toUpperCase()};z("".concat(k).concat(ae),fe)}catch(pe){var ne={url:q.url||"",status:q.status<600&&q.status>=100?q.status:0,headers:q.headers||{},body:"LogRocket fetch error: ".concat(pe.message),method:ee[ae].toUpperCase()};z("".concat(k).concat(ae),ne)}});return Y.sendRequest=function(q,ie,ae,fe){var ne=++N,pe=function(ue){te||(me(ue,!0,ne),delete ee[ne]),ae(ue)},be=function(ue){te||(me(ue,!1,ne),delete ee[ne]),fe(ue)};if(!te)try{var se=G(ie,Y),we=x(q,c("",se.params,!0)),Oe=I(q,se.headers,Y),ye=se.method||"get";ee[ne]=ye;var Ee={url:we,method:ye.toUpperCase(),headers:Oe||{},body:J(se.data||{},se.serializer),initiatorType:"IONIC"};H("".concat(k).concat(ne),Ee)}catch(ge){var Re={url:q,method:(ie.method||"get").toUpperCase(),headers:{},body:"LogRocket fetch error: ".concat(ge.message),initiatorType:"IONIC"};H("".concat(k).concat(ne),Re)}return he(q,ie,pe,be)},function(){te=!0,Y.sendRequest=he,ee={}}}},"./packages/@logrocket/network/src/registerNetworkInformation.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=u;var e={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"};function u(R){var l=void 0;function v(){var w={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(w.effectiveType=e[window.navigator.connection.effectiveType]||"UNKNOWN"):w.effectiveType="NONE",!(l&&w.online===l.online&&w.effectiveType===l.effectiveType)&&(l=w,R.addEvent("lr.network.NetworkStatusEvent",function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=S.isEnabled,O=d===void 0?!0:d;return O?w:null}))}return setTimeout(v),window.navigator.connection&&typeof window.navigator.connection.addEventListener=="function"&&window.navigator.connection.addEventListener("change",v),window.addEventListener("online",v),window.addEventListener("offline",v),function(){window.removeEventListener("offline",v),window.removeEventListener("online",v),window.navigator.connection&&typeof window.navigator.connection.removeEventListener=="function"&&window.navigator.connection.removeEventListener("change",v)}}},"./packages/@logrocket/network/src/registerXHR.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.setActive=n,o.default=t;var R=u(e("./packages/@logrocket/utils/src/mapValues.ts")),l=u(e("./packages/@logrocket/utils/src/enhanceFunc.ts")),v=u(e("./packages/@logrocket/utils/src/protectFunc.ts")),w=u(e("./packages/@logrocket/utils/src/startsWith.js")),S=e("./packages/@logrocket/utils/src/constants/nps.js"),d=e("./packages/@logrocket/utils/src/constants/statusCodes.ts"),O=e("./packages/@logrocket/utils/src/parseRawHeaders.ts"),f=!0;function n(g){f=g}var i=0;function t(g){var k=g.addRequest,y=g.addResponse,E=g.isIgnored,b=g.logger,r=g.shouldAugmentNPS,a=r===void 0?!0:r,P=g.shouldParseXHRBlob,_=P===void 0?!1:P,C=XMLHttpRequest,j=new WeakMap,T=!1,I="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(p,h){var c=new C(p,h);if(!f)return c;j.set(c,{xhrId:++i,requestHeaders:{},sent:!1,done:!1});var A=c.open;function x(){for(var N=arguments.length,F=new Array(N),s=0;s<N;s++)F[s]=arguments[s];try{var L=F[1];if(window.URL&&typeof window.URL=="function"&&L.search(S.WOOTRIC_RESPONSES_REGEX)===0){var D=new window.URL(b.recordingURL);D.searchParams.set("nps","wootric");var U=new window.URL(L),H=U.searchParams.get("response[text]"),z=H?"".concat(H,`
1
+ (function(ce,oe){typeof exports=="object"&&typeof module=="object"?module.exports=oe(require("ReactDOM")):typeof define=="function"&&define.amd?define(["ReactDOM"],oe):typeof exports=="object"?exports.emuiLogrocket=oe(require("ReactDOM")):ce.emuiLogrocket=oe(ce.ReactDOM)})(globalThis,ve=>(()=>{var ce={755(X,B,V){"use strict";var Z;Z={value:!0},B.A=e;var re=V(845);let m;const o=re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;o&&o.Events&&o.Events[0]&&(m=o.Events[0]);function e(){const u=R=>{try{const v=m(R.target),w=[];let S=v;for(;S;){var l=typeof S.elementType=="function"&&S.elementType.displayName;l&&w.push(l),S=S.return}R.__lrName=w}catch{console.error("logrocket-react caught an error while hooking into React. Please make sure you are using the correct version of logrocket-react for your version of react-dom.")}};document.body.addEventListener("click",u,{capture:!0,passive:!0})}},5(X){(function(V,Z){if(1)X.exports=Z();else var re,m})(this,function(){return function(){var B={"./packages/@logrocket/console/src/index.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var R=u(e("./packages/@logrocket/console/src/registerConsole.js")),l=R.default;o.default=l},"./packages/@logrocket/console/src/registerConsole.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=w;var R=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),l=u(e("./packages/@logrocket/utils/src/enhanceFunc.ts")),v=e("./packages/@logrocket/exceptions/src/index.js");function w(S){var d=[],E=["log","warn","info","error","debug"];return E.forEach(function(f){d.push((0,l.default)(console,f,function(){for(var n=arguments.length,i=new Array(n),t=0;t<n;t++)i[t]=arguments[t];S.addEvent("lr.core.LogEvent",function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=g.isEnabled;if((0,R.default)(k)==="object"&&k[f]===!1||k===!1)return null;if(f==="error"&&g.shouldAggregateConsoleErrors)if(i&&i.length>=2&&i[0]==="ERROR"){var y="";try{y=" ".concat(i[1])}catch{}v.Capture.captureMessage(S,"".concat(i[0]).concat(y),i,{},!0)}else v.Capture.captureMessage(S,i[0],i,{},!0);return{logLevel:f.toUpperCase(),args:i}})}))}),function(){d.forEach(function(f){return f()})}}},"./packages/@logrocket/exceptions/src/Capture.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.captureMessage=w,o.captureException=S;var R=e("./packages/@logrocket/utils/src/scrubException.ts"),l=u(e("./packages/@logrocket/utils/src/TraceKit.js")),v=u(e("./packages/@logrocket/exceptions/src/stackTraceFromError.js"));function w(d,E,f){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,t={exceptionType:i?"CONSOLE":"MESSAGE",message:E,messageArgs:f,browserHref:window.location?window.location.href:""};(0,R.scrubException)(t,n),d.addEvent("lr.core.Exception",function(){return t})}function S(d,E){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"WINDOW",t=n||l.default.computeStackTrace(E),g={exceptionType:i,errorType:t.name,message:t.message,browserHref:window.location?window.location.href:""};(0,R.scrubException)(g,f);var k={_stackTrace:(0,v.default)(t)};d.addEvent("lr.core.Exception",function(){return g},k)}},"./packages/@logrocket/exceptions/src/index.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js"),R=e("./node_modules/@babel/runtime/helpers/typeof.js");Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"registerExceptions",{enumerable:!0,get:function(){return l.default}}),o.Capture=void 0;var l=u(e("./packages/@logrocket/exceptions/src/registerExceptions.js")),v=S(e("./packages/@logrocket/exceptions/src/Capture.js"));o.Capture=v;function w(d){if(typeof WeakMap!="function")return null;var E=new WeakMap,f=new WeakMap;return(w=function(i){return i?f:E})(d)}function S(d,E){if(!E&&d&&d.__esModule)return d;if(d===null||R(d)!=="object"&&typeof d!="function")return{default:d};var f=w(E);if(f&&f.has(d))return f.get(d);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in d)if(t!=="default"&&Object.prototype.hasOwnProperty.call(d,t)){var g=i?Object.getOwnPropertyDescriptor(d,t):null;g&&(g.get||g.set)?Object.defineProperty(n,t,g):n[t]=d[t]}return n.default=d,f&&f.set(d,n),n}},"./packages/@logrocket/exceptions/src/raven/FunctionPropertyMirror.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),l=u(e("./node_modules/@babel/runtime/helpers/createClass.js")),v=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),w=new Set(["prototype","length","name","arguments","caller","__lr__","__lr_wrapper__","__inner__","__refreshMirroredProps__"]);function S(E){return(0,v.default)(E)==="symbol"}var d=function(){function E(f,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t=i.hasKey,g=i.reservedProps,k=g===void 0?w:g,y=i.includeSymbols,O=y===void 0?!0:y;(0,R.default)(this,E),this.source=f,this.target=n,this.hasKey=t||function(){return!1},this.reservedProps=k,this.includeSymbols=O,this.mirroredProps=Object.create(null),this.descriptorCache=Object.create(null)}return(0,l.default)(E,[{key:"isReserved",value:function(n){return n==null?!0:S(n)?!this.includeSymbols:this.reservedProps.has(n)}},{key:"remember",value:function(n){this.mirroredProps[n]=!0}},{key:"forget",value:function(n){delete this.mirroredProps[n],Object.prototype.hasOwnProperty.call(this.descriptorCache,n)&&delete this.descriptorCache[n]}},{key:"hasMirrored",value:function(n){return Object.prototype.hasOwnProperty.call(this.mirroredProps,n)}},{key:"getDescriptor",value:function(n){if(Object.prototype.hasOwnProperty.call(this.descriptorCache,n))return this.descriptorCache[n]||void 0;var i;try{i=Object.getOwnPropertyDescriptor(this.source,n)}catch{i=void 0}return this.descriptorCache[n]=i||null,i}},{key:"defineMirroredDescriptor",value:function(n,i){var t=this,g=Object.prototype.hasOwnProperty.call(i,"configurable")?i.configurable:!0,k=Object.prototype.hasOwnProperty.call(i,"enumerable")?i.enumerable:!0;if(i.get||i.set){Object.defineProperty(this.target,n,{configurable:g,enumerable:k,get:i.get?function(){return i.get.call(t.source)}:void 0,set:i.set?function(O){return i.set.call(t.source,O)}:void 0});return}var y=Object.prototype.hasOwnProperty.call(i,"writable")?i.writable:!0;Object.defineProperty(this.target,n,{configurable:g,enumerable:k,get:function(){return t.source[n]},set:y===!1?void 0:function(O){t.source[n]=O}})}},{key:"mirrorProperty",value:function(n){if(this.isReserved(n)||this.hasMirrored(n)||!this.hasKey(this.source,n))return!1;var i=this.getDescriptor(n);if(!i)return!1;try{return this.defineMirroredDescriptor(n,i),this.remember(n),!0}catch{try{return this.target[n]=this.source[n],this.remember(n),!0}catch{return!1}}}},{key:"mirrorProperties",value:function(n){if(n)for(var i=Array.isArray(n)?n:[n],t=0;t<i.length;t+=1)this.mirrorProperty(i[t])}},{key:"syncAll",value:function(){try{this.mirrorProperties(Object.getOwnPropertyNames(this.source)),this.includeSymbols&&typeof Object.getOwnPropertySymbols=="function"&&this.mirrorProperties(Object.getOwnPropertySymbols(this.source))}catch{}}},{key:"syncProperty",value:function(n){this.isReserved(n)||(this.forget(n),this.mirrorProperty(n))}},{key:"attachManualRefreshHook",value:function(){var n=this;this.isReserved("__refreshMirroredProps__")&&Object.defineProperty(this.target,"__refreshMirroredProps__",{configurable:!0,enumerable:!1,writable:!1,value:function(){return n.syncAll(),n.target}})}}]),E}();o.default=d},"./packages/@logrocket/exceptions/src/raven/raven.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),l=u(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),v=u(e("./node_modules/@babel/runtime/helpers/createClass.js")),w=u(e("./packages/@logrocket/utils/src/TraceKit.js")),S=u(e("./packages/@logrocket/exceptions/src/raven/FunctionPropertyMirror.js")),d=Object.prototype;function E(O){return O===void 0}function f(O){return typeof O=="function"}function n(O,b){var r,a;if(E(O.length))for(r in O)i(O,r)&&b.call(null,r,O[r]);else if(a=O.length,a)for(r=0;r<a;r++)b.call(null,r,O[r])}function i(O,b){return d.hasOwnProperty.call(O,b)}function t(O,b,r,a){var P=O[b];O[b]=r(P),a&&a.push([O,b,P])}var g=typeof window<"u"?window:typeof e.g<"u"?e.g:typeof self<"u"?self:{},k=g.document,y=function(){function O(b){var r=b.captureException;(0,l.default)(this,O),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=r,w.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return(0,v.default)(O,[{key:"uninstall",value:function(){w.default.report.unsubscribe(this._errorHandler);for(var r;this._wrappedBuiltIns.length;){r=this._wrappedBuiltIns.shift();var a=r[0],P=r[1],_=r[2];a[P]=_}}},{key:"_errorHandler",value:function(r){this._ignoreOnError||this.captureException(r)}},{key:"_ignoreNextOnError",value:function(){var r=this;this._ignoreOnError+=1,setTimeout(function(){r._ignoreOnError-=1})}},{key:"context",value:function(r,a,P){return f(r)&&(P=a||[],a=r,r=void 0),this.wrap(r,a).apply(this,P)}},{key:"wrap",value:function(r,a,P){var _=this;if(E(a)&&!f(r))return r;if(f(r)&&(a=r,r=void 0),!f(a))return a;try{if(a.__lr__)return a;if(a.__lr_wrapper__)return a.__lr_wrapper__;if(!Object.isExtensible(a))return a}catch{return a}function C(){var p=[],h=arguments.length,c=!r||r&&r.deep!==!1;for(P&&f(P)&&P.apply(this,arguments);h--;)p[h]=c?_.wrap(r,arguments[h]):arguments[h];try{return a.apply(this,p)}catch(A){throw _._ignoreNextOnError(),_.captureException(w.default.computeStackTrace(A),r),A}}var j=(typeof Reflect>"u"?"undefined":(0,R.default)(Reflect))==="object"?Reflect:void 0,T=new S.default(a,C,{hasKey:i,includeSymbols:!0});T.syncAll(),T.attachManualRefreshHook(),C.prototype=a.prototype;try{typeof Object.setPrototypeOf=="function"?Object.setPrototypeOf(C,a):E(C.__proto__)||(C.__proto__=a)}catch{}var I=C;if(typeof Proxy=="function"){var M=new Proxy(C,{apply:function(h,c,A){return T.syncAll(),h.apply(c,A)},construct:function(h,c,A){if(T.syncAll(),j&&j.construct)return j.construct(h,c,A);var x=Function.bind.apply(h,[null].concat(c||[]));return new x},get:function(h,c,A){return c==="__inner__"?a:(T.mirrorProperty(c),j&&j.get?j.get(h,c,A):h[c])},set:function(h,c,A,x){if(c==="__lr__"||c==="__lr_wrapper__"||c==="__inner__")return j&&j.set?j.set(h,c,A,x):(h[c]=A,!0);T.mirrorProperty(c);var W;j&&j.set?W=j.set(h,c,A,x):(h[c]=A,W=!0);try{a[c]=A,T.syncProperty(c)}catch{}return W},has:function(h,c){if(T.mirrorProperty(c),j&&j.has){if(j.has(h,c))return!0}else if(c in h)return!0;return c in a},ownKeys:function(h){return T.syncAll(),j&&j.ownKeys?j.ownKeys(h):Object.getOwnPropertyNames(h)},getOwnPropertyDescriptor:function(h,c){return T.mirrorProperty(c),j&&j.getOwnPropertyDescriptor?j.getOwnPropertyDescriptor(h,c):Object.getOwnPropertyDescriptor(h,c)},defineProperty:function(h,c,A){var x;if(j&&j.defineProperty?x=j.defineProperty(h,c,A):(Object.defineProperty(h,c,A),x=!0),c==="__lr__"||c==="__lr_wrapper__"||c==="__inner__")return x;try{Object.defineProperty(a,c,A)}catch{}return T.syncProperty(c),x},deleteProperty:function(h,c){if(c==="__lr__"||c==="__lr_wrapper__"||c==="__inner__")return j&&j.deleteProperty?j.deleteProperty(h,c):delete h[c];T.forget(c);try{delete a[c]}catch{}return j&&j.deleteProperty?j.deleteProperty(h,c):delete h[c]}});I=M}return a.__lr_wrapper__=I,C.__lr__=!0,C.__inner__=a,I!==C&&(I.__lr__=!0,I.__inner__=a),I}},{key:"_instrumentTryCatch",value:function(){var r=this,a=r._wrappedBuiltIns;function P(I){return function(M,p){for(var h=new Array(arguments.length),c=0;c<h.length;++c)h[c]=arguments[c];var A=h[0];return f(A)&&(h[0]=r.wrap(A)),I.apply?I.apply(this,h):I(h[0],h[1])}}function _(I){var M=g[I]&&g[I].prototype;M&&M.hasOwnProperty&&M.hasOwnProperty("addEventListener")&&(t(M,"addEventListener",function(p){return function(h,c,A,x){try{c&&c.handleEvent&&(c.handleEvent=r.wrap(c.handleEvent))}catch{}var W;return p.call(this,h,r.wrap(c,void 0,W),A,x)}},a),t(M,"removeEventListener",function(p){return function(h,c,A,x){try{var W=c?.__lr_wrapper__;W&&p.call(this,h,W,A,x)}catch{}return p.call(this,h,c,A,x)}},void 0))}t(g,"setTimeout",P,a),t(g,"setInterval",P,a),g.requestAnimationFrame&&t(g,"requestAnimationFrame",function(I){return function(M){return I(r.wrap(M))}},a);for(var C=["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"],j=0;j<C.length;j++)_(C[j]);var T=g.jQuery||g.$;T&&T.fn&&T.fn.ready&&t(T.fn,"ready",function(I){return function(M){return I.call(this,r.wrap(M))}},a)}}]),O}();o.default=y},"./packages/@logrocket/exceptions/src/registerExceptions.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js"),R=e("./node_modules/@babel/runtime/helpers/typeof.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=d;var l=u(e("./packages/@logrocket/exceptions/src/raven/raven.js")),v=S(e("./packages/@logrocket/exceptions/src/Capture.js"));function w(E){if(typeof WeakMap!="function")return null;var f=new WeakMap,n=new WeakMap;return(w=function(t){return t?n:f})(E)}function S(E,f){if(!f&&E&&E.__esModule)return E;if(E===null||R(E)!=="object"&&typeof E!="function")return{default:E};var n=w(f);if(n&&n.has(E))return n.get(E);var i={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in E)if(g!=="default"&&Object.prototype.hasOwnProperty.call(E,g)){var k=t?Object.getOwnPropertyDescriptor(E,g):null;k&&(k.get||k.set)?Object.defineProperty(i,g,k):i[g]=E[g]}return i.default=E,n&&n.set(E,i),i}function d(E){var f=new l.default({captureException:function(t){v.captureException(E,null,null,t)}}),n=function(t){t.reason instanceof Error?v.captureException(E,t.reason,null,null,"UNHANDLED_REJECTION"):E.addEvent("lr.core.Exception",function(){return{exceptionType:"UNHANDLED_REJECTION",message:t.reason||"Unhandled Promise rejection"}})};return window.addEventListener("unhandledrejection",n),function(){window.removeEventListener("unhandledrejection",n),f.uninstall()}}},"./packages/@logrocket/exceptions/src/stackTraceFromError.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=e;function e(u){function R(l){return l===null?void 0:l}return u.stack?u.stack.map(function(l){return{lineNumber:R(l.line),columnNumber:R(l.column),fileName:R(l.url),functionName:R(l.func)}}):void 0}},"./packages/@logrocket/network/src/fetchIntercept.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/toConsumableArray.js")),l=e("./packages/@logrocket/network/src/registerXHR.js"),v=[];function w(f,n){for(var i=v.reduce(function(O,b){return[b].concat(O)},[]),t=arguments.length,g=new Array(t>2?t-2:0),k=2;k<t;k++)g[k-2]=arguments[k];var y=Promise.resolve(g);return i.forEach(function(O){var b=O.request,r=O.requestError;(b||r)&&(y=y.then(function(a){return b.apply(void 0,[n].concat((0,R.default)(a)))},function(a){return r.apply(void 0,[n].concat((0,R.default)(a)))}))}),y=y.then(function(O){(0,l.setActive)(!1);var b,r;try{b=f.apply(void 0,(0,R.default)(O))}catch(a){r=a}if((0,l.setActive)(!0),r)throw r;return b}),i.forEach(function(O){var b=O.response,r=O.responseError;(b||r)&&(y=y.then(function(a){return b(n,a)},function(a){return r&&r(n,a)}))}),y}function S(f){if(!(!f.fetch||!f.Promise)){var n=f.fetch.polyfill;f.fetch=function(i){var t=0;return function(){for(var g=arguments.length,k=new Array(g),y=0;y<g;y++)k[y]=arguments[y];return w.apply(void 0,[i,t++].concat(k))}}(f.fetch),n&&(f.fetch.polyfill=n)}}var d=!1,E={register:function(n){return d||(d=!0,S(window)),v.push(n),function(){var i=v.indexOf(n);i>=0&&v.splice(i,1)}},clear:function(){v=[]}};o.default=E},"./packages/@logrocket/network/src/index.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=i;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),v=u(e("./packages/@logrocket/network/src/registerFetch.js")),w=e("./packages/@logrocket/network/src/registerIonic.ts"),S=u(e("./packages/@logrocket/network/src/registerNetworkInformation.js")),d=u(e("./packages/@logrocket/network/src/registerXHR.js")),E=u(e("./packages/@logrocket/utils/src/mapValues.ts"));function f(t,g){var k=Object.keys(t);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(t);g&&(y=y.filter(function(O){return Object.getOwnPropertyDescriptor(t,O).enumerable})),k.push.apply(k,y)}return k}function n(t){for(var g=1;g<arguments.length;g++){var k=arguments[g]!=null?arguments[g]:{};g%2?f(Object(k),!0).forEach(function(y){(0,R.default)(t,y,k[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(k)):f(Object(k)).forEach(function(y){Object.defineProperty(t,y,Object.getOwnPropertyDescriptor(k,y))})}return t}function i(t){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{isReactNative:!1,isDisabled:!1};if(g?.isDisabled===!0)return function(){};var k=g.isReactNative,y=g.shouldAugmentNPS,O=g.shouldParseXHRBlob,b={},r=function(p){var h=4096e3,c=p;if((0,l.default)(p)==="object"&&p!=null){var A=Object.getPrototypeOf(p);(A===Object.prototype||A===null)&&(c=JSON.stringify(p))}if(c&&c.length&&c.length>h&&typeof c=="string"){var x=c.substring(0,1e3);return"".concat(x,` ... LogRocket truncating to first 1000 characters.
2
+ Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference/network`)}return p},a=function(p,h){var c=h.method;t.addEvent("lr.network.RequestEvent",function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=A.isEnabled,W=x===void 0?!0:x,K=A.requestSanitizer,J=K===void 0?function(s){return s}:K;if(!W)return null;var G=null;try{G=J(n(n({},h),{},{reqId:p}))}catch(s){console.error(s)}if(G){var N=G.url;if(typeof document<"u"&&typeof document.createElement=="function"){var F=document.createElement("a");F.href=G.url,N=F.href}return{reqId:p,url:N,headers:(0,E.default)(G.headers,function(s){return"".concat(s)}),body:r(G.body),method:c,referrer:G.referrer||void 0,mode:G.mode||void 0,credentials:G.credentials||void 0,initiatorType:G.initiatorType||"UNKNOWN"}}return b[p]=!0,null})},P=function(p,h){var c=h.method,A=h.status,x=h.responseType;t.addEvent("lr.network.ResponseEvent",function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=W.isEnabled,J=K===void 0?!0:K,G=W.responseSanitizer,N=G===void 0?function(s){return s}:G;if(J){if(b[p])return delete b[p],null}else return null;var F=null;try{F=N(n(n({},h),{},{reqId:p}))}catch(s){console.error(s)}return F?{reqId:p,responseType:x,status:F.status,headers:(0,E.default)(F.headers,function(s){return"".concat(s)}),body:r(F.body),method:c}:{reqId:p,responseType:x,status:A,headers:{},body:null,method:c}})},_=function(p){return t.isDisabled||b[p]===!0},C=(0,v.default)({addRequest:a,addResponse:P,isIgnored:_}),j=(0,d.default)({addRequest:a,addResponse:P,isIgnored:_,logger:t,shouldAugmentNPS:y,shouldParseXHRBlob:O}),T=(0,w.registerIonic)({addRequest:a,addResponse:P,isIgnored:_}),I=k?function(){}:(0,S.default)(t);return function(){I(),C(),j(),T()}}},"./packages/@logrocket/network/src/registerFetch.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=i;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./packages/@logrocket/utils/src/mapValues.ts")),v=u(e("./packages/@logrocket/network/src/fetchIntercept.js"));function w(t,g){var k=Object.keys(t);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(t);g&&(y=y.filter(function(O){return Object.getOwnPropertyDescriptor(t,O).enumerable})),k.push.apply(k,y)}return k}function S(t){for(var g=1;g<arguments.length;g++){var k=arguments[g]!=null?arguments[g]:{};g%2?w(Object(k),!0).forEach(function(y){(0,R.default)(t,y,k[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(k)):w(Object(k)).forEach(function(y){Object.defineProperty(t,y,Object.getOwnPropertyDescriptor(k,y))})}return t}function d(t){if(t==null||typeof t.forEach!="function")return t;var g={};return t.forEach(function(k,y){g[y]?g[y]="".concat(g[y],",").concat(k):g[y]="".concat(k)}),g}var E=function(g){return(0,l.default)(d(g),function(k){return"".concat(k)})};function f(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{url:t.url,headers:E(t.headers),method:t.method&&t.method.toUpperCase(),referrer:t.referrer||void 0,mode:t.mode||void 0,credentials:t.credentials||void 0}}function n(t){return typeof t!="string"?!1:t.startsWith("image/")&&t!=="image/svg+xml"||t.startsWith("video/")?!0:t==="application/octet-stream"}function i(t){var g=t.addRequest,k=t.addResponse,y=t.isIgnored,O="fetch-",b={},r=v.default.register({request:function(P){for(var _=arguments.length,C=new Array(_>1?_-1:0),j=1;j<_;j++)C[j-1]=arguments[j];var T;if(typeof Request<"u"&&C[0]instanceof Request){var I;try{I=C[0].clone().text()}catch(M){I=Promise.resolve("LogRocket fetch error: ".concat(M.message))}T=I.then(function(M){return S(S({},f(C[0])),{},{body:M})},function(M){return S(S({},f(C[0])),{},{body:"LogRocket fetch error: ".concat(M.message)})})}else T=Promise.resolve(S(S({},f(C[1])),{},{url:"".concat(C[0]),body:(C[1]||{}).body}));return T.then(function(M){return b[P]=M.method,M.initiatorType="FETCH",g("".concat(O).concat(P),M),C})},requestError:function(P,_){return Promise.reject(_)},response:function(P,_){var C,j;if(y("".concat(O).concat(P)))return _;if(_.headers.get("content-type")==="text/event-stream")j=Promise.resolve("LogRocket skipped consuming an event-stream body.");else if(n(_.headers.get("content-type")))j=Promise.resolve("LogRocket skipped consuming a binary body.");else{try{C=_.clone()}catch(h){var T={url:_.url,responseType:_.type.toUpperCase(),status:_.status,headers:E(_.headers),body:"LogRocket fetch error: ".concat(h.message),method:b[P]};return delete b[P],k("".concat(O).concat(P),T),_}try{if(window.TextDecoder&&C.body){var I=C.body.getReader(),M=new window.TextDecoder("utf-8"),p="";j=I.read().then(function h(c){var A=c.done,x=c.value;if(A)return p;var W=x?M.decode(x,{stream:!0}):"";return p+=W,I.read().then(h)})}else j=C.text()}catch(h){j=Promise.resolve("LogRocket error reading body: ".concat(h.message))}}return j.catch(function(h){if(!(h.name==="AbortError"&&h instanceof DOMException))return"LogRocket error reading body: ".concat(h.message)}).then(function(h){var c={url:_.url,responseType:_.type.toUpperCase(),status:_.status,headers:E(_.headers),body:h,method:b[P]};delete b[P],k("".concat(O).concat(P),c)}),_},responseError:function(P,_){var C={url:void 0,status:0,headers:{},body:"".concat(_)};return k("".concat(O).concat(P),C),Promise.reject(_)}});return r}},"./packages/@logrocket/network/src/registerIonic.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.mergeHeaders=T,o.serializeQueryParams=A,o.appendQueryParamsString=x,o.processData=J,o.registerIonic=F;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./node_modules/@babel/runtime/helpers/typeof.js")),v=u(e("./node_modules/@babel/runtime/helpers/toConsumableArray.js")),w=u(e("./packages/@logrocket/utils/src/protectFunc.ts"));function S(s,L){var D=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!D){if(Array.isArray(s)||(D=d(s))||L&&s&&typeof s.length=="number"){D&&(s=D);var U=0,H=function(){};return{s:H,n:function(){return U>=s.length?{done:!0}:{done:!1,value:s[U++]}},e:function(te){throw te},f:H}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z=!0,$=!1,Y;return{s:function(){D=D.call(s)},n:function(){var te=D.next();return z=te.done,te},e:function(te){$=!0,Y=te},f:function(){try{!z&&D.return!=null&&D.return()}finally{if($)throw Y}}}}function d(s,L){if(s){if(typeof s=="string")return E(s,L);var D=Object.prototype.toString.call(s).slice(8,-1);if(D==="Object"&&s.constructor&&(D=s.constructor.name),D==="Map"||D==="Set")return Array.from(s);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return E(s,L)}}function E(s,L){(L==null||L>s.length)&&(L=s.length);for(var D=0,U=new Array(L);D<L;D++)U[D]=s[D];return U}function f(s,L){var D=Object.keys(s);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(s);L&&(U=U.filter(function(H){return Object.getOwnPropertyDescriptor(s,H).enumerable})),D.push.apply(D,U)}return D}function n(s){for(var L=1;L<arguments.length;L++){var D=arguments[L]!=null?arguments[L]:{};L%2?f(Object(D),!0).forEach(function(U){(0,R.default)(s,U,D[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(D)):f(Object(D)).forEach(function(U){Object.defineProperty(s,U,Object.getOwnPropertyDescriptor(D,U))})}return s}var i=new Set(["get","put","post","patch","head","delete","options","upload","download"]),t=new Set(["urlencoded","json","utf8"]),g=new Set(["raw","multipart"]),k="ionic-",y=new Set(["desktop","mobileweb","pwa"]),O=new Set(["FormData"]),b=new Set,r=new Set(["string"]),a=new Set(["string","array"]),P={utf8:r,urlencoded:new Set(["object"]),json:new Set(["array","object"]),raw:new Set(["Uint8Array","ArrayBuffer"]),default:b};function _(s,L,D){if(typeof L!="string")throw new Error("".concat(D," must be one of: ").concat((0,v.default)(s).join(", ")));if(L=L.trim().toLowerCase(),!s.has(L))throw new Error("".concat(D," must be one of: ").concat((0,v.default)(s).join(", ")));return L}function C(s,L,D){if((0,l.default)(s)!=="object")throw new Error(D);for(var U=0,H=Object.keys(s);U<H.length;U++){var z=H[U];if(!L.has((0,l.default)(s[z])))throw new Error(D)}return s}function j(s,L){var D=new URL(s),U=D.host;return L.getHeaders(U)||null}function T(s,L){return n(n({},s),L)}function I(s,L,D){var U=D.getHeaders("*")||{},H=j(s,D)||{};return T(T(U,H),L)}function M(s,L){return L?encodeURIComponent(s):s}function p(s,L,D){return s.length?D?"".concat(encodeURIComponent(s),"[").concat(encodeURIComponent(L),"]"):"".concat(s,"[").concat(L,"]"):D?encodeURIComponent(L):L}function h(s,L,D){var U=[],H=S(L),z;try{for(H.s();!(z=H.n()).done;){var $=z.value;if(Array.isArray($)){U.push(h("".concat(s,"[]"),$,D));continue}else if((0,l.default)($)==="object"){U.push(c("".concat(s,"[]").concat($),D,void 0));continue}U.push("".concat(p(s,"",D),"=").concat(M($,D)))}}catch(Y){H.e(Y)}finally{H.f()}return U.join("&")}function c(s,L,D){var U=[];for(var H in L)if(L.hasOwnProperty(H)){var z=s.length?"".concat(s,"[").concat(H,"]"):H;if(Array.isArray(L[H])){U.push(h(z,L[H],D));continue}else if((0,l.default)(L[H])==="object"&&L[H]!==null){U.push(c(z,L[H],D));continue}U.push("".concat(p(s,H,D),"=").concat(M(L[H],D)))}return U.join("&")}function A(s,L){return c("",s,L)}function x(s,L){if(!s.length||!L.length)return s;var D=new URL(s),U=D.host,H=D.pathname,z=D.search,$=D.hash,Y=D.protocol;return"".concat(Y,"//").concat(U).concat(H).concat(z.length?"".concat(z,"&").concat(L):"?".concat(L)).concat($)}function W(s){return P[s]||P.default}function K(s){return s==="multipart"?O:b}function J(s,L){var D=(0,l.default)(s),U=W(L),H=K(L);if(H.size>0){var z=!1;if(H.forEach(function($){e.g[$]&&s instanceof e.g[$]&&(z=!0)}),!z)throw new Error("INSTANCE_TYPE_MISMATCH_DATA ".concat((0,v.default)(H).join(", ")))}if(H.size===0&&!U.has(D))throw new Error("TYPE_MISMATCH_DATA ".concat((0,v.default)(U).join(", ")));switch(L){case"utf8":return s;default:return JSON.stringify(s,void 0,2)}}function G(s,L){s=s||{};var D,U=s.data;try{D=_(t,s.serializer||L.getDataSerializer(),"serializer / data payload type")}catch{D=_(g,s.serializer||L.getDataSerializer(),"serializer / data payload type"),U={}}return{data:U,filePath:s.filePath,followRedirect:s.followRedirect,headers:C(s.headers||{},r,"Invalid header type, must be string"),method:_(i,s.method||i[0],"method"),name:s.name,params:C(s.params||{},a,"Invalid param, must be of type string or array"),responseType:s.responseType,serializer:D,connectTimeout:s.connectTimeout,readTimeout:s.readTimeout,timeout:s.timeout}}var N=0;function F(s){var L,D,U,H=s.addRequest,z=s.addResponse,$=s.isIgnored,Y=(L=window.cordova)===null||L===void 0||(D=L.plugin)===null||D===void 0?void 0:D.http,ee={},te=!1;if(typeof Y>"u")return function(){};var de=(U=window.ionic)===null||U===void 0?void 0:U.platforms;if(typeof de<"u"&&typeof de.some=="function"&&de.some(function(q){return y.has(q)}))return function(){};var he=Y.sendRequest,me=(0,w.default)(function(q,ie,ae){if(!$("".concat(k).concat(ae)))try{var fe={url:q.url||"",status:q.status<600&&q.status>=100?q.status:0,headers:q.headers||{},body:ie?q.data:q.error,method:ee[ae].toUpperCase()};z("".concat(k).concat(ae),fe)}catch(pe){var ne={url:q.url||"",status:q.status<600&&q.status>=100?q.status:0,headers:q.headers||{},body:"LogRocket fetch error: ".concat(pe.message),method:ee[ae].toUpperCase()};z("".concat(k).concat(ae),ne)}});return Y.sendRequest=function(q,ie,ae,fe){var ne=++N,pe=function(ue){te||(me(ue,!0,ne),delete ee[ne]),ae(ue)},be=function(ue){te||(me(ue,!1,ne),delete ee[ne]),fe(ue)};if(!te)try{var se=G(ie,Y),we=x(q,c("",se.params,!0)),Ee=I(q,se.headers,Y),ye=se.method||"get";ee[ne]=ye;var Oe={url:we,method:ye.toUpperCase(),headers:Ee||{},body:J(se.data||{},se.serializer),initiatorType:"IONIC"};H("".concat(k).concat(ne),Oe)}catch(ge){var Re={url:q,method:(ie.method||"get").toUpperCase(),headers:{},body:"LogRocket fetch error: ".concat(ge.message),initiatorType:"IONIC"};H("".concat(k).concat(ne),Re)}return he(q,ie,pe,be)},function(){te=!0,Y.sendRequest=he,ee={}}}},"./packages/@logrocket/network/src/registerNetworkInformation.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=u;var e={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"};function u(R){var l=void 0;function v(){var w={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(w.effectiveType=e[window.navigator.connection.effectiveType]||"UNKNOWN"):w.effectiveType="NONE",!(l&&w.online===l.online&&w.effectiveType===l.effectiveType)&&(l=w,R.addEvent("lr.network.NetworkStatusEvent",function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=S.isEnabled,E=d===void 0?!0:d;return E?w:null}))}return setTimeout(v),window.navigator.connection&&typeof window.navigator.connection.addEventListener=="function"&&window.navigator.connection.addEventListener("change",v),window.addEventListener("online",v),window.addEventListener("offline",v),function(){window.removeEventListener("offline",v),window.removeEventListener("online",v),window.navigator.connection&&typeof window.navigator.connection.removeEventListener=="function"&&window.navigator.connection.removeEventListener("change",v)}}},"./packages/@logrocket/network/src/registerXHR.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.setActive=n,o.default=t;var R=u(e("./packages/@logrocket/utils/src/mapValues.ts")),l=u(e("./packages/@logrocket/utils/src/enhanceFunc.ts")),v=u(e("./packages/@logrocket/utils/src/protectFunc.ts")),w=u(e("./packages/@logrocket/utils/src/startsWith.js")),S=e("./packages/@logrocket/utils/src/constants/nps.js"),d=e("./packages/@logrocket/utils/src/constants/statusCodes.ts"),E=e("./packages/@logrocket/utils/src/parseRawHeaders.ts"),f=!0;function n(g){f=g}var i=0;function t(g){var k=g.addRequest,y=g.addResponse,O=g.isIgnored,b=g.logger,r=g.shouldAugmentNPS,a=r===void 0?!0:r,P=g.shouldParseXHRBlob,_=P===void 0?!1:P,C=XMLHttpRequest,j=new WeakMap,T=!1,I="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(p,h){var c=new C(p,h);if(!f)return c;j.set(c,{xhrId:++i,requestHeaders:{},sent:!1,done:!1});var A=c.open;function x(){for(var N=arguments.length,F=new Array(N),s=0;s<N;s++)F[s]=arguments[s];try{var L=F[1];if(window.URL&&typeof window.URL=="function"&&L.search(S.WOOTRIC_RESPONSES_REGEX)===0){var D=new window.URL(b.recordingURL);D.searchParams.set("nps","wootric");var U=new window.URL(L),H=U.searchParams.get("response[text]"),z=H?"".concat(H,`
4
4
 
5
5
  `):"";U.searchParams.set("response[text]","".concat(z,"<").concat(D.href,"|View LogRocket session>")),F[1]=U.href}}catch{}return A.apply(this,F)}var W=c.send;function K(){for(var N=arguments.length,F=new Array(N),s=0;s<N;s++)F[s]=arguments[s];try{var L=j.get(c);if(window.URL&&typeof window.URL=="function"&&L&&L.url&&L.url.search(S.DELIGHTED_RESPONSES_REGEX)===0&&F.length&&F[0].indexOf(S.DELIGHTED_FEEDBACK_PREFIX)!==-1){var D=new window.URL(b.recordingURL);D.searchParams.set("nps","delighted");var U=encodeURIComponent(D.href),H=F[0].split("&").map(function(z){if((0,w.default)(z,S.DELIGHTED_FEEDBACK_PREFIX)){var $=z===S.DELIGHTED_FEEDBACK_PREFIX;return"".concat(z).concat($?"":`
6
6
 
7
- `,"<").concat(U,"|View LogRocket session>")}return z}).join("&");F[0]=H}}catch{}return W.apply(this,F)}a&&(c.open=x,c.send=K);var J=function(){var F;if(!T){var s=j.get(c);if(!(!s||E("".concat(I).concat(s.xhrId)))&&!(!s.sent||!s.done)){var L=s.status||d.XHR_CUSTOM_STATUS_CODES.error;L===d.XHR_CUSTOM_STATUS_CODES.error&&((F=window.navigator)===null||F===void 0?void 0:F.onLine)===!1&&(L=d.XHR_CUSTOM_STATUS_CODES.offline);var D={url:s.url,status:L,headers:s.responseHeaders,body:s.responseBody,method:(s.method||"").toUpperCase()};if(_&&D.body instanceof Blob){var U=new FileReader;U.readAsText(D.body),U.onload=function(){try{D.body=JSON.parse(U.result)}catch{}y("".concat(I).concat(s.xhrId),D)}}else y("".concat(I).concat(s.xhrId),D)}}};(0,l.default)(c,"open",(0,v.default)(function(N,F){if(!T){var s=j.get(c);s.method=N,s.url=F}})),(0,l.default)(c,"send",(0,v.default)(function(N){if(!T){var F=j.get(c);if(F){var s={url:F.url,method:F.method&&F.method.toUpperCase(),headers:(0,R.default)(F.requestHeaders||{},function(L){return L.join(", ")}),body:N,initiatorType:"XHR"};k("".concat(I).concat(F.xhrId),s),F.sent=!0,J()}}})),(0,l.default)(c,"setRequestHeader",(0,v.default)(function(N,F){if(!T){var s=j.get(c);s&&(s.requestHeaders=s.requestHeaders||{},s.requestHeaders[N]=s.requestHeaders[N]||[],s.requestHeaders[N].push(F))}}));var G={readystatechange:(0,v.default)(function(){if(!T&&c.readyState===4){var N=j.get(c);if(!N||E("".concat(I).concat(N.xhrId)))return;var F=c.getAllResponseHeaders()||"";N.responseHeaders=(0,O.parseRawHeaders)(F);var s;try{switch(c.responseType){case"json":s=b._shouldCloneResponse?JSON.parse(JSON.stringify(c.response)):c.response;break;case"arraybuffer":case"blob":{_?s=c.response:s="LogRocket skipped consuming a binary body.";break}case"document":{s=c.responseXML;break}case"text":case"":{s=c.responseText;break}default:s=""}}catch{s="LogRocket: Error accessing response."}N.responseBody=s,N.status=c.status,N.done=!0}}),abort:(0,v.default)(function(){var N=j.get(c);N&&(N.status=d.XHR_CUSTOM_STATUS_CODES.aborted)}),timeout:(0,v.default)(function(){var N=j.get(c);N&&(N.status=d.XHR_CUSTOM_STATUS_CODES.timeout)}),loadend:(0,v.default)(function(){J()})};return Object.keys(G).forEach(function(N){c.addEventListener(N,G[N])}),c},XMLHttpRequest.prototype=C.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach(function(M){XMLHttpRequest[M]=C[M]}),function(){T=!0,XMLHttpRequest=C}}},"./packages/@logrocket/now/src/index.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=Date.now.bind(Date),u=e(),R=typeof performance<"u"&&performance.now?performance.now.bind(performance):function(){return e()-u};o.default=R},"./packages/@logrocket/redux/src/createEnhancer.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=d;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./packages/@logrocket/now/src/index.js"));function v(O,f){var n=Object.keys(O);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(O);f&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(O,t).enumerable})),n.push.apply(n,i)}return n}function w(O){for(var f=1;f<arguments.length;f++){var n=arguments[f]!=null?arguments[f]:{};f%2?v(Object(n),!0).forEach(function(i){(0,R.default)(O,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(i){Object.defineProperty(O,i,Object.getOwnPropertyDescriptor(n,i))})}return O}var S=0;function d(O){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=f.stateSanitizer,i=n===void 0?function(k){return k}:n,t=f.actionSanitizer,g=t===void 0?function(k){return k}:t;return function(k){return function(y,E,b){var r=k(y,E,b),a=r.dispatch,P=S++;O.addEvent("lr.redux.InitialState",function(){var C;try{C=i(r.getState())}catch(j){console.error(j.toString())}return{state:C,storeId:P}});var _=function(j){var T=(0,l.default)(),I,M;try{M=a(j)}catch(h){I=h}finally{var p=(0,l.default)()-T;O.addEvent("lr.redux.ReduxAction",function(){var h=null,c=null;try{h=i(r.getState()),c=g(j)}catch(A){console.error(A.toString())}return h&&c?{storeId:P,action:c,duration:p,stateDelta:h}:null})}if(I)throw I;return M};return w(w({},r),{},{dispatch:_})}}}},"./packages/@logrocket/redux/src/createMiddleware.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=v;var R=u(e("./packages/@logrocket/now/src/index.js")),l=0;function v(w){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=S.stateSanitizer,O=d===void 0?function(i){return i}:d,f=S.actionSanitizer,n=f===void 0?function(i){return i}:f;return function(i){var t=l++;return w.addEvent("lr.redux.InitialState",function(){var g;try{g=O(i.getState())}catch(k){console.error(k.toString())}return{state:g,storeId:t}}),function(g){return function(k){var y=(0,R.default)(),E,b;try{b=g(k)}catch(a){E=a}finally{var r=(0,R.default)()-y;w.addEvent("lr.redux.ReduxAction",function(){var a=null,P=null;try{a=O(i.getState()),P=n(k)}catch(_){console.error(_.toString())}return a&&P?{storeId:t,action:P,duration:r,stateDelta:a}:null})}if(E)throw E;return b}}}}},"./packages/@logrocket/redux/src/index.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"createEnhancer",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(o,"createMiddleware",{enumerable:!0,get:function(){return l.default}});var R=u(e("./packages/@logrocket/redux/src/createEnhancer.js")),l=u(e("./packages/@logrocket/redux/src/createMiddleware.js"))},"./packages/@logrocket/utils/src/TraceKit.js":function(m,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var u={collectWindowErrors:!0,debug:!1},R=typeof window<"u"?window:typeof e.g<"u"?e.g:typeof self<"u"?self:{},l=[].slice,v="?",w=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function S(){return typeof document>"u"||typeof document.location>"u"?"":document.location.href}u.report=function(){var f=[],n=null,i=null,t=null;function g(T){P(),f.push(T)}function k(T){for(var I=f.length-1;I>=0;--I)f[I]===T&&f.splice(I,1)}function y(){_(),f=[]}function E(T,I){var M=null;if(!(I&&!u.collectWindowErrors)){for(var p in f)if(f.hasOwnProperty(p))try{f[p].apply(null,[T].concat(l.call(arguments,2)))}catch(h){M=h}if(M)throw M}}var b,r;function a(T,I,M,p,h){var c=null;if(t)u.computeStackTrace.augmentStackTraceWithInitialElement(t,I,M,T),C();else if(h)c=u.computeStackTrace(h),E(c,!0);else{var A={url:I,line:M,column:p},x=void 0,W=T,K;if({}.toString.call(T)==="[object String]"){var K=T.match(w);K&&(x=K[1],W=K[2])}A.func=v,c={name:x,message:W,url:S(),stack:[A]},E(c,!0)}return b?b.apply(this,arguments):!1}function P(){r||(b=R.onerror,R.onerror=a,r=!0)}function _(){r&&(R.onerror=b,r=!1,b=void 0)}function C(){var T=t,I=n;n=null,t=null,i=null,E.apply(null,[T,!1].concat(I))}function j(T,I){var M=l.call(arguments,1);if(t){if(i===T)return;C()}var p=u.computeStackTrace(T);if(t=p,i=T,n=M,setTimeout(function(){i===T&&C()},p.incomplete?2e3:0),I!==!1)throw T}return j.subscribe=g,j.unsubscribe=k,j.uninstall=y,j}(),u.computeStackTrace=function(){function f(y){return y.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function n(y){return f(y).replace("<","(?:<|&lt;)").replace(">","(?:>|&gt;)").replace("&","(?:&|&amp;)").replace('"','(?:"|&quot;)').replace(/\s+/g,"\\s+")}function i(y){if(!(typeof y.stack>"u"||!y.stack)){for(var E=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,b=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,r=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=y.stack.split(`
8
- `),P=[],_,C,j=/^(.*) is undefined$/.exec(y.message),T=0,I=a.length;T<I;++T){if(_=E.exec(a[T])){var M=_[2]&&_[2].indexOf("native")!==-1;C={url:M?null:_[2],func:_[1]||v,args:M?[_[2]]:[],line:_[3]?+_[3]:null,column:_[4]?+_[4]:null}}else if(_=r.exec(a[T]))C={url:_[2],func:_[1]||v,args:[],line:+_[3],column:_[4]?+_[4]:null};else if(_=b.exec(a[T]))C={url:_[3],func:_[1]||v,args:_[2]?_[2].split(","):[],line:_[4]?+_[4]:null,column:_[5]?+_[5]:null};else continue;!C.func&&C.line&&(C.func=v),P.push(C)}return P.length?(!P[0].column&&typeof y.columnNumber<"u"&&(P[0].column=y.columnNumber+1),{name:y.name,message:y.message,url:S(),stack:P}):null}}function t(y,E,b,r){var a={url:E,line:b};if(a.url&&a.line){if(y.incomplete=!1,a.func||(a.func=v),y.stack.length>0&&y.stack[0].url===a.url){if(y.stack[0].line===a.line)return!1;if(!y.stack[0].line&&y.stack[0].func===a.func)return y.stack[0].line=a.line,!1}return y.stack.unshift(a),y.partial=!0,!0}else y.incomplete=!0;return!1}function g(y,E){for(var b=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,r=[],a={},P=!1,_,C,j,T=g.caller;T&&!P;T=T.caller)if(!(T===k||T===u.report)){if(C={url:null,func:v,line:null,column:null},T.name?C.func=T.name:(_=b.exec(T.toString()))&&(C.func=_[1]),typeof C.func>"u")try{C.func=_.input.substring(0,_.input.indexOf("{"))}catch{}a[""+T]?P=!0:a[""+T]=!0,r.push(C)}E&&r.splice(0,E);var I={name:y.name,message:y.message,url:S(),stack:r};return t(I,y.sourceURL||y.fileName,y.line||y.lineNumber,y.message||y.description),I}function k(y,E){var b=null;E=E==null?0:+E;try{if(b=i(y),b)return b}catch(r){if(u.debug)throw r}try{if(b=g(y,E+1),b)return b}catch(r){if(u.debug)throw r}return{name:y.name,message:y.message,url:S()}}return k.augmentStackTraceWithInitialElement=t,k.computeStackTraceFromStackProp=i,k}();var d=u;o.default=d},"./packages/@logrocket/utils/src/constants/nps.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.DELIGHTED_FEEDBACK_PREFIX=o.DELIGHTED_RESPONSES_REGEX=o.WOOTRIC_RESPONSES_REGEX=void 0;var e=/^https:\/\/production.wootric.com\/responses/;o.WOOTRIC_RESPONSES_REGEX=e;var u=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/;o.DELIGHTED_RESPONSES_REGEX=u;var R="comment=";o.DELIGHTED_FEEDBACK_PREFIX=R},"./packages/@logrocket/utils/src/constants/statusCodes.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.getStatusText=d,o.XHR_CUSTOM_FAILURE_STATUSES=o.XHR_CUSTOM_STATUS_CODES=o.STATUS_CODES=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l,v={0:"",100:"Continue",101:"Switching Protocol",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"unused",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};o.STATUS_CODES=v;var w={error:0,timeout:444,aborted:499,offline:1001};o.XHR_CUSTOM_STATUS_CODES=w;var S=(l={},(0,R.default)(l,w.error,"Error"),(0,R.default)(l,w.timeout,"Timeout"),(0,R.default)(l,w.aborted,"Aborted"),(0,R.default)(l,w.offline,"Offline"),l);o.XHR_CUSTOM_FAILURE_STATUSES=S;function d(O){return v[String(O)]}},"./packages/@logrocket/utils/src/createUnsubListener.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.createUnsubListener=w,o.Handler=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),l=u(e("./node_modules/@babel/runtime/helpers/createClass.js")),v=function(){function S(d){(0,R.default)(this,S),this._value=void 0,this._value=d}return(0,l.default)(S,[{key:"get",value:function(){return this._value}},{key:"clear",value:function(){this._value=void 0}}]),S}();o.Handler=v;function w(S){return function(){S.clear()}}},"./packages/@logrocket/utils/src/enhanceFunc.ts":function(m,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=l;var u=e("./packages/@logrocket/utils/src/createUnsubListener.ts"),R=function(){};function l(v,w,S){if(typeof v[w]!="function")return R;try{var d=function(){for(var i,t=arguments.length,g=new Array(t),k=0;k<t;k++)g[k]=arguments[k];var y=O.apply(this,g);return(i=f.get())===null||i===void 0||i.apply(this,g),y},O=v[w],f=new u.Handler(S);return v[w]=d,function(){f.clear(),v[w]===d&&(v[w]=O)}}catch{return R}}},"./packages/@logrocket/utils/src/logError.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=typeof console<"u"&&console.error&&console.error.bind,u=e?console.error.bind(console):function(){},R=u;o.default=R},"./packages/@logrocket/utils/src/mapValues.ts":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=e;function e(u,R){if(u==null)return{};var l={};return Object.keys(u).forEach(function(v){l[v]=R(u[v])}),l}},"./packages/@logrocket/utils/src/parseRawHeaders.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawHeaders=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js"));function l(S,d){var O=Object.keys(S);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(S);d&&(f=f.filter(function(n){return Object.getOwnPropertyDescriptor(S,n).enumerable})),O.push.apply(O,f)}return O}function v(S){for(var d=1;d<arguments.length;d++){var O=arguments[d]!=null?arguments[d]:{};d%2?l(Object(O),!0).forEach(function(f){(0,R.default)(S,f,O[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(O)):l(Object(O)).forEach(function(f){Object.defineProperty(S,f,Object.getOwnPropertyDescriptor(O,f))})}return S}var w=function(d){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return d.split(/[\r\n]+/).reduce(function(f,n){var i=n.indexOf(":"),t=n.substring(0,i),g=n.substring(i+1).trim(),k=O.lowerCaseKeys?t.toLowerCase():t;return v(v({},f),{},(0,R.default)({},k,typeof f[t]=="string"?"".concat(f[t],", ").concat(g):g))},{})};o.parseRawHeaders=w},"./packages/@logrocket/utils/src/protectFunc.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=v;var R=u(e("./packages/@logrocket/utils/src/sendTelemetryData.js")),l=u(e("./packages/@logrocket/utils/src/logError.js"));function v(w){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};return function(){var d;try{d=w.apply(void 0,arguments)}catch(f){if(typeof window<"u"&&window._lrdebug)throw f;var O=S(f);(0,l.default)("LogRocket",f),(0,R.default)(f,O)}return d}}},"./packages/@logrocket/utils/src/scrubException.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.scrubException=f;var R=u(e("./node_modules/@babel/runtime/helpers/typeof.js"));function l(n,i){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=v(n))||i&&n&&typeof n.length=="number"){t&&(n=t);var g=0,k=function(){};return{s:k,n:function(){return g>=n.length?{done:!0}:{done:!1,value:n[g++]}},e:function(a){throw a},f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,E=!1,b;return{s:function(){t=t.call(n)},n:function(){var a=t.next();return y=a.done,a},e:function(a){E=!0,b=a},f:function(){try{!y&&t.return!=null&&t.return()}finally{if(E)throw b}}}}function v(n,i){if(n){if(typeof n=="string")return w(n,i);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return w(n,i)}}function w(n,i){(i==null||i>n.length)&&(i=n.length);for(var t=0,g=new Array(i);t<i;t++)g[t]=n[t];return g}function S(n){return/boolean|number|string/.test((0,R.default)(n))}var d=["level","logger"],O=["tags","extra"];function f(n,i){if(i){var t=l(d),g;try{for(t.s();!(g=t.n()).done;){var k=g.value,y=i[k];S(y)&&(n[k]=y.toString())}}catch(I){t.e(I)}finally{t.f()}var E=l(O),b;try{for(E.s();!(b=E.n()).done;){for(var r=b.value,a=i[r]||{},P={},_=0,C=Object.keys(a);_<C.length;_++){var j=C[_],T=a[j];S(T)&&(P[j.toString()]=T.toString())}n[r]=P}}catch(I){E.e(I)}finally{E.f()}}}},"./packages/@logrocket/utils/src/sendTelemetryData.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.sendTelemetry=f,o.default=n;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./packages/@logrocket/utils/src/logError.js")),v=u(e("./packages/@logrocket/utils/src/TraceKit.js"));function w(i,t){var g=Object.keys(i);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(i);t&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(i,y).enumerable})),g.push.apply(g,k)}return g}function S(i){for(var t=1;t<arguments.length;t++){var g=arguments[t]!=null?arguments[t]:{};t%2?w(Object(g),!0).forEach(function(k){(0,R.default)(i,k,g[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(g)):w(Object(g)).forEach(function(k){Object.defineProperty(i,k,Object.getOwnPropertyDescriptor(g,k))})}return i}var d="c6f6e11c10b0c0daa2223c3bf1ca4f7e01fd93d1";function O(i){try{var t,g,k=i.message,y="https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793",E=JSON.stringify(S({message:k,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":typeof navigator<"u"&&navigator.userAgent},url:typeof location<"u"&&location.href},release:d,environment:typeof window<"u"&&(t=(g=window.__SDKCONFIG__)===null||g===void 0?void 0:g.scriptEnv)!==null&&t!==void 0?t:"prod"},i));if(typeof window<"u"){var b=window._lrXMLHttpRequest||XMLHttpRequest,r=new b;r.open("POST",y),r.send(E)}else typeof fetch<"u"&&fetch(y,{method:"POST",body:E}).catch(function(a){(0,l.default)("Failed to send via fetch",a)})}catch(a){(0,l.default)("Failed to send",a)}}function f(i,t){if(typeof window<"u"&&window._lrdebug)return void(0,l.default)(i);t&&t.extra&&t.extra.appID&&typeof t.extra.appID.indexOf=="function"&&t.extra.appID.indexOf("au2drp/")===0&&Math.random()>=.25||O(S({message:i},t))}function n(i,t){try{var g=i.message,k;try{k=JSON.stringify(t).slice(0,1e3)}catch{try{k="Could not stringify payload: ".concat(Object.prototype.toString.call(t))}catch{}}var y;try{y=v.default.computeStackTrace(i).stack.map(function(E){return{filename:E.url,lineno:E.line,colno:E.column,function:E.func||"?"}})}catch{}O({message:g,extra:{stringPayload:k},exception:{values:[{type:i.type,value:g,stacktrace:{frames:y}}]}})}catch(E){(0,l.default)("Failed to send",E)}}},"./packages/@logrocket/utils/src/startsWith.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=e;function e(u,R){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return u&&R&&u.substring(l,l+R.length)===R}},"./packages/logrocket/src/LogRocket.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=o.MAX_QUEUE_SIZE=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),l=u(e("./node_modules/@babel/runtime/helpers/createClass.js")),v=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),w=u(e("./node_modules/@babel/runtime/helpers/objectWithoutProperties.js")),S=u(e("./packages/@logrocket/network/src/index.js")),d=e("./packages/@logrocket/exceptions/src/index.js"),O=u(e("./packages/@logrocket/console/src/index.js")),f=e("./packages/@logrocket/redux/src/index.js"),n=u(e("./packages/@logrocket/utils/src/sendTelemetryData.js"));function i(E,b){var r=Object.keys(E);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(E);b&&(a=a.filter(function(P){return Object.getOwnPropertyDescriptor(E,P).enumerable})),r.push.apply(r,a)}return r}function t(E){for(var b=1;b<arguments.length;b++){var r=arguments[b]!=null?arguments[b]:{};b%2?i(Object(r),!0).forEach(function(a){(0,v.default)(E,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(a){Object.defineProperty(E,a,Object.getOwnPropertyDescriptor(r,a))})}return E}var g=1e3;o.MAX_QUEUE_SIZE=g;var k=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=b.ingestServer,a=(0,w.default)(b,["ingestServer"]);return r?t({serverURL:"".concat(r,"/i"),statsURL:"".concat(r,"/s")},a):a},y=function(){function E(){var b=this;(0,R.default)(this,E),this._buffer=[],["log","info","warn","error","debug"].forEach(function(r){b[r]=function(){for(var a=arguments.length,P=new Array(a),_=0;_<a;_++)P[_]=arguments[_];b.addEvent("lr.core.LogEvent",function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return r==="error"&&C.shouldAggregateConsoleErrors&&d.Capture.captureMessage(b,P[0],P,{},!0),{logLevel:r.toUpperCase(),args:P}},{shouldCaptureStackTrace:!0})}}),this._isInitialized=!1,this._installed=[],window._lr_surl_cb=this.getSessionURL.bind(this)}return(0,l.default)(E,[{key:"addEvent",value:function(r,a){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_=Date.now();this._run(function(C){C.addEvent(r,a,t(t({},P),{},{timeOverride:_}))})}},{key:"onLogger",value:function(r){for(this._logger=r;this._buffer.length>0;){var a=this._buffer.shift();a(this._logger)}}},{key:"_run",value:function(r){if(!this._isDisabled)if(this._logger)r(this._logger);else{if(this._buffer.length>=g){this._isDisabled=!0,this.uninstall();return}this._buffer.push(r.bind(this))}}},{key:"_initInternal",value:function(r,a){if(!this._isInitialized){var P,_=a.shouldAugmentNPS,C=_===void 0?!0:_,j=a.shouldParseXHRBlob,T=j===void 0?!1:j,I=a.shouldDetectExceptions,M=I===void 0?!0:I;M&&this._installed.push((0,d.registerExceptions)(this)),this._installed.push((0,S.default)(this,{shouldAugmentNPS:!!C,shouldParseXHRBlob:!!T,isDisabled:(a==null||(P=a.network)===null||P===void 0?void 0:P.isEnabled)===!1})),this._installed.push((0,O.default)(this)),this._isInitialized=!0,this._run(function(p){p.init(r,k(a))})}}},{key:"init",value:function(r){var a,P,_,C,j,T=this,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=((a=window)===null||a===void 0||(P=a.Zone)===null||P===void 0?void 0:P.root)||((_=window)===null||_===void 0||(C=_.Zone)===null||C===void 0||(j=C.current)===null||j===void 0?void 0:j._parent);if(M&&typeof M.run=="function")try{M.run(function(){T._initInternal(r,I)});return}catch(p){(0,n.default)(p)}this._initInternal(r,I)}},{key:"start",value:function(){this._run(function(r){r.start()})}},{key:"uninstall",value:function(){this._installed.forEach(function(r){return r()}),this._buffer=[],this._run(function(r){r.uninstall()})}},{key:"identify",value:function(r,a){this._run(function(P){P.identify(r,a)})}},{key:"startNewSession",value:function(){this._run(function(r){r.startNewSession()})}},{key:"track",value:function(r,a){this._run(function(P){P.track(r,a)})}},{key:"getSessionURL",value:function(r){if(typeof r!="function")throw new Error("LogRocket: must pass callback to getSessionURL()");this._run(function(a){a.getSessionURL?a.getSessionURL(r):r(a.recordingURL)})}},{key:"trackScrollEvent",value:function(r){this._logger&&this._logger.trackScrollEvent(r)}},{key:"getVersion",value:function(r){this._run(function(a){r(a.version)})}},{key:"captureMessage",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};d.Capture.captureMessage(this,r,[r],a)}},{key:"captureException",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};d.Capture.captureException(this,r,a)}},{key:"version",get:function(){return this._logger&&this._logger.version}},{key:"sessionURL",get:function(){return this._logger&&this._logger.recordingURL}},{key:"recordingURL",get:function(){return this._logger&&this._logger.recordingURL}},{key:"recordingID",get:function(){return this._logger&&this._logger.recordingID}},{key:"threadID",get:function(){return this._logger&&this._logger.threadID}},{key:"tabID",get:function(){return this._logger&&this._logger.tabID}},{key:"reduxEnhancer",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,f.createEnhancer)(this,r)}},{key:"reduxMiddleware",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,f.createMiddleware)(this,r)}},{key:"isDisabled",get:function(){return!!(this._isDisabled||this._logger&&this._logger._isDisabled)}}]),E}();o.default=y},"./packages/logrocket/src/makeLogRocket.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=w;var R=u(e("./packages/logrocket/src/LogRocket.js")),l="LogRocket on React Native requires the LogRocket React Native specific SDK. See setup guide here https://docs.logrocket.com/reference/react-native.",v=function(){return{init:function(){},uninstall:function(){},log:function(){},info:function(){},warn:function(){},error:function(){},debug:function(){},addEvent:function(){},identify:function(){},start:function(){},get threadID(){return null},get recordingID(){return null},get recordingURL(){return null},reduxEnhancer:function(){return function(O){return function(){return O.apply(void 0,arguments)}}},reduxMiddleware:function(){return function(){return function(O){return function(f){return O(f)}}}},track:function(){},getSessionURL:function(){},getVersion:function(){},startNewSession:function(){},onLogger:function(){},setClock:function(){},captureMessage:function(){},captureException:function(){}}};function w(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v,O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){return new R.default};if(typeof navigator<"u"&&navigator.product==="ReactNative")throw new Error(l);if(typeof window<"u"){if(window._disableLogRocket)return d();if(window.MutationObserver&&window.WeakMap){window._lrMutationObserver=window.MutationObserver;var f=O();return S(f),f}}return v()}},"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js":function(m){function o(e,u){(u==null||u>e.length)&&(u=e.length);for(var R=0,l=new Array(u);R<u;R++)l[R]=e[R];return l}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");function R(l){if(Array.isArray(l))return u(l)}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(m){function o(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function R(v,w){for(var S=0;S<w.length;S++){var d=w[S];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(v,u(d.key),d)}}function l(v,w,S){return w&&R(v.prototype,w),S&&R(v,S),Object.defineProperty(v,"prototype",{writable:!1}),v}m.exports=l,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/defineProperty.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function R(l,v,w){return v=u(v),v in l?Object.defineProperty(l,v,{value:w,enumerable:!0,configurable:!0,writable:!0}):l[v]=w,l}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/interopRequireDefault.js":function(m){function o(e){return e&&e.__esModule?e:{default:e}}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/iterableToArray.js":function(m){function o(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/nonIterableSpread.js":function(m){function o(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
10
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");function R(l,v){if(l==null)return{};var w=u(l,v),S,d;if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(l);for(d=0;d<O.length;d++)S=O[d],!(v.indexOf(S)>=0)&&Object.prototype.propertyIsEnumerable.call(l,S)&&(w[S]=l[S])}return w}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":function(m){function o(e,u){if(e==null)return{};var R={},l=Object.keys(e),v,w;for(w=0;w<l.length;w++)v=l[w],!(u.indexOf(v)>=0)&&(R[v]=e[v]);return R}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/toConsumableArray.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),R=e("./node_modules/@babel/runtime/helpers/iterableToArray.js"),l=e("./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),v=e("./node_modules/@babel/runtime/helpers/nonIterableSpread.js");function w(S){return u(S)||R(S)||l(S)||v()}m.exports=w,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/typeof.js").default;function R(l,v){if(u(l)!=="object"||l===null)return l;var w=l[Symbol.toPrimitive];if(w!==void 0){var S=w.call(l,v||"default");if(u(S)!=="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(v==="string"?String:Number)(l)}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/typeof.js").default,R=e("./node_modules/@babel/runtime/helpers/toPrimitive.js");function l(v){var w=R(v,"string");return u(w)==="symbol"?w:String(w)}m.exports=l,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(m){function o(e){"@babel/helpers - typeof";return m.exports=o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},m.exports.__esModule=!0,m.exports.default=m.exports,o(e)}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");function R(l,v){if(l){if(typeof l=="string")return u(l,v);var w=Object.prototype.toString.call(l).slice(8,-1);if(w==="Object"&&l.constructor&&(w=l.constructor.name),w==="Map"||w==="Set")return Array.from(l);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return u(l,v)}}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports}},V={};function Z(m){var o=V[m];if(o!==void 0)return o.exports;var e=V[m]={exports:{}};return B[m](e,e.exports,Z),e.exports}(function(){Z.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()})();var re={};return function(){"use strict";var m=re;/*!*****************************************!*\
7
+ `,"<").concat(U,"|View LogRocket session>")}return z}).join("&");F[0]=H}}catch{}return W.apply(this,F)}a&&(c.open=x,c.send=K);var J=function(){var F;if(!T){var s=j.get(c);if(!(!s||O("".concat(I).concat(s.xhrId)))&&!(!s.sent||!s.done)){var L=s.status||d.XHR_CUSTOM_STATUS_CODES.error;L===d.XHR_CUSTOM_STATUS_CODES.error&&((F=window.navigator)===null||F===void 0?void 0:F.onLine)===!1&&(L=d.XHR_CUSTOM_STATUS_CODES.offline);var D={url:s.url,status:L,headers:s.responseHeaders,body:s.responseBody,method:(s.method||"").toUpperCase()};if(_&&D.body instanceof Blob){var U=new FileReader;U.readAsText(D.body),U.onload=function(){try{D.body=JSON.parse(U.result)}catch{}y("".concat(I).concat(s.xhrId),D)}}else y("".concat(I).concat(s.xhrId),D)}}};(0,l.default)(c,"open",(0,v.default)(function(N,F){if(!T){var s=j.get(c);s.method=N,s.url=F}})),(0,l.default)(c,"send",(0,v.default)(function(N){if(!T){var F=j.get(c);if(F){var s={url:F.url,method:F.method&&F.method.toUpperCase(),headers:(0,R.default)(F.requestHeaders||{},function(L){return L.join(", ")}),body:N,initiatorType:"XHR"};k("".concat(I).concat(F.xhrId),s),F.sent=!0,J()}}})),(0,l.default)(c,"setRequestHeader",(0,v.default)(function(N,F){if(!T){var s=j.get(c);s&&(s.requestHeaders=s.requestHeaders||{},s.requestHeaders[N]=s.requestHeaders[N]||[],s.requestHeaders[N].push(F))}}));var G={readystatechange:(0,v.default)(function(){if(!T&&c.readyState===4){var N=j.get(c);if(!N||O("".concat(I).concat(N.xhrId)))return;var F=c.getAllResponseHeaders()||"";N.responseHeaders=(0,E.parseRawHeaders)(F);var s;try{switch(c.responseType){case"json":s=b._shouldCloneResponse?JSON.parse(JSON.stringify(c.response)):c.response;break;case"arraybuffer":case"blob":{_?s=c.response:s="LogRocket skipped consuming a binary body.";break}case"document":{s=c.responseXML;break}case"text":case"":{s=c.responseText;break}default:s=""}}catch{s="LogRocket: Error accessing response."}N.responseBody=s,N.status=c.status,N.done=!0}}),abort:(0,v.default)(function(){var N=j.get(c);N&&(N.status=d.XHR_CUSTOM_STATUS_CODES.aborted)}),timeout:(0,v.default)(function(){var N=j.get(c);N&&(N.status=d.XHR_CUSTOM_STATUS_CODES.timeout)}),loadend:(0,v.default)(function(){J()})};return Object.keys(G).forEach(function(N){c.addEventListener(N,G[N])}),c},XMLHttpRequest.prototype=C.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach(function(M){XMLHttpRequest[M]=C[M]}),function(){T=!0,XMLHttpRequest=C}}},"./packages/@logrocket/now/src/index.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=Date.now.bind(Date),u=e(),R=typeof performance<"u"&&performance.now?performance.now.bind(performance):function(){return e()-u};o.default=R},"./packages/@logrocket/redux/src/createEnhancer.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=d;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./packages/@logrocket/now/src/index.js"));function v(E,f){var n=Object.keys(E);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(E);f&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(E,t).enumerable})),n.push.apply(n,i)}return n}function w(E){for(var f=1;f<arguments.length;f++){var n=arguments[f]!=null?arguments[f]:{};f%2?v(Object(n),!0).forEach(function(i){(0,R.default)(E,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(i){Object.defineProperty(E,i,Object.getOwnPropertyDescriptor(n,i))})}return E}var S=0;function d(E){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=f.stateSanitizer,i=n===void 0?function(k){return k}:n,t=f.actionSanitizer,g=t===void 0?function(k){return k}:t;return function(k){return function(y,O,b){var r=k(y,O,b),a=r.dispatch,P=S++;E.addEvent("lr.redux.InitialState",function(){var C;try{C=i(r.getState())}catch(j){console.error(j.toString())}return{state:C,storeId:P}});var _=function(j){var T=(0,l.default)(),I,M;try{M=a(j)}catch(h){I=h}finally{var p=(0,l.default)()-T;E.addEvent("lr.redux.ReduxAction",function(){var h=null,c=null;try{h=i(r.getState()),c=g(j)}catch(A){console.error(A.toString())}return h&&c?{storeId:P,action:c,duration:p,stateDelta:h}:null})}if(I)throw I;return M};return w(w({},r),{},{dispatch:_})}}}},"./packages/@logrocket/redux/src/createMiddleware.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=v;var R=u(e("./packages/@logrocket/now/src/index.js")),l=0;function v(w){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=S.stateSanitizer,E=d===void 0?function(i){return i}:d,f=S.actionSanitizer,n=f===void 0?function(i){return i}:f;return function(i){var t=l++;return w.addEvent("lr.redux.InitialState",function(){var g;try{g=E(i.getState())}catch(k){console.error(k.toString())}return{state:g,storeId:t}}),function(g){return function(k){var y=(0,R.default)(),O,b;try{b=g(k)}catch(a){O=a}finally{var r=(0,R.default)()-y;w.addEvent("lr.redux.ReduxAction",function(){var a=null,P=null;try{a=E(i.getState()),P=n(k)}catch(_){console.error(_.toString())}return a&&P?{storeId:t,action:P,duration:r,stateDelta:a}:null})}if(O)throw O;return b}}}}},"./packages/@logrocket/redux/src/index.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"createEnhancer",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(o,"createMiddleware",{enumerable:!0,get:function(){return l.default}});var R=u(e("./packages/@logrocket/redux/src/createEnhancer.js")),l=u(e("./packages/@logrocket/redux/src/createMiddleware.js"))},"./packages/@logrocket/utils/src/TraceKit.js":function(m,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var u={collectWindowErrors:!0,debug:!1},R=typeof window<"u"?window:typeof e.g<"u"?e.g:typeof self<"u"?self:{},l=[].slice,v="?",w=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function S(){return typeof document>"u"||typeof document.location>"u"?"":document.location.href}u.report=function(){var f=[],n=null,i=null,t=null;function g(T){P(),f.push(T)}function k(T){for(var I=f.length-1;I>=0;--I)f[I]===T&&f.splice(I,1)}function y(){_(),f=[]}function O(T,I){var M=null;if(!(I&&!u.collectWindowErrors)){for(var p in f)if(f.hasOwnProperty(p))try{f[p].apply(null,[T].concat(l.call(arguments,2)))}catch(h){M=h}if(M)throw M}}var b,r;function a(T,I,M,p,h){var c=null;if(t)u.computeStackTrace.augmentStackTraceWithInitialElement(t,I,M,T),C();else if(h)c=u.computeStackTrace(h),O(c,!0);else{var A={url:I,line:M,column:p},x=void 0,W=T,K;if({}.toString.call(T)==="[object String]"){var K=T.match(w);K&&(x=K[1],W=K[2])}A.func=v,c={name:x,message:W,url:S(),stack:[A]},O(c,!0)}return b?b.apply(this,arguments):!1}function P(){r||(b=R.onerror,R.onerror=a,r=!0)}function _(){r&&(R.onerror=b,r=!1,b=void 0)}function C(){var T=t,I=n;n=null,t=null,i=null,O.apply(null,[T,!1].concat(I))}function j(T,I){var M=l.call(arguments,1);if(t){if(i===T)return;C()}var p=u.computeStackTrace(T);if(t=p,i=T,n=M,setTimeout(function(){i===T&&C()},p.incomplete?2e3:0),I!==!1)throw T}return j.subscribe=g,j.unsubscribe=k,j.uninstall=y,j}(),u.computeStackTrace=function(){function f(y){return y.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function n(y){return f(y).replace("<","(?:<|&lt;)").replace(">","(?:>|&gt;)").replace("&","(?:&|&amp;)").replace('"','(?:"|&quot;)').replace(/\s+/g,"\\s+")}function i(y){if(!(typeof y.stack>"u"||!y.stack)){for(var O=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,b=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,r=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=y.stack.split(`
8
+ `),P=[],_,C,j=/^(.*) is undefined$/.exec(y.message),T=0,I=a.length;T<I;++T){if(_=O.exec(a[T])){var M=_[2]&&_[2].indexOf("native")!==-1;C={url:M?null:_[2],func:_[1]||v,args:M?[_[2]]:[],line:_[3]?+_[3]:null,column:_[4]?+_[4]:null}}else if(_=r.exec(a[T]))C={url:_[2],func:_[1]||v,args:[],line:+_[3],column:_[4]?+_[4]:null};else if(_=b.exec(a[T]))C={url:_[3],func:_[1]||v,args:_[2]?_[2].split(","):[],line:_[4]?+_[4]:null,column:_[5]?+_[5]:null};else continue;!C.func&&C.line&&(C.func=v),P.push(C)}return P.length?(!P[0].column&&typeof y.columnNumber<"u"&&(P[0].column=y.columnNumber+1),{name:y.name,message:y.message,url:S(),stack:P}):null}}function t(y,O,b,r){var a={url:O,line:b};if(a.url&&a.line){if(y.incomplete=!1,a.func||(a.func=v),y.stack.length>0&&y.stack[0].url===a.url){if(y.stack[0].line===a.line)return!1;if(!y.stack[0].line&&y.stack[0].func===a.func)return y.stack[0].line=a.line,!1}return y.stack.unshift(a),y.partial=!0,!0}else y.incomplete=!0;return!1}function g(y,O){for(var b=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,r=[],a={},P=!1,_,C,j,T=g.caller;T&&!P;T=T.caller)if(!(T===k||T===u.report)){if(C={url:null,func:v,line:null,column:null},T.name?C.func=T.name:(_=b.exec(T.toString()))&&(C.func=_[1]),typeof C.func>"u")try{C.func=_.input.substring(0,_.input.indexOf("{"))}catch{}a[""+T]?P=!0:a[""+T]=!0,r.push(C)}O&&r.splice(0,O);var I={name:y.name,message:y.message,url:S(),stack:r};return t(I,y.sourceURL||y.fileName,y.line||y.lineNumber,y.message||y.description),I}function k(y,O){var b=null;O=O==null?0:+O;try{if(b=i(y),b)return b}catch(r){if(u.debug)throw r}try{if(b=g(y,O+1),b)return b}catch(r){if(u.debug)throw r}return{name:y.name,message:y.message,url:S()}}return k.augmentStackTraceWithInitialElement=t,k.computeStackTraceFromStackProp=i,k}();var d=u;o.default=d},"./packages/@logrocket/utils/src/constants/nps.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.DELIGHTED_FEEDBACK_PREFIX=o.DELIGHTED_RESPONSES_REGEX=o.WOOTRIC_RESPONSES_REGEX=void 0;var e=/^https:\/\/production.wootric.com\/responses/;o.WOOTRIC_RESPONSES_REGEX=e;var u=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/;o.DELIGHTED_RESPONSES_REGEX=u;var R="comment=";o.DELIGHTED_FEEDBACK_PREFIX=R},"./packages/@logrocket/utils/src/constants/statusCodes.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.getStatusText=d,o.XHR_CUSTOM_FAILURE_STATUSES=o.XHR_CUSTOM_STATUS_CODES=o.STATUS_CODES=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l,v={0:"",100:"Continue",101:"Switching Protocol",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"unused",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};o.STATUS_CODES=v;var w={error:0,timeout:444,aborted:499,offline:1001};o.XHR_CUSTOM_STATUS_CODES=w;var S=(l={},(0,R.default)(l,w.error,"Error"),(0,R.default)(l,w.timeout,"Timeout"),(0,R.default)(l,w.aborted,"Aborted"),(0,R.default)(l,w.offline,"Offline"),l);o.XHR_CUSTOM_FAILURE_STATUSES=S;function d(E){return v[String(E)]}},"./packages/@logrocket/utils/src/createUnsubListener.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.createUnsubListener=w,o.Handler=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),l=u(e("./node_modules/@babel/runtime/helpers/createClass.js")),v=function(){function S(d){(0,R.default)(this,S),this._value=void 0,this._value=d}return(0,l.default)(S,[{key:"get",value:function(){return this._value}},{key:"clear",value:function(){this._value=void 0}}]),S}();o.Handler=v;function w(S){return function(){S.clear()}}},"./packages/@logrocket/utils/src/enhanceFunc.ts":function(m,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=l;var u=e("./packages/@logrocket/utils/src/createUnsubListener.ts"),R=function(){};function l(v,w,S){if(typeof v[w]!="function")return R;try{var d=function(){for(var i,t=arguments.length,g=new Array(t),k=0;k<t;k++)g[k]=arguments[k];var y=E.apply(this,g);return(i=f.get())===null||i===void 0||i.apply(this,g),y},E=v[w],f=new u.Handler(S);return v[w]=d,function(){f.clear(),v[w]===d&&(v[w]=E)}}catch{return R}}},"./packages/@logrocket/utils/src/logError.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=typeof console<"u"&&console.error&&console.error.bind,u=e?console.error.bind(console):function(){},R=u;o.default=R},"./packages/@logrocket/utils/src/mapValues.ts":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=e;function e(u,R){if(u==null)return{};var l={};return Object.keys(u).forEach(function(v){l[v]=R(u[v])}),l}},"./packages/@logrocket/utils/src/parseRawHeaders.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawHeaders=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js"));function l(S,d){var E=Object.keys(S);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(S);d&&(f=f.filter(function(n){return Object.getOwnPropertyDescriptor(S,n).enumerable})),E.push.apply(E,f)}return E}function v(S){for(var d=1;d<arguments.length;d++){var E=arguments[d]!=null?arguments[d]:{};d%2?l(Object(E),!0).forEach(function(f){(0,R.default)(S,f,E[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(E)):l(Object(E)).forEach(function(f){Object.defineProperty(S,f,Object.getOwnPropertyDescriptor(E,f))})}return S}var w=function(d){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return d.split(/[\r\n]+/).reduce(function(f,n){var i=n.indexOf(":"),t=n.substring(0,i),g=n.substring(i+1).trim(),k=E.lowerCaseKeys?t.toLowerCase():t;return v(v({},f),{},(0,R.default)({},k,typeof f[t]=="string"?"".concat(f[t],", ").concat(g):g))},{})};o.parseRawHeaders=w},"./packages/@logrocket/utils/src/protectFunc.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=v;var R=u(e("./packages/@logrocket/utils/src/sendTelemetryData.js")),l=u(e("./packages/@logrocket/utils/src/logError.js"));function v(w){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};return function(){var d;try{d=w.apply(void 0,arguments)}catch(f){if(typeof window<"u"&&window._lrdebug)throw f;var E=S(f);(0,l.default)("LogRocket",f),(0,R.default)(f,E)}return d}}},"./packages/@logrocket/utils/src/scrubException.ts":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.scrubException=f;var R=u(e("./node_modules/@babel/runtime/helpers/typeof.js"));function l(n,i){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=v(n))||i&&n&&typeof n.length=="number"){t&&(n=t);var g=0,k=function(){};return{s:k,n:function(){return g>=n.length?{done:!0}:{done:!1,value:n[g++]}},e:function(a){throw a},f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,O=!1,b;return{s:function(){t=t.call(n)},n:function(){var a=t.next();return y=a.done,a},e:function(a){O=!0,b=a},f:function(){try{!y&&t.return!=null&&t.return()}finally{if(O)throw b}}}}function v(n,i){if(n){if(typeof n=="string")return w(n,i);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return w(n,i)}}function w(n,i){(i==null||i>n.length)&&(i=n.length);for(var t=0,g=new Array(i);t<i;t++)g[t]=n[t];return g}function S(n){return/boolean|number|string/.test((0,R.default)(n))}var d=["level","logger"],E=["tags","extra"];function f(n,i){if(i){var t=l(d),g;try{for(t.s();!(g=t.n()).done;){var k=g.value,y=i[k];S(y)&&(n[k]=y.toString())}}catch(I){t.e(I)}finally{t.f()}var O=l(E),b;try{for(O.s();!(b=O.n()).done;){for(var r=b.value,a=i[r]||{},P={},_=0,C=Object.keys(a);_<C.length;_++){var j=C[_],T=a[j];S(T)&&(P[j.toString()]=T.toString())}n[r]=P}}catch(I){O.e(I)}finally{O.f()}}}},"./packages/@logrocket/utils/src/sendTelemetryData.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.sendTelemetry=f,o.default=n;var R=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),l=u(e("./packages/@logrocket/utils/src/logError.js")),v=u(e("./packages/@logrocket/utils/src/TraceKit.js"));function w(i,t){var g=Object.keys(i);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(i);t&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(i,y).enumerable})),g.push.apply(g,k)}return g}function S(i){for(var t=1;t<arguments.length;t++){var g=arguments[t]!=null?arguments[t]:{};t%2?w(Object(g),!0).forEach(function(k){(0,R.default)(i,k,g[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(g)):w(Object(g)).forEach(function(k){Object.defineProperty(i,k,Object.getOwnPropertyDescriptor(g,k))})}return i}var d="c6f6e11c10b0c0daa2223c3bf1ca4f7e01fd93d1";function E(i){try{var t,g,k=i.message,y="https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793",O=JSON.stringify(S({message:k,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":typeof navigator<"u"&&navigator.userAgent},url:typeof location<"u"&&location.href},release:d,environment:typeof window<"u"&&(t=(g=window.__SDKCONFIG__)===null||g===void 0?void 0:g.scriptEnv)!==null&&t!==void 0?t:"prod"},i));if(typeof window<"u"){var b=window._lrXMLHttpRequest||XMLHttpRequest,r=new b;r.open("POST",y),r.send(O)}else typeof fetch<"u"&&fetch(y,{method:"POST",body:O}).catch(function(a){(0,l.default)("Failed to send via fetch",a)})}catch(a){(0,l.default)("Failed to send",a)}}function f(i,t){if(typeof window<"u"&&window._lrdebug)return void(0,l.default)(i);t&&t.extra&&t.extra.appID&&typeof t.extra.appID.indexOf=="function"&&t.extra.appID.indexOf("au2drp/")===0&&Math.random()>=.25||E(S({message:i},t))}function n(i,t){try{var g=i.message,k;try{k=JSON.stringify(t).slice(0,1e3)}catch{try{k="Could not stringify payload: ".concat(Object.prototype.toString.call(t))}catch{}}var y;try{y=v.default.computeStackTrace(i).stack.map(function(O){return{filename:O.url,lineno:O.line,colno:O.column,function:O.func||"?"}})}catch{}E({message:g,extra:{stringPayload:k},exception:{values:[{type:i.type,value:g,stacktrace:{frames:y}}]}})}catch(O){(0,l.default)("Failed to send",O)}}},"./packages/@logrocket/utils/src/startsWith.js":function(m,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=e;function e(u,R){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return u&&R&&u.substring(l,l+R.length)===R}},"./packages/logrocket/src/LogRocket.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=o.MAX_QUEUE_SIZE=void 0;var R=u(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),l=u(e("./node_modules/@babel/runtime/helpers/createClass.js")),v=u(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),w=u(e("./node_modules/@babel/runtime/helpers/objectWithoutProperties.js")),S=u(e("./packages/@logrocket/network/src/index.js")),d=e("./packages/@logrocket/exceptions/src/index.js"),E=u(e("./packages/@logrocket/console/src/index.js")),f=e("./packages/@logrocket/redux/src/index.js"),n=u(e("./packages/@logrocket/utils/src/sendTelemetryData.js"));function i(O,b){var r=Object.keys(O);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(O);b&&(a=a.filter(function(P){return Object.getOwnPropertyDescriptor(O,P).enumerable})),r.push.apply(r,a)}return r}function t(O){for(var b=1;b<arguments.length;b++){var r=arguments[b]!=null?arguments[b]:{};b%2?i(Object(r),!0).forEach(function(a){(0,v.default)(O,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(a){Object.defineProperty(O,a,Object.getOwnPropertyDescriptor(r,a))})}return O}var g=1e3;o.MAX_QUEUE_SIZE=g;var k=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=b.ingestServer,a=(0,w.default)(b,["ingestServer"]);return r?t({serverURL:"".concat(r,"/i"),statsURL:"".concat(r,"/s")},a):a},y=function(){function O(){var b=this;(0,R.default)(this,O),this._buffer=[],["log","info","warn","error","debug"].forEach(function(r){b[r]=function(){for(var a=arguments.length,P=new Array(a),_=0;_<a;_++)P[_]=arguments[_];b.addEvent("lr.core.LogEvent",function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return r==="error"&&C.shouldAggregateConsoleErrors&&d.Capture.captureMessage(b,P[0],P,{},!0),{logLevel:r.toUpperCase(),args:P}},{shouldCaptureStackTrace:!0})}}),this._isInitialized=!1,this._installed=[],window._lr_surl_cb=this.getSessionURL.bind(this)}return(0,l.default)(O,[{key:"addEvent",value:function(r,a){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_=Date.now();this._run(function(C){C.addEvent(r,a,t(t({},P),{},{timeOverride:_}))})}},{key:"onLogger",value:function(r){for(this._logger=r;this._buffer.length>0;){var a=this._buffer.shift();a(this._logger)}}},{key:"_run",value:function(r){if(!this._isDisabled)if(this._logger)r(this._logger);else{if(this._buffer.length>=g){this._isDisabled=!0,this.uninstall();return}this._buffer.push(r.bind(this))}}},{key:"_initInternal",value:function(r,a){if(!this._isInitialized){var P,_=a.shouldAugmentNPS,C=_===void 0?!0:_,j=a.shouldParseXHRBlob,T=j===void 0?!1:j,I=a.shouldDetectExceptions,M=I===void 0?!0:I;M&&this._installed.push((0,d.registerExceptions)(this)),this._installed.push((0,S.default)(this,{shouldAugmentNPS:!!C,shouldParseXHRBlob:!!T,isDisabled:(a==null||(P=a.network)===null||P===void 0?void 0:P.isEnabled)===!1})),this._installed.push((0,E.default)(this)),this._isInitialized=!0,this._run(function(p){p.init(r,k(a))})}}},{key:"init",value:function(r){var a,P,_,C,j,T=this,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=((a=window)===null||a===void 0||(P=a.Zone)===null||P===void 0?void 0:P.root)||((_=window)===null||_===void 0||(C=_.Zone)===null||C===void 0||(j=C.current)===null||j===void 0?void 0:j._parent);if(M&&typeof M.run=="function")try{M.run(function(){T._initInternal(r,I)});return}catch(p){(0,n.default)(p)}this._initInternal(r,I)}},{key:"start",value:function(){this._run(function(r){r.start()})}},{key:"uninstall",value:function(){this._installed.forEach(function(r){return r()}),this._buffer=[],this._run(function(r){r.uninstall()})}},{key:"identify",value:function(r,a){this._run(function(P){P.identify(r,a)})}},{key:"startNewSession",value:function(){this._run(function(r){r.startNewSession()})}},{key:"track",value:function(r,a){this._run(function(P){P.track(r,a)})}},{key:"getSessionURL",value:function(r){if(typeof r!="function")throw new Error("LogRocket: must pass callback to getSessionURL()");this._run(function(a){a.getSessionURL?a.getSessionURL(r):r(a.recordingURL)})}},{key:"trackScrollEvent",value:function(r){this._logger&&this._logger.trackScrollEvent(r)}},{key:"getVersion",value:function(r){this._run(function(a){r(a.version)})}},{key:"captureMessage",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};d.Capture.captureMessage(this,r,[r],a)}},{key:"captureException",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};d.Capture.captureException(this,r,a)}},{key:"version",get:function(){return this._logger&&this._logger.version}},{key:"sessionURL",get:function(){return this._logger&&this._logger.recordingURL}},{key:"recordingURL",get:function(){return this._logger&&this._logger.recordingURL}},{key:"recordingID",get:function(){return this._logger&&this._logger.recordingID}},{key:"threadID",get:function(){return this._logger&&this._logger.threadID}},{key:"tabID",get:function(){return this._logger&&this._logger.tabID}},{key:"reduxEnhancer",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,f.createEnhancer)(this,r)}},{key:"reduxMiddleware",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,f.createMiddleware)(this,r)}},{key:"isDisabled",get:function(){return!!(this._isDisabled||this._logger&&this._logger._isDisabled)}}]),O}();o.default=y},"./packages/logrocket/src/makeLogRocket.js":function(m,o,e){"use strict";var u=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(o,"__esModule",{value:!0}),o.default=w;var R=u(e("./packages/logrocket/src/LogRocket.js")),l="LogRocket on React Native requires the LogRocket React Native specific SDK. See setup guide here https://docs.logrocket.com/reference/react-native.",v=function(){return{init:function(){},uninstall:function(){},log:function(){},info:function(){},warn:function(){},error:function(){},debug:function(){},addEvent:function(){},identify:function(){},start:function(){},get threadID(){return null},get recordingID(){return null},get recordingURL(){return null},reduxEnhancer:function(){return function(E){return function(){return E.apply(void 0,arguments)}}},reduxMiddleware:function(){return function(){return function(E){return function(f){return E(f)}}}},track:function(){},getSessionURL:function(){},getVersion:function(){},startNewSession:function(){},onLogger:function(){},setClock:function(){},captureMessage:function(){},captureException:function(){}}};function w(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){return new R.default};if(typeof navigator<"u"&&navigator.product==="ReactNative")throw new Error(l);if(typeof window<"u"){if(window._disableLogRocket)return d();if(window.MutationObserver&&window.WeakMap){window._lrMutationObserver=window.MutationObserver;var f=E();return S(f),f}}return v()}},"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js":function(m){function o(e,u){(u==null||u>e.length)&&(u=e.length);for(var R=0,l=new Array(u);R<u;R++)l[R]=e[R];return l}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");function R(l){if(Array.isArray(l))return u(l)}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(m){function o(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function R(v,w){for(var S=0;S<w.length;S++){var d=w[S];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(v,u(d.key),d)}}function l(v,w,S){return w&&R(v.prototype,w),S&&R(v,S),Object.defineProperty(v,"prototype",{writable:!1}),v}m.exports=l,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/defineProperty.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function R(l,v,w){return v=u(v),v in l?Object.defineProperty(l,v,{value:w,enumerable:!0,configurable:!0,writable:!0}):l[v]=w,l}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/interopRequireDefault.js":function(m){function o(e){return e&&e.__esModule?e:{default:e}}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/iterableToArray.js":function(m){function o(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/nonIterableSpread.js":function(m){function o(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
10
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");function R(l,v){if(l==null)return{};var w=u(l,v),S,d;if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(l);for(d=0;d<E.length;d++)S=E[d],!(v.indexOf(S)>=0)&&Object.prototype.propertyIsEnumerable.call(l,S)&&(w[S]=l[S])}return w}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":function(m){function o(e,u){if(e==null)return{};var R={},l=Object.keys(e),v,w;for(w=0;w<l.length;w++)v=l[w],!(u.indexOf(v)>=0)&&(R[v]=e[v]);return R}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/toConsumableArray.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),R=e("./node_modules/@babel/runtime/helpers/iterableToArray.js"),l=e("./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),v=e("./node_modules/@babel/runtime/helpers/nonIterableSpread.js");function w(S){return u(S)||R(S)||l(S)||v()}m.exports=w,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/typeof.js").default;function R(l,v){if(u(l)!=="object"||l===null)return l;var w=l[Symbol.toPrimitive];if(w!==void 0){var S=w.call(l,v||"default");if(u(S)!=="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(v==="string"?String:Number)(l)}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/typeof.js").default,R=e("./node_modules/@babel/runtime/helpers/toPrimitive.js");function l(v){var w=R(v,"string");return u(w)==="symbol"?w:String(w)}m.exports=l,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(m){function o(e){"@babel/helpers - typeof";return m.exports=o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},m.exports.__esModule=!0,m.exports.default=m.exports,o(e)}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":function(m,o,e){var u=e("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");function R(l,v){if(l){if(typeof l=="string")return u(l,v);var w=Object.prototype.toString.call(l).slice(8,-1);if(w==="Object"&&l.constructor&&(w=l.constructor.name),w==="Map"||w==="Set")return Array.from(l);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return u(l,v)}}m.exports=R,m.exports.__esModule=!0,m.exports.default=m.exports}},V={};function Z(m){var o=V[m];if(o!==void 0)return o.exports;var e=V[m]={exports:{}};return B[m](e,e.exports,Z),e.exports}(function(){Z.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()})();var re={};return function(){"use strict";var m=re;/*!*****************************************!*\
11
11
  !*** ./packages/logrocket/src/setup.js ***!
12
- \*****************************************/var o=Z("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(m,"__esModule",{value:!0}),m.getDomainsAndEnv=v,m.setupBaseSDKCONFIG=w,m.default=S;var e=o(Z("./node_modules/@babel/runtime/helpers/objectWithoutProperties.js")),u=o(Z("./packages/logrocket/src/makeLogRocket.js")),R={"cdn.logrocket.com":"https://r.logrocket.io","cdn.logrocket.io":"https://r.logrocket.io","cdn.lr-ingest.io":"https://r.lr-ingest.io","cdn.lr-in.com":"https://r.lr-in.com","cdn.lr-in-prod.com":"https://r.lr-in-prod.com","cdn.lr-ingest.com":"https://r.lr-ingest.com","cdn.ingest-lr.com":"https://r.ingest-lr.com","cdn.lr-intake.com":"https://r.lr-intake.com","cdn.intake-lr.com":"https://r.intake-lr.com","cdn.logr-ingest.com":"https://r.logr-ingest.com","cdn.lrkt-in.com":"https://r.lrkt-in.com","cdn.lgrckt-in.com":"https://r.lgrckt-in.com","cdn-staging.logrocket.io":"https://staging-i.logrocket.io","cdn-staging.lr-ingest.io":"https://staging-i.lr-ingest.io","cdn-staging.lr-in.com":"https://staging-i.lr-in.com","cdn-staging.lr-in-prod.com":"https://staging-i.lr-in-prod.com","cdn-staging.lr-ingest.com":"https://staging-i.lr-ingest.com","cdn-staging.ingest-lr.com":"https://staging-i.ingest-lr.com","cdn-staging.lr-intake.com":"https://staging-i.lr-intake.com","cdn-staging.intake-lr.com":"https://staging-i.intake-lr.com","cdn-staging.logr-ingest.com":"https://staging-i.logr-ingest.com","cdn-staging.lrkt-in.com":"https://staging-i.lrkt-in.com","cdn-staging.lgrckt-in.com":"https://staging-i.lgrckt-in.com"};function l(d){return d.startsWith("cdn-staging")?"staging":d.startsWith("localhost")?"development":"prod"}function v(d){if(d==="script"||d==="shopify-pixel"){try{var O=document.currentScript,f=O.src.match(/^(https?:\/\/([^\\]+))\/.+$/),n=f&&f[2];if(n&&R[n])return{scriptEnv:l(n),scriptOrigin:f&&f[1],scriptIngest:R[n]}}catch{}return{scriptEnv:"prod",scriptOrigin:"https://cdn.logrocket.io"}}else return{scriptEnv:void 0,scriptOrigin:"https://cdn.lgrckt-in.com",scriptIngest:"https://r.lgrckt-in.com"}}function w(d){typeof window.__SDKCONFIG__>"u"&&(window.__SDKCONFIG__={}),window.__SDKCONFIG__.serverURL="".concat(d,"/i"),window.__SDKCONFIG__.statsURL="".concat(d,"/s")}function S(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=d.enterpriseServer,f=d.sdkVersion,n=f===void 0?"10.1.1":f,i=(0,e.default)(d,["enterpriseServer","sdkVersion"]),t=v(n),g=t.scriptEnv,k=t.scriptOrigin,y=t.scriptIngest,E=i.sdkServer||O,b=i.ingestServer||O||y,r=(0,u.default)(function(){var a=document.createElement("script");b&&(w(b),window.__SDKCONFIG__.scriptEnv=g),E?a.src="".concat(E,"/logger.min.js"):window.__SDKCONFIG__&&window.__SDKCONFIG__.loggerURL?a.src=window.__SDKCONFIG__.loggerURL:window._lrAsyncScript?a.src=window._lrAsyncScript:a.src="".concat(k,"/logger-1.min.js"),a.async=!0,document.head.appendChild(a),a.onload=function(){typeof window._LRLogger=="function"?setTimeout(function(){r.onLogger(new window._LRLogger({sdkVersion:n}))}):r.uninstall()},a.onerror=function(){r.uninstall()}});return r}}(),re=re.default,re}()})},845(X){"use strict";X.exports=ve}},oe={};function Q(X){var B=oe[X];if(B!==void 0)return B.exports;var V=oe[X]={exports:{}};return ce[X].call(V.exports,V,V.exports,Q),V.exports}Q.n=X=>{var B=X&&X.__esModule?()=>X.default:()=>X;return Q.d(B,{a:B}),B},Q.d=(X,B)=>{for(var V in B)Q.o(B,V)&&!Q.o(X,V)&&Object.defineProperty(X,V,{enumerable:!0,get:B[V]})},Q.o=(X,B)=>Object.prototype.hasOwnProperty.call(X,B),Q.r=X=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(X,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(X,"__esModule",{value:!0})};var le={};return(()=>{"use strict";Q.r(le),Q.d(le,{buildLogRocketQueryParams:()=>_,hasUserConsentedToSessionRecording:()=>a,initLogRocket:()=>M});var X=Q(5),B=Q.n(X),V=Q(755);const Z=p=>p!==null&&typeof p=="object"&&!Array.isArray(p),re=(p,h)=>{const c={...p};return Z(p)&&Z(h)&&Object.keys(h).forEach(A=>{const x=h[A],W=c[A];Z(x)&&Z(W)?c[A]=re(W,x):c[A]=x}),c},m=V.A.default||V.A,o=B().default||B();window.emui=window.emui||{},window.emui.isLogRocketInitialized=window.emui.isLogRocketInitialized??!1;let e=window.emui.cdnDomain??"https://cdn.mortgagetech.ice.com";e&&!e.startsWith("https://")&&(e=`https://${e.replace(/^http:\/\//,"")}`);let u=!1,R=null;if(typeof document<"u"&&document.currentScript&&(R=document.currentScript.src),!R)try{R="file:///opt/jenkins/workspace/UIPlatform_pui-logrocket_main/67/lib/logrocket.ts"}catch{}if(R&&/(cdn\.mortgagetech\.(.*\.)?ice\.com|\/\/localhost[\d:/])/.test(R))try{const p=new URL(R);e=p.hostname==="localhost"?"https://cdn.mortgagetech.d1.ice.com":p.origin}catch{e=null}e&&(u=!0,window._lrAsyncScript=`${e}/logrocket/logger-1.min.js`);const l=window.emui.logRocket||o({...u&&e?{ingestServer:e}:{}});let v=null;const w=()=>window.emui?.logger??console,S=p=>{try{return new URL(p).origin===p}catch{return!1}},d=()=>window!==window.top||window.frameElement!=null||window.opener!=null,O=p=>{const h=new URLSearchParams(p).get("lrParentOrigin");return h&&S(h)?h:null},f=()=>{const p=O(window.location.search);if(p)return p;if(window.frameElement)try{const h=new URL(window.frameElement.src);return O(h.search)}catch{}return null},n=()=>{let p=f();if(!p)try{p=window.parent.location.origin}catch{try{p=new URL(document.referrer).origin}catch{}}return window===window.top&&p===window.location.origin?null:p},i=p=>{const h=window.location.origin;if(p==null)return[h];if(!Array.isArray(p))return w().warn(`LogRocket childDomains override ignored: must be an array of full origins. Falling back to [${h}].`),[h];const{valid:c,invalid:A}=p.reduce((x,W)=>(typeof W=="string"&&S(W)?x.valid.push(W):x.invalid.push(String(W)),x),{valid:[],invalid:[]});if(A.length>0){const x=A.join(", ");w().warn(`LogRocket childDomains entries dropped (must be full origins like "https://example.com"): ${x}`)}return c.includes(h)?c:[...c,h]},t=p=>{if(p!=null){if(typeof p=="string"&&S(p))return p;const h=String(p);w().warn(`LogRocket parentDomain override "${h}" ignored: must be a full origin. Using auto-detected value.`)}return n()},g=/[^.]+\.[^.]+$/,k=p=>{const h=g.exec(window.location.hostname),c=h?`.${h[0]}`:void 0;if(typeof p=="string"&&c&&p.startsWith(".")&&p.endsWith(c))return p;if(p!=null){const A=c??"(none)";w().warn(`LogRocket rootHostname override "${String(p)}" ignored: must start with "." and end with the auto-detected "${A}". Using auto-detected value.`)}return c},y=p=>{const h=i(p.childDomains),c=t(p.parentDomain);return{browser:{urlSanitizer:A=>{let x=A;return x=x.replace(/([?&])code=([^&]*)/g,"$1code=REDACTED"),x}},dom:{hiddenAttributes:["aria-label","aria-labelledby","aria-describedby","aria-details","aria-errormessage","aria-valuetext","aria-placeholder"],inputSanitizer:"lipsum",isEnabled:!1,textSanitizer:!0},mergeIframes:!0,network:{requestSanitizer:A=>{const x=Object.keys(A.headers).reduce((W,K)=>(W[K]=/^authorization$/i.test(K)?"**redacted**":A.headers[K]??"",W),{});return{...A,headers:x,body:null}},responseSanitizer:A=>A.headers["x-secret"]?null:{...A,body:null}},release:"MISSING_ENV_VAR".APP_VERSION,rootHostname:k(p.rootHostname),childDomains:h,...c?{parentDomain:c}:{}}},E=()=>window.OnetrustActiveGroups?.split(",").map(p=>p.trim()).filter(Boolean)??[],b=()=>window.OnetrustActiveGroups?E().includes("C0002"):!0,r=()=>{if(!b())return!0;window.location.hostname;const p=new URLSearchParams(window.location.search);return window.emui?.logRocketConfig?.enable===!1||p.get("lrEnabled")==="false"},a=()=>{if(window.emui?.dangerouslyOverrideSessionRecordingConsent===!0)return w().warn("Using dangerouslyOverrideSessionRecordingConsent - this should only be used for testing purposes"),!0;if(window.OnetrustActiveGroups)return E().includes("C0003");if(d()&&new URLSearchParams(window.location.search).get("analyticsConsent")==="true")return!0;if(window.frameElement)try{if(new URL(window.frameElement.src).searchParams.get("analyticsConsent")==="true")return!0}catch{}return!1},P=p=>{const h=p??window.emui?.logRocketConfig?.appId??null;return d()&&new URLSearchParams(window.location.search).get("lrAppId")||h},_=()=>{const p=new URLSearchParams,h=window.emui?.lrSessionRecordingConsent??a(),c=window.emui?.lrEnabled??!r();return p.append("analyticsConsent",h?"true":"false"),p.append("lrEnabled",c?"true":"false"),p.append("lrAppId",P()??""),p.append("lrParentOrigin",window.location.origin),p.toString()},C=p=>{w().info(`LogRocket initialized ${p?"with":"without"} session recording`),l.getSessionURL(h=>{w().info(`LogRocket session URL: ${h}`)})},j=p=>{const h=window.emui?.logRocketConfig;return{rootHostname:p.rootHostname??h?.rootHostname,childDomains:p.childDomains??h?.childDomains,parentDomain:p.parentDomain??h?.parentDomain}},T=p=>{const{appId:h,isReact:c=!0,rootHostname:A,childDomains:x,parentDomain:W,...K}=p??{};if(v=P(h),!v)throw new Error("LogRocket appId is required to initialize LogRocket. Either pass it as parameter or set window.emui.logRocketConfig.appId");if(r()){window.emui.isLogRocketInitialized=!1,window.emui.lrEnabled=!1,w().info("LogRocket is disabled in this environment");return}window.emui.lrEnabled=!0;const J=y(j({rootHostname:A,childDomains:x,parentDomain:W})),G=a();window.emui.lrSessionRecordingConsent=G,J.dom&&(J.dom.isEnabled=G);const N=re(J,K);l.init(v,N),c&&m(l),C(N.dom?.isEnabled===!0)},I=()=>{const p=document.cookie.match(/(^|;\s*)OptanonAlertBoxClosed=([^;]+)/);if(!p)return!1;try{return!!decodeURIComponent(p[2])}catch{return!1}},M=p=>{if(!window.emui.isLogRocketInitialized){if(!P(p?.appId))throw new Error("LogRocket appId is required to initialize LogRocket. Either pass it as parameter or set window.emui.logRocketConfig.appId");if(window.emui.isLogRocketInitialized=!0,window.hasOneTrust){let h=!1;const c=()=>{if(!h){h=!0;try{T(p)}catch(x){window.emui.isLogRocketInitialized=!1,w().error({message:"LogRocket initialization failed",exception:x})}}},A=x=>{window.addEventListener(x,c,{once:!0}),setTimeout(()=>{h||(w().warn(`OneTrust event '${x}' not received within 10s, initializing LogRocket with current consent state`),c())},1e4)};I()?A("OneTrustGroupsUpdated"):E().includes("C0002")?c():A("OTConsentApplied")}else setTimeout(()=>{try{T(p)}catch(h){window.emui.isLogRocketInitialized=!1,w().error({message:"LogRocket initialization failed",exception:h})}},0)}};window.emui.logRocket=window.emui.logRocket??l})(),le})());
12
+ \*****************************************/var o=Z("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(m,"__esModule",{value:!0}),m.getDomainsAndEnv=v,m.setupBaseSDKCONFIG=w,m.default=S;var e=o(Z("./node_modules/@babel/runtime/helpers/objectWithoutProperties.js")),u=o(Z("./packages/logrocket/src/makeLogRocket.js")),R={"cdn.logrocket.com":"https://r.logrocket.io","cdn.logrocket.io":"https://r.logrocket.io","cdn.lr-ingest.io":"https://r.lr-ingest.io","cdn.lr-in.com":"https://r.lr-in.com","cdn.lr-in-prod.com":"https://r.lr-in-prod.com","cdn.lr-ingest.com":"https://r.lr-ingest.com","cdn.ingest-lr.com":"https://r.ingest-lr.com","cdn.lr-intake.com":"https://r.lr-intake.com","cdn.intake-lr.com":"https://r.intake-lr.com","cdn.logr-ingest.com":"https://r.logr-ingest.com","cdn.lrkt-in.com":"https://r.lrkt-in.com","cdn.lgrckt-in.com":"https://r.lgrckt-in.com","cdn-staging.logrocket.io":"https://staging-i.logrocket.io","cdn-staging.lr-ingest.io":"https://staging-i.lr-ingest.io","cdn-staging.lr-in.com":"https://staging-i.lr-in.com","cdn-staging.lr-in-prod.com":"https://staging-i.lr-in-prod.com","cdn-staging.lr-ingest.com":"https://staging-i.lr-ingest.com","cdn-staging.ingest-lr.com":"https://staging-i.ingest-lr.com","cdn-staging.lr-intake.com":"https://staging-i.lr-intake.com","cdn-staging.intake-lr.com":"https://staging-i.intake-lr.com","cdn-staging.logr-ingest.com":"https://staging-i.logr-ingest.com","cdn-staging.lrkt-in.com":"https://staging-i.lrkt-in.com","cdn-staging.lgrckt-in.com":"https://staging-i.lgrckt-in.com"};function l(d){return d.startsWith("cdn-staging")?"staging":d.startsWith("localhost")?"development":"prod"}function v(d){if(d==="script"||d==="shopify-pixel"){try{var E=document.currentScript,f=E.src.match(/^(https?:\/\/([^\\]+))\/.+$/),n=f&&f[2];if(n&&R[n])return{scriptEnv:l(n),scriptOrigin:f&&f[1],scriptIngest:R[n]}}catch{}return{scriptEnv:"prod",scriptOrigin:"https://cdn.logrocket.io"}}else return{scriptEnv:void 0,scriptOrigin:"https://cdn.lgrckt-in.com",scriptIngest:"https://r.lgrckt-in.com"}}function w(d){typeof window.__SDKCONFIG__>"u"&&(window.__SDKCONFIG__={}),window.__SDKCONFIG__.serverURL="".concat(d,"/i"),window.__SDKCONFIG__.statsURL="".concat(d,"/s")}function S(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=d.enterpriseServer,f=d.sdkVersion,n=f===void 0?"10.1.1":f,i=(0,e.default)(d,["enterpriseServer","sdkVersion"]),t=v(n),g=t.scriptEnv,k=t.scriptOrigin,y=t.scriptIngest,O=i.sdkServer||E,b=i.ingestServer||E||y,r=(0,u.default)(function(){var a=document.createElement("script");b&&(w(b),window.__SDKCONFIG__.scriptEnv=g),O?a.src="".concat(O,"/logger.min.js"):window.__SDKCONFIG__&&window.__SDKCONFIG__.loggerURL?a.src=window.__SDKCONFIG__.loggerURL:window._lrAsyncScript?a.src=window._lrAsyncScript:a.src="".concat(k,"/logger-1.min.js"),a.async=!0,document.head.appendChild(a),a.onload=function(){typeof window._LRLogger=="function"?setTimeout(function(){r.onLogger(new window._LRLogger({sdkVersion:n}))}):r.uninstall()},a.onerror=function(){r.uninstall()}});return r}}(),re=re.default,re}()})},845(X){"use strict";X.exports=ve}},oe={};function Q(X){var B=oe[X];if(B!==void 0)return B.exports;var V=oe[X]={exports:{}};return ce[X].call(V.exports,V,V.exports,Q),V.exports}Q.n=X=>{var B=X&&X.__esModule?()=>X.default:()=>X;return Q.d(B,{a:B}),B},Q.d=(X,B)=>{for(var V in B)Q.o(B,V)&&!Q.o(X,V)&&Object.defineProperty(X,V,{enumerable:!0,get:B[V]})},Q.o=(X,B)=>Object.prototype.hasOwnProperty.call(X,B),Q.r=X=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(X,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(X,"__esModule",{value:!0})};var le={};return(()=>{"use strict";Q.r(le),Q.d(le,{buildLogRocketQueryParams:()=>_,hasUserConsentedToSessionRecording:()=>a,initLogRocket:()=>M});var X=Q(5),B=Q.n(X),V=Q(755);const Z=p=>p!==null&&typeof p=="object"&&!Array.isArray(p),re=(p,h)=>{const c={...p};return Z(p)&&Z(h)&&Object.keys(h).forEach(A=>{const x=h[A],W=c[A];Z(x)&&Z(W)?c[A]=re(W,x):c[A]=x}),c},m=V.A.default||V.A,o=B().default||B();window.emui=window.emui||{},window.emui.isLogRocketInitialized=window.emui.isLogRocketInitialized??!1;let e=window.emui.cdnDomain??"https://cdn.mortgagetech.ice.com";e&&!e.startsWith("https://")&&(e=`https://${e.replace(/^http:\/\//,"")}`);let u=!1,R=null;if(typeof document<"u"&&document.currentScript&&(R=document.currentScript.src),!R)try{R="file:///opt/jenkins/workspace/UIPlatform_pui-logrocket_alpha/14/lib/logrocket.ts"}catch{}if(R&&/(cdn\.mortgagetech\.(.*\.)?ice\.com|\/\/localhost[\d:/])/.test(R))try{const p=new URL(R);e=p.hostname==="localhost"?"https://cdn.mortgagetech.d1.ice.com":p.origin}catch{e=null}e&&(u=!0,window._lrAsyncScript=`${e}/logrocket/logger-1.min.js`);const l=window.emui.logRocket||o({...u&&e?{ingestServer:e}:{}});let v=null;const w=()=>window.emui?.logger??console,S=p=>{try{return new URL(p).origin===p}catch{return!1}},d=()=>window!==window.top||window.frameElement!=null||window.opener!=null,E=p=>{const h=new URLSearchParams(p).get("lrParentOrigin");return h&&S(h)?h:null},f=()=>{const p=E(window.location.search);if(p)return p;if(window.frameElement)try{const h=new URL(window.frameElement.src);return E(h.search)}catch{}return null},n=()=>{let p=f();if(!p)try{p=window.parent.location.origin}catch{try{p=new URL(document.referrer).origin}catch{}}return window===window.top&&p===window.location.origin?null:p},i=p=>{const h=window.location.origin;if(p==null)return[h];if(!Array.isArray(p))return w().warn(`LogRocket childDomains override ignored: must be an array of full origins. Falling back to [${h}].`),[h];const{valid:c,invalid:A}=p.reduce((x,W)=>(typeof W=="string"&&S(W)?x.valid.push(W):x.invalid.push(String(W)),x),{valid:[],invalid:[]});if(A.length>0){const x=A.join(", ");w().warn(`LogRocket childDomains entries dropped (must be full origins like "https://example.com"): ${x}`)}return c.includes(h)?c:[...c,h]},t=p=>{if(p!=null){if(typeof p=="string"&&S(p))return p;const h=String(p);w().warn(`LogRocket parentDomain override "${h}" ignored: must be a full origin. Using auto-detected value.`)}return n()},g=/[^.]+\.[^.]+$/,k=p=>{const h=g.exec(window.location.hostname),c=h?`.${h[0]}`:void 0;if(typeof p=="string"&&c&&p.startsWith(".")&&p.endsWith(c))return p;if(p!=null){const A=c??"(none)";w().warn(`LogRocket rootHostname override "${String(p)}" ignored: must start with "." and end with the auto-detected "${A}". Using auto-detected value.`)}return c},y=p=>{const h=i(p.childDomains),c=t(p.parentDomain);return{browser:{urlSanitizer:A=>{let x=A;return x=x.replace(/([?&])code=([^&]*)/g,"$1code=REDACTED"),x}},dom:{hiddenAttributes:["aria-label","aria-labelledby","aria-describedby","aria-details","aria-errormessage","aria-valuetext","aria-placeholder"],inputSanitizer:"lipsum",isEnabled:!1,textSanitizer:!0},mergeIframes:!0,network:{requestSanitizer:A=>{const x=Object.keys(A.headers).reduce((W,K)=>(W[K]=/^authorization$/i.test(K)?"**redacted**":A.headers[K]??"",W),{});return{...A,headers:x,body:null}},responseSanitizer:A=>A.headers["x-secret"]?null:{...A,body:null}},release:"MISSING_ENV_VAR".APP_VERSION,rootHostname:k(p.rootHostname),childDomains:h,...c?{parentDomain:c}:{}}},O=()=>window.OnetrustActiveGroups?.split(",").map(p=>p.trim()).filter(Boolean)??[],b=()=>window.OnetrustActiveGroups?O().includes("C0002"):!0,r=()=>{if(!b())return!0;window.location.hostname;const p=new URLSearchParams(window.location.search);if(window.emui?.logRocketConfig?.enable===!1||p.get("lrEnabled")==="false")return!0;if(window.frameElement)try{if(new URL(window.frameElement.src).searchParams.get("lrEnabled")==="false")return!0}catch{}return!1},a=()=>{if(window.emui?.dangerouslyOverrideSessionRecordingConsent===!0)return w().warn("Using dangerouslyOverrideSessionRecordingConsent - this should only be used for testing purposes"),!0;if(window.OnetrustActiveGroups)return O().includes("C0003");if(d()&&new URLSearchParams(window.location.search).get("analyticsConsent")==="true")return!0;if(window.frameElement)try{if(new URL(window.frameElement.src).searchParams.get("analyticsConsent")==="true")return!0}catch{}return!1},P=p=>{const h=p??window.emui?.logRocketConfig?.appId??null;return d()&&new URLSearchParams(window.location.search).get("lrAppId")||h},_=()=>{const p=new URLSearchParams,h=window.emui?.lrSessionRecordingConsent??a(),c=window.emui?.lrEnabled??!r();return p.append("analyticsConsent",h?"true":"false"),p.append("lrEnabled",c?"true":"false"),p.append("lrAppId",P()??""),p.append("lrParentOrigin",window.location.origin),p.toString()},C=p=>{w().info(`LogRocket initialized ${p?"with":"without"} session recording`),l.getSessionURL(h=>{w().info(`LogRocket session URL: ${h}`)})},j=p=>{const h=window.emui?.logRocketConfig;return{rootHostname:p.rootHostname??h?.rootHostname,childDomains:p.childDomains??h?.childDomains,parentDomain:p.parentDomain??h?.parentDomain}},T=p=>{const{appId:h,isReact:c=!0,rootHostname:A,childDomains:x,parentDomain:W,...K}=p??{};if(v=P(h),!v)throw new Error("LogRocket appId is required to initialize LogRocket. Either pass it as parameter or set window.emui.logRocketConfig.appId");if(r()){window.emui.isLogRocketInitialized=!1,window.emui.lrEnabled=!1,w().info("LogRocket is disabled in this environment");return}window.emui.lrEnabled=!0;const J=y(j({rootHostname:A,childDomains:x,parentDomain:W})),G=a();window.emui.lrSessionRecordingConsent=G,J.dom&&(J.dom.isEnabled=G);const N=re(J,K);l.init(v,N),c&&m(l),C(N.dom?.isEnabled===!0)},I=()=>{const p=document.cookie.match(/(^|;\s*)OptanonAlertBoxClosed=([^;]+)/);if(!p)return!1;try{return!!decodeURIComponent(p[2])}catch{return!1}},M=p=>{if(!window.emui.isLogRocketInitialized){if(!P(p?.appId))throw new Error("LogRocket appId is required to initialize LogRocket. Either pass it as parameter or set window.emui.logRocketConfig.appId");if(window.emui.isLogRocketInitialized=!0,window.hasOneTrust){let h=!1;const c=()=>{if(!h){h=!0;try{T(p)}catch(x){window.emui.isLogRocketInitialized=!1,w().error({message:"LogRocket initialization failed",exception:x})}}},A=x=>{window.addEventListener(x,c,{once:!0}),setTimeout(()=>{h||(w().warn(`OneTrust event '${x}' not received within 10s, initializing LogRocket with current consent state`),c())},1e4)};I()?A("OneTrustGroupsUpdated"):O().includes("C0002")?c():A("OTConsentApplied")}else setTimeout(()=>{try{T(p)}catch(h){window.emui.isLogRocketInitialized=!1,w().error({message:"LogRocket initialization failed",exception:h})}},0)}};window.emui.logRocket=window.emui.logRocket??l})(),le})());
13
13
 
14
14
  //# sourceMappingURL=index.js.map
Binary file
Binary file