@local-logic/sdks-app 1.0.0-beta.62 → 1.0.0-beta.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/assets/{auto-track-legacy.d20a57c1.js → auto-track-legacy.da6c816b.js} +1 -1
  2. package/dist/assets/{auto-track.34de0e45.js → auto-track.eb9f6124.js} +1 -1
  3. package/dist/assets/{chevron_right-legacy.a6b47efa.js → chevron_right-legacy.9c3cc21f.js} +1 -1
  4. package/dist/assets/{chevron_right.ac621bff.js → chevron_right.fb385c69.js} +1 -1
  5. package/dist/assets/index-legacy.0e09fe55.js +1 -0
  6. package/dist/assets/{index-legacy.b169317d.js → index-legacy.135dc6d5.js} +1 -1
  7. package/dist/assets/{index-legacy.51362b3d.js → index-legacy.47699ec2.js} +1 -1
  8. package/dist/assets/index-legacy.6bf49d03.js +1 -0
  9. package/dist/assets/{index-legacy.3cdf0d9d.js → index-legacy.75d6e70a.js} +1 -1
  10. package/dist/assets/{index-legacy.899c1f35.js → index-legacy.89990463.js} +1 -1
  11. package/dist/assets/{index-legacy.13f0ac69.js → index-legacy.950259c1.js} +9 -9
  12. package/dist/assets/{index-legacy.c86ca351.js → index-legacy.a93cb4c9.js} +1 -1
  13. package/dist/assets/{index-legacy.b885ba04.js → index-legacy.be3959fa.js} +1 -1
  14. package/dist/assets/{index.f263704f.js → index.13b63793.js} +1 -1
  15. package/dist/assets/{index.d8fefcca.js → index.1ec746cf.js} +1 -1
  16. package/dist/assets/{index.1cdf7a15.js → index.272abe7a.js} +1 -1
  17. package/dist/assets/index.61d8a46d.js +1 -0
  18. package/dist/assets/{index.e29815f5.js → index.640e9b13.js} +1 -1
  19. package/dist/assets/{index.4f92ea33.js → index.a5ecf254.js} +2 -2
  20. package/dist/assets/{index.88360873.js → index.aa11245d.js} +1 -1
  21. package/dist/assets/{index.44d7785f.js → index.b12d6d41.js} +1 -1
  22. package/dist/assets/{index.cdb2a035.js → index.e715a798.js} +4 -4
  23. package/dist/assets/{index.umd-legacy.6d05e711.js → index.umd-legacy.95a59f90.js} +1 -1
  24. package/dist/assets/{index.umd.0cdcaee8.js → index.umd.d290c63d.js} +1 -1
  25. package/dist/index.html +2 -2
  26. package/dist/types/sdks/LocalContent/Map/Markers/index.d.ts.map +1 -1
  27. package/dist/types/sdks/LocalContent/Map/Markers/index.js +6 -0
  28. package/dist/types/sdks/LocalContent/Map/Markers/index.js.map +1 -1
  29. package/package.json +2 -2
  30. package/dist/assets/index-legacy.d228f639.js +0 -1
  31. package/dist/assets/index-legacy.f0397524.js +0 -1
  32. package/dist/assets/index.c214efce.js +0 -1
