System.register(["./p-da593370.system.js"],(function(n){"use strict";var r;return{setters:[function(n){r=n.C}],execute:function(){var e=n("b",(function(n,r){var e={};n.fields.forEach((function(n){var t=n.field||r.find((function(r){return r.id===n.fieldId}));if(t.value){e[t.id]=t.value}}));return e}));var t=function(n,r){return n.fields.map((function(n){return n.field||r.find((function(r){return r.id===n.fieldId}))}))};var i=n("g",(function(n,r){var i=t(n,r);return u(i,e(n,i))}));var u=n("a",(function(n,r){var e=[];var t=f(n,r);if(t.filters.length){e.push(t)}if(e.length===0){return undefined}else if(e.length===1){return e[0]}else{return{operator:"and",filters:e}}}));var f=function(n,e){return{operator:"and",filters:n.filter((function(n){return!!e[n.id]})).map((function(n){return{comparison:r.Eq,id:n.id,value:e[n.id]}}))}}}}}));