


    (function() {
        angular.module('app.ui')
        .constant('apiConfig', {
  "apiPortalBaseUrl": "https://woolworthsmypet-api.petsure.com.au/",
  "whatsCoveredContentUrl": "https://petportal-pounce.petsure.com.au/GetWhatsCoveredContent",
  "westpacPublishableApiKey": "PETSURE_PUB_nip4ajj66p7qjy5gxzicrj6isvp5gddeagrnpv26vksxd8ex7ne5e3v7a463",
  "supplierBusinessCode": "022898126",
  "westpacApiJsRef": "https://api.quickstream.westpac.com.au/rest/v1/quickstream-api-1.0.min.js",
  "paymentApiUrl": ""
})
        .constant('isExcessEnabled',"false")
        .constant('isLEC',"false")
        .constant('claimExpiryDays',"34")
        .constant('errorMessages', {
        "addressNotFound": "Address information cannot be found",
        "claimNotFound": "Claim information cannot be found",
        "confirmationPasswordCompare": "The confirmation password is invalid.",
        "confirmationPasswordRequired": "Please confirm your password.",
        "customerContactNotFound": "Customer contact cannot be found",
        "customerNotFound": "You details cannot be found",
        "dateOfBirthInvalid": "The date of birth is invalid. Please use DD/MM/YYYY.",
        "dateOfBirthRequired": "Please enter your date of birth.",
        "documentNotFound": "Address information cannot be found",
        "EmailLength": "The length of the email address  should not be over 80 characters",
        "EmailRegularExpress": "This email address is invalid, please try again.",
        "EmailRequired": "Please enter your email.",
        "firstNameLength": "The length of first name should not be over 30 characters",
        "firstNameRegularExpress": "First name is invalid",
        "homePhoneRegularExpress": "Home phone number is invalid",
        "homePhoneReqired": "Please enter the home phone number",
        "incorrectEmail": "Your email address is invalid or it cannot be found",
        "incorrectOldPassword": "Address information cannot be found ",
        "inputError": "We could not log you in, please check your details and try again",
        "invalidAddress": "The address details are invalid",
        "invalidCode": "Validation code is either invalid, used, or expired",
        "invalidInfomation": "The information you provided is invalid",
        "isAgreeTandCRequired": "Please agree with the terms and conditions, and continue",
        "lastNameLength": "The length of surname should not be over 30 characters",
        "lastNameRegularExpress": "Surname is invalid",
        "mobilePhoneRegularExpress": "Mobile number is invalid",
        "mobilePhoneRequired": "Please enter your mobile number.",
        "newPasswordLength": "The new password should contain at least 8 characters",
        "newPasswordRegularExpress": "The new password is not valid. The password should contain at least one contain lowcase letter, uppercase letter and special characters. e.g.  @#$%^&amp;+=!*-",
        "newPasswordRequired": "The new password is required",
        "oldPasswordRequired": "The old password is required",
        "passwordLength": "The password should contain at least 8 characters and no more than 16 characters",
        "passwordRegularExpress": "Password is not valid. The password should contain at least one contain lowcase letter, uppercase letter and special characters. e.g.  @#$%^&amp;+=!*-",
        "passwordRequired": "Please enter a password.",
        "policyNotFound": "Policies not found",
        "policyNumberLength": "The length of policy number should be between 5 and 17 characters.",
        "policyNumberRequired": "Please enter your policy number including any letters or forward slashes.",
        "postcodeLength": "Postcode should be limited to 4",
        "postcodeRegularExpress": "The postcode is invalid.",
        "postcodeRequired": "Please enter your postcode.",
        "vetPostCodeRequired": "Please enter your vet\u0027s postcode.",
        "registerAccountError": "Your policy cannot be found or your account has been registered",
        "registerConflict": "Your details have been registered already",
        "registerPasswordError": "Password not provided",
        "stateLength": "The state you\u0027ve entered is invalid.",
        "stateRequired": "Please enter state",
        "streetLength": "Street is invalid",
        "streetRequired": "Please enter your street name and number.",
        "vetStreetRequired": "Please enter your vet\u0027s street name and number",
        "suburbLength": "The suburb you\u0027ve entered is invalid.",
        "suburbRequired": "Please enter your suburb.",
        "systemException": "System error. Please try again later.",
        "tokenExpired": "User token has been expired",
        "UpdateBankingInfoFailed": "The bank details could not be updated at this time",
        "userNameLength": "The length of  user name should not be over 30 characters and less than 5 characters",
        "passwordConfirmInvalid": "Please ensure new password and confirmation password are the same",
        "mobilePhoneMinLength": "Mobile number should be 10 digits and start with \u002704\u0027",
        "ForgotPasswordEmailRegularExpress": "This email address is invalid.",
        "newPasswordErrorMessage": "We are unable to locate your details or your password is incorrect. Check that you have signed up previously and if not, please register using the ‘Sign Up’ link. Please ensure you have entered your details correctly by checking your policy documents or contact our customer service team for further assistance.",
        "myProfile_accountDetails_emailRequired": "Please enter your email address.",
        "myProfile_accountDetails_postcodeRegularExpress": "The postcode you\u0027ve entered is invalid.",
        "myProfile_accountDetails_emailRegularExpress": "Email address is invalid.",
        "forgotPassword_emailRegularExpress": "This email address is invalid.",
        "MobilePhoneLength" : "Must be 10 digits in length",
        "MobilePhoneStart" : "Must begin with 04",
        "MobilePhoneAllowed" : "Must only allow numbers (no spaces, no dashes, no letters, no brackets)",
        "HomeWorkNumberMinMaxLength" : "Must be no less than 8 and no greater than 10 digits in length"
        })
        .constant('AUStates',[{ "state": "New South Wales", "abbreviation": "NSW" }, { "state": "Queensland", "abbreviation": "QLD" },{ "state": "South Australia", "abbreviation": "SA" }
        ,{ "state": "Tasmania", "abbreviation": "TAS" },{ "state": "Victoria", "abbreviation": "VIC" },{ "state": "Western Australia", "abbreviation": "WA" },{ "state": "Australian Capital Territory", "abbreviation": "ACT" }
        ,{ "state": "Nothern Territory", "abbreviation": "NT" }])
        .constant('validationRules', {
        "date": {"pattern": "/^(\d{1,2})(\/|-)(\d{1,2})(\/|-)(\d{4})$/"},
        "postCode": {"pattern": "/^(0[289][0-9]{2})|([1345689][0-9]{3})|(2[0-8][0-9]{2})|(290[0-9])|(291[0-4])|(7[0-4][0-9]{2})|(7[8-9][0-9]{2})$/", "minLength": 4, "maxLength": 4},
        "policyNumber": {"minLength": 5, "maxLength": 17},
        "email": {"minLength": 5, "maxLength": 80},
        "password": {"minLength": 8, "maxLength": 16}
        })
        .value('partnerNumber', "PN")
        .value('LECGoLive', 'TRUE')
        .value('CSPGoLiveDate','06/30/2016');
        })();