{"version":3,"sources":["webpack:///./src/components/public/owner.component.vue?19ee","webpack:///./src/components/public/owner-form.component.vue?ae86","webpack:///./src/components/public/owner-form.component.vue","webpack:///./src/components/public/owner-form.component.vue?6cff","webpack:///./src/components/public/owner-form.component.vue?24a7","webpack:///./src/components/public/owner.component.vue","webpack:///./src/components/public/owner.component.vue?41bb","webpack:///./src/components/public/owner.component.vue?1e06","webpack:///./src/constants/phone-number-type.ts","webpack:///./src/constants/anonymous-registration.constants.ts","webpack:///./src/mixins/public-cancel.mixin.ts","webpack:///./src/mixins/customer-show-field.mixin.ts","webpack:///./src/components/shared/loading.component.vue?fbef","webpack:///./src/components/shared/loading.component.vue","webpack:///./src/components/shared/loading.component.vue?fcaf","webpack:///./src/components/shared/loading.component.vue?09c3","webpack:///./src/constants/preferred-contact-method-type.ts","webpack:///./src/assets/logo-white.png","webpack:///./src/constants/regex.constants.ts","webpack:///./node_modules/vue-recaptcha/dist/vue-recaptcha.es.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","tagCode","currentRegisteredTag","code","title","_v","on","onCancelClick","staticRenderFns","_s","ref","scopedSlots","_u","key","fn","handleSubmit","reset","$event","preventDefault","page","routeName","public","register","onPayAndSaveClick","onSaveClick","directives","name","rawName","classes","class","phoneFormatted","value","phone","replace","model","callback","$$v","isMobilePhone","expression","email","trim","_e","firstName","lastName","terms","showButtonLoading","customerModule","store","registeredTagModule","OwnerFormComponent","selectedPhoneType","address1","address2","city","state","zipCode","website","disabledEmailLookup","showEmailSearchLoading","methodOfContact","Object","entries","map","text","phoneType","$options","filters","$route","newVal","oldVal","errors","getAllErrorMessages","$toasted","error","join","editCustomer","getTagByCodeAction","errorTagResponse","customer","getCustomerModelForEditing","publicCustomer","phoneNumberTypeId","toString","selectedMethodOfContact","preferredContactMethodId","phoneNumber","$refs","customerForm","phoneEmail","filter","Call","Mobile","Home","setCustomerBaseModelForSaving","customerId","updateCustomerAction","id","errorResponse","success","setPublicCustomerAction","$router","payment","params","default","required","deep","components","ValidationObserver","ValidationProvider","VueRecaptcha","LoadingComponent","computed","showLoading","component","authModule","OwnerComponent","tagResetMatchAction","onCancel","PhoneNumberType","AnonymousRegistration","UNKNOWN_VETERINARIAN_ID","PUBLIC_EMAIL_DOMAIN","PublicCancelMixin","resetStateAction","scan","CustomerShowFieldMixin","$data","Text","Address","Website","PreferredContactMethodType","module","exports","RegexConstants","URL","_extends","assign","target","i","arguments","length","source","prototype","hasOwnProperty","call","apply","defer","callbacks","resolve","val","len","then","cb","push","deferred","resolved","promise","ownProp","createRecaptcha","notify","wait","ele","options","window","grecaptcha","widgetId","assertLoaded","execute","checkRecaptchaLoad","Error","recaptcha","vueRecaptchaApiLoaded","props","sitekey","type","String","theme","badge","size","tabindex","loadRecaptchaScript","Boolean","recaptchaScriptId","recaptchaHost","language","beforeMount","document","getElementById","script","createElement","src","async","head","appendChild","mounted","_this","opts","$props","emitVerify","emitExpired","emitError","container","$slots","$el","children","$widgetId","$emit","methods","response","h"],"mappings":"yHAAA,I,IAAIA,OAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,QAAQ,CAACE,YAAY,QAAQ,CAACF,EAAG,QAAQ,CAACA,EAAG,SAAS,CAACG,MAAM,CAAC,eAAe,QAAQ,aAAa,YAAY,iBAAiB,cAAc,CAACH,EAAG,MAAM,CAACE,YAAY,OAAOC,MAAM,CAAC,IAAM,EAAQ,QAA2B,IAAM,mBAAmB,MAAQ,SAASH,EAAG,KAAK,CAACE,YAAY,iBAAiBF,EAAG,qBAAqB,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAOP,EAAIQ,QAAUR,EAAIQ,QAAUR,EAAIS,qBAAqBC,KAAK,MAAQV,EAAIW,SAASP,EAAG,QAAQ,CAACA,EAAG,OAAO,CAACE,YAAY,SAAS,CAACN,EAAIY,GAAG,eAAeR,EAAG,SAAS,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AAKiN,IACrEjC,EAAUlL,OAAOiN,EAAWL,GAAM,SAAUpG,GAC1CmG,EAAMU,UAAY7G,EAElBmG,EAAMW,MAAM,SAAU9G,OAG1B+G,QAAS,CACP/L,MAAO,SAASA,QACd0J,EAAU1J,MAAMtB,KAAKmN,YAEvBtC,QAAS,SAASA,UAChBG,EAAUH,QAAQ7K,KAAKmN,YAEzBP,WAAY,SAASA,WAAWU,GAC9BtN,KAAKoN,MAAM,SAAUE,IAEvBT,YAAa,SAASA,cACpB7M,KAAKoN,MAAM,YAEbN,UAAW,SAASA,YAClB9M,KAAKoN,MAAM,WAGftN,OAAQ,SAASA,OAAOyN,GACtB,OAAOA,EAAE,MAAO,GAAIvN,KAAKgN,OAAO,cAIrB","file":"js/chunk-74e3e90f.120fa42f.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"pt-3\"},[_c('b-col',[_c('b-card',{attrs:{\"text-variant\":\"white\",\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('img',{staticClass:\"mb-3\",attrs:{\"src\":require(\"@/assets/logo-white.png\"),\"alt\":\"Paw Finders Logo\",\"width\":\"150\"}}),_c('hr',{staticClass:\"mt-0 inverse\"}),_c('OwnerFormComponent',{staticClass:\"mb-3\",attrs:{\"code\":_vm.tagCode ? _vm.tagCode : _vm.currentRegisteredTag.code,\"title\":_vm.title}}),_c('small',[_c('span',{staticClass:\"small\"},[_vm._v(\"Finished?\")]),_c('b-link',{staticClass:\"small\",on:{\"click\":_vm.onCancelClick}},[_vm._v(\" Cancel and go back. \")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"darkMode\"},[_c('div',[_c('h4',[_vm._v(\"Register Tag\")]),_c('h5',{staticClass:\"font-weight-bold mb-3\"},[_vm._v(_vm._s(_vm.code))])]),_c('ValidationObserver',{ref:\"customerForm\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nvar reset = ref.reset;\nreturn [_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(\n _vm.page === _vm.routeName.public.register ? _vm.onPayAndSaveClick : _vm.onSaveClick\n )},\"reset\":function($event){$event.preventDefault();return reset($event)}}},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"6\",\"lg\":\"6\"}},[_c('b-form-group',[_c('label',[_vm._v(\"Phone \"),_c('b-icon-info-circle',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip\"}],attrs:{\"title\":\"Numeric only.\"}}),_c('span',{staticClass:\"text-danger\"},[_vm._v(\" *\")])],1),_c('ValidationProvider',{attrs:{\"rules\":\"required|max:14|min:14\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"block\":\"\",\"value\":_vm.phoneFormatted,\"autofocus\":\"\",\"placeholder\":\"(555) 555-5555\"},on:{\"input\":function (value) { return (_vm.phone = value.replace(/\\D/g, '')); }}})]}}],null,true)})],1),_c('b-form-group',{staticClass:\"mb-4 mt-2\"},[_c('b-form-checkbox',{attrs:{\"value\":true,\"unchecked-value\":false,\"switch\":\"\"},model:{value:(_vm.isMobilePhone),callback:function ($$v) {_vm.isMobilePhone=$$v},expression:\"isMobilePhone\"}},[_c('div',{staticClass:\"font-weight-lighter\"},[_vm._v(\" Is this a mobile phone? \")])])],1)],1),_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"6\",\"lg\":\"6\"}},[(_vm.isMobilePhone == false)?_c('span',[_c('label',[_vm._v(\"Email\")]),_c('b-form-group',[_c('ValidationProvider',{scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var classes = ref.classes;\nreturn [_c('b-input-group',[_c('b-form-input',{class:classes,attrs:{\"placeholder\":\"Email address\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"email\"}})],1)]}}],null,true)})],1)],1):_vm._e(),_c('label',[_vm._v(\"Name\")]),_c('b-form-group',[_c('b-form-input',{attrs:{\"placeholder\":\"First name\"},model:{value:(_vm.firstName),callback:function ($$v) {_vm.firstName=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"firstName\"}})],1),_c('b-form-group',[_c('b-form-input',{attrs:{\"placeholder\":\"Last name\"},model:{value:(_vm.lastName),callback:function ($$v) {_vm.lastName=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"lastName\"}})],1)],1)],1),_c('b-row',[_c('b-col',[_c('hr')])],1),_c('b-row',[_c('b-col',[_c('b-form-group',{staticClass:\"mb-4 mt-2\"},[_c('b-form-checkbox',{attrs:{\"value\":true,\"unchecked-value\":false,\"switch\":\"\"},model:{value:(_vm.terms),callback:function ($$v) {_vm.terms=$$v},expression:\"terms\"}},[_c('div',{staticClass:\"font-weight-lighter\"},[_vm._v(\" I agree to the \"),_c('b-link',{attrs:{\"to\":{ name: _vm.routeName.public.terms },\"target\":\"_blank\"}},[_vm._v(\"Terms & Conditions\")]),_vm._v(\". \")],1)])],1),_c('div',{staticClass:\"d-flex flex-column flex-md-row justify-content-between\"},[_c('b-button',{attrs:{\"variant\":\"outline-light\",\"type\":\"submit\",\"disabled\":!_vm.terms || _vm.showButtonLoading}},[_vm._v(\" \"+_vm._s(_vm.page === _vm.routeName.public.register ? 'Confirm and Continue' : 'Submit')+\" \"),(_vm.showButtonLoading)?_c('b-icon-arrow-clockwise',{attrs:{\"animation\":\"spin\"}}):_vm._e()],1)],1)],1)],1)],1)]}}])}),(_vm.showLoading)?_c('LoadingComponent'):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Watch, Vue } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\nimport { ValidationProvider, ValidationObserver } from 'vee-validate';\nimport { Options } from '@/models/options.model';\nimport { routeName } from '@/constants/route.constants';\nimport { PreferredContactMethodType } from '@/constants/preferred-contact-method-type';\nimport { PhoneNumberType } from '@/constants/phone-number-type';\nimport VueRecaptcha from 'vue-recaptcha';\nimport LoadingComponent from '@/components/shared/loading.component.vue';\nimport CustomerModule, {\n CUSTOMERS_MODULE_NAME\n} from '@/store/modules/customer.module';\nimport RegisteredTagModule, {\n REGISTERED_TAG_MODULE_NAME\n} from '@/store/modules/registered-tag.module';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport { mapState } from 'vuex';\nimport { Customer } from '@/models/DTO/customer/customer.model';\nimport { BaseAPIErrorModel } from '@/models/DTO/base-api-error.model';\nimport { CustomerBaseModel } from '@/models/DTO/customer/customer-base.model';\nimport CustomerShowFieldMixin from '@/mixins/customer-show-field.mixin';\nimport { RegisteredTag } from '@/models/DTO/registered-tag/registered-tag.model';\nimport { RegexConstants } from '@/constants/regex.constants';\nimport { PHONE_LINK } from '@/filters/phone.filter';\nimport { PUBLIC_EMAIL_DOMAIN } from '@/constants/anonymous-registration.constants';\n\nconst customerModule: CustomerModule = getModule(CustomerModule, store);\n\nconst registeredTagModule: RegisteredTagModule = getModule(\n RegisteredTagModule,\n store\n);\n\n@Component({\n components: {\n ValidationObserver,\n ValidationProvider,\n VueRecaptcha,\n LoadingComponent\n },\n computed: {\n ...mapState(REGISTERED_TAG_MODULE_NAME, {\n currentRegisteredTag: 'currentRegisteredTag',\n showLoading: 'showLoading',\n errorTagResponse: 'errorResponse'\n }),\n ...mapState(CUSTOMERS_MODULE_NAME, [\n 'publicCustomer',\n 'showButtonLoading',\n 'errorResponse'\n ])\n }\n})\nexport default class OwnerFormComponent extends mixins(CustomerShowFieldMixin) {\n @Prop({\n default: ''\n })\n public title: string;\n\n @Prop({\n required: true\n })\n public code: string;\n\n public currentRegisteredTag: RegisteredTag | null;\n public showLoading: boolean;\n public publicCustomer: Customer | null;\n public showButtonLoading: boolean;\n public errorResponse: BaseAPIErrorModel | null;\n public errorTagResponse: BaseAPIErrorModel | null;\n public firstName = '';\n public lastName = '';\n public email = '';\n public terms = true;\n public selectedPhoneType = '';\n public phone = '';\n public address1 = '';\n public address2 = '';\n public city = '';\n public state = '';\n public zipCode = '';\n public website = '';\n public disabledEmailLookup = true;\n public showEmailSearchLoading = false;\n public isMobilePhone = true;\n\n public get phoneFormatted(): string {\n return this.$options.filters?.phone(this.phone);\n }\n\n public get RegexConstants(): RegexConstants {\n return RegexConstants;\n }\n\n public methodOfContact: Array = Object.entries(\n PreferredContactMethodType\n ).map(([key, value]) => {\n return {\n text: key,\n value: value\n };\n });\n\n public phoneType: Array = Object.entries(PhoneNumberType).map(\n ([key, value]) => {\n return {\n text: key,\n value: value\n };\n }\n );\n\n public $refs: {\n customerForm: HTMLFormElement;\n };\n\n public get page(): string | null | undefined {\n return this.$route.name;\n }\n\n public get routeName(): typeof routeName {\n return routeName;\n }\n\n @Watch('selectedMethodOfContact')\n private onSelectedMethodOfContactChanged(newVal: string, oldVal: string) {\n if (newVal !== oldVal && oldVal !== '') {\n this.reset();\n }\n }\n\n @Watch('isMobilePhone')\n private onIsMobilePhoneChanged(newVal: boolean, oldVal: boolean) {\n if (newVal !== oldVal) {\n // Reset email on switch change.\n this.email = '';\n }\n }\n\n @Watch('errorResponse', { deep: true })\n private onErrorResponseChanged(value: BaseAPIErrorModel) {\n if (value) {\n const errors = value.getAllErrorMessages();\n return this.$toasted.error(errors.join());\n }\n }\n\n @Watch('errorTagResponse', { deep: true })\n private onErrorTagResponseChanged(value: BaseAPIErrorModel) {\n if (value) {\n const errors = value.getAllErrorMessages();\n return this.$toasted.error(errors.join());\n }\n }\n\n public async created() {\n if (this.page === routeName.public.editCustomer) {\n if (!this.currentRegisteredTag) {\n await registeredTagModule.getTagByCodeAction(this.code);\n }\n\n if (\n !this.errorTagResponse &&\n this.currentRegisteredTag &&\n this.currentRegisteredTag.customer\n ) {\n this.getCustomerModelForEditing(this.currentRegisteredTag.customer);\n }\n } else if (this.publicCustomer) {\n this.getCustomerModelForEditing(this.publicCustomer);\n }\n }\n\n public getCustomerModelForEditing(customer: Customer) {\n if (customer) {\n this.email = customer.email;\n this.firstName = customer.firstName || '';\n this.lastName = customer.lastName || '';\n this.selectedPhoneType = customer.phoneNumberTypeId?.toString() || '';\n this.selectedMethodOfContact =\n customer.preferredContactMethodId.toString() || '';\n this.phone = customer.phoneNumber || '';\n this.address1 = customer.address1 || '';\n this.address2 = customer.address2 || '';\n this.city = customer.city || '';\n this.state = customer.state || '';\n this.zipCode = customer.zipCode || '';\n this.website = customer.website || '';\n }\n }\n\n public reset() {\n // This only resets validation on the form elements\n // associated with PreferredContactMethodType\n this.$refs.customerForm.reset();\n }\n\n public setCustomerBaseModelForSaving(): CustomerBaseModel {\n // Set a variable to hold a unique phone email address. Use if email is blank or\n // it is a mobile number.\n const phoneEmail = `${Vue.filter(PHONE_LINK)(\n this.phone\n )}@${PUBLIC_EMAIL_DOMAIN}`;\n\n const model: CustomerBaseModel = {\n firstName: this.firstName || null,\n lastName: this.lastName || null,\n preferredContactMethodId: PreferredContactMethodType.Call, // Call will be a fallback\n email: this.email == '' ? phoneEmail : this.email\n };\n\n model.phoneNumber = this.phone || null;\n model.phoneNumberTypeId = this.isMobilePhone\n ? PhoneNumberType.Mobile\n : PhoneNumberType.Home;\n\n return model;\n }\n\n public async onSaveClick(): Promise {\n const model = this.setCustomerBaseModelForSaving();\n\n if (this.currentRegisteredTag && this.currentRegisteredTag.customerId) {\n await customerModule.updateCustomerAction({\n id: this.currentRegisteredTag.customerId,\n ...model\n });\n\n if (!this.errorResponse) {\n this.$toasted.success('Owner updated successfully.');\n }\n }\n }\n\n public async onPayAndSaveClick(): Promise {\n const model = this.setCustomerBaseModelForSaving();\n\n // store data for registration until after payment has been processed\n await customerModule.setPublicCustomerAction({ ...model });\n\n this.$router.replace({\n name: routeName.public.payment,\n params: {\n tagCode: this.code\n }\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./owner-form.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./owner-form.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./owner-form.component.vue?vue&type=template&id=ac9c9a04&\"\nimport script from \"./owner-form.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./owner-form.component.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\nimport OwnerFormComponent from '@/components/public/owner-form.component.vue';\nimport AuthenticationModule from '@/store/modules/authentication.module';\nimport store from '@/store';\nimport { getModule } from 'vuex-module-decorators';\nimport { REGISTERED_TAG_MODULE_NAME } from '@/store/modules/registered-tag.module';\nimport { mapState } from 'vuex';\nimport { RegisteredTag } from '@/models/DTO/registered-tag/registered-tag.model';\nimport PublicCancelMixin from '@/mixins/public-cancel.mixin';\n\nconst authModule: AuthenticationModule = getModule(AuthenticationModule, store);\n\n@Component({\n components: {\n OwnerFormComponent\n },\n computed: {\n ...mapState(REGISTERED_TAG_MODULE_NAME, ['currentRegisteredTag'])\n }\n})\nexport default class OwnerComponent extends mixins(PublicCancelMixin) {\n @Prop({\n default: ''\n })\n public title: string;\n\n public currentRegisteredTag: RegisteredTag | null;\n\n public get tagCode(): string {\n // only sent when registering a new tag\n return this.$route.params.tagCode;\n }\n\n public async onCancelClick() {\n await authModule.tagResetMatchAction();\n\n this.onCancel();\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./owner.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./owner.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./owner.component.vue?vue&type=template&id=88260aa8&\"\nimport script from \"./owner.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./owner.component.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum PhoneNumberType {\n Home = '1',\n Office = '2',\n Fax = '3',\n Mobile = '4'\n}\n","export enum AnonymousRegistration {\n id = '00000000-0000-0000-0000-000000000000'\n}\n\nexport const UNKNOWN_VETERINARIAN_ID = '00000000-0000-0000-0000-000000000001';\n\nexport const PUBLIC_EMAIL_DOMAIN = 'pawfinders.com';\n","import { Component, Vue } from 'vue-property-decorator';\nimport CustomerModule from '@/store/modules/customer.module';\nimport RegisteredTagModule from '@/store/modules/registered-tag.module';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport { routeName } from '@/constants/route.constants';\n\nconst customerModule: CustomerModule = getModule(CustomerModule, store);\n\nconst registeredTagModule: RegisteredTagModule = getModule(\n RegisteredTagModule,\n store\n);\n\n@Component\nexport default class PublicCancelMixin extends Vue {\n public async onCancel(): Promise {\n // allow these to go without awaiting\n customerModule.resetStateAction();\n registeredTagModule.resetStateAction();\n\n this.$router.replace({ name: routeName.public.scan });\n }\n}\n","import { Component, Vue } from 'vue-property-decorator';\nimport { PreferredContactMethodType } from '@/constants/preferred-contact-method-type';\n\n@Component({\n computed: {\n showPhoneMethod(): boolean {\n return (\n this.$data.selectedMethodOfContact === PreferredContactMethodType.Call\n );\n },\n showPhoneField(): boolean {\n return (\n this.$data.selectedMethodOfContact ===\n PreferredContactMethodType.Text ||\n this.$data.selectedMethodOfContact === PreferredContactMethodType.Call\n );\n },\n showAddressFields(): boolean {\n return (\n this.$data.selectedMethodOfContact ===\n PreferredContactMethodType.Address\n );\n },\n showWebsiteField(): boolean {\n return (\n this.$data.selectedMethodOfContact ===\n PreferredContactMethodType.Website\n );\n }\n }\n})\nexport default class CustomerShowFieldMixin extends Vue {\n public selectedMethodOfContact = '';\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-icon-arrow-clockwise',{staticClass:\"loading-float\",attrs:{\"font-scale\":\"2\",\"animation\":\"spin\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class LoadingComponent extends Vue {}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./loading.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./loading.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./loading.component.vue?vue&type=template&id=11c68490&\"\nimport script from \"./loading.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./loading.component.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum PreferredContactMethodType {\n Call = '1',\n Text = '2',\n Address = '3',\n Website = '4'\n}\n","module.exports = __webpack_public_path__ + \"img/logo-white.d972e702.png\";","/* eslint-disable no-useless-escape */\nexport class RegexConstants {\n /**\n * Same regex as C# code, but removed ftp and unicode characters.\n * If you need to add flags, use\n * ```\n * new RegExp(RegexConstants.URL, '<>')\n * ```\n *\n * @static\n * @memberof RegexConstants\n * @see https://github.com/microsoft/referencesource/blob/f461f1986ca4027720656a0c77bede9963e20b7e/System.ComponentModel.DataAnnotations/DataAnnotations/UrlAttribute.cs#L46\n */\n public static URL = /^(https?):\\/\\/(((([a-z]|\\d|-|\\.|_|)|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d)|(([a-z]|\\d)([a-z]|\\d|-|\\.|_|~)*([a-z]|\\d)))\\.)+(([a-z])|(([a-z])([a-z]|\\d|-|\\.|_|~)*([a-z])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|_|~)|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|_|~)|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|_|~)|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|_|~)|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/;\n}\n","function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nvar defer = function defer() {\n var state = false; // Resolved or not\n\n var callbacks = [];\n\n var resolve = function resolve(val) {\n if (state) {\n return;\n }\n\n state = true;\n\n for (var i = 0, len = callbacks.length; i < len; i++) {\n callbacks[i](val);\n }\n };\n\n var then = function then(cb) {\n if (!state) {\n callbacks.push(cb);\n return;\n }\n\n cb();\n };\n\n var deferred = {\n resolved: function resolved() {\n return state;\n },\n resolve: resolve,\n promise: {\n then: then\n }\n };\n return deferred;\n};\n\nvar ownProp = Object.prototype.hasOwnProperty;\nfunction createRecaptcha() {\n var deferred = defer();\n return {\n notify: function notify() {\n deferred.resolve();\n },\n wait: function wait() {\n return deferred.promise;\n },\n render: function render(ele, options, cb) {\n this.wait().then(function () {\n cb(window.grecaptcha.render(ele, options));\n });\n },\n reset: function reset(widgetId) {\n if (typeof widgetId === 'undefined') {\n return;\n }\n\n this.assertLoaded();\n this.wait().then(function () {\n return window.grecaptcha.reset(widgetId);\n });\n },\n execute: function execute(widgetId) {\n if (typeof widgetId === 'undefined') {\n return;\n }\n\n this.assertLoaded();\n this.wait().then(function () {\n return window.grecaptcha.execute(widgetId);\n });\n },\n checkRecaptchaLoad: function checkRecaptchaLoad() {\n if (ownProp.call(window, 'grecaptcha') && ownProp.call(window.grecaptcha, 'render')) {\n this.notify();\n }\n },\n assertLoaded: function assertLoaded() {\n if (!deferred.resolved()) {\n throw new Error('ReCAPTCHA has not been loaded');\n }\n }\n };\n}\nvar recaptcha = createRecaptcha();\n\nif (typeof window !== 'undefined') {\n window.vueRecaptchaApiLoaded = recaptcha.notify;\n}\n\nvar VueRecaptcha = {\n name: 'VueRecaptcha',\n props: {\n sitekey: {\n type: String,\n required: true\n },\n theme: {\n type: String\n },\n badge: {\n type: String\n },\n type: {\n type: String\n },\n size: {\n type: String\n },\n tabindex: {\n type: String\n },\n loadRecaptchaScript: {\n type: Boolean,\n \"default\": false\n },\n recaptchaScriptId: {\n type: String,\n \"default\": '__RECAPTCHA_SCRIPT'\n },\n recaptchaHost: {\n type: String,\n \"default\": 'www.google.com'\n },\n language: {\n type: String,\n \"default\": ''\n }\n },\n beforeMount: function beforeMount() {\n if (this.loadRecaptchaScript) {\n if (!document.getElementById(this.recaptchaScriptId)) {\n // Note: vueRecaptchaApiLoaded load callback name is per the latest documentation\n var script = document.createElement('script');\n script.id = this.recaptchaScriptId;\n script.src = \"https://\" + this.recaptchaHost + \"/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit&hl=\" + this.language;\n script.async = true;\n script.defer = true;\n document.head.appendChild(script);\n }\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n recaptcha.checkRecaptchaLoad();\n\n var opts = _extends({}, this.$props, {\n callback: this.emitVerify,\n 'expired-callback': this.emitExpired,\n 'error-callback': this.emitError\n });\n\n var container = this.$slots[\"default\"] ? this.$el.children[0] : this.$el;\n recaptcha.render(container, opts, function (id) {\n _this.$widgetId = id;\n\n _this.$emit('render', id);\n });\n },\n methods: {\n reset: function reset() {\n recaptcha.reset(this.$widgetId);\n },\n execute: function execute() {\n recaptcha.execute(this.$widgetId);\n },\n emitVerify: function emitVerify(response) {\n this.$emit('verify', response);\n },\n emitExpired: function emitExpired() {\n this.$emit('expired');\n },\n emitError: function emitError() {\n this.$emit('error');\n }\n },\n render: function render(h) {\n return h('div', {}, this.$slots[\"default\"]);\n }\n};\n\nexport default VueRecaptcha;\n"],"sourceRoot":""}