1import{a5 as s}from"./index-CQfPd4uL.js";import{l as f}from"./is-plan-event-enabled-m9No2_K7.BUp_TBF-.js";function l(r,u){var t,e;if(!r||!Object.keys(r))return{};var o=r.integrations?Object.keys(r.integrations).filter(function(n){return r.integrations[n]===!1}):[],a=[];return((t=u.remotePlugins)!==null&&t!==void 0?t:[]).forEach(function(n){o.forEach(function(i){n.creationName==i&&a.push(n.name)})}),((e=u.remotePlugins)!==null&&e!==void 0?e:[]).reduce(function(n,i){return i.settings.subscriptions&&a.includes(i.name)&&i.settings.subscriptions.forEach(function(c){return n["".concat(i.name," ").concat(c.partnerAction)]=!1}),n},{})}function m(r,u){function t(e){var o=r,a=e.event.event;if(o&&a){var n=o[a];if(f(o,n)){var i=l(n,u);e.updateEvent("integrations",s(s(s({},e.event.integrations),n?.integrations),i))}else return e.updateEvent("integrations",s(s({},e.event.integrations),{All:!1,"Segment.io":!0})),e}return e}return{name:"Schema Filter",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:t,alias:t,track:t,identify:t,group:t}}export{m as schemaFilter};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.