1"use strict";(self.webpackChunkmy_app=self.webpackChunkmy_app||[]).push([[1348],{5281:(O,C,s)=>{s.d(C,{M:()=>a});var i=s(1222),n=s(2560),p=s(8074),u=s(1322),l=s(2933),d=s(3664);let a=(()=>{class g{constructor(){(0,i.Z)(this,"payments",(0,n.f3M)(l.t)),(0,i.Z)(this,"paymentv2",(0,n.f3M)(p.i)),(0,i.Z)(this,"vars",(0,n.f3M)(u.a)),(0,i.Z)(this,"label","contributors are giving monthly"),(0,i.Z)(this,"supporterImg",void 0),(0,i.Z)(this,"subs",[])}ngOnInit(){this.supporterImg=`/assets/images/random_supporters/${Math.floor(10*Math.random())+1}.png`,this.payments.getSubsCount(),this.subs.push(this.vars.subsCount.subscribe(_=>{this.paymentv2.sipDonors=_}))}ngOnDestroy(){this.subs.forEach(_=>_.unsubscribe())}}return(0,i.Z)(g,"\u0275fac",function(_){return new(_||g)}),(0,i.Z)(g,"\u0275cmp",n.Xpm({type:g,selectors:[["app-payment-sip-donors"]],inputs:{label:"label"},standalone:!0,features:[n.jDz],decls:7,vars:6,consts:[[1,"donors"],["loading","lazy",1,"donors-img"],[1,"donor-count"]],template:function(_,P){1&_&&(n.TgZ(0,"div",0),n._UZ(1,"img",1),n.TgZ(2,"span",2)(3,"strong"),n._uU(4),n.ALo(5,"inrFormat"),n.qZA(),n._uU(6),n.qZA()()),2&_&&(n.xp6(1),n.uIk("data-src",P.supporterImg),n.xp6(3),n.hij(" ",n.xi3(5,3,null==P.paymentv2||null==P.paymentv2.sipDonors?null:P.paymentv2.sipDonors.monthlyDonors,"INR"),""),n.xp6(2),n.hij(" ",P.label,""))},dependencies:[d.m],styles:[".donors[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.donors[_ngcontent-%COMP%] .donors-img[_ngcontent-%COMP%]{width:66px;height:auto}.donors[_ngcontent-%COMP%] .donor-count[_ngcontent-%COMP%]{margin-left:5px;font-size:14px;line-height:20px;color:var(--payment-sip-color)}"]})),g})()},1348:(O,C,s)=>{s.r(C),s.d(C,{SipQuizV2Component:()=>gn});var i=s(1222),n=s(2560),p=s(3547),u=s(7714),l=s(7837),d=s(3328),a=s(1349),g=s(1322),f=s(4666),_=s(4522),P=s(3306),M=s(5759);const w=function(e){return{order:e}};let b=(()=>{class e{constructor(){(0,i.Z)(this,"events",(0,n.f3M)(l.n)),(0,i.Z)(this,"vars",(0,n.f3M)(g.a)),(0,i.Z)(this,"storage",(0,n.f3M)(d.V)),(0,i.Z)(this,"order",void 0),(0,i.Z)(this,"prizeAmount",void 0),(0,i.Z)(this,"ontakeQuiz",new n.vpe),(0,i.Z)(this,"subscription",new u.w0)}ngAfterViewInit(){setTimeout(()=>{this.takeQuiz()},10500)}takeQuiz(){this.ontakeQuiz.emit()}skipQuiz(){this.storage.addSessionData("showQuiz",(!1).toString()),document.getElementById("sip-quiz-wrapper").style.display="none",this.subscription=this.events.sendSystemEvent({eventName:"skip_quiz",info_3:"impact"}).subscribe(t=>t)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}return(0,i.Z)(e,"\u0275fac",function(t){return new(t||e)}),(0,i.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["app-payment-successfull"]],inputs:{order:"order",prizeAmount:"prizeAmount"},outputs:{ontakeQuiz:"ontakeQuiz"},standalone:!0,features:[n.jDz],decls:22,vars:7,consts:[["id","payment-wrapper",1,"wrapper","text-center","w-100","h-100"],[3,"config"],[1,"image-container"],["loading","lazy","data-src","/assets/images/sip/kids.png"],[1,"quiz-info"],[1,"title"],[3,"currency"],[1,"subtitle"],[1,"quiz-footer"],[1,"redirect"],["type","button","mat-raised-button","",3,"click"],[1,"skip"],[3,"click"]],template:function(t,o){1&t&&(n.TgZ(0,"div",0),n._UZ(1,"app-thankyou-success-head",1),n.TgZ(2,"div",2),n._UZ(3,"img",3),n.qZA(),n.TgZ(4,"div",4)(5,"div",5),n._uU(6,"Boost your contribution by another "),n._UZ(7,"app-currency-icon",6),n._uU(8),n.qZA(),n.TgZ(9,"div",7),n._uU(10," Add another "),n._UZ(11,"app-currency-icon",6),n._uU(12),n.qZA()(),n.TgZ(13,"div",8)(14,"span",9),n._uU(15,"Redirecting to quiz in "),n.qZA(),n._uU(16," 10 seconds... "),n.TgZ(17,"button",10),n.NdJ("click",function(){return o.takeQuiz()}),n._uU(18,"Take The Quiz"),n.qZA(),n.TgZ(19,"div",11)(20,"a",12),n.NdJ("click",function(){return o.skipQuiz()}),n._uU(21,"Skip"),n.qZA()()()()),2&t&&(n.xp6(1),n.Q6J("config",n.VKq(5,w,o.order)),n.xp6(6),n.Q6J("currency",null==o.order?null:o.order.iso_currency),n.xp6(1),n.Oqu(o.prizeAmount),n.xp6(3),n.Q6J("currency",null==o.order?null:o.order.iso_currency),n.xp6(1),n.hij(" ",o.prizeAmount," and increase your contribution amount by playing the challenging Ketto Quiz! "))},dependencies:[_.ot,_.lW,P.u,M.N],styles:["mat-progress-bar{border-radius:42px!important} mat-progress-bar .mat-progress-bar-buffer{background-color:#9999994d} mat-progress-bar .mat-progress-bar-background{fill:transparent}.wrapper[_ngcontent-%COMP%]{position:absolute}.wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.wrapper[_ngcontent-%COMP%] .quiz-info[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{max-width:280px;margin:30px auto 20px;font-size:28px;font-weight:700;line-height:27px}.wrapper[_ngcontent-%COMP%] .quiz-info[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{max-width:230px;margin:auto;font-size:16px;font-weight:400;line-height:27px;color:#626262}.wrapper[_ngcontent-%COMP%] .quiz-footer[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0;padding:0 20px;font-size:14px;font-weight:400;line-height:20px}.wrapper[_ngcontent-%COMP%] .quiz-footer[_ngcontent-%COMP%] .redirect[_ngcontent-%COMP%]{color:#9f9f9f}.wrapper[_ngcontent-%COMP%] .quiz-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#01BFBD;border-radius:8px;width:100%;font-size:20px;font-weight:700;line-height:120%;padding:15px 20px;margin:10px 0;box-shadow:0 4px 8px #0000001a;color:#fff;border:none}.wrapper[_ngcontent-%COMP%] .quiz-footer[_ngcontent-%COMP%] .skip[_ngcontent-%COMP%]{margin-bottom:10px;text-decoration:underline;font-size:14px;font-weight:400;line-height:20px;color:#204b6b}@media only screen and (max-width: 340px){.wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:185px}.wrapper[_ngcontent-%COMP%] .quiz-info[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:20px auto 15px}.wrapper[_ngcontent-%COMP%] .quiz-info[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:22px}}@media only screen and (max-height: 541px){.wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:165px}.wrapper[_ngcontent-%COMP%] .quiz-info[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:15px auto}.wrapper[_ngcontent-%COMP%] .quiz-info[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:18px}.wrapper[_ngcontent-%COMP%] .quiz-footer[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:15px}.wrapper[_ngcontent-%COMP%] .quiz-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:10px 20px;margin:6px 0}.wrapper[_ngcontent-%COMP%] .quiz-footer[_ngcontent-%COMP%] .skip[_ngcontent-%COMP%]{margin-bottom:5px;font-size:13px;font-weight:400;line-height:15px}}"]})),e})();var q=s(2487),h=s(8074),x=s(1294),v=s(7822);let y=(()=>{class e{}return(0,i.Z)(e,"\u0275fac",function(t){return new(t||e)}),(0,i.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["app-gesture-intro-overlay"]],standalone:!0,features:[n.jDz],decls:14,vars:0,consts:[[1,"w-100","h-100","overlay","d-flex","flex-column"],[1,"d-flex","flex-fill","top-section","w-100"],[1,"w-50","left-top"],[1,"w-50","right-top"],[1,"middle-section","text-center"],[1,"w-100"],["loading","lazy","data-src","/assets/images/sip/grab.png",1,"grab"],["loading","lazy","data-src","/assets/images/sip/tap-and-hold.png",1,"grab-text"],[1,"d-flex","bottom-section"],[1,"w-50","h-100","left-bottom"],["loading","lazy","data-src","/assets/images/sip/tap_left.png",1,"tap-left-new"],[1,"w-50","h-100","right-bottom"],["loading","lazy","data-src","assets/images/sip/tap_right.png",1,"tap-right-new"]],template:function(t,o){1&t&&(n.TgZ(0,"div",0)(1,"div",1),n._UZ(2,"div",2)(3,"div",3),n.qZA(),n.TgZ(4,"div",4)(5,"div",5),n._UZ(6,"img",6),n.qZA(),n.TgZ(7,"div",5),n._UZ(8,"img",7),n.qZA()(),n.TgZ(9,"div",8)(10,"div",9),n._UZ(11,"img",10),n.qZA(),n.TgZ(12,"div",11),n._UZ(13,"img",12),n.qZA()()())},styles:[".overlay[_ngcontent-%COMP%]{position:fixed;background-color:#0009;top:0}
1.overlay[_ngcontent-%COMP%] .top-section[_ngcontent-%COMP%] .left-top[_ngcontent-%COMP%]{border-right:2px dashed rgba(255,255,255,.5)}.overlay[_ngcontent-%COMP%] .middle-section[_ngcontent-%COMP%]{height:90px;margin:8.78px 0 7px}.overlay[_ngcontent-%COMP%] .middle-section[_ngcontent-%COMP%] .grab[_ngcontent-%COMP%]{width:35.66px;height:34.07px;margin-bottom:10.15px}.overlay[_ngcontent-%COMP%] .middle-section[_ngcontent-%COMP%] .grab-text[_ngcontent-%COMP%]{width:86px;height:45px}.overlay[_ngcontent-%COMP%] .bottom-section[_ngcontent-%COMP%]{height:171px}.overlay[_ngcontent-%COMP%] .bottom-section[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:86px;height:94.57px;position:absolute;bottom:57.43px}.overlay[_ngcontent-%COMP%] .bottom-section[_ngcontent-%COMP%] .left-bottom[_ngcontent-%COMP%]{border-right:2px dashed rgba(255,255,255,.5)}.overlay[_ngcontent-%COMP%] .bottom-section[_ngcontent-%COMP%] .left-bottom[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{left:29px}.overlay[_ngcontent-%COMP%] .bottom-section[_ngcontent-%COMP%] .right-bottom[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{right:29px}"]})),e})();function Z(e,r){if(1&e&&(n.TgZ(0,"div",12),n._UZ(1,"mat-progress-bar",13),n.qZA()),2&e){const t=r.$implicit,o=r.index,c=n.oxw();n.ekj("d-none",null==t?null:t.info),n.xp6(1),n.Q6J("color","#01bfbd")("mode","determinate")("bufferValue",0)("value",c.getValue(o))}}function z(e,r){if(1&e&&(n.TgZ(0,"div",14)(1,"div",15),n._uU(2,"Question "),n.TgZ(3,"span",16),n._uU(4),n.qZA(),n.TgZ(5,"span",17),n._uU(6),n.qZA()(),n.TgZ(7,"div",18),n._UZ(8,"i",19),n.qZA()()),2&e){const t=n.oxw();n.xp6(4),n.hij(" ",t.questions[t.currentQuestionIndex].srNo,""),n.xp6(2),n.hij(" of ",t.questions[t.questions.length-1].srNo,"")}}function Q(e,r){1&e&&(n.TgZ(0,"div",22),n._uU(1,"Keep going!"),n.qZA())}function I(e,r){1&e&&(n.TgZ(0,"div",22),n._uU(1,"You did it!"),n.qZA())}function T(e,r){if(1&e&&(n.TgZ(0,"div",20),n.YNc(1,Q,2,0,"div",21),n.YNc(2,I,2,0,"div",21),n.qZA()),2&e){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",t.currentQuestionIndex!==t.questions.length-1),n.xp6(1),n.Q6J("ngIf",t.currentQuestionIndex===t.questions.length-1)}}function A(e,r){if(1&e&&(n.TgZ(0,"div",26),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.questions[t.currentQuestionIndex].question," ")}}function S(e,r){if(1&e){const t=n.EpF();n.TgZ(0,"div",27)(1,"button",28),n.NdJ("click",function(){const m=n.CHM(t).$implicit,un=n.oxw(2);return n.KtG(un.onOptionSelect(m.option,m.isCorrect))}),n._uU(2),n.qZA()()}if(2&e){const t=r.$implicit,o=n.oxw(2);n.xp6(1),n.Tol(o.checkAnswer(t)),n.xp6(1),n.Oqu(t.option)}}function k(e,r){if(1&e&&(n.TgZ(0,"div",23),n.YNc(1,A,2,1,"div",24),n.YNc(2,S,3,4,"div",25),n.qZA()),2&e){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",t.questions[t.currentQuestionIndex].question),n.xp6(1),n.Q6J("ngForOf",t.questions[t.currentQuestionIndex].options)}}function U(e,r){1&e&&n._UZ(0,"img",39)}function E(e,r){1&e&&n._UZ(0,"img",40)}function D(e,r){1&e&&(n.TgZ(0,"div",41),n._UZ(1,"img",42),n.TgZ(2,"span"),n._uU(3,"Don\u2019t Worry!"),n.qZA()())}function N(e,r){if(1&e&&(n.TgZ(0,"div",43)(1,"strong",44),n._uU(2,"+ "),n._UZ(3,"app-currency-icon",45),n._uU(4,"100"),n.qZA(),n._uU(5," will still be added to your contribution"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(3),n.Q6J("currency",null==t.order?null:t.order.iso_currency)}}function J(e,r){if(1&e&&(n.TgZ(0,"div",46)(1,"strong",44),n._uU(2,"+ "),n._UZ(3,"app-currency-icon",45),n._uU(4,"100"),n.qZA(),n._uU(5," Added to Impact"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(3),n.Q6J("currency",null==t.order?null:t.order.iso_currency)}}function Y(e,r){1&e&&(n.TgZ(0,"div",47),n._UZ(1,"img",48),n.TgZ(2,"span"),n._uU(3,"Well Done!"),n.qZA()())}function F(e,r){if(1&e&&(n.TgZ(0,"div",29)(1,"div",30)(2,"div",31),n.YNc(3,U,1,0,"img",32),n.YNc(4,E,1,0,"img",33),n.qZA(),n.YNc(5,D,4,0,"div",34),n.YNc(6,N,6,1,"div",35),n.YNc(7,J,6,1,"div",36),n.YNc(8,Y,4,0,"div",37),n.qZA(),n.TgZ(9,"div",38),n._uU(10),n.qZA()()),2&e){const t=n.oxw();n.xp6(3),n.Q6J("ngIf",t.isCorrect),n.xp6(1),n.Q6J("ngIf",!t.isCorrect),n.xp6(1),n.Q6J("ngIf",!t.isCorrect),n.xp6(1),n.Q6J("ngIf",!t.isCorrect),n.xp6(1),n.Q6J("ngIf",t.isCorrect),n.xp6(1),n.Q6J("ngIf",t.isCorrect),n.xp6(2),n.hij(" ",t.questions[t.currentQuestionIndex].info," ")}}function j(e,r){if(1&e&&(n.TgZ(0,"div",49)(1,"div",30)(2,"div",31),n._UZ(3,"img",50),n.qZA(),n.TgZ(4,"div",51)(5,"div",52)(6,"mat-icon"),n._uU(7,"info"),n.qZA()(),n.TgZ(8,"div",22),n._uU(9,"Claim the additional "),n.TgZ(10,"strong"),n._UZ(11,"app-currency-icon",45),n._uU(12),n.qZA(),n._uU(13," by signing up for the Social Impact Plan."),n.qZA()(),n.TgZ(14,"div",41)(15,"span"),n._uU(16,"Great!"),n.qZA()()(),n.TgZ(17,"div",38),n._uU(18,"Ketto\u2019s Social Impact Plan lets you make automatic monthly contributions"),n.qZA()()),2&e){const t=n.oxw();n.xp6(11),n.Q6J("currency",null==t.order?null:t.order.iso_currency),n.xp6(1),n.Oqu(t.prizeAmount)}}function L(e,r){1&e&&(n.TgZ(0,"div",53),n._UZ(1,"i",54),n.TgZ(2,"div",55),n._uU(3,"Tap anywhere to continue"),n.qZA()())}function R(e,r){1&e&&(n.TgZ(0,"span"),n._uU(1,"Redeem & Sign Up"),n.qZA())}function B(e,r){1&e&&(n.TgZ(0,"span",61),n._UZ(1,"div")(2,"div")(3,"div")(4,"div"),n.qZA())}const V=function(){return["/new/sip/welcome"]},K=function(e,r){return{amt:e,currency:r}};function W(e,r){if(1&e){const t=n.EpF();
1n.TgZ(0,"div",56)(1,"button",57),n.NdJ("click",function(){n.CHM(t);const c=n.oxw();return n.KtG(c.onPaymentClick())}),n.YNc(2,R,2,0,"span",58),n.YNc(3,B,5,0,"span",59),n.qZA(),n.TgZ(4,"div",60),n.NdJ("click",function(){n.CHM(t);const c=n.oxw();return n.KtG(c.redeemPrizeAmount())}),n._uU(5,"Skip"),n.qZA()()}if(2&e){const t=n.oxw();let o;n.xp6(1),n.Q6J("routerLink",n.DdM(4,V))("queryParams",n.WLB(5,K,null==(o=t.paymentV2.getMinSipAmount(null==t.order?null:t.order.iso_currency))?null:o.amount,null==t.order?null:t.order.iso_currency)),n.xp6(1),n.Q6J("ngIf",!t.vars.isOrderLoading),n.xp6(1),n.Q6J("ngIf",t.vars.isOrderLoading)}}function G(e,r){if(1&e){const t=n.EpF();n.TgZ(0,"app-gesture-intro-overlay",62),n.NdJ("click",function(){n.CHM(t);const c=n.oxw();return n.KtG(c.startQuiz())}),n.qZA()}}let H=(()=>{class e{constructor(){(0,i.Z)(this,"events",(0,n.f3M)(l.n)),(0,i.Z)(this,"vars",(0,n.f3M)(g.a)),(0,i.Z)(this,"util",(0,n.f3M)(a.f)),(0,i.Z)(this,"paymentV2",(0,n.f3M)(h.i)),(0,i.Z)(this,"activatedRoute",(0,n.f3M)(p.gz)),(0,i.Z)(this,"api",(0,n.f3M)(q.s)),(0,i.Z)(this,"storage",(0,n.f3M)(d.V)),(0,i.Z)(this,"order",void 0),(0,i.Z)(this,"prizeAmount",void 0),(0,i.Z)(this,"currentQuestionIndex",0),(0,i.Z)(this,"passedSeconds",0),(0,i.Z)(this,"showGestureOverlay",!0),(0,i.Z)(this,"pressed",!1),(0,i.Z)(this,"questions",[{srNo:1,question:"What does Ketto\u2019s monthly giving program SIP stand for?",step:1,options:[{indicator:"A",option:"Systematic Investment Plan",isCorrect:!1},{indicator:"B",option:"Social Impact Plan",isCorrect:!0},{indicator:"C",option:"Systematic Involvement Program",isCorrect:!1},{indicator:"D",option:"None of the above",isCorrect:!1}]},{srNo:1,step:3,info:"SIP is a monthly giving program that allows its contributors to support over 12 lives every year with as little as INR 100 per month."},{srNo:2,question:"How big is the Ketto SIP contributor community?",step:1,options:[{indicator:"A",option:"0-50k contributors",isCorrect:!1},{indicator:"B",option:"50k-100k contributors",isCorrect:!0},{indicator:"C",option:"100k-500k contributors",isCorrect:!1},{indicator:"D",option:"500k+ contributors",isCorrect:!1}]},{srNo:2,step:3,info:"Since 2019, the Ketto SIP Community has grown significantly, with 50k-100k people currently saving lives every month."},{srNo:3,question:"What exclusive rewards does a Ketto SIP contributor receive?",step:1,options:[{indicator:"A",option:"Teleconsultation",isCorrect:!1},{indicator:"C",option:"Matching Contribution",isCorrect:!1},{indicator:"D",option:"All of the above",isCorrect:!0}]},{srNo:3,step:3,info:"Ketto cares about the well-being of contributors. To reward good deeds, we offer many benefits to help them stay healthy."}]),(0,i.Z)(this,"optionClickFlag",!1),(0,i.Z)(this,"interval",void 0),(0,i.Z)(this,"passedSecondsInterval",void 0),(0,i.Z)(this,"selectedAnswer",""),(0,i.Z)(this,"isCorrect",!1),(0,i.Z)(this,"lastOrder",void 0),(0,i.Z)(this,"remainingSecondsTimeout",void 0),(0,i.Z)(this,"movetoNextScreenTimeout",void 0),(0,i.Z)(this,"subscription",new u.w0)}ngOnInit(){this.vars.lastOrderInfo.subscribe(t=>this.lastOrder=t),this.activatedRoute.queryParams.subscribe(t=>{t.st&&"f"===t.st&&(this.showGestureOverlay=!1,this.currentQuestionIndex=this.questions.length-1,this.isCorrect=this.vars.lastQuizResponse)})}startQuiz(){this.showGestureOverlay=!1,this.sendEvent(this.questions[this.currentQuestionIndex].step),this.setPassedSecondsInterval(),this.interval=setInterval(()=>{this.incrementCurrentQuestionIndex()},2e4)}incrementCurrentQuestionIndex(){this.currentQuestionIndex<this.questions.length-1?(this.currentQuestionIndex+=1,this.sendEvent(this.questions[this.currentQuestionIndex].step),clearTimeout(this.movetoNextScreenTimeout)):(clearInterval(this.interval),clearInterval(this.passedSecondsInterval)),""===this.selectedAnswer&&(this.isCorrect=!1),this.currentQuestionIndex%2==0&&(this.selectedAnswer="")}sendEvent(t,o=""){this.subscription=this.events.sendSystemEvent({eventName:"sip_quiz",info_1:"question_"+this.questions[this.currentQuestionIndex].srNo,info_2:"step_"+t+o,info_3:"impact"}).subscribe(c=>c)}onOptionSelect(t,o){this.selectedAnswer||(this.optionClickFlag=!0,this.selectedAnswer=t,this.isCorrect=o,this.vars.lastQu
1izResponse=o,this.sendEvent(2,o?"_right":"_wrong"),this.movetoNextScreenTimeout=setTimeout(()=>{this.incrementCurrentQuestionIndex(),this.resetInterval(),clearTimeout(this.remainingSecondsTimeout)},800))}checkAnswer(t){return""!==this.selectedAnswer?t.option===this.selectedAnswer?t.isCorrect?"correctAnswer":4===this.currentQuestionIndex?"incorrectAnswerForLastQuestion":"incorrectAnswer":t.isCorrect?4===this.currentQuestionIndex?"blur-option":"correctAnswer":"blur-option":""}resetInterval(){clearInterval(this.interval),clearInterval(this.passedSecondsInterval),this.setPassedSecondsInterval(),this.interval=setInterval(()=>{this.incrementCurrentQuestionIndex()},2e4)}setPassedSecondsInterval(){this.passedSeconds=0,this.passedSecondsInterval=setInterval(()=>{20===this.passedSeconds&&(this.passedSeconds=0),this.passedSeconds++},1e3)}changeIntervalState(t){if(this.currentQuestionIndex!==this.questions.length-1)if(this.optionClickFlag)this.optionClickFlag=!1;else{const o=document.getElementById("quiz-wrapper");t.clientX>o.clientWidth/2&&this.incrementCurrentQuestionIndex(),this.resetInterval(),clearTimeout(this.remainingSecondsTimeout)}}onPress(){clearInterval(this.passedSecondsInterval),clearInterval(this.interval),clearTimeout(this.remainingSecondsTimeout),this.pressed=!0}onPressUp(){if(!0===this.pressed){const t=this.passedSeconds;this.passedSecondsInterval=setInterval(()=>{this.passedSeconds++},1e3),this.remainingSecondsTimeout=setTimeout(()=>{this.currentQuestionIndex===this.questions.length-1?clearInterval(this.passedSecondsInterval):(this.incrementCurrentQuestionIndex(),clearInterval(this.passedSecondsInterval),this.resetInterval())},1e3*(20-t)),this.pressed=!1}}getValue(t){return t===this.questions.length-1&&this.currentQuestionIndex===this.questions.length-1?100:this.currentQuestionIndex===t?this.passedSeconds/20*100:t<this.currentQuestionIndex?100:t>this.currentQuestionIndex?0:void 0}redeemAndSignup(){this.events.sendSystemEvent({eventName:"sip_quiz",info_1:"redeem_and_signup",info_2:this.prizeAmount,info_3:"impact"}).subscribe(t=>t)}redeemPrizeAmount(){this.hideQuiz("sip-quiz"),document.getElementById("redeem-typ").style.display="block",this.events.sendSystemEvent({eventName:"sip_quiz",info_1:"redeem",info_2:this.prizeAmount,info_3:"impact"}).subscribe(t=>t)}hideQuiz(t){this.vars.isQuizCompleted=!0,this.storage.addSessionData("isQuizCompleted",(!0).toString()),document.getElementById(t).style.display="none",this.storage.addSessionData("showQuiz",(!1).toString()),document.getElementById("sip-quiz-wrapper").style.display="none"}onPaymentClick(){this.api.applyCoupon(this.order.campaign_id,{coupon_id:24}).subscribe(()=>{}),this.events.sendSystemEvent({eventName:"give_monthly_new",info_1:"position",info_2:"43",info_3:"impact"}).subscribe(t=>t)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}return(0,i.Z)(e,"\u0275fac",function(t){return new(t||e)}),(0,i.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["app-sip-quiz-question"]],inputs:{order:"order",prizeAmount:"prizeAmount"},standalone:!0,features:[n.jDz],decls:12,vars:9,consts:[["id","quiz-wrapper",1,"wrapper","w-100","h-100",3,"mouseup","touchend","press","pressup","click"],[1,"question-wrapper","h-100"],[1,"bar-container"],["class","bar",3,"d-none",4,"ngFor","ngForOf"],["class","d-flex question-header",4,"ngIf"],["class","answer-info-header",4,"ngIf"],["class","question-container",4,"ngIf"],["class","question-info-section",4,"ngIf"],["class","question-info-section last",4,"ngIf"],["class","info-footer",4,"ngIf"],["class","redeem-section",4,"ngIf"],[3,"click",4,"ngIf"],[1,"bar"],[3,"color","mode","bufferValue","value"],[1,"d-flex","question-header"],[1,"question-title"],[1,"current-question-number"],[1,"out-of"],[1,"flex-fill","text-right"],[1,"icon-kettobirds"],[1,"answer-info-header"],["class","text",4,"ngIf"],[1,"text"],[1,"question-container"],["class","question",4,"ngIf"],["class","option",4,"ngFor","ngForOf"],[1,"question"],[1,"option"],["type","button","mat-raised-button","",3,"click"],[1,"question-info-section"],[1,"info-header"],[1,"info-image"],["class","correct","loading","lazy","src","assets/images/sip/kids-1.png",4,"ngIf"],["class","incorrect","loading","lazy","src","assets/images/sip/kids.png",4,"ngIf"],["class","incorrect-exp",4,"ngIf"],["class","info-header-subtitle incorrect",4,"ngIf"],["class","info-header-subtitle correct",4,"ngIf"],["class","correct-exp",4,"ngIf"],[1,"info"],["loading","lazy","src","assets/images/sip/kids-1.png",1,"correct"],["loading","lazy","src","assets/images/sip/kids.png",1,"incorrect"],[1,"incorrect-exp"],["loading","lazy","src","assets/images/emoji/sad.png"],[1,"info-header-subtitle","incorrect"],[1,"prize"],[3,"currency"],[1,"info-header-subtitle","correct"],[1,"correct-exp"],["loading","lazy","src","assets/images/emoji/party.png"],[1,"question-info-section","last"],["loading","lazy","src","assets/images/sip/kids.png"],[1,"last-info"],[1,"icon"],[1,"info-footer"],[1,"icon-manual-click"],[1,"tap"],[1,"redeem-section"],["queryParamsHandling","merge","mat-raised-button","",3,"routerLink","queryParams","click"],[4,"ngIf"],["class","lds-ellipsis",4,"ngIf"],[1,"redeem-skip",3,"click"],[1,"lds-ellipsis"],[3,"click"]],template:function(t,o){1&t&&(n.TgZ(0,"div",0),n.NdJ("mouseup",function(){return o.onPressUp()})("touchend",function(){return o.onPressUp()})("press",function(){return o.onPress()})("pressup",function(){return o.onPressUp()})("click",function(m){return o.changeIntervalState(m)}),n.TgZ(1,"div",1)(2,"div",2),n.YNc(3,Z,2,6,"div",3),n.qZA(),n.YNc(4,z,9,2,"div",4),n.YNc(5,T,3,2,"div",5),n.YNc(6,k,3,2,"div",6),n.YNc(7,F,11,7,"div",7),n.YNc(8,j,19,2,"div",8),n.YNc(9,L,4,0,"div",9),n.YNc(10,W,6,8,"div",10),n.qZA()(),n.YNc(11,G,1,0,"app-gesture-intro-overlay",11)),2&t&&(n.xp6(3),n.Q6J("ngForOf",o.questions),n.xp6(1),n.Q6J("ngIf",!(null!=o.questions[o.currentQuestionIndex]&&o.questions[o.currentQuestionIndex].info)),n.xp6(1),n.Q6J("ngIf",null==o.questions[o.currentQuestionIndex]?null:o.questions[o.currentQuestionIndex].info),n.xp6(1),n.Q6J("ngIf",!o.questions[o.currentQuestionIndex].info),n.xp6(1),n.Q6J("ngIf",o.questions[o.currentQuestionIndex].info&&o.currentQuestionIndex!==o.questions.length-1),n.xp6(1),n.Q6J("ngIf",o.questions[o.currentQuestionIndex].info&&o.currentQuestionIndex==o.questions.length-1),n.xp6(1),n.Q6J("ngIf",o.questions[o.currentQuestionIndex].info&&1==o.currentQuestionIndex),n.xp6(1),n.Q6J("ngIf",o.currentQuestionIndex===o.questions.length-1),n.xp6(1),n.Q6J("ngIf",o.showGestureOverlay))},dependencies:[f.ax,f.O5,p.Bz,p.rH,x.Cv,x.pW,_.ot,_.lW,v.Ps,v.Hw,M.N,y],styles:[".lds-ellipsis[_ngcontent-%COMP%]{display:inline-block;position:relative;width:64px;
1height:10px}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;width:11px;height:11px;border-radius:50%;background:#fff;animation-timing-function:cubic-bezier(0,1,1,0)}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1){left:6px;animation:_ngcontent-%COMP%_lds-ellipsis1 .6s infinite}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){left:6px;animation:_ngcontent-%COMP%_lds-ellipsis2 .6s infinite}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){left:26px;animation:_ngcontent-%COMP%_lds-ellipsis2 .6s infinite}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){left:45px;animation:_ngcontent-%COMP%_lds-ellipsis3 .6s infinite}@keyframes _ngcontent-%COMP%_lds-ellipsis1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_lds-ellipsis3{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _ngcontent-%COMP%_lds-ellipsis2{0%{transform:translate(0)}to{transform:translate(19px)}}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%]{padding:20px 0}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .bar-container[_ngcontent-%COMP%]{display:flex;margin-bottom:10px;padding:0 20px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .bar-container[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{flex:1 1 auto;border-radius:42px;height:5px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .bar-container[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:not(:last-child){margin-right:7px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%]{padding:0 20px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%] .question-title[_ngcontent-%COMP%]{font-size:17px;font-weight:400;line-height:24px;color:#9f9f9f}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%] .question-title[_ngcontent-%COMP%] .current-question-number[_ngcontent-%COMP%]{color:#01bfbd;font-weight:700}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%] .question-title[_ngcontent-%COMP%] .out-of[_ngcontent-%COMP%]{color:#01bfbd}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%] .icon-kettobirds[_ngcontent-%COMP%]:before{font-size:71px;color:#01bfbd80}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .answer-info-header[_ngcontent-%COMP%]{padding:0 20px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .answer-info-header[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:17px;font-weight:400;line-height:24px;color:#6fd2d0}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%]{margin:20px 30px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .question[_ngcontent-%COMP%]{margin-bottom:70px;font-size:26px;font-weight:700;line-height:120%;color:#204b6b}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{margin-bottom:15px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;font-size:20px;font-weight:500;line-height:120%;padding:10px 15px;background:linear-gradient(180deg,rgba(124,240,239,.1) 0%,rgba(22,100,99,.1) 100%);border:.5px solid #55A8A7;box-sizing:border-box;box-shadow:0 2px 2px #b0bcbc;border-radius:4px;white-space:normal}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] button.correctAnswer[_ngcontent-%COMP%]{background:linear-gradient(180deg,#01BFBD 0%,#169A99 151.82%);border:none}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] button.incorrectAnswer[_ngcontent-%COMP%]{background:linear-gradient(180deg,#FA837D 0%,#DE2D25 130.91%);border:none}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] button.incorrectAnswerForLastQuestion[_ngcontent-%COMP%]{background:#EE6161!important;color:#fff;border:none!important}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] button.blur-option[_ngcontent-%COMP%]{filter:blur(4px);opacity:.5}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%]{position:relative;margin:auto 30px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%]{margin-bottom:20px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%]{margin:40px auto auto;text-align:center}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%] img.incorrect[_ng
1content-%COMP%]{width:180px;height:180px;margin-bottom:30px;border-radius:50%;border:1px solid #00948B;object-fit:cover}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .correct-exp[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .incorrect-exp[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;font-size:28px;font-weight:700;line-height:120%;color:#222}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .correct-exp[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .incorrect-exp[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:12px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .correct-exp[_ngcontent-%COMP%]{margin:40px auto 15px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .incorrect-exp[_ngcontent-%COMP%]{margin:10px auto 20px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-header-subtitle[_ngcontent-%COMP%]{font-size:18px;font-weight:400;line-height:120%;color:#00948b;text-align:center}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-header-subtitle.incorrect[_ngcontent-%COMP%]{margin-bottom:25px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:27px;color:#626262;text-align:center}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%]{margin:auto 0}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%]{margin-top:10px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .last-info[_ngcontent-%COMP%]{display:flex;padding:10px 20px;font-size:12px;font-weight:400;line-height:20px;color:#626262;background:#EBFAFA}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .last-info[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:8px;font-size:20px;font-weight:400;line-height:27px;color:#444}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .last-info[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#01bfbd}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{margin:auto;max-width:260px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .info-footer[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:10px;text-align:center}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .info-footer[_ngcontent-%COMP%] .icon-manual-click[_ngcontent-%COMP%]:before{color:#444;font-size:42px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .info-footer[_ngcontent-%COMP%] .tap[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:23px;color:#444}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .redeem-section[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:0;padding:0 20px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .redeem-section[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;background-color:#01bfbd;box-shadow:0 4px 8px #0000001a;border-radius:8px;padding:18px;color:#fff;font-size:20px;font-weight:700;line-height:120%}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .redeem-section[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .lds-ellipsis[_ngcontent-%COMP%]{color:#fff}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .redeem-section[_ngcontent-%COMP%] .redeem-skip[_ngcontent-%COMP%]{color:#204b6b;text-align:center;font-size:14px;font-weight:400;line-height:20px;padding:10px;text-decoration:underline}@media only screen and (max-width: 340px){.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .question[_ngcontent-%COMP%]{margin-bottom:50px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:17px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%]{margin:20px auto auto}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%] img.incorrect[_ng
1content-%COMP%]{width:160px;height:160px;margin-bottom:15px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%] img.correct[_ngcontent-%COMP%]{height:190px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .correct-exp[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .incorrect-exp[_ngcontent-%COMP%]{font-size:28px;font-weight:700;line-height:120%}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .correct-exp[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .incorrect-exp[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:12px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .correct-exp[_ngcontent-%COMP%]{margin-top:30px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:24px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .info-footer[_ngcontent-%COMP%] .icon-manual-click[_ngcontent-%COMP%]:before{font-size:34px}}@media only screen and (max-height: 541px){.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%] .icon-kettobirds[_ngcontent-%COMP%]:before{font-size:55px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%]{margin:12px 20px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .question[_ngcontent-%COMP%]{margin-bottom:30px;font-size:22px;font-weight:700;line-height:120%}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-container[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:16px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%]{margin:15px auto auto}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%] img.incorrect[_ngcontent-%COMP%]{width:135px;height:135px;margin-bottom:10px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%] img.correct[_ngcontent-%COMP%]{height:150px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .correct-exp[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .incorrect-exp[_ngcontent-%COMP%]{margin:5px auto 10px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .correct-exp[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .incorrect-exp[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:28px;margin-right:12px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .correct-exp[_ngcontent-%COMP%]{margin-top:25px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info-header-subtitle.incorrect[_ng
1content-%COMP%]{margin-bottom:20px!important}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:24px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .info-footer[_ngcontent-%COMP%] .icon-manual-click[_ngcontent-%COMP%]:before{font-size:25px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%]{margin-bottom:10px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%]{margin-top:7px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .info-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:185px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .last-info[_ngcontent-%COMP%]{padding:6px 20px;font-size:12px;font-weight:400;line-height:15px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info-header[_ngcontent-%COMP%] .last-info[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:20px;font-weight:400;line-height:20px}.wrapper[_ngcontent-%COMP%] .question-wrapper[_ngcontent-%COMP%] .question-info-section.last[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:22px}.wrapper[_ngcontent-%COMP%] .redeem-section[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:13px!important}.wrapper[_ngcontent-%COMP%] .redeem-section[_ngcontent-%COMP%] .redeem-skip[_ngcontent-%COMP%]{padding:5px!important}}"]})),e})();var X=s(4641),$=s(5281);function nn(e,r){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const t=n.oxw();let o;n.xp6(1),n.hij("Sign Up With ",null==(o=t.paymentV2.getMinSipAmount(null==t.order?null:t.order.iso_currency))?null:o.text,"/Month")}}function tn(e,r){1&e&&(n.TgZ(0,"span",30),n._UZ(1,"div")(2,"div")(3,"div")(4,"div"),n.qZA())}const en=function(){return{childCount:"12",label:"LIVES EVERY YEAR",upperLabel:"SAVE"}},on=function(){return[]},rn=function(){return{pr:"c"}};let sn=(()=>{class e{constructor(){(0,i.Z)(this,"paymentV2",(0,n.f3M)(h.i)),(0,i.Z)(this,"vars",(0,n.f3M)(g.a)),(0,i.Z)(this,"util",(0,n.f3M)(a.f)),(0,i.Z)(this,"events",(0,n.f3M)(l.n)),(0,i.Z)(this,"order",void 0),(0,i.Z)(this,"lastOrder",void 0),(0,i.Z)(this,"subscription",new u.w0),(0,i.Z)(this,"eventSub",new u.w0),(0,i.Z)(this,"prizeAmount",void 0),(0,i.Z)(this,"currency",void 0)}ngOnInit(){this.subscription=this.vars.lastOrderInfo.subscribe(t=>this.lastOrder=t),this.eventSub=this.events.sendSystemEvent({eventName:"sip_quiz",info_1:"quiz_redeem",info_3:"impact"}).subscribe(t=>t)}ngOnChanges(){this.order?.iso_currency!==this.currency&&(this.prizeAmount=this.util.getPrizeAmount(this.order?.iso_currency),this.currency=this.order?.iso_currency)}onPaymentClick(){this.events.sendSystemEvent({eventName:"give_monthly_new",info_1:"position",info_2:"43",info_3:"impact"}).subscribe(t=>t)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe(),this.eventSub&&this.eventSub.unsubscribe()}}return(0,i.Z)(e,"\u0275fac",function(t){return new(t||e)}),(0,i.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["app-redeem-thank-you-page"]],inputs:{order:"order"},standalone:!0,features:[n.TTD,n.jDz],decls:60,vars:14,consts:[[1,"wrapper","text-center"],[1,"img-container"],["loading","lazy","data-src","/assets/images/thank-you/ty-img-blue.png"],[1,"donation-message-container"],[1,"donation-message"],[3,"currency"],[1,"donation-sub-message"],[1,"sip-card-wrapper"],[1,"card-header","text-left"],[1,"title"],[1,"subtitle"],[1,"donate-card"],[1,"d-flex","benefits-container"],[1,"benefits-list"],[1,"text-left","list-checks"],[1,"d-flex"],[1,"list"],[1,"material-icons"],[1,"list-text-container"],[1,"list-text"],[1,"list-contents"],[1,"list-text-container","contribute"],[1,"d-flex","flex-wrap","align-content-end","flex-fill","pb-2"],[1,"live-count","w-100"],[3,"config"],[1,"monthly-signup","w-100"],["queryParamsHandling","merge","mat-raised-button","",1,"w-100",3,"routerLink","queryParams","click"],[4,"ngIf"],["class","lds-ellipsis",4,"ngIf"],[1,"portfolio-link","w-100","text-center",3,"routerLink"],[1,"lds-ellipsis"]],template:function(t,o){if(1&t&&(n.TgZ(0,"div",0)(1,"div",1),n._UZ(2,"img",2),n.qZA(),n.TgZ(3,"div",3)(4,"div",4)(5,"strong"),n._uU(6,"Your Contribution: "),n._UZ(7,"app-currency-icon",5),n._uU(8),n._UZ(9,"app-currency-icon",5),n._uU(10),n.qZA()(),n.TgZ(11,"div",6),n._uU(12,"The details of your contribution would be sent to you via Email."),n.qZA()(),n.TgZ(13,"div",7)(14,"div",8)(15,"div",9),n._uU(16,"Signup For SIP"),n.qZA(),n.TgZ(17,"div",10),n._uU(18,"With Ketto\u2019s SIP plan, you can make contributions monthly and help save more lives"),n.qZA()(),n.TgZ(19,"div",11)(20,"div",12)(21,"div",13)(22,"div",14)(23,"div",15)(24,"div",16)(25,"i",17),n._uU(26,"done"),n.qZA()(),n.TgZ(27,"div",18)(28,"span",19)(29,"strong"),n._uU(30,"12x Impact compared to regular contributions"),n.qZA()()()(),n.TgZ(31,"div",20)(32,"div",15)(33,"div",16)(34,"i",17),n._uU(35,"done"),n.qZA()(),n.TgZ(36,"div",21)(37,"span",19),n._uU(38,"Contribute to multiple fundraisers"),n.qZA()()(),n.TgZ(39,"div",16)(40,"i",17),n._uU(41,"done"),n.qZA(),n.TgZ(42,"span",19),n._uU(43),n.qZA()(),n.TgZ(44,"div",16)(45,"i",17),n._uU(46,"done"),n.qZA(),n.TgZ(47,"span",19),n._uU(48,"Receive regular Updates"),n.qZA()()()()(),n.TgZ(49,"div",22)(50,"div",23),n._UZ(51,"app-lives-count",24),n.qZA()()()()(),n.TgZ(52,"div",25)(53,"button",26),n.NdJ("
1click",function(){return o.onPaymentClick()}),n.YNc(54,nn,2,1,"span",27),n.YNc(55,tn,5,0,"span",28),n.qZA()(),n.TgZ(56,"div"),n._UZ(57,"app-payment-sip-donors"),n.qZA(),n.TgZ(58,"div",29),n._uU(59,"Go To Your Portfolio"),n.qZA()()),2&t){let c;n.xp6(7),n.Q6J("currency",null==o.order?null:o.order.iso_currency),n.xp6(1),n.hij("",null==o.order?null:o.order.donated_amount_local," + "),n.xp6(1),n.Q6J("currency",null==o.order?null:o.order.iso_currency),n.xp6(1),n.Oqu(o.prizeAmount),n.xp6(33),n.hij("Start with just ",null==(c=o.paymentV2.getMinSipAmount(null==o.order?null:o.order.iso_currency))?null:c.text,"/month"),n.xp6(8),n.Q6J("config",n.DdM(11,en)),n.xp6(2),n.Q6J("routerLink",n.DdM(12,on))("queryParams",n.DdM(13,rn)),n.xp6(1),n.Q6J("ngIf",!o.vars.isOrderLoading),n.xp6(1),n.Q6J("ngIf",o.vars.isOrderLoading),n.xp6(3),n.Q6J("routerLink","/new/portfolio")}},dependencies:[f.O5,p.Bz,p.rH,_.ot,_.lW,M.N,X.m,$.M],styles:[".lds-ellipsis[_ngcontent-%COMP%]{display:inline-block;position:relative;width:64px;height:10px}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;width:11px;height:11px;border-radius:50%;background:#fff;animation-timing-function:cubic-bezier(0,1,1,0)}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1){left:6px;animation:_ngcontent-%COMP%_lds-ellipsis1 .6s infinite}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){left:6px;animation:_ngcontent-%COMP%_lds-ellipsis2 .6s infinite}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){left:26px;animation:_ngcontent-%COMP%_lds-ellipsis2 .6s infinite}.lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){left:45px;animation:_ngcontent-%COMP%_lds-ellipsis3 .6s infinite}@keyframes _ngcontent-%COMP%_lds-ellipsis1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_lds-ellipsis3{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _ngcontent-%COMP%_lds-ellipsis2{0%{transform:translate(0)}to{transform:translate(19px)}}.wrapper[_ngcontent-%COMP%]{padding:40px 17px 0;height:100%;background:#E7F7FC;position:absolute}.wrapper[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:195px;height:56px}.wrapper[_ngcontent-%COMP%] .donation-message-container[_ngcontent-%COMP%]{margin-top:20px}.wrapper[_ngcontent-%COMP%] .donation-message-container[_ngcontent-%COMP%] .donation-message[_ngcontent-%COMP%]{font-size:20px;font-weight:400;line-height:30px}.wrapper[_ngcontent-%COMP%] .donation-message-container[_ngcontent-%COMP%] .donation-sub-message[_ngcontent-%COMP%]{font-size:17px;font-weight:400;line-height:27px}.wrapper[_ngcontent-%COMP%] .monthly-signup[_ngcontent-%COMP%]{margin-top:15px}.wrapper[_ngcontent-%COMP%] .monthly-signup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#fff;box-shadow:0 4px 8px #12abe61a;border-radius:8px;height:50px;color:#12abe6;font-size:17px;font-weight:700;line-height:20px}.wrapper[_ngcontent-%COMP%] .monthly-signup[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .lds-ellipsis[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background:#12ABE6}.wrapper[_ngcontent-%COMP%] .portfolio-link[_ngcontent-%COMP%]{color:#12abe6;margin-top:30px;outline:none;font-size:14px;font-weight:400;line-height:20px}.wrapper[_ngcontent-%COMP%] app-payment-sip-donors .donors{margin-top:10px}.wrapper[_ngcontent-%COMP%] app-payment-sip-donors .donors .donor-count{color:#12abe6!important}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%]{margin-top:30px;filter:drop-shadow(0px 6px 40px rgba(0,0,0,.1))}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{border-radius:10px 10px 0 0;padding:20px 20px 10px;background:#12ABE6;color:#fff}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:28.8px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{margin-top:5px;font-size:12px;font-weight:400;line-height:15px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%]{background-color:#11a2da;border-radius:0 0 10px 10px;padding:20px 20px 15px;color:#fff}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] .benefits-list[_ngcontent-%COMP%]{width:190px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] .list-checks[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14.4px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] .list-checks[_ngcontent-%COMP%] .contribute[_ng
1content-%COMP%]{margin-top:12px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:top}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:14px;margin-right:6.28px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] .list-contents[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{margin-top:12px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] app-lives-count .lives-text{font-size:12px;font-weight:700;line-height:15.08px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] app-lives-count .lives-count{font-size:48px;font-weight:700;line-height:60.34px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] app-lives-count i{font-size:35.64px;line-height:31.67px}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] app-lives-count i:before{color:#fff}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] app-lives-count .saved-lives{align-items:flex-end;position:relative}.wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%] .donate-card[_ngcontent-%COMP%] .benefits-container[_ngcontent-%COMP%] app-lives-count .upper-label{font-size:17px;font-weight:700;line-height:27px;position:absolute;top:-20px}@media only screen and (max-height: 610px){.wrapper[_ngcontent-%COMP%]{padding-top:20px}.wrapper[_ngcontent-%COMP%] .donation-message-container[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] .sip-card-wrapper[_ngcontent-%COMP%]{margin-top:10px}.wrapper[_ngcontent-%COMP%] .portfolio-link[_ngcontent-%COMP%]{margin-top:18px}}"]})),e})();function cn(e,r){if(1&e){const t=n.EpF();n.TgZ(0,"app-payment-successfull",5),n.NdJ("ontakeQuiz",function(c){n.CHM(t);const m=n.oxw(2);return n.KtG(m.toggleQuiz(c))}),n.qZA()}if(2&e){const t=n.oxw(2);n.Q6J("prizeAmount",t.prizeAmount)("order",t.order)}}function pn(e,r){if(1&e&&n._UZ(0,"app-sip-quiz-question",6),2&e){const t=n.oxw(2);n.Q6J("order",t.order)("prizeAmount",t.prizeAmount)}}function an(e,r){if(1&e&&(n.TgZ(0,"div",1),n.YNc(1,cn,1,2,"app-payment-successfull",2),n.YNc(2,pn,1,2,"app-sip-quiz-question",3),n.TgZ(3,"div"),n._UZ(4,"app-redeem-thank-you-page",4),n.qZA()()),2&e){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",!t.takeQuiz),n.xp6(1),n.Q6J("ngIf",t.takeQuiz),n.xp6(2),n.Q6J("order",t.order)}}let gn=(()=>{class e{constructor(){(0,i.Z)(this,"events",(0,n.f3M)(l.n)),(0,i.Z)(this,"vars",(0,n.f3M)(g.a)),(0,i.Z)(this,"util",(0,n.f3M)(a.f)),(0,i.Z)(this,"activatedRoute",(0,n.f3M)(p.gz)),(0,i.Z)(this,"storage",(0,n.f3M)(d.V)),(0,i.Z)(this,"order",void 0),(0,i.Z)(this,"prizeAmount",void 0),(0,i.Z)(this,"takeQuiz",!1),(0,i.Z)(this,"showQuiz",!0),(0,i.Z)(this,"subscription",new u.w0)}ngOnInit(){const t=this.storage.getFromSession("showQuiz");null!==t&&(this.showQuiz=t),this.activatedRoute.queryParams.subscribe(o=>{o.st&&"f"===o.st&&(this.takeQuiz=!0)})}ngOnChanges(){this.prizeAmount=this.getPrizeAmount()}toggleQuiz(t){this.takeQuiz=!this.takeQuiz,this.takeQuiz&&this.storage.addSessionData("showQuiz",(!1).toString()),this.subscription=this.events.sendSystemEvent({eventName:"take_quiz",info_3:"impact"}).subscribe(o=>o)}getPrizeAmount(){return this.order?this.util.getPrizeAmount(this.order.iso_currency):null}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}return(0,i.Z)(e,"\u0275fac",function(t){return new(t||e)}),(0,i.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["app-sip-quiz-v2"]],inputs:{order:"order"},standalone:!0,features:[n.TTD,n.jDz],decls:1,vars:1,consts:[["id","sip-quiz-wrapper","class","wrapper w-100",4,"ngIf"],["id","sip-quiz-wrapper",1,"wrapper","w-100"],[3,"prizeAmount","order","ontakeQuiz",4,"ngIf"],["id","sip-quiz",3,"order","prizeAmount",4,"ngIf"],["id","redeem-typ",3,"order"],[3,"prizeAmount","order","ontakeQuiz"],["id","sip-quiz",3,"order","prizeAmount"]],template:function(t,o){1&t&&n.YNc(0,an,5,3,"div",0),2&t&&n.Q6J("ngIf",o.showQuiz)},dependencies:[f.O5,b,H,sn],styles:[".wrapper[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;background-color:#fff;z-index:12}.wrapper[_ngcontent-%COMP%] #redeem-typ[_ngcontent-%COMP%]{display:none}"]})),e})()},5759:(O,C,s)=>{s.d(C,{N:()=>u});var i=s(1222),n=s(8525),p=s(2560);let u=(()=>{class l{constructor(){(0,i.Z)(this,"currency",void 0),(0,i.Z)(this,"currencies",n.so),(0,i.Z)(this,"symbolObj",void 0)}ngOnChanges(a){a&&a.currency.currentValue&&a.currency.currentValue&&(this.symbolObj=this.currencies.find(g=>g.currency===this.currency?.toUpperCase()))}}return(0,i.Z)(l,"\u0275fac",function(a){return new(a||l)}),(0,i.Z)(l,"\u0275cmp",p.Xpm({type:l,selectors:[["app-currency-icon"]],inputs:{currency:"currency"},standalone:!0,features:[p.TTD,p.jDz],decls:1,vars:3,consts:[[3,"innerHTML"]],template:function(a,g){1&a&&p._UZ(0,"span",0),2&a&&(p.ekj("currency-symbol",null==g.symbolObj?null:g.symbolObj.is_symbol),p.Q6J("innerHTML",null==g.symbolObj?null:g.symbolObj.symbol,p.oJD))},styles:[".currency-symbol{font-family:sans-serif}\n"],encapsulation:2})),l})()},3664:(O,C,s)=>{s.d(C,{m:()=>p});var i=s(1222),n=s(2560);let p=(()=>{class u{transform(d,a){if(d)return a&&"inr"===a.toLowerCase()?parseInt(d,10).toLocaleStr
1ing("en-IN").split(".")[0]:parseInt(d,10).toLocaleString().split(".")[0]}}return(0,i.Z)(u,"\u0275fac",function(d){return new(d||u)}),(0,i.Z)(u,"\u0275pipe",n.Yjl({name:"inrFormat",type:u,pure:!0,standalone:!0})),u})()}}]); 2//# sourceMappingURL=1348.ce655b3711afec23.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.