{"version":3,"sources":["webpack:///./src/modules/BrochureRequestModule/BrochureRequestForm/BrochureRequestForm.types.ts","webpack:///./src/modules/BrochureDeepLinkModule/BrochureDeepLinkCard/BrochureDeepLinkCard.vue?71d3","webpack:///./src/modules/BrochureDeepLinkModule/BrochureDeepLinkCard/BrochureDeepLinkCard.ts?2bf4","webpack:///./src/modules/BrochureDeepLinkModule/BrochureDeepLinkCard/BrochureDeepLinkCard.ts","webpack:///./src/modules/BrochureDeepLinkModule/BrochureDeepLinkCard/BrochureDeepLinkCard.vue","webpack:///./src/modules/BrochureRequestModule/BrochureRequestForm/BrochureRequestForm.vue?08c6","webpack:///./src/modules/BrochureRequestModule/BrochureRequestForm/BrochureRequestForm.validations.ts","webpack:///./src/components/AccordionItem/AccordionItem.ts?5ab7","webpack:///./src/components/AccordionItem/AccordionItem.ts","webpack:///./src/components/AccordionItem/AccordionItem.vue","webpack:///./src/components/AccordionItem/AccordionItem.vue?d6e9","webpack:///./src/modules/BrochureRequestModule/BrochureRequestForm/BrochureRequestForm.ts","webpack:///./src/modules/BrochureRequestModule/BrochureRequestForm/BrochureRequestForm.ts?dd7a","webpack:///./src/modules/BrochureRequestModule/BrochureRequestForm/BrochureRequestForm.vue","webpack:///./src/modules/BrochureDeepLinkModule/BrochureDeepLinkModule.vue?5ad7","webpack:///./src/modules/BrochureDeepLinkModule/BrochureDeepLinkModule.ts?6215","webpack:///./src/modules/BrochureDeepLinkModule/BrochureDeepLinkModule.ts","webpack:///./src/modules/BrochureDeepLinkModule/BrochureDeepLinkModule.vue","webpack:///./src/modules/BrochureRequestModule/OrderSummaryLockup/OrderSummaryLockup.vue?7a7c","webpack:///./src/modules/BrochureRequestModule/OrderSummaryLockup/OrderSummaryLockup.ts?49a7","webpack:///./src/modules/BrochureRequestModule/OrderSummaryLockup/OrderSummaryLockup.ts","webpack:///./src/modules/BrochureRequestModule/OrderSummaryLockup/OrderSummaryLockup.vue","webpack:///./src/modules/BrochureRequestModule/SelectedBrochuresLockup/SelectedBrochuresLockup.vue?3ba5","webpack:///./src/modules/BrochureRequestModule/SelectedBrochuresLockup/SelectedBrochuresLockup.ts?261a","webpack:///./src/modules/BrochureRequestModule/SelectedBrochuresLockup/SelectedBrochuresLockup.ts","webpack:///./src/modules/BrochureRequestModule/SelectedBrochuresLockup/SelectedBrochuresLockup.vue","webpack:///./src/modules/BrochureRequestModule/BrochureRequestModule.api.ts","webpack:///./src/modules/BrochureRequestModule/BrochureRequestModule.store.ts","webpack:///./src/modules/BrochureRequestModule/BrochureRequestModule.vue?8f77","webpack:///./src/modules/BrochureRequestModule/BrochureRequestModule.ts?6dc9","webpack:///./src/modules/BrochureRequestModule/BrochureRequestModule.ts","webpack:///./src/modules/BrochureRequestModule/BrochureRequestModule.vue","webpack:///./src/common/interfaces/dto/Person.ts","webpack:///./src/forms/Validations/CommonRules.ts","webpack:///./src/common/interfaces/dto/Address.ts","webpack:///./src/common/interfaces/dto/Phone.ts","webpack:///./src/mixins/StoreModuleMixin.ts","webpack:///./src/assets/icons/tick-alt.svg","webpack:///./src/forms/Validations/AsyncRules.ts","webpack:///./src/forms/FormElements/Rows/EmailRow/EmailRow.validation.ts","webpack:///./src/forms/FormElements/Rows/NameRow/NameRow.validation.ts","webpack:///./src/forms/FormElements/Rows/AddressRow/AddressRow.helper.ts","webpack:///./src/forms/FormElements/Rows/PhoneRow/PhoneRow.validation.ts","webpack:///./src/forms/FormElements/Rows/EmailRow/EmailRow.vue?127a","webpack:///./src/forms/FormElements/Rows/EmailRow/EmailRow.ts?b2a4","webpack:///./src/forms/FormElements/Rows/EmailRow/EmailRow.ts","webpack:///./src/forms/FormElements/Rows/EmailRow/EmailRow.vue","webpack:///./src/forms/FormElements/Rows/NameRow/NameRow.vue?f8be","webpack:///./src/forms/FormElements/Rows/NameRow/NameRow.ts?17ae","webpack:///./src/forms/FormElements/Rows/NameRow/NameRow.ts","webpack:///./src/forms/FormElements/Rows/NameRow/NameRow.vue","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.vue?1796","webpack:///./src/forms/FormElements/Inputs/CheckInput/CheckInput.ts?e3dd","webpack:///./src/forms/FormElements/Inputs/CheckInput/CheckInput.ts","webpack:///./src/forms/FormElements/Inputs/CheckInput/CheckInput.vue","webpack:///./src/forms/FormElements/Inputs/CheckInput/CheckInput.vue?db59","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.ts?df49","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.ts","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.vue","webpack:///./src/forms/Validations/CommonMessages.ts","webpack:///./src/forms/FormElements/Rows/AddressRow/AddressRow.validation.ts","webpack:///./src/assets/icons/pin-filled.svg","webpack:///./src/forms/FormElements/Rows/PhoneRow/PhoneRow.vue?0589","webpack:///./src/forms/Formatters.ts","webpack:///./src/forms/FormElements/Rows/PhoneRow/PhoneRow.ts?f6d1","webpack:///./src/forms/FormElements/Rows/PhoneRow/PhoneRow.ts","webpack:///./src/forms/FormElements/Rows/PhoneRow/PhoneRow.vue","webpack:///./src/assets/icons/arrow-small.svg","webpack:///./src/forms/FormElements/Rows/AddressRow/AddressRow.vue?f85b","webpack:///./src/forms/FormElements/Rows/AddressRow/AddressRow.ts?cd0c","webpack:///./src/forms/FormElements/Rows/AddressRow/AddressRow.ts","webpack:///./src/forms/FormElements/Rows/AddressRow/AddressRow.vue","webpack:///./node_modules/recaptcha-v3/dist/ReCaptchaInstance.js","webpack:///./src/forms/FormElements/Mixins/RecaptchaMixin.ts","webpack:///./node_modules/vue-recaptcha-v3/dist/ReCaptchaVuePlugin.js","webpack:///./node_modules/recaptcha-v3/dist/ReCaptcha.js","webpack:///./node_modules/recaptcha-v3/dist/ReCaptchaLoader.js","webpack:///./src/mixins/DownloadGateMixin.ts","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBox.validation.ts","webpack:///./src/forms/FormElements/Mixins/NewsletterOptinMixin.ts","webpack:///./src/utils/contentConst.ts","webpack:///./src/modules/EmailSignUpModule/EmailSignUpModule.api.ts","webpack:///./src/assets/icons/warning.svg","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.vue?8970","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.validation.ts","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.ts?2c50","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.ts","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.vue"],"names":["names","Person","Address","Phone","AdditionalBrochures","SelectedBrochures","IsSubscribe","IsTravelAgent","IsPastGuest","NewsletterOptin","DisneyOptin","imageWidths","def","sizes","sm","orderButton","Title","Link","this","card","OrderLink","ButtonStyle","PrimaryDarkBlack","viewButton","BrochureLink","White","pdfButton","PdfLink","onDownloadClick","$event","$emit","BrochureDetailModule","components","Pin","CtaButton","extend","props","Object","component","_vm","_h","$createElement","_c","_self","staticClass","attrs","Image","Alt","Name","_l","location","key","_v","_s","Text","buttons","Download","DirectMail","nativeOn","_e","validations","isActive","collapse","String","AccordionItem","ArrowSmall","on","title","class","isActiveItem","_t","brochureValidation","BaseValidation","name","rules","required","messages","modelValue","getRules","getMessages","model","getModel","USASelected","disneyOptinContent","setCountryName","option","Value","CountryName","data","Alpha2","type","Array","Boolean","BrochureRequestForm","NameRow","EmailRow","AddressRow","PhoneRow","TCRow","CheckBoxRow","ButtonRow","FormWrapper","FormWrapperLayoutModel","FormValidationMixin","StoreModuleMixin","NewsletterOptinMixin","Full","IsBtB","Number","CountryId","brochures","length","shouldShowOptinCheckBox","bottomText","staticStyle","domProps","submit","showAll","p","Brochures","slice","loadMore","BrochureDeepLinkCard","DownloadGateMixin","Id","cards","newsletterPopup","ContentLinkId","Data","onNewsletterSubmitted","onNewsletterClosed","convertToString","count","toString","reduce","acc","current","Count","from","_","i","submitBrochures","updateBrochureCount","value","obj","mounted","window","scrollTo","default","OrderSummaryLockup","Chevron","vSelect","item","index","Url","brochureQuantityList","totalQuantity","SelectedBrochuresLockup","getInterests","countryId","Promise","brochureService","ApiService","returnData","result","IsOk","Error","call","verb","HttpVerb","GET","catch","err","request","response","Item","submitInterestsRequest","brochureId","BrochureId","PUT","SHOW_SUMMARY","HIDE_ADDRESS_POPUP","BACK_TO_FORM","SUBMIT_BROCHURES","VALIDATE_ADDRESS","SUBMIT_INTERESTS","SET_SUGGESTED_ADDRESS","UPDATE_BROCHURE_COUNT","actions","state","commit","SET_FILLED_ONCE","SET_BROCHURE_MODEL","SET_BROCHURE_FILLED","document","querySelector","duration","SET_ADDRESS_VALIDATOR_MODEL","SET_ADDRESS_VALIDATED","SET_ADDRESS_ERROR_MESSAGES","SET_SHOULD_CHANGE_ADDRESS","dispatch","SET_NEWSLETTER_SUBSCRIPTION","IsShowAddresPopup","showLoading","cacheResults","Messages","SET_SHOW_POPUP","shouldSetSuggested","SET_ADDRESS_MODEL","AddressValidatorModel","BrochureRequestFormModel","payload","Meta","Country","isBtB","serviceName","POST","errMsg","SET_INTERESTS_SUBMITTED","SET_BROCHURE_SUBMITTED","SET_BROCHURE_ID","interestsResult","SET_INTERESTS_LIST","SET_INTERESTS_LOADED","Type","ToastType","Danger","BrochureRequestId","SET_FOLLOW_UP_TRANSACTION_ID","transaction_id","mutations","IsBrochureFilled","set","IsBrochureSubmitted","IsInterestsLoaded","IsInterestsSubmitted","nextTick","id","FollowUpTransactionID","interests","InterestsListModel","shouldShow","addressErrorMessages","AddressErrorMessages","isValidated","IsAddressValidated","shouldChange","ShouldChangeAddress","brochure","find","b","IsFilledOnce","IsNewsletterSubscription","registerModule","namespaced","BrochureCardData","store","modalId","uuid","brochuresPayload","interestsPayload","isMounted","imageSizes","md","showSummary","getAction","backToForm","postBrochures","postInterests","validateAddress","hideAddressPopup","setNewAddress","getMutation","PrefilledModel","created","siteKey","allActive","every","IsActive","allDirectMail","href","SegmentElement","sendEvent","$attrs","contentLinkId","nonInteraction","getLinesForPopup","MoreBrochures","map","address","Street1","Street2","City","StateCode","PostalCode","filter","l","submitBrochureForm","getRecaptchaToken","RecaptchaResponse","brochure_id","brochure_name","referring_domain","get","natgeo_disney_marketing_optin","undefined","serverPayload","brochure_code","Code","quantity","getIsLanding","previous_page_name","getPrevPageName","page_name","getPageName","first_name","FirstName","last_name","LastName","email","Email","phone","locale","getLocale","address_first","address_second","city","country_code","postal_code","past_guest","travel_agent","fbclid","split","email_md5","mscklid","gclid","eea_uk_optin","res","AnalyticsPayload","JSON","stringify","postBrochuresDone","expires","hasAccepted","script","createElement","src","head","appendChild","formSubmitted","isOpenPopupChange","$modal","closeModal","isAddressChanges","shouldChangeAddress","addressFormModel","$refs","brochureRequestForm","$data","BrochureRequestModule","BackLink","Destinations","BrochureThankYou","InterestsThankYou","ResponsiveImage","Dropdown","Cross","Warning","BrochureDeepLinkModule","RecaptchaMixin","preventDefault","addressLine","ref","moreBrochuresList","getInitialModel","TermsAndConditionsLink","PrivacyPolicyLink","BottomText","directives","rawName","expression","hint","msg","BrochureCardProps","EmailConfirmation","empty","requireNonWhitespace","trim","requireWithDefault","defaultValue","byRegex","regex","invert","test","dangerous","symbolsNotAllowed","nameComplex","notEmpty","notOnlySymbol","zipCode","phoneCode","phoneAndDashed","phoneAndDashedForUK","booking","separatedEmails","emailRegex","splitedEmails","replace","validatedEmails","Home","Work","getStoreModuleState","instance","$store","getStoreModulePath","$route","params","vuexModuleStore","options","$options","parent","$parent","modulePath","getters","getter","$storeModulePath","action","mutation","module","exports","functional","render","children","classNames","style","rest","assign","concat","commonService","isInBlackList","handleErrors","cancel","path","rowParams","emailRequredRules","notRequired","emailValidationRules","commaSeparatedEmails","blackList","addBlackListValidation","addConfirmation","push","same","removeTitle","isTitleRequired","stripRequired","country","isCanada","isStateCountries","States","s","includes","clearChangingFields","input","getInitCountryValue","AUS","UK","getCountries","isBrochure","primeCountries","countries","Countries","c","IsForBrochures","Prime","Disabled","getStates","getPhoneCode","PhoneCode","isShow","field","isUs","getCountryName","isRequired","multiplyPhones","useLongPhone","requiredIf","requiredMultiple","fullWidth","confirmation","TextRow","RowValidationMixin","classList","className","label","subModel","maxLength","idPrefix","disabled","titleList","DropdownRow","firstNameLength","lastNameLength","isArray","mappedToArray","checkValue","custom","checked","change","event","target","newArray","found","indexOf","splice","CheckInput","Tick","Fragment","InputValidationMixin","isChecked","list","FieldWrapper","ErrorWrapper","noGutters","getModelNamesFromList","generateFieldId","hideLabel","displayAsColumn","error","getCurrentMessage","callback","$$v","$set","dangerousMessage","getPostalRequired","getZipIf","requiredState","requiredPostal","forEach","r","requiredAus","getPhoneCodeFormatter","delimiter","blocks","numericOnly","isCodeMutated","codeFormatter","countryIdChange","val","delimiters","placeholder","numberFormatter","zipFormatter","zipFullFormatter","countryChanged","prevValue","fullOption","IsBrochure","validation","showPart","part","addressLine1MaxLength","addressLine2MaxLength","cityMaxLength","getStateLabel","states","isStateRequred","fullZipCode","postCodeMaxLength","__awaiter","thisArg","_arguments","P","generator","resolve","reject","fulfilled","step","next","e","rejected","done","then","apply","__generator","body","f","y","t","g","sent","trys","ops","Symbol","iterator","n","v","op","TypeError","pop","defineProperty","ReCaptchaInstance","recaptchaID","recaptcha","styleContainer","prototype","execute","_a","enterprise","getSiteKey","hideBadge","innerHTML","showBadge","removeChild","use","loaderOptions","explicitRenderParameters","badge","showCaptcha","hideCaptcha","captchaEl","getElementById","remove","insertAdjacentHTML","$recaptchaLoaded","$recaptcha","recaptcha_v3_1","VueReCaptcha","Vue","_this","plugin","ReCaptchaVuePlugin","recaptchaLoaded","recaptchaError","loadedWaiters","initializeReCaptcha","wrapper","$recaptchaInstance","load","getInstance","ReCaptchaLoader_1","enumerable","ReCaptchaInstance_1","ELoadingState","ReCaptchaLoader","getLoadingState","LOADED","LOADING","instanceSiteKey","successfulLoadingConsumers","errorLoadingRunnable","reason","setLoadingState","loader","loadScript","useRecaptchaNet","useEnterprise","renderParameters","customUrl","widgetID","doExplicitRender","grecaptcha","autoHideBadge","loadingState","NOT_LOADED","scriptElement","setAttribute","scriptBase","parametersQuery","buildQueryString","addEventListener","waitForScriptToLoad","onerror","parameters","keys","parameterKey","join","setTimeout","SCRIPT_LOAD_DELAY","ready","isEnterprise","augmentedParameters","sitekey","size","tabindex","container","downloadStarted","downloadLink","gateName","newsletter","m","gateNewsletter","GateName","NotWorldText","WORLD","ThankYouText","link","ShowSubscription","AnalyticsData","document_url","origin","click","NewsletterPopup","disneyOptin","validationsArr","DISNEY_OPTIN_HTML","EmailSignUpService","submitEmailSignUp","status","hasAcceptedAdditionalIntegrationsCookie","submitEmailSignUpFollowUp","PATCH","top","behavior","cookies","parse","CheckTC","$slots","text","TermsAndConditionsRow","isAccepted","hasTextSlot","TermsLink"],"mappings":"sMA8BaA,EAAQ,+DAChB,KACA,KACA,KAd0F,CAC7FC,OAAQ,SACRC,QAAS,UACTC,MAAO,QACPC,oBAAqB,sBACrBC,kBAAmB,oBACnBC,YAAa,cACbC,cAAe,gBACfC,YAAa,gBAOD,CACZC,gBAAiB,kBACjBC,YAAa,iB,wCCpCf,I,kDCA2I,ECmB3I,uE,OACI,EAAAC,YAA2B,CACvBC,IAAK,IACLC,MAAO,CACLC,GAAI,M,EAyBd,OA7BkD,iBAO9C,sBAAI,sBAAO,C,IAAX,WAiBI,MAAO,CAAEC,YAhBwB,CAC7BC,MAAO,mBACPC,KAAMC,KAAKC,KAAKC,UAChBC,YAAa,IAAeC,kBAaVC,WAXU,CAC5BP,MAAO,cACPC,KAAMC,KAAKC,KAAKK,aAChBH,YAAa,IAAeI,OAQEC,UANH,CAC3BV,MAAO,oBACPC,KAAMC,KAAKC,KAAKQ,QAChBN,YAAa,IAAeC,oB,gCAKpC,YAAAM,gBAAA,SAAgBC,GACZX,KAAKY,MAAM,kBAAmBD,EAAQX,KAAKC,KAAKQ,UA3BnCI,EAAoB,aANxC,YAAU,CACPC,WAAY,CACRC,IAAG,IACHC,UAAS,QAGIH,GAArB,CA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AAG,qCAAqCb,EAAIa,GAAG,mBAAmBV,EAAG,IAAI,CAACE,YAAY,wCAAwCC,MAAM,CAAC,OAAS,SAAS,IAAM,sBAAsB,KAAON,EAAIkV,oBAAoB,CAAClV,EAAIa,GAAG,4BAA2C,IAC9sB,IIWpB,EACA,KACA,KACA,MAIa,IAAAd,E","file":"26.86d6e3b27698bb661248.js","sourcesContent":["import Person, { names as personNames } from '@/common/interfaces/dto/Person';\nimport Address, { names as addressNames } from '@/common/interfaces/dto/Address';\nimport Phone, { names as phoneNames } from '@/common/interfaces/dto/Phone';\nimport { BrochureItem } from '@/modules/BrochureRequestModule/BrochureRequestModule.types';\nimport { RecaptchaResponse } from '@/forms/FormElements/Mixins/RecaptchaMixin';\n\nexport interface BrochureRequestFormModel extends RecaptchaResponse {\n Person: Person;\n Address: Address;\n Phone: Phone;\n AdditionalBrochures: string[];\n SelectedBrochures: BrochureItem[];\n IsSubscribe?: boolean;\n IsTravelAgent?: boolean,\n IsPastGuest?: boolean,\n AnalyticsPayload?: string;\n DisneyOptin?: boolean\n}\n\nconst formNames: { [key in keyof BrochureRequestFormModel]: keyof BrochureRequestFormModel } = {\n Person: 'Person',\n Address: 'Address',\n Phone: 'Phone',\n AdditionalBrochures: 'AdditionalBrochures',\n SelectedBrochures: 'SelectedBrochures',\n IsSubscribe: 'IsSubscribe',\n IsTravelAgent: 'IsTravelAgent',\n IsPastGuest: 'IsPastGuest',\n};\n\nexport const names = {\n ...personNames,\n ...addressNames,\n ...phoneNames,\n ...formNames,\n NewsletterOptin: 'NewsletterOptin',\n DisneyOptin: 'DisneyOptin',\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',{staticClass:\"brochure-deep-card\"},[_c('div',{staticClass:\"brochure-deep-card__item brochure-deep-card__image-container\"},[_c('img',{staticClass:\"lazyload\",attrs:{\"src\":((_vm.card.Image.Url) + \"?quality=50\"),\"alt\":_vm.card.Image.Alt || _vm.card.Name,\"loading\":\"lazy\"}})]),_c('div',{staticClass:\"brochure-deep-card__item brochure-deep-card__content\"},[_c('div',{staticClass:\"brochure-deep-card__icon-wrap\"},[_c('Pin',{staticClass:\"brochure-deep-card__icon\"}),_vm._l((_vm.card.Locations),function(location){return _c('div',{key:location,staticClass:\"brochure-deep-card__tag text--subheading\"},[_vm._v(_vm._s(location))])})],2),_c('h4',{staticClass:\"brochure-deep-card__name\"},[_vm._v(_vm._s(_vm.card.Name))]),_c('p',{staticClass:\"brochure-deep-card__text\"},[_vm._v(_vm._s(_vm.card.Text))]),_c('div',{staticClass:\"brochure-deep-card__buttons\"},[_c('CtaButton',{attrs:{\"target\":\"_blank\",\"item\":_vm.buttons.viewButton}}),(_vm.card.Download && !_vm.card.DirectMail)?_c('CtaButton',{attrs:{\"item\":_vm.buttons.pdfButton,\"download\":\"\"},nativeOn:{\"click\":function($event){return _vm.onDownloadClick($event)}}}):_vm._e(),(_vm.card.DirectMail)?_c('CtaButton',{attrs:{\"item\":_vm.buttons.orderButton}}):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./BrochureDeepLinkCard.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./BrochureDeepLinkCard.ts?vue&type=script&lang=ts&\"","import { Component, Vue } from 'vue-property-decorator';\n\nimport BrochureCard from '@/common/interfaces/modules/BrochureCard';\nimport CtaLinkItem, { CtaButtonStyle } from '@/common/interfaces/CtaLinkItem';\nimport { ImageWidths } from '@/common/interfaces/SizeBreakpoints';\n\nimport Pin from '@/assets/icons/pin-filled.svg?inline';\nimport CtaButton from '@/components/CtaButton/CtaButton.vue';\n\nconst BrochureCardProps = Vue.extend({\n props: { card: Object as () => BrochureCard },\n});\n\n@Component({\n components: {\n Pin,\n CtaButton,\n },\n})\nexport default class BrochureDetailModule extends BrochureCardProps {\n imageWidths: ImageWidths = {\n def: 356,\n sizes: {\n sm: 356,\n },\n };\n get buttons() {\n const orderButton: CtaLinkItem = {\n Title: 'Request Brochure',\n Link: this.card.OrderLink,\n ButtonStyle: CtaButtonStyle.PrimaryDarkBlack,\n };\n const viewButton: CtaLinkItem = {\n Title: 'View online',\n Link: this.card.BrochureLink,\n ButtonStyle: CtaButtonStyle.White,\n };\n const pdfButton: CtaLinkItem = {\n Title: 'Download Brochure',\n Link: this.card.PdfLink,\n ButtonStyle: CtaButtonStyle.PrimaryDarkBlack,\n };\n\n return { orderButton, viewButton, pdfButton };\n }\n onDownloadClick($event: Event) {\n this.$emit('onDownloadClick', $event, this.card.PdfLink)\n }\n}\n","import { render, staticRenderFns } from \"./BrochureDeepLinkCard.vue?vue&type=template&id=7652215d&\"\nimport script from \"./BrochureDeepLinkCard.ts?vue&type=script&lang=ts&\"\nexport * from \"./BrochureDeepLinkCard.ts?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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form-wrapper',{attrs:{\"layout\":_vm.FormWrapperLayoutModel.Full}},[_c('form',{staticClass:\"lex-form\",class:{ 'lex-form-usa-address': _vm.USASelected }},[_c('NameRow',{attrs:{\"subModel\":_vm.names.Person}}),_c('EmailRow',{attrs:{\"subModel\":_vm.names.Person}}),_c('AddressRow',{attrs:{\"subModel\":_vm.names.Address,\"IsBrochure\":!_vm.IsBtB},on:{\"fullOption\":_vm.setCountryName}}),_c('PhoneRow',{attrs:{\"subModel\":_vm.names.Phone,\"name\":_vm.names.Number,\"countryId\":_vm.model[_vm.names.Address][_vm.names.CountryId]}}),(_vm.brochures && _vm.brochures.length)?_c('ul',{staticClass:\"accordion push-v--mobile--x-large\"},[_c('AccordionItem',{attrs:{\"title\":\"Add more brochures to your order (optional)\"}},[_c('CheckBoxRow',{attrs:{\"list\":_vm.brochures,\"name\":_vm.names.AdditionalBrochures}})],1)],1):_vm._e(),_c('div',{staticClass:\"brochure-request-form__checkbox-row\"},[_c('CheckBoxRow',{attrs:{\"checked\":_vm.model[_vm.names.IsPastGuest],\"custom\":true,\"name\":_vm.names.IsPastGuest}},[_vm._v(\"\\n I am a returning guest\\n \")]),_c('CheckBoxRow',{attrs:{\"checked\":_vm.model[_vm.names.IsTravelAgent],\"custom\":true,\"name\":_vm.names.IsTravelAgent}},[_vm._v(\"\\n I am a travel advisor\\n \")])],1),(_vm.shouldShowOptinCheckBox && _vm.bottomText)?_c('CheckBoxRow',{staticClass:\"newsletter-optin-shared\",staticStyle:{\"margin\":\"38px 0 24px\"},attrs:{\"custom\":true,\"name\":_vm.names.NewsletterOptin}},[_c('div',{staticClass:\"newsletter-optin-shared__content\",domProps:{\"innerHTML\":_vm._s(_vm.bottomText)}})]):(_vm.bottomText)?_c('div',{staticClass:\"push-v--mobile--small push-t--mobile--small\",domProps:{\"innerHTML\":_vm._s(_vm.bottomText)}}):_vm._e(),(_vm.isUSAGeo)?_c('CheckBoxRow',{staticClass:\"newsletter-optin newsletter-optin-shared newsletter-optin-shared_mt\",attrs:{\"custom\":true,\"name\":_vm.names.DisneyOptin}},[_c('div',{staticClass:\"newsletter-optin-shared__content\",domProps:{\"innerHTML\":_vm._s(_vm.disneyOptinContent)}})]):_vm._e(),_c('ButtonRow',{attrs:{\"label\":\"Next\"},on:{\"click\":function($event){return _vm.submit()}}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import BaseValidation from '@/forms/Validations/BaseValidation';\n\nimport NameValidation from '@/forms/FormElements/Rows/NameRow/NameRow.validation';\nimport EmailValidation from '@/forms/FormElements/Rows/EmailRow/EmailRow.validation';\nimport AddressValidation from '@/forms/FormElements/Rows/AddressRow/AddressRow.validation';\nimport PhoneValidation from '@/forms/FormElements/Rows/PhoneRow/PhoneRow.validation';\n\nimport { names } from './BrochureRequestForm.types';\nimport { required } from 'vuelidate/lib/validators';\nimport CheckBoxValidation from '@/forms/FormElements/Rows/CheckBoxRow/CheckBox.validation';\n\nconst brochureValidation = new BaseValidation([\n {\n name: names.AdditionalBrochures,\n rules: { required },\n messages: {},\n modelValue: false,\n },\n]);\n\nexport default () => {\n const validations = [\n NameValidation(names.Person),\n EmailValidation(names.Person),\n AddressValidation(names.Address),\n PhoneValidation(names.Phone),\n brochureValidation,\n CheckBoxValidation(),\n ];\n\n return {\n validations: BaseValidation.getRules(validations),\n messages: BaseValidation.getMessages(validations),\n model: BaseValidation.getModel(validations),\n };\n};\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!./AccordionItem.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!./AccordionItem.ts?vue&type=script&lang=ts&\"","import { Component, Vue, Prop } from 'vue-property-decorator';\nimport ArrowSmall from '@/assets/icons/arrow-small.svg?inline';\n\n@Component({\n components: {\n ArrowSmall,\n },\n})\nexport default class AccordionItem extends Vue {\n @Prop(String)\n readonly title!: string;\n\n isActive: boolean = false;\n\n get isActiveItem() {\n return this.isActive;\n }\n\n collapse() {\n this.isActive = !this.isActive;\n }\n}\n","import { render, staticRenderFns } from \"./AccordionItem.vue?vue&type=template&id=1ef287b5&\"\nimport script from \"./AccordionItem.ts?vue&type=script&lang=ts&\"\nexport * from \"./AccordionItem.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./AccordionItem.scss?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"accordion__item\"},[_c('div',{staticClass:\"accordion__wrapper\"},[_c('input',{staticClass:\"accordion__checkbox\",attrs:{\"type\":\"checkbox\"},on:{\"click\":_vm.collapse}}),_c('div',{staticClass:\"accordion__trigger-wrapper\"},[_c('h5',{staticClass:\"accordion__trigger\"},[_vm._v(_vm._s(_vm.title))]),_c('ArrowSmall',{staticClass:\"accordion__close\",class:{ 'accordion__close--rotate': _vm.isActiveItem }})],1),_c('div',{staticClass:\"accordion__panel\",class:{ 'accordion__panel--active': _vm.isActiveItem }},[_c('div',{staticClass:\"push-v--mobile--small\"},[_vm._t(\"default\")],2)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mixins } from 'vue-class-component';\nimport { Component, Prop } from 'vue-property-decorator';\n\nimport Message from '@/forms/Validations/Message';\n\nimport { BrochureRequestFormModel, names } from './BrochureRequestForm.types';\n\nimport FormValidationMixin from '@/forms/FormElements/Mixins/FormValidationMixin';\n\nimport NameRow from '@/forms/FormElements/Rows/NameRow/NameRow.vue';\nimport EmailRow from '@/forms/FormElements/Rows/EmailRow/EmailRow.vue';\nimport AddressRow from '@/forms/FormElements/Rows/AddressRow/AddressRow.vue';\nimport PhoneRow from '@/forms/FormElements/Rows/PhoneRow/PhoneRow.vue';\nimport TCRow from '@/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.vue';\nimport CheckBoxRow from '@/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.vue';\nimport ButtonRow from '@/forms/FormElements/Rows/ButtonRow/ButtonRow.vue';\nimport AccordionItem from '@/components/AccordionItem/AccordionItem.vue';\nimport FormWrapper from '@/forms/FormElements/Common/FormWrapper/FormWrapper.vue';\nimport { FormWrapperLayoutModel } from '@/forms/FormElements/Common/FormWrapper/FormWrapper.type';\n\nimport SelectItem from '@/common/interfaces/SelectItem';\n\nimport getValidation from './BrochureRequestForm.validations';\nimport StoreModuleMixin from '@/mixins/StoreModuleMixin';\nimport NewsletterOptinMixin from '@/forms/FormElements/Mixins/NewsletterOptinMixin';\nimport { DISNEY_OPTIN_HTML } from '@/utils/contentConst';\nimport { isUSAIP } from '@/store';\n\nconst { validations, model, messages } = getValidation();\n\n@Component({\n validations,\n components: {\n NameRow,\n EmailRow,\n AddressRow,\n PhoneRow,\n TCRow,\n CheckBoxRow,\n ButtonRow,\n AccordionItem,\n FormWrapper,\n },\n data: () => {\n return {\n FormWrapperLayoutModel,\n };\n },\n})\nexport default class BrochureRequestForm extends mixins(FormValidationMixin, StoreModuleMixin, NewsletterOptinMixin) {\n @Prop({ type: Array as () => SelectItem[] })\n readonly brochures!: SelectItem[];\n @Prop()\n readonly TermsLink!: string;\n @Prop()\n readonly PrivacyPolicyLink!: string;\n @Prop(Boolean)\n readonly IsBtB!: boolean;\n @Prop() readonly bottomText!: string;\n\n model: BrochureRequestFormModel = model;\n messages: Message[] = messages;\n\n names = names;\n\n USASelected = false;\n\n setCountryName(option: SelectItem) {\n this.USASelected = option.Value === 385\n this.model.Address.CountryName = option.data.Alpha2;\n }\n\n disneyOptinContent = DISNEY_OPTIN_HTML;\n\n get isUSAGeo() {\n return isUSAIP()\n }\n}\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./BrochureRequestForm.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./BrochureRequestForm.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BrochureRequestForm.vue?vue&type=template&id=30fbc96e&\"\nimport script from \"./BrochureRequestForm.ts?vue&type=script&lang=ts&\"\nexport * from \"./BrochureRequestForm.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./BrochureRequestForm.scss?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"brochure-deep module module--mb\"},[(_vm.p.Title)?_c('h3',{staticClass:\"brochure-deep__title text-center\"},[_vm._v(_vm._s(_vm.p.Title))]):_vm._e(),_vm._l((_vm.cards),function(card){return _c('BrochureDeepLinkCard',{key:card.Id,attrs:{\"card\":card},on:{\"onDownloadClick\":_vm.onDownloadClick}})}),(_vm.p.Brochures.length > _vm.cards.length)?_c('div',{staticClass:\"brochure-deep__loadmore-wrap\"},[_c('p',{staticClass:\"brochure-deep__loadmore-text\"},[_vm._v(\"Showing \"+_vm._s(_vm.cards.length)+\" of \"+_vm._s(_vm.p.Brochures.length))]),(!_vm.showAll)?_c('button',{staticClass:\"button button--black brochure-deep__loadmore-btn\",on:{\"click\":_vm.loadMore}},[_vm._v(\"\\n LOAD MORE\\n \")]):_vm._e()]):_vm._e(),(_vm.downloadStarted)?_c('NewsletterPopup',{attrs:{\"contentLinkId\":_vm.newsletterPopup.ContentLinkId + 4,\"p\":_vm.newsletterPopup.Data},on:{\"submit\":_vm.onNewsletterSubmitted,\"close\":_vm.onNewsletterClosed}}):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!./BrochureDeepLinkModule.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!./BrochureDeepLinkModule.ts?vue&type=script&lang=ts&\"","import { Component, Vue } from 'vue-property-decorator';\n\nimport { BrochureDeepLinkBlockViewModel } from './BrochureDeepLinkModule.types';\nimport { getComponentProps } from '@/utils/vueUtils';\nimport BrochureDeepLinkCard from './BrochureDeepLinkCard/BrochureDeepLinkCard.vue';\nimport DownloadGateMixin from '@/mixins/DownloadGateMixin';\nimport { mixins } from 'vue-class-component';\n\n@Component({\n components: {\n BrochureDeepLinkCard,\n },\n props: getComponentProps({\n Title: 'View our brochure for more details',\n Brochures: []\n }),\n})\nexport default class BrochureDetailModule extends mixins(DownloadGateMixin) {\n p!: BrochureDeepLinkBlockViewModel;\n showAll = false;\n get cards() {\n if (!this.showAll) return this.p.Brochures.slice(0, 3)\n return this.p.Brochures\n }\n loadMore() {\n this.showAll = true\n }\n}\n","import { render, staticRenderFns } from \"./BrochureDeepLinkModule.vue?vue&type=template&id=265ec6ee&\"\nimport script from \"./BrochureDeepLinkModule.ts?vue&type=script&lang=ts&\"\nexport * from \"./BrochureDeepLinkModule.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./BrochureDeepLinkModule.scss?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"order-summary-lockup\",class:{ 'order-summary-lockup--btb': _vm.IsBtB }},[_c('h3',{staticClass:\"h3 push-v--mobile--small\"},[_vm._v(\"Order summary\")]),_c('div',{staticClass:\"order-summary-lockup__items\"},_vm._l((_vm.SelectedBrochures),function(item,index){return _c('div',{key:index,staticClass:\"order-summary-lockup__item\"},[_c('img',{staticClass:\"order-summary-lockup__image\",attrs:{\"src\":item.Image.Url,\"alt\":item.Image.Alt}}),_c('div',[_c('h6',{staticClass:\"h6 push-v--mobile--x-small\"},[_vm._v(_vm._s(item.Title))]),_c('div',{staticClass:\"order-summary-lockup__quantity\"},[_c('p',{staticClass:\"order-summary-lockup__label\"},[_vm._v(\"Qty:\")]),(!_vm.IsBtB)?_c('p',[_vm._v(_vm._s(item.Count))]):_vm._e(),(_vm.IsBtB)?_c('v-select',{staticClass:\"button--dropdown-small\",attrs:{\"placeholder\":_vm.convertToString(item.Count),\"options\":_vm.brochureQuantityList,\"selected\":item.Count,\"searchable\":false,\"clearable\":false},on:{\"input\":function($event){return _vm.updateBrochureCount($event, item.Id)}}}):_vm._e()],1)])])}),0),_c('div',{staticClass:\"order-summary-total push-v--mobile--medium\"},[_c('span',{staticClass:\"order-summary-total__data\"},[_vm._v(\"Total\")]),_c('span',{staticClass:\"order-summary-total__data\"},[_vm._v(_vm._s(_vm.totalQuantity))])]),_c('ButtonRow',{attrs:{\"label\":\"Confirm Order\"},on:{\"click\":_vm.submitBrochures}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./OrderSummaryLockup.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./OrderSummaryLockup.ts?vue&type=script&lang=ts&\"","import { Component, Vue, Prop } from 'vue-property-decorator';\n\nimport Chevron from '@/assets/icons/chevron.svg?inline';\nimport vSelect from 'vue-select';\nimport { BrochureItem, BrochureUpdateCount } from '../BrochureRequestModule.types';\nimport ButtonRow from '@/forms/FormElements/Rows/ButtonRow/ButtonRow.vue';\n\n@Component({\n components: {\n Chevron,\n vSelect,\n ButtonRow,\n },\n})\nexport default class OrderSummaryLockup extends Vue {\n @Prop({ type: Array as () => BrochureItem[], default: () => [] })\n readonly SelectedBrochures!: BrochureItem[];\n\n @Prop(Boolean)\n readonly IsBtB!: boolean;\n\n get totalQuantity() {\n return this.SelectedBrochures.reduce(\n (acc: number, current: BrochureItem) => acc + (current.Count || 1),\n 0,\n );\n }\n\n get brochureQuantityList() {\n return Array.from({ length: 10 }, (_, i) => 1 + i);\n }\n\n submitBrochures() {\n this.$emit('submitBrochures');\n }\n\n updateBrochureCount(value, Id) {\n const obj: BrochureUpdateCount = {\n Id: Id,\n Count: value,\n };\n this.$emit('updateBrochureCount', obj);\n }\n\n convertToString = (count: number) => count.toString();\n\n mounted() {\n window.scrollTo(0,0);\n }\n}\n","import { render, staticRenderFns } from \"./OrderSummaryLockup.vue?vue&type=template&id=fc89c88e&\"\nimport script from \"./OrderSummaryLockup.ts?vue&type=script&lang=ts&\"\nexport * from \"./OrderSummaryLockup.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./OrderSummaryLockup.scss?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"order-brochure-sidebar-item bg--silver\",class:{ 'selected-brochures-lockup--btb': _vm.IsBtB }},[_c('h6',{staticClass:\"order-brochure-sidebar-item__heading\"},[_vm._v(\"You selected\")]),_c('div',{staticClass:\"lex-row selected-brochures-list\"},_vm._l((_vm.SelectedItems),function(item,index){return _c('div',{key:index,staticClass:\"\\n lex-col--size-12\\n lex-col-sm--size-6\\n lex-col-md--size-5\\n lex-col-lg--size-12\\n selected-brochures-list__item selected-brochure-item\"},[_c('div',{staticClass:\"selected-brochure-item__image-wrap\"},[_c('img',{staticClass:\"selected-brochure-item__image\",attrs:{\"src\":item.Image.Url + '?quality=50&maxwidth=1920',\"alt\":item.Image.Alt || item.Title}})]),_c('div',{staticClass:\"selected-brochure-item__data\"},[_c('h6',{staticClass:\"selected-brochure-item__heading h6 push-v--mobile--xx-small\"},[_vm._v(\"\\n \"+_vm._s(item.Title)+\"\\n \")]),(_vm.IsBtB)?_c('div',{staticClass:\"selected-brochure-item__quantity\"},[_c('span',{staticClass:\"selected-brochure-item__label\"},[_vm._v(\"Qty:\")]),(_vm.IsBtB)?_c('v-select',{staticClass:\"button--dropdown-small\",attrs:{\"placeholder\":_vm.convertToString(item.Count),\"options\":_vm.brochureQuantityList,\"selected\":item.Count,\"searchable\":false,\"clearable\":false},on:{\"input\":function($event){return _vm.updateBrochureCount($event, item.Id)}}}):_vm._e()],1):_vm._e()])])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./SelectedBrochuresLockup.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./SelectedBrochuresLockup.ts?vue&type=script&lang=ts&\"","import { Component, Vue, Prop } from 'vue-property-decorator';\nimport { BrochureItem, BrochureUpdateCount } from '../BrochureRequestModule.types';\nimport Chevron from '@/assets/icons/chevron.svg?inline';\nimport vSelect from 'vue-select';\nimport SelectItem from '@/common/interfaces/SelectItem';\n\n@Component({\n components: {\n Chevron,\n vSelect,\n },\n})\nexport default class SelectedBrochuresLockup extends Vue {\n @Prop({ type: Array as () => BrochureItem[], default: () => [] })\n readonly SelectedItems!: BrochureItem[];\n\n @Prop(Boolean)\n readonly IsBtB!: boolean;\n\n get brochureQuantityList() {\n return Array.from({ length: 10 }, (_, i) => 1 + i);\n }\n\n updateBrochureCount(value, Id) {\n const obj: BrochureUpdateCount = {\n Id: Id,\n Count: value,\n };\n this.$emit('updateBrochureCount', obj);\n }\n\n convertToString = (count: number) => count.toString();\n}\n","import { render, staticRenderFns } from \"./SelectedBrochuresLockup.vue?vue&type=template&id=639d5b2c&\"\nimport script from \"./SelectedBrochuresLockup.ts?vue&type=script&lang=ts&\"\nexport * from \"./SelectedBrochuresLockup.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./SelectedBrochuresLockup.scss?vue&type=style&index=0&lang=scss&\"\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","import ApiService from '@/common/ApiService/ApiService';\nimport StatusObject from '@/common/ApiService/StatusObject';\nimport { HttpVerb } from '@/common/ApiService/HttpVerb';\n\nimport { BrochureRequestFormModel } from './BrochureRequestForm/BrochureRequestForm.types';\nimport { InterestsFormModel } from './InterestsForm/InterestsForm.types';\n\nexport const submitBrochureRequest = async (\n model: BrochureRequestFormModel,\n countryId: number,\n isBtB: boolean = false,\n): Promise => {\n let serviceName = isBtB ? 'TravelAgentsService' : 'MarketingMaterialsApiService';\n const brochureService = new ApiService(`/api/${serviceName}/`, {\n returnData: true,\n });\n let result: StatusObject = {\n IsOk: true,\n Error: '',\n };\n\n result.Item = await brochureService\n .call(\n 'OrderBrochure',\n { CountryId: countryId, ...model, IsBtB: isBtB },\n {\n verb: HttpVerb.POST,\n },\n )\n .catch((err) => {\n //console.log('Server failed, ', err);\n result.IsOk = false;\n let errMsg = err?.response?.data?.Data?.Error ?? err?.request?.response;\n result.Error = errMsg ?? err;\n });\n return result;\n};\n\nexport const getInterests = async (countryId: number): Promise => {\n const brochureService = new ApiService('/api/MarketingMaterialsApiService/', {\n returnData: true,\n });\n let result: StatusObject = {\n IsOk: true,\n Error: '',\n };\n result.Item = await brochureService\n .call(`GetQuestionsList?countryId=${countryId}`, {\n verb: HttpVerb.GET,\n })\n .catch((err) => {\n //console.log('Server failed, ', err);\n result.IsOk = false;\n result.Error = err?.request?.response ?? err;\n });\n return result;\n};\n\nexport const submitInterestsRequest = async (\n brochureId: number,\n model: InterestsFormModel,\n): Promise => {\n const brochureService = new ApiService('/api/MarketingMaterialsApiService/', {\n returnData: true,\n });\n let result: StatusObject = {\n IsOk: true,\n Error: '',\n };\n result.Item = await brochureService\n .call(\n 'UpdateAnswerQuestions',\n { BrochureId: brochureId, ...model },\n {\n verb: HttpVerb.PUT,\n },\n )\n .catch((err) => {\n //console.log('Server failed, ', err);\n result.IsOk = false;\n result.Error = err?.request?.response ?? err;\n });\n return result;\n};\n","import { Module, ActionTree, Store, MutationTree, GetterTree } from 'vuex';\nimport { RootState } from '@/store/types';\nimport { registerSubModule } from '@/utils/vueUtils';\n\nimport { InitCountries } from '@/api/CountryStateApi';\nimport { validate } from '@/forms/FormElements/Rows/AddressRow/AddressRow.api';\nimport { showToastMessage } from '@/utils/toastUtils';\nimport ToastType from '@/common/interfaces/enums/ToastType';\nimport { BrochureRequestFormModel } from './BrochureRequestForm/BrochureRequestForm.types';\nimport { InterestsFormModel } from './InterestsForm/InterestsForm.types';\nimport {\n BrochureRequestBlockViewModel,\n InterestsListModel,\n BrochureItem,\n BrochureUpdateCount,\n} from './BrochureRequestModule.types';\nimport {\n submitBrochureRequest,\n submitInterestsRequest,\n getInterests,\n} from './BrochureRequestModule.api';\nimport Address from '@/common/interfaces/dto/Address';\nimport { MessagesModel } from '@/forms/FormElements/Rows/AddressRow/AddressRow.api';\nimport Vue from 'vue';\nimport VueScrollTo from 'vue-scrollto';\nimport BrochureCard from '@/common/interfaces/modules/BrochureCard';\n\nexport interface BrochureRequestModuleState {\n IsBrochureFilled: boolean;\n IsBrochureSubmitted: boolean;\n IsInterestsLoaded: boolean;\n IsInterestsSubmitted: boolean;\n BrochureRequestFormModel: BrochureRequestFormModel;\n BrochureRequestId: number;\n InterestsListModel: InterestsListModel;\n IsShowAddresPopup: boolean;\n AddressErrorMessages: MessagesModel;\n AddressValidatorModel: Address;\n IsBtB: boolean;\n IsAddressValidated: boolean;\n ShouldChangeAddress: boolean;\n SelectedBrochures: BrochureItem[];\n IsFilledOnce: boolean;\n IsNewsletterSubscription: boolean;\n FollowUpTransactionID: number;\n BrochureCardData: BrochureCard[]\n}\n\nexport const SHOW_SUMMARY = 'SHOW_SUMMARY';\nexport const HIDE_ADDRESS_POPUP = 'HIDE_ADDRESS_POPUP';\nexport const BACK_TO_FORM = 'BACK_TO_FORM';\nexport const SUBMIT_BROCHURES = 'SUBMIT_BROCHURES';\nexport const VALIDATE_ADDRESS = 'VALIDATE_ADDRESS';\nexport const SUBMIT_INTERESTS = 'SUBMIT_INTERESTS';\nexport const SET_SUGGESTED_ADDRESS = 'SET_SUGGESTED_ADDRESS';\nexport const UPDATE_BROCHURE_COUNT = 'UPDATE_BROCHURE_COUNT';\n\nconst actions: ActionTree = {\n async [SHOW_SUMMARY]({ state, commit }, model: BrochureRequestFormModel) {\n model.SelectedBrochures = state.SelectedBrochures;\n //console.log('show', model);\n commit(SET_FILLED_ONCE);\n commit(SET_BROCHURE_MODEL, model);\n commit(SET_BROCHURE_FILLED, true);\n\n VueScrollTo.scrollTo(document.querySelector('#Header'), {\n duration: 0,\n });\n },\n async [BACK_TO_FORM]({ commit }) {\n commit(SET_BROCHURE_FILLED, false);\n commit(SET_ADDRESS_VALIDATOR_MODEL, null);\n commit(SET_ADDRESS_VALIDATED, false);\n commit(SET_ADDRESS_ERROR_MESSAGES, {});\n commit(SET_SHOULD_CHANGE_ADDRESS, false);\n },\n\n async [VALIDATE_ADDRESS]({ state, commit, dispatch }, model: BrochureRequestFormModel) {\n model.SelectedBrochures = state.SelectedBrochures;\n commit(SET_BROCHURE_MODEL, model);\n\n if (model.IsSubscribe) {\n commit(SET_NEWSLETTER_SUBSCRIPTION);\n }\n\n if (!state.IsShowAddresPopup) {\n //TODO: use AddressRow.helper when fixed\n const usId = 385;\n if (model.Address.CountryId != usId) {\n commit(SET_ADDRESS_VALIDATED, true);\n dispatch(SHOW_SUMMARY, model);\n return;\n }\n\n const result = await validate(model.Address, { showLoading: false, cacheResults: true });\n //console.log('Validation: ', result);\n if ((result.Item as MessagesModel).Messages) {\n commit(SET_ADDRESS_ERROR_MESSAGES, result.Item);\n commit(SET_ADDRESS_VALIDATOR_MODEL, null);\n commit(SET_SHOW_POPUP, true);\n } else if ((result.Item as Address).CountryId) {\n commit(SET_ADDRESS_VALIDATOR_MODEL, result.Item);\n commit(SET_ADDRESS_ERROR_MESSAGES, []);\n commit(SET_SHOW_POPUP, true);\n } else {\n commit(SET_ADDRESS_VALIDATED, true);\n dispatch(SHOW_SUMMARY, model);\n }\n return;\n }\n commit(SET_SHOW_POPUP, false);\n },\n async [SET_SUGGESTED_ADDRESS]({ state, commit, dispatch }, shouldSetSuggested: boolean) {\n if (shouldSetSuggested) {\n commit(SET_ADDRESS_MODEL, state.AddressValidatorModel);\n }\n commit(SET_SHOULD_CHANGE_ADDRESS, shouldSetSuggested);\n commit(SET_ADDRESS_VALIDATED, true);\n dispatch(HIDE_ADDRESS_POPUP);\n dispatch(SHOW_SUMMARY, state.BrochureRequestFormModel);\n },\n\n async [SUBMIT_BROCHURES]({ state, commit }, payload: any) {\n \n\n const result = await submitBrochureRequest(\n payload,\n this.state.Meta.Country,\n state.IsBtB,\n );\n\n //console.log('from server', result);\n\n if (result.IsOk) {\n if (state.IsBtB) {\n commit(SET_INTERESTS_SUBMITTED);\n commit(SET_BROCHURE_SUBMITTED);\n return;\n }\n commit(SET_BROCHURE_ID, result.Item.Id);\n\n const interestsResult = await getInterests(this.state.Meta.Country);\n if (interestsResult.IsOk) {\n //console.log('Interests from server', interestsResult);\n commit(SET_INTERESTS_LIST, interestsResult.Item);\n commit(SET_INTERESTS_LOADED);\n } else {\n //console.log('error', interestsResult);\n // TODO show tout or catch in form and show on fields\n }\n commit(SET_BROCHURE_SUBMITTED);\n } else {\n //console.log('error', result);\n // TODO show tout or catch in form and show on fields\n showToastMessage([\n {\n Text: result.Error,\n Type: ToastType.Danger,\n },\n ]);\n }\n },\n\n async [SUBMIT_INTERESTS]({ state, commit }, model: InterestsFormModel) {\n const result = await submitInterestsRequest(state.BrochureRequestId, model);\n if (result.IsOk) {\n //console.log('from server', result);\n commit(SET_FOLLOW_UP_TRANSACTION_ID, result.Item.transaction_id)\n commit(SET_INTERESTS_SUBMITTED);\n } else {\n //console.log('error', result);\n // TODO show tout or catch in form and show on fields\n }\n },\n async [HIDE_ADDRESS_POPUP]({ commit }) {\n commit(SET_SHOW_POPUP, false);\n },\n};\n\nconst SET_BROCHURE_FILLED = 'SET_BROCHURE_FILLED';\nconst SET_BROCHURE_MODEL = 'SET_BROCHURE_MODEL';\nconst SET_ADDRESS_MODEL = 'SET_ADDRESS_MODEL';\nconst SET_SHOULD_CHANGE_ADDRESS = 'SET_SHOULD_CHANGE_ADDRESS';\nconst SET_BROCHURE_SUBMITTED = 'SET_BROCHURE_SUBMITTED';\nconst SET_INTERESTS_SUBMITTED = 'SET_INTERESTS_SUBMITTED';\nconst SET_BROCHURE_ID = 'SET_BROCHURE_ID';\nconst SET_INTERESTS_LIST = 'SET_INTERESTS_LIST';\nconst SET_INTERESTS_LOADED = 'SET_INTERESTS_LOADED';\nconst SET_SHOW_POPUP = 'SET_SHOW_POPUP';\nconst SET_ADDRESS_ERROR_MESSAGES = 'SET_ADDRESS_ERROR_MESSAGES';\nconst SET_ADDRESS_VALIDATOR_MODEL = 'SET_ADDRESS_VALIDATOR_MODEL';\nconst SET_ADDRESS_VALIDATED = 'SET_ADDRESS_VALIDATED';\nconst SET_FILLED_ONCE = 'SET_FILLED_ONCE';\nconst SET_NEWSLETTER_SUBSCRIPTION = 'SET_NEWSLETTER_SUBSCRIPTION';\nconst SET_FOLLOW_UP_TRANSACTION_ID = 'SET_FOLLOW_UP_TRANSACTION_ID';\n\nconst mutations: MutationTree = {\n [SET_BROCHURE_FILLED](state, value: boolean) {\n state.IsBrochureFilled = value;\n },\n [SET_BROCHURE_MODEL](state, model: BrochureRequestFormModel) {\n Vue.set(state, 'BrochureRequestFormModel', model);\n },\n [SET_ADDRESS_MODEL](state, model: Address) {\n Vue.set(state.BrochureRequestFormModel, 'Address', model);\n },\n [SET_BROCHURE_SUBMITTED](state) {\n state.IsBrochureSubmitted = true;\n },\n [SET_INTERESTS_LOADED](state) {\n state.IsInterestsLoaded = true;\n },\n [SET_INTERESTS_SUBMITTED](state) {\n state.IsInterestsSubmitted = true;\n Vue.nextTick(() => {\n VueScrollTo.scrollTo('#app');\n });\n },\n [SET_BROCHURE_ID](state, id: number) {\n state.BrochureRequestId = id;\n },\n [SET_FOLLOW_UP_TRANSACTION_ID](state, id: number) {\n state.FollowUpTransactionID = id;\n },\n [SET_INTERESTS_LIST](state, interests: InterestsListModel) {\n state.InterestsListModel = interests;\n },\n [SET_SHOW_POPUP](state, shouldShow: boolean) {\n state.IsShowAddresPopup = shouldShow;\n },\n [SET_ADDRESS_ERROR_MESSAGES](state, addressErrorMessages: MessagesModel) {\n state.AddressErrorMessages = addressErrorMessages;\n },\n [SET_ADDRESS_VALIDATOR_MODEL](state, model: Address) {\n state.AddressValidatorModel = model;\n },\n [SET_ADDRESS_VALIDATED](state, isValidated: boolean) {\n state.IsAddressValidated = isValidated;\n },\n [SET_SHOULD_CHANGE_ADDRESS](state, shouldChange: boolean) {\n state.ShouldChangeAddress = shouldChange;\n },\n [UPDATE_BROCHURE_COUNT](state, payload: BrochureUpdateCount) {\n //console.log(state.SelectedBrochures);\n const brochure = state.SelectedBrochures.find((b) => b.Id === payload.Id);\n if (brochure) {\n brochure.Count = payload.Count;\n }\n },\n [SET_FILLED_ONCE](state) {\n state.IsFilledOnce = true;\n },\n [SET_NEWSLETTER_SUBSCRIPTION](state) {\n state.IsNewsletterSubscription = true;\n },\n};\n\nconst registerModule = registerSubModule(\n (data: BrochureRequestBlockViewModel) => {\n return {\n namespaced: true,\n state: {\n IsBrochureFilled: false,\n IsBrochureSubmitted: false,\n IsInterestsLoaded: false,\n IsInterestsSubmitted: false,\n BrochureRequestId: 0,\n IsShowAddresPopup: false,\n AddressErrorMessages: {},\n AddressValidatorModel: null,\n IsBtB: data.IsBtB,\n IsAddressValidated: false,\n ShouldChangeAddress: false,\n SelectedBrochures: data.SelectedBrochures,\n IsFilledOnce: false,\n FollowUpTransactionID: 0,\n BrochureCardData: data.BrochureCardData,\n },\n actions,\n mutations,\n } as Module;\n },\n 'BrochureRequestModule',\n);\n\nexport default async (store: Store, data: BrochureRequestBlockViewModel) => {\n await InitCountries();\n\n return registerModule(store, data);\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"brochure-request-module lex-page__offsets lex-container\"},[(_vm.state)?_c('div',{staticClass:\"lex-row\"},[_c('div',{staticClass:\"lex-col--size-12 lex-col-lg--size-4 lex-col-lg--order-last\"},[(_vm.state && !_vm.state.IsBrochureFilled)?_c('SelectedBrochuresLockup',{attrs:{\"IsBtB\":_vm.p.IsBtB,\"SelectedItems\":_vm.SelectedBrochures},on:{\"updateBrochureCount\":_vm.updateBrochureCount}}):_vm._e(),(_vm.state && _vm.state.IsBrochureFilled && !_vm.state.IsBrochureSubmitted)?_c('div',{staticClass:\"order-brochure-sidebar-item bg--silver\"},[_c('h6',{staticClass:\"order-brochure-sidebar-item__heading\"},[_c('span',[_vm._v(\"Delivery Address\")]),_c('a',{staticClass:\"cta\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.backToForm($event)}}},[_vm._v(\"Edit\")])]),_vm._l((_vm.enteredAddressLines),function(addressLine,index){return _c('p',{key:index},[_vm._v(_vm._s(addressLine))])})],2):_vm._e()],1),_c('div',{staticClass:\"lex-col--size-12 lex-col-lg--size-8\"},[(_vm.state && !_vm.state.IsBrochureFilled)?_c('BrochureRequestForm',{ref:\"brochureRequestForm\",attrs:{\"brochures\":_vm.moreBrochuresList,\"initialModel\":_vm.getInitialModel,\"TermsLink\":_vm.p.TermsAndConditionsLink,\"PrivacyPolicyLink\":_vm.p.PrivacyPolicyLink,\"bottomText\":_vm.p.BottomText,\"IsBtB\":_vm.p.IsBtB},on:{\"submit\":_vm.submitBrochureForm}}):_vm._e(),(_vm.state && _vm.state.IsBrochureFilled && !_vm.state.IsBrochureSubmitted)?_c('OrderSummaryLockup',{attrs:{\"IsBtB\":_vm.p.IsBtB,\"SelectedBrochures\":_vm.p.SelectedBrochures},on:{\"submitBrochures\":_vm.submitBrochures,\"updateBrochureCount\":_vm.updateBrochureCount}}):_vm._e(),_c('modal',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isMounted),expression:\"isMounted\"}],staticClass:\"brochure-request__modal\",attrs:{\"name\":_vm.modalId,\"adaptive\":true},on:{\"closed\":_vm.closeModal}},[_c('button',{staticClass:\"brochure-request__modal-close pointer\",on:{\"click\":function($event){return _vm.closeModal()}}},[_c('Cross',{staticClass:\"close-icon\"})],1),_c('div',{staticClass:\"brochure-request__address-verification\"},[_c('h1',{staticClass:\"brochure-request__title push-v--mobile--small\"},[_vm._v(\"Verify your address details\")]),_c('div',{staticClass:\"push-v--mobile--small brochure-request__sub-title\"},[_c('h6',{staticClass:\"h6\"},[_c('Warning',{staticClass:\"icon brochure-request__icon\"}),_vm._v(\"We didn't recognize your address\\n entirely\\n \")],1)]),_c('div',{staticClass:\"brochure-request__table\"},[(_vm.state && _vm.state.AddressValidatorModel)?_c('ul',{staticClass:\"brochure-request__tr\"},[_c('li',{staticClass:\"brochure-request__td brochure-request__td--header\"},[_c('p',{staticClass:\"text--subheading\"},[_vm._v(\"Our suggested hints\")])]),_c('li',{staticClass:\"brochure-request__td\"},[_vm._l((_vm.hints),function(hint,index){return [_c('p',{key:index,staticClass:\"brochure-request__address-item text--small\"},[_vm._v(_vm._s(hint))])]})],2),_c('li',{staticClass:\"brochure-request__td\"},[_c('ButtonRow',{staticClass:\"brochure-request__use-address-button\",attrs:{\"label\":\"USE SUGGESTED\"},on:{\"click\":function($event){return _vm.setNewAddress(true)}}})],1)]):_c('ul',{staticClass:\"brochure-request__tr\"},[_c('li',{staticClass:\"brochure-request__td brochure-request__td--header\"},[_c('p',{staticClass:\"text--subheading\"},[_vm._v(\"Errors\")])]),_c('li',{staticClass:\"brochure-request__td\"},_vm._l((_vm.state && _vm.state.AddressErrorMessages.Messages),function(msg,index){return _c('p',{key:index,staticClass:\"brochure-request__address-item text--small\"},[_vm._v(_vm._s(msg))])}),0)]),(_vm.state && _vm.state.BrochureRequestFormModel && _vm.state.BrochureRequestFormModel.Address)?_c('ul',{staticClass:\"brochure-request__tr\"},[_c('li',{staticClass:\"brochure-request__td brochure-request__td--header\"},[_c('p',{staticClass:\"text--subheading\"},[_vm._v(\"You entered\")]),_c('a',{staticClass:\"cta\",on:{\"click\":function($event){$event.preventDefault();return _vm.closeModal($event)}}},[_vm._v(\"Edit\")])]),_c('li',{staticClass:\"brochure-request__td\"},_vm._l((_vm.enteredAddressLines),function(addressLine,index){return _c('p',{key:index,staticClass:\"brochure-request__address-item text--small\"},[_vm._v(_vm._s(addressLine))])}),0),_c('li',{staticClass:\"brochure-request__td brochure-request__td--comment\"},[_c('span',[_vm._v(\"*Your address may be undeliverable\")])]),_c('li',{staticClass:\"brochure-request__td\"},[_c('ButtonRow',{staticClass:\"brochure-request__use-address-button\",attrs:{\"label\":\"USE ADDRESS AS ENTERED*\"},on:{\"click\":function($event){return _vm.setNewAddress(false)}}})],1)]):_vm._e()])])]),(_vm.state.IsBrochureSubmitted)?_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.p.BrochureThankYou)}}):_vm._e(),(_vm.BrochureCardProps && _vm.state.IsBrochureSubmitted)?_c('BrochureDeepLinkModule',{attrs:{\"p\":_vm.BrochureCardProps}}):_vm._e()],1)]):_c('h3',[_vm._v(\"\\n Please open \"),_c('a',{staticClass:\"cta cta--long-text-links font-inherit\",attrs:{\"href\":\"/brochures\"}},[_vm._v(\"brochures list\")]),_vm._v(\"\\n and choose a brochure you want to order\\n \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!./BrochureRequestModule.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!./BrochureRequestModule.ts?vue&type=script&lang=ts&\"","import { Component, Watch, Ref } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport { getComponentProps, openModal, getModalId, closeModal } from '@/utils/vueUtils';\nimport SelectItem from '@/common/interfaces/SelectItem';\nimport { ImageSizes, ImageSize } from '@/common/interfaces/SizeBreakpoints';\n\nimport {\n BrochureRequestBlockViewModel,\n BrochureUpdateCount,\n} from './BrochureRequestModule.types';\nimport BrochureRequestForm from './BrochureRequestForm/BrochureRequestForm.vue';\nimport { BrochureRequestFormModel } from './BrochureRequestForm/BrochureRequestForm.types';\nimport OrderSummaryLockup from './OrderSummaryLockup/OrderSummaryLockup.vue';\n\nimport StoreModuleMixin from '@/mixins/StoreModuleMixin';\nimport {\n BrochureRequestModuleState,\n SHOW_SUMMARY,\n BACK_TO_FORM,\n SUBMIT_BROCHURES,\n SUBMIT_INTERESTS,\n SET_SUGGESTED_ADDRESS,\n VALIDATE_ADDRESS,\n HIDE_ADDRESS_POPUP,\n UPDATE_BROCHURE_COUNT,\n} from './BrochureRequestModule.store';\nimport { InterestsFormModel } from '@/modules/BrochureRequestModule/InterestsForm/InterestsForm.types';\nimport Cross from '@/assets/icons/cross.svg?inline';\nimport ResponsiveImage from '@/components/ResponsiveImage/ResponsiveImage.vue';\nimport Dropdown from '@/forms/FormElements/Inputs/Dropdown/Dropdown.vue';\nimport ButtonRow from '@/forms/FormElements/Rows/ButtonRow/ButtonRow.vue';\nimport Warning from '@/assets/icons/warning.svg?inline';\nimport SelectedBrochuresLockup from './SelectedBrochuresLockup/SelectedBrochuresLockup.vue';\nimport { getCountryName } from '@/forms/FormElements/Rows/AddressRow/AddressRow.helper';\nimport Address from '@/common/interfaces/dto/Address';\nimport { SegmentElement, SegmentTrackEvents } from '@/plugins/utm/SegmentElement';\nimport { getFormPayload } from '@/utils/commonUtils';\nimport RecaptchaMixin from '@/forms/FormElements/Mixins/RecaptchaMixin';\nimport Cookies from 'js-cookie';\nimport BrochureDeepLinkModule from '../BrochureDeepLinkModule/BrochureDeepLinkModule.vue';\nimport { isInUSTimezone } from 'in-us'\nimport { hasAcceptedAdditionalIntegrationsCookie } from '../EmailSignUpModule/EmailSignUpModule.api';\nimport { getCFCountry, shouldShowOptIn } from '@/store';\n\n@Component({\n props: getComponentProps({\n IsBtB: false,\n BackLink: { Title: 'Back to all brochures', Link: '#' },\n SelectedBrochures: [{ Id: 1, Destinations: [1, 12], Title: 'Alaska 2020-21 Brochure', Image: { Url: '#', Alt: '' }, Code: \"ANTA\", IsActive: true, DirectMail: true }],\n MoreBrochures: [{ Id: 1, Destinations: [1, 12], Title: 'Alaska 2020-21 Brochure', Image: { Url: '#', Alt: '' }, Code: \"ANTA\", IsActive: true, DirectMail: true }],\n BrochureThankYou: '

Thank you

',\n InterestsThankYou: '

Thank you

',\n }),\n components: {\n ResponsiveImage,\n Dropdown,\n ButtonRow,\n Cross,\n Warning,\n SelectedBrochuresLockup,\n OrderSummaryLockup,\n BrochureRequestForm,\n BrochureDeepLinkModule,\n },\n})\nexport default class BrochureRequestModule extends mixins(StoreModuleMixin, RecaptchaMixin) {\n readonly p!: BrochureRequestBlockViewModel;\n state!: BrochureRequestModuleState;\n modalId = getModalId(this.uuid);\n\n brochuresPayload: any = {}\n interestsPayload = {}\n\n isMounted = false\n\n @Ref('brochureRequestForm') readonly brochureRequestForm!: BrochureRequestForm;\n\n get getInitialModel() {\n if (this.state.IsFilledOnce) return this.state.BrochureRequestFormModel;\n return this.p.PrefilledModel;\n }\n\n imageSizes: ImageSizes = {\n def: new ImageSize([144, 144]),\n sizes: {\n md: new ImageSize([164, 164]),\n },\n };\n\n created() {\n this.siteKey = '6Leob6kZAAAAAC1T9nc22cyh8vaqbcUHhV1vPloH';\n }\n \n mounted() {\n if (this.state) {\n const allActive = this.state.SelectedBrochures.every(item => item.IsActive);\n const allDirectMail = this.state.SelectedBrochures.every(item => item.DirectMail);\n if (!allActive || (allActive && !allDirectMail)) {\n window.location.href = \"/brochures/\";\n }\n }\n\n SegmentElement.sendEvent('formViewed', {\n ...getFormPayload('BrochureRequestForm', this.$attrs.contentLinkId),\n nonInteraction: 1,\n })\n this.isMounted = true;\n }\n\n get SelectedBrochures() {\n return this.state.SelectedBrochures;\n }\n\n get BrochureCardProps() {\n if (this.state.BrochureCardData) {\n const brochure = this.state.BrochureCardData[0]\n brochure.DirectMail = false\n return {\n Brochures: [brochure]\n }\n }\n }\n\n get hints() {\n return this.getLinesForPopup(this.state.AddressValidatorModel);\n }\n\n get moreBrochuresList(): SelectItem[] {\n if (!this.p.MoreBrochures) return null;\n return this.p.MoreBrochures.map((b) => ({ Value: b.Id, Text: b.Title }));\n }\n\n get enteredAddressLines() {\n return this.getLinesForPopup(this.state.BrochureRequestFormModel.Address);\n }\n\n getLinesForPopup(address: Address) {\n return [\n getCountryName(+address.CountryId),\n address.Street1,\n address.Street2,\n `${address.City}, ${address.StateCode}, ${address.PostalCode}`,\n ].filter((l) => l);\n }\n\n get getAddressLines() {\n const address = this.state.BrochureRequestFormModel.Address;\n return [address.Street1, address.Street2, address.StateCode, address.PostalCode];\n }\n\n submitBrochureForm(model: BrochureRequestFormModel) {\n if (this.state.IsAddressValidated) {\n this.showSummary(model);\n } else {\n this.validateAddress(model);\n }\n }\n\n async submitBrochures() {\n const model = this.state.BrochureRequestFormModel;\n model.IsSubscribe = true;\n model.RecaptchaResponse = await this.getRecaptchaToken();\n this.brochuresPayload = {\n brochure_id: String(model.SelectedBrochures[0].Id),\n brochure_name: model.SelectedBrochures[0].Title,\n ...getFormPayload('BrochureRequestForm', this.$attrs.contentLinkId)\n };\n SegmentElement.sendEvent('formSubmissionAttempted', getFormPayload('BrochureRequestForm', this.$attrs.contentLinkId))\n const referring_domain = Cookies.get('referring_domain')\n const natgeo_disney_marketing_optin = model.DisneyOptin !== undefined ? model.DisneyOptin : null;\n var serverPayload = {\n ...this.brochuresPayload,\n brochure_code: model.SelectedBrochures[0].Code,\n quantity: 1,\n ...(!SegmentElement.getIsLanding() && { previous_page_name: SegmentElement.getPrevPageName() }),\n page_name: SegmentElement.getPageName(),\n ...(model.Person.Title && { title: model.Person.Title }),\n first_name: model.Person.FirstName,\n last_name: model.Person.LastName,\n email: model.Person.Email,\n phone: `+${model.Phone.Code}${model.Phone.Number}`,\n locale: SegmentElement.getLocale(),\n address: \n {\n address_first: model.Address.Street1,\n address_second: model.Address.Street2,\n city: model.Address.City,\n country_code: model.Address.CountryName,\n postal_code: model.Address.PostalCode,\n state: model.Address.StateCode,\n }\n ,\n ...(referring_domain && { referring_domain }),\n ...(model.IsPastGuest && { past_guest: model.IsPastGuest }),\n ...(model.IsTravelAgent && { travel_agent: model.IsTravelAgent }),\n ...(Cookies.get('_fbc') && { fbclid: Cookies.get('_fbc').split('.')[3] }),\n ...(Cookies.get('email_md5') && { email_md5: Cookies.get('email_md5') }),\n ...(Cookies.get('_uetmsclkid') && { mscklid: Cookies.get('_uetmsclkid').split('_uet')[1] }),\n ...(Cookies.get('_gcl_aw') && { gclid: Cookies.get('_gcl_aw').split('.')[2] }),\n ...(shouldShowOptIn() && { eea_uk_optin: true }),\n natgeo_disney_marketing_optin,\n country_code: getCFCountry(),\n };\n const res = { ...model, AnalyticsPayload: JSON.stringify(serverPayload) };\n this.postBrochures(res)\n }\n\n get isBrochuresSubmitted() {\n return this.state?.BrochureRequestId;\n }\n\n @Watch('isBrochuresSubmitted')\n postBrochuresDone(){\n Cookies.set('newsletterSubscribed', true, { expires: 365 });\n\n const hasAccepted = hasAcceptedAdditionalIntegrationsCookie()\n if (hasAccepted === true || (typeof hasAccepted === 'undefined' && isInUSTimezone())) {\n const script = document.createElement('script')\n script.src = `//cdn.datasteam.io/js/D2CA27E6C1BB02.js?conversion=true`\n document.head.appendChild(script)\n }\n\n this.brochuresPayload.transaction_id = this.state.BrochureRequestId;\n SegmentElement.sendEvent(SegmentTrackEvents.formSubmitted, this.brochuresPayload)\n }\n\n get isOpenPopup() {\n return this.state?.IsShowAddresPopup;\n }\n\n get shouldChangeAddress() {\n return this.state?.ShouldChangeAddress;\n }\n\n @Watch('isOpenPopup')\n isOpenPopupChange() {\n if (this.state.IsShowAddresPopup) {\n openModal(this.$modal, this.modalId);\n } else {\n this.closeModal();\n }\n }\n\n @Watch('shouldChangeAddress')\n isAddressChanges() {\n if (this.shouldChangeAddress && this.state.BrochureRequestFormModel?.Address) {\n var addressFormModel = (this.$refs.brochureRequestForm as BrochureRequestForm).$data.model;\n addressFormModel.Address.Street1 = this.state.BrochureRequestFormModel.Address.Street1;\n addressFormModel.Address.Street2 = this.state.BrochureRequestFormModel.Address.Street2;\n addressFormModel.Address.City = this.state.BrochureRequestFormModel.Address.City;\n addressFormModel.Address.StateCode = this.state.BrochureRequestFormModel.Address.StateCode;\n addressFormModel.Address.CountryId = this.state.BrochureRequestFormModel.Address.CountryId;\n addressFormModel.Address.PostalCode = this.state.BrochureRequestFormModel.Address.PostalCode;\n }\n }\n\n closeModal() {\n this.hideAddressPopup();\n closeModal(this.$modal, this.modalId);\n }\n\n showSummary: (model: BrochureRequestFormModel) => void = this.getAction(SHOW_SUMMARY);\n backToForm: () => void = this.getAction(BACK_TO_FORM);\n postBrochures: (payload: any) => void = this.getAction(SUBMIT_BROCHURES);\n postInterests: (model: InterestsFormModel) => void = this.getAction(SUBMIT_INTERESTS);\n validateAddress: (model: BrochureRequestFormModel) => void = this.getAction(VALIDATE_ADDRESS);\n hideAddressPopup: () => void = this.getAction(HIDE_ADDRESS_POPUP);\n setNewAddress: (shouldSetNew: boolean) => void = this.getAction(SET_SUGGESTED_ADDRESS);\n updateBrochureCount: (item: BrochureUpdateCount) => void = this.getMutation(UPDATE_BROCHURE_COUNT,);\n}\n","import { render, staticRenderFns } from \"./BrochureRequestModule.vue?vue&type=template&id=498e1627&\"\nimport script from \"./BrochureRequestModule.ts?vue&type=script&lang=ts&\"\nexport * from \"./BrochureRequestModule.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./BrochureRequestModule.scss?vue&type=style&index=0&lang=scss&\"\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 default interface Person {\n Id?: string;\n Title?: string;\n FirstName: string;\n LastName: string;\n Email?: string;\n EmailConfirmation?: string; //* service field (should not be in BE)\n}\n\nexport type PersonFieldType = keyof Person;\n\nexport const names: { [key in PersonFieldType]: string } = {\n Id: '1',\n Title: 'Title',\n FirstName: 'FirstName',\n LastName: 'LastName',\n Email: 'Email',\n EmailConfirmation: 'EmailConfirmation',\n};\n","export const empty = (value: any) => {\n const result = value === undefined || value === null || value === '';\n\n return result;\n};\n\nexport const twoWords = (value: any) => {\n return value.split(' ').filter(s => s).length > 1;\n};\n\nexport const requireNonWhitespace = (value: any) => {\n if (empty(value?.trim())) {\n return false;\n }\n\n return true;\n};\n\nexport const requireNonUndefined = (value: any) => {\n if (empty(value) && value !== undefined) {\n return false;\n }\n\n return true;\n};\n\nexport const requireWithDefault = (defaultValue: any) => (value: any) => {\n if (empty(value) || value === defaultValue) {\n return false;\n }\n\n return true;\n};\n\nexport const sameAsWithConvert = (prop: string, func: Function = (val: any) => val) => (\n value: any,\n model: any,\n) => func(value) === func(model[prop]);\n\nexport const byRegex = (regex: RegExp, invert: boolean = false) => {\n return (value: any) => {\n if (empty(value)) {\n return true;\n }\n\n let result = regex.test(value);\n\n if (invert) {\n result = !result;\n }\n\n return result;\n };\n};\n\nexport const dangerous = byRegex(/[<>]/, true);\nexport const symbolsNotAllowed = byRegex(/.*[#^*?'].*/, true);\n\nexport const nameComplex = (value: string) => {\n const notEmpty = byRegex(/.*[^ ].*/, false);\n const name = byRegex(\n /^[a-zA-ZàáâäãåąčćęèéêëėįìíîïłńòóôöõøùúûüųūÿýżźñçčšžÀÁÂÄÃÅĄĆČĖĘÈÉÊËÌÍÎÏĮŁŃÒÓÔÖÕØÙÚÛÜŲŪŸÝŻŹÑßÇŒÆČŠŽ∂ð ,.'-]+$/,\n );\n const notOnlySymbol = byRegex(/^[,.'\"-]+$/, true)\n\n return notEmpty(value) && name(value) && notOnlySymbol(value);\n};\nexport const zipCode = byRegex(/(^\\d{5}$)|(^\\d{9}$)/);\nexport const phoneCode = byRegex(/^\\+?[0-9]{1,3}$/);\nexport const phoneAndDashed = byRegex(/^(\\d{8,10}|(\\d{3}-\\d{3}-\\d{4}))$/);\nexport const phoneAndDashedForUK = byRegex(/^(\\d{8,15}|\\d{3}-\\d{3}-\\d{4})$/);\nexport const phoneWithoutCode = byRegex(/^\\d{8,10}$/);\nexport const phoneWithCode = byRegex(/^\\+?[0-9]{9,13}$/);\nexport const booking = byRegex(/^\\d{4,6}$/);\nexport const IATAN = byRegex(/^\\d{3,32}$/);\n\nexport const timeRegex = (value) => {\n if (empty(value)) {\n return true;\n }\n\n return (\n /^(0?[1-9]|1[012]):([0-5][0-9]) [PpAa]{1}[Mm]{1}$/.test(value) ||\n /^([01]?[0-9]|2[0-3]):[0-5][0-9]$/.test(value)\n );\n};\n\nexport const separatedEmails = (value: string) => {\n const emailRegex = byRegex(\n /(^$|^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$)/,\n );\n const splitedEmails = value\n .trim()\n .replace(/\\s/g, '')\n .split(',');\n const validatedEmails = splitedEmails.filter((item) => emailRegex(item));\n return splitedEmails.length === validatedEmails.length && validatedEmails.length < 4;\n};\n","export default interface Address {\n CountryId: number;\n CountryName?: string;\n Street1: string;\n Street2: string;\n City: string;\n StateCode: string;\n PostalCode: string;\n}\n\nexport type AddressFieldType = keyof Address;\n\nexport const names: { [key in AddressFieldType]: keyof Address } = {\n CountryId: 'CountryId',\n CountryName: 'CountryName',\n Street1: 'Street1',\n Street2: 'Street2',\n City: 'City',\n StateCode: 'StateCode',\n PostalCode: 'PostalCode',\n};\n","export default interface Phone {\n Code: string;\n Number: string;\n Home?: string;\n Work?: string;\n}\n\nexport type PhoneFieldType = keyof Phone;\n\nexport const names: { [key in PhoneFieldType]: string } = {\n Code: 'Code',\n Number: 'Number',\n Home: 'Home',\n Work: 'Work',\n};\n","import Vue from 'vue';\nimport Component from 'vue-class-component';\nimport { DispatchOptions, CommitOptions } from 'vuex';\n\nexport function getStoreModuleState(instance: Vue) {\n return instance.$store.state[getStoreModulePath(instance)];\n}\n\nexport function getStoreModulePath(instance: Vue) {\n // @ts-ignore\n if (instance.$route?.params?.store) return instance.$route.params.store;\n\n if (instance.$attrs.vuexModuleStore) return instance.$attrs.vuexModuleStore;\n\n let options: any = instance.$options;\n let parent = instance.$parent;\n while (parent && !options.modulePath && !parent.$attrs.vuexModuleStore) {\n options = parent.$options;\n parent = parent.$parent;\n }\n\n return options.modulePath || parent?.$attrs.vuexModuleStore;\n}\n\n@Component({})\nexport default class StoreModuleMixin extends Vue {\n getters(getter: string) {\n return this.$store.getters[`${this.$storeModulePath}/${getter}`];\n }\n\n getAction(action: string) {\n return (payload?: any, options?: DispatchOptions) => {\n return this.$store.dispatch(`${this.$storeModulePath}/${action}`, payload, options);\n };\n }\n\n getMutation(mutation: string) {\n return (payload?: any, options?: CommitOptions) => {\n this.$store.commit(`${this.$storeModulePath}/${mutation}`, payload, options);\n };\n }\n\n get state() {\n return this.$store.state[this.$storeModulePath];\n }\n\n get $storeModulePath() {\n const path = getStoreModulePath(this);\n\n return path;\n }\n}\n","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"viewBox\":\"0 0 45 45\",\"xmlns\":\"http://www.w3.org/2000/svg\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"d\":\"M16.532 33.269l-8.166-8.166a1.25 1.25 0 011.768-1.768l6.398 6.399 17.367-17.367a1.249 1.249 0 111.768 1.767L16.532 33.269z\"}})])\n )\n }\n }\n ","import ApiService from '@/common/ApiService/ApiService';\nimport { HttpVerb } from '@/common/ApiService/HttpVerb';\nimport { email } from 'vuelidate/lib/validators';\n\nconst commonService = new ApiService('/api/CommonService/', {\n returnData: true,\n});\n\nexport const isInBlackList = (value: string) => {\n if (!value || !(email as any)(value)) return true;\n\n return commonService.call(\n `CheckInBlackListEmail`,\n { email: value },\n { handleErrors: false, showLoading: false, cancel: true, verb: HttpVerb.GET },\n );\n};\n","import { required, email, sameAs } from 'vuelidate/lib/validators';\n\nimport BaseValidation from '@/forms/Validations/BaseValidation';\nimport ValidationRule from '@/forms/Validations/ValidationRule';\n\nimport { names } from '@/common/interfaces/dto/Person';\nimport { separatedEmails } from '@/forms/Validations/CommonRules';\nimport { isInBlackList } from '@/forms/Validations/AsyncRules';\n\nexport { names } from '@/common/interfaces/dto/Person';\n\ninterface EmailParams {\n name?: string;\n addConfirmation?: boolean;\n notRequired?: boolean;\n commaSeparatedEmails?: boolean;\n addBlackListValidation?: boolean;\n}\n\nexport default (path: string = '', rowParams?: EmailParams) => {\n const emailRequredRules = rowParams?.notRequired ? {} : { required };\n const emailValidationRules = rowParams?.commaSeparatedEmails ? separatedEmails : email;\n const blackList = rowParams?.addBlackListValidation ? { isInBlackList } : {};\n\n const rules: ValidationRule[] = [\n {\n name: rowParams?.name || names.Email,\n rules: { ...emailRequredRules, emailValidationRules, ...blackList },\n messages: {\n required: 'Enter an email address',\n emailValidationRules: 'Enter a valid email address',\n isInBlackList: 'Your email is blocked',\n },\n },\n ];\n\n if (rowParams?.addConfirmation) {\n rules.push({\n name: names.EmailConfirmation,\n rules: { required, same: sameAs(names.Email) },\n messages: {\n required: 'Enter an email confirmation',\n same: 'Your email address does not match',\n },\n });\n }\n\n return new BaseValidation(rules, path);\n};\n","import { required } from 'vuelidate/lib/validators';\nimport { nameComplex } from '@/forms/Validations/CommonRules';\n\nimport BaseValidation from '@/forms/Validations/BaseValidation';\n\nimport { names } from '@/common/interfaces/dto/Person';\nexport { names } from '@/common/interfaces/dto/Person';\n\ninterface NameParams {\n isTitleRequired?: boolean;\n removeTitle?: boolean;\n stripRequired?: boolean;\n}\n\nexport default (path: string = '', params?: NameParams) => {\n const rules = [];\n\n if (params?.removeTitle !== true) {\n rules.push({\n name: names.Title,\n rules: params?.isTitleRequired && !params?.stripRequired ? { required } : {},\n messages: {\n required: 'Choose a title',\n },\n });\n }\n\n rules.push({\n name: names.FirstName,\n rules: {\n ...(!params?.stripRequired ? { required } : {}),\n nameComplex,\n },\n messages: {\n required: 'Enter a first name',\n nameComplex: 'Enter a valid first name',\n },\n });\n\n rules.push({\n name: names.LastName,\n rules: {\n ...(!params?.stripRequired ? { required } : {}),\n nameComplex,\n },\n messages: {\n required: 'Enter a last name',\n nameComplex: 'Enter a valid last name',\n },\n });\n\n const result = new BaseValidation(rules, path);\n\n return result;\n};\n","import { getStore } from '@/store/index';\nimport SelectItem from '@/common/interfaces/SelectItem';\nimport Address, { names, AddressFieldType } from '@/common/interfaces/dto/Address';\nimport { getCountryData, CountryFullData } from '@/api/CountryStateApi';\n\nimport {\n validate,\n getInfoByZipCode,\n StreetAutocompleteParams,\n getAddressSuggestions,\n} from './AddressRow.api';\n\nimport { Country } from '@/store/modules/metadataModule';\n\nlet country = getStore().state.Meta.Country;\n\nlet data: CountryFullData = getCountryData();\n\nconst UsId = 385;\nconst AusId = 211;\nconst CanadaId = 400;\nconst UkId = 384;\n\nexport const isUs = (countryId: number) => countryId === UsId;\nexport const isCanada = (countryId: number) => countryId === CanadaId;\nexport const isStateCountries = (countryId: number) =>\n data.States.map((s) => s.CountryId).includes(+countryId);\n\nexport const changeModelByCountryId = (\n input: (field: AddressFieldType, value: any) => void,\n countryId: number,\n init: boolean = false,\n) => {\n input(names.CountryId, countryId);\n\n if (!init) {\n clearChangingFields(input);\n }\n};\n\nexport const clearChangingFields = (input: (field: AddressFieldType, value: any) => void) => {\n input(names.PostalCode, '');\n input(names.StateCode, '');\n};\n\nexport const getAddressAutocompleteSuggestions = async (params: StreetAutocompleteParams) => {\n const result = await getAddressSuggestions(params, {\n showLoading: false,\n cacheResults: true,\n });\n\n if (result.IsOk) {\n return result.Item;\n }\n\n return [];\n};\n\nexport const getInitCountryValue = () => {\n switch (country) {\n case Country.AUS:\n return AusId;\n case Country.UK:\n return UkId;\n default:\n return UsId;\n }\n};\n\nexport const getCountries = (isBrochure: boolean): SelectItem[] => {\n let primeCountries: string[] = [];\n switch (country) {\n case Country.AUS:\n primeCountries = ['Australia', 'New Zealand']; break\n case Country.UK:\n primeCountries = ['United Kingdom']; break\n default:\n primeCountries = ['United States', 'Canada'];\n }\n\n const countries = data.Countries.filter((c) => c.IsForBrochures || !isBrochure).map(\n (c) =>\n ({\n Value: c.Value,\n Text: c.Text,\n data: c,\n } as SelectItem),\n );\n\n const blankLine = {\n Value: -1,\n Text: '',\n Disabled: true,\n data: {},\n } as SelectItem;\n\n return [\n ...(primeCountries\n .map((name) => ({ ...countries.find((c) => name === c.Text) } as SelectItem))\n .map((p) => ({ ...p, Value: p.Value, Prime: true })) // fix vue-select duplicates\n .filter((c) => c) as SelectItem[]),\n blankLine,\n ...countries,\n ];\n};\n\nexport const getStates = (countryId: number) => {\n let states: string[] = data.States.find((s) => s.CountryId === +countryId)?.States || [];\n\n return states.map((s) => ({ Text: s, Value: s }));\n};\n\nexport const getPhoneCode = (countryId?: number) => {\n if (countryId === undefined) {\n countryId = getInitCountryValue();\n }\n\n const country = data.Countries.find((c) => c.Value === countryId);\n\n return country ? country.PhoneCode : '+1';\n};\n\nexport const isShow = (field: AddressFieldType, countryId: number) => {\n switch (field) {\n case names.StateCode:\n return isStateCountries(+countryId);\n case names.PostalCode:\n return !isUs(countryId);\n default:\n return true;\n }\n};\n\nexport const getCountryName = (countryId: number) => {\n const country = data.Countries.find((c) => c.Value === countryId);\n\n return country ? country.Text : '';\n};\n\nexport const validateFullAddress = async (model: Address) => {\n const result = await validate(model, { showLoading: false, cacheResults: true });\n\n return result;\n};\n","import { requiredIf, required } from 'vuelidate/lib/validators';\nimport { phoneAndDashed, phoneCode, empty, phoneAndDashedForUK } from '@/forms/Validations/CommonRules';\n\nimport BaseValidation from '@/forms/Validations/BaseValidation';\nimport ValidationRule from '@/forms/Validations/ValidationRule';\n\nimport { names } from '@/common/interfaces/dto/Phone';\nexport { names } from '@/common/interfaces/dto/Phone';\n\nimport { getPhoneCode } from '@/forms/FormElements/Rows/AddressRow/AddressRow.helper';\nimport { getStore } from '@/store';\n\ninterface PhoneParams {\n isRequired?: boolean;\n multiplyPhones?: boolean;\n}\n\nexport default (path: string = '', params: PhoneParams = {}) => {\n const { isRequired, multiplyPhones } = params;\n const store = getStore()\n const useLongPhone = store.state.Meta.Country === 5 || store.state.Meta.Country === 6\n let rules: ValidationRule[] = [\n {\n name: names.Code,\n rules: {\n ...(isRequired ? { required } : {}),\n requiredIf: requiredIf((function(){\n // @ts-ignore\n if (!this.model.Address) return false\n // @ts-ignore\n return this.model.Address.CountryId !== 385\n })),\n phoneCode,\n },\n messages: {\n ...(isRequired ? { required: 'Enter a phone code' } : {}),\n requiredIf: 'Enter a phone code',\n phoneCode: 'Enter a valid phone code',\n },\n modelValue: getPhoneCode(),\n },\n {\n name: names.Number,\n rules: {\n ...(isRequired ? { required } : {}),\n ...(isRequired && multiplyPhones\n ? {\n requiredMultiple: requiredIf(\n (model: any) => !empty(model[names.Home]) && !empty(model[names.Work]),\n ) as any,\n }\n : {}),\n ...(!isRequired ? { \n required: requiredIf(function(){\n // @ts-ignore\n if (!this.model.Address) return false\n //@ts-ignore\n return this.model.Address.CountryId !== 385\n }),\n } : {}),\n ...(useLongPhone ? { phoneAndDashedForUK } : phoneAndDashed),\n },\n messages: {\n required: 'Enter a phone number',\n requiredMultiple: 'Enter at least one phone number',\n phoneAndDashed: 'Enter a valid phone number',\n },\n },\n ];\n\n if (multiplyPhones) {\n rules.push({\n name: names.Home,\n rules: {\n phoneAndDashed,\n },\n messages: {\n phoneAndDashed: 'Enter a valid phone number',\n },\n });\n rules.push({\n name: names.Work,\n rules: {\n phoneAndDashed,\n },\n messages: {\n phoneAndDashed: 'Enter a valid phone number',\n },\n });\n }\n\n return new BaseValidation(rules, path);\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"lex-row email-row\"},[_c('div',{class:_vm.classList},[_c('TextRow',{class:_vm.className,attrs:{\"label\":_vm.label,\"placeholder\":\" \",\"name\":_vm.name || _vm.names.Email,\"subModel\":_vm.subModel,\"maxlength\":_vm.maxLength,\"type\":\"email\",\"idPrefix\":_vm.idPrefix,\"required\":_vm.isRequired(_vm.name),\"disabled\":_vm.disabled}})],1),(_vm.confirmation)?_c('div',{class:_vm.classList},[_c('TextRow',{attrs:{\"label\":\"Confirm email address\",\"name\":_vm.names.EmailConfirmation,\"subModel\":_vm.subModel,\"maxlength\":_vm.maxLength,\"type\":\"email\",\"disabled\":_vm.disabled}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./EmailRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./EmailRow.ts?vue&type=script&lang=ts&\"","import { Component, Prop } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport TextRow from '@/forms/FormElements/Rows/TextRow/TextRow.vue';\n\nimport RowValidationMixin from '@/forms/FormElements/Mixins/RowValidationMixin';\n\nimport { names } from './EmailRow.validation';\n\n@Component({ components: { TextRow } })\nexport default class EmailRow extends mixins(RowValidationMixin) {\n @Prop({ type: Boolean, default: false })\n readonly confirmation!: boolean;\n\n @Prop({ type: Boolean, default: false })\n readonly fullWidth!: boolean;\n\n @Prop({ type: Number, default: 64 })\n readonly maxLength!: number;\n\n @Prop({ type: String, default: 'Enter your email address' })\n readonly placeholder!: string;\n\n @Prop({ type: String, default: 'Email Address' })\n readonly label!: string;\n\n @Prop({ type: [String, Number], default: '' })\n readonly idPrefix!: string;\n\n @Prop({ type: [String], default: '' })\n readonly className!: string;\n\n get classList() {\n let emailClassListBase = this.fullWidth ? 'lex-col--size-12 ' : 'lex-col--size-9 ';\n\n return (\n emailClassListBase +\n (this.confirmation === true\n ? 'lex-col-md--size-6'\n : this.fullWidth\n ? ''\n : 'lex-col-md--size-8')\n );\n }\n\n names = names;\n}\n","import { render, staticRenderFns } from \"./EmailRow.vue?vue&type=template&id=352c6a1a&\"\nimport script from \"./EmailRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./EmailRow.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./EmailRow.scss?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"lex-row name-row\"},[(_vm.label)?_c('label',{staticClass:\"field-wrapper__label name-row__label lex-col--size-12\"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.showTitle)?_c('div',{staticClass:\"lex-col--size-4 lex-col-md--size-2\"},[_c('DropdownRow',{staticClass:\"select-wrapper\",attrs:{\"label\":\"Title\",\"subModel\":_vm.subModel,\"name\":_vm.names.Title,\"list\":_vm.titleList,\"placeholder\":\" \",\"disabled\":_vm.disabled}})],1):_vm._e(),(_vm.showTitle)?_c('div',{staticClass:\"lex-col--size-9 lex-d-md-none\"}):_vm._e(),_c('div',{staticClass:\"lex-col--size-6 lex-col-md--size-5\"},[_c('TextRow',{attrs:{\"idPrefix\":_vm.idPrefix,\"label\":\"First Name\",\"subModel\":_vm.subModel,\"name\":_vm.names.FirstName,\"placeholder\":\" \",\"maxlength\":_vm.firstNameLength,\"disabled\":_vm.disabled}})],1),_c('div',{staticClass:\"lex-col--size-6 lex-col-md--size-5\"},[_c('TextRow',{attrs:{\"idPrefix\":_vm.idPrefix,\"label\":\"Last Name\",\"subModel\":_vm.subModel,\"name\":_vm.names.LastName,\"placeholder\":\" \",\"maxlength\":_vm.lastNameLength,\"disabled\":_vm.disabled}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./NameRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./NameRow.ts?vue&type=script&lang=ts&\"","import { Component, Prop } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport TextRow from '@/forms/FormElements/Rows/TextRow/TextRow.vue';\nimport DropdownRow from '@/forms/FormElements/Rows/DropdownRow/DropdownRow.vue';\n\nimport RowValidationMixin from '@/forms/FormElements/Mixins/RowValidationMixin';\n\nimport { names } from './NameRow.validation';\n\n@Component({ components: { TextRow, DropdownRow } })\nexport default class NameRow extends mixins(RowValidationMixin) {\n names = names;\n @Prop({ type: Number, default: 14 })\n readonly firstNameLength: number;\n @Prop({ type: Number, default: 18 })\n readonly lastNameLength: number;\n @Prop({ type: [String, Number], default: '' })\n readonly idPrefix!: string;\n\n get showTitle() {\n return this.model[names.Title] !== undefined;\n }\n\n titleList = [\n { Text: 'Mr.', Value: 'Mr.' },\n { Text: 'Mrs.', Value: 'Mrs.' },\n { Text: 'Miss.', Value: 'Miss.' },\n { Text: 'Ms.', Value: 'Ms.' },\n { Text: 'Dr.', Value: 'Dr.' },\n ];\n}\n","import { render, staticRenderFns } from \"./NameRow.vue?vue&type=template&id=1a9c193d&\"\nimport script from \"./NameRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./NameRow.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./NameRow.scss?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:{ 'field-wrapper checkbox-wrapper': !_vm.noGutters },attrs:{\"id\":!_vm.getModelNamesFromList ? _vm.generateFieldId : ''}},[(_vm.label && !_vm.hideLabel)?_c('label',{staticClass:\"field-wrapper__label\"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),_c('div',{class:['lex-checkboxes', { 'lex-checkboxes--row': !_vm.displayAsColumn }]},[_vm._l((_vm.options),function(item){return _c('div',{key:item.Value,staticClass:\"lex-checkboxes__item\"},[_c('label',{staticClass:\"lex-checkbox\",class:{\n error: !!_vm.getCurrentMessage(_vm.name),\n disabled: _vm.disabled || item.Disabled,\n }},[(_vm.getModelNamesFromList)?[_c('CheckInput',{attrs:{\"id\":_vm.generateFieldId + '-' + item.Value,\"checkValue\":item.Value},model:{value:(_vm.model[item.Value]),callback:function ($$v) {_vm.$set(_vm.model, item.Value, $$v)},expression:\"model[item.Value]\"}})]:[_c('CheckInput',{attrs:{\"checked\":_vm.checked,\"id\":_vm.generateFieldId + '-' + item.Value,\"checkValue\":item.Value,\"custom\":_vm.custom},model:{value:(_vm.model[_vm.name]),callback:function ($$v) {_vm.$set(_vm.model, _vm.name, $$v)},expression:\"model[name]\"}})],_c('span',{staticClass:\"lex-checkbox__text\"},[_vm._v(_vm._s(item.Text))]),_vm._t(\"default\")],2)])}),_c('ErrorWrapper',{attrs:{\"message\":_vm.getCurrentMessage(_vm.name)}})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./CheckInput.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./CheckInput.ts?vue&type=script&lang=ts&\"","import { Component, Prop, Ref, Watch } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport { Fragment } from 'vue-fragment';\n\nimport InputValidationMixin from '@/forms/FormElements/Mixins/InputValidationMixin';\n\nimport Tick from '@/assets/icons/tick-alt.svg?inline';\n\n@Component({ components: { Tick, Fragment } })\nexport default class CheckInput extends mixins(InputValidationMixin) {\n @Prop(String)\n readonly id!: string;\n\n @Prop()\n readonly value!: any[] | any;\n\n @Prop({ type: Boolean, default: false })\n readonly checked?: Boolean;\n\n @Prop()\n readonly custom?: Boolean;\n\n @Prop()\n readonly checkValue!: any;\n\n get mappedToArray() {\n return Array.isArray(this.value);\n }\n\n get isChecked() {\n if (this.mappedToArray) {\n return this.value.includes(this.checkValue);\n }\n return this.value;\n }\n\n mounted() {\n if (this.custom) {\n this.$emit('input', this.checked);\n }\n }\n\n change(event: any) {\n const checked = event.target.checked;\n if (this.mappedToArray) {\n const newArray = [...this.value];\n const found = newArray.indexOf(this.checkValue);\n if (found !== -1) {\n newArray.splice(found, 1);\n } else {\n newArray.push(this.checkValue);\n }\n\n this.$emit('input', newArray);\n } else {\n this.$emit('input', checked);\n }\n }\n}\n","import { render, staticRenderFns } from \"./CheckInput.vue?vue&type=template&id=3cba175c&\"\nimport script from \"./CheckInput.ts?vue&type=script&lang=ts&\"\nexport * from \"./CheckInput.ts?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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Fragment',[_c('input',{attrs:{\"type\":\"checkbox\",\"id\":_vm.id},domProps:{\"checked\":_vm.checked,\"value\":_vm.value},on:{\"change\":_vm.change}}),_c('span',{staticClass:\"lex-checkbox__tick\",class:{ 'lex-checkbox__tick--checked': _vm.isChecked }},[(_vm.isChecked)?_c('Tick'):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./CheckBoxRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./CheckBoxRow.ts?vue&type=script&lang=ts&\"","import { Component, Prop } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport FieldWrapper from '@/forms/FormElements/Common/FieldWrapper/FieldWrapper.vue';\nimport ErrorWrapper from '@/forms/FormElements/Common/ErrorWrapper/ErrorWrapper.vue';\nimport CheckInput from '@/forms/FormElements/Inputs/CheckInput/CheckInput.vue';\n\nimport RowValidationMixin from '@/forms/FormElements/Mixins/RowValidationMixin';\nimport SelectItem from '@/common/interfaces/SelectItem';\n\n@Component({ components: { CheckInput, FieldWrapper, ErrorWrapper } })\nexport default class CheckBoxRow extends mixins(RowValidationMixin) {\n @Prop({ type: Array as () => SelectItem[] })\n readonly list!: SelectItem[];\n\n @Prop(Boolean)\n readonly getModelNamesFromList!: boolean;\n\n @Prop(Boolean)\n readonly displayAsColumn!: boolean;\n\n @Prop({ type: Boolean, default: false })\n readonly noGutters!: boolean;\n\n @Prop({ type: Boolean, default: false })\n readonly hideLabel!: boolean;\n\n @Prop({ type: Boolean, default: false })\n readonly checked?: boolean;\n\n @Prop()\n readonly custom?: Boolean;\n\n get options() {\n return this.list || [{ Text: this.label, Value: true }];\n }\n}\n","import { render, staticRenderFns } from \"./CheckBoxRow.vue?vue&type=template&id=13cbf32c&\"\nimport script from \"./CheckBoxRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./CheckBoxRow.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./CheckBoxRow.scss?vue&type=style&index=0&lang=scss&\"\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 const dangerousMessage = 'Please do not use letters \"<\" and \">\" in this field';\n","import { required, requiredIf } from 'vuelidate/lib/validators';\nimport { dangerous, zipCode, requireNonWhitespace, symbolsNotAllowed} from '@/forms/Validations/CommonRules';\nimport { dangerousMessage } from '@/forms/Validations/CommonMessages';\n\nimport BaseValidation from '@/forms/Validations/BaseValidation';\nimport ValidationRule from '@/forms/Validations/ValidationRule';\n\nimport Address, { names, AddressFieldType } from '@/common/interfaces/dto/Address';\nexport { names } from '@/common/interfaces/dto/Address';\n\nimport { isShow, getInitCountryValue } from './AddressRow.helper';\n\nconst getRequireIf = (field: AddressFieldType, invert: boolean = false) => {\n return requiredIf(((model: any) => {\n const result = isShow(field, model[names.CountryId]);\n return invert ? !result : result;\n }) as any);\n};\n\nconst getPostalRequired = (value: string, model: Address) => {\n return !isShow(names.PostalCode, model.CountryId) ? true : requireNonWhitespace(value);\n};\n\nconst getRequireState = () => {\n return requiredIf(((model: any) => isShow(names.StateCode, model[names.CountryId])) as any);\n};\n\nconst getZipIf = (value: string, model: Address) => {\n return isShow(names.PostalCode, model.CountryId) ? true : zipCode(value);\n};\n\ninterface AddressParams {\n stripRequired?: boolean;\n}\n\nexport default (path: string = '', params?: AddressParams) => {\n const rules: ValidationRule[] = [\n {\n name: names.CountryId,\n rules: { required },\n messages: {\n required: 'Select a country',\n },\n modelValue: getInitCountryValue(),\n },\n {\n name: names.Street1,\n rules: { required: requireNonWhitespace, dangerous },\n messages: {\n required: 'Enter an address',\n dangerous: dangerousMessage,\n },\n },\n {\n name: names.Street2,\n rules: { dangerous },\n messages: {\n dangerous: dangerousMessage,\n },\n },\n {\n name: names.City,\n rules: { required: requireNonWhitespace, dangerous, symbolsNotAllowed},\n messages: {\n required: 'Enter a city',\n dangerous: dangerousMessage,\n symbolsNotAllowed: `The symbols #^*?' are not allowed in city names`\n },\n },\n {\n name: names.StateCode,\n rules: {\n requiredState: getRequireState(),\n },\n messages: {\n requiredState: 'Select a state',\n },\n },\n {\n name: names.PostalCode,\n rules: {\n requiredPostal: getPostalRequired,\n required: getRequireIf(names.PostalCode, true),\n zipCode: getZipIf,\n dangerous,\n },\n messages: {\n requiredPostal: 'Enter a postal code',\n required: 'Enter a zip code',\n zipCode: 'Enter a valid zip code',\n dangerous: dangerousMessage,\n },\n },\n ];\n\n if (params?.stripRequired) {\n rules.forEach((r) => {\n const { rules, messages }: { rules: any; messages: any } = r;\n\n delete rules.required;\n delete rules.requiredAus;\n delete rules.requiredPostal;\n delete rules.requiredState;\n\n delete messages.required;\n delete messages.requiredAus;\n delete messages.requiredPostal;\n delete messages.requiredState;\n });\n }\n\n return new BaseValidation(rules, path);\n};\n","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 32 40\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"d\":\"M15.963 23.391a7.429 7.429 0 110-14.857 7.429 7.429 0 110 14.857m0-23.392C7.147 0 0 7.146 0 15.962c0 8.817 15.963 23.293 15.963 23.293S31.926 24.78 31.926 15.962C31.926 7.146 24.779 0 15.963 0\"}})])\n )\n }\n }\n ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"lex-row phone-row\"},[_c('div',{staticClass:\"lex-col--size-4 lex-col-md--size-2\"},[_c('TextRow',{attrs:{\"label\":\"Code\",\"placeholder\":_vm.placeholder,\"formatter\":_vm.codeFormatter,\"name\":_vm.names.Code,\"subModel\":_vm.subModel,\"type\":\"tel\"}})],1),_c('div',{staticClass:\"lex-col--size-8 lex-col-md--size-4\"},[_c('TextRow',{attrs:{\"label\":_vm.label,\"placeholder\":_vm.placeholder,\"formatter\":_vm.numberFormatter,\"name\":_vm.names.Number,\"subModel\":_vm.subModel,\"type\":\"tel\"}})],1),(_vm.multiple)?[_c('TextRow',{staticClass:\"lex-col--size-6 lex-col-md--size-4\",attrs:{\"label\":\"Home\",\"placeholder\":\"Home Number\",\"formatter\":_vm.numberFormatter,\"name\":_vm.names.Home,\"subModel\":_vm.subModel,\"type\":\"tel\"}}),_c('TextRow',{staticClass:\"lex-col--size-6 lex-col-md--size-4\",attrs:{\"label\":\"Work\",\"placeholder\":\"Work Number\",\"formatter\":_vm.numberFormatter,\"name\":_vm.names.Work,\"subModel\":_vm.subModel,\"type\":\"tel\"}})]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { CleaveOptions } from 'cleave.js/options';\n\nexport const getPhoneCodeFormatter = () =>\n ({\n delimiter: '+',\n blocks: [0, 3],\n numericOnly: true,\n } as CleaveOptions);\n\nexport const getPhoneNumberFormatter = (isUK: boolean) => {\n const blocks = isUK ? [0, 2, 0, 4, 7] : [0, 3, 0, 3, 4]\n return ({\n delimiters: ['(', ')', ' ', '-'],\n blocks,\n numericOnly: true,\n } as CleaveOptions);\n}\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./PhoneRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./PhoneRow.ts?vue&type=script&lang=ts&\"","import { Component, Prop, Watch } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport TextRow from '@/forms/FormElements/Rows/TextRow/TextRow.vue';\n\nimport RowValidationMixin from '@/forms/FormElements/Mixins/RowValidationMixin';\n\nimport { names } from './PhoneRow.validation';\nimport { getCountryData } from '@/api/CountryStateApi';\nimport { CleaveOptions } from 'cleave.js/options';\nimport { getPhoneCodeFormatter, getPhoneNumberFormatter } from '@/forms/Formatters';\nimport { getStore } from '@/store';\n\n@Component({ components: { TextRow } })\nexport default class PhoneRow extends mixins(RowValidationMixin) {\n @Prop({ type: String, default: 'Phone number' })\n readonly label!: string;\n\n @Prop({ type: String, default: ' ' })\n readonly placeholder!: string;\n\n @Prop({ type: Boolean, default: false })\n readonly multiple!: boolean;\n\n @Prop()\n readonly countryId!: Number | String;\n\n @Watch('countryId')\n countryIdChange(val: Number | String) {\n const country = getCountryData().Countries.find((c) => c.Value == val);\n this.model[names.Code] = country?.PhoneCode;\n }\n\n isCodeMutated = false;\n\n names = names;\n\n codeFormatter: CleaveOptions = getPhoneCodeFormatter();\n\n get numberFormatter(): CleaveOptions {\n const country = getStore().state.Meta.Country\n return getPhoneNumberFormatter(country === 5 || country === 6)\n }\n}\n","import { render, staticRenderFns } from \"./PhoneRow.vue?vue&type=template&id=1fa0c3b5&\"\nimport script from \"./PhoneRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./PhoneRow.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./PhoneRow.scss?vue&type=style&index=0&lang=scss&\"\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 module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"viewBox\":\"0 0 9 15\",\"xmlns\":\"http://www.w3.org/2000/svg\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"d\":\"M1.093 13.472a.304.304 0 000 .437.324.324 0 00.45 0l6.364-6.19a.304.304 0 000-.438l-6.364-6.19a.325.325 0 00-.45 0 .304.304 0 000 .437l6.142 5.975-6.142 5.969z\",\"fill\":\"#FFF\",\"stroke\":\"#979797\"}})])\n )\n }\n }\n ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"lex-row adress-row\"},[_c('div',{staticClass:\"lex-col--size-12 lex-col-md--size-6\"},[_c('DropdownRow',{staticClass:\"country-of-residence\",attrs:{\"label\":\"Country of residence\",\"placeholder\":\" \",\"list\":_vm.countries,\"filterDuplicates\":true,\"subModel\":_vm.subModel,\"name\":_vm.names.CountryId},on:{\"change\":_vm.countryChanged,\"fullOption\":_vm.fullOption}})],1),_c('div',{staticClass:\"lex-col-md--size-6\"}),_c('div',{staticClass:\"lex-col--size-12 lex-col-md--size-6\"},[_c('TextRow',{attrs:{\"label\":\"Address line 1\",\"placeholder\":\" \",\"name\":_vm.names.Street1,\"subModel\":_vm.subModel,\"maxlength\":_vm.addressLine1MaxLength}})],1),_c('div',{staticClass:\"lex-col-md--size-6\"}),_c('div',{staticClass:\"lex-col--size-12 lex-col-md--size-6\"},[_c('TextRow',{attrs:{\"label\":\"Address line 2\",\"placeholder\":\" \",\"name\":_vm.names.Street2,\"subModel\":_vm.subModel,\"maxlength\":_vm.addressLine2MaxLength}})],1),_c('div',{staticClass:\"lex-col--size-12 lex-col-md--size-6\"},[_c('TextRow',{attrs:{\"label\":\"City\",\"placeholder\":\" \",\"name\":_vm.names.City,\"subModel\":_vm.subModel,\"maxlength\":_vm.cityMaxLength}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showPart(_vm.names.StateCode)),expression:\"showPart(names.StateCode)\"}],staticClass:\"lex-col--size-6 lex-col-md--size-4\"},[_c('DropdownRow',{attrs:{\"label\":_vm.getStateLabel,\"placeholder\":\" \",\"subModel\":_vm.subModel,\"name\":_vm.names.StateCode,\"idPrefix\":\"-StateCode1\",\"list\":_vm.states,\"required\":_vm.isStateRequred}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showPart(_vm.names.StateCode)),expression:\"!showPart(names.StateCode)\"}],staticClass:\"lex-col--size-6 lex-col-md--size-4\"},[_c('TextRow',{attrs:{\"label\":\"Province\",\"placeholder\":\" \",\"name\":_vm.names.StateCode,\"idPrefix\":\"-StateCode2\",\"subModel\":_vm.subModel,\"maxlength\":\"50\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showPart(_vm.names.PostalCode)),expression:\"!showPart(names.PostalCode)\"}],staticClass:\"lex-col--size-6 lex-col-md--size-3\"},[_c('TextRow',{attrs:{\"label\":\"Zip Code \",\"placeholder\":\" \",\"name\":_vm.names.PostalCode,\"idPrefix\":\"-Zip\",\"subModel\":_vm.subModel,\"formatter\":_vm.fullZipCode ? _vm.zipFullFormatter : _vm.zipFormatter,\"type\":\"number\",\"pattern\":\"\\\\d*\",\"filterWatch\":_vm.showPart(_vm.names.PostalCode),\"autocomplete\":\"off\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showPart(_vm.names.PostalCode)),expression:\"showPart(names.PostalCode)\"}],staticClass:\"lex-col--size-6 lex-col-md--size-3\"},[_c('TextRow',{attrs:{\"label\":\"Postcode\",\"placeholder\":\" \",\"name\":_vm.names.PostalCode,\"idPrefix\":\"-Postcode\",\"subModel\":_vm.subModel,\"maxlength\":_vm.postCodeMaxLength,\"filterWatch\":!_vm.showPart(_vm.names.PostalCode)}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./AddressRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./AddressRow.ts?vue&type=script&lang=ts&\"","import { Component, Prop, Watch } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\nimport { CleaveOptions } from 'cleave.js/options';\n\nimport DropdownModel from '@/common/interfaces/DropdownModel';\n\nimport TextRow from '@/forms/FormElements/Rows/TextRow/TextRow.vue';\nimport DropdownRow from '@/forms/FormElements/Rows/DropdownRow/DropdownRow.vue';\n\nimport RowValidationMixin from '@/forms/FormElements/Mixins/RowValidationMixin';\n\nimport { names } from './AddressRow.validation';\nimport { AddressFieldType } from '@/common/interfaces/dto/Address';\n\nimport {\n clearChangingFields,\n getStates,\n getCountries,\n isShow,\n isCanada,\n isStateCountries,\n} from './AddressRow.helper';\n\n@Component({ components: { TextRow, DropdownRow } })\nexport default class AddressRow extends mixins(RowValidationMixin) {\n // Shorten list of countries by IsBrochure criteria\n @Prop({ type: Boolean, default: false })\n readonly IsBrochure!: boolean;\n @Prop({ type: Number, default: 50 })\n readonly addressLine1MaxLength: number;\n @Prop({ type: Number, default: 50 })\n readonly addressLine2MaxLength: number;\n @Prop({ type: Number, default: 50 })\n readonly cityMaxLength: number;\n @Prop({ type: Number, default: 10 })\n readonly postCodeMaxLength: number;\n @Prop({ type: Boolean, default: false })\n readonly fullZipCode: boolean;\n\n names = names;\n\n zipFormatter: CleaveOptions = {\n blocks: [5],\n numericOnly: true,\n };\n\n zipFullFormatter: CleaveOptions = {\n blocks: [9],\n numericOnly: true,\n };\n\n countryChanged(value, prevValue) {\n if (isStateCountries(value) || isStateCountries(prevValue))\n clearChangingFields(this.input as any);\n }\n\n fullOption(option) {\n this.$emit('fullOption', option)\n }\n\n get getStateLabel() {\n return isCanada(this.countryId) ? 'Province' : 'State';\n }\n\n get countryId() {\n return this.model[names.CountryId];\n }\n\n get countries() {\n return getCountries(this.IsBrochure);\n }\n\n get states() {\n return getStates(this.countryId);\n }\n\n get isStateRequred() {\n return this.validation[this.names.StateCode].requiredState !== undefined;\n }\n\n showPart(part: AddressFieldType) {\n const result = isShow(part, this.countryId);\n return result;\n }\n}\n","import { render, staticRenderFns } from \"./AddressRow.vue?vue&type=template&id=67c2358c&\"\nimport script from \"./AddressRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./AddressRow.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./AddressRow.scss?vue&type=style&index=0&lang=scss&\"\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","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReCaptchaInstance = void 0;\nvar ReCaptchaInstance = (function () {\n function ReCaptchaInstance(siteKey, recaptchaID, recaptcha) {\n this.siteKey = siteKey;\n this.recaptchaID = recaptchaID;\n this.recaptcha = recaptcha;\n this.styleContainer = null;\n }\n ReCaptchaInstance.prototype.execute = function (action) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2, this.recaptcha.enterprise ? this.recaptcha.enterprise.execute(this.recaptchaID, { action: action }) : this.recaptcha.execute(this.recaptchaID, { action: action })];\n });\n });\n };\n ReCaptchaInstance.prototype.getSiteKey = function () {\n return this.siteKey;\n };\n ReCaptchaInstance.prototype.hideBadge = function () {\n if (this.styleContainer !== null) {\n return;\n }\n this.styleContainer = document.createElement('style');\n this.styleContainer.innerHTML = '.grecaptcha-badge{visibility:hidden !important;}';\n document.head.appendChild(this.styleContainer);\n };\n ReCaptchaInstance.prototype.showBadge = function () {\n if (this.styleContainer === null) {\n return;\n }\n document.head.removeChild(this.styleContainer);\n this.styleContainer = null;\n };\n return ReCaptchaInstance;\n}());\nexports.ReCaptchaInstance = ReCaptchaInstance;\n","import Vue from 'vue';\nimport Component from 'vue-class-component';\nimport { VueReCaptcha } from 'vue-recaptcha-v3'\n\nexport interface RecaptchaResponse {\n RecaptchaResponse?: string\n}\n\n@Component\nexport default class RecaptchaMixin extends Vue {\n siteKey: string = '';\n mounted() {\n if (this.siteKey) {\n Vue.use(VueReCaptcha, { \n siteKey: this.siteKey,\n loaderOptions: {\n explicitRenderParameters: {\n badge: 'bottomleft'\n }\n }\n })\n this.showCaptcha()\n }\n }\n hideCaptcha() {\n const captchaEl = document.getElementById('recaptcha-visible')\n if (captchaEl) captchaEl.remove()\n }\n showCaptcha(){\n document.head.insertAdjacentHTML('beforeend', '')\n }\n async getRecaptchaToken() {\n await this.$recaptchaLoaded()\n return await this.$recaptcha('submit')\n }\n}\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar recaptcha_v3_1 = require(\"recaptcha-v3\");\nfunction VueReCaptcha(Vue, options) {\n var _this = this;\n var plugin = new ReCaptchaVuePlugin();\n var recaptchaLoaded = false;\n var recaptchaError = null;\n var loadedWaiters = [];\n Vue.prototype.$recaptchaLoaded = function () { return new Promise(function (resolve, reject) {\n if (recaptchaError !== null) {\n return reject(recaptchaError);\n }\n if (recaptchaLoaded === true) {\n return resolve(true);\n }\n loadedWaiters.push({ resolve: resolve, reject: reject });\n }); };\n plugin.initializeReCaptcha(options).then(function (wrapper) {\n recaptchaLoaded = true;\n Vue.prototype.$recaptcha = function (action) { return __awaiter(_this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2, wrapper.execute(action)];\n });\n }); };\n Vue.prototype.$recaptchaInstance = wrapper;\n loadedWaiters.forEach(function (v) { return v.resolve(true); });\n }).catch(function (error) {\n recaptchaError = error;\n loadedWaiters.forEach(function (v) { return v.reject(error); });\n });\n}\nexports.VueReCaptcha = VueReCaptcha;\nvar ReCaptchaVuePlugin = (function () {\n function ReCaptchaVuePlugin() {\n }\n ReCaptchaVuePlugin.prototype.initializeReCaptcha = function (options) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2, recaptcha_v3_1.load(options.siteKey, options.loaderOptions)];\n });\n });\n };\n return ReCaptchaVuePlugin;\n}());\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReCaptchaInstance = exports.getInstance = exports.load = void 0;\nvar ReCaptchaLoader_1 = require(\"./ReCaptchaLoader\");\nObject.defineProperty(exports, \"load\", { enumerable: true, get: function () { return ReCaptchaLoader_1.load; } });\nObject.defineProperty(exports, \"getInstance\", { enumerable: true, get: function () { return ReCaptchaLoader_1.getInstance; } });\nvar ReCaptchaInstance_1 = require(\"./ReCaptchaInstance\");\nObject.defineProperty(exports, \"ReCaptchaInstance\", { enumerable: true, get: function () { return ReCaptchaInstance_1.ReCaptchaInstance; } });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getInstance = exports.load = void 0;\nvar ReCaptchaInstance_1 = require(\"./ReCaptchaInstance\");\nvar ELoadingState;\n(function (ELoadingState) {\n ELoadingState[ELoadingState[\"NOT_LOADED\"] = 0] = \"NOT_LOADED\";\n ELoadingState[ELoadingState[\"LOADING\"] = 1] = \"LOADING\";\n ELoadingState[ELoadingState[\"LOADED\"] = 2] = \"LOADED\";\n})(ELoadingState || (ELoadingState = {}));\nvar ReCaptchaLoader = (function () {\n function ReCaptchaLoader() {\n }\n ReCaptchaLoader.load = function (siteKey, options) {\n if (options === void 0) { options = {}; }\n if (typeof document === 'undefined') {\n return Promise.reject(new Error('This is a library for the browser!'));\n }\n if (ReCaptchaLoader.getLoadingState() === ELoadingState.LOADED) {\n if (ReCaptchaLoader.instance.getSiteKey() === siteKey) {\n return Promise.resolve(ReCaptchaLoader.instance);\n }\n else {\n return Promise.reject(new Error('reCAPTCHA already loaded with different site key!'));\n }\n }\n if (ReCaptchaLoader.getLoadingState() === ELoadingState.LOADING) {\n if (siteKey !== ReCaptchaLoader.instanceSiteKey) {\n return Promise.reject(new Error('reCAPTCHA already loaded with different site key!'));\n }\n return new Promise(function (resolve, reject) {\n ReCaptchaLoader.successfulLoadingConsumers.push(function (instance) { return resolve(instance); });\n ReCaptchaLoader.errorLoadingRunnable.push(function (reason) { return reject(reason); });\n });\n }\n ReCaptchaLoader.instanceSiteKey = siteKey;\n ReCaptchaLoader.setLoadingState(ELoadingState.LOADING);\n var loader = new ReCaptchaLoader();\n return new Promise(function (resolve, reject) {\n loader.loadScript(siteKey, options.useRecaptchaNet || false, options.useEnterprise || false, options.renderParameters ? options.renderParameters : {}, options.customUrl).then(function () {\n ReCaptchaLoader.setLoadingState(ELoadingState.LOADED);\n var widgetID = loader.doExplicitRender(grecaptcha, siteKey, options.explicitRenderParameters ? options.explicitRenderParameters : {}, options.useEnterprise || false);\n var instance = new ReCaptchaInstance_1.ReCaptchaInstance(siteKey, widgetID, grecaptcha);\n ReCaptchaLoader.successfulLoadingConsumers.forEach(function (v) { return v(instance); });\n ReCaptchaLoader.successfulLoadingConsumers = [];\n if (options.autoHideBadge) {\n instance.hideBadge();\n }\n ReCaptchaLoader.instance = instance;\n resolve(instance);\n }).catch(function (error) {\n ReCaptchaLoader.errorLoadingRunnable.forEach(function (v) { return v(error); });\n ReCaptchaLoader.errorLoadingRunnable = [];\n reject(error);\n });\n });\n };\n ReCaptchaLoader.getInstance = function () {\n return ReCaptchaLoader.instance;\n };\n ReCaptchaLoader.setLoadingState = function (state) {\n ReCaptchaLoader.loadingState = state;\n };\n ReCaptchaLoader.getLoadingState = function () {\n if (ReCaptchaLoader.loadingState === null) {\n return ELoadingState.NOT_LOADED;\n }\n else {\n return ReCaptchaLoader.loadingState;\n }\n };\n ReCaptchaLoader.prototype.loadScript = function (siteKey, useRecaptchaNet, useEnterprise, renderParameters, customUrl) {\n var _this = this;\n if (useRecaptchaNet === void 0) { useRecaptchaNet = false; }\n if (useEnterprise === void 0) { useEnterprise = false; }\n if (renderParameters === void 0) { renderParameters = {}; }\n if (customUrl === void 0) { customUrl = ''; }\n var scriptElement = document.createElement('script');\n scriptElement.setAttribute('recaptcha-v3-script', '');\n var scriptBase = 'https://www.google.com/recaptcha/api.js';\n if (useRecaptchaNet) {\n if (useEnterprise) {\n scriptBase = 'https://recaptcha.net/recaptcha/enterprise.js';\n }\n else {\n scriptBase = 'https://recaptcha.net/recaptcha/api.js';\n }\n }\n if (useEnterprise) {\n scriptBase = 'https://www.google.com/recaptcha/enterprise.js';\n }\n if (customUrl) {\n scriptBase = customUrl;\n }\n if (renderParameters.render) {\n renderParameters.render = undefined;\n }\n var parametersQuery = this.buildQueryString(renderParameters);\n scriptElement.src = scriptBase + '?render=explicit' + parametersQuery;\n return new Promise(function (resolve, reject) {\n scriptElement.addEventListener('load', _this.waitForScriptToLoad(function () {\n resolve(scriptElement);\n }, useEnterprise), false);\n scriptElement.onerror = function (error) {\n ReCaptchaLoader.setLoadingState(ELoadingState.NOT_LOADED);\n reject(error);\n };\n document.head.appendChild(scriptElement);\n });\n };\n ReCaptchaLoader.prototype.buildQueryString = function (parameters) {\n var parameterKeys = Object.keys(parameters);\n if (parameterKeys.length < 1) {\n return '';\n }\n return '&' + Object.keys(parameters)\n .filter(function (parameterKey) {\n return !!parameters[parameterKey];\n })\n .map(function (parameterKey) {\n return parameterKey + '=' + parameters[parameterKey];\n }).join('&');\n };\n ReCaptchaLoader.prototype.waitForScriptToLoad = function (callback, useEnterprise) {\n var _this = this;\n return function () {\n if (window.grecaptcha === undefined) {\n setTimeout(function () {\n _this.waitForScriptToLoad(callback, useEnterprise);\n }, ReCaptchaLoader.SCRIPT_LOAD_DELAY);\n }\n else {\n if (useEnterprise) {\n window.grecaptcha.enterprise.ready(function () {\n callback();\n });\n }\n else {\n window.grecaptcha.ready(function () {\n callback();\n });\n }\n }\n };\n };\n ReCaptchaLoader.prototype.doExplicitRender = function (grecaptcha, siteKey, parameters, isEnterprise) {\n var augmentedParameters = {\n sitekey: siteKey,\n badge: parameters.badge,\n size: parameters.size,\n tabindex: parameters.tabindex\n };\n if (parameters.container) {\n if (isEnterprise) {\n return grecaptcha.enterprise.render(parameters.container, augmentedParameters);\n }\n else {\n return grecaptcha.render(parameters.container, augmentedParameters);\n }\n }\n else {\n if (isEnterprise) {\n return grecaptcha.enterprise.render(augmentedParameters);\n }\n else {\n return grecaptcha.render(augmentedParameters);\n }\n }\n };\n ReCaptchaLoader.loadingState = null;\n ReCaptchaLoader.instance = null;\n ReCaptchaLoader.instanceSiteKey = null;\n ReCaptchaLoader.successfulLoadingConsumers = [];\n ReCaptchaLoader.errorLoadingRunnable = [];\n ReCaptchaLoader.SCRIPT_LOAD_DELAY = 25;\n return ReCaptchaLoader;\n}());\nexports.load = ReCaptchaLoader.load;\nexports.getInstance = ReCaptchaLoader.getInstance;\n","import Vue from 'vue';\nimport Component from 'vue-class-component';\nimport Cookies from 'js-cookie';\nimport { PageModule } from '@/store/modules/modulesLoadModule';\nimport { GET_MODULES } from '@/store/modules/modulesLoadModule';\nimport cloneDeep from 'lodash/cloneDeep';\nimport { getStore } from '@/store';\nimport { Country } from '@/store/modules/metadataModule';\n\n@Component({\n components: {\n NewsletterPopup: () => import('@/modules/NewsletterPopup/NewsletterPopup.vue'),\n },\n})\nexport default class DownloadGateMixin extends Vue {\n downloadStarted = false;\n downloadLink = '';\n newsletterPopup: PageModule;\n gateName = 'BrochureGatingForm'\n created() {\n const newsletter: PageModule = this.$store.getters[GET_MODULES].find((m: PageModule) => m.Type === 'NewsletterPopup');\n const gateNewsletter = cloneDeep(newsletter);\n gateNewsletter.Data.GateName = this.gateName;\n\n const { Country: CountryId } = getStore().state.Meta;\n const NotWorldText = CountryId !== Country.WORLD ? '-National Geographic' : ''\n gateNewsletter.Data.Title = `Subscribe to receive emails from Lindblad Expeditions${NotWorldText} and look forward to receiving this brochure as well as the latest news, original stories and videos, exclusive offers and much more.*`;\n gateNewsletter.Data.ThankYouText = `Welcome to Lindblad Expeditions${NotWorldText}.`;\n this.newsletterPopup = gateNewsletter;\n }\n onNewsletterClosed() {\n this.downloadStarted = false\n }\n onDownloadClick(e: Event, link: string, ShowSubscription: boolean = true) {\n if (!Cookies.get('newsletterSubscribed') && ShowSubscription) {\n e.preventDefault()\n this.downloadStarted = true\n this.downloadLink = link\n if (!this.newsletterPopup.Data.AnalyticsData) this.newsletterPopup.Data.AnalyticsData = {}\n this.newsletterPopup.Data.AnalyticsData.document_url = `${document.location.origin}${link}`\n }\n }\n onNewsletterSubmitted() {\n let name: string;\n if (this.gateName.includes('Brochure')) {\n const path = this.downloadLink.split('/');\n name = path[path.length - 1]\n }\n const link = document.createElement('a');\n link.setAttribute('href', this.downloadLink);\n link.setAttribute('download', name ? name : 'download');\n link.click();\n }\n}\n","import BaseValidation from '@/forms/Validations/BaseValidation';\nimport { isUSAIP, shouldShowOptIn } from '@/store';\n\nexport const names = {\n NewsletterOptin: 'NewsletterOptin',\n DisneyOptin: 'DisneyOptin',\n}\n\nexport default (path: string = '') => {\n const newsletterOptin = {\n name: names.NewsletterOptin,\n rules: { \n required: (val) => {\n if (shouldShowOptIn()) return val\n return true\n }\n },\n messages: {\n required: 'Please check the optin',\n },\n modelValue: false,\n }\n const disneyOptin = { name: names.DisneyOptin, rules: {}, messages: {}, modelValue: false }\n const validationsArr: any[] = [newsletterOptin]\n if (isUSAIP()) validationsArr.push(disneyOptin)\n return (\n new BaseValidation(\n validationsArr,\n path,\n )\n)}","import { shouldShowOptIn } from '@/store';\nimport Vue from 'vue';\nimport Component from 'vue-class-component';\n\n@Component\nexport default class NewsletterOptinMixin extends Vue {\n get shouldShowOptinCheckBox() {\n return shouldShowOptIn()\n }\n}\n","export const DISNEY_OPTIN_HTML = `\nCheck here to also opt in to receive updates, special offers, and other information from National Geographic Expeditions and The Walt Disney Family of Companies. By opting in you agree that you are a U.S. resident and agree to The Walt Disney Family of Companies'\nTerms of Use and acknowledge that you have read their\nPrivacy Policy and\nUS State Privacy Rights Notice.\n`","import { EmailSignUpUser } from '@/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.types';\nimport ApiService from '@/common/ApiService/ApiService';\nimport { HttpVerb } from '@/common/ApiService/HttpVerb';\nimport { AxiosResponse } from 'axios';\nimport Cookies from 'js-cookie';\nimport { isInUSTimezone } from 'in-us'\n\nconst EmailSignUpService = new ApiService('/api/EmailSignUpService/', {\n showLoading: true,\n});\n\nexport const submitEmailSignUp = (model: EmailSignUpUser): Promise => {\n return EmailSignUpService.call('EmailSignUp', model, {\n verb: HttpVerb.POST,\n returnData: false,\n }).then((res: AxiosResponse) => {\n if (res.status == 200) {\n Cookies.set('newsletterSubscribed', true, { expires: 365 });\n \n const hasAccepted = hasAcceptedAdditionalIntegrationsCookie()\n if (hasAccepted === true || (typeof hasAccepted === 'undefined' && isInUSTimezone())) {\n const script = document.createElement('script')\n script.src = `//cdn.datasteam.io/js/D2CA27E6C1BB02.js?conversion=true`\n document.head.appendChild(script)\n }\n\n return { IsOk: true, Item: res.data, Error: null };\n }\n return { IsOk: false, Item: null, Error: res.data };\n });\n};\n\nexport const submitEmailSignUpFollowUp = (model: EmailSignUpUser): Promise => {\n return EmailSignUpService.call('UpdateEmailSignUp', model, {\n verb: HttpVerb.PATCH,\n returnData: false,\n }).then((res: AxiosResponse) => {\n if (res.status == 200) {\n window.scrollTo({\n top: 0,\n behavior: 'smooth'\n });\n return { IsOk: true, Item: res.data, Error: null };\n }\n return { IsOk: false, Item: null, Error: res.data };\n });\n};\n\nexport const hasAcceptedAdditionalIntegrationsCookie = (): boolean => {\n const cookies = Cookies.get('tracking-preferences') || Cookies.get('tracking-preferences-stg')\n if (!cookies) return undefined\n const preferences = JSON.parse(cookies)\n return preferences.custom?.['Additional Integrations'] || false\n}\n","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"viewBox\":\"0 0 45 45\",\"xmlns\":\"http://www.w3.org/2000/svg\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"d\":\"M1 22.5C1 34.355 10.645 44 22.499 44 34.355 44 44 34.355 44 22.5S34.355 1 22.499 1C10.645 1 1 10.645 1 22.5zM22.499 3C33.251 3 42 11.75 42 22.5S33.25 42 22.499 42C11.749 42 3 33.25 3 22.5S11.75 3 22.499 3z\",\"fill\":\"#DC143C\"}}),_c('path',{attrs:{\"d\":\"M21.785 28.865C21.4 21.41 20.14 15.775 20.14 12.52c0-1.715.7-2.52 1.925-2.52 1.19 0 1.925.805 1.925 2.52 0 3.255-1.26 8.89-1.68 16.345h-.525zm.28 7.07c-1.155 0-2.065-.91-2.065-2.03 0-1.12.91-2.03 2.065-2.03 1.12 0 2.03.91 2.03 2.03 0 1.12-.91 2.03-2.03 2.03z\",\"fill\":\"#DC143C\"}})])\n )\n }\n }\n ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CheckBoxRow',{attrs:{\"checked\":_vm.isAccepted,\"name\":_vm.names && _vm.names.CheckTC,\"subModel\":_vm.subModel}},[(!_vm.hasTextSlot)?_c('p',{staticClass:\"text--small\"},[_vm._v(\"\\n I acknowledge that I have read and understood the\\n \"),_c('a',{staticClass:\"cta cta--long-text-links font-inherit\",attrs:{\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"href\":_vm.TermsLink}},[_vm._v(\"reservation terms & conditions \")]),_vm._v(\"\\n and\\n \"),_c('a',{staticClass:\"cta cta--long-text-links font-inherit\",attrs:{\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"href\":_vm.PrivacyPolicyLink}},[_vm._v(\"cancellation policy\")])]):_vm._t(\"text\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { requireWithDefault } from '@/forms/Validations/CommonRules';\n\nimport BaseValidation from '@/forms/Validations/BaseValidation';\n\nexport const names = {\n CheckTC: 'CheckTC',\n};\n\nexport interface TCModel {\n CheckTC: boolean;\n}\n\nexport default (path: string = '') =>\n new BaseValidation(\n [\n {\n name: names.CheckTC,\n rules: { required: requireWithDefault(false) },\n messages: {\n required: 'Please check T&C',\n },\n modelValue: false,\n },\n ],\n path,\n );\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./TermsAndConditionsRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./TermsAndConditionsRow.ts?vue&type=script&lang=ts&\"","import { Component, Prop } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport RowValidationMixin from '@/forms/FormElements/Mixins/RowValidationMixin';\nimport CheckBoxRow from '@/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.vue';\n\nimport { names } from './TermsAndConditionsRow.validation';\n\n@Component({ components: { CheckBoxRow } })\nexport default class TermsAndConditionsRow extends mixins(RowValidationMixin) {\n names = names;\n @Prop()\n TermsLink!: string;\n @Prop()\n PrivacyPolicyLink!: string;\n @Prop()\n isAccepted?: Boolean;\n\n get hasTextSlot() {\n return !!this.$slots.text\n }\n}\n","import { render, staticRenderFns } from \"./TermsAndConditionsRow.vue?vue&type=template&id=a9a6491e&\"\nimport script from \"./TermsAndConditionsRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./TermsAndConditionsRow.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./TermsAndConditionsRow.scss?vue&type=style&index=0&lang=scss&\"\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"],"sourceRoot":""}