module.exports = "(function(t,e,r){var n=r(5894);t.exports=function(t,e){t=function(t){var e=t.split(\"?\");if(e[1]){var r=e[1].split(\"#\"),i=r[0],c=r[1],o=i.split(\"&\"),s=[];return n.each(o,(function(t){0!==t.indexOf(a)&&s.push(t)})),e[1]=\"\",s.length>0&&(e[1]=\"?\"+s.join(\"&\")),c&&(e[1]+=\"#\"+c),e.join(\"\")}return t}(t);var r=e.value;switch(e.match){case\"exact\":return(t=s(t))===s(r);case\"regex\":try{return Boolean(t.match(r))}catch(t){}return!1;case\"simple\":return(t=o(t))===(r=o(r));case\"substring\":return t=s(t,!0),r=s(r,!0),-1!==t.indexOf(r);default:if(__INVARIANT__)throw new Error('Invalid match type \"'+e.match+'\" for URL '+r);return!1}};var i=[\"www.\"],a=\"optimizely_\",c=[\"https?://.*?.?optimizelyedit.(com|test)/\",\"https?://.*.?optimizelypreview.(com|test)/\",\"https?://(edit|preview)(-hrd|-devel)?.optimizely.(com|test)/\",\"https?://.*?.?optimizelyedit(-hrd)?.appspot.com/\",\"https?://\"];function o(t){return s(function(t){var e=t.indexOf(\"?\");return-1!==e&&(t=t.substring(0,e)),-1!==(e=t.indexOf(\"#\"))&&(t=t.substring(0,e)),t}(t))}function s(t,e){t=(t=t.replace(\"/?\",\"?\")).toLowerCase().replace(/[/&?]+$/,\"\");var r=c.slice(0);e||(r=r.concat(i));for(var n=r.length,a=0;a<n;a++){var o=r[a],s=new RegExp(\"^\"+o);t=t.replace(s,\"\")}return t}})";