@@ -1 +1 @@
1
- System.register(["./index-legacy.b169317d.js","./index-legacy.c86ca351.js","./is-plan-event-enabled-legacy.0a339854.js","./chevron_right-legacy.a6b47efa.js"],(function(t,n){"use strict";var i,e,r,o,s,a,u,c,l,d,h,f,v,g,p,y,m,w,b,_,z;return{setters:[function(t){i=t.b,e=t.c,r=t.f,o=t.a},function(t){s=t.l,a=t.g,u=t.u,c=t.i,l=t.a,d=t.C,h=t.b,f=t.c,v=t.e,g=t.m,p=t.p,y=t.P,m=t.f,w=t.h,b=t.j,_=t.k},function(t){z=t.i},function(){}],execute:function(){function n(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function j(t,n){return void 0===n&&(n=!1),n?btoa(t).replace(/=/g,""):void 0}function k(t,o,u,c,l,d){return i(this,void 0,void 0,(function(){var i,h,f,v,g,p,y,m;return e(this,(function(e){switch(e.label){case 0:i=n(u),h=j(i,d),f=a(),v="".concat(f,"/integrations/").concat(null!=h?h:i,"/").concat(c,"/").concat(null!=h?h:i,".dynamic.js.gz"),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,s(v)];case 2:return e.sent(),function(t,n,i){var e,o;try{var s=(null!==(o=null===(e=null===window||void 0===window?void 0:window.performance)||void 0===e?void 0:e.getEntriesByName(t,"resource"))&&void 0!==o?o:[])[0];s&&n.stats.gauge("legacy_destination_time",Math.round(s.duration),r([i],s.duration<100?["cached"]:[],!0))}catch(a){}}(v,t,u),[3,4];case 3:throw g=e.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(u),"failed"]),g;case 4:return p=window["".concat(i,"Deps")],[4,Promise.all(p.map((function(t){return s(f+t+".gz")})))];case 5:return e.sent(),window["".concat(i,"Loader")](),(y=window["".concat(i,"Integration")]).Integration&&(y({user:function(){return o.user()},addIntegration:function(){}}),y=y.Integration),(m=new y(l)).analytics=o,[2,m]}}))}))}function S(t,n){return i(this,void 0,void 0,(function(){var r,o=this;return e(this,(function(s){switch(s.label){case 0:return r=[],c()?[2,n]:[4,p((function(){return n.length>0&&b()}),(function(){return i(o,void 0,void 0,(function(){var i;return e(this,(function(e){switch(e.label){case 0:return(i=n.pop())?[4,w(i,t)]:[2];case 1:return e.sent()instanceof _||r.push(i),[2]}}))}))}))];case 1:return s.sent(),r.map((function(t){return n.pushWithBackoff(t)})),[2,n]}}))}))}t("ajsDestinations",(function(t,n,i,e){var r,o;if(void 0===n&&(n={}),void 0===i&&(i={}),v())return[];t.plan&&((i=null!=i?i:{}).plan=t.plan);var s=null!==(o=null===(r=t.middlewareSettings)||void 0===r?void 0:r.routingRules)&&void 0!==o?o:[],a=g(t,null!=i?i:{});return Object.entries(t.integrations).map((function(t){var r,o=t[0],u=t[1];if(!o.startsWith("Segment")){var c=!1===n.All&&void 0===n[o];if(!1!==n[o]&&!c){var l=u.type,d=u.bundlingStatus,h=u.versionSettings;if(("unbundled"!==d&&("browser"===l||(null===(r=null==h?void 0:h.componentTypes)||void 0===r?void 0:r.includes("browser")))||"Segment.io"===o)&&"Iterable"!==o){var f=function(t){var n,i,e,r;return null!==(r=null!==(i=null===(n=t.versionSettings)||void 0===n?void 0:n.override)&&void 0!==i?i:null===(e=t.versionSettings)||void 0===e?void 0:e.version)&&void 0!==r?r:"latest"}(u),v=new I(o,f,a[o],i);return s.filter((function(t){return t.destinationName===o})).length>0&&e&&v.addMiddleware(e),v}}}})).filter((function(t){return void 0!==t}))}));var I=t("LegacyDestination",function(){function t(t,n,i,e){void 0===i&&(i={}),this.options={},this.type="destination",this.middleware=[],this._ready=!1,this._initialized=!1,this.flushing=!1,this.name=t,this.version=n,this.settings=o({},i),this.settings.type&&"browser"===this.settings.type&&delete this.settings.type,this.options=e,this.buffer=e.disableClientPersistence?new y(4,[]):new m(4,"dest-".concat(t)),this.scheduleFlush()}return t.prototype.isLoaded=function(){return this._ready},t.prototype.ready=function(){var t;return null!==(t=this.onReady)&&void 0!==t?t:Promise.resolve()},t.prototype.load=function(t,n){return i(this,void 0,void 0,(function(){var i,r=this;return e(this,(function(e){switch(e.label){case 0:return this._ready||void 0!==this.onReady?[2]:(i=this,[4,k(t,n,this.name,this.version,this.settings,this.options.obfuscate)]);case 1:i.integration=e.sent(),this.onReady=new Promise((function(t){r.integration.once("ready",(function(){r._ready=!0,t(!0)}))})),this.onInitialize=new Promise((function(t){r.integration.on("initialize",(function(){r._initialized=!0,t(!0)}))}));try{t.stats.increment("analytics_js.integration.invoke",1,["method:initialize","integration_name:".concat(this.name)]),this.integration.initialize()}catch(o){throw t.stats.increment("analytics_js.integration.invoke.error",1,["method:initialize","integration_name:".concat(this.name)]),o}return[2]}}))}))},t.prototype.unload=function(t,r){return function(t,r,o){return i(this,void 0,void 0,(function(){var i,s,c,l;return e(this,(function(e){return i=a(),s=n(t),c=j(t,o),l="".concat(i,"/integrations/").concat(null!=c?c:s,"/").concat(r,"/").concat(null!=c?c:s,".dynamic.js.gz"),[2,u(l)]}))}))}(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];this.middleware=(t=this.middleware).concat.apply(t,n)},t.prototype.shouldBuffer=function(t){return"page"!==t.event.type&&(c()||!1===this._ready||!1===this._initialized)},t.prototype.send=function(t,n,r){var s,a;return i(this,void 0,void 0,(function(){var i,u,c,f,v,g;return e(this,(function(e){switch(e.label){case 0:if(this.shouldBuffer(t))return this.buffer.push(t),this.scheduleFlush(),[2,t];if(i=null===(a=null===(s=this.options)||void 0===s?void 0:s.plan)||void 0===a?void 0:a.track,u=t.event.event,i&&u&&"Segment.io"!==this.name){if(c=i[u],!z(i,c))return t.updateEvent("integrations",o(o({},t.event.integrations),{All:!1,"Segment.io":!0})),t.cancel(new d({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,t];if(t.updateEvent("integrations",o(o({},t.event.integrations),null==c?void 0:c.integrations)),(null==c?void 0:c.enabled)&&!1===(null==c?void 0:c.integrations[this.name]))return t.cancel(new d({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,t]}return[4,h(this.name,t.event,this.middleware)];case 1:if(null===(f=e.sent()))return[2,t];v=new n(f,{}),t.stats.increment("analytics_js.integration.invoke",1,["method:".concat(r),"integration_name:".concat(this.name)]),e.label=2;case 2:return e.trys.push([2,5,,6]),this.integration?[4,l(this.integration.invoke.call(this.integration,r,v))]:[3,4];case 3:e.sent(),e.label=4;case 4:return[3,6];case 5:throw g=e.sent(),t.stats.increment("analytics_js.integration.invoke.error",1,["method:".concat(r),"integration_name:".concat(this.name)]),g;case 6:return[2,t]}}))}))},t.prototype.track=function(t){return i(this,void 0,void 0,(function(){return e(this,(function(n){return[2,this.send(t,f.Track,"track")]}))}))},t.prototype.page=function(t){var n;return i(this,void 0,void 0,(function(){var i=this;return e(this,(function(e){return(null===(n=this.integration)||void 0===n?void 0:n._assumesPageview)&&!this._initialized&&this.integration.initialize(),[2,this.onInitialize.then((function(){return i.send(t,f.Page,"page")}))]}))}))},t.prototype.identify=function(t){return i(this,void 0,void 0,(function(){return e(this,(function(n){return[2,this.send(t,f.Identify,"identify")]}))}))},t.prototype.alias=function(t){return i(this,void 0,void 0,(function(){return e(this,(function(n){return[2,this.send(t,f.Alias,"alias")]}))}))},t.prototype.group=function(t){return i(this,void 0,void 0,(function(){return e(this,(function(n){return[2,this.send(t,f.Group,"group")]}))}))},t.prototype.scheduleFlush=function(){var t=this;this.flushing||setTimeout((function(){return i(t,void 0,void 0,(function(){var t;return e(this,(function(n){switch(n.label){case 0:return this.flushing=!0,t=this,[4,S(this,this.buffer)];case 1:return t.buffer=n.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}}))}))}),5e3*Math.random())},t}())}}}));
1
+ System.register(["./index-legacy.135dc6d5.js","./index-legacy.a93cb4c9.js","./is-plan-event-enabled-legacy.0a339854.js","./chevron_right-legacy.9c3cc21f.js"],(function(t,n){"use strict";var i,e,r,o,s,a,u,c,l,d,h,f,v,g,p,y,m,w,b,_,z;return{setters:[function(t){i=t.b,e=t.c,r=t.f,o=t.a},function(t){s=t.l,a=t.g,u=t.u,c=t.i,l=t.a,d=t.C,h=t.b,f=t.c,v=t.e,g=t.m,p=t.p,y=t.P,m=t.f,w=t.h,b=t.j,_=t.k},function(t){z=t.i},function(){}],execute:function(){function n(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function j(t,n){return void 0===n&&(n=!1),n?btoa(t).replace(/=/g,""):void 0}function k(t,o,u,c,l,d){return i(this,void 0,void 0,(function(){var i,h,f,v,g,p,y,m;return e(this,(function(e){switch(e.label){case 0:i=n(u),h=j(i,d),f=a(),v="".concat(f,"/integrations/").concat(null!=h?h:i,"/").concat(c,"/").concat(null!=h?h:i,".dynamic.js.gz"),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,s(v)];case 2:return e.sent(),function(t,n,i){var e,o;try{var s=(null!==(o=null===(e=null===window||void 0===window?void 0:window.performance)||void 0===e?void 0:e.getEntriesByName(t,"resource"))&&void 0!==o?o:[])[0];s&&n.stats.gauge("legacy_destination_time",Math.round(s.duration),r([i],s.duration<100?["cached"]:[],!0))}catch(a){}}(v,t,u),[3,4];case 3:throw g=e.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(u),"failed"]),g;case 4:return p=window["".concat(i,"Deps")],[4,Promise.all(p.map((function(t){return s(f+t+".gz")})))];case 5:return e.sent(),window["".concat(i,"Loader")](),(y=window["".concat(i,"Integration")]).Integration&&(y({user:function(){return o.user()},addIntegration:function(){}}),y=y.Integration),(m=new y(l)).analytics=o,[2,m]}}))}))}function S(t,n){return i(this,void 0,void 0,(function(){var r,o=this;return e(this,(function(s){switch(s.label){case 0:return r=[],c()?[2,n]:[4,p((function(){return n.length>0&&b()}),(function(){return i(o,void 0,void 0,(function(){var i;return e(this,(function(e){switch(e.label){case 0:return(i=n.pop())?[4,w(i,t)]:[2];case 1:return e.sent()instanceof _||r.push(i),[2]}}))}))}))];case 1:return s.sent(),r.map((function(t){return n.pushWithBackoff(t)})),[2,n]}}))}))}t("ajsDestinations",(function(t,n,i,e){var r,o;if(void 0===n&&(n={}),void 0===i&&(i={}),v())return[];t.plan&&((i=null!=i?i:{}).plan=t.plan);var s=null!==(o=null===(r=t.middlewareSettings)||void 0===r?void 0:r.routingRules)&&void 0!==o?o:[],a=g(t,null!=i?i:{});return Object.entries(t.integrations).map((function(t){var r,o=t[0],u=t[1];if(!o.startsWith("Segment")){var c=!1===n.All&&void 0===n[o];if(!1!==n[o]&&!c){var l=u.type,d=u.bundlingStatus,h=u.versionSettings;if(("unbundled"!==d&&("browser"===l||(null===(r=null==h?void 0:h.componentTypes)||void 0===r?void 0:r.includes("browser")))||"Segment.io"===o)&&"Iterable"!==o){var f=function(t){var n,i,e,r;return null!==(r=null!==(i=null===(n=t.versionSettings)||void 0===n?void 0:n.override)&&void 0!==i?i:null===(e=t.versionSettings)||void 0===e?void 0:e.version)&&void 0!==r?r:"latest"}(u),v=new I(o,f,a[o],i);return s.filter((function(t){return t.destinationName===o})).length>0&&e&&v.addMiddleware(e),v}}}})).filter((function(t){return void 0!==t}))}));var I=t("LegacyDestination",function(){function t(t,n,i,e){void 0===i&&(i={}),this.options={},this.type="destination",this.middleware=[],this._ready=!1,this._initialized=!1,this.flushing=!1,this.name=t,this.version=n,this.settings=o({},i),this.settings.type&&"browser"===this.settings.type&&delete this.settings.type,this.options=e,this.buffer=e.disableClientPersistence?new y(4,[]):new m(4,"dest-".concat(t)),this.scheduleFlush()}return t.prototype.isLoaded=function(){return this._ready},t.prototype.ready=function(){var t;return null!==(t=this.onReady)&&void 0!==t?t:Promise.resolve()},t.prototype.load=function(t,n){return i(this,void 0,void 0,(function(){var i,r=this;return e(this,(function(e){switch(e.label){case 0:return this._ready||void 0!==this.onReady?[2]:(i=this,[4,k(t,n,this.name,this.version,this.settings,this.options.obfuscate)]);case 1:i.integration=e.sent(),this.onReady=new Promise((function(t){r.integration.once("ready",(function(){r._ready=!0,t(!0)}))})),this.onInitialize=new Promise((function(t){r.integration.on("initialize",(function(){r._initialized=!0,t(!0)}))}));try{t.stats.increment("analytics_js.integration.invoke",1,["method:initialize","integration_name:".concat(this.name)]),this.integration.initialize()}catch(o){throw t.stats.increment("analytics_js.integration.invoke.error",1,["method:initialize","integration_name:".concat(this.name)]),o}return[2]}}))}))},t.prototype.unload=function(t,r){return function(t,r,o){return i(this,void 0,void 0,(function(){var i,s,c,l;return e(this,(function(e){return i=a(),s=n(t),c=j(t,o),l="".concat(i,"/integrations/").concat(null!=c?c:s,"/").concat(r,"/").concat(null!=c?c:s,".dynamic.js.gz"),[2,u(l)]}))}))}(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];this.middleware=(t=this.middleware).concat.apply(t,n)},t.prototype.shouldBuffer=function(t){return"page"!==t.event.type&&(c()||!1===this._ready||!1===this._initialized)},t.prototype.send=function(t,n,r){var s,a;return i(this,void 0,void 0,(function(){var i,u,c,f,v,g;return e(this,(function(e){switch(e.label){case 0:if(this.shouldBuffer(t))return this.buffer.push(t),this.scheduleFlush(),[2,t];if(i=null===(a=null===(s=this.options)||void 0===s?void 0:s.plan)||void 0===a?void 0:a.track,u=t.event.event,i&&u&&"Segment.io"!==this.name){if(c=i[u],!z(i,c))return t.updateEvent("integrations",o(o({},t.event.integrations),{All:!1,"Segment.io":!0})),t.cancel(new d({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,t];if(t.updateEvent("integrations",o(o({},t.event.integrations),null==c?void 0:c.integrations)),(null==c?void 0:c.enabled)&&!1===(null==c?void 0:c.integrations[this.name]))return t.cancel(new d({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,t]}return[4,h(this.name,t.event,this.middleware)];case 1:if(null===(f=e.sent()))return[2,t];v=new n(f,{}),t.stats.increment("analytics_js.integration.invoke",1,["method:".concat(r),"integration_name:".concat(this.name)]),e.label=2;case 2:return e.trys.push([2,5,,6]),this.integration?[4,l(this.integration.invoke.call(this.integration,r,v))]:[3,4];case 3:e.sent(),e.label=4;case 4:return[3,6];case 5:throw g=e.sent(),t.stats.increment("analytics_js.integration.invoke.error",1,["method:".concat(r),"integration_name:".concat(this.name)]),g;case 6:return[2,t]}}))}))},t.prototype.track=function(t){return i(this,void 0,void 0,(function(){return e(this,(function(n){return[2,this.send(t,f.Track,"track")]}))}))},t.prototype.page=function(t){var n;return i(this,void 0,void 0,(function(){var i=this;return e(this,(function(e){return(null===(n=this.integration)||void 0===n?void 0:n._assumesPageview)&&!this._initialized&&this.integration.initialize(),[2,this.onInitialize.then((function(){return i.send(t,f.Page,"page")}))]}))}))},t.prototype.identify=function(t){return i(this,void 0,void 0,(function(){return e(this,(function(n){return[2,this.send(t,f.Identify,"identify")]}))}))},t.prototype.alias=function(t){return i(this,void 0,void 0,(function(){return e(this,(function(n){return[2,this.send(t,f.Alias,"alias")]}))}))},t.prototype.group=function(t){return i(this,void 0,void 0,(function(){return e(this,(function(n){return[2,this.send(t,f.Group,"group")]}))}))},t.prototype.scheduleFlush=function(){var t=this;this.flushing||setTimeout((function(){return i(t,void 0,void 0,(function(){var t;return e(this,(function(n){switch(n.label){case 0:return this.flushing=!0,t=this,[4,S(this,this.buffer)];case 1:return t.buffer=n.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}}))}))}),5e3*Math.random())},t}())}}}));
@@ -1,4 +1,4 @@
1
- !function(){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},r(e)}System.register(["./index-legacy.b169317d.js","./index-legacy.c86ca351.js","./chevron_right-legacy.a6b47efa.js"],(function(e,t){"use strict";var n,o,a;return{setters:[function(r){n=r.a8,o=r.d},function(r){a=r.d},function(){}],execute:function(){for(var t={},i={},u=[],f=0;f<64;)u[f]=0|4294967296*Math.sin(++f%Math.PI);var c=Object.freeze(Object.defineProperty({__proto__:null,default:function(r){var e,t,n,o=[e=1732584193,t=4023233417,~e,~t],a=[],i=unescape(encodeURI(r))+"€",c=i.length;for(r=--c/4+2|15,a[--r]=8*c;~c;)a[c>>2]|=i.charCodeAt(c)<<8*c--;for(f=i=0;f<r;f+=16){for(c=o;i<64;c=[n=c[3],e+((n=c[0]+[e&t|~e&n,n&e|~n&t,e^t^n,t^(e|~n)][c=i>>4]+u[i]+~~a[f|15&[i,5*i+1,3*i+5,7*i][c]])<<(c=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*c+i++%4])|n>>>-c),e,t])e=0|c[1],t=c[2];for(i=4;i;)o[--i]+=c[i]}for(r="";i<32;)r+=(o[i>>3]>>4*(1^i++)&15).toString(16);return r}},Symbol.toStringTag,{value:"Module"})),l=n(c),s={exports:{}};!function(r,e){r.exports=function(r,e,t,n,o){for(e=e.split?e.split("."):e,n=0;n<e.length;n++)r=r?r[e[n]]:o;return r===o?t:r}}(s);
1
+ !function(){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},r(e)}System.register(["./index-legacy.135dc6d5.js","./index-legacy.a93cb4c9.js","./chevron_right-legacy.9c3cc21f.js"],(function(e,t){"use strict";var n,o,a;return{setters:[function(r){n=r.a8,o=r.d},function(r){a=r.d},function(){}],execute:function(){for(var t={},i={},u=[],f=0;f<64;)u[f]=0|4294967296*Math.sin(++f%Math.PI);var c=Object.freeze(Object.defineProperty({__proto__:null,default:function(r){var e,t,n,o=[e=1732584193,t=4023233417,~e,~t],a=[],i=unescape(encodeURI(r))+"€",c=i.length;for(r=--c/4+2|15,a[--r]=8*c;~c;)a[c>>2]|=i.charCodeAt(c)<<8*c--;for(f=i=0;f<r;f+=16){for(c=o;i<64;c=[n=c[3],e+((n=c[0]+[e&t|~e&n,n&e|~n&t,e^t^n,t^(e|~n)][c=i>>4]+u[i]+~~a[f|15&[i,5*i+1,3*i+5,7*i][c]])<<(c=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*c+i++%4])|n>>>-c),e,t])e=0|c[1],t=c[2];for(i=4;i;)o[--i]+=c[i]}for(r="";i<32;)r+=(o[i>>3]>>4*(1^i++)&15).toString(16);return r}},Symbol.toStringTag,{value:"Module"})),l=n(c),s={exports:{}};!function(r,e){r.exports=function(r,e,t,n,o){for(e=e.split?e.split("."):e,n=0;n<e.length;n++)r=r?r[e[n]]:o;return r===o?t:r}}(s);
2
2
  /**
3
3
  * @license Apache-2.0
4
4
  *
@@ -34,7 +34,7 @@ var p=Number.POSITIVE_INFINITY,y=Number.NEGATIVE_INFINITY;var v=
34
34
  * See the License for the specific language governing permissions and
35
35
  * limitations under the License.
36
36
  */
37
- function(r){return r!=r},h=p,d=y;
37
+ function(r){return r!=r},d=p,h=y;
38
38
  /**
39
39
  * @license Apache-2.0
40
40
  *
@@ -51,7 +51,7 @@ function(r){return r!=r},h=p,d=y;
51
51
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
52
52
  * See the License for the specific language governing permissions and
53
53
  * limitations under the License.
54
- */var g=function(r){return r===h||r===d};
54
+ */var g=function(r){return r===d||r===h};
55
55
  /**
56
56
  * @license Apache-2.0
57
57
  *
@@ -68,7 +68,7 @@ function(r){return r!=r},h=p,d=y;
68
68
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
69
69
  * See the License for the specific language governing permissions and
70
70
  * limitations under the License.
71
- */var b=
71
+ */var m=
72
72
  /**
73
73
  * @license Apache-2.0
74
74
  *
@@ -103,7 +103,7 @@ function(){return"function"==typeof Symbol&&"symbol"===r(Symbol("foo"))}();
103
103
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
104
104
  * See the License for the specific language governing permissions and
105
105
  * limitations under the License.
106
- */var m=function(){return b&&"symbol"===r(Symbol.toStringTag)},w=Object.prototype.toString,_=w;
106
+ */var b=function(){return m&&"symbol"===r(Symbol.toStringTag)},w=Object.prototype.toString,_=w;
107
107
  /**
108
108
  * @license Apache-2.0
109
109
  *
@@ -154,7 +154,7 @@ function(){return"function"==typeof Symbol&&"symbol"===r(Symbol("foo"))}();
154
154
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
155
155
  * See the License for the specific language governing permissions and
156
156
  * limitations under the License.
157
- */var I=A,P=function(r){var e,t,n;if(null==r)return U.call(r);t=r[N],e=k(r,N);try{r[N]=void 0}catch(o){return U.call(r)}return n=U.call(r),e?r[N]=t:delete r[N],n},M=m()?P:I,E=M,F="function"==typeof Uint32Array;
157
+ */var I=A,P=function(r){var e,t,n;if(null==r)return U.call(r);t=r[N],e=k(r,N);try{r[N]=void 0}catch(o){return U.call(r)}return n=U.call(r),e?r[N]=t:delete r[N],n},M=b()?P:I,E=M,F="function"==typeof Uint32Array;
158
158
  /**
159
159
  * @license Apache-2.0
160
160
  *
@@ -447,7 +447,7 @@ function(){throw new Error("not implemented")},vr={uint16:lr()?pr:yr,uint8:or};
447
447
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
448
448
  * See the License for the specific language governing permissions and
449
449
  * limitations under the License.
450
- */(sr=new vr.uint16(1))[0]=4660;var hr,dr,gr=52===new vr.uint8(sr.buffer)[0];
450
+ */(sr=new vr.uint16(1))[0]=4660;var dr,hr,gr=52===new vr.uint8(sr.buffer)[0];
451
451
  /**
452
452
  * @license Apache-2.0
453
453
  *
@@ -464,7 +464,7 @@ function(){throw new Error("not implemented")},vr={uint16:lr()?pr:yr,uint8:or};
464
464
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
465
465
  * See the License for the specific language governing permissions and
466
466
  * limitations under the License.
467
- */!0===gr?(hr=1,dr=0):(hr=0,dr=1);var br=D,mr={HIGH:hr,LOW:dr},wr=new z(1),_r=new br(wr.buffer),Ar=mr.HIGH,Or=mr.LOW;
467
+ */!0===gr?(dr=1,hr=0):(dr=0,hr=1);var mr=D,br={HIGH:dr,LOW:hr},wr=new z(1),_r=new mr(wr.buffer),Ar=br.HIGH,Or=br.LOW;
468
468
  /**
469
469
  * @license Apache-2.0
470
470
  *
@@ -669,4 +669,4 @@ function(r){return Math.abs(r)};
669
669
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
670
670
  * See the License for the specific language governing permissions and
671
671
  * limitations under the License.
672
- */Object.defineProperty(pe,"__esModule",{value:!0}),pe.unset=void 0;var ve=ye(s.exports);pe.unset=function(r,e){if((0,ve.default)(r,e)){for(var t=e.split("."),n=t.pop();t.length&&"\\"===t[t.length-1].slice(-1);)n=t.pop().slice(0,-1)+"."+n;for(;t.length;)r=r[e=t.shift()];return delete r[n]}return!0};var he=o&&o.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(i,"__esModule",{value:!0});var de=he(l),ge=he(s.exports),be=he(le),me=se,we=pe;function _e(e,t){for(var n in t.drop)if(t.drop.hasOwnProperty(n)){var o=""===n?e:(0,ge.default)(e,n);if("object"===r(o)&&null!==o)for(var a=0,i=t.drop[n];a<i.length;a++){delete o[i[a]]}}}function Ae(e,t){for(var n in t.allow)if(t.allow.hasOwnProperty(n)){var o=""===n?e:(0,ge.default)(e,n);if("object"===r(o)&&null!==o)for(var a in o)o.hasOwnProperty(a)&&-1===t.allow[n].indexOf(a)&&delete o[a]}}function Oe(e,t){var n=JSON.parse(JSON.stringify(e));for(var o in t.map)if(t.map.hasOwnProperty(o)){var a=t.map[o],i=o.split("."),u=void 0;if(i.length>1?(i.pop(),u=(0,ge.default)(n,i.join("."))):u=e,"object"===r(u)){if(a.copy){var f=(0,ge.default)(n,a.copy);void 0!==f&&(0,me.dset)(e,o,f)}else if(a.move){var c=(0,ge.default)(n,a.move);void 0!==c&&(0,me.dset)(e,o,c),(0,we.unset)(e,a.move)}else a.hasOwnProperty("set")&&(0,me.dset)(e,o,a.set);if(a.to_string){var l=(0,ge.default)(e,o);if("string"==typeof l||"object"===r(l)&&null!==l)continue;void 0!==l?(0,me.dset)(e,o,JSON.stringify(l)):(0,me.dset)(e,o,"undefined")}}}}function je(r,e){return!(e.sample.percent<=0)&&(e.sample.percent>=1||(e.sample.path?function(r,e){var t=(0,ge.default)(r,e.sample.path),n=(0,de.default)(JSON.stringify(t)),o=-64,a=[];Se(n.slice(0,8),a);for(var i=0,u=0;u<64&&1!==a[u];u++)i++;if(0!==i){var f=[];Se(n.slice(9,16),f),o-=i,a.splice(0,i),f.splice(64-i),a=a.concat(f)}return a[63]=0===a[63]?1:0,(0,be.default)(parseInt(a.join(""),2),o)<e.sample.percent}(r,e):(t=e.sample.percent,Math.random()<=t)));var t}function Se(r,e){for(var t=0;t<8;t++)for(var n=r[t],o=128;o>=1;o/=2)n-o>=0?(n-=o,e.push(1)):e.push(0)}i.default=function(r,e){for(var t=r,n=0,o=e;n<o.length;n++){var a=o[n];switch(a.type){case"drop":return null;case"drop_properties":_e(t,a.config);break;case"allow_properties":Ae(t,a.config);break;case"sample_event":if(je(t,a.config))break;return null;case"map_properties":Oe(t,a.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(a.type,'" is unsupported.'))}}return t};var ke={},Ne=o&&o.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ke,"__esModule",{value:!0});var Ue=Ne(s.exports);function Ie(e,t){if(!Array.isArray(e))return!0===Pe(e,t);var n=e[0];switch(n){case"!":return!Ie(e[1],t);case"or":for(var o=1;o<e.length;o++)if(Ie(e[o],t))return!0;return!1;case"and":for(o=1;o<e.length;o++)if(!Ie(e[o],t))return!1;return!0;case"=":case"!=":return function(e,t,n,o){Me(e)&&(e=Ie(e,o));Me(t)&&(t=Ie(t,o));"object"===r(e)&&"object"===r(t)&&(e=JSON.stringify(e),t=JSON.stringify(t));switch(n){case"=":return e===t;case"!=":return e!==t;default:throw new Error("Invalid operator in compareItems: ".concat(n))}}(Pe(e[1],t),Pe(e[2],t),n,t);case"<=":case"<":case">":case">=":return function(r,e,t,n){Me(r)&&(r=Ie(r,n));Me(e)&&(e=Ie(e,n));if("number"!=typeof r||"number"!=typeof e)return!1;switch(t){case"<=":return r<=e;case">=":return r>=e;case"<":return r<e;case">":return r>e;default:throw new Error("Invalid operator in compareNumbers: ".concat(t))}}(Pe(e[1],t),Pe(e[2],t),n,t);case"contains":return function(r,e){if("string"!=typeof r||"string"!=typeof e)return!1;return-1!==r.indexOf(e)}(Pe(e[1],t),Pe(e[2],t));case"match":return function(r,e){if("string"!=typeof r||"string"!=typeof e)return!1;return function(r,e){var t,n;r:for(;r.length>0;){var o=void 0,a=void 0;if(o=(t=Ee(r)).star,a=t.chunk,r=t.pattern,o&&""===a)return!0;var i=Fe(a,e),u=i.t,f=i.ok,c=i.err;if(c)return!1;if(!f||!(0===u.length||r.length>0)){if(o)for(var l=0;l<e.length;l++){if(u=(n=Fe(a,e.slice(l+1))).t,f=n.ok,c=n.err,f){if(0===r.length&&u.length>0)continue;e=u;continue r}if(c)return!1}return!1}e=u}return 0===e.length}(e,r)}(Pe(e[1],t),Pe(e[2],t));case"lowercase":var a=Pe(e[1],t);return"string"!=typeof a?null:a.toLowerCase();case"typeof":return r(Pe(e[1],t));case"length":return function(r){if(null===r)return 0;if(!Array.isArray(r)&&"string"!=typeof r)return NaN;return r.length}(Pe(e[1],t));default:throw new Error("FQL IR could not evaluate for token: ".concat(n))}}function Pe(e,t){return Array.isArray(e)?e:"object"===r(e)?e.value:(0,Ue.default)(t,e)}function Me(r){return!!Array.isArray(r)&&(("lowercase"===r[0]||"length"===r[0]||"typeof"===r[0])&&2===r.length||("contains"===r[0]||"match"===r[0])&&3===r.length)}function Ee(r){for(var e={star:!1,chunk:"",pattern:""};r.length>0&&"*"===r[0];)r=r.slice(1),e.star=!0;var t,n=!1;r:for(t=0;t<r.length;t++)switch(r[t]){case"\\":t+1<r.length&&t++;break;case"[":n=!0;break;case"]":n=!1;break;case"*":if(!n)break r}return e.chunk=r.slice(0,t),e.pattern=r.slice(t),e}function Fe(r,e){for(var t,n,o={t:"",ok:!1,err:!1};r.length>0;){if(0===e.length)return o;switch(r[0]){case"[":var a=e[0];e=e.slice(1);var i=!0;(r=r.slice(1)).length>0&&"^"===r[0]&&(i=!1,r=r.slice(1));for(var u=!1,f=0;;){if(r.length>0&&"]"===r[0]&&f>0){r=r.slice(1);break}var c,l="";if(c=(t=xe(r)).char,r=t.newChunk,t.err)return o;if(l=c,"-"===r[0]&&(l=(n=xe(r.slice(1))).char,r=n.newChunk,n.err))return o;c<=a&&a<=l&&(u=!0),f++}if(u!==i)return o;break;case"?":e=e.slice(1),r=r.slice(1);break;case"\\":if(0===(r=r.slice(1)).length)return o.err=!0,o;default:if(r[0]!==e[0])return o;e=e.slice(1),r=r.slice(1)}}return o.t=e,o.ok=!0,o.err=!1,o}function xe(r){var e={char:"",newChunk:"",err:!1};return 0===r.length||"-"===r[0]||"]"===r[0]||"\\"===r[0]&&0===(r=r.slice(1)).length?(e.err=!0,e):(e.char=r[0],e.newChunk=r.slice(1),0===e.newChunk.length&&(e.err=!0),e)}ke.default=function(r,e){if(!e)throw new Error("No matcher supplied!");switch(e.type){case"all":return!0;case"fql":return function(r,e){if(!r)return!1;try{r=JSON.parse(r)}catch(n){throw new Error('Failed to JSON.parse FQL intermediate representation "'.concat(r,'": ').concat(n))}var t=Ie(r,e);if("boolean"!=typeof t)return!1;return t}(e.ir,r);default:throw new Error("Matcher of type ".concat(e.type," unsupported."))}};var He={};Object.defineProperty(He,"__esModule",{value:!0});var Je=function(){function r(r){this.rules=[],this.rules=r||[]}return r.prototype.getRulesByDestinationName=function(r){for(var e=[],t=0,n=this.rules;t<n.length;t++){var o=n[t];o.destinationName!==r&&void 0!==o.destinationName||e.push(o)}return e},r}();He.default=Je,function(r){var e=o&&o.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(r,"__esModule",{value:!0}),r.Store=r.matches=r.transform=void 0;var t=i;Object.defineProperty(r,"transform",{enumerable:!0,get:function(){return e(t).default}});var n=ke;Object.defineProperty(r,"matches",{enumerable:!0,get:function(){return e(n).default}});var a=He;Object.defineProperty(r,"Store",{enumerable:!0,get:function(){return e(a).default}})}(t);e("tsubMiddleware",(function(r){return function(e){var n=e.payload,o=e.integration,a=e.next;new t.Store(r).getRulesByDestinationName(o).forEach((function(r){for(var e=r.matchers,o=r.transformers,i=0;i<e.length;i++)if(t.matches(n.obj,e[i])&&(n.obj=t.transform(n.obj,o[i]),null===n.obj))return a(null)})),a(n)}}))}}}))}();
672
+ */Object.defineProperty(pe,"__esModule",{value:!0}),pe.unset=void 0;var ve=ye(s.exports);pe.unset=function(r,e){if((0,ve.default)(r,e)){for(var t=e.split("."),n=t.pop();t.length&&"\\"===t[t.length-1].slice(-1);)n=t.pop().slice(0,-1)+"."+n;for(;t.length;)r=r[e=t.shift()];return delete r[n]}return!0};var de=o&&o.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(i,"__esModule",{value:!0});var he=de(l),ge=de(s.exports),me=de(le),be=se,we=pe;function _e(e,t){for(var n in t.drop)if(t.drop.hasOwnProperty(n)){var o=""===n?e:(0,ge.default)(e,n);if("object"===r(o)&&null!==o)for(var a=0,i=t.drop[n];a<i.length;a++){delete o[i[a]]}}}function Ae(e,t){for(var n in t.allow)if(t.allow.hasOwnProperty(n)){var o=""===n?e:(0,ge.default)(e,n);if("object"===r(o)&&null!==o)for(var a in o)o.hasOwnProperty(a)&&-1===t.allow[n].indexOf(a)&&delete o[a]}}function Oe(e,t){var n=JSON.parse(JSON.stringify(e));for(var o in t.map)if(t.map.hasOwnProperty(o)){var a=t.map[o],i=o.split("."),u=void 0;if(i.length>1?(i.pop(),u=(0,ge.default)(n,i.join("."))):u=e,"object"===r(u)){if(a.copy){var f=(0,ge.default)(n,a.copy);void 0!==f&&(0,be.dset)(e,o,f)}else if(a.move){var c=(0,ge.default)(n,a.move);void 0!==c&&(0,be.dset)(e,o,c),(0,we.unset)(e,a.move)}else a.hasOwnProperty("set")&&(0,be.dset)(e,o,a.set);if(a.to_string){var l=(0,ge.default)(e,o);if("string"==typeof l||"object"===r(l)&&null!==l)continue;void 0!==l?(0,be.dset)(e,o,JSON.stringify(l)):(0,be.dset)(e,o,"undefined")}}}}function je(r,e){return!(e.sample.percent<=0)&&(e.sample.percent>=1||(e.sample.path?function(r,e){var t=(0,ge.default)(r,e.sample.path),n=(0,he.default)(JSON.stringify(t)),o=-64,a=[];Se(n.slice(0,8),a);for(var i=0,u=0;u<64&&1!==a[u];u++)i++;if(0!==i){var f=[];Se(n.slice(9,16),f),o-=i,a.splice(0,i),f.splice(64-i),a=a.concat(f)}return a[63]=0===a[63]?1:0,(0,me.default)(parseInt(a.join(""),2),o)<e.sample.percent}(r,e):(t=e.sample.percent,Math.random()<=t)));var t}function Se(r,e){for(var t=0;t<8;t++)for(var n=r[t],o=128;o>=1;o/=2)n-o>=0?(n-=o,e.push(1)):e.push(0)}i.default=function(r,e){for(var t=r,n=0,o=e;n<o.length;n++){var a=o[n];switch(a.type){case"drop":return null;case"drop_properties":_e(t,a.config);break;case"allow_properties":Ae(t,a.config);break;case"sample_event":if(je(t,a.config))break;return null;case"map_properties":Oe(t,a.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(a.type,'" is unsupported.'))}}return t};var ke={},Ne=o&&o.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ke,"__esModule",{value:!0});var Ue=Ne(s.exports);function Ie(e,t){if(!Array.isArray(e))return!0===Pe(e,t);var n=e[0];switch(n){case"!":return!Ie(e[1],t);case"or":for(var o=1;o<e.length;o++)if(Ie(e[o],t))return!0;return!1;case"and":for(o=1;o<e.length;o++)if(!Ie(e[o],t))return!1;return!0;case"=":case"!=":return function(e,t,n,o){Me(e)&&(e=Ie(e,o));Me(t)&&(t=Ie(t,o));"object"===r(e)&&"object"===r(t)&&(e=JSON.stringify(e),t=JSON.stringify(t));switch(n){case"=":return e===t;case"!=":return e!==t;default:throw new Error("Invalid operator in compareItems: ".concat(n))}}(Pe(e[1],t),Pe(e[2],t),n,t);case"<=":case"<":case">":case">=":return function(r,e,t,n){Me(r)&&(r=Ie(r,n));Me(e)&&(e=Ie(e,n));if("number"!=typeof r||"number"!=typeof e)return!1;switch(t){case"<=":return r<=e;case">=":return r>=e;case"<":return r<e;case">":return r>e;default:throw new Error("Invalid operator in compareNumbers: ".concat(t))}}(Pe(e[1],t),Pe(e[2],t),n,t);case"contains":return function(r,e){if("string"!=typeof r||"string"!=typeof e)return!1;return-1!==r.indexOf(e)}(Pe(e[1],t),Pe(e[2],t));case"match":return function(r,e){if("string"!=typeof r||"string"!=typeof e)return!1;return function(r,e){var t,n;r:for(;r.length>0;){var o=void 0,a=void 0;if(o=(t=Ee(r)).star,a=t.chunk,r=t.pattern,o&&""===a)return!0;var i=Fe(a,e),u=i.t,f=i.ok,c=i.err;if(c)return!1;if(!f||!(0===u.length||r.length>0)){if(o)for(var l=0;l<e.length;l++){if(u=(n=Fe(a,e.slice(l+1))).t,f=n.ok,c=n.err,f){if(0===r.length&&u.length>0)continue;e=u;continue r}if(c)return!1}return!1}e=u}return 0===e.length}(e,r)}(Pe(e[1],t),Pe(e[2],t));case"lowercase":var a=Pe(e[1],t);return"string"!=typeof a?null:a.toLowerCase();case"typeof":return r(Pe(e[1],t));case"length":return function(r){if(null===r)return 0;if(!Array.isArray(r)&&"string"!=typeof r)return NaN;return r.length}(Pe(e[1],t));default:throw new Error("FQL IR could not evaluate for token: ".concat(n))}}function Pe(e,t){return Array.isArray(e)?e:"object"===r(e)?e.value:(0,Ue.default)(t,e)}function Me(r){return!!Array.isArray(r)&&(("lowercase"===r[0]||"length"===r[0]||"typeof"===r[0])&&2===r.length||("contains"===r[0]||"match"===r[0])&&3===r.length)}function Ee(r){for(var e={star:!1,chunk:"",pattern:""};r.length>0&&"*"===r[0];)r=r.slice(1),e.star=!0;var t,n=!1;r:for(t=0;t<r.length;t++)switch(r[t]){case"\\":t+1<r.length&&t++;break;case"[":n=!0;break;case"]":n=!1;break;case"*":if(!n)break r}return e.chunk=r.slice(0,t),e.pattern=r.slice(t),e}function Fe(r,e){for(var t,n,o={t:"",ok:!1,err:!1};r.length>0;){if(0===e.length)return o;switch(r[0]){case"[":var a=e[0];e=e.slice(1);var i=!0;(r=r.slice(1)).length>0&&"^"===r[0]&&(i=!1,r=r.slice(1));for(var u=!1,f=0;;){if(r.length>0&&"]"===r[0]&&f>0){r=r.slice(1);break}var c,l="";if(c=(t=xe(r)).char,r=t.newChunk,t.err)return o;if(l=c,"-"===r[0]&&(l=(n=xe(r.slice(1))).char,r=n.newChunk,n.err))return o;c<=a&&a<=l&&(u=!0),f++}if(u!==i)return o;break;case"?":e=e.slice(1),r=r.slice(1);break;case"\\":if(0===(r=r.slice(1)).length)return o.err=!0,o;default:if(r[0]!==e[0])return o;e=e.slice(1),r=r.slice(1)}}return o.t=e,o.ok=!0,o.err=!1,o}function xe(r){var e={char:"",newChunk:"",err:!1};return 0===r.length||"-"===r[0]||"]"===r[0]||"\\"===r[0]&&0===(r=r.slice(1)).length?(e.err=!0,e):(e.char=r[0],e.newChunk=r.slice(1),0===e.newChunk.length&&(e.err=!0),e)}ke.default=function(r,e){if(!e)throw new Error("No matcher supplied!");switch(e.type){case"all":return!0;case"fql":return function(r,e){if(!r)return!1;try{r=JSON.parse(r)}catch(n){throw new Error('Failed to JSON.parse FQL intermediate representation "'.concat(r,'": ').concat(n))}var t=Ie(r,e);if("boolean"!=typeof t)return!1;return t}(e.ir,r);default:throw new Error("Matcher of type ".concat(e.type," unsupported."))}};var He={};Object.defineProperty(He,"__esModule",{value:!0});var Je=function(){function r(r){this.rules=[],this.rules=r||[]}return r.prototype.getRulesByDestinationName=function(r){for(var e=[],t=0,n=this.rules;t<n.length;t++){var o=n[t];o.destinationName!==r&&void 0!==o.destinationName||e.push(o)}return e},r}();He.default=Je,function(r){var e=o&&o.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(r,"__esModule",{value:!0}),r.Store=r.matches=r.transform=void 0;var t=i;Object.defineProperty(r,"transform",{enumerable:!0,get:function(){return e(t).default}});var n=ke;Object.defineProperty(r,"matches",{enumerable:!0,get:function(){return e(n).default}});var a=He;Object.defineProperty(r,"Store",{enumerable:!0,get:function(){return e(a).default}})}(t);e("tsubMiddleware",(function(r){return function(e){var n=e.payload,o=e.integration,a=e.next;new t.Store(r).getRulesByDestinationName(o).forEach((function(r){for(var e=r.matchers,o=r.transformers,i=0;i<e.length;i++)if(t.matches(n.obj,e[i])&&(n.obj=t.transform(n.obj,o[i]),null===n.obj))return a(null)})),a(n)}}))}}}))}();