function () {
  this.TYPE = {
    TAG: 'tag',
    USER: 'user'
  }
  this.urlRules = {
    tag: {
      rule: /((https?):\/\/)?(www\.)?instagram.com\/explore\/tags\/([\w_]+)/mi
    },
    user: {
      rule: /((https?):\/\/)?(www\.)?instagram\.com\/([\w._]+)\/?/mi
    }
  }
}
function () {
  this.TYPE = {
    TAG: 'tag',
    USER: 'user'
  }
  this.urlRules = {
    tag: {
      rule: /((https?):\/\/)?(www\.)?instagram.com\/explore\/tags\/([\w_]+)/mi
    },
    user: {
      rule: /((https?):\/\/)?(www\.)?instagram\.com\/([\w._]+)\/?/mi
    }
  }
}
function ( ) { this . TYPE = { TAG : 'tag' , USER : 'user' } this . urlRules = { tag : { rule : / ((https?):\/\/)?(www\.)?instagram.com\/explore\/tags\/([\w_]+) / mi } , user : { rule : / ((https?):\/\/)?(www\.)?instagram\.com\/([\w._]+)\/? / mi } } }
order is important
order is important