@logrocket/react-native 1.21.0 → 1.21.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.
@@ -13,7 +13,7 @@
13
13
  def DEFAULT_COMPILE_SDK_VERSION = 31
14
14
  def DEFAULT_MIN_SDK_VERSION = 24
15
15
  def DEFAULT_TARGET_SDK_VERSION = 31
16
- def SDK_VERSION = "1.21.0"
16
+ def SDK_VERSION = "1.21.1"
17
17
 
18
18
  def PACKAGE_ROOT_DIR = rootProject.name == 'LogRocket SDK' ? "$rootDir/../packages/@logrocket/react-native" : "$rootDir/..";
19
19
 
package/dist/build.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.LogRocketReactNative=e():t.LogRocketReactNative=e()}(self,(function(){return function(){var t={2706:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.encode=function(t){return JSON.stringify(function(t){var e=[],r="function"==typeof Map&&new Map;function n(t){switch((0,o.default)(t)){case"undefined":return-1;case"number":if(isNaN(t))return-3;if(!isFinite(t))return t<0?-5:-4}var n;return r?void 0===(n=r.get(t))&&(n=e.push(t)-1,r.set(t,n)):(n=e.indexOf(t))<0&&(n=e.push(t)-1),n}function i(t){var e=t;if(t&&"object"===(0,o.default)(t)){var r=Object.keys(t);if(function(t){if(t&&"object"===(0,o.default)(t)){return(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__)===Object.prototype}return!1}(t))e={};else{if(!Array.isArray(t)){for(var i in a){var s=a[i].deconstruct(t);if(s){for(c=0;c<s.length;++c)s[c]=n(s[c]);return s.unshift(i),s}}return{}.toString.call(t)}e=Array(t.length);var u=t.length;if(u>r.length)for(var c=0;c<u;++c)e[c]=-2}r.forEach((function(r){e[r]=n(t[r])}))}return e}var s=n(t);if(s<0)return s;for(var u=[],c=0;c<e.length;++c)u[c]=i(e[c]);return u}(t))},e.decode=function(t){return function(t){if("number"==typeof t&&t<0)return n(t);var e=new Array(t.length);function r(t){return t in e?e[t]:e[t]=n(t)}function n(e){if(e<0){if(-1===e)return;if(e===i)return;if(-3===e)return NaN;if(-4===e)return 1/0;if(-5===e)return-1/0;throw new Error("invalid ARSON index: "+e)}var n=t[e];if(n&&"object"===(0,o.default)(n)){if(Array.isArray(n)){var c=n[0];if("string"==typeof c&&c in a){var f=a[c].reconstruct,l=f();return l&&s.push({reconstruct:f,empty:l,argIndexes:n.slice(1)}),t[e]=l||f(n.slice(1).map(r))}}u.push(n)}return n}var s=[],u=[];return t.forEach((function(t,e){r(e)})),s.forEach((function(t){t.args=t.argIndexes.map(r)})),u.forEach((function(e){Object.keys(e).forEach((function(n){var o=e[n];if("number"==typeof o)if(o<0){if(o===i)return void delete e[n];e[n]=r(o)}else e[n]=t[o]}))})),s.forEach((function(t){t.reconstruct.call(t.empty,t.args)})),t[0]}(JSON.parse(t))};var o=n(r(8698)),i=-2,a=Object.create(null),s=function(t,e){function r(r){if("function"!=typeof e[r])throw new Error("second argument to ARSON.registerType("+JSON.stringify(t)+", ...) must be an object with a "+r+" method")}r("deconstruct"),r("reconstruct"),a[t]=e},u=Object.prototype.toString;"function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&s("Buffer",{deconstruct:function(t){return Buffer.isBuffer(t)&&[t.toString("base64"),"base64"]},reconstruct:function(t){return t&&Buffer.from(t[0],t[1])}}),s("Date",{deconstruct:function(t){return"[object Date]"===u.call(t)&&[t.toJSON()]},reconstruct:function(t){return t&&new Date(t[0])}}),s("RegExp",{deconstruct:function(t){if("[object RegExp]"===u.call(t)){var e=[t.source],r="";return t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.global&&(r+="g"),r&&e.push(r),e}},reconstruct:function(t){return t&&new RegExp(t[0],t[1])}}),"function"==typeof Set&&"function"==typeof Array.from&&s("Set",{deconstruct:function(t){if("[object Set]"===u.call(t))return Array.from(t)},reconstruct:function(t){if(!t)return new Set;t.forEach(this.add,this)}}),"function"==typeof Map&&"function"==typeof Array.from&&s("Map",{deconstruct:function(t){if("[object Map]"===u.call(t))return Array.from(t)},reconstruct:function(t){if(!t)return new Map;t.forEach((function(t){this.set(t[0],t[1])}),this)}})},5749:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(9047)).default;e.default=o},9047:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=[];return["log","warn","info","error","debug"].forEach((function(r){e.push((0,i.default)(console,r,(function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t.addEvent("lr.core.LogEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.isEnabled;return"object"===(0,o.default)(i)&&!1===i[r]||!1===i?null:("error"===r&&e.shouldAggregateConsoleErrors&&a.Capture.captureMessage(t,n[0],n,{},!0),{logLevel:r.toUpperCase(),args:n})}))})))})),function(){e.forEach((function(t){return t()}))}};var o=n(r(8698)),i=n(r(4031)),a=r(5476)},1365:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_CUSTOM_PROPS_PER_SESSION=e.MAX_PROPERTY_NAME_LENGTH=e.SUPPORTED_TYPES=e.RESERVED_PROP_MAPPINGS=e.RESERVED_PROPS=e.VALIDATION_ERRORS=void 0;e.VALIDATION_ERRORS={EMPTY_ARRAY:"EMPTY_ARRAY",MIXED_TYPE_ARRAY:"MIXED_TYPE_ARRAY",UNSUPPORTED_TYPE:"UNSUPPORTED_TYPE",RESERVED_TYPE_MISMATCH:"RESERVED_TYPE_MISMATCH",MAX_PROPS_REACHED:"MAX_PROPS_REACHED",NAME_TOO_LONG:"NAME_TOO_LONG",MALFORMED_VARIANT:"MALFORMED_VARIANT"};e.RESERVED_PROPS={revenue:"number"};e.RESERVED_PROP_MAPPINGS={revenue:{type:"double"}};e.SUPPORTED_TYPES=["boolean","number","string"];e.MAX_PROPERTY_NAME_LENGTH=100;e.MAX_CUSTOM_PROPS_PER_SESSION=500},1550:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printEventPropError=function(t){switch(t.error){case n.VALIDATION_ERRORS.EMPTY_ARRAY:return"Ignored empty array at property ".concat(t.prop);case n.VALIDATION_ERRORS.MIXED_TYPE_ARRAY:return"Ignored mixed type array at property ".concat(t.prop);case n.VALIDATION_ERRORS.UNSUPPORTED_TYPE:return"Ignored unsupported type (".concat(t.propType,") at property ").concat(t.prop,". Expected one of: ").concat(n.SUPPORTED_TYPES.join(),",").concat(n.SUPPORTED_TYPES.map((function(t){return"".concat(t,"[]")})).join());case n.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH:return"Ignored reserved property ".concat(t.prop," with unexpected type ").concat(t.propType,". Expected type ").concat(n.RESERVED_PROPS[t.prop]);case n.VALIDATION_ERRORS.MAX_PROPS_REACHED:return"Max number of custom properties per session reached. Ignored property ".concat(t.prop);case n.VALIDATION_ERRORS.NAME_TOO_LONG:return"Property name ".concat(t.prop," is over max length of ").concat(n.MAX_PROPERTY_NAME_LENGTH);case n.VALIDATION_ERRORS.MALFORMED_VARIANT:return"Malformed variant at property ".concat(t.prop);default:return"Unknown error processing event properties"}};var n=r(1365)},2440:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.checkForValidationErrors=a,e.sanitizeEventProps=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=0,n={},o=[],u=0,c=Object.keys(t);u<c.length;u++){var f=c[u],l=t[f],d=a(f,l);void 0===d?void 0===e||r!==e?(r++,n[f]=s(l)):o.push({error:i.VALIDATION_ERRORS.MAX_PROPS_REACHED,prop:f}):o.push(d)}return{eventProps:n,errors:o}};var o=n(r(8698)),i=r(1365);function a(t,e){var r=Array.isArray(e),n=(0,o.default)(r?e[0]:e);if(t.length>i.MAX_PROPERTY_NAME_LENGTH)return{error:i.VALIDATION_ERRORS.NAME_TOO_LONG,prop:t};if(Object.keys(i.RESERVED_PROPS).indexOf(t)>=0&&i.RESERVED_PROPS[t]!==n)return{error:i.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH,prop:t,propType:n};if(r){if(0===e.length)return{error:i.VALIDATION_ERRORS.EMPTY_ARRAY,prop:t};var a=(0,o.default)(e[0]);return i.SUPPORTED_TYPES.indexOf(a)<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:t,propType:"".concat(a,"[]")}:e.every((function(t){return(0,o.default)(t)===a}))?void 0:{error:i.VALIDATION_ERRORS.MIXED_TYPE_ARRAY,prop:t}}return i.SUPPORTED_TYPES.indexOf((0,o.default)(e))<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:t,propType:(0,o.default)(e)}:void 0}function s(t){var e=Array.isArray(t)?t:[t];switch((0,o.default)(e[0])){case"number":return{doubleVal:e};case"boolean":return{boolVal:e};case"string":return{stringVal:e};default:return{}}}},5279:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(1390),o=new n.DiffPatcher({arrays:{detectMove:!1},propertyFilter:function(t,e){return"function"!=typeof e.left[t]&&"function"!=typeof e.right[t]&&!function(t){for(var e=0,r=t.parent;void 0!==r;){if(r.left===t.left&&r.right===t.right)return!0;if(r=r.parent,++e>10)return!0}return!1}(e)}});e.default=o},3237:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(5279)).default;e.default=o},9818:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.captureMessage=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={exceptionType:o?"CONSOLE":"MESSAGE",message:e,messageArgs:r,browserHref:window.location?window.location.href:""};u(i,n),t.addEvent("lr.core.Exception",(function(){return i}))},e.captureException=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n||i.default.computeStackTrace(e),s={exceptionType:"WINDOW",errorType:o.name,message:o.message,browserHref:window.location?window.location.href:""};u(s,r);var c={_stackTrace:(0,a.default)(o)};t.addEvent("lr.core.Exception",(function(){return s}),c)};var o=n(r(8698)),i=n(r(8668)),a=n(r(4751));function s(t){return/boolean|number|string/.test((0,o.default)(t))}function u(t,e){if(e){for(var r=0,n=["level","logger"];r<n.length;r++){var o=n[r],i=e[o];s(i)&&(t[o]=i.toString())}for(var a=0,u=["tags","extra"];a<u.length;a++){for(var c=u[a],f=e[c]||{},l={},d=0,h=Object.keys(f);d<h.length;d++){var p=h[d],g=f[p];s(g)&&(l[p.toString()]=g.toString())}t[c]=l}}}},5476:function(t,e,r){"use strict";var n=r(4836),o=r(8698);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"registerExceptions",{enumerable:!0,get:function(){return i.default}}),e.Capture=void 0;var i=n(r(239)),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var r=s(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var u=i?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=t[a]}n.default=t,r&&r.set(t,n);return n}(r(9818));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(s=function(t){return t?r:e})(t)}e.Capture=a},8414:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(6690)),i=n(r(9728)),a=n(r(8668)),s=Object.prototype;function u(t){return void 0===t}function c(t){return"function"==typeof t}function f(t,e){return s.hasOwnProperty.call(t,e)}function l(t,e,r,n){var o=t[e];t[e]=r(o),n&&n.push([t,e,o])}var d="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},h=(d.document,function(){function t(e){var r=e.captureException;(0,o.default)(this,t),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=r,a.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return(0,i.default)(t,[{key:"uninstall",value:function(){var t;for(a.default.report.unsubscribe(this._errorHandler);this._wrappedBuiltIns.length;){var e=(t=this._wrappedBuiltIns.shift())[0],r=t[1],n=t[2];e[r]=n}}},{key:"_errorHandler",value:function(t){this._ignoreOnError||this.captureException(t)}},{key:"_ignoreNextOnError",value:function(){var t=this;this._ignoreOnError+=1,setTimeout((function(){t._ignoreOnError-=1}))}},{key:"context",value:function(t,e,r){return c(t)&&(r=e||[],e=t,t=void 0),this.wrap(t,e).apply(this,r)}},{key:"wrap",value:function(t,e,r){var n=this;if(u(e)&&!c(t))return t;if(c(t)&&(e=t,t=void 0),!c(e))return e;try{if(e.__lr__)return e;if(e.__lr_wrapper__)return e.__lr_wrapper__;if(!Object.isExtensible(e))return e}catch(t){return e}function o(){var o=[],i=arguments.length,s=!t||t&&!1!==t.deep;for(r&&c(r)&&r.apply(this,arguments);i--;)o[i]=s?n.wrap(t,arguments[i]):arguments[i];try{return e.apply(this,o)}catch(e){throw n._ignoreNextOnError(),n.captureException(a.default.computeStackTrace(e),t),e}}for(var i in e)f(e,i)&&(o[i]=e[i]);return o.prototype=e.prototype,e.__lr_wrapper__=o,o.__lr__=!0,o.__inner__=e,o}},{key:"_instrumentTryCatch",value:function(){var t=this,e=t._wrappedBuiltIns;function r(e){return function(r,n){for(var o=new Array(arguments.length),i=0;i<o.length;++i)o[i]=arguments[i];var a=o[0];return c(a)&&(o[0]=t.wrap(a)),e.apply?e.apply(this,o):e(o[0],o[1])}}l(d,"setTimeout",r,e),l(d,"setInterval",r,e),d.requestAnimationFrame&&l(d,"requestAnimationFrame",(function(e){return function(r){return e(t.wrap(r))}}),e);for(var n,o,i=["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"],a=0;a<i.length;a++)o=void 0,(o=d[n=i[a]]&&d[n].prototype)&&o.hasOwnProperty&&o.hasOwnProperty("addEventListener")&&(l(o,"addEventListener",(function(e){return function(r,n,o,i){try{n&&n.handleEvent&&(n.handleEvent=t.wrap(n.handleEvent))}catch(t){}return e.call(this,r,t.wrap(n,void 0,void 0),o,i)}}),e),l(o,"removeEventListener",(function(t){return function(e,r,n,o){try{r=r&&(r.__lr_wrapper__?r.__lr_wrapper__:r)}catch(t){}return t.call(this,e,r,n,o)}}),e));var s=d.jQuery||d.$;s&&s.fn&&s.fn.ready&&l(s.fn,"ready",(function(e){return function(r){return e.call(this,t.wrap(r))}}),e)}}]),t}());e.default=h},239:function(t,e,r){"use strict";var n=r(4836),o=r(8698);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=new i.default({captureException:function(e){a.captureException(t,null,null,e)}}),r=function(e){t.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:e.reason||"Unhandled Promise rejection"}}))};return window.addEventListener("unhandledrejection",r),function(){window.removeEventListener("unhandledrejection",r),e.uninstall()}};var i=n(r(8414)),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var r=s(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var u=i?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=t[a]}n.default=t,r&&r.set(t,n);return n}(r(9818));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(s=function(t){return t?r:e})(t)}},4751:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){function e(t){return null===t?void 0:t}return t.stack?t.stack.map((function(t){return{lineNumber:e(t.line),columnNumber:e(t.column),fileName:e(t.url),functionName:e(t.func)}})):void 0}},8650:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(861)),i=r(1105),a=[];function s(t,e){for(var r=a.reduce((function(t,e){return[e].concat(t)}),[]),n=arguments.length,s=new Array(n>2?n-2:0),u=2;u<n;u++)s[u-2]=arguments[u];var c=Promise.resolve(s);return r.forEach((function(t){var r=t.request,n=t.requestError;(r||n)&&(c=c.then((function(t){return r.apply(void 0,[e].concat((0,o.default)(t)))}),(function(t){return n.apply(void 0,[e].concat((0,o.default)(t)))})))})),c=c.then((function(e){var r,n;(0,i.setActive)(!1);try{r=t.apply(void 0,(0,o.default)(e))}catch(t){n=t}if((0,i.setActive)(!0),n)throw n;return r})),r.forEach((function(t){var r=t.response,n=t.responseError;(r||n)&&(c=c.then((function(t){return r(e,t)}),(function(t){return n&&n(e,t)})))})),c}var u=!1,c={register:function(t){return u||(u=!0,function(t){if(t.fetch&&t.Promise){var e,r,n=t.fetch.polyfill;t.fetch=(e=t.fetch,r=0,function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return s.apply(void 0,[e,r++].concat(n))}),n&&(t.fetch.polyfill=n)}}(window)),a.push(t),function(){var e=a.indexOf(t);e>=0&&a.splice(e,1)}},clear:function(){a=[]}};e.default=c},7986:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isReactNative:!1},r=e.isReactNative,n=e.shouldAugmentNPS,o=e.shouldParseXHRBlob,l={},h=function(t){var e=t;if("object"===(0,i.default)(t)&&null!=t){var r=Object.getPrototypeOf(t);r!==Object.prototype&&null!==r||(e=JSON.stringify(t))}if(e&&e.length&&e.length>4096e3&&"string"==typeof e){var n=e.substring(0,1e3);return"".concat(n," ... LogRocket truncating to first 1000 characters.\n Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference/network")}return t},p=function(e,r){var n=r.method;t.addEvent("lr.network.RequestEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.isEnabled,i=void 0===o||o,a=t.requestSanitizer,s=void 0===a?function(t){return t}:a;if(!i)return null;var u=null;try{u=s(d(d({},r),{},{reqId:e}))}catch(t){console.error(t)}if(u){var c=u.url;if("undefined"!=typeof document&&"function"==typeof document.createElement){var p=document.createElement("a");p.href=u.url,c=p.href}return{reqId:e,url:c,headers:(0,f.default)(u.headers,(function(t){return"".concat(t)})),body:h(u.body),method:n,referrer:u.referrer||void 0,mode:u.mode||void 0,credentials:u.credentials||void 0}}return l[e]=!0,null}))},g=function(e,r){var n=r.method,o=r.status;t.addEvent("lr.network.ResponseEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.isEnabled,a=void 0===i||i,s=t.responseSanitizer,u=void 0===s?function(t){return t}:s;if(!a)return null;if(l[e])return delete l[e],null;var c=null;try{c=u(d(d({},r),{},{reqId:e}))}catch(t){console.error(t)}return c?{reqId:e,status:c.status,headers:(0,f.default)(c.headers,(function(t){return"".concat(t)})),body:h(c.body),method:n}:{reqId:e,status:o,headers:{},body:null,method:n}}))},v=function(e){return t.isDisabled||!0===l[e]},y=(0,a.default)({addRequest:p,addResponse:g,isIgnored:v}),_=(0,c.default)({addRequest:p,addResponse:g,isIgnored:v,logger:t,shouldAugmentNPS:n,shouldParseXHRBlob:o}),b=(0,s.registerIonic)({addRequest:p,addResponse:g,isIgnored:v}),m=r?function(){}:(0,u.default)(t);return function(){m(),y(),_(),b()}};var o=n(r(8416)),i=n(r(8698)),a=n(r(8452)),s=r(4863),u=n(r(989)),c=n(r(1105)),f=n(r(9645));function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},8452:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.addRequest,r=t.addResponse,n=t.isIgnored,o="fetch-",i={};return a.default.register({request:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var s;if("undefined"!=typeof Request&&n[0]instanceof Request){var c;try{c=n[0].clone().text()}catch(t){c=Promise.resolve("LogRocket fetch error: ".concat(t.message))}s=c.then((function(t){return u(u({},f(n[0])),{},{body:t})}),(function(t){return u(u({},f(n[0])),{},{body:"LogRocket fetch error: ".concat(t.message)})}))}else s=Promise.resolve(u(u({},f(n[1])),{},{url:"".concat(n[0]),body:(n[1]||{}).body}));return s.then((function(r){return i[t]=r.method,e("".concat(o).concat(t),r),n}))},requestError:function(t,e){return Promise.reject(e)},response:function(t,e){var a,s;if(n("".concat(o).concat(t)))return e;try{a=e.clone()}catch(n){var u={url:e.url,status:e.status,headers:c(e.headers),body:"LogRocket fetch error: ".concat(n.message),method:i[t]};return delete i[t],r("".concat(o).concat(t),u),e}try{if(window.TextDecoder&&a.body){var f=a.body.getReader(),l=new window.TextDecoder("utf-8"),d="";s=f.read().then((function t(e){var r=e.done,n=e.value;if(r)return d;var o=n?l.decode(n,{stream:!0}):"";return d+=o,f.read().then(t)}))}else s=a.text()}catch(t){s=Promise.resolve("LogRocket error reading body: ".concat(t.message))}return s.catch((function(t){if(!("AbortError"===t.name&&t instanceof DOMException))return"LogRocket error reading body: ".concat(t.message)})).then((function(n){var a={url:e.url,status:e.status,headers:c(e.headers),body:n,method:i[t]};delete i[t],r("".concat(o).concat(t),a)})),e},responseError:function(t,e){var n={url:void 0,status:0,headers:{},body:"".concat(e)};return r("".concat(o).concat(t),n),Promise.reject(e)}})};var o=n(r(8416)),i=n(r(9645)),a=n(r(8650));function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var c=function(t){return(0,i.default)(function(t){if(null==t||"function"!=typeof t.forEach)return t;var e={};return t.forEach((function(t,r){e[r]?e[r]="".concat(e[r],",").concat(t):e[r]="".concat(t)})),e}(t),(function(t){return"".concat(t)}))};function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{url:t.url,headers:c(t.headers),method:t.method&&t.method.toUpperCase(),referrer:t.referrer||void 0,mode:t.mode||void 0,credentials:t.credentials||void 0}}},4863:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.mergeHeaders=O,e.serializeQueryParams=function(t,e){return S("",t,e)},e.appendQueryParamsString=A,e.processData=M,e.registerIonic=function(t){var e,r,n,o=t.addRequest,i=t.addResponse,a=t.isIgnored,u=null===(e=window.cordova)||void 0===e||null===(r=e.plugin)||void 0===r?void 0:r.http,c={},f=!1;if(void 0===u)return function(){};var l=null===(n=window.ionic)||void 0===n?void 0:n.platforms;if(void 0!==l&&"function"==typeof l.some&&l.some((function(t){return v.has(t)})))return function(){};var y=u.sendRequest,_=(0,s.default)((function(t,e,r){if(!a("".concat(g).concat(r)))try{var n={url:t.url||"",status:t.status<600&&t.status>=100?t.status:0,headers:t.headers||{},body:e?t.data:t.error,method:c[r].toUpperCase()};i("".concat(g).concat(r),n)}catch(e){var o={url:t.url||"",status:t.status<600&&t.status>=100?t.status:0,headers:t.headers||{},body:"LogRocket fetch error: ".concat(e.message),method:c[r].toUpperCase()};i("".concat(g).concat(r),o)}}));return u.sendRequest=function(t,e,r,n){var i=++I;if(!f)try{var a=function(t,e){var r,n=(t=t||{}).data;try{r=x(h,t.serializer||e.getDataSerializer(),"serializer / data payload type")}catch(o){r=x(p,t.serializer||e.getDataSerializer(),"serializer / data payload type"),n={}}return{data:n,filePath:t.filePath,followRedirect:t.followRedirect,headers:E(t.headers||{},b,"Invalid header type, must be string"),method:x(d,t.method||d[0],"method"),name:t.name,params:E(t.params||{},m,"Invalid param, must be of type string or array"),responseType:t.responseType,serializer:r,connectTimeout:t.connectTimeout,readTimeout:t.readTimeout,timeout:t.timeout}}(e,u),s=A(t,S("",a.params,!0)),l=function(t,e,r){var n=r.getHeaders("*")||{},o=function(t,e){var r=new URL(t).host;return e.getHeaders(r)||null}(t,r)||{};return O(O(n,o),e)}(t,a.headers,u),v=a.method||"get";c[i]=v;var w={url:s,method:v.toUpperCase(),headers:l||{},body:M(a.data||{},a.serializer)};o("".concat(g).concat(i),w)}catch(r){var R={url:t,method:(e.method||"get").toUpperCase(),headers:{},body:"LogRocket fetch error: ".concat(r.message)};o("".concat(g).concat(i),R)}return y(t,e,(function(t){f||(_(t,!0,i),delete c[i]),r(t)}),(function(t){f||(_(t,!1,i),delete c[i]),n(t)}))},function(){f=!0,u.sendRequest=y,c={}}};var o=n(r(8416)),i=n(r(8698)),a=n(r(861)),s=n(r(7167));function u(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var d=new Set(["get","put","post","patch","head","delete","options","upload","download"]),h=new Set(["urlencoded","json","utf8"]),p=new Set(["raw","multipart"]),g="ionic-",v=new Set(["desktop","mobileweb","pwa"]),y=new Set(["FormData"]),_=new Set,b=new Set(["string"]),m=new Set(["string","array"]),w={utf8:b,urlencoded:new Set(["object"]),json:new Set(["array","object"]),raw:new Set(["Uint8Array","ArrayBuffer"]),default:_};function x(t,e,r){if("string"!=typeof e)throw new Error("".concat(r," must be one of: ").concat((0,a.default)(t).join(", ")));if(e=e.trim().toLowerCase(),!t.has(e))throw new Error("".concat(r," must be one of: ").concat((0,a.default)(t).join(", ")));return e}function E(t,e,r){if("object"!==(0,i.default)(t))throw new Error(r);for(var n=0,o=Object.keys(t);n<o.length;n++){var a=o[n];if(!e.has((0,i.default)(t[a])))throw new Error(r)}return t}function O(t,e){return l(l({},t),e)}function R(t,e){return e?encodeURIComponent(t):t}function P(t,e,r){return t.length?r?"".concat(encodeURIComponent(t),"[").concat(encodeURIComponent(e),"]"):"".concat(t,"[").concat(e,"]"):r?encodeURIComponent(e):e}function j(t,e,r){var n,o=[],a=u(e);try{for(a.s();!(n=a.n()).done;){var s=n.value;Array.isArray(s)?o.push(j("".concat(t,"[]"),s,r)):"object"!==(0,i.default)(s)?o.push("".concat(P(t,"",r),"=").concat(R(s,r))):o.push(S("".concat(t,"[]").concat(s),r,void 0))}}catch(t){a.e(t)}finally{a.f()}return o.join("&")}function S(t,e,r){var n=[];for(var o in e)if(e.hasOwnProperty(o)){var a=t.length?"".concat(t,"[").concat(o,"]"):o;Array.isArray(e[o])?n.push(j(a,e[o],r)):"object"!==(0,i.default)(e[o])||null===e[o]?n.push("".concat(P(t,o,r),"=").concat(R(e[o],r))):n.push(S(a,e[o],r))}return n.join("&")}function A(t,e){if(!t.length||!e.length)return t;var r=new URL(t),n=r.host,o=r.pathname,i=r.search,a=r.hash,s=r.protocol;return"".concat(s,"//").concat(n).concat(o).concat(i.length?"".concat(i,"&").concat(e):"?".concat(e)).concat(a)}function M(t,e){var n=(0,i.default)(t),o=function(t){return w[t]||w.default}(e),s=function(t){return"multipart"===t?y:_}(e);if(s.size>0){var u=!1;if(s.forEach((function(e){r.g[e]&&t instanceof r.g[e]&&(u=!0)})),!u)throw new Error("INSTANCE_TYPE_MISMATCH_DATA ".concat((0,a.default)(s).join(", ")))}if(0===s.size&&!o.has(n))throw new Error("TYPE_MISMATCH_DATA ".concat((0,a.default)(o).join(", ")));switch(e){case"utf8":return t;default:return JSON.stringify(t,void 0,2)}}var I=0},989:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=void 0;function n(){var n={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(n.effectiveType=r[window.navigator.connection.effectiveType]||"UNKNOWN"):n.effectiveType="NONE",e&&n.online===e.online&&n.effectiveType===e.effectiveType||(e=n,t.addEvent("lr.network.NetworkStatusEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.isEnabled,r=void 0===e||e;return r?n:null})))}setTimeout(n),window.navigator.connection&&"function"==typeof window.navigator.connection.addEventListener&&window.navigator.connection.addEventListener("change",n);return window.addEventListener("online",n),window.addEventListener("offline",n),function(){window.removeEventListener("offline",n),window.removeEventListener("online",n),window.navigator.connection&&"function"==typeof window.navigator.connection.removeEventListener&&window.navigator.connection.removeEventListener("change",n)}};var r={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"}},1105:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.setActive=function(t){u=t},e.default=function(t){var e=t.addRequest,r=t.addResponse,n=t.isIgnored,f=t.logger,l=t.shouldAugmentNPS,d=void 0===l||l,h=t.shouldParseXHRBlob,p=void 0!==h&&h,g=XMLHttpRequest,v=new WeakMap,y=!1,_="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(t,l){var h=new g(t,l);if(!u)return h;v.set(h,{xhrId:++c,headers:{}});var b=h.open;var m=h.send;d&&(h.open=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];try{var n=e[1];if(window.URL&&"function"==typeof window.URL&&0===n.search(s.WOOTRIC_RESPONSES_REGEX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","wootric");var i=new window.URL(n),a=i.searchParams.get("response[text]"),u=a?"".concat(a,"\n\n"):"";i.searchParams.set("response[text]","".concat(u,"<").concat(o.href,"|View LogRocket session>")),e[1]=i.href}}catch(t){}return b.apply(this,e)},h.send=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];try{var n=v.get(h);if(window.URL&&"function"==typeof window.URL&&n&&n.url&&0===n.url.search(s.DELIGHTED_RESPONSES_REGEX)&&e.length&&-1!==e[0].indexOf(s.DELIGHTED_FEEDBACK_PREFIX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","delighted");var i=encodeURIComponent(o.href),u=e[0].split("&").map((function(t){if((0,a.default)(t,s.DELIGHTED_FEEDBACK_PREFIX)){var e=t===s.DELIGHTED_FEEDBACK_PREFIX;return"".concat(t).concat(e?"":"\n\n","<").concat(i,"|View LogRocket session>")}return t})).join("&");e[0]=u}}catch(t){}return m.apply(this,e)}),(0,i.default)(h,"open",(function(t,e){if(!y){var r=v.get(h);r.method=t,r.url=e}})),(0,i.default)(h,"send",(function(t){if(!y){var r=v.get(h);if(r){var n={url:r.url,method:r.method&&r.method.toUpperCase(),headers:(0,o.default)(r.headers||{},(function(t){return t.join(", ")})),body:t};e("".concat(_).concat(r.xhrId),n)}}})),(0,i.default)(h,"setRequestHeader",(function(t,e){if(!y){var r=v.get(h);r&&(r.headers=r.headers||{},r.headers[t]=r.headers[t]||[],r.headers[t].push(e))}}));var w={readystatechange:function(){if(!y&&4===h.readyState){var t=v.get(h);if(!t)return;if(n("".concat(_).concat(t.xhrId)))return;var e,o=(h.getAllResponseHeaders()||"").split(/[\r\n]+/).reduce((function(t,e){var r=t,n=e.split(": ");if(n.length>0){var o=n.shift(),i=n.join(": ");t[o]?r[o]+=", ".concat(i):r[o]=i}return r}),{});try{switch(h.responseType){case"json":e=f._shouldCloneResponse?JSON.parse(JSON.stringify(h.response)):h.response;break;case"arraybuffer":case"blob":e=h.response;break;case"document":e=h.responseXML;break;case"text":case"":e=h.responseText;break;default:e=""}}catch(t){e="LogRocket: Error accessing response."}var i={url:t.url,status:h.status,headers:o,body:e,method:(t.method||"").toUpperCase()};if(p&&i.body instanceof Blob){var a=new FileReader;a.readAsText(i.body),a.onload=function(){try{i.body=JSON.parse(a.result)}catch(t){}r("".concat(_).concat(t.xhrId),i)}}else r("".concat(_).concat(t.xhrId),i)}}};return Object.keys(w).forEach((function(t){h.addEventListener(t,w[t])})),h},XMLHttpRequest.prototype=g.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach((function(t){XMLHttpRequest[t]=g[t]})),function(){y=!0,XMLHttpRequest=g}};var o=n(r(9645)),i=n(r(4031)),a=n(r(9242)),s=r(4005),u=!0;var c=0},5818:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=Date.now.bind(Date),n=r(),o="undefined"!=typeof performance&&performance.now?performance.now.bind(performance):function(){return r()-n};e.default=o},6410:function(t,e,r){"use strict";var n=r(5643),o=r(4576);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(7472)),a=n(r(7363)),s=n(r(3051)),u=n(r(3237)),c=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var r=f(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}n.default=t,r&&r.set(t,n);return n}(r(2706));function f(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(f=function(t){return t?r:e})(t)}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){(0,i.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h=function(){function t(){(0,a.default)(this,t),this.reduxStateByStoreId={}}return(0,s.default)(t,[{key:"trackState",value:function(t){var e;this.reduxStateByStoreId[t.storeId]=null!==(e=t.state)&&void 0!==e?e:t.stateDelta}},{key:"encodeInitialState",value:function(t){return this.trackState(t),d(d({},t),{},{state:c.encode(t.state)})}},{key:"getEncodedInitialStates",value:function(){var t=this;return Object.keys(this.reduxStateByStoreId).map((function(e){var r,n=t.reduxStateByStoreId[e];return{storeId:parseInt(e,10),state:c.encode(null!==(r=n.state)&&void 0!==r?r:n)}}))}},{key:"encodeReduxAction",value:function(t){var e=d({},t),r=this.reduxStateByStoreId[t.storeId];if(r){var n=u.default.diff({o:r.state},{o:t.stateDelta});this.reduxStateByStoreId[t.storeId]={state:t.stateDelta},e.stateDelta=c.encode(void 0!==n?n:null)}else this.reduxStateByStoreId[t.storeId]={state:t.stateDelta},e.state=c.encode(t.stateDelta),e.stateDelta=c.encode(null);return e.action=c.encode(t.action),e}}]),t}();e.default=h},8240:function(t,e,r){"use strict";var n=r(5643);Object.defineProperty(e,"__esModule",{value:!0});var o={};e.default=void 0;var i=n(r(5838)),a=n(r(2695)),s=n(r(5571)),u=n(r(4262)),c=n(r(7472)),f=r(7305),l=n(r(887)),d=r(8094),h=r(3871);function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){(0,c.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}Object.keys(h).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||t in e&&e[t]===h[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}}))}));var v=f.NativeModules.LogRocketNativeModule,y=f.NativeModules.NativeUnimoduleProxy,_=v||{},b=_.initWithConfig,m=_.installShutdownHandler,w=_.getSessionURL,x=_.captureException,E=_.captureMessage,O=_.captureReduxAction,R=_.captureReduxInitialState,P=_.captureRequest,j=_.captureResponse,S=_.addLog,A=_.identifyWithTraits,M=_.track,I=_.shutdown,k=_.pauseViewCapture,D=_.unpauseViewCapture,T=_.tagPage,L=_.registerWebView,N=function(){var t,e;return["storeClient","standalone"].includes(null==y||null===(t=y.moduleConstants)||void 0===t||null===(e=t.ExponentConstants)||void 0===e?void 0:e.executionEnvironment)},C=v?(0,l.default)():{_run:function(){},shutdown:function(){}},U=/^[a-z0-9_-]+\/[a-z0-9_-]+$/,F="@logrocket/react-native cannot be used in Expo Go. See https://docs.logrocket.com/docs/react-native-expo-go for more information.",H=function(t){for(var e=g({},t),r=0,n=Object.entries(e);r<n.length;r++){var o=(0,u.default)(n[r],2),i=o[0];o[1]||(e[i]=function(){})}return e},q={init:function(t){var e=arguments;return(0,s.default)(i.default.mark((function r(){var n,o;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=e.length>1&&void 0!==e[1]?e[1]:{},o=(0,a.default)({},n),!N()){r.next=4;break}return console.warn(F),r.abrupt("return");case 4:if(b){r.next=8;break}return console.warn("@logrocket/react-native native module is missing. Please review installation instructions."),C.shutdown(),r.abrupt("return");case 8:if("string"==typeof t&&U.test(t)){r.next=11;break}return console.warn("LogRocket: must pass a valid application id to the LogRocket instance."),r.abrupt("return");case 11:if(r.t0=C._didInit,r.t0){r.next=16;break}return r.next=15,b(t,g({serverURL:"https://r.ingest-lr.com/i",enableIPCapture:!0},o));case 15:r.t0=r.sent;case 16:r.t0?(C.init(o,H({addLog:S,captureException:x,captureMessage:E,captureReduxAction:O,captureReduxInitialState:R,captureRequest:P,captureResponse:j,identifyWithTraits:A,shutdown:I,track:M,tagPage:T,registerWebView:L})),m&&m((function(){return C.uninstall()}))):(C.disableAndClearBuffer(),__DEV__&&console.warn("LogRocket initialization failed! Check device logs for further details."));case 18:case"end":return r.stop()}}),r)})))()},pauseViewCapture:function(){k&&k()},unpauseViewCapture:function(){D&&D()},captureException:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C._run((function(r){r.captureException(t,e)}))},captureMessage:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C._run((function(r){r.captureMessage(t,e)}))},getSessionURL:function(t){w&&w(t)},identify:function(t,e){C._run((function(r){r.identify(t,e)}))},reduxMiddleware:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=function(){return function(t){return function(e){return t(e)}}};return N()?(console.warn(F),e):"function"==typeof R&&"function"==typeof O?(0,d.createMiddleware)(C,t):e},track:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C._run((function(r){r.track(t,e)}))},tagPage:function(t){C._run((function(e){e.tagPage(t)}))},registerWebView:function(t){C._run((function(e){e.registerWebView(t)}))},shutdown:function(){C.shutdown()}};e.default=q},887:function(t,e,r){"use strict";var n=r(5643),o=r(4576);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return new I},e.MAX_QUEUE_SIZE=void 0;var i=n(r(4576)),a=n(r(7363)),s=n(r(3051)),u=n(r(7472)),c=r(7305),f=n(r(7986)),l=n(r(5749)),d=r(5476),h=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var r=w(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}n.default=t,r&&r.set(t,n);return n}(r(2706)),p=r(6163),g=r(1365),v=r(2440),y=r(1550),_=n(r(3864)),b=n(r(6410)),m=n(r(6339));function w(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(w=function(t){return t?r:e})(t)}function x(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return E(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return E(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){(0,u.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var P=new Set(["[object Error]","[object DOMError]","[object DOMException]"]),j=1e3;e.MAX_QUEUE_SIZE=j;var S=["%c prev state","%c next state","%c action ","%c error ","%c action","%c error"],A=function(t){return function(){try{return t.apply(void 0,arguments)}catch(t){if(r.g&&r.g._lrdebug)throw t}}};function M(t){var e={}.toString.call(t),r=t;return P.has(e)&&(r="".concat(t.constructor.name,": ").concat(t.message||t.name)),h.encode(r)}var I=function(){function t(){var e=this;(0,a.default)(this,t),this._getConfig=function(t){if(null==e._config)return{};var r=t.split(".");switch(r[1]){case"network":return e._config.network;case"core":switch(r[2]){case"LogEvent":return e._config.console}default:return{}}},this._isReduxLogger=function(t){if(!t||!t.args)return!1;var e=t.args;return!!(Array.isArray(e)&&3===e.length&&S.indexOf(e[0])>-1)},this.addEvent=A((function(t,r,n){if(!e._isDisabled){var o=r(e._getConfig(t)),i=Date.now();if(null!=o&&!e._isDisabled){var a=A((function(){if("lr.redux.ReduxAction"===t&&o.action&&o.action.type){var r=o.action.type;e._reduxActions[r]?e._reduxActions[r]++:e._reduxActions[r]=1,o.count=e._reduxActions[r]}if("lr.core.LogEvent"===t&&e._isReduxLogger(o))e._didWarnAboutReduxLogger||(e._didWarnAboutReduxLogger=!0,console.warn("LogRocket: Redux logger detected, skipping data. Please use the LogRocket redux middleware to record production redux logs: https://docs.logrocket.com/docs/redux-middleware"));else switch(t){case"lr.redux.InitialState":e._captureReduxInitialState(e.reduxEncoder.encodeInitialState(o));break;case"lr.redux.ReduxAction":e._captureReduxAction(e.reduxEncoder.encodeReduxAction(o));break;case"lr.core.Exception":var a=o.exceptionType,s=o.message,u=o.errorType,c=void 0===u?"":u,f=o.tags,l=o.extra;"MESSAGE"===a?e._captureMessage(s,{tags:f,extra:l}):e._captureException(M(s),c,a,n&&JSON.stringify(n._stackTrace)||"[]");break;case"lr.core.LogEvent":var d=o.logLevel,h=o.args,g=h&&h.map(M);e._addLog(d,g||[]);break;case"lr.network.RequestEvent":e._inflightNetwork[o.reqId]={time:i},e._captureRequest(o.reqId,(0,p.getRequestData)(o));break;case"lr.network.ResponseEvent":var v=e._inflightNetwork[o.reqId],y=(0,p.getResponseData)(o);v&&v.time&&(y.duration=i-v.time),e._captureResponse(o.reqId,y),delete e._inflightNetwork[o.reqId]}}));if(e._didInit)a();else if(t.startsWith("lr.redux"))e.reduxEncoder.trackState(o);else{if(e._buffer.length>=j)return m.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),e.disableAndClearBuffer(),void e.uninstall();e._buffer.push(a)}}}})),this.shutdown=A((function(){e._didInit?(e.uninstall(),e._shutdown()):e.disableAndClearBuffer(),e.eventListener&&e.eventListener.remove()})),this.captureException=A((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d.Capture.captureException(e,t,r)})),this.captureMessage=A((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};d.Capture.captureMessage(e,t,n,r)})),this.uninstall=A((function(){e._installed&&e._installed.forEach((function(t){return t()})),e.reset()})),this.textEncoder=r.g.TextEncoder&&new r.g.TextEncoder,this._customPropCount=0,this._reduxActions={},this._buffer=[],this._didWarnAboutReduxLogger=!1,this._didWarnAboutReduxSize=!1,this.wallByteStreams={},this.reduxEncoder=new b.default;var n=function(t){t.errorMessage&&(t.shouldWarnAboutReduxSize||console.warn(t.errorMessage),t.shouldWarnAboutReduxSize&&!e._didWarnAboutReduxSize&&(e._didWarnAboutReduxSize=!0,console.warn(t.errorMessage))),t.shouldDisableAndFreeMemory&&e.disableAndClearBuffer()},o=new c.NativeEventEmitter(c.NativeModules.LogRocketNativeModule);this.eventListener=o.addListener("LogRocketSDKOnError",A((function(t){"ios"===c.Platform.OS?setTimeout((function(){n(t)}),1):n(t)}))),this.reset()}return(0,s.default)(t,[{key:"_run",value:function(t){if(!this._isDisabled)if(this._didInit)t(this);else{if(this._buffer.length>=j)return m.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),this.disableAndClearBuffer(),void this.uninstall();this._buffer.push(t)}}},{key:"_registerExceptions",value:function(){var t=this,e=ErrorUtils.getGlobalHandler&&ErrorUtils.getGlobalHandler();ErrorUtils.setGlobalHandler((function(r,n){try{t.captureException(r)}catch(t){}e&&e(r,n)}));var n=r(6905);n.disable(),n.enable({allRejections:!0,onUnhandled:A((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:r.reason||"Unhandled Promise rejection"}}))}))});var o=r(9594),i=o._onHandle||o._Y,a=o._onReject||o._Z,s=r.g.Promise._onHandle,u=r.g.Promise._onReject,c=r.g.Promise._Y,f=r.g.Promise._X;o!==r.g.Promise&&void 0!==i&&void 0!==a&&("_onHandle"in r.g.Promise&&"_onReject"in r.g.Promise?(r.g.Promise._onHandle=i,r.g.Promise._onReject=a):"_Y"in r.g.Promise&&"_Z"in r.g.Promise&&(r.g.Promise._Y=i,r.g.Promise._Z=a)),this._installed.push((function(){e&&ErrorUtils.setGlobalHandler(e),n.disable(),r.g.Promise._onHandle=s,r.g.Promise._onReject=u,r.g.Promise._Y=c,r.g.Promise._X=f}))}},{key:"track",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof t)if(0!==t.length){var r=(0,v.sanitizeEventProps)(e,g.MAX_CUSTOM_PROPS_PER_SESSION-this._customPropCount),n=r.eventProps,o=r.errors;this._customPropCount+=Object.keys(n).length,o.forEach((function(t){return console.warn("LogRocket Track API: ".concat((0,y.printEventPropError)(t)))})),this._track(t,n)}else console.warn("LogRocket: custom event name must not be an empty string");else console.warn("LogRocket: must pass string to track()")}},{key:"tagPage",value:function(t){"string"==typeof t?this._tagPage(t):console.warn("LogRocket: must pass string to tagPage()")}},{key:"registerWebView",value:function(t){"string"==typeof t?this._registerWebView(t):console.warn("LogRocket: must pass string view ID to registerWebView()")}},{key:"_makeUuid",value:function(){return(0,_.default)()}},{key:"_divineAnonymousId",value:function(){return this._lastIdentifyCall&&this._lastIdentifyCall.isAnonymous?this._lastIdentifyCall.userID:this._makeUuid()}},{key:"identify",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],o=e[1],a=!1;if(this._identifyCalls++,!(this._identifyCalls>10)){if(10===this._identifyCalls&&console.warn("LogRocket: More than 10 identify calls on this page. Ignoring future calls."),null==o&&"object"===(0,i.default)(n)&&null!==n&&null==(n=(o=n||{}).userID)&&this._lastIdentifyCall&&this._lastIdentifyCall.userID){var s=this._lastIdentifyCall;n=s.userID,a=s.isAnonymous}if(!n){if(o&&(o.name||o.email)){var u=o.name?"name":"email";return void console.warn("LogRocket: user ".concat(u," passed to identify, but no userID given: identify(userId, { ").concat(u,": '...' })."))}a=!0,n=this._divineAnonymousId()}if(/string|number/.test((0,i.default)(n))){if(!(n.toString().length>this._maxIdentityArgLength)){var c=o;if(o){for(var f={},l=["userID","name","email"],d=0,h=Object.keys(o||{});d<h.length;d++){var p=h[d],g=o[p];if(-1===l.indexOf(p)){if(/boolean|number|string/.test((0,i.default)(g))){var v=p.toString();if(this.textEncoder&&this.textEncoder.encode(v).length>this._maxUserTraitBytes){console.warn("LogRocket: Ignoring large user trait key ".concat(v));continue}if(g.toString().length>this._maxIdentityArgLength){console.warn('LogRocket: ignoring large user trait value for key "'.concat(v,'" (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[v]=g.toString()}}else if(g&&"string"==typeof g){if(g.length>this._maxIdentityArgLength){console.warn('LogRocket: too large generic trait "'.concat(p,'" passed to identify() (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[p]=g}}c=f}return this._lastIdentifyCall={userID:n.toString(),email:c?c.email:void 0,name:c?c.name:void 0,isAnonymous:a},this._identifyWithTraits(this._lastIdentifyCall.userID,c,a)}console.warn("LogRocket: too large userID passed to identify() (max ".concat(this._maxIdentityArgLength," characters)"))}else console.warn("LogRocket: must pass a valid user id to identify().")}}},{key:"init",value:function(t,e){var r=e.addLog,n=void 0===r?function(){}:r,o=e.captureException,i=void 0===o?function(){}:o,a=e.captureMessage,s=void 0===a?function(){}:a,u=e.captureReduxAction,c=void 0===u?function(){}:u,d=e.captureReduxInitialState,h=void 0===d?function(){}:d,p=e.captureRequest,g=void 0===p?function(){}:p,v=e.captureResponse,y=void 0===v?function(){}:v,_=e.identifyWithTraits,b=void 0===_?function(){}:_,m=e.track,w=void 0===m?function(){}:m,E=e.tagPage,O=void 0===E?function(){}:E,P=e.registerWebView,j=void 0===P?function(){}:P,S=e.shutdown,A=void 0===S?function(){}:S,M=t.maxUserTraitBytes,I=void 0===M?128:M,k=t.shouldDetectExceptions,D=void 0===k||k;if(!this._didInit){this._installed.push((0,l.default)(this)),this._installed.push((0,f.default)(this,{isReactNative:!0,shouldAugmentNPS:!1,shouldParseXHRBlob:!1})),D&&this._registerExceptions(),this._didInit=!0,this._isDisabled=!1,this._addLog=n,this._captureException=i,this._captureMessage=s,this._captureReduxAction=c,this._captureReduxInitialState=h,this._captureRequest=g,this._captureResponse=y,this._config=function(t){return R(R({},t),{},{console:R(R({},t.console||{}),{},{shouldAggregateConsoleErrors:!1})})}(t),this._identifyWithTraits=b,this._maxUserTraitBytes=I,this._track=w,this._tagPage=O,this._registerWebView=j,this._shutdown=A;var T,L=x(this.reduxEncoder.getEncodedInitialStates());try{for(L.s();!(T=L.n()).done;){var N=T.value;this._captureReduxInitialState(N)}}catch(t){L.e(t)}finally{L.f()}for(;this._buffer.length>0;){this._buffer.shift()(this)}}}},{key:"disableAndClearBuffer",value:function(){this._isDisabled=!0,this._buffer=[]}},{key:"reset",value:function(){this._didInit=!1,this._config=null,this._installed=[],this._isDisabled=!1,this._didWarnAboutReduxSize=!1,this._addLog=function(){},this._captureRequest=function(){},this._captureResponse=function(){},this._track=function(){},this._tagPage=function(){},this._registerWebView=function(){},this._captureMessage=function(){},this._inflightNetwork={},this._maxIdentityArgLength=1024,this._maxUserTraitBytes=128,this._buffer=[],this._customPropCount=0,this._identifyCalls=0,this._reduxActions={},this._didWarnAboutReduxLogger=!1,this.wallByteStreams={}}}]),t}()},6163:function(t,e,r){"use strict";var n=r(5643);Object.defineProperty(e,"__esModule",{value:!0}),e.getResponseData=e.getRequestData=void 0;var o=n(r(7681));e.getRequestData=function(t){var e={};return t.url&&(e.url=t.url),t.body&&(e.body=(0,o.default)(t.body)),t.method&&(e.method=t.method),t.headers&&(e.headers=t.headers),e};e.getResponseData=function(t){var e={};return t.status&&(e.statusCode=t.status),t.body&&(e.body=(0,o.default)(t.body)),t.headers&&(e.headers=t.headers),e}},3871:function(t,e,r){"use strict";var n=r(5643);Object.defineProperty(e,"__esModule",{value:!0}),e.LRRedact=e.LRAllow=e.LRRedactProps=e.LRAllowProps=void 0;var o=n(r(3217)),i=n(r(9497)),a=r(7305),s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lr-show";return"ios"===a.Platform.OS?{testID:t,accessible:!0}:{testID:t}};e.LRAllowProps=s;var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lr-hide";return"ios"===a.Platform.OS?{testID:t,accessible:!1}:{testID:t}};e.LRRedactProps=u;var c=function(t){return Array.isArray(t)?t:[t]};e.LRAllow=function(t){var e=t.children;return i.default.createElement.apply(i.default,[a.View,s()].concat((0,o.default)(c(e))))};e.LRRedact=function(t){var e=t.children;return i.default.createElement.apply(i.default,[a.View,u()].concat((0,o.default)(c(e))))}},6339:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={error:console.error.bind(console),warn:console.warn.bind(console),info:console.info.bind(console)};e.default=r},9222:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.stateSanitizer,n=void 0===r?function(t){return t}:r,o=e.actionSanitizer,a=void 0===o?function(t){return t}:o;return function(e){return function(r,o,c){var f=e(r,o,c),l=f.dispatch,d=u++;t.addEvent("lr.redux.InitialState",(function(){var t;try{t=n(f.getState())}catch(t){console.error(t.toString())}return{state:t,storeId:d}}));return s(s({},f),{},{dispatch:function(e){var r,o,s=(0,i.default)();try{o=l(e)}catch(t){r=t}finally{var u=(0,i.default)()-s;t.addEvent("lr.redux.ReduxAction",(function(){var t=null,r=null;try{t=n(f.getState()),r=a(e)}catch(t){console.error(t.toString())}return t&&r?{storeId:d,action:r,duration:u,stateDelta:t}:null}))}if(r)throw r;return o}})}}};var o=n(r(8416)),i=n(r(5818));function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var u=0},6043:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.stateSanitizer,n=void 0===r?function(t){return t}:r,a=e.actionSanitizer,s=void 0===a?function(t){return t}:a;return function(e){var r=i++;return t.addEvent("lr.redux.InitialState",(function(){var t;try{t=n(e.getState())}catch(t){console.error(t.toString())}return{state:t,storeId:r}})),function(i){return function(a){var u,c,f=(0,o.default)();try{c=i(a)}catch(t){u=t}finally{var l=(0,o.default)()-f;t.addEvent("lr.redux.ReduxAction",(function(){var t=null,o=null;try{t=n(e.getState()),o=s(a)}catch(t){console.error(t.toString())}return t&&o?{storeId:r,action:o,duration:l,stateDelta:t}:null}))}if(u)throw u;return c}}}};var o=n(r(5818)),i=0},8094:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createEnhancer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"createMiddleware",{enumerable:!0,get:function(){return i.default}});var o=n(r(9222)),i=n(r(6043))},8668:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={collectWindowErrors:!0,debug:!1},o="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},i=[].slice,a="?",s=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function u(){return"undefined"==typeof document||void 0===document.location?"":document.location.href}n.report=function(){var t,e,r=[],c=null,f=null,l=null;function d(t,e){var o=null;if(!e||n.collectWindowErrors){for(var a in r)if(r.hasOwnProperty(a))try{r[a].apply(null,[t].concat(i.call(arguments,2)))}catch(t){o=t}if(o)throw o}}function h(e,r,o,i,c){if(l)n.computeStackTrace.augmentStackTraceWithInitialElement(l,r,o,e),p();else if(c)d(n.computeStackTrace(c),!0);else{var f,h={url:r,line:o,column:i},g=void 0,v=e;if("[object String]"==={}.toString.call(e))(f=e.match(s))&&(g=f[1],v=f[2]);h.func=a,d({name:g,message:v,url:u(),stack:[h]},!0)}return!!t&&t.apply(this,arguments)}function p(){var t=l,e=c;c=null,l=null,f=null,d.apply(null,[t,!1].concat(e))}function g(t,e){var r=i.call(arguments,1);if(l){if(f===t)return;p()}var o=n.computeStackTrace(t);if(l=o,f=t,c=r,setTimeout((function(){f===t&&p()}),o.incomplete?2e3:0),!1!==e)throw t}return g.subscribe=function(n){!function(){if(e)return;t=o.onerror,o.onerror=h,e=!0}(),r.push(n)},g.unsubscribe=function(t){for(var e=r.length-1;e>=0;--e)r[e]===t&&r.splice(e,1)},g.uninstall=function(){!function(){if(!e)return;o.onerror=t,e=!1,t=void 0}(),r=[]},g}(),n.computeStackTrace=function(){function t(t){if(void 0!==t.stack&&t.stack){for(var e,r,n=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=t.stack.split("\n"),c=[],f=(/^(.*) is undefined$/.exec(t.message),0),l=s.length;f<l;++f){if(e=n.exec(s[f])){var d=e[2]&&-1!==e[2].indexOf("native");r={url:d?null:e[2],func:e[1]||a,args:d?[e[2]]:[],line:e[3]?+e[3]:null,column:e[4]?+e[4]:null}}else if(e=i.exec(s[f]))r={url:e[2],func:e[1]||a,args:[],line:+e[3],column:e[4]?+e[4]:null};else{if(!(e=o.exec(s[f])))continue;r={url:e[3],func:e[1]||a,args:e[2]?e[2].split(","):[],line:e[4]?+e[4]:null,column:e[5]?+e[5]:null}}!r.func&&r.line&&(r.func=a),c.push(r)}return c.length?(c[0].column||void 0===t.columnNumber||(c[0].column=t.columnNumber+1),{name:t.name,message:t.message,url:u(),stack:c}):null}}function e(t,e,r,n){var o={url:e,line:r};if(o.url&&o.line){if(t.incomplete=!1,o.func||(o.func=a),t.stack.length>0&&t.stack[0].url===o.url){if(t.stack[0].line===o.line)return!1;if(!t.stack[0].line&&t.stack[0].func===o.func)return t.stack[0].line=o.line,!1}return t.stack.unshift(o),t.partial=!0,!0}return t.incomplete=!0,!1}function r(t,i){for(var s,c,f=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],d={},h=!1,p=r.caller;p&&!h;p=p.caller)if(p!==o&&p!==n.report){if(c={url:null,func:a,line:null,column:null},p.name?c.func=p.name:(s=f.exec(p.toString()))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(t){}d[""+p]?h=!0:d[""+p]=!0,l.push(c)}i&&l.splice(0,i);var g={name:t.name,message:t.message,url:u(),stack:l};return e(g,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),g}function o(e,o){var i=null;o=null==o?0:+o;try{if(i=t(e))return i}catch(t){if(n.debug)throw t}try{if(i=r(e,o+1))return i}catch(t){if(n.debug)throw t}return{name:e.name,message:e.message,url:u()}}return o.augmentStackTraceWithInitialElement=e,o.computeStackTraceFromStackProp=t,o}();var c=n;e.default=c},4005:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DELIGHTED_FEEDBACK_PREFIX=e.DELIGHTED_RESPONSES_REGEX=e.WOOTRIC_RESPONSES_REGEX=void 0;e.WOOTRIC_RESPONSES_REGEX=/^https:\/\/production.wootric.com\/responses/;e.DELIGHTED_RESPONSES_REGEX=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/;e.DELIGHTED_FEEDBACK_PREFIX="comment="},7681:function(t,e,r){"use strict";var n=r(8698);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return{arson:o.encode(t)}};var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var r=i(e);if(r&&r.has(t))return r.get(t);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var u=a?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=t[s]}o.default=t,r&&r.set(t,o);return o}(r(2706));function i(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(i=function(t){return t?r:e})(t)}},4031:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var n=t[e];return t[e]=function(){for(var t,e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];n&&(t=n.apply(this,o));return r.apply(this,o),t},function(){t[e]=n}}},536:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r="undefined"!=typeof console&&console.error&&console.error.bind?console.error.bind(console):function(){};e.default=r},9645:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(null==t)return{};var r={};return Object.keys(t).forEach((function(n){r[n]=e(t[n])})),r}},7167:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return function(){var r;try{r=t.apply(void 0,arguments)}catch(t){if("undefined"!=typeof window&&window._lrdebug)throw t;var n=e(t);(0,i.default)("LogRocket",t),(0,o.default)(t,n)}return r}};var o=n(r(2769)),i=n(r(536))},2769:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.sendTelemetry=function(t,e){if("undefined"!=typeof window&&window._lrdebug)return void(0,i.default)(t);if(e&&e.extra&&e.extra.appID&&"function"==typeof e.extra.appID.indexOf&&0===e.extra.appID.indexOf("au2drp/")&&Math.random()>=.25)return;c(u({message:t},e))},e.default=function(t,e){try{var r,n,o=t.message;try{r=JSON.stringify(e).slice(0,1e3)}catch(t){try{r="Could not stringify payload: ".concat(Object.prototype.toString.call(e))}catch(t){}}try{n=a.default.computeStackTrace(t).stack.map((function(t){return{filename:t.url,lineno:t.line,colno:t.column,function:t.func||"?"}}))}catch(t){}c({message:o,extra:{stringPayload:r},exception:{values:[{type:t.type,value:o,stacktrace:{frames:n}}]}})}catch(t){(0,i.default)("Failed to send",t)}};var o=n(r(8416)),i=n(r(536)),a=n(r(8668));function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t){var e=window._lrXMLHttpRequest||XMLHttpRequest;try{var r=new e,n=t.message;r.open("POST","https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793"),r.send(JSON.stringify(u({message:n,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":"undefined"!=typeof navigator&&navigator.userAgent},url:"undefined"!=typeof location&&location.href},release:"5bd454064d3f1269d955ced13ebbce9ca1ddf670",environment:"test"},t)))}catch(t){(0,i.default)("Failed to send",t)}}},9242:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t&&e&&t.substring(r,r+e.length)===e}},3864:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}},6841:function(){function t(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32}var e=-1;t.Diff,t.prototype.diff_main=function(t,e,r,n){void 0===n&&(n=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var o=n;if(null==t||null==e)throw new Error("Null input. (diff_main)");if(t==e)return t?[[0,t]]:[];void 0===r&&(r=!0);var i=r,a=this.diff_commonPrefix(t,e),s=t.substring(0,a);t=t.substring(a),e=e.substring(a),a=this.diff_commonSuffix(t,e);var u=t.substring(t.length-a);t=t.substring(0,t.length-a),e=e.substring(0,e.length-a);var c=this.diff_compute_(t,e,i,o);return s&&c.unshift([0,s]),u&&c.push([0,u]),this.diff_cleanupMerge(c),c},t.prototype.diff_compute_=function(t,r,n,o){var i;if(!t)return[[1,r]];if(!r)return[[e,t]];var a=t.length>r.length?t:r,s=t.length>r.length?r:t,u=a.indexOf(s);if(-1!=u)return i=[[1,a.substring(0,u)],[0,s],[1,a.substring(u+s.length)]],t.length>r.length&&(i[0][0]=i[2][0]=e),i;if(1==s.length)return[[e,t],[1,r]];a=s=null;var c=this.diff_halfMatch_(t,r);if(c){var f=c[0],l=c[1],d=c[2],h=c[3],p=c[4],g=this.diff_main(f,d,n,o),v=this.diff_main(l,h,n,o);return g.concat([[0,p]],v)}return n&&t.length>100&&r.length>100?this.diff_lineMode_(t,r,o):this.diff_bisect_(t,r,o)},t.prototype.diff_lineMode_=function(t,r,n){t=(l=this.diff_linesToChars_(t,r))[0],r=l[1];var o=l[2],i=this.diff_bisect_(t,r,n);this.diff_charsToLines_(i,o),this.diff_cleanupSemantic(i),i.push([0,""]);for(var a=0,s=0,u=0,c="",f="";a<i.length;){switch(i[a][0]){case 1:u++,f+=i[a][1];break;case e:s++,c+=i[a][1];break;case 0:if(s>=1&&u>=1){var l=this.diff_main(c,f,!1,n);i.splice(a-s-u,s+u),a=a-s-u;for(var d=l.length-1;d>=0;d--)i.splice(a,0,l[d]);a+=l.length}u=0,s=0,c="",f=""}a++}return i.pop(),i},t.prototype.diff_bisect_=function(t,r,n){for(var o=t.length,i=r.length,a=Math.ceil((o+i)/2),s=a,u=2*a,c=new Array(u),f=new Array(u),l=0;l<u;l++)c[l]=-1,f[l]=-1;c[s+1]=0,f[s+1]=0;for(var d=o-i,h=d%2!=0,p=0,g=0,v=0,y=0,_=0;_<a&&!((new Date).getTime()>n);_++){for(var b=-_+p;b<=_-g;b+=2){for(var m=s+b,w=(P=b==-_||b!=_&&c[m-1]<c[m+1]?c[m+1]:c[m-1]+1)-b;P<o&&w<i&&t.charAt(P)==r.charAt(w);)P++,w++;if(c[m]=P,P>o)g+=2;else if(w>i)p+=2;else if(h){if((O=s+d-b)>=0&&O<u&&-1!=f[O])if(P>=(E=o-f[O]))return this.diff_bisectSplit_(t,r,P,w,n)}}for(var x=-_+v;x<=_-y;x+=2){for(var E,O=s+x,R=(E=x==-_||x!=_&&f[O-1]<f[O+1]?f[O+1]:f[O-1]+1)-x;E<o&&R<i&&t.charAt(o-E-1)==r.charAt(i-R-1);)E++,R++;if(f[O]=E,E>o)y+=2;else if(R>i)v+=2;else if(!h){if((m=s+d-x)>=0&&m<u&&-1!=c[m]){var P;w=s+(P=c[m])-m;if(P>=(E=o-E))return this.diff_bisectSplit_(t,r,P,w,n)}}}}return[[e,t],[1,r]]},t.prototype.diff_bisectSplit_=function(t,e,r,n,o){var i=t.substring(0,r),a=e.substring(0,n),s=t.substring(r),u=e.substring(n),c=this.diff_main(i,a,!1,o),f=this.diff_main(s,u,!1,o);return c.concat(f)},t.prototype.diff_linesToChars_=function(t,e){var r=[],n={};function o(t){for(var e="",o=0,i=-1,a=r.length;i<t.length-1;){-1==(i=t.indexOf("\n",o))&&(i=t.length-1);var s=t.substring(o,i+1);o=i+1,(n.hasOwnProperty?n.hasOwnProperty(s):void 0!==n[s])?e+=String.fromCharCode(n[s]):(e+=String.fromCharCode(a),n[s]=a,r[a++]=s)}return e}return r[0]="",[o(t),o(e),r]},t.prototype.diff_charsToLines_=function(t,e){for(var r=0;r<t.length;r++){for(var n=t[r][1],o=[],i=0;i<n.length;i++)o[i]=e[n.charCodeAt(i)];t[r][1]=o.join("")}},t.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var r=0,n=Math.min(t.length,e.length),o=n,i=0;r<o;)t.substring(i,o)==e.substring(i,o)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},t.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var r=0,n=Math.min(t.length,e.length),o=n,i=0;r<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},t.prototype.diff_commonOverlap_=function(t,e){var r=t.length,n=e.length;if(0==r||0==n)return 0;r>n?t=t.substring(r-n):r<n&&(e=e.substring(0,r));var o=Math.min(r,n);if(t==e)return o;for(var i=0,a=1;;){var s=t.substring(o-a),u=e.indexOf(s);if(-1==u)return i;a+=u,0!=u&&t.substring(o-a)!=e.substring(0,a)||(i=a,a++)}},t.prototype.diff_halfMatch_=function(t,e){if(this.Diff_Timeout<=0)return null;var r=t.length>e.length?t:e,n=t.length>e.length?e:t;if(r.length<4||2*n.length<r.length)return null;var o=this;function i(t,e,r){for(var n,i,a,s,u=t.substring(r,r+Math.floor(t.length/4)),c=-1,f="";-1!=(c=e.indexOf(u,c+1));){var l=o.diff_commonPrefix(t.substring(r),e.substring(c)),d=o.diff_commonSuffix(t.substring(0,r),e.substring(0,c));f.length<d+l&&(f=e.substring(c-d,c)+e.substring(c,c+l),n=t.substring(0,r-d),i=t.substring(r+l),a=e.substring(0,c-d),s=e.substring(c+l))}return 2*f.length>=t.length?[n,i,a,s,f]:null}var a,s,u,c,f,l=i(r,n,Math.ceil(r.length/4)),d=i(r,n,Math.ceil(r.length/2));return l||d?(a=d?l&&l[4].length>d[4].length?l:d:l,t.length>e.length?(s=a[0],u=a[1],c=a[2],f=a[3]):(c=a[0],f=a[1],s=a[2],u=a[3]),[s,u,c,f,a[4]]):null},t.prototype.diff_cleanupSemantic=function(t){for(var r=!1,n=[],o=0,i=null,a=0,s=0,u=0,c=0,f=0;a<t.length;)0==t[a][0]?(n[o++]=a,s=c,u=f,c=0,f=0,i=t[a][1]):(1==t[a][0]?c+=t[a][1].length:f+=t[a][1].length,null!==i&&i.length<=Math.max(s,u)&&i.length<=Math.max(c,f)&&(t.splice(n[o-1],0,[e,i]),t[n[o-1]+1][0]=1,o--,a=--o>0?n[o-1]:-1,s=0,u=0,c=0,f=0,i=null,r=!0)),a++;for(r&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),a=1;a<t.length;){if(t[a-1][0]==e&&1==t[a][0]){var l=t[a-1][1],d=t[a][1],h=this.diff_commonOverlap_(l,d);(h>=l.length/2||h>=d.length/2)&&(t.splice(a,0,[0,d.substring(0,h)]),t[a-1][1]=l.substring(0,l.length-h),t[a+1][1]=d.substring(h),a++),a++}a++}},t.prototype.diff_cleanupSemanticLossless=function(t){var e=/[^a-zA-Z0-9]/,r=/\s/,n=/[\r\n]/,o=/\n\r?\n$/,i=/^\r?\n\r?\n/;function a(t,a){if(!t||!a)return 5;var s=0;return(t.charAt(t.length-1).match(e)||a.charAt(0).match(e))&&(s++,(t.charAt(t.length-1).match(r)||a.charAt(0).match(r))&&(s++,(t.charAt(t.length-1).match(n)||a.charAt(0).match(n))&&(s++,(t.match(o)||a.match(i))&&s++))),s}for(var s=1;s<t.length-1;){if(0==t[s-1][0]&&0==t[s+1][0]){var u=t[s-1][1],c=t[s][1],f=t[s+1][1],l=this.diff_commonSuffix(u,c);if(l){var d=c.substring(c.length-l);u=u.substring(0,u.length-l),c=d+c.substring(0,c.length-l),f=d+f}for(var h=u,p=c,g=f,v=a(u,c)+a(c,f);c.charAt(0)===f.charAt(0);){u+=c.charAt(0),c=c.substring(1)+f.charAt(0),f=f.substring(1);var y=a(u,c)+a(c,f);y>=v&&(v=y,h=u,p=c,g=f)}t[s-1][1]!=h&&(h?t[s-1][1]=h:(t.splice(s-1,1),s--),t[s][1]=p,g?t[s+1][1]=g:(t.splice(s+1,1),s--))}s++}},t.prototype.diff_cleanupEfficiency=function(t){for(var r=!1,n=[],o=0,i="",a=0,s=!1,u=!1,c=!1,f=!1;a<t.length;)0==t[a][0]?(t[a][1].length<this.Diff_EditCost&&(c||f)?(n[o++]=a,s=c,u=f,i=t[a][1]):(o=0,i=""),c=f=!1):(t[a][0]==e?f=!0:c=!0,i&&(s&&u&&c&&f||i.length<this.Diff_EditCost/2&&s+u+c+f==3)&&(t.splice(n[o-1],0,[e,i]),t[n[o-1]+1][0]=1,o--,i="",s&&u?(c=f=!0,o=0):(a=--o>0?n[o-1]:-1,c=f=!1),r=!0)),a++;r&&this.diff_cleanupMerge(t)},t.prototype.diff_cleanupMerge=function(t){t.push([0,""]);for(var r,n=0,o=0,i=0,a="",s="";n<t.length;)switch(t[n][0]){case 1:i++,s+=t[n][1],n++;break;case e:o++,a+=t[n][1],n++;break;case 0:o+i>1?(0!==o&&0!==i&&(0!==(r=this.diff_commonPrefix(s,a))&&(n-o-i>0&&0==t[n-o-i-1][0]?t[n-o-i-1][1]+=s.substring(0,r):(t.splice(0,0,[0,s.substring(0,r)]),n++),s=s.substring(r),a=a.substring(r)),0!==(r=this.diff_commonSuffix(s,a))&&(t[n][1]=s.substring(s.length-r)+t[n][1],s=s.substring(0,s.length-r),a=a.substring(0,a.length-r))),0===o?t.splice(n-o-i,o+i,[1,s]):0===i?t.splice(n-o-i,o+i,[e,a]):t.splice(n-o-i,o+i,[e,a],[1,s]),n=n-o-i+(o?1:0)+(i?1:0)+1):0!==n&&0==t[n-1][0]?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,i=0,o=0,a="",s=""}""===t[t.length-1][1]&&t.pop();var u=!1;for(n=1;n<t.length-1;)0==t[n-1][0]&&0==t[n+1][0]&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)==t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),u=!0):t[n][1].substring(0,t[n+1][1].length)==t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),u=!0)),n++;u&&this.diff_cleanupMerge(t)},t.prototype.diff_xIndex=function(t,r){var n,o=0,i=0,a=0,s=0;for(n=0;n<t.length&&(1!==t[n][0]&&(o+=t[n][1].length),t[n][0]!==e&&(i+=t[n][1].length),!(o>r));n++)a=o,s=i;return t.length!=n&&t[n][0]===e?s:s+(r-a)},t.prototype.diff_prettyHtml=function(t){for(var r=[],n=/&/g,o=/</g,i=/>/g,a=/\n/g,s=0;s<t.length;s++){var u=t[s][0],c=t[s][1],f=c.replace(n,"&amp;").replace(o,"&lt;").replace(i,"&gt;").replace(a,"&para;<br>");switch(u){case 1:r[s]='<ins style="background:#e6ffe6;">'+f+"</ins>";break;case e:r[s]='<del style="background:#ffe6e6;">'+f+"</del>";break;case 0:r[s]="<span>"+f+"</span>"}u!==e&&c.length}return r.join("")},t.prototype.diff_text1=function(t){for(var e=[],r=0;r<t.length;r++)1!==t[r][0]&&(e[r]=t[r][1]);return e.join("")},t.prototype.diff_text2=function(t){for(var r=[],n=0;n<t.length;n++)t[n][0]!==e&&(r[n]=t[n][1]);return r.join("")},t.prototype.diff_levenshtein=function(t){for(var r=0,n=0,o=0,i=0;i<t.length;i++){var a=t[i][0],s=t[i][1];switch(a){case 1:n+=s.length;break;case e:o+=s.length;break;case 0:r+=Math.max(n,o),n=0,o=0}}return r+=Math.max(n,o)},t.prototype.diff_toDelta=function(t){for(var r=[],n=0;n<t.length;n++)switch(t[n][0]){case 1:r[n]="+"+encodeURI(t[n][1]);break;case e:r[n]="-"+t[n][1].length;break;case 0:r[n]="="+t[n][1].length}return r.join("\t").replace(/%20/g," ")},t.prototype.diff_fromDelta=function(t,r){for(var n=[],o=0,i=0,a=r.split(/\t/g),s=0;s<a.length;s++){var u=a[s].substring(1);switch(a[s].charAt(0)){case"+":try{n[o++]=[1,decodeURI(u)]}catch(t){throw new Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var c=parseInt(u,10);if(isNaN(c)||c<0)throw new Error("Invalid number in diff_fromDelta: "+u);var f=t.substring(i,i+=c);"="==a[s].charAt(0)?n[o++]=[0,f]:n[o++]=[e,f];break;default:if(a[s])throw new Error("Invalid diff operation in diff_fromDelta: "+a[s])}}if(i!=t.length)throw new Error("Delta length ("+i+") does not equal source text length ("+t.length+").");return n},t.prototype.match_main=function(t,e,r){if(null==t||null==e||null==r)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,t.length)),t==e?0:t.length?t.substring(r,r+e.length)==e?r:this.match_bitap_(t,e,r):-1},t.prototype.match_bitap_=function(t,e,r){if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var n=this.match_alphabet_(e),o=this;function i(t,n){var i=t/e.length,a=Math.abs(r-n);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=t.indexOf(e,r);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=t.lastIndexOf(e,r+e.length))&&(a=Math.min(i(0,s),a)));var u,c,f=1<<e.length-1;s=-1;for(var l,d=e.length+t.length,h=0;h<e.length;h++){for(u=0,c=d;u<c;)i(h,r+c)<=a?u=c:d=c,c=Math.floor((d-u)/2+u);d=c;var p=Math.max(1,r-c+1),g=Math.min(r+c,t.length)+e.length,v=Array(g+2);v[g+1]=(1<<h)-1;for(var y=g;y>=p;y--){var _=n[t.charAt(y-1)];if(v[y]=0===h?(v[y+1]<<1|1)&_:(v[y+1]<<1|1)&_|(l[y+1]|l[y])<<1|1|l[y+1],v[y]&f){var b=i(h,y-1);if(b<=a){if(a=b,!((s=y-1)>r))break;p=Math.max(1,2*r-s)}}}if(i(h+1,r)>a)break;l=v}return s},t.prototype.match_alphabet_=function(t){for(var e={},r=0;r<t.length;r++)e[t.charAt(r)]=0;for(r=0;r<t.length;r++)e[t.charAt(r)]|=1<<t.length-r-1;return e},t.prototype.patch_addContext_=function(t,e){if(0!=e.length){for(var r=e.substring(t.start2,t.start2+t.length1),n=0;e.indexOf(r)!=e.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)n+=this.Patch_Margin,r=e.substring(t.start2-n,t.start2+t.length1+n);n+=this.Patch_Margin;var o=e.substring(t.start2-n,t.start2);o&&t.diffs.unshift([0,o]);var i=e.substring(t.start2+t.length1,t.start2+t.length1+n);i&&t.diffs.push([0,i]),t.start1-=o.length,t.start2-=o.length,t.length1+=o.length+i.length,t.length2+=o.length+i.length}},t.prototype.patch_make=function(r,n,o){var i,a;if("string"==typeof r&&"string"==typeof n&&void 0===o)i=r,(a=this.diff_main(i,n,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(r&&"object"==typeof r&&void 0===n&&void 0===o)a=r,i=this.diff_text1(a);else if("string"==typeof r&&n&&"object"==typeof n&&void 0===o)i=r,a=n;else{if("string"!=typeof r||"string"!=typeof n||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=r,a=o}if(0===a.length)return[];for(var s=[],u=new t.patch_obj,c=0,f=0,l=0,d=i,h=i,p=0;p<a.length;p++){var g=a[p][0],v=a[p][1];switch(c||0===g||(u.start1=f,u.start2=l),g){case 1:u.diffs[c++]=a[p],u.length2+=v.length,h=h.substring(0,l)+v+h.substring(l);break;case e:u.length1+=v.length,u.diffs[c++]=a[p],h=h.substring(0,l)+h.substring(l+v.length);break;case 0:v.length<=2*this.Patch_Margin&&c&&a.length!=p+1?(u.diffs[c++]=a[p],u.length1+=v.length,u.length2+=v.length):v.length>=2*this.Patch_Margin&&c&&(this.patch_addContext_(u,d),s.push(u),u=new t.patch_obj,c=0,d=h,f=l)}1!==g&&(f+=v.length),g!==e&&(l+=v.length)}return c&&(this.patch_addContext_(u,d),s.push(u)),s},t.prototype.patch_deepCopy=function(e){for(var r=[],n=0;n<e.length;n++){var o=e[n],i=new t.patch_obj;i.diffs=[];for(var a=0;a<o.diffs.length;a++)i.diffs[a]=o.diffs[a].slice();i.start1=o.start1,i.start2=o.start2,i.length1=o.length1,i.length2=o.length2,r[n]=i}return r},t.prototype.patch_apply=function(t,r){if(0==t.length)return[r,[]];t=this.patch_deepCopy(t);var n=this.patch_addPadding(t);r=n+r+n,this.patch_splitMax(t);for(var o=0,i=[],a=0;a<t.length;a++){var s,u,c=t[a].start2+o,f=this.diff_text1(t[a].diffs),l=-1;if(f.length>this.Match_MaxBits?-1!=(s=this.match_main(r,f.substring(0,this.Match_MaxBits),c))&&(-1==(l=this.match_main(r,f.substring(f.length-this.Match_MaxBits),c+f.length-this.Match_MaxBits))||s>=l)&&(s=-1):s=this.match_main(r,f,c),-1==s)i[a]=!1,o-=t[a].length2-t[a].length1;else if(i[a]=!0,o=s-c,f==(u=-1==l?r.substring(s,s+f.length):r.substring(s,l+this.Match_MaxBits)))r=r.substring(0,s)+this.diff_text2(t[a].diffs)+r.substring(s+f.length);else{var d=this.diff_main(f,u,!1);if(f.length>this.Match_MaxBits&&this.diff_levenshtein(d)/f.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(d);for(var h,p=0,g=0;g<t[a].diffs.length;g++){var v=t[a].diffs[g];0!==v[0]&&(h=this.diff_xIndex(d,p)),1===v[0]?r=r.substring(0,s+h)+v[1]+r.substring(s+h):v[0]===e&&(r=r.substring(0,s+h)+r.substring(s+this.diff_xIndex(d,p+v[1].length))),v[0]!==e&&(p+=v[1].length)}}}}return[r=r.substring(n.length,r.length-n.length),i]},t.prototype.patch_addPadding=function(t){for(var e=this.Patch_Margin,r="",n=1;n<=e;n++)r+=String.fromCharCode(n);for(n=0;n<t.length;n++)t[n].start1+=e,t[n].start2+=e;var o=t[0],i=o.diffs;if(0==i.length||0!=i[0][0])i.unshift([0,r]),o.start1-=e,o.start2-=e,o.length1+=e,o.length2+=e;else if(e>i[0][1].length){var a=e-i[0][1].length;i[0][1]=r.substring(i[0][1].length)+i[0][1],o.start1-=a,o.start2-=a,o.length1+=a,o.length2+=a}if(0==(i=(o=t[t.length-1]).diffs).length||0!=i[i.length-1][0])i.push([0,r]),o.length1+=e,o.length2+=e;else if(e>i[i.length-1][1].length){a=e-i[i.length-1][1].length;i[i.length-1][1]+=r.substring(0,a),o.length1+=a,o.length2+=a}return r},t.prototype.patch_splitMax=function(r){for(var n=this.Match_MaxBits,o=0;o<r.length;o++)if(r[o].length1>n){var i=r[o];r.splice(o--,1);for(var a=i.start1,s=i.start2,u="";0!==i.diffs.length;){var c=new t.patch_obj,f=!0;for(c.start1=a-u.length,c.start2=s-u.length,""!==u&&(c.length1=c.length2=u.length,c.diffs.push([0,u]));0!==i.diffs.length&&c.length1<n-this.Patch_Margin;){var l=i.diffs[0][0],d=i.diffs[0][1];1===l?(c.length2+=d.length,s+=d.length,c.diffs.push(i.diffs.shift()),f=!1):l===e&&1==c.diffs.length&&0==c.diffs[0][0]&&d.length>2*n?(c.length1+=d.length,a+=d.length,f=!1,c.diffs.push([l,d]),i.diffs.shift()):(d=d.substring(0,n-c.length1-this.Patch_Margin),c.length1+=d.length,a+=d.length,0===l?(c.length2+=d.length,s+=d.length):f=!1,c.diffs.push([l,d]),d==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(d.length))}u=(u=this.diff_text2(c.diffs)).substring(u.length-this.Patch_Margin);var h=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==h&&(c.length1+=h.length,c.length2+=h.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=h:c.diffs.push([0,h])),f||r.splice(++o,0,c)}}},t.prototype.patch_toText=function(t){for(var e=[],r=0;r<t.length;r++)e[r]=t[r];return e.join("")},t.prototype.patch_fromText=function(r){var n=[];if(!r)return n;for(var o=r.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var s=o[i].match(a);if(!s)throw new Error("Invalid patch string: "+o[i]);var u=new t.patch_obj;for(n.push(u),u.start1=parseInt(s[1],10),""===s[2]?(u.start1--,u.length1=1):"0"==s[2]?u.length1=0:(u.start1--,u.length1=parseInt(s[2],10)),u.start2=parseInt(s[3],10),""===s[4]?(u.start2--,u.length2=1):"0"==s[4]?u.length2=0:(u.start2--,u.length2=parseInt(s[4],10)),i++;i<o.length;){var c=o[i].charAt(0);try{var f=decodeURI(o[i].substring(1))}catch(t){throw new Error("Illegal escape in patch_fromText: "+f)}if("-"==c)u.diffs.push([e,f]);else if("+"==c)u.diffs.push([1,f]);else if(" "==c)u.diffs.push([0,f]);else{if("@"==c)break;if(""!==c)throw new Error('Invalid patch mode "'+c+'" in: '+f)}i++}}return n},t.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},t.patch_obj.prototype.toString=function(){for(var t,r=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],n=0;n<this.diffs.length;n++){switch(this.diffs[n][0]){case 1:t="+";break;case e:t="-";break;case 0:t=" "}r[n+1]=t+encodeURI(this.diffs[n][1])+"\n"}return r.join("").replace(/%20/g," ")},this.diff_match_patch=t,this.DIFF_DELETE=e,this.DIFF_INSERT=1,this.DIFF_EQUAL=0},3538:function(t,e,r){var n={"./diff_match_patch_uncompressed":6841,"./diff_match_patch_uncompressed.js":6841};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=3538},9559:function(t){var e="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array};t.exports=function t(r){if("object"!=typeof r)return r;if(null===r)return null;if(e(r))return r.map(t);if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp)return n=/^\/(.*)\/([gimyu]*)$/.exec(r.toString()),new RegExp(n[1],n[2]);var n,o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=t(r[i]));return o}},4251:function(t,e,r){var n=r(5820).E,o=function(){};o.prototype.setResult=function(t){return this.result=t,this.hasResult=!0,this},o.prototype.exit=function(){return this.exiting=!0,this},o.prototype.switchTo=function(t,e){return"string"==typeof t||t instanceof n?this.nextPipe=t:(this.next=t,e&&(this.nextPipe=e)),this},o.prototype.push=function(t,e){return t.parent=this,void 0!==e&&(t.childName=e),t.root=this.root||this,t.options=t.options||this.options,this.children?(this.children[this.children.length-1].next=t,this.children.push(t)):(this.children=[t],this.nextAfterChildren=this.next||null,this.next=t),t.next=this,this},e._=o},9637:function(t,e,r){var n=r(4251)._,o=r(9559),i=function(t,e){this.left=t,this.right=e,this.pipe="diff"};(i.prototype=new n).setResult=function(t){if(this.options.cloneDiffValues&&"object"==typeof t){var e="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:o;"object"==typeof t[0]&&(t[0]=e(t[0])),"object"==typeof t[1]&&(t[1]=e(t[1]))}return n.prototype.setResult.apply(this,arguments)},e.A=i},7443:function(t,e,r){var n=r(4251)._,o=function(t,e){this.left=t,this.delta=e,this.pipe="patch"};o.prototype=new n,e.f=o},4153:function(t,e,r){var n=r(4251)._,o=function(t){this.delta=t,this.pipe="reverse"};o.prototype=new n,e.V=o},1390:function(t,e,r){var n=r(7854).w,o=r(5820).E,i=r(9637).A,a=r(7443).f,s=r(4153).V,u=r(9559),c=r(6294),f=r(1104),l=r(107),d=r(1634),h=r(328),p=function(t){this.processor=new n(t),this.processor.pipe(new o("diff").append(f.collectChildrenDiffFilter,c.diffFilter,d.diffFilter,h.diffFilter,f.objectsDiffFilter,l.diffFilter).shouldHaveResult()),this.processor.pipe(new o("patch").append(f.collectChildrenPatchFilter,l.collectChildrenPatchFilter,c.patchFilter,h.patchFilter,f.patchFilter,l.patchFilter).shouldHaveResult()),this.processor.pipe(new o("reverse").append(f.collectChildrenReverseFilter,l.collectChildrenReverseFilter,c.reverseFilter,h.reverseFilter,f.reverseFilter,l.reverseFilter).shouldHaveResult())};p.prototype.options=function(){return this.processor.options.apply(this.processor,arguments)},p.prototype.diff=function(t,e){return this.processor.process(new i(t,e))},p.prototype.patch=function(t,e){return this.processor.process(new a(t,e))},p.prototype.reverse=function(t){return this.processor.process(new s(t))},p.prototype.unpatch=function(t,e){return this.patch(t,this.reverse(e))},p.prototype.clone=function(t){return u(t)},e.DiffPatcher=p},107:function(t,e,r){var n=r(9637).A,o=r(7443).f,i=r(4153).V,a=r(7821),s="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},u="function"==typeof Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var r=t.length,n=0;n<r;n++)if(t[n]===e)return n;return-1};function c(t,e,r,n,o){var i=t[r],a=e[n];if(i===a)return!0;if("object"!=typeof i||"object"!=typeof a)return!1;var s,u,c=o.objectHash;return c?("number"==typeof r?(o.hashCache1=o.hashCache1||[],void 0===(s=o.hashCache1[r])&&(o.hashCache1[r]=s=c(i,r))):s=c(i),void 0!==s&&("number"==typeof n?(o.hashCache2=o.hashCache2||[],void 0===(u=o.hashCache2[n])&&(o.hashCache2[n]=u=c(a,n))):u=c(a),void 0!==u&&s===u)):o.matchByPosition&&r===n}var f=function(t){if(t.leftIsArray){var e,r,o,i,s,f={objectHash:t.options&&t.options.objectHash,matchByPosition:t.options&&t.options.matchByPosition},l=0,d=0,h=t.left,p=t.right,g=h.length,v=p.length;for(g>0&&v>0&&!f.objectHash&&"boolean"!=typeof f.matchByPosition&&(f.matchByPosition=!function(t,e,r,n){for(var o=0;o<r;o++)for(var i=t[o],a=0;a<n;a++){var s=e[a];if(o!==a&&i===s)return!0}}(h,p,g,v));l<g&&l<v&&c(h,p,l,l,f);)e=l,i=new n(t.left[e],t.right[e]),t.push(i,e),l++;for(;d+l<g&&d+l<v&&c(h,p,g-1-d,v-1-d,f);)r=g-1-d,o=v-1-d,i=new n(t.left[r],t.right[o]),t.push(i,o),d++;if(l+d!==g)if(l+d!==v){delete f.hashCache1,delete f.hashCache2;var y=h.slice(l,g-d),_=p.slice(l,v-d),b=a.get(y,_,c,f),m=[];for(s=s||{_t:"a"},e=l;e<g-d;e++)u(b.indices1,e-l)<0&&(s["_"+e]=[h[e],0,0],m.push(e));var w=!0;t.options&&t.options.arrays&&!1===t.options.arrays.detectMove&&(w=!1);var x=!1;t.options&&t.options.arrays&&t.options.arrays.includeValueOnMove&&(x=!0);var E=m.length;for(e=l;e<v-d;e++){var O=u(b.indices2,e-l);if(O<0){var R=!1;if(w&&E>0)for(var P=0;P<E;P++)if(c(y,_,(r=m[P])-l,e-l,f)){s["_"+r].splice(1,2,e,3),x||(s["_"+r][0]=""),o=e,i=new n(t.left[r],t.right[o]),t.push(i,o),m.splice(P,1),R=!0;break}R||(s[e]=[p[e]])}else r=b.indices1[O]+l,o=b.indices2[O]+l,i=new n(t.left[r],t.right[o]),t.push(i,o)}t.setResult(s).exit()}else{for(s=s||{_t:"a"},e=l;e<g-d;e++)s["_"+e]=[h[e],0,0];t.setResult(s).exit()}else{if(g===v)return void t.setResult(void 0).exit();for(s=s||{_t:"a"},e=l;e<v-d;e++)s[e]=[p[e]];t.setResult(s).exit()}}};f.filterName="arrays";var l=function(t,e){return t-e},d=function(t){return function(e,r){return e[t]-r[t]}},h=function(t){if(t.nested&&"a"===t.delta._t){var e,r,n=t.delta,i=t.left,a=[],s=[],u=[];for(e in n)if("_t"!==e)if("_"===e[0]){if(0!==n[e][2]&&3!==n[e][2])throw new Error("only removal or move can be applied at original array indices, invalid diff type: "+n[e][2]);a.push(parseInt(e.slice(1),10))}else 1===n[e].length?s.push({index:parseInt(e,10),value:n[e][0]}):u.push({index:parseInt(e,10),delta:n[e]});for(e=(a=a.sort(l)).length-1;e>=0;e--){var c=n["_"+(r=a[e])],f=i.splice(r,1)[0];3===c[2]&&s.push({index:c[1],value:f})}var h=(s=s.sort(d("index"))).length;for(e=0;e<h;e++){var p=s[e];i.splice(p.index,0,p.value)}var g,v=u.length;if(v>0)for(e=0;e<v;e++){var y=u[e];g=new o(t.left[y.index],y.delta),t.push(g,y.index)}t.children?t.exit():t.setResult(t.left).exit()}};h.filterName="arrays";var p=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,r=t.children.length,n=0;n<r;n++)e=t.children[n],t.left[e.childName]=e.result;t.setResult(t.left).exit()}};p.filterName="arraysCollectChildren";var g=function(t){if(t.nested){if("a"===t.delta._t){var e,r;for(e in t.delta)"_t"!==e&&(r=new i(t.delta[e]),t.push(r,e));t.exit()}}else 3===t.delta[2]&&(t.newName="_"+t.delta[1],t.setResult([t.delta[0],parseInt(t.childName.substr(1),10),3]).exit())};g.filterName="arrays";var v=function(t,e,r){if("string"==typeof e&&"_"===e[0])return parseInt(e.substr(1),10);if(s(r)&&0===r[2])return"_"+e;var n=+e;for(var o in t){var i=t[o];if(s(i))if(3===i[2]){var a=parseInt(o.substr(1),10),u=i[1];if(u===+e)return a;a<=n&&u>n?n++:a>=n&&u<n&&n--}else if(0===i[2]){parseInt(o.substr(1),10)<=n&&n++}else 1===i.length&&o<=n&&n--}return n},y=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,r=t.children.length,n={_t:"a"},o=0;o<r;o++){var i=(e=t.children[o]).newName;void 0===i&&(i=v(t.delta,e.childName,e.result)),n[i]!==e.result&&(n[i]=e.result)}t.setResult(n).exit()}};y.filterName="arraysCollectChildren",e.diffFilter=f,e.patchFilter=h,e.collectChildrenPatchFilter=p,e.reverseFilter=g,e.collectChildrenReverseFilter=y},1634:function(t,e){var r=function(t){t.left instanceof Date?(t.right instanceof Date?t.left.getTime()!==t.right.getTime()?t.setResult([t.left,t.right]):t.setResult(void 0):t.setResult([t.left,t.right]),t.exit()):t.right instanceof Date&&t.setResult([t.left,t.right]).exit()};r.filterName="dates",e.diffFilter=r},7821:function(t,e){var r=function(t,e,r,n){return t[r]===e[n]},n=function(t,e,r,o,i,a){if(0===o||0===i)return{sequence:[],indices1:[],indices2:[]};if(t.match(e,r,o-1,i-1,a)){var s=n(t,e,r,o-1,i-1,a);return s.sequence.push(e[o-1]),s.indices1.push(o-1),s.indices2.push(i-1),s}return t[o][i-1]>t[o-1][i]?n(t,e,r,o,i-1,a):n(t,e,r,o-1,i,a)};e.get=function(t,e,o,i){var a=function(t,e,r,n){var o,i,a=t.length,s=e.length,u=[a+1];for(o=0;o<a+1;o++)for(u[o]=[s+1],i=0;i<s+1;i++)u[o][i]=0;for(u.match=r,o=1;o<a+1;o++)for(i=1;i<s+1;i++)r(t,e,o-1,i-1,n)?u[o][i]=u[o-1][i-1]+1:u[o][i]=Math.max(u[o-1][i],u[o][i-1]);return u}(t,e,o||r,i=i||{}),s=n(a,t,e,t.length,e.length,i);return"string"==typeof t&&"string"==typeof e&&(s.sequence=s.sequence.join("")),s}},1104:function(t,e,r){var n=r(9637).A,o=r(7443).f,i=r(4153).V,a=function(t){if(t&&t.children){for(var e,r=t.children.length,n=t.result,o=0;o<r;o++)void 0!==(e=t.children[o]).result&&((n=n||{})[e.childName]=e.result);n&&t.leftIsArray&&(n._t="a"),t.setResult(n).exit()}};a.filterName="collectChildren";var s=function(t){if(!t.leftIsArray&&"object"===t.leftType){var e,r,o=t.options.propertyFilter;for(e in t.left)Object.prototype.hasOwnProperty.call(t.left,e)&&(o&&!o(e,t)||(r=new n(t.left[e],t.right[e]),t.push(r,e)));for(e in t.right)Object.prototype.hasOwnProperty.call(t.right,e)&&(o&&!o(e,t)||void 0===t.left[e]&&(r=new n(void 0,t.right[e]),t.push(r,e)));t.children&&0!==t.children.length?t.exit():t.setResult(void 0).exit()}};s.filterName="objects";var u=function(t){if(t.nested&&!t.delta._t){var e,r;for(e in t.delta)r=new o(t.left[e],t.delta[e]),t.push(r,e);t.exit()}};u.filterName="objects";var c=function(t){if(t&&t.children&&!t.delta._t){for(var e,r=t.children.length,n=0;n<r;n++)e=t.children[n],Object.prototype.hasOwnProperty.call(t.left,e.childName)&&void 0===e.result?delete t.left[e.childName]:t.left[e.childName]!==e.result&&(t.left[e.childName]=e.result);t.setResult(t.left).exit()}};c.filterName="collectChildren";var f=function(t){if(t.nested&&!t.delta._t){var e,r;for(e in t.delta)r=new i(t.delta[e]),t.push(r,e);t.exit()}};f.filterName="objects";var l=function(t){if(t&&t.children&&!t.delta._t){for(var e,r=t.children.length,n={},o=0;o<r;o++)n[(e=t.children[o]).childName]!==e.result&&(n[e.childName]=e.result);t.setResult(n).exit()}};l.filterName="collectChildren",e.collectChildrenDiffFilter=a,e.objectsDiffFilter=s,e.patchFilter=u,e.collectChildrenPatchFilter=c,e.reverseFilter=f,e.collectChildrenReverseFilter=l},328:function(t,e,r){var n=null,o=function(t){if(!n){var e;if("undefined"!=typeof diff_match_patch)e="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else{try{var o=r(3538)("./diff_match_patch_uncompressed");e=new o.diff_match_patch}catch(t){e=null}}if(!e){if(!t)return null;var i=new Error("text diff_match_patch library not found");throw i.diff_match_patch_not_found=!0,i}n={diff:function(t,r){return e.patch_toText(e.patch_make(t,r))},patch:function(t,r){for(var n=e.patch_apply(e.patch_fromText(r),t),o=0;o<n[1].length;o++){if(!n[1][o])new Error("text patch failed").textPatchFailed=!0}return n[0]}}}return n},i=function(t){if("string"===t.leftType){var e=t.options&&t.options.textDiff&&t.options.textDiff.minLength||60;if(t.left.length<e||t.right.length<e)t.setResult([t.left,t.right]).exit();else{var r=o();if(r){var n=r.diff;t.setResult([n(t.left,t.right),0,2]).exit()}else t.setResult([t.left,t.right]).exit()}}};i.filterName="texts";var a=function(t){if(!t.nested&&2===t.delta[2]){var e=o(!0).patch;t.setResult(e(t.left,t.delta[0])).exit()}};a.filterName="texts";var s=function(t){var e,r,n,o,i,a=null,s=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(e=0,r=(n=t.split("\n")).length;e<r;e++){var u=(o=n[e]).slice(0,1);"@"===u?(a=s.exec(o),null,null,n[e]="@@ -"+a[3]+","+a[4]+" +"+a[1]+","+a[2]+" @@"):"+"===u?(e,n[e]="-"+n[e].slice(1),"+"===n[e-1].slice(0,1)&&(i=n[e],n[e]=n[e-1],n[e-1]=i)):"-"===u&&(e,n[e]="+"+n[e].slice(1))}return n.join("\n")},u=function(t){t.nested||2===t.delta[2]&&t.setResult([s(t.delta[0]),0,2]).exit()};u.filterName="texts",e.diffFilter=i,e.patchFilter=a,e.reverseFilter=u},6294:function(t,e){var r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},n=function(t){if(t.left!==t.right)if(void 0!==t.left)if(void 0!==t.right){if("function"==typeof t.left||"function"==typeof t.right)throw new Error("functions are not supported");if(t.leftType=null===t.left?"null":typeof t.left,t.rightType=null===t.right?"null":typeof t.right,t.leftType===t.rightType)if("boolean"!==t.leftType&&"number"!==t.leftType)if("object"===t.leftType&&(t.leftIsArray=r(t.left)),"object"===t.rightType&&(t.rightIsArray=r(t.right)),t.leftIsArray===t.rightIsArray){if(t.left instanceof RegExp){if(!(t.right instanceof RegExp))return void t.setResult([t.left,t.right]).exit();t.setResult([t.left.toString(),t.right.toString()]).exit()}}else t.setResult([t.left,t.right]).exit();else t.setResult([t.left,t.right]).exit();else t.setResult([t.left,t.right]).exit()}else t.setResult([t.left,0,0]).exit();else{if("function"==typeof t.right)throw new Error("functions are not supported");t.setResult([t.right]).exit()}else t.setResult(void 0).exit()};n.filterName="trivial";var o=function(t){if(void 0!==t.delta){if(t.nested=!r(t.delta),!t.nested)if(1!==t.delta.length)if(2!==t.delta.length)3!==t.delta.length||0!==t.delta[2]||t.setResult(void 0).exit();else{if(t.left instanceof RegExp){var e=/^\/(.*)\/([gimyu]+)$/.exec(t.delta[1]);if(e)return void t.setResult(new RegExp(e[1],e[2])).exit()}t.setResult(t.delta[1]).exit()}else t.setResult(t.delta[0]).exit()}else t.setResult(t.left).exit()};o.filterName="trivial";var i=function(t){void 0!==t.delta?(t.nested=!r(t.delta),t.nested||(1!==t.delta.length?2!==t.delta.length?3!==t.delta.length||0!==t.delta[2]||t.setResult([t.delta[0]]).exit():t.setResult([t.delta[1],t.delta[0]]).exit():t.setResult([t.delta[0],0,0]).exit())):t.setResult(t.delta).exit()};i.filterName="trivial",e.diffFilter=n,e.patchFilter=o,e.reverseFilter=i},5820:function(t,e){var r=function(t){this.name=t,this.filters=[]};r.prototype.process=function(t){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var e=this.debug,r=this.filters.length,n=t,o=0;o<r;o++){var i=this.filters[o];if(e&&this.log("filter: "+i.filterName),i(n),"object"==typeof n&&n.exiting){n.exiting=!1;break}}!n.next&&this.resultCheck&&this.resultCheck(n)},r.prototype.log=function(t){console.log("[jsondiffpatch] "+this.name+" pipe, "+t)},r.prototype.append=function(){return this.filters.push.apply(this.filters,arguments),this},r.prototype.prepend=function(){return this.filters.unshift.apply(this.filters,arguments),this},r.prototype.indexOf=function(t){if(!t)throw new Error("a filter name is required");for(var e=0;e<this.filters.length;e++){if(this.filters[e].filterName===t)return e}throw new Error("filter not found: "+t)},r.prototype.list=function(){for(var t=[],e=0;e<this.filters.length;e++){var r=this.filters[e];t.push(r.filterName)}return t},r.prototype.after=function(t){var e=this.indexOf(t),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(e+1,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.before=function(t){var e=this.indexOf(t),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(e,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.clear=function(){return this.filters.length=0,this},r.prototype.shouldHaveResult=function(t){if(!1!==t){if(!this.resultCheck){var e=this;return this.resultCheck=function(t){if(!t.hasResult){console.log(t);var r=new Error(e.name+" failed");throw r.noResult=!0,r}},this}}else this.resultCheck=null},e.E=r},7854:function(t,e){var r=function(t){this.selfOptions=t||{},this.pipes={}};r.prototype.options=function(t){return t&&(this.selfOptions=t),this.selfOptions},r.prototype.pipe=function(t,e){if("string"==typeof t){if(void 0===e)return this.pipes[t];this.pipes[t]=e}if(t&&t.name){if((e=t).processor===this)return e;this.pipes[e.name]=e}return e.processor=this,e},r.prototype.process=function(t,e){var r=t;r.options=this.options();for(var n,o,i=e||t.pipe||"default";i;)void 0!==r.nextAfterChildren&&(r.next=r.nextAfterChildren,r.nextAfterChildren=null),"string"==typeof i&&(i=this.pipe(i)),i.process(r),o=r,n=i,i=null,r&&r.next&&(r=r.next,i=o.nextPipe||r.pipe||n);return r.hasResult?r.result:void 0},e.w=r},8762:function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.default=t.exports,t.exports.__esModule=!0},4280:function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},8944:function(t,e,r){var n=r(8762);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.default=t.exports,t.exports.__esModule=!0},5571:function(t){function e(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function s(t){e(a,o,i,s,u,"next",t)}function u(t){e(a,o,i,s,u,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},7363:function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},3051:function(t){function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t},t.exports.default=t.exports,t.exports.__esModule=!0},7472:function(t){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},2695:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,e.apply(this,arguments)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0},5643:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1198:function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},1024:function(t){t.exports=function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},5605:function(t){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},6811:function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},4262:function(t,e,r){var n=r(4280),o=r(1024),i=r(9487),a=r(5605);t.exports=function(t,e){return n(t)||o(t,e)||i(t,e)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},3217:function(t,e,r){var n=r(8944),o=r(1198),i=r(9487),a=r(6811);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},4576:function(t){function e(r){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=e=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),e(r)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0},9487:function(t,e,r){var n=r(8762);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},5838:function(t,e,r){t.exports=r(7828)},7828:function(t){var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return M()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=R(a,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var u=f(t,e,r);if("normal"===u.type){if(n=r.done?p:d,u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l="suspendedStart",d="suspendedYield",h="executing",p="completed",g={};function v(){}function y(){}function _(){}var b={};b[i]=function(){return this};var m=Object.getPrototypeOf,w=m&&m(m(A([])));w&&w!==r&&n.call(w,i)&&(b=w);var x=_.prototype=v.prototype=Object.create(b);function E(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,s){var u=f(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function R(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,R(t,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function A(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:M}}function M(){return{value:e,done:!0}}return y.prototype=x.constructor=_,_.constructor=y,y.displayName=u(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,u(t,s,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},E(O.prototype),O.prototype[a]=function(){return this},t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(c(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(x),u(x,s,"Generator"),x[i]=function(){return this},x.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=A,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}},9594:function(t){"use strict";t.exports=require("promise/setimmediate/core")},6905:function(t){"use strict";t.exports=require("promise/setimmediate/rejection-tracking")},9497:function(t){"use strict";t.exports=require("react")},7305:function(t){"use strict";t.exports=require("react-native")},3897:function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.__esModule=!0,t.exports.default=t.exports},3405:function(t,e,r){var n=r(3897);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports.default=t.exports},6690:function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},9728:function(t,e,r){var n=r(4062);function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,n(o.key),o)}}t.exports=function(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},8416:function(t,e,r){var n=r(4062);t.exports=function(t,e,r){return(e=n(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},4836:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},9498:function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},2281:function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},861:function(t,e,r){var n=r(3405),o=r(9498),i=r(6116),a=r(2281);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},5036:function(t,e,r){var n=r(8698).default;t.exports=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},4062:function(t,e,r){var n=r(8698).default,o=r(5036);t.exports=function(t){var e=o(t,"string");return"symbol"===n(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},8698:function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},6116:function(t,e,r){var n=r(3897);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r(8240)}()}));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.LogRocketReactNative=e():t.LogRocketReactNative=e()}(self,(function(){return function(){var t={2706:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.encode=function(t){return JSON.stringify(function(t){var e=[],r="function"==typeof Map&&new Map;function n(t){switch((0,o.default)(t)){case"undefined":return-1;case"number":if(isNaN(t))return-3;if(!isFinite(t))return t<0?-5:-4}var n;return r?void 0===(n=r.get(t))&&(n=e.push(t)-1,r.set(t,n)):(n=e.indexOf(t))<0&&(n=e.push(t)-1),n}function i(t){var e=t;if(t&&"object"===(0,o.default)(t)){var r=Object.keys(t);if(function(t){if(t&&"object"===(0,o.default)(t)){return(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__)===Object.prototype}return!1}(t))e={};else{if(!Array.isArray(t)){for(var i in a){var s=a[i].deconstruct(t);if(s){for(c=0;c<s.length;++c)s[c]=n(s[c]);return s.unshift(i),s}}return{}.toString.call(t)}e=Array(t.length);var u=t.length;if(u>r.length)for(var c=0;c<u;++c)e[c]=-2}r.forEach((function(r){e[r]=n(t[r])}))}return e}var s=n(t);if(s<0)return s;for(var u=[],c=0;c<e.length;++c)u[c]=i(e[c]);return u}(t))},e.decode=function(t){return function(t){if("number"==typeof t&&t<0)return n(t);var e=new Array(t.length);function r(t){return t in e?e[t]:e[t]=n(t)}function n(e){if(e<0){if(-1===e)return;if(e===i)return;if(-3===e)return NaN;if(-4===e)return 1/0;if(-5===e)return-1/0;throw new Error("invalid ARSON index: "+e)}var n=t[e];if(n&&"object"===(0,o.default)(n)){if(Array.isArray(n)){var c=n[0];if("string"==typeof c&&c in a){var f=a[c].reconstruct,l=f();return l&&s.push({reconstruct:f,empty:l,argIndexes:n.slice(1)}),t[e]=l||f(n.slice(1).map(r))}}u.push(n)}return n}var s=[],u=[];return t.forEach((function(t,e){r(e)})),s.forEach((function(t){t.args=t.argIndexes.map(r)})),u.forEach((function(e){Object.keys(e).forEach((function(n){var o=e[n];if("number"==typeof o)if(o<0){if(o===i)return void delete e[n];e[n]=r(o)}else e[n]=t[o]}))})),s.forEach((function(t){t.reconstruct.call(t.empty,t.args)})),t[0]}(JSON.parse(t))};var o=n(r(8698)),i=-2,a=Object.create(null),s=function(t,e){function r(r){if("function"!=typeof e[r])throw new Error("second argument to ARSON.registerType("+JSON.stringify(t)+", ...) must be an object with a "+r+" method")}r("deconstruct"),r("reconstruct"),a[t]=e},u=Object.prototype.toString;"function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&s("Buffer",{deconstruct:function(t){return Buffer.isBuffer(t)&&[t.toString("base64"),"base64"]},reconstruct:function(t){return t&&Buffer.from(t[0],t[1])}}),s("Date",{deconstruct:function(t){return"[object Date]"===u.call(t)&&[t.toJSON()]},reconstruct:function(t){return t&&new Date(t[0])}}),s("RegExp",{deconstruct:function(t){if("[object RegExp]"===u.call(t)){var e=[t.source],r="";return t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.global&&(r+="g"),r&&e.push(r),e}},reconstruct:function(t){return t&&new RegExp(t[0],t[1])}}),"function"==typeof Set&&"function"==typeof Array.from&&s("Set",{deconstruct:function(t){if("[object Set]"===u.call(t))return Array.from(t)},reconstruct:function(t){if(!t)return new Set;t.forEach(this.add,this)}}),"function"==typeof Map&&"function"==typeof Array.from&&s("Map",{deconstruct:function(t){if("[object Map]"===u.call(t))return Array.from(t)},reconstruct:function(t){if(!t)return new Map;t.forEach((function(t){this.set(t[0],t[1])}),this)}})},5749:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(9047)).default;e.default=o},9047:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=[];return["log","warn","info","error","debug"].forEach((function(r){e.push((0,i.default)(console,r,(function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t.addEvent("lr.core.LogEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.isEnabled;return"object"===(0,o.default)(i)&&!1===i[r]||!1===i?null:("error"===r&&e.shouldAggregateConsoleErrors&&a.Capture.captureMessage(t,n[0],n,{},!0),{logLevel:r.toUpperCase(),args:n})}))})))})),function(){e.forEach((function(t){return t()}))}};var o=n(r(8698)),i=n(r(4031)),a=r(5476)},1365:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_CUSTOM_PROPS_PER_SESSION=e.MAX_PROPERTY_NAME_LENGTH=e.SUPPORTED_TYPES=e.RESERVED_PROP_MAPPINGS=e.RESERVED_PROPS=e.VALIDATION_ERRORS=void 0;e.VALIDATION_ERRORS={EMPTY_ARRAY:"EMPTY_ARRAY",MIXED_TYPE_ARRAY:"MIXED_TYPE_ARRAY",UNSUPPORTED_TYPE:"UNSUPPORTED_TYPE",RESERVED_TYPE_MISMATCH:"RESERVED_TYPE_MISMATCH",MAX_PROPS_REACHED:"MAX_PROPS_REACHED",NAME_TOO_LONG:"NAME_TOO_LONG",MALFORMED_VARIANT:"MALFORMED_VARIANT"};e.RESERVED_PROPS={revenue:"number"};e.RESERVED_PROP_MAPPINGS={revenue:{type:"double"}};e.SUPPORTED_TYPES=["boolean","number","string"];e.MAX_PROPERTY_NAME_LENGTH=100;e.MAX_CUSTOM_PROPS_PER_SESSION=500},1550:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printEventPropError=function(t){switch(t.error){case n.VALIDATION_ERRORS.EMPTY_ARRAY:return"Ignored empty array at property ".concat(t.prop);case n.VALIDATION_ERRORS.MIXED_TYPE_ARRAY:return"Ignored mixed type array at property ".concat(t.prop);case n.VALIDATION_ERRORS.UNSUPPORTED_TYPE:return"Ignored unsupported type (".concat(t.propType,") at property ").concat(t.prop,". Expected one of: ").concat(n.SUPPORTED_TYPES.join(),",").concat(n.SUPPORTED_TYPES.map((function(t){return"".concat(t,"[]")})).join());case n.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH:return"Ignored reserved property ".concat(t.prop," with unexpected type ").concat(t.propType,". Expected type ").concat(n.RESERVED_PROPS[t.prop]);case n.VALIDATION_ERRORS.MAX_PROPS_REACHED:return"Max number of custom properties per session reached. Ignored property ".concat(t.prop);case n.VALIDATION_ERRORS.NAME_TOO_LONG:return"Property name ".concat(t.prop," is over max length of ").concat(n.MAX_PROPERTY_NAME_LENGTH);case n.VALIDATION_ERRORS.MALFORMED_VARIANT:return"Malformed variant at property ".concat(t.prop);default:return"Unknown error processing event properties"}};var n=r(1365)},2440:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.checkForValidationErrors=a,e.sanitizeEventProps=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=0,n={},o=[],u=0,c=Object.keys(t);u<c.length;u++){var f=c[u],l=t[f],d=a(f,l);void 0===d?void 0===e||r!==e?(r++,n[f]=s(l)):o.push({error:i.VALIDATION_ERRORS.MAX_PROPS_REACHED,prop:f}):o.push(d)}return{eventProps:n,errors:o}};var o=n(r(8698)),i=r(1365);function a(t,e){var r=Array.isArray(e),n=(0,o.default)(r?e[0]:e);if(t.length>i.MAX_PROPERTY_NAME_LENGTH)return{error:i.VALIDATION_ERRORS.NAME_TOO_LONG,prop:t};if(Object.keys(i.RESERVED_PROPS).indexOf(t)>=0&&i.RESERVED_PROPS[t]!==n)return{error:i.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH,prop:t,propType:n};if(r){if(0===e.length)return{error:i.VALIDATION_ERRORS.EMPTY_ARRAY,prop:t};var a=(0,o.default)(e[0]);return i.SUPPORTED_TYPES.indexOf(a)<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:t,propType:"".concat(a,"[]")}:e.every((function(t){return(0,o.default)(t)===a}))?void 0:{error:i.VALIDATION_ERRORS.MIXED_TYPE_ARRAY,prop:t}}return i.SUPPORTED_TYPES.indexOf((0,o.default)(e))<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:t,propType:(0,o.default)(e)}:void 0}function s(t){var e=Array.isArray(t)?t:[t];switch((0,o.default)(e[0])){case"number":return{doubleVal:e};case"boolean":return{boolVal:e};case"string":return{stringVal:e};default:return{}}}},5279:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(1390),o=new n.DiffPatcher({arrays:{detectMove:!1},propertyFilter:function(t,e){return"function"!=typeof e.left[t]&&"function"!=typeof e.right[t]&&!function(t){for(var e=0,r=t.parent;void 0!==r;){if(r.left===t.left&&r.right===t.right)return!0;if(r=r.parent,++e>10)return!0}return!1}(e)}});e.default=o},3237:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(5279)).default;e.default=o},9818:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.captureMessage=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={exceptionType:o?"CONSOLE":"MESSAGE",message:e,messageArgs:r,browserHref:window.location?window.location.href:""};u(i,n),t.addEvent("lr.core.Exception",(function(){return i}))},e.captureException=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n||i.default.computeStackTrace(e),s={exceptionType:"WINDOW",errorType:o.name,message:o.message,browserHref:window.location?window.location.href:""};u(s,r);var c={_stackTrace:(0,a.default)(o)};t.addEvent("lr.core.Exception",(function(){return s}),c)};var o=n(r(8698)),i=n(r(8668)),a=n(r(4751));function s(t){return/boolean|number|string/.test((0,o.default)(t))}function u(t,e){if(e){for(var r=0,n=["level","logger"];r<n.length;r++){var o=n[r],i=e[o];s(i)&&(t[o]=i.toString())}for(var a=0,u=["tags","extra"];a<u.length;a++){for(var c=u[a],f=e[c]||{},l={},d=0,h=Object.keys(f);d<h.length;d++){var p=h[d],g=f[p];s(g)&&(l[p.toString()]=g.toString())}t[c]=l}}}},5476:function(t,e,r){"use strict";var n=r(4836),o=r(8698);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"registerExceptions",{enumerable:!0,get:function(){return i.default}}),e.Capture=void 0;var i=n(r(239)),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var r=s(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var u=i?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=t[a]}n.default=t,r&&r.set(t,n);return n}(r(9818));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(s=function(t){return t?r:e})(t)}e.Capture=a},8414:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(6690)),i=n(r(9728)),a=n(r(8668)),s=Object.prototype;function u(t){return void 0===t}function c(t){return"function"==typeof t}function f(t,e){return s.hasOwnProperty.call(t,e)}function l(t,e,r,n){var o=t[e];t[e]=r(o),n&&n.push([t,e,o])}var d="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},h=(d.document,function(){function t(e){var r=e.captureException;(0,o.default)(this,t),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=r,a.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return(0,i.default)(t,[{key:"uninstall",value:function(){var t;for(a.default.report.unsubscribe(this._errorHandler);this._wrappedBuiltIns.length;){var e=(t=this._wrappedBuiltIns.shift())[0],r=t[1],n=t[2];e[r]=n}}},{key:"_errorHandler",value:function(t){this._ignoreOnError||this.captureException(t)}},{key:"_ignoreNextOnError",value:function(){var t=this;this._ignoreOnError+=1,setTimeout((function(){t._ignoreOnError-=1}))}},{key:"context",value:function(t,e,r){return c(t)&&(r=e||[],e=t,t=void 0),this.wrap(t,e).apply(this,r)}},{key:"wrap",value:function(t,e,r){var n=this;if(u(e)&&!c(t))return t;if(c(t)&&(e=t,t=void 0),!c(e))return e;try{if(e.__lr__)return e;if(e.__lr_wrapper__)return e.__lr_wrapper__;if(!Object.isExtensible(e))return e}catch(t){return e}function o(){var o=[],i=arguments.length,s=!t||t&&!1!==t.deep;for(r&&c(r)&&r.apply(this,arguments);i--;)o[i]=s?n.wrap(t,arguments[i]):arguments[i];try{return e.apply(this,o)}catch(e){throw n._ignoreNextOnError(),n.captureException(a.default.computeStackTrace(e),t),e}}for(var i in e)f(e,i)&&(o[i]=e[i]);return o.prototype=e.prototype,e.__lr_wrapper__=o,o.__lr__=!0,o.__inner__=e,o}},{key:"_instrumentTryCatch",value:function(){var t=this,e=t._wrappedBuiltIns;function r(e){return function(r,n){for(var o=new Array(arguments.length),i=0;i<o.length;++i)o[i]=arguments[i];var a=o[0];return c(a)&&(o[0]=t.wrap(a)),e.apply?e.apply(this,o):e(o[0],o[1])}}l(d,"setTimeout",r,e),l(d,"setInterval",r,e),d.requestAnimationFrame&&l(d,"requestAnimationFrame",(function(e){return function(r){return e(t.wrap(r))}}),e);for(var n,o,i=["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"],a=0;a<i.length;a++)o=void 0,(o=d[n=i[a]]&&d[n].prototype)&&o.hasOwnProperty&&o.hasOwnProperty("addEventListener")&&(l(o,"addEventListener",(function(e){return function(r,n,o,i){try{n&&n.handleEvent&&(n.handleEvent=t.wrap(n.handleEvent))}catch(t){}return e.call(this,r,t.wrap(n,void 0,void 0),o,i)}}),e),l(o,"removeEventListener",(function(t){return function(e,r,n,o){try{r=r&&(r.__lr_wrapper__?r.__lr_wrapper__:r)}catch(t){}return t.call(this,e,r,n,o)}}),e));var s=d.jQuery||d.$;s&&s.fn&&s.fn.ready&&l(s.fn,"ready",(function(e){return function(r){return e.call(this,t.wrap(r))}}),e)}}]),t}());e.default=h},239:function(t,e,r){"use strict";var n=r(4836),o=r(8698);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=new i.default({captureException:function(e){a.captureException(t,null,null,e)}}),r=function(e){t.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:e.reason||"Unhandled Promise rejection"}}))};return window.addEventListener("unhandledrejection",r),function(){window.removeEventListener("unhandledrejection",r),e.uninstall()}};var i=n(r(8414)),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var r=s(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var u=i?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=t[a]}n.default=t,r&&r.set(t,n);return n}(r(9818));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(s=function(t){return t?r:e})(t)}},4751:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){function e(t){return null===t?void 0:t}return t.stack?t.stack.map((function(t){return{lineNumber:e(t.line),columnNumber:e(t.column),fileName:e(t.url),functionName:e(t.func)}})):void 0}},8650:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(861)),i=r(1105),a=[];function s(t,e){for(var r=a.reduce((function(t,e){return[e].concat(t)}),[]),n=arguments.length,s=new Array(n>2?n-2:0),u=2;u<n;u++)s[u-2]=arguments[u];var c=Promise.resolve(s);return r.forEach((function(t){var r=t.request,n=t.requestError;(r||n)&&(c=c.then((function(t){return r.apply(void 0,[e].concat((0,o.default)(t)))}),(function(t){return n.apply(void 0,[e].concat((0,o.default)(t)))})))})),c=c.then((function(e){var r,n;(0,i.setActive)(!1);try{r=t.apply(void 0,(0,o.default)(e))}catch(t){n=t}if((0,i.setActive)(!0),n)throw n;return r})),r.forEach((function(t){var r=t.response,n=t.responseError;(r||n)&&(c=c.then((function(t){return r(e,t)}),(function(t){return n&&n(e,t)})))})),c}var u=!1,c={register:function(t){return u||(u=!0,function(t){if(t.fetch&&t.Promise){var e,r,n=t.fetch.polyfill;t.fetch=(e=t.fetch,r=0,function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return s.apply(void 0,[e,r++].concat(n))}),n&&(t.fetch.polyfill=n)}}(window)),a.push(t),function(){var e=a.indexOf(t);e>=0&&a.splice(e,1)}},clear:function(){a=[]}};e.default=c},7986:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isReactNative:!1},r=e.isReactNative,n=e.shouldAugmentNPS,o=e.shouldParseXHRBlob,l={},h=function(t){var e=t;if("object"===(0,i.default)(t)&&null!=t){var r=Object.getPrototypeOf(t);r!==Object.prototype&&null!==r||(e=JSON.stringify(t))}if(e&&e.length&&e.length>4096e3&&"string"==typeof e){var n=e.substring(0,1e3);return"".concat(n," ... LogRocket truncating to first 1000 characters.\n Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference/network")}return t},p=function(e,r){var n=r.method;t.addEvent("lr.network.RequestEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.isEnabled,i=void 0===o||o,a=t.requestSanitizer,s=void 0===a?function(t){return t}:a;if(!i)return null;var u=null;try{u=s(d(d({},r),{},{reqId:e}))}catch(t){console.error(t)}if(u){var c=u.url;if("undefined"!=typeof document&&"function"==typeof document.createElement){var p=document.createElement("a");p.href=u.url,c=p.href}return{reqId:e,url:c,headers:(0,f.default)(u.headers,(function(t){return"".concat(t)})),body:h(u.body),method:n,referrer:u.referrer||void 0,mode:u.mode||void 0,credentials:u.credentials||void 0}}return l[e]=!0,null}))},g=function(e,r){var n=r.method,o=r.status;t.addEvent("lr.network.ResponseEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.isEnabled,a=void 0===i||i,s=t.responseSanitizer,u=void 0===s?function(t){return t}:s;if(!a)return null;if(l[e])return delete l[e],null;var c=null;try{c=u(d(d({},r),{},{reqId:e}))}catch(t){console.error(t)}return c?{reqId:e,status:c.status,headers:(0,f.default)(c.headers,(function(t){return"".concat(t)})),body:h(c.body),method:n}:{reqId:e,status:o,headers:{},body:null,method:n}}))},v=function(e){return t.isDisabled||!0===l[e]},y=(0,a.default)({addRequest:p,addResponse:g,isIgnored:v}),_=(0,c.default)({addRequest:p,addResponse:g,isIgnored:v,logger:t,shouldAugmentNPS:n,shouldParseXHRBlob:o}),b=(0,s.registerIonic)({addRequest:p,addResponse:g,isIgnored:v}),m=r?function(){}:(0,u.default)(t);return function(){m(),y(),_(),b()}};var o=n(r(8416)),i=n(r(8698)),a=n(r(8452)),s=r(4863),u=n(r(989)),c=n(r(1105)),f=n(r(9645));function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},8452:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.addRequest,r=t.addResponse,n=t.isIgnored,o="fetch-",i={};return a.default.register({request:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var s;if("undefined"!=typeof Request&&n[0]instanceof Request){var c;try{c=n[0].clone().text()}catch(t){c=Promise.resolve("LogRocket fetch error: ".concat(t.message))}s=c.then((function(t){return u(u({},f(n[0])),{},{body:t})}),(function(t){return u(u({},f(n[0])),{},{body:"LogRocket fetch error: ".concat(t.message)})}))}else s=Promise.resolve(u(u({},f(n[1])),{},{url:"".concat(n[0]),body:(n[1]||{}).body}));return s.then((function(r){return i[t]=r.method,e("".concat(o).concat(t),r),n}))},requestError:function(t,e){return Promise.reject(e)},response:function(t,e){var a,s;if(n("".concat(o).concat(t)))return e;try{a=e.clone()}catch(n){var u={url:e.url,status:e.status,headers:c(e.headers),body:"LogRocket fetch error: ".concat(n.message),method:i[t]};return delete i[t],r("".concat(o).concat(t),u),e}try{if(window.TextDecoder&&a.body){var f=a.body.getReader(),l=new window.TextDecoder("utf-8"),d="";s=f.read().then((function t(e){var r=e.done,n=e.value;if(r)return d;var o=n?l.decode(n,{stream:!0}):"";return d+=o,f.read().then(t)}))}else s=a.text()}catch(t){s=Promise.resolve("LogRocket error reading body: ".concat(t.message))}return s.catch((function(t){if(!("AbortError"===t.name&&t instanceof DOMException))return"LogRocket error reading body: ".concat(t.message)})).then((function(n){var a={url:e.url,status:e.status,headers:c(e.headers),body:n,method:i[t]};delete i[t],r("".concat(o).concat(t),a)})),e},responseError:function(t,e){var n={url:void 0,status:0,headers:{},body:"".concat(e)};return r("".concat(o).concat(t),n),Promise.reject(e)}})};var o=n(r(8416)),i=n(r(9645)),a=n(r(8650));function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var c=function(t){return(0,i.default)(function(t){if(null==t||"function"!=typeof t.forEach)return t;var e={};return t.forEach((function(t,r){e[r]?e[r]="".concat(e[r],",").concat(t):e[r]="".concat(t)})),e}(t),(function(t){return"".concat(t)}))};function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{url:t.url,headers:c(t.headers),method:t.method&&t.method.toUpperCase(),referrer:t.referrer||void 0,mode:t.mode||void 0,credentials:t.credentials||void 0}}},4863:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.mergeHeaders=O,e.serializeQueryParams=function(t,e){return S("",t,e)},e.appendQueryParamsString=A,e.processData=M,e.registerIonic=function(t){var e,r,n,o=t.addRequest,i=t.addResponse,a=t.isIgnored,u=null===(e=window.cordova)||void 0===e||null===(r=e.plugin)||void 0===r?void 0:r.http,c={},f=!1;if(void 0===u)return function(){};var l=null===(n=window.ionic)||void 0===n?void 0:n.platforms;if(void 0!==l&&"function"==typeof l.some&&l.some((function(t){return v.has(t)})))return function(){};var y=u.sendRequest,_=(0,s.default)((function(t,e,r){if(!a("".concat(g).concat(r)))try{var n={url:t.url||"",status:t.status<600&&t.status>=100?t.status:0,headers:t.headers||{},body:e?t.data:t.error,method:c[r].toUpperCase()};i("".concat(g).concat(r),n)}catch(e){var o={url:t.url||"",status:t.status<600&&t.status>=100?t.status:0,headers:t.headers||{},body:"LogRocket fetch error: ".concat(e.message),method:c[r].toUpperCase()};i("".concat(g).concat(r),o)}}));return u.sendRequest=function(t,e,r,n){var i=++I;if(!f)try{var a=function(t,e){var r,n=(t=t||{}).data;try{r=x(h,t.serializer||e.getDataSerializer(),"serializer / data payload type")}catch(o){r=x(p,t.serializer||e.getDataSerializer(),"serializer / data payload type"),n={}}return{data:n,filePath:t.filePath,followRedirect:t.followRedirect,headers:E(t.headers||{},b,"Invalid header type, must be string"),method:x(d,t.method||d[0],"method"),name:t.name,params:E(t.params||{},m,"Invalid param, must be of type string or array"),responseType:t.responseType,serializer:r,connectTimeout:t.connectTimeout,readTimeout:t.readTimeout,timeout:t.timeout}}(e,u),s=A(t,S("",a.params,!0)),l=function(t,e,r){var n=r.getHeaders("*")||{},o=function(t,e){var r=new URL(t).host;return e.getHeaders(r)||null}(t,r)||{};return O(O(n,o),e)}(t,a.headers,u),v=a.method||"get";c[i]=v;var w={url:s,method:v.toUpperCase(),headers:l||{},body:M(a.data||{},a.serializer)};o("".concat(g).concat(i),w)}catch(r){var R={url:t,method:(e.method||"get").toUpperCase(),headers:{},body:"LogRocket fetch error: ".concat(r.message)};o("".concat(g).concat(i),R)}return y(t,e,(function(t){f||(_(t,!0,i),delete c[i]),r(t)}),(function(t){f||(_(t,!1,i),delete c[i]),n(t)}))},function(){f=!0,u.sendRequest=y,c={}}};var o=n(r(8416)),i=n(r(8698)),a=n(r(861)),s=n(r(7167));function u(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var d=new Set(["get","put","post","patch","head","delete","options","upload","download"]),h=new Set(["urlencoded","json","utf8"]),p=new Set(["raw","multipart"]),g="ionic-",v=new Set(["desktop","mobileweb","pwa"]),y=new Set(["FormData"]),_=new Set,b=new Set(["string"]),m=new Set(["string","array"]),w={utf8:b,urlencoded:new Set(["object"]),json:new Set(["array","object"]),raw:new Set(["Uint8Array","ArrayBuffer"]),default:_};function x(t,e,r){if("string"!=typeof e)throw new Error("".concat(r," must be one of: ").concat((0,a.default)(t).join(", ")));if(e=e.trim().toLowerCase(),!t.has(e))throw new Error("".concat(r," must be one of: ").concat((0,a.default)(t).join(", ")));return e}function E(t,e,r){if("object"!==(0,i.default)(t))throw new Error(r);for(var n=0,o=Object.keys(t);n<o.length;n++){var a=o[n];if(!e.has((0,i.default)(t[a])))throw new Error(r)}return t}function O(t,e){return l(l({},t),e)}function R(t,e){return e?encodeURIComponent(t):t}function P(t,e,r){return t.length?r?"".concat(encodeURIComponent(t),"[").concat(encodeURIComponent(e),"]"):"".concat(t,"[").concat(e,"]"):r?encodeURIComponent(e):e}function j(t,e,r){var n,o=[],a=u(e);try{for(a.s();!(n=a.n()).done;){var s=n.value;Array.isArray(s)?o.push(j("".concat(t,"[]"),s,r)):"object"!==(0,i.default)(s)?o.push("".concat(P(t,"",r),"=").concat(R(s,r))):o.push(S("".concat(t,"[]").concat(s),r,void 0))}}catch(t){a.e(t)}finally{a.f()}return o.join("&")}function S(t,e,r){var n=[];for(var o in e)if(e.hasOwnProperty(o)){var a=t.length?"".concat(t,"[").concat(o,"]"):o;Array.isArray(e[o])?n.push(j(a,e[o],r)):"object"!==(0,i.default)(e[o])||null===e[o]?n.push("".concat(P(t,o,r),"=").concat(R(e[o],r))):n.push(S(a,e[o],r))}return n.join("&")}function A(t,e){if(!t.length||!e.length)return t;var r=new URL(t),n=r.host,o=r.pathname,i=r.search,a=r.hash,s=r.protocol;return"".concat(s,"//").concat(n).concat(o).concat(i.length?"".concat(i,"&").concat(e):"?".concat(e)).concat(a)}function M(t,e){var n=(0,i.default)(t),o=function(t){return w[t]||w.default}(e),s=function(t){return"multipart"===t?y:_}(e);if(s.size>0){var u=!1;if(s.forEach((function(e){r.g[e]&&t instanceof r.g[e]&&(u=!0)})),!u)throw new Error("INSTANCE_TYPE_MISMATCH_DATA ".concat((0,a.default)(s).join(", ")))}if(0===s.size&&!o.has(n))throw new Error("TYPE_MISMATCH_DATA ".concat((0,a.default)(o).join(", ")));switch(e){case"utf8":return t;default:return JSON.stringify(t,void 0,2)}}var I=0},989:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=void 0;function n(){var n={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(n.effectiveType=r[window.navigator.connection.effectiveType]||"UNKNOWN"):n.effectiveType="NONE",e&&n.online===e.online&&n.effectiveType===e.effectiveType||(e=n,t.addEvent("lr.network.NetworkStatusEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.isEnabled,r=void 0===e||e;return r?n:null})))}setTimeout(n),window.navigator.connection&&"function"==typeof window.navigator.connection.addEventListener&&window.navigator.connection.addEventListener("change",n);return window.addEventListener("online",n),window.addEventListener("offline",n),function(){window.removeEventListener("offline",n),window.removeEventListener("online",n),window.navigator.connection&&"function"==typeof window.navigator.connection.removeEventListener&&window.navigator.connection.removeEventListener("change",n)}};var r={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"}},1105:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.setActive=function(t){u=t},e.default=function(t){var e=t.addRequest,r=t.addResponse,n=t.isIgnored,f=t.logger,l=t.shouldAugmentNPS,d=void 0===l||l,h=t.shouldParseXHRBlob,p=void 0!==h&&h,g=XMLHttpRequest,v=new WeakMap,y=!1,_="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(t,l){var h=new g(t,l);if(!u)return h;v.set(h,{xhrId:++c,headers:{}});var b=h.open;var m=h.send;d&&(h.open=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];try{var n=e[1];if(window.URL&&"function"==typeof window.URL&&0===n.search(s.WOOTRIC_RESPONSES_REGEX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","wootric");var i=new window.URL(n),a=i.searchParams.get("response[text]"),u=a?"".concat(a,"\n\n"):"";i.searchParams.set("response[text]","".concat(u,"<").concat(o.href,"|View LogRocket session>")),e[1]=i.href}}catch(t){}return b.apply(this,e)},h.send=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];try{var n=v.get(h);if(window.URL&&"function"==typeof window.URL&&n&&n.url&&0===n.url.search(s.DELIGHTED_RESPONSES_REGEX)&&e.length&&-1!==e[0].indexOf(s.DELIGHTED_FEEDBACK_PREFIX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","delighted");var i=encodeURIComponent(o.href),u=e[0].split("&").map((function(t){if((0,a.default)(t,s.DELIGHTED_FEEDBACK_PREFIX)){var e=t===s.DELIGHTED_FEEDBACK_PREFIX;return"".concat(t).concat(e?"":"\n\n","<").concat(i,"|View LogRocket session>")}return t})).join("&");e[0]=u}}catch(t){}return m.apply(this,e)}),(0,i.default)(h,"open",(function(t,e){if(!y){var r=v.get(h);r.method=t,r.url=e}})),(0,i.default)(h,"send",(function(t){if(!y){var r=v.get(h);if(r){var n={url:r.url,method:r.method&&r.method.toUpperCase(),headers:(0,o.default)(r.headers||{},(function(t){return t.join(", ")})),body:t};e("".concat(_).concat(r.xhrId),n)}}})),(0,i.default)(h,"setRequestHeader",(function(t,e){if(!y){var r=v.get(h);r&&(r.headers=r.headers||{},r.headers[t]=r.headers[t]||[],r.headers[t].push(e))}}));var w={readystatechange:function(){if(!y&&4===h.readyState){var t=v.get(h);if(!t)return;if(n("".concat(_).concat(t.xhrId)))return;var e,o=(h.getAllResponseHeaders()||"").split(/[\r\n]+/).reduce((function(t,e){var r=t,n=e.split(": ");if(n.length>0){var o=n.shift(),i=n.join(": ");t[o]?r[o]+=", ".concat(i):r[o]=i}return r}),{});try{switch(h.responseType){case"json":e=f._shouldCloneResponse?JSON.parse(JSON.stringify(h.response)):h.response;break;case"arraybuffer":case"blob":e=h.response;break;case"document":e=h.responseXML;break;case"text":case"":e=h.responseText;break;default:e=""}}catch(t){e="LogRocket: Error accessing response."}var i={url:t.url,status:h.status,headers:o,body:e,method:(t.method||"").toUpperCase()};if(p&&i.body instanceof Blob){var a=new FileReader;a.readAsText(i.body),a.onload=function(){try{i.body=JSON.parse(a.result)}catch(t){}r("".concat(_).concat(t.xhrId),i)}}else r("".concat(_).concat(t.xhrId),i)}}};return Object.keys(w).forEach((function(t){h.addEventListener(t,w[t])})),h},XMLHttpRequest.prototype=g.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach((function(t){XMLHttpRequest[t]=g[t]})),function(){y=!0,XMLHttpRequest=g}};var o=n(r(9645)),i=n(r(4031)),a=n(r(9242)),s=r(4005),u=!0;var c=0},5818:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=Date.now.bind(Date),n=r(),o="undefined"!=typeof performance&&performance.now?performance.now.bind(performance):function(){return r()-n};e.default=o},6410:function(t,e,r){"use strict";var n=r(5643),o=r(4576);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(7472)),a=n(r(7363)),s=n(r(3051)),u=n(r(3237)),c=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var r=f(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}n.default=t,r&&r.set(t,n);return n}(r(2706));function f(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(f=function(t){return t?r:e})(t)}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){(0,i.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h=function(){function t(){(0,a.default)(this,t),this.reduxStateByStoreId={}}return(0,s.default)(t,[{key:"trackState",value:function(t){var e;this.reduxStateByStoreId[t.storeId]=null!==(e=t.state)&&void 0!==e?e:t.stateDelta}},{key:"encodeInitialState",value:function(t){return this.trackState(t),d(d({},t),{},{state:c.encode(t.state)})}},{key:"getEncodedInitialStates",value:function(){var t=this;return Object.keys(this.reduxStateByStoreId).map((function(e){var r,n=t.reduxStateByStoreId[e];return{storeId:parseInt(e,10),state:c.encode(null!==(r=n.state)&&void 0!==r?r:n)}}))}},{key:"encodeReduxAction",value:function(t){var e=d({},t),r=this.reduxStateByStoreId[t.storeId];if(r){var n=u.default.diff({o:r.state},{o:t.stateDelta});this.reduxStateByStoreId[t.storeId]={state:t.stateDelta},e.stateDelta=c.encode(void 0!==n?n:null)}else this.reduxStateByStoreId[t.storeId]={state:t.stateDelta},e.state=c.encode(t.stateDelta),e.stateDelta=c.encode(null);return e.action=c.encode(t.action),e}}]),t}();e.default=h},8240:function(t,e,r){"use strict";var n=r(5643);Object.defineProperty(e,"__esModule",{value:!0});var o={};e.default=void 0;var i=n(r(5838)),a=n(r(2695)),s=n(r(5571)),u=n(r(4262)),c=n(r(7472)),f=r(7305),l=n(r(887)),d=r(8094),h=r(3871);function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){(0,c.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}Object.keys(h).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||t in e&&e[t]===h[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}}))}));var v=f.NativeModules.LogRocketNativeModule,y=f.NativeModules.NativeUnimoduleProxy,_=v||{},b=_.initWithConfig,m=_.installShutdownHandler,w=_.getSessionURL,x=_.captureException,E=_.captureMessage,O=_.captureReduxAction,R=_.captureReduxInitialState,P=_.captureRequest,j=_.captureResponse,S=_.addLog,A=_.identifyWithTraits,M=_.track,I=_.shutdown,k=_.pauseViewCapture,D=_.unpauseViewCapture,T=_.tagPage,L=_.registerWebView,N=function(){var t,e;return["storeClient","standalone"].includes(null==y||null===(t=y.moduleConstants)||void 0===t||null===(e=t.ExponentConstants)||void 0===e?void 0:e.executionEnvironment)},C=v?(0,l.default)():{_run:function(){},shutdown:function(){}},U=/^[a-z0-9_-]+\/[a-z0-9_-]+$/,F="@logrocket/react-native cannot be used in Expo Go. See https://docs.logrocket.com/docs/react-native-expo-go for more information.",H=function(t){for(var e=g({},t),r=0,n=Object.entries(e);r<n.length;r++){var o=(0,u.default)(n[r],2),i=o[0];o[1]||(e[i]=function(){})}return e},q={init:function(t){var e=arguments;return(0,s.default)(i.default.mark((function r(){var n,o;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=e.length>1&&void 0!==e[1]?e[1]:{},o=(0,a.default)({},n),!N()){r.next=4;break}return console.warn(F),r.abrupt("return");case 4:if(b){r.next=8;break}return console.warn("@logrocket/react-native native module is missing. Please review installation instructions."),C.shutdown(),r.abrupt("return");case 8:if("string"==typeof t&&U.test(t)){r.next=11;break}return console.warn("LogRocket: must pass a valid application id to the LogRocket instance."),r.abrupt("return");case 11:if(r.t0=C._didInit,r.t0){r.next=16;break}return r.next=15,b(t,g({serverURL:"https://r.ingest-lr.com/i",enableIPCapture:!0},o));case 15:r.t0=r.sent;case 16:r.t0?(C.init(o,H({addLog:S,captureException:x,captureMessage:E,captureReduxAction:O,captureReduxInitialState:R,captureRequest:P,captureResponse:j,identifyWithTraits:A,shutdown:I,track:M,tagPage:T,registerWebView:L})),m&&m((function(){return C.uninstall()}))):(C.disableAndClearBuffer(),__DEV__&&console.warn("LogRocket initialization failed! Check device logs for further details."));case 18:case"end":return r.stop()}}),r)})))()},pauseViewCapture:function(){k&&k()},unpauseViewCapture:function(){D&&D()},captureException:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C._run((function(r){r.captureException(t,e)}))},captureMessage:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C._run((function(r){r.captureMessage(t,e)}))},getSessionURL:function(t){w&&w(t)},identify:function(t,e){C._run((function(r){r.identify(t,e)}))},reduxMiddleware:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=function(){return function(t){return function(e){return t(e)}}};return N()?(console.warn(F),e):"function"==typeof R&&"function"==typeof O?(0,d.createMiddleware)(C,t):e},track:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C._run((function(r){r.track(t,e)}))},tagPage:function(t){C._run((function(e){e.tagPage(t)}))},registerWebView:function(t){C._run((function(e){e.registerWebView(t)}))},shutdown:function(){C.shutdown()}};e.default=q},887:function(t,e,r){"use strict";var n=r(5643),o=r(4576);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return new I},e.MAX_QUEUE_SIZE=void 0;var i=n(r(4576)),a=n(r(7363)),s=n(r(3051)),u=n(r(7472)),c=r(7305),f=n(r(7986)),l=n(r(5749)),d=r(5476),h=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var r=w(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}n.default=t,r&&r.set(t,n);return n}(r(2706)),p=r(6163),g=r(1365),v=r(2440),y=r(1550),_=n(r(3864)),b=n(r(6410)),m=n(r(6339));function w(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(w=function(t){return t?r:e})(t)}function x(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return E(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return E(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){(0,u.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var P=new Set(["[object Error]","[object DOMError]","[object DOMException]"]),j=1e3;e.MAX_QUEUE_SIZE=j;var S=["%c prev state","%c next state","%c action ","%c error ","%c action","%c error"],A=function(t){return function(){try{return t.apply(void 0,arguments)}catch(t){if(r.g&&r.g._lrdebug)throw t}}};function M(t){var e={}.toString.call(t),r=t;return P.has(e)&&(r="".concat(t.constructor.name,": ").concat(t.message||t.name)),h.encode(r)}var I=function(){function t(){var e=this;(0,a.default)(this,t),this._getConfig=function(t){if(null==e._config)return{};var r=t.split(".");switch(r[1]){case"network":return e._config.network;case"core":switch(r[2]){case"LogEvent":return e._config.console}default:return{}}},this._isReduxLogger=function(t){if(!t||!t.args)return!1;var e=t.args;return!!(Array.isArray(e)&&3===e.length&&S.indexOf(e[0])>-1)},this.addEvent=A((function(t,r,n){if(!e._isDisabled){var o=r(e._getConfig(t)),i=Date.now();if(null!=o&&!e._isDisabled){var a=A((function(){if("lr.redux.ReduxAction"===t&&o.action&&o.action.type){var r=o.action.type;e._reduxActions[r]?e._reduxActions[r]++:e._reduxActions[r]=1,o.count=e._reduxActions[r]}if("lr.core.LogEvent"===t&&e._isReduxLogger(o))e._didWarnAboutReduxLogger||(e._didWarnAboutReduxLogger=!0,console.warn("LogRocket: Redux logger detected, skipping data. Please use the LogRocket redux middleware to record production redux logs: https://docs.logrocket.com/docs/redux-middleware"));else switch(t){case"lr.redux.InitialState":e._captureReduxInitialState(e.reduxEncoder.encodeInitialState(o));break;case"lr.redux.ReduxAction":e._captureReduxAction(e.reduxEncoder.encodeReduxAction(o));break;case"lr.core.Exception":var a=o.exceptionType,s=o.message,u=o.errorType,c=void 0===u?"":u,f=o.tags,l=o.extra;"MESSAGE"===a?e._captureMessage(s,{tags:f,extra:l}):e._captureException(M(s),c,a,n&&JSON.stringify(n._stackTrace)||"[]");break;case"lr.core.LogEvent":var d=o.logLevel,h=o.args,g=h&&h.map(M);e._addLog(d,g||[]);break;case"lr.network.RequestEvent":e._inflightNetwork[o.reqId]={time:i},e._captureRequest(o.reqId,(0,p.getRequestData)(o));break;case"lr.network.ResponseEvent":var v=e._inflightNetwork[o.reqId],y=(0,p.getResponseData)(o);v&&v.time&&(y.duration=i-v.time),e._captureResponse(o.reqId,y),delete e._inflightNetwork[o.reqId]}}));if(e._didInit)a();else if(t.startsWith("lr.redux"))e.reduxEncoder.trackState(o);else{if(e._buffer.length>=j)return m.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),e.disableAndClearBuffer(),void e.uninstall();e._buffer.push(a)}}}})),this.shutdown=A((function(){e._didInit?(e.uninstall(),e._shutdown()):e.disableAndClearBuffer(),e.eventListener&&e.eventListener.remove()})),this.captureException=A((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d.Capture.captureException(e,t,r)})),this.captureMessage=A((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};d.Capture.captureMessage(e,t,n,r)})),this.uninstall=A((function(){e._installed&&e._installed.forEach((function(t){return t()})),e.reset()})),this.textEncoder=r.g.TextEncoder&&new r.g.TextEncoder,this._customPropCount=0,this._reduxActions={},this._buffer=[],this._didWarnAboutReduxLogger=!1,this._didWarnAboutReduxSize=!1,this.wallByteStreams={},this.reduxEncoder=new b.default;var n=function(t){t.errorMessage&&(t.shouldWarnAboutReduxSize||console.warn(t.errorMessage),t.shouldWarnAboutReduxSize&&!e._didWarnAboutReduxSize&&(e._didWarnAboutReduxSize=!0,console.warn(t.errorMessage))),t.shouldDisableAndFreeMemory&&e.disableAndClearBuffer()},o=new c.NativeEventEmitter(c.NativeModules.LogRocketNativeModule);this.eventListener=o.addListener("LogRocketSDKOnError",A((function(t){"ios"===c.Platform.OS?setTimeout((function(){n(t)}),1):n(t)}))),this.reset()}return(0,s.default)(t,[{key:"_run",value:function(t){if(!this._isDisabled)if(this._didInit)t(this);else{if(this._buffer.length>=j)return m.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),this.disableAndClearBuffer(),void this.uninstall();this._buffer.push(t)}}},{key:"_registerExceptions",value:function(){var t=this,e=ErrorUtils.getGlobalHandler&&ErrorUtils.getGlobalHandler();ErrorUtils.setGlobalHandler((function(r,n){try{t.captureException(r)}catch(t){}e&&e(r,n)}));var n=r(6905);n.disable(),n.enable({allRejections:!0,onUnhandled:A((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:r.reason||"Unhandled Promise rejection"}}))}))});var o=r(9594),i=o._onHandle||o._Y,a=o._onReject||o._Z,s=r.g.Promise._onHandle,u=r.g.Promise._onReject,c=r.g.Promise._Y,f=r.g.Promise._X;o!==r.g.Promise&&void 0!==i&&void 0!==a&&("_onHandle"in r.g.Promise&&"_onReject"in r.g.Promise?(r.g.Promise._onHandle=i,r.g.Promise._onReject=a):"_Y"in r.g.Promise&&"_Z"in r.g.Promise&&(r.g.Promise._Y=i,r.g.Promise._Z=a)),this._installed.push((function(){e&&ErrorUtils.setGlobalHandler(e),n.disable(),r.g.Promise._onHandle=s,r.g.Promise._onReject=u,r.g.Promise._Y=c,r.g.Promise._X=f}))}},{key:"track",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof t)if(0!==t.length){var r=(0,v.sanitizeEventProps)(e,g.MAX_CUSTOM_PROPS_PER_SESSION-this._customPropCount),n=r.eventProps,o=r.errors;this._customPropCount+=Object.keys(n).length,o.forEach((function(t){return console.warn("LogRocket Track API: ".concat((0,y.printEventPropError)(t)))})),this._track(t,n)}else console.warn("LogRocket: custom event name must not be an empty string");else console.warn("LogRocket: must pass string to track()")}},{key:"tagPage",value:function(t){"string"==typeof t?this._tagPage(t):console.warn("LogRocket: must pass string to tagPage()")}},{key:"registerWebView",value:function(t){"string"==typeof t?this._registerWebView(t):console.warn("LogRocket: must pass string view ID to registerWebView()")}},{key:"_makeUuid",value:function(){return(0,_.default)()}},{key:"_divineAnonymousId",value:function(){return this._lastIdentifyCall&&this._lastIdentifyCall.isAnonymous?this._lastIdentifyCall.userID:this._makeUuid()}},{key:"identify",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],o=e[1],a=!1;if(this._identifyCalls++,!(this._identifyCalls>10)){if(10===this._identifyCalls&&console.warn("LogRocket: More than 10 identify calls on this page. Ignoring future calls."),null==o&&"object"===(0,i.default)(n)&&null!==n&&null==(n=(o=n||{}).userID)&&this._lastIdentifyCall&&this._lastIdentifyCall.userID){var s=this._lastIdentifyCall;n=s.userID,a=s.isAnonymous}if(!n){if(o&&(o.name||o.email)){var u=o.name?"name":"email";return void console.warn("LogRocket: user ".concat(u," passed to identify, but no userID given: identify(userId, { ").concat(u,": '...' })."))}a=!0,n=this._divineAnonymousId()}if(/string|number/.test((0,i.default)(n))){if(!(n.toString().length>this._maxIdentityArgLength)){var c=o;if(o){for(var f={},l=["userID","name","email"],d=0,h=Object.keys(o||{});d<h.length;d++){var p=h[d],g=o[p];if(-1===l.indexOf(p)){if(/boolean|number|string/.test((0,i.default)(g))){var v=p.toString();if(this.textEncoder&&this.textEncoder.encode(v).length>this._maxUserTraitBytes){console.warn("LogRocket: Ignoring large user trait key ".concat(v));continue}if(g.toString().length>this._maxIdentityArgLength){console.warn('LogRocket: ignoring large user trait value for key "'.concat(v,'" (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[v]=g.toString()}}else if(g&&"string"==typeof g){if(g.length>this._maxIdentityArgLength){console.warn('LogRocket: too large generic trait "'.concat(p,'" passed to identify() (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[p]=g}}c=f}return this._lastIdentifyCall={userID:n.toString(),email:c?c.email:void 0,name:c?c.name:void 0,isAnonymous:a},this._identifyWithTraits(this._lastIdentifyCall.userID,c,a)}console.warn("LogRocket: too large userID passed to identify() (max ".concat(this._maxIdentityArgLength," characters)"))}else console.warn("LogRocket: must pass a valid user id to identify().")}}},{key:"init",value:function(t,e){var r=e.addLog,n=void 0===r?function(){}:r,o=e.captureException,i=void 0===o?function(){}:o,a=e.captureMessage,s=void 0===a?function(){}:a,u=e.captureReduxAction,c=void 0===u?function(){}:u,d=e.captureReduxInitialState,h=void 0===d?function(){}:d,p=e.captureRequest,g=void 0===p?function(){}:p,v=e.captureResponse,y=void 0===v?function(){}:v,_=e.identifyWithTraits,b=void 0===_?function(){}:_,m=e.track,w=void 0===m?function(){}:m,E=e.tagPage,O=void 0===E?function(){}:E,P=e.registerWebView,j=void 0===P?function(){}:P,S=e.shutdown,A=void 0===S?function(){}:S,M=t.maxUserTraitBytes,I=void 0===M?128:M,k=t.shouldDetectExceptions,D=void 0===k||k;if(!this._didInit){this._installed.push((0,l.default)(this)),this._installed.push((0,f.default)(this,{isReactNative:!0,shouldAugmentNPS:!1,shouldParseXHRBlob:!1})),D&&this._registerExceptions(),this._didInit=!0,this._isDisabled=!1,this._addLog=n,this._captureException=i,this._captureMessage=s,this._captureReduxAction=c,this._captureReduxInitialState=h,this._captureRequest=g,this._captureResponse=y,this._config=function(t){return R(R({},t),{},{console:R(R({},t.console||{}),{},{shouldAggregateConsoleErrors:!1})})}(t),this._identifyWithTraits=b,this._maxUserTraitBytes=I,this._track=w,this._tagPage=O,this._registerWebView=j,this._shutdown=A;var T,L=x(this.reduxEncoder.getEncodedInitialStates());try{for(L.s();!(T=L.n()).done;){var N=T.value;this._captureReduxInitialState(N)}}catch(t){L.e(t)}finally{L.f()}for(;this._buffer.length>0;){this._buffer.shift()(this)}}}},{key:"disableAndClearBuffer",value:function(){this._isDisabled=!0,this._buffer=[]}},{key:"reset",value:function(){this._didInit=!1,this._config=null,this._installed=[],this._isDisabled=!1,this._didWarnAboutReduxSize=!1,this._addLog=function(){},this._captureRequest=function(){},this._captureResponse=function(){},this._track=function(){},this._tagPage=function(){},this._registerWebView=function(){},this._captureMessage=function(){},this._inflightNetwork={},this._maxIdentityArgLength=1024,this._maxUserTraitBytes=128,this._buffer=[],this._customPropCount=0,this._identifyCalls=0,this._reduxActions={},this._didWarnAboutReduxLogger=!1,this.wallByteStreams={}}}]),t}()},6163:function(t,e,r){"use strict";var n=r(5643);Object.defineProperty(e,"__esModule",{value:!0}),e.getResponseData=e.getRequestData=void 0;var o=n(r(7681));e.getRequestData=function(t){var e={};return t.url&&(e.url=t.url),t.body&&(e.body=(0,o.default)(t.body)),t.method&&(e.method=t.method),t.headers&&(e.headers=t.headers),e};e.getResponseData=function(t){var e={};return t.status&&(e.statusCode=t.status),t.body&&(e.body=(0,o.default)(t.body)),t.headers&&(e.headers=t.headers),e}},3871:function(t,e,r){"use strict";var n=r(5643);Object.defineProperty(e,"__esModule",{value:!0}),e.LRRedact=e.LRAllow=e.LRRedactProps=e.LRAllowProps=void 0;var o=n(r(3217)),i=n(r(9497)),a=r(7305),s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lr-show";return"ios"===a.Platform.OS?{testID:t,accessible:!0}:{testID:t}};e.LRAllowProps=s;var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lr-hide";return"ios"===a.Platform.OS?{testID:t,accessible:!1}:{testID:t}};e.LRRedactProps=u;var c=function(t){return Array.isArray(t)?t:[t]};e.LRAllow=function(t){var e=t.children;return i.default.createElement.apply(i.default,[a.View,s()].concat((0,o.default)(c(e))))};e.LRRedact=function(t){var e=t.children;return i.default.createElement.apply(i.default,[a.View,u()].concat((0,o.default)(c(e))))}},6339:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={error:console.error.bind(console),warn:console.warn.bind(console),info:console.info.bind(console)};e.default=r},9222:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.stateSanitizer,n=void 0===r?function(t){return t}:r,o=e.actionSanitizer,a=void 0===o?function(t){return t}:o;return function(e){return function(r,o,c){var f=e(r,o,c),l=f.dispatch,d=u++;t.addEvent("lr.redux.InitialState",(function(){var t;try{t=n(f.getState())}catch(t){console.error(t.toString())}return{state:t,storeId:d}}));return s(s({},f),{},{dispatch:function(e){var r,o,s=(0,i.default)();try{o=l(e)}catch(t){r=t}finally{var u=(0,i.default)()-s;t.addEvent("lr.redux.ReduxAction",(function(){var t=null,r=null;try{t=n(f.getState()),r=a(e)}catch(t){console.error(t.toString())}return t&&r?{storeId:d,action:r,duration:u,stateDelta:t}:null}))}if(r)throw r;return o}})}}};var o=n(r(8416)),i=n(r(5818));function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var u=0},6043:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.stateSanitizer,n=void 0===r?function(t){return t}:r,a=e.actionSanitizer,s=void 0===a?function(t){return t}:a;return function(e){var r=i++;return t.addEvent("lr.redux.InitialState",(function(){var t;try{t=n(e.getState())}catch(t){console.error(t.toString())}return{state:t,storeId:r}})),function(i){return function(a){var u,c,f=(0,o.default)();try{c=i(a)}catch(t){u=t}finally{var l=(0,o.default)()-f;t.addEvent("lr.redux.ReduxAction",(function(){var t=null,o=null;try{t=n(e.getState()),o=s(a)}catch(t){console.error(t.toString())}return t&&o?{storeId:r,action:o,duration:l,stateDelta:t}:null}))}if(u)throw u;return c}}}};var o=n(r(5818)),i=0},8094:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createEnhancer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"createMiddleware",{enumerable:!0,get:function(){return i.default}});var o=n(r(9222)),i=n(r(6043))},8668:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={collectWindowErrors:!0,debug:!1},o="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},i=[].slice,a="?",s=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function u(){return"undefined"==typeof document||void 0===document.location?"":document.location.href}n.report=function(){var t,e,r=[],c=null,f=null,l=null;function d(t,e){var o=null;if(!e||n.collectWindowErrors){for(var a in r)if(r.hasOwnProperty(a))try{r[a].apply(null,[t].concat(i.call(arguments,2)))}catch(t){o=t}if(o)throw o}}function h(e,r,o,i,c){if(l)n.computeStackTrace.augmentStackTraceWithInitialElement(l,r,o,e),p();else if(c)d(n.computeStackTrace(c),!0);else{var f,h={url:r,line:o,column:i},g=void 0,v=e;if("[object String]"==={}.toString.call(e))(f=e.match(s))&&(g=f[1],v=f[2]);h.func=a,d({name:g,message:v,url:u(),stack:[h]},!0)}return!!t&&t.apply(this,arguments)}function p(){var t=l,e=c;c=null,l=null,f=null,d.apply(null,[t,!1].concat(e))}function g(t,e){var r=i.call(arguments,1);if(l){if(f===t)return;p()}var o=n.computeStackTrace(t);if(l=o,f=t,c=r,setTimeout((function(){f===t&&p()}),o.incomplete?2e3:0),!1!==e)throw t}return g.subscribe=function(n){!function(){if(e)return;t=o.onerror,o.onerror=h,e=!0}(),r.push(n)},g.unsubscribe=function(t){for(var e=r.length-1;e>=0;--e)r[e]===t&&r.splice(e,1)},g.uninstall=function(){!function(){if(!e)return;o.onerror=t,e=!1,t=void 0}(),r=[]},g}(),n.computeStackTrace=function(){function t(t){if(void 0!==t.stack&&t.stack){for(var e,r,n=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=t.stack.split("\n"),c=[],f=(/^(.*) is undefined$/.exec(t.message),0),l=s.length;f<l;++f){if(e=n.exec(s[f])){var d=e[2]&&-1!==e[2].indexOf("native");r={url:d?null:e[2],func:e[1]||a,args:d?[e[2]]:[],line:e[3]?+e[3]:null,column:e[4]?+e[4]:null}}else if(e=i.exec(s[f]))r={url:e[2],func:e[1]||a,args:[],line:+e[3],column:e[4]?+e[4]:null};else{if(!(e=o.exec(s[f])))continue;r={url:e[3],func:e[1]||a,args:e[2]?e[2].split(","):[],line:e[4]?+e[4]:null,column:e[5]?+e[5]:null}}!r.func&&r.line&&(r.func=a),c.push(r)}return c.length?(c[0].column||void 0===t.columnNumber||(c[0].column=t.columnNumber+1),{name:t.name,message:t.message,url:u(),stack:c}):null}}function e(t,e,r,n){var o={url:e,line:r};if(o.url&&o.line){if(t.incomplete=!1,o.func||(o.func=a),t.stack.length>0&&t.stack[0].url===o.url){if(t.stack[0].line===o.line)return!1;if(!t.stack[0].line&&t.stack[0].func===o.func)return t.stack[0].line=o.line,!1}return t.stack.unshift(o),t.partial=!0,!0}return t.incomplete=!0,!1}function r(t,i){for(var s,c,f=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],d={},h=!1,p=r.caller;p&&!h;p=p.caller)if(p!==o&&p!==n.report){if(c={url:null,func:a,line:null,column:null},p.name?c.func=p.name:(s=f.exec(p.toString()))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(t){}d[""+p]?h=!0:d[""+p]=!0,l.push(c)}i&&l.splice(0,i);var g={name:t.name,message:t.message,url:u(),stack:l};return e(g,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),g}function o(e,o){var i=null;o=null==o?0:+o;try{if(i=t(e))return i}catch(t){if(n.debug)throw t}try{if(i=r(e,o+1))return i}catch(t){if(n.debug)throw t}return{name:e.name,message:e.message,url:u()}}return o.augmentStackTraceWithInitialElement=e,o.computeStackTraceFromStackProp=t,o}();var c=n;e.default=c},4005:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DELIGHTED_FEEDBACK_PREFIX=e.DELIGHTED_RESPONSES_REGEX=e.WOOTRIC_RESPONSES_REGEX=void 0;e.WOOTRIC_RESPONSES_REGEX=/^https:\/\/production.wootric.com\/responses/;e.DELIGHTED_RESPONSES_REGEX=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/;e.DELIGHTED_FEEDBACK_PREFIX="comment="},7681:function(t,e,r){"use strict";var n=r(8698);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return{arson:o.encode(t)}};var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var r=i(e);if(r&&r.has(t))return r.get(t);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var u=a?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=t[s]}o.default=t,r&&r.set(t,o);return o}(r(2706));function i(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(i=function(t){return t?r:e})(t)}},4031:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var n=t[e];return t[e]=function(){for(var t,e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];n&&(t=n.apply(this,o));return r.apply(this,o),t},function(){t[e]=n}}},536:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r="undefined"!=typeof console&&console.error&&console.error.bind?console.error.bind(console):function(){};e.default=r},9645:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(null==t)return{};var r={};return Object.keys(t).forEach((function(n){r[n]=e(t[n])})),r}},7167:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return function(){var r;try{r=t.apply(void 0,arguments)}catch(t){if("undefined"!=typeof window&&window._lrdebug)throw t;var n=e(t);(0,i.default)("LogRocket",t),(0,o.default)(t,n)}return r}};var o=n(r(2769)),i=n(r(536))},2769:function(t,e,r){"use strict";var n=r(4836);Object.defineProperty(e,"__esModule",{value:!0}),e.sendTelemetry=function(t,e){if("undefined"!=typeof window&&window._lrdebug)return void(0,i.default)(t);if(e&&e.extra&&e.extra.appID&&"function"==typeof e.extra.appID.indexOf&&0===e.extra.appID.indexOf("au2drp/")&&Math.random()>=.25)return;c(u({message:t},e))},e.default=function(t,e){try{var r,n,o=t.message;try{r=JSON.stringify(e).slice(0,1e3)}catch(t){try{r="Could not stringify payload: ".concat(Object.prototype.toString.call(e))}catch(t){}}try{n=a.default.computeStackTrace(t).stack.map((function(t){return{filename:t.url,lineno:t.line,colno:t.column,function:t.func||"?"}}))}catch(t){}c({message:o,extra:{stringPayload:r},exception:{values:[{type:t.type,value:o,stacktrace:{frames:n}}]}})}catch(t){(0,i.default)("Failed to send",t)}};var o=n(r(8416)),i=n(r(536)),a=n(r(8668));function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t){var e=window._lrXMLHttpRequest||XMLHttpRequest;try{var r=new e,n=t.message;r.open("POST","https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793"),r.send(JSON.stringify(u({message:n,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":"undefined"!=typeof navigator&&navigator.userAgent},url:"undefined"!=typeof location&&location.href},release:"855799f08aa6e5c9f652c61874f202584b5b6ea5",environment:"test"},t)))}catch(t){(0,i.default)("Failed to send",t)}}},9242:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t&&e&&t.substring(r,r+e.length)===e}},3864:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}},6841:function(){function t(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32}var e=-1;t.Diff,t.prototype.diff_main=function(t,e,r,n){void 0===n&&(n=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var o=n;if(null==t||null==e)throw new Error("Null input. (diff_main)");if(t==e)return t?[[0,t]]:[];void 0===r&&(r=!0);var i=r,a=this.diff_commonPrefix(t,e),s=t.substring(0,a);t=t.substring(a),e=e.substring(a),a=this.diff_commonSuffix(t,e);var u=t.substring(t.length-a);t=t.substring(0,t.length-a),e=e.substring(0,e.length-a);var c=this.diff_compute_(t,e,i,o);return s&&c.unshift([0,s]),u&&c.push([0,u]),this.diff_cleanupMerge(c),c},t.prototype.diff_compute_=function(t,r,n,o){var i;if(!t)return[[1,r]];if(!r)return[[e,t]];var a=t.length>r.length?t:r,s=t.length>r.length?r:t,u=a.indexOf(s);if(-1!=u)return i=[[1,a.substring(0,u)],[0,s],[1,a.substring(u+s.length)]],t.length>r.length&&(i[0][0]=i[2][0]=e),i;if(1==s.length)return[[e,t],[1,r]];a=s=null;var c=this.diff_halfMatch_(t,r);if(c){var f=c[0],l=c[1],d=c[2],h=c[3],p=c[4],g=this.diff_main(f,d,n,o),v=this.diff_main(l,h,n,o);return g.concat([[0,p]],v)}return n&&t.length>100&&r.length>100?this.diff_lineMode_(t,r,o):this.diff_bisect_(t,r,o)},t.prototype.diff_lineMode_=function(t,r,n){t=(l=this.diff_linesToChars_(t,r))[0],r=l[1];var o=l[2],i=this.diff_bisect_(t,r,n);this.diff_charsToLines_(i,o),this.diff_cleanupSemantic(i),i.push([0,""]);for(var a=0,s=0,u=0,c="",f="";a<i.length;){switch(i[a][0]){case 1:u++,f+=i[a][1];break;case e:s++,c+=i[a][1];break;case 0:if(s>=1&&u>=1){var l=this.diff_main(c,f,!1,n);i.splice(a-s-u,s+u),a=a-s-u;for(var d=l.length-1;d>=0;d--)i.splice(a,0,l[d]);a+=l.length}u=0,s=0,c="",f=""}a++}return i.pop(),i},t.prototype.diff_bisect_=function(t,r,n){for(var o=t.length,i=r.length,a=Math.ceil((o+i)/2),s=a,u=2*a,c=new Array(u),f=new Array(u),l=0;l<u;l++)c[l]=-1,f[l]=-1;c[s+1]=0,f[s+1]=0;for(var d=o-i,h=d%2!=0,p=0,g=0,v=0,y=0,_=0;_<a&&!((new Date).getTime()>n);_++){for(var b=-_+p;b<=_-g;b+=2){for(var m=s+b,w=(P=b==-_||b!=_&&c[m-1]<c[m+1]?c[m+1]:c[m-1]+1)-b;P<o&&w<i&&t.charAt(P)==r.charAt(w);)P++,w++;if(c[m]=P,P>o)g+=2;else if(w>i)p+=2;else if(h){if((O=s+d-b)>=0&&O<u&&-1!=f[O])if(P>=(E=o-f[O]))return this.diff_bisectSplit_(t,r,P,w,n)}}for(var x=-_+v;x<=_-y;x+=2){for(var E,O=s+x,R=(E=x==-_||x!=_&&f[O-1]<f[O+1]?f[O+1]:f[O-1]+1)-x;E<o&&R<i&&t.charAt(o-E-1)==r.charAt(i-R-1);)E++,R++;if(f[O]=E,E>o)y+=2;else if(R>i)v+=2;else if(!h){if((m=s+d-x)>=0&&m<u&&-1!=c[m]){var P;w=s+(P=c[m])-m;if(P>=(E=o-E))return this.diff_bisectSplit_(t,r,P,w,n)}}}}return[[e,t],[1,r]]},t.prototype.diff_bisectSplit_=function(t,e,r,n,o){var i=t.substring(0,r),a=e.substring(0,n),s=t.substring(r),u=e.substring(n),c=this.diff_main(i,a,!1,o),f=this.diff_main(s,u,!1,o);return c.concat(f)},t.prototype.diff_linesToChars_=function(t,e){var r=[],n={};function o(t){for(var e="",o=0,i=-1,a=r.length;i<t.length-1;){-1==(i=t.indexOf("\n",o))&&(i=t.length-1);var s=t.substring(o,i+1);o=i+1,(n.hasOwnProperty?n.hasOwnProperty(s):void 0!==n[s])?e+=String.fromCharCode(n[s]):(e+=String.fromCharCode(a),n[s]=a,r[a++]=s)}return e}return r[0]="",[o(t),o(e),r]},t.prototype.diff_charsToLines_=function(t,e){for(var r=0;r<t.length;r++){for(var n=t[r][1],o=[],i=0;i<n.length;i++)o[i]=e[n.charCodeAt(i)];t[r][1]=o.join("")}},t.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var r=0,n=Math.min(t.length,e.length),o=n,i=0;r<o;)t.substring(i,o)==e.substring(i,o)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},t.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var r=0,n=Math.min(t.length,e.length),o=n,i=0;r<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},t.prototype.diff_commonOverlap_=function(t,e){var r=t.length,n=e.length;if(0==r||0==n)return 0;r>n?t=t.substring(r-n):r<n&&(e=e.substring(0,r));var o=Math.min(r,n);if(t==e)return o;for(var i=0,a=1;;){var s=t.substring(o-a),u=e.indexOf(s);if(-1==u)return i;a+=u,0!=u&&t.substring(o-a)!=e.substring(0,a)||(i=a,a++)}},t.prototype.diff_halfMatch_=function(t,e){if(this.Diff_Timeout<=0)return null;var r=t.length>e.length?t:e,n=t.length>e.length?e:t;if(r.length<4||2*n.length<r.length)return null;var o=this;function i(t,e,r){for(var n,i,a,s,u=t.substring(r,r+Math.floor(t.length/4)),c=-1,f="";-1!=(c=e.indexOf(u,c+1));){var l=o.diff_commonPrefix(t.substring(r),e.substring(c)),d=o.diff_commonSuffix(t.substring(0,r),e.substring(0,c));f.length<d+l&&(f=e.substring(c-d,c)+e.substring(c,c+l),n=t.substring(0,r-d),i=t.substring(r+l),a=e.substring(0,c-d),s=e.substring(c+l))}return 2*f.length>=t.length?[n,i,a,s,f]:null}var a,s,u,c,f,l=i(r,n,Math.ceil(r.length/4)),d=i(r,n,Math.ceil(r.length/2));return l||d?(a=d?l&&l[4].length>d[4].length?l:d:l,t.length>e.length?(s=a[0],u=a[1],c=a[2],f=a[3]):(c=a[0],f=a[1],s=a[2],u=a[3]),[s,u,c,f,a[4]]):null},t.prototype.diff_cleanupSemantic=function(t){for(var r=!1,n=[],o=0,i=null,a=0,s=0,u=0,c=0,f=0;a<t.length;)0==t[a][0]?(n[o++]=a,s=c,u=f,c=0,f=0,i=t[a][1]):(1==t[a][0]?c+=t[a][1].length:f+=t[a][1].length,null!==i&&i.length<=Math.max(s,u)&&i.length<=Math.max(c,f)&&(t.splice(n[o-1],0,[e,i]),t[n[o-1]+1][0]=1,o--,a=--o>0?n[o-1]:-1,s=0,u=0,c=0,f=0,i=null,r=!0)),a++;for(r&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),a=1;a<t.length;){if(t[a-1][0]==e&&1==t[a][0]){var l=t[a-1][1],d=t[a][1],h=this.diff_commonOverlap_(l,d);(h>=l.length/2||h>=d.length/2)&&(t.splice(a,0,[0,d.substring(0,h)]),t[a-1][1]=l.substring(0,l.length-h),t[a+1][1]=d.substring(h),a++),a++}a++}},t.prototype.diff_cleanupSemanticLossless=function(t){var e=/[^a-zA-Z0-9]/,r=/\s/,n=/[\r\n]/,o=/\n\r?\n$/,i=/^\r?\n\r?\n/;function a(t,a){if(!t||!a)return 5;var s=0;return(t.charAt(t.length-1).match(e)||a.charAt(0).match(e))&&(s++,(t.charAt(t.length-1).match(r)||a.charAt(0).match(r))&&(s++,(t.charAt(t.length-1).match(n)||a.charAt(0).match(n))&&(s++,(t.match(o)||a.match(i))&&s++))),s}for(var s=1;s<t.length-1;){if(0==t[s-1][0]&&0==t[s+1][0]){var u=t[s-1][1],c=t[s][1],f=t[s+1][1],l=this.diff_commonSuffix(u,c);if(l){var d=c.substring(c.length-l);u=u.substring(0,u.length-l),c=d+c.substring(0,c.length-l),f=d+f}for(var h=u,p=c,g=f,v=a(u,c)+a(c,f);c.charAt(0)===f.charAt(0);){u+=c.charAt(0),c=c.substring(1)+f.charAt(0),f=f.substring(1);var y=a(u,c)+a(c,f);y>=v&&(v=y,h=u,p=c,g=f)}t[s-1][1]!=h&&(h?t[s-1][1]=h:(t.splice(s-1,1),s--),t[s][1]=p,g?t[s+1][1]=g:(t.splice(s+1,1),s--))}s++}},t.prototype.diff_cleanupEfficiency=function(t){for(var r=!1,n=[],o=0,i="",a=0,s=!1,u=!1,c=!1,f=!1;a<t.length;)0==t[a][0]?(t[a][1].length<this.Diff_EditCost&&(c||f)?(n[o++]=a,s=c,u=f,i=t[a][1]):(o=0,i=""),c=f=!1):(t[a][0]==e?f=!0:c=!0,i&&(s&&u&&c&&f||i.length<this.Diff_EditCost/2&&s+u+c+f==3)&&(t.splice(n[o-1],0,[e,i]),t[n[o-1]+1][0]=1,o--,i="",s&&u?(c=f=!0,o=0):(a=--o>0?n[o-1]:-1,c=f=!1),r=!0)),a++;r&&this.diff_cleanupMerge(t)},t.prototype.diff_cleanupMerge=function(t){t.push([0,""]);for(var r,n=0,o=0,i=0,a="",s="";n<t.length;)switch(t[n][0]){case 1:i++,s+=t[n][1],n++;break;case e:o++,a+=t[n][1],n++;break;case 0:o+i>1?(0!==o&&0!==i&&(0!==(r=this.diff_commonPrefix(s,a))&&(n-o-i>0&&0==t[n-o-i-1][0]?t[n-o-i-1][1]+=s.substring(0,r):(t.splice(0,0,[0,s.substring(0,r)]),n++),s=s.substring(r),a=a.substring(r)),0!==(r=this.diff_commonSuffix(s,a))&&(t[n][1]=s.substring(s.length-r)+t[n][1],s=s.substring(0,s.length-r),a=a.substring(0,a.length-r))),0===o?t.splice(n-o-i,o+i,[1,s]):0===i?t.splice(n-o-i,o+i,[e,a]):t.splice(n-o-i,o+i,[e,a],[1,s]),n=n-o-i+(o?1:0)+(i?1:0)+1):0!==n&&0==t[n-1][0]?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,i=0,o=0,a="",s=""}""===t[t.length-1][1]&&t.pop();var u=!1;for(n=1;n<t.length-1;)0==t[n-1][0]&&0==t[n+1][0]&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)==t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),u=!0):t[n][1].substring(0,t[n+1][1].length)==t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),u=!0)),n++;u&&this.diff_cleanupMerge(t)},t.prototype.diff_xIndex=function(t,r){var n,o=0,i=0,a=0,s=0;for(n=0;n<t.length&&(1!==t[n][0]&&(o+=t[n][1].length),t[n][0]!==e&&(i+=t[n][1].length),!(o>r));n++)a=o,s=i;return t.length!=n&&t[n][0]===e?s:s+(r-a)},t.prototype.diff_prettyHtml=function(t){for(var r=[],n=/&/g,o=/</g,i=/>/g,a=/\n/g,s=0;s<t.length;s++){var u=t[s][0],c=t[s][1],f=c.replace(n,"&amp;").replace(o,"&lt;").replace(i,"&gt;").replace(a,"&para;<br>");switch(u){case 1:r[s]='<ins style="background:#e6ffe6;">'+f+"</ins>";break;case e:r[s]='<del style="background:#ffe6e6;">'+f+"</del>";break;case 0:r[s]="<span>"+f+"</span>"}u!==e&&c.length}return r.join("")},t.prototype.diff_text1=function(t){for(var e=[],r=0;r<t.length;r++)1!==t[r][0]&&(e[r]=t[r][1]);return e.join("")},t.prototype.diff_text2=function(t){for(var r=[],n=0;n<t.length;n++)t[n][0]!==e&&(r[n]=t[n][1]);return r.join("")},t.prototype.diff_levenshtein=function(t){for(var r=0,n=0,o=0,i=0;i<t.length;i++){var a=t[i][0],s=t[i][1];switch(a){case 1:n+=s.length;break;case e:o+=s.length;break;case 0:r+=Math.max(n,o),n=0,o=0}}return r+=Math.max(n,o)},t.prototype.diff_toDelta=function(t){for(var r=[],n=0;n<t.length;n++)switch(t[n][0]){case 1:r[n]="+"+encodeURI(t[n][1]);break;case e:r[n]="-"+t[n][1].length;break;case 0:r[n]="="+t[n][1].length}return r.join("\t").replace(/%20/g," ")},t.prototype.diff_fromDelta=function(t,r){for(var n=[],o=0,i=0,a=r.split(/\t/g),s=0;s<a.length;s++){var u=a[s].substring(1);switch(a[s].charAt(0)){case"+":try{n[o++]=[1,decodeURI(u)]}catch(t){throw new Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var c=parseInt(u,10);if(isNaN(c)||c<0)throw new Error("Invalid number in diff_fromDelta: "+u);var f=t.substring(i,i+=c);"="==a[s].charAt(0)?n[o++]=[0,f]:n[o++]=[e,f];break;default:if(a[s])throw new Error("Invalid diff operation in diff_fromDelta: "+a[s])}}if(i!=t.length)throw new Error("Delta length ("+i+") does not equal source text length ("+t.length+").");return n},t.prototype.match_main=function(t,e,r){if(null==t||null==e||null==r)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,t.length)),t==e?0:t.length?t.substring(r,r+e.length)==e?r:this.match_bitap_(t,e,r):-1},t.prototype.match_bitap_=function(t,e,r){if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var n=this.match_alphabet_(e),o=this;function i(t,n){var i=t/e.length,a=Math.abs(r-n);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=t.indexOf(e,r);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=t.lastIndexOf(e,r+e.length))&&(a=Math.min(i(0,s),a)));var u,c,f=1<<e.length-1;s=-1;for(var l,d=e.length+t.length,h=0;h<e.length;h++){for(u=0,c=d;u<c;)i(h,r+c)<=a?u=c:d=c,c=Math.floor((d-u)/2+u);d=c;var p=Math.max(1,r-c+1),g=Math.min(r+c,t.length)+e.length,v=Array(g+2);v[g+1]=(1<<h)-1;for(var y=g;y>=p;y--){var _=n[t.charAt(y-1)];if(v[y]=0===h?(v[y+1]<<1|1)&_:(v[y+1]<<1|1)&_|(l[y+1]|l[y])<<1|1|l[y+1],v[y]&f){var b=i(h,y-1);if(b<=a){if(a=b,!((s=y-1)>r))break;p=Math.max(1,2*r-s)}}}if(i(h+1,r)>a)break;l=v}return s},t.prototype.match_alphabet_=function(t){for(var e={},r=0;r<t.length;r++)e[t.charAt(r)]=0;for(r=0;r<t.length;r++)e[t.charAt(r)]|=1<<t.length-r-1;return e},t.prototype.patch_addContext_=function(t,e){if(0!=e.length){for(var r=e.substring(t.start2,t.start2+t.length1),n=0;e.indexOf(r)!=e.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)n+=this.Patch_Margin,r=e.substring(t.start2-n,t.start2+t.length1+n);n+=this.Patch_Margin;var o=e.substring(t.start2-n,t.start2);o&&t.diffs.unshift([0,o]);var i=e.substring(t.start2+t.length1,t.start2+t.length1+n);i&&t.diffs.push([0,i]),t.start1-=o.length,t.start2-=o.length,t.length1+=o.length+i.length,t.length2+=o.length+i.length}},t.prototype.patch_make=function(r,n,o){var i,a;if("string"==typeof r&&"string"==typeof n&&void 0===o)i=r,(a=this.diff_main(i,n,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(r&&"object"==typeof r&&void 0===n&&void 0===o)a=r,i=this.diff_text1(a);else if("string"==typeof r&&n&&"object"==typeof n&&void 0===o)i=r,a=n;else{if("string"!=typeof r||"string"!=typeof n||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=r,a=o}if(0===a.length)return[];for(var s=[],u=new t.patch_obj,c=0,f=0,l=0,d=i,h=i,p=0;p<a.length;p++){var g=a[p][0],v=a[p][1];switch(c||0===g||(u.start1=f,u.start2=l),g){case 1:u.diffs[c++]=a[p],u.length2+=v.length,h=h.substring(0,l)+v+h.substring(l);break;case e:u.length1+=v.length,u.diffs[c++]=a[p],h=h.substring(0,l)+h.substring(l+v.length);break;case 0:v.length<=2*this.Patch_Margin&&c&&a.length!=p+1?(u.diffs[c++]=a[p],u.length1+=v.length,u.length2+=v.length):v.length>=2*this.Patch_Margin&&c&&(this.patch_addContext_(u,d),s.push(u),u=new t.patch_obj,c=0,d=h,f=l)}1!==g&&(f+=v.length),g!==e&&(l+=v.length)}return c&&(this.patch_addContext_(u,d),s.push(u)),s},t.prototype.patch_deepCopy=function(e){for(var r=[],n=0;n<e.length;n++){var o=e[n],i=new t.patch_obj;i.diffs=[];for(var a=0;a<o.diffs.length;a++)i.diffs[a]=o.diffs[a].slice();i.start1=o.start1,i.start2=o.start2,i.length1=o.length1,i.length2=o.length2,r[n]=i}return r},t.prototype.patch_apply=function(t,r){if(0==t.length)return[r,[]];t=this.patch_deepCopy(t);var n=this.patch_addPadding(t);r=n+r+n,this.patch_splitMax(t);for(var o=0,i=[],a=0;a<t.length;a++){var s,u,c=t[a].start2+o,f=this.diff_text1(t[a].diffs),l=-1;if(f.length>this.Match_MaxBits?-1!=(s=this.match_main(r,f.substring(0,this.Match_MaxBits),c))&&(-1==(l=this.match_main(r,f.substring(f.length-this.Match_MaxBits),c+f.length-this.Match_MaxBits))||s>=l)&&(s=-1):s=this.match_main(r,f,c),-1==s)i[a]=!1,o-=t[a].length2-t[a].length1;else if(i[a]=!0,o=s-c,f==(u=-1==l?r.substring(s,s+f.length):r.substring(s,l+this.Match_MaxBits)))r=r.substring(0,s)+this.diff_text2(t[a].diffs)+r.substring(s+f.length);else{var d=this.diff_main(f,u,!1);if(f.length>this.Match_MaxBits&&this.diff_levenshtein(d)/f.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(d);for(var h,p=0,g=0;g<t[a].diffs.length;g++){var v=t[a].diffs[g];0!==v[0]&&(h=this.diff_xIndex(d,p)),1===v[0]?r=r.substring(0,s+h)+v[1]+r.substring(s+h):v[0]===e&&(r=r.substring(0,s+h)+r.substring(s+this.diff_xIndex(d,p+v[1].length))),v[0]!==e&&(p+=v[1].length)}}}}return[r=r.substring(n.length,r.length-n.length),i]},t.prototype.patch_addPadding=function(t){for(var e=this.Patch_Margin,r="",n=1;n<=e;n++)r+=String.fromCharCode(n);for(n=0;n<t.length;n++)t[n].start1+=e,t[n].start2+=e;var o=t[0],i=o.diffs;if(0==i.length||0!=i[0][0])i.unshift([0,r]),o.start1-=e,o.start2-=e,o.length1+=e,o.length2+=e;else if(e>i[0][1].length){var a=e-i[0][1].length;i[0][1]=r.substring(i[0][1].length)+i[0][1],o.start1-=a,o.start2-=a,o.length1+=a,o.length2+=a}if(0==(i=(o=t[t.length-1]).diffs).length||0!=i[i.length-1][0])i.push([0,r]),o.length1+=e,o.length2+=e;else if(e>i[i.length-1][1].length){a=e-i[i.length-1][1].length;i[i.length-1][1]+=r.substring(0,a),o.length1+=a,o.length2+=a}return r},t.prototype.patch_splitMax=function(r){for(var n=this.Match_MaxBits,o=0;o<r.length;o++)if(r[o].length1>n){var i=r[o];r.splice(o--,1);for(var a=i.start1,s=i.start2,u="";0!==i.diffs.length;){var c=new t.patch_obj,f=!0;for(c.start1=a-u.length,c.start2=s-u.length,""!==u&&(c.length1=c.length2=u.length,c.diffs.push([0,u]));0!==i.diffs.length&&c.length1<n-this.Patch_Margin;){var l=i.diffs[0][0],d=i.diffs[0][1];1===l?(c.length2+=d.length,s+=d.length,c.diffs.push(i.diffs.shift()),f=!1):l===e&&1==c.diffs.length&&0==c.diffs[0][0]&&d.length>2*n?(c.length1+=d.length,a+=d.length,f=!1,c.diffs.push([l,d]),i.diffs.shift()):(d=d.substring(0,n-c.length1-this.Patch_Margin),c.length1+=d.length,a+=d.length,0===l?(c.length2+=d.length,s+=d.length):f=!1,c.diffs.push([l,d]),d==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(d.length))}u=(u=this.diff_text2(c.diffs)).substring(u.length-this.Patch_Margin);var h=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==h&&(c.length1+=h.length,c.length2+=h.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=h:c.diffs.push([0,h])),f||r.splice(++o,0,c)}}},t.prototype.patch_toText=function(t){for(var e=[],r=0;r<t.length;r++)e[r]=t[r];return e.join("")},t.prototype.patch_fromText=function(r){var n=[];if(!r)return n;for(var o=r.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var s=o[i].match(a);if(!s)throw new Error("Invalid patch string: "+o[i]);var u=new t.patch_obj;for(n.push(u),u.start1=parseInt(s[1],10),""===s[2]?(u.start1--,u.length1=1):"0"==s[2]?u.length1=0:(u.start1--,u.length1=parseInt(s[2],10)),u.start2=parseInt(s[3],10),""===s[4]?(u.start2--,u.length2=1):"0"==s[4]?u.length2=0:(u.start2--,u.length2=parseInt(s[4],10)),i++;i<o.length;){var c=o[i].charAt(0);try{var f=decodeURI(o[i].substring(1))}catch(t){throw new Error("Illegal escape in patch_fromText: "+f)}if("-"==c)u.diffs.push([e,f]);else if("+"==c)u.diffs.push([1,f]);else if(" "==c)u.diffs.push([0,f]);else{if("@"==c)break;if(""!==c)throw new Error('Invalid patch mode "'+c+'" in: '+f)}i++}}return n},t.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},t.patch_obj.prototype.toString=function(){for(var t,r=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],n=0;n<this.diffs.length;n++){switch(this.diffs[n][0]){case 1:t="+";break;case e:t="-";break;case 0:t=" "}r[n+1]=t+encodeURI(this.diffs[n][1])+"\n"}return r.join("").replace(/%20/g," ")},this.diff_match_patch=t,this.DIFF_DELETE=e,this.DIFF_INSERT=1,this.DIFF_EQUAL=0},3538:function(t,e,r){var n={"./diff_match_patch_uncompressed":6841,"./diff_match_patch_uncompressed.js":6841};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=3538},9559:function(t){var e="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array};t.exports=function t(r){if("object"!=typeof r)return r;if(null===r)return null;if(e(r))return r.map(t);if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp)return n=/^\/(.*)\/([gimyu]*)$/.exec(r.toString()),new RegExp(n[1],n[2]);var n,o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=t(r[i]));return o}},4251:function(t,e,r){var n=r(5820).E,o=function(){};o.prototype.setResult=function(t){return this.result=t,this.hasResult=!0,this},o.prototype.exit=function(){return this.exiting=!0,this},o.prototype.switchTo=function(t,e){return"string"==typeof t||t instanceof n?this.nextPipe=t:(this.next=t,e&&(this.nextPipe=e)),this},o.prototype.push=function(t,e){return t.parent=this,void 0!==e&&(t.childName=e),t.root=this.root||this,t.options=t.options||this.options,this.children?(this.children[this.children.length-1].next=t,this.children.push(t)):(this.children=[t],this.nextAfterChildren=this.next||null,this.next=t),t.next=this,this},e._=o},9637:function(t,e,r){var n=r(4251)._,o=r(9559),i=function(t,e){this.left=t,this.right=e,this.pipe="diff"};(i.prototype=new n).setResult=function(t){if(this.options.cloneDiffValues&&"object"==typeof t){var e="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:o;"object"==typeof t[0]&&(t[0]=e(t[0])),"object"==typeof t[1]&&(t[1]=e(t[1]))}return n.prototype.setResult.apply(this,arguments)},e.A=i},7443:function(t,e,r){var n=r(4251)._,o=function(t,e){this.left=t,this.delta=e,this.pipe="patch"};o.prototype=new n,e.f=o},4153:function(t,e,r){var n=r(4251)._,o=function(t){this.delta=t,this.pipe="reverse"};o.prototype=new n,e.V=o},1390:function(t,e,r){var n=r(7854).w,o=r(5820).E,i=r(9637).A,a=r(7443).f,s=r(4153).V,u=r(9559),c=r(6294),f=r(1104),l=r(107),d=r(1634),h=r(328),p=function(t){this.processor=new n(t),this.processor.pipe(new o("diff").append(f.collectChildrenDiffFilter,c.diffFilter,d.diffFilter,h.diffFilter,f.objectsDiffFilter,l.diffFilter).shouldHaveResult()),this.processor.pipe(new o("patch").append(f.collectChildrenPatchFilter,l.collectChildrenPatchFilter,c.patchFilter,h.patchFilter,f.patchFilter,l.patchFilter).shouldHaveResult()),this.processor.pipe(new o("reverse").append(f.collectChildrenReverseFilter,l.collectChildrenReverseFilter,c.reverseFilter,h.reverseFilter,f.reverseFilter,l.reverseFilter).shouldHaveResult())};p.prototype.options=function(){return this.processor.options.apply(this.processor,arguments)},p.prototype.diff=function(t,e){return this.processor.process(new i(t,e))},p.prototype.patch=function(t,e){return this.processor.process(new a(t,e))},p.prototype.reverse=function(t){return this.processor.process(new s(t))},p.prototype.unpatch=function(t,e){return this.patch(t,this.reverse(e))},p.prototype.clone=function(t){return u(t)},e.DiffPatcher=p},107:function(t,e,r){var n=r(9637).A,o=r(7443).f,i=r(4153).V,a=r(7821),s="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},u="function"==typeof Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var r=t.length,n=0;n<r;n++)if(t[n]===e)return n;return-1};function c(t,e,r,n,o){var i=t[r],a=e[n];if(i===a)return!0;if("object"!=typeof i||"object"!=typeof a)return!1;var s,u,c=o.objectHash;return c?("number"==typeof r?(o.hashCache1=o.hashCache1||[],void 0===(s=o.hashCache1[r])&&(o.hashCache1[r]=s=c(i,r))):s=c(i),void 0!==s&&("number"==typeof n?(o.hashCache2=o.hashCache2||[],void 0===(u=o.hashCache2[n])&&(o.hashCache2[n]=u=c(a,n))):u=c(a),void 0!==u&&s===u)):o.matchByPosition&&r===n}var f=function(t){if(t.leftIsArray){var e,r,o,i,s,f={objectHash:t.options&&t.options.objectHash,matchByPosition:t.options&&t.options.matchByPosition},l=0,d=0,h=t.left,p=t.right,g=h.length,v=p.length;for(g>0&&v>0&&!f.objectHash&&"boolean"!=typeof f.matchByPosition&&(f.matchByPosition=!function(t,e,r,n){for(var o=0;o<r;o++)for(var i=t[o],a=0;a<n;a++){var s=e[a];if(o!==a&&i===s)return!0}}(h,p,g,v));l<g&&l<v&&c(h,p,l,l,f);)e=l,i=new n(t.left[e],t.right[e]),t.push(i,e),l++;for(;d+l<g&&d+l<v&&c(h,p,g-1-d,v-1-d,f);)r=g-1-d,o=v-1-d,i=new n(t.left[r],t.right[o]),t.push(i,o),d++;if(l+d!==g)if(l+d!==v){delete f.hashCache1,delete f.hashCache2;var y=h.slice(l,g-d),_=p.slice(l,v-d),b=a.get(y,_,c,f),m=[];for(s=s||{_t:"a"},e=l;e<g-d;e++)u(b.indices1,e-l)<0&&(s["_"+e]=[h[e],0,0],m.push(e));var w=!0;t.options&&t.options.arrays&&!1===t.options.arrays.detectMove&&(w=!1);var x=!1;t.options&&t.options.arrays&&t.options.arrays.includeValueOnMove&&(x=!0);var E=m.length;for(e=l;e<v-d;e++){var O=u(b.indices2,e-l);if(O<0){var R=!1;if(w&&E>0)for(var P=0;P<E;P++)if(c(y,_,(r=m[P])-l,e-l,f)){s["_"+r].splice(1,2,e,3),x||(s["_"+r][0]=""),o=e,i=new n(t.left[r],t.right[o]),t.push(i,o),m.splice(P,1),R=!0;break}R||(s[e]=[p[e]])}else r=b.indices1[O]+l,o=b.indices2[O]+l,i=new n(t.left[r],t.right[o]),t.push(i,o)}t.setResult(s).exit()}else{for(s=s||{_t:"a"},e=l;e<g-d;e++)s["_"+e]=[h[e],0,0];t.setResult(s).exit()}else{if(g===v)return void t.setResult(void 0).exit();for(s=s||{_t:"a"},e=l;e<v-d;e++)s[e]=[p[e]];t.setResult(s).exit()}}};f.filterName="arrays";var l=function(t,e){return t-e},d=function(t){return function(e,r){return e[t]-r[t]}},h=function(t){if(t.nested&&"a"===t.delta._t){var e,r,n=t.delta,i=t.left,a=[],s=[],u=[];for(e in n)if("_t"!==e)if("_"===e[0]){if(0!==n[e][2]&&3!==n[e][2])throw new Error("only removal or move can be applied at original array indices, invalid diff type: "+n[e][2]);a.push(parseInt(e.slice(1),10))}else 1===n[e].length?s.push({index:parseInt(e,10),value:n[e][0]}):u.push({index:parseInt(e,10),delta:n[e]});for(e=(a=a.sort(l)).length-1;e>=0;e--){var c=n["_"+(r=a[e])],f=i.splice(r,1)[0];3===c[2]&&s.push({index:c[1],value:f})}var h=(s=s.sort(d("index"))).length;for(e=0;e<h;e++){var p=s[e];i.splice(p.index,0,p.value)}var g,v=u.length;if(v>0)for(e=0;e<v;e++){var y=u[e];g=new o(t.left[y.index],y.delta),t.push(g,y.index)}t.children?t.exit():t.setResult(t.left).exit()}};h.filterName="arrays";var p=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,r=t.children.length,n=0;n<r;n++)e=t.children[n],t.left[e.childName]=e.result;t.setResult(t.left).exit()}};p.filterName="arraysCollectChildren";var g=function(t){if(t.nested){if("a"===t.delta._t){var e,r;for(e in t.delta)"_t"!==e&&(r=new i(t.delta[e]),t.push(r,e));t.exit()}}else 3===t.delta[2]&&(t.newName="_"+t.delta[1],t.setResult([t.delta[0],parseInt(t.childName.substr(1),10),3]).exit())};g.filterName="arrays";var v=function(t,e,r){if("string"==typeof e&&"_"===e[0])return parseInt(e.substr(1),10);if(s(r)&&0===r[2])return"_"+e;var n=+e;for(var o in t){var i=t[o];if(s(i))if(3===i[2]){var a=parseInt(o.substr(1),10),u=i[1];if(u===+e)return a;a<=n&&u>n?n++:a>=n&&u<n&&n--}else if(0===i[2]){parseInt(o.substr(1),10)<=n&&n++}else 1===i.length&&o<=n&&n--}return n},y=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,r=t.children.length,n={_t:"a"},o=0;o<r;o++){var i=(e=t.children[o]).newName;void 0===i&&(i=v(t.delta,e.childName,e.result)),n[i]!==e.result&&(n[i]=e.result)}t.setResult(n).exit()}};y.filterName="arraysCollectChildren",e.diffFilter=f,e.patchFilter=h,e.collectChildrenPatchFilter=p,e.reverseFilter=g,e.collectChildrenReverseFilter=y},1634:function(t,e){var r=function(t){t.left instanceof Date?(t.right instanceof Date?t.left.getTime()!==t.right.getTime()?t.setResult([t.left,t.right]):t.setResult(void 0):t.setResult([t.left,t.right]),t.exit()):t.right instanceof Date&&t.setResult([t.left,t.right]).exit()};r.filterName="dates",e.diffFilter=r},7821:function(t,e){var r=function(t,e,r,n){return t[r]===e[n]},n=function(t,e,r,o,i,a){if(0===o||0===i)return{sequence:[],indices1:[],indices2:[]};if(t.match(e,r,o-1,i-1,a)){var s=n(t,e,r,o-1,i-1,a);return s.sequence.push(e[o-1]),s.indices1.push(o-1),s.indices2.push(i-1),s}return t[o][i-1]>t[o-1][i]?n(t,e,r,o,i-1,a):n(t,e,r,o-1,i,a)};e.get=function(t,e,o,i){var a=function(t,e,r,n){var o,i,a=t.length,s=e.length,u=[a+1];for(o=0;o<a+1;o++)for(u[o]=[s+1],i=0;i<s+1;i++)u[o][i]=0;for(u.match=r,o=1;o<a+1;o++)for(i=1;i<s+1;i++)r(t,e,o-1,i-1,n)?u[o][i]=u[o-1][i-1]+1:u[o][i]=Math.max(u[o-1][i],u[o][i-1]);return u}(t,e,o||r,i=i||{}),s=n(a,t,e,t.length,e.length,i);return"string"==typeof t&&"string"==typeof e&&(s.sequence=s.sequence.join("")),s}},1104:function(t,e,r){var n=r(9637).A,o=r(7443).f,i=r(4153).V,a=function(t){if(t&&t.children){for(var e,r=t.children.length,n=t.result,o=0;o<r;o++)void 0!==(e=t.children[o]).result&&((n=n||{})[e.childName]=e.result);n&&t.leftIsArray&&(n._t="a"),t.setResult(n).exit()}};a.filterName="collectChildren";var s=function(t){if(!t.leftIsArray&&"object"===t.leftType){var e,r,o=t.options.propertyFilter;for(e in t.left)Object.prototype.hasOwnProperty.call(t.left,e)&&(o&&!o(e,t)||(r=new n(t.left[e],t.right[e]),t.push(r,e)));for(e in t.right)Object.prototype.hasOwnProperty.call(t.right,e)&&(o&&!o(e,t)||void 0===t.left[e]&&(r=new n(void 0,t.right[e]),t.push(r,e)));t.children&&0!==t.children.length?t.exit():t.setResult(void 0).exit()}};s.filterName="objects";var u=function(t){if(t.nested&&!t.delta._t){var e,r;for(e in t.delta)r=new o(t.left[e],t.delta[e]),t.push(r,e);t.exit()}};u.filterName="objects";var c=function(t){if(t&&t.children&&!t.delta._t){for(var e,r=t.children.length,n=0;n<r;n++)e=t.children[n],Object.prototype.hasOwnProperty.call(t.left,e.childName)&&void 0===e.result?delete t.left[e.childName]:t.left[e.childName]!==e.result&&(t.left[e.childName]=e.result);t.setResult(t.left).exit()}};c.filterName="collectChildren";var f=function(t){if(t.nested&&!t.delta._t){var e,r;for(e in t.delta)r=new i(t.delta[e]),t.push(r,e);t.exit()}};f.filterName="objects";var l=function(t){if(t&&t.children&&!t.delta._t){for(var e,r=t.children.length,n={},o=0;o<r;o++)n[(e=t.children[o]).childName]!==e.result&&(n[e.childName]=e.result);t.setResult(n).exit()}};l.filterName="collectChildren",e.collectChildrenDiffFilter=a,e.objectsDiffFilter=s,e.patchFilter=u,e.collectChildrenPatchFilter=c,e.reverseFilter=f,e.collectChildrenReverseFilter=l},328:function(t,e,r){var n=null,o=function(t){if(!n){var e;if("undefined"!=typeof diff_match_patch)e="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else{try{var o=r(3538)("./diff_match_patch_uncompressed");e=new o.diff_match_patch}catch(t){e=null}}if(!e){if(!t)return null;var i=new Error("text diff_match_patch library not found");throw i.diff_match_patch_not_found=!0,i}n={diff:function(t,r){return e.patch_toText(e.patch_make(t,r))},patch:function(t,r){for(var n=e.patch_apply(e.patch_fromText(r),t),o=0;o<n[1].length;o++){if(!n[1][o])new Error("text patch failed").textPatchFailed=!0}return n[0]}}}return n},i=function(t){if("string"===t.leftType){var e=t.options&&t.options.textDiff&&t.options.textDiff.minLength||60;if(t.left.length<e||t.right.length<e)t.setResult([t.left,t.right]).exit();else{var r=o();if(r){var n=r.diff;t.setResult([n(t.left,t.right),0,2]).exit()}else t.setResult([t.left,t.right]).exit()}}};i.filterName="texts";var a=function(t){if(!t.nested&&2===t.delta[2]){var e=o(!0).patch;t.setResult(e(t.left,t.delta[0])).exit()}};a.filterName="texts";var s=function(t){var e,r,n,o,i,a=null,s=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(e=0,r=(n=t.split("\n")).length;e<r;e++){var u=(o=n[e]).slice(0,1);"@"===u?(a=s.exec(o),null,null,n[e]="@@ -"+a[3]+","+a[4]+" +"+a[1]+","+a[2]+" @@"):"+"===u?(e,n[e]="-"+n[e].slice(1),"+"===n[e-1].slice(0,1)&&(i=n[e],n[e]=n[e-1],n[e-1]=i)):"-"===u&&(e,n[e]="+"+n[e].slice(1))}return n.join("\n")},u=function(t){t.nested||2===t.delta[2]&&t.setResult([s(t.delta[0]),0,2]).exit()};u.filterName="texts",e.diffFilter=i,e.patchFilter=a,e.reverseFilter=u},6294:function(t,e){var r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},n=function(t){if(t.left!==t.right)if(void 0!==t.left)if(void 0!==t.right){if("function"==typeof t.left||"function"==typeof t.right)throw new Error("functions are not supported");if(t.leftType=null===t.left?"null":typeof t.left,t.rightType=null===t.right?"null":typeof t.right,t.leftType===t.rightType)if("boolean"!==t.leftType&&"number"!==t.leftType)if("object"===t.leftType&&(t.leftIsArray=r(t.left)),"object"===t.rightType&&(t.rightIsArray=r(t.right)),t.leftIsArray===t.rightIsArray){if(t.left instanceof RegExp){if(!(t.right instanceof RegExp))return void t.setResult([t.left,t.right]).exit();t.setResult([t.left.toString(),t.right.toString()]).exit()}}else t.setResult([t.left,t.right]).exit();else t.setResult([t.left,t.right]).exit();else t.setResult([t.left,t.right]).exit()}else t.setResult([t.left,0,0]).exit();else{if("function"==typeof t.right)throw new Error("functions are not supported");t.setResult([t.right]).exit()}else t.setResult(void 0).exit()};n.filterName="trivial";var o=function(t){if(void 0!==t.delta){if(t.nested=!r(t.delta),!t.nested)if(1!==t.delta.length)if(2!==t.delta.length)3!==t.delta.length||0!==t.delta[2]||t.setResult(void 0).exit();else{if(t.left instanceof RegExp){var e=/^\/(.*)\/([gimyu]+)$/.exec(t.delta[1]);if(e)return void t.setResult(new RegExp(e[1],e[2])).exit()}t.setResult(t.delta[1]).exit()}else t.setResult(t.delta[0]).exit()}else t.setResult(t.left).exit()};o.filterName="trivial";var i=function(t){void 0!==t.delta?(t.nested=!r(t.delta),t.nested||(1!==t.delta.length?2!==t.delta.length?3!==t.delta.length||0!==t.delta[2]||t.setResult([t.delta[0]]).exit():t.setResult([t.delta[1],t.delta[0]]).exit():t.setResult([t.delta[0],0,0]).exit())):t.setResult(t.delta).exit()};i.filterName="trivial",e.diffFilter=n,e.patchFilter=o,e.reverseFilter=i},5820:function(t,e){var r=function(t){this.name=t,this.filters=[]};r.prototype.process=function(t){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var e=this.debug,r=this.filters.length,n=t,o=0;o<r;o++){var i=this.filters[o];if(e&&this.log("filter: "+i.filterName),i(n),"object"==typeof n&&n.exiting){n.exiting=!1;break}}!n.next&&this.resultCheck&&this.resultCheck(n)},r.prototype.log=function(t){console.log("[jsondiffpatch] "+this.name+" pipe, "+t)},r.prototype.append=function(){return this.filters.push.apply(this.filters,arguments),this},r.prototype.prepend=function(){return this.filters.unshift.apply(this.filters,arguments),this},r.prototype.indexOf=function(t){if(!t)throw new Error("a filter name is required");for(var e=0;e<this.filters.length;e++){if(this.filters[e].filterName===t)return e}throw new Error("filter not found: "+t)},r.prototype.list=function(){for(var t=[],e=0;e<this.filters.length;e++){var r=this.filters[e];t.push(r.filterName)}return t},r.prototype.after=function(t){var e=this.indexOf(t),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(e+1,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.before=function(t){var e=this.indexOf(t),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(e,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.clear=function(){return this.filters.length=0,this},r.prototype.shouldHaveResult=function(t){if(!1!==t){if(!this.resultCheck){var e=this;return this.resultCheck=function(t){if(!t.hasResult){console.log(t);var r=new Error(e.name+" failed");throw r.noResult=!0,r}},this}}else this.resultCheck=null},e.E=r},7854:function(t,e){var r=function(t){this.selfOptions=t||{},this.pipes={}};r.prototype.options=function(t){return t&&(this.selfOptions=t),this.selfOptions},r.prototype.pipe=function(t,e){if("string"==typeof t){if(void 0===e)return this.pipes[t];this.pipes[t]=e}if(t&&t.name){if((e=t).processor===this)return e;this.pipes[e.name]=e}return e.processor=this,e},r.prototype.process=function(t,e){var r=t;r.options=this.options();for(var n,o,i=e||t.pipe||"default";i;)void 0!==r.nextAfterChildren&&(r.next=r.nextAfterChildren,r.nextAfterChildren=null),"string"==typeof i&&(i=this.pipe(i)),i.process(r),o=r,n=i,i=null,r&&r.next&&(r=r.next,i=o.nextPipe||r.pipe||n);return r.hasResult?r.result:void 0},e.w=r},8762:function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.default=t.exports,t.exports.__esModule=!0},4280:function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},8944:function(t,e,r){var n=r(8762);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.default=t.exports,t.exports.__esModule=!0},5571:function(t){function e(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function s(t){e(a,o,i,s,u,"next",t)}function u(t){e(a,o,i,s,u,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},7363:function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},3051:function(t){function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t},t.exports.default=t.exports,t.exports.__esModule=!0},7472:function(t){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},2695:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,e.apply(this,arguments)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0},5643:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1198:function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},1024:function(t){t.exports=function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},5605:function(t){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},6811:function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},4262:function(t,e,r){var n=r(4280),o=r(1024),i=r(9487),a=r(5605);t.exports=function(t,e){return n(t)||o(t,e)||i(t,e)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},3217:function(t,e,r){var n=r(8944),o=r(1198),i=r(9487),a=r(6811);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},4576:function(t){function e(r){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=e=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),e(r)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0},9487:function(t,e,r){var n=r(8762);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},5838:function(t,e,r){t.exports=r(7828)},7828:function(t){var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return M()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=R(a,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var u=f(t,e,r);if("normal"===u.type){if(n=r.done?p:d,u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l="suspendedStart",d="suspendedYield",h="executing",p="completed",g={};function v(){}function y(){}function _(){}var b={};b[i]=function(){return this};var m=Object.getPrototypeOf,w=m&&m(m(A([])));w&&w!==r&&n.call(w,i)&&(b=w);var x=_.prototype=v.prototype=Object.create(b);function E(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,s){var u=f(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function R(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,R(t,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function A(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:M}}function M(){return{value:e,done:!0}}return y.prototype=x.constructor=_,_.constructor=y,y.displayName=u(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,u(t,s,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},E(O.prototype),O.prototype[a]=function(){return this},t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(c(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(x),u(x,s,"Generator"),x[i]=function(){return this},x.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=A,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}},9594:function(t){"use strict";t.exports=require("promise/setimmediate/core")},6905:function(t){"use strict";t.exports=require("promise/setimmediate/rejection-tracking")},9497:function(t){"use strict";t.exports=require("react")},7305:function(t){"use strict";t.exports=require("react-native")},3897:function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.__esModule=!0,t.exports.default=t.exports},3405:function(t,e,r){var n=r(3897);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports.default=t.exports},6690:function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},9728:function(t,e,r){var n=r(4062);function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,n(o.key),o)}}t.exports=function(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},8416:function(t,e,r){var n=r(4062);t.exports=function(t,e,r){return(e=n(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},4836:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},9498:function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},2281:function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},861:function(t,e,r){var n=r(3405),o=r(9498),i=r(6116),a=r(2281);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},5036:function(t,e,r){var n=r(8698).default;t.exports=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},4062:function(t,e,r){var n=r(8698).default,o=r(5036);t.exports=function(t){var e=o(t,"string");return"symbol"===n(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},8698:function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},6116:function(t,e,r){var n=r(3897);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r(8240)}()}));
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,c,m,swift}"
17
17
  s.requires_arc = true
18
18
 
19
- s.dependency "LogRocket", "1.21.0"
19
+ s.dependency "LogRocket", "1.21.1"
20
20
  s.dependency "React"
21
21
  end
22
22
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@logrocket/react-native",
3
3
  "title": "Logrocket Native Module",
4
- "version": "1.21.0",
4
+ "version": "1.21.1",
5
5
  "description": "LogRocket SDK for react-native",
6
6
  "typings": "types.d.ts",
7
7
  "files": [