1"use strict";(self["webpackChunkracqforms20"]=self["webpackChunkracqforms20"]||[]).push([[8365],{88365:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var o=n(20641),r=n(50953),u=n(2964),s=n(1260),a=n(12177),c=n(99885),p=n(950),i=(0,o.pM)({__name:"PetPurchase_AccountPreferences",props:{step:{}},setup(e){const t=e,n=(0,s.xt)(),i=(0,s.J5)(),l=(0,s.un)(),f=(0,c.s9)();function P(e){i.showJeopardyPanel({jpCode:e})}async function m(e){const o=n.submittingStep(t.step);if(!o.alreadySubmitted){n.showLoadingForCurrentStep();try{const t=Number(e);if(isNaN(t))throw new Error(`Invalid accountPreference: ${e}`);l.quote.primaryPolicyHolderDetails.communicationPreference.value=t,await l.applyRulesAndSave(),n.showLoadingForCurrentStep(!1),n.goNextStep()}catch(r){P(r)}}}function d(){const e=new p.y(l.quote,a.c.STEP,f);e.populateProfileInfo(),e.populatePaymentDetails(),e.populateProfileInfoForPetPurchase(),e.pushAnalytics()}return(0,o.sV)((()=>{d()})),(e,t)=>((0,o.uX)(),(0,o.Wv)(u.A,{step:e.step,quote:(0,r.R1)(l).quote,onEmitSubmitAccountPreferences:t[0]||(t[0]=e=>m(e))},null,8,["step","quote"]))}});const l=i;var f=l}}]); 2//# sourceMappingURL=8365.9e92f142.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.