package org.silverpeas.mobile.client.apps.contacts.resources;

import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ResourcePrototype;

public class ContactsResources_default_InlineClientBundleGenerator implements org.silverpeas.mobile.client.apps.contacts.resources.ContactsResources {
  private static ContactsResources_default_InlineClientBundleGenerator _instance0 = new ContactsResources_default_InlineClientBundleGenerator();
  private void smsInitializer() {
    sms = new com.google.gwt.resources.client.impl.ImageResourcePrototype(
      "sms",
      com.google.gwt.safehtml.shared.UriUtils.fromTrustedString(externalImage),
      0, 0, 20, 20, false, false
    );
  }
  private static class smsInitializer {
    static {
      _instance0.smsInitializer();
    }
    static com.google.gwt.resources.client.ImageResource get() {
      return sms;
    }
  }
  public com.google.gwt.resources.client.ImageResource sms() {
    return smsInitializer.get();
  }
  private static java.util.HashMap<java.lang.String, com.google.gwt.resources.client.ResourcePrototype> resourceMap;
  private static final java.lang.String externalImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAADVElEQVR4Xr1TXWxTZRg+sgFbO8LEkRg1mBn1RiJ/Jt6YGLlz8dIfrswSNbvx2sTFG8iGBgQcymC6ZNZQG2awsL/OWBbXJRN1DaV1sBS1Heva0/N/etpzen4f37ZcjCoJesGTPPm+87zv8+Q773cOwzwoqKr6jGmahx3HWfA8748aab9I2seiKD7X3P+vmJmZ2UqGARdYB8HVEnC4C3DyZxvkQnBLS7USqIezbfv4ysrKtuacOiRJ2u04LlzHgPXnERhXGBhRprFuZE0jWrc+gGvrqHnobV68KyyX+2uP7cG28hehX3kElVkGlR9aiK33JvXo0e2wVr+C4wEsyx6shy0tLflM09LM9UsohxmUpzY3OLmJ2Er7LcStKE88dEcnbbLlTo2eLzOoZgOwLNvKZDKdTKFQeNm0gXLkKWjf14yd8PTb8KpFOsF+uEqCBqbDzn1XX8vTu6ieg2fkKayz7tEmumA6QI7NvcawLPeRoayiFGRQutBGwfvgygmYvx9B5ceX4FXWYPzyHs1shC5mtr73SmmYywPQLnbVPTWvzv6KIi8eY9bW1g9XhDTUrxmoQR+08LPQJg/Ala7BiH8IR0xAX3wX1dRRmtclVBbephPtgZ2fg/FzH9TzPqgBGlUuhjzLnWKSyeSrmm5BCXVDHuuAcv5x2KuTsDNhlMIvwEwHoEV6oC/0wbh2FNrUQVjZy8QJqN8+2fB8sxNapYpUKvUWMz4+vlOSZVVNjkE+1w75y22QzmyCNNwCeaSD1lbSfZDOtUE6u4U0f71W66n1yqSr8dOQFUWn7/iJ+k0PDZ15RVE1yDfCED/vgPjF9vvjaT/kRABqqYxgMPjGxk+RiUQihwpFwZBvX4cYeR/CcDeEU50QPnu4sZ7wQfi0HcKxVqrtgjjVBzn7GzhecqLR6Dt3hW3AjuXlm3OCKNuiKIMf2Az++A7wQxQ+Nwjh6gjE1RREpQJekKx0+tai3+9/tDnkH4jFYod4uQzuk8fADXaBX4lhvcBXrydvXP0ptjAcCoVeHx0dfbrZd0/E4/EDRVFxiif3g5sdRIGTvP7+/ueb++4b8/Pz3QVOqLKxMbCc4E1PT7/Z3POf0Nvb25bJZvNFQQL964Hm+v9Fe09Pz95m8YHjb4kh9Lm5UfN4AAAAAElFTkSuQmCC";
  private static com.google.gwt.resources.client.ImageResource sms;
  
  public ResourcePrototype[] getResources() {
    return new ResourcePrototype[] {
      sms(), 
    };
  }
  public ResourcePrototype getResource(String name) {
    if (GWT.isScript()) {
      return getResourceNative(name);
    } else {
      if (resourceMap == null) {
        resourceMap = new java.util.HashMap<java.lang.String, com.google.gwt.resources.client.ResourcePrototype>();
        resourceMap.put("sms", sms());
      }
      return resourceMap.get(name);
    }
  }
  private native ResourcePrototype getResourceNative(String name) /*-{
    switch (name) {
      case 'sms': return this.@org.silverpeas.mobile.client.apps.contacts.resources.ContactsResources::sms()();
    }
    return null;
  }-*/;
}
