module.exports = "(function(r,t){t.fieldsNeeded=[\"location\"],t.match=function(r,t){if(!r.hasOwnProperty(\"location\"))return!1;var e=r.location,n=t.value.split(\"|\"),i=(n[0]||\"\").trim(),a=(n[1]||\"\").trim(),c=(n[2]||\"\").trim(),o=(n[3]||\"\").trim(),u=(n.length>4&&n[4]||\"\").trim();switch(a=\"EN\"===a?\"ENG\":a,n.length){case 1:if(e.country===i)return!0;break;case 2:if(e.region===a&&e.country===i)return!0;break;case 3:if(e.city===c&&(e.region===a||\"\"===a)&&e.country===i)return!0;break;case 4:if(e.continent===o)return!0;break;case 5:if(e.dma===u)return!0}return!1}})";