define(["exports","./edu-vendor","./edu-main","systemjs","npm:navigo/lib/navigo.js","./ci-widget"],(function(e,t,n,r,i,o){"use strict";function a(e,n){1&e&&(t["ɵɵelementStart"](0,"p",5),t["ɵɵtext"](1,"Enter your cell phone number and we’ll send you a link to install the WalletHub app."),t["ɵɵelementEnd"]())}function s(e,n){1&e&&(t["ɵɵelementStart"](0,"p",6),t["ɵɵtext"](1,"Failed. Please check your phone number."),t["ɵɵelementEnd"]())}function l(e,n){1&e&&(t["ɵɵelementStart"](0,"p",7),t["ɵɵtext"](1,"Awesome! You should be receiving a text with the download link shortly"),t["ɵɵelementEnd"]())}function c(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",8)(1,"button",9),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().closeDialog()})),t["ɵɵtext"](2,"Close"),t["ɵɵelementEnd"]()()}}function u(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"form",10),t["ɵɵlistener"]("onSubmit",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().SendSms()})),t["ɵɵelementStart"](1,"input",11),t["ɵɵlistener"]("input",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().phone=e.target.value})),t["ɵɵelementEnd"](),t["ɵɵelementStart"](2,"p",12),t["ɵɵtext"](3,"Wallethub doesn’t charge for this service. Standard message rates apply."),t["ɵɵelementEnd"](),t["ɵɵelement"](4,"error-toast",13),t["ɵɵelementStart"](5,"div",14)(6,"button",15),t["ɵɵelement"](7,"i",16),t["ɵɵelementStart"](8,"span"),t["ɵɵtext"](9,"Send Link to My Phone"),t["ɵɵelementEnd"]()(),t["ɵɵelement"](10,"div",17),t["ɵɵelementStart"](11,"button",18),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().closeDialog()})),t["ɵɵtext"](12,"Cancel"),t["ɵɵelementEnd"]()()()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵadvance"](1),t["ɵɵproperty"]("value",i.phone),t["ɵɵadvance"](3),t["ɵɵproperty"]("show",i.apifail)("timer",2200),t["ɵɵadvance"](2),t["ɵɵclassProp"]("loadactive",i.sending)}}var d=function(){function e(e){this._cd=e,this.phone=null,this.sending=!1,this.sentfailed=!1,this.sentdone=!1,this.apifail=!1}return e.prototype.SendSms=function(){var e=this;this.sending||n.$http({before:function(){e.sending=!0},after:function(){e.sending=!1},url:n.ajaxUrl(),data:{action:"Sms.SendAndroidLink",type:this.data.android?"android":"apple",phone:this.phone},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(t){t.error&&t.failed?e.sentfailed=!0:(e.sentfailed=!1,e.sentdone=!0),e._cd.detectChanges()}),(function(t){e.apifail=!0,setTimeout((function(){e.apifail=!1,e._cd.detectChanges()}),100)}))},e.prototype.closeMe=function(){this.sending||this.closeDialog()},e.ɵfac=function(n){return new(n||e)(t["ɵɵdirectiveInject"](t.ChangeDetectorRef))},e.ɵcmp=t["ɵɵdefineComponent"]({type:e,selectors:[["app-store"]],decls:5,vars:5,consts:[["class","semi-bold-font",4,"ngIf"],["class","semib-bol-font ng-enter-element",4,"ngIf"],["class","semi-bold-font ng-enter-element",4,"ngIf"],["class","buttons-holder-final ng-enter-element",4,"ngIf"],["form-submit","",3,"onSubmit",4,"ngIf"],[1,"semi-bold-font"],[1,"semib-bol-font","ng-enter-element"],[1,"semi-bold-font","ng-enter-element"],[1,"buttons-holder-final","ng-enter-element"],["type","button","zing-touch","",1,"btn","fixed-w-c",3,"onTap"],["form-submit","",3,"onSubmit"],["type","tel","autocomplete","off","placeholder","cell phone number",1,"textfield","full",3,"value","input"],[1,"app-store-notice"],[3,"show","timer"],[1,"buttons-holder"],["type","submit",1,"btn","with-loader"],[1,"btn-loader"],[1,"btn-spacer"],["type","button","zing-touch","",1,"btn","blue-brds","fixed-w-c","close-bt",3,"onTap"]],template:function(e,n){1&e&&(t["ɵɵtemplate"](0,a,2,0,"p",0),t["ɵɵtemplate"](1,s,2,0,"p",1),t["ɵɵtemplate"](2,l,2,0,"p",2),t["ɵɵtemplate"](3,c,3,0,"div",3),t["ɵɵtemplate"](4,u,13,5,"form",4)),2&e&&(t["ɵɵproperty"]("ngIf",!n.sentfailed&&!n.sentdone),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.sentfailed),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.sentdone),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.sentdone),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!n.sentdone))},directives:[t.NgIf,n.TouchGestures,n.FormSubmit,n.ErrorToastComponent],styles:["app-store .app-store-notice { color : #5D7279; padding-bottom: 15px }\n        app-store .textfield { margin:15px 0 }\n        app-store .buttons-holder {text-align : right}\n        app-store error-toast { display :block; position: relative; }\n        app-store error-toast .errortoast { top:-50px; bottom: auto; }\n        app-store { max-width: 430px; display:block }\n        app-store .buttons-holder-final {text-align:center; padding-top:15px}\n        @media (max-width:480px){\n            app-store { padding : 10px }\n\n        }\n        @media (max-width:390px){\n            app-store error-toast .errortoast { left: 0px }\n\n        }\n        @media (max-width:360px){\n            app-store error-toast .errortoast { left: -20px }\n            app-store .btn-spacer { height: 8px; display : block }\n            app-store .btn { width: 100% }\n            app-store .btn.fixed-w-c { width: 100% }\n        }\n        @media (max-width:340px) {\n            app-store .close-bt {\n                width: 100px;\n            }\n        }\n        \n        "],encapsulation:2}),e}(),p=["smsOverlay"],h=["toTop"],m=["main-footer",""];function f(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",76)(1,"span",77),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().openStoreOvelary(!1)})),t["ɵɵtext"](2," "),t["ɵɵelementEnd"](),t["ɵɵelementStart"](3,"span",78),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().openStoreOvelary(!0)})),t["ɵɵtext"](4," "),t["ɵɵelementEnd"]()()}}function g(e,n){1&e&&(t["ɵɵelementStart"](0,"div",76)(1,"a",79),t["ɵɵtext"](2," "),t["ɵɵelementEnd"](),t["ɵɵelementStart"](3,"a",80),t["ɵɵtext"](4," "),t["ɵɵelementEnd"]()()),2&e&&(t["ɵɵadvance"](1),t["ɵɵproperty"]("zing-url",!0),t["ɵɵadvance"](2),t["ɵɵproperty"]("zing-url",!0))}function _(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",81)(1,"span",77),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().openStoreOvelary(!1)})),t["ɵɵtext"](2," "),t["ɵɵelementEnd"](),t["ɵɵelementStart"](3,"span",82),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().openStoreOvelary(!0)})),t["ɵɵtext"](4," "),t["ɵɵelementEnd"]()()}}function v(e,n){1&e&&(t["ɵɵelementStart"](0,"div",83)(1,"a",84),t["ɵɵtext"](2," "),t["ɵɵelementEnd"](),t["ɵɵelementStart"](3,"a",85),t["ɵɵtext"](4," "),t["ɵɵelementEnd"]()()),2&e&&t["ɵɵproperty"]("zing-url-container",!0)}require("systemjs").import("css:/footer-web.css").then((function(){}),(function(){}));var x,b=function(){function e(e,t,r,i){this._dservice=e,this._el=t,this._render=r,this._zone=i,this.copyrightyear=n.isNode()?"":(new Date).getFullYear(),this.isWeb=!n.isNode(),this.feedbackUrl="/feedback/",this._arrowautoshow=!0,n.Events.keepValueFor("to-top-arrow:show"),n.Events.emit("to-top-arrow:show",!0)}return e.prototype.trackByFn=function(e){return e},e.prototype.ScrollToTop=function(){this._dservice.element.focus(),this._dservice.scrollTo({position:0,timing:300}),setTimeout((function(){n.$http({method:"GET",events:!1,url:n.baseUrl()+"/gototop.png",expectedType:"text",silent:!0})}),300)},e.prototype.openStoreOvelary=function(e){!n.isNode()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobi/i.test(navigator.userAgent)?e?window.open("https://goo.gl/mhG3k4","_blank"):window.open("https://apps.apple.com/us/app/wallethub/id1110552982","_blank"):this._smsOverlay.Open(d,{android:e})},e.prototype.ngOnInit=function(){var e=this;this.isWeb&&(this.feedbackUrl="/feedback/?ref=."+window.location.pathname),n.Events.subscribe("footer:novox",(function(t){!1===t?(e._render.removeAttribute(e._el.nativeElement,"tabindex"),e._render.removeAttribute(e._el.nativeElement,"aria-hidden")):(e._render.setAttribute(e._el.nativeElement,"tabindex","-1"),e._render.setAttribute(e._el.nativeElement,"aria-hidden","true"))}))},e.prototype.openFeedbackPage=function(e){return e.stopPropagation(),e.preventDefault(),window.open("/feedback/?ref="+window.location.pathname,"_parent"),!1},e.prototype.ngAfterViewInit=function(){var e=this;if(this.isWeb&&!window.JSTESTING){var r=this._arrowTop.nativeElement;n.AppContainer().appendChild(r),this._headpos=this._dservice.onScroll.subscribe((function(t){e._arrowautoshow&&(!r.classList.contains("show")&&t>=1800?r.classList.add("show"):r.classList.contains("show")&&t<1800&&r.classList.remove("show"))}));var i=!1;n.Events.subscribe("to-top-arrow:show",(function(n){e._arrowautoshow=n,n?i&&e._dservice.onScroll.pipe(t.take(1)).subscribe((function(e){!r.classList.contains("show")&&e>=1800&&r.classList.add("show")})):r.classList.contains("show")&&(r.classList.remove("show"),i=!0)}))}},e.prototype.ngOnDestroy=function(){this._headpos&&this._headpos.unsubscribe(),n.Events.terminate("to-top-arrow:show"),n.Events.terminate("footer:novox")},e.ɵfac=function(r){return new(r||e)(t["ɵɵdirectiveInject"](n.ScrollerService),t["ɵɵdirectiveInject"](t.ElementRef),t["ɵɵdirectiveInject"](t.Renderer2),t["ɵɵdirectiveInject"](t.NgZone))},e.ɵcmp=t["ɵɵdefineComponent"]({type:e,selectors:[["footer","main-footer",""]],viewQuery:function(e,n){if(1&e&&(t["ɵɵviewQuery"](p,5),t["ɵɵviewQuery"](h,5)),2&e){var r=void 0;t["ɵɵqueryRefresh"](r=t["ɵɵloadQuery"]())&&(n._smsOverlay=r.first),t["ɵɵqueryRefresh"](r=t["ɵɵloadQuery"]())&&(n._arrowTop=r.first)}},attrs:m,decls:267,vars:12,consts:[["zing-touch","","aria-label","Footer Main Menu",1,"main",3,"zing-url-container"],[1,"label"],["href","/about/"],["href","/media/"],["href","/jobs/"],["href","/contact/"],["href","/edu/statistics"],["href","/add-listing/"],["href","/answers/#sp=597"],["rel","nofollow","zing-touch","",3,"href","zing-url","onTap"],["href","/community/guidelines/"],["href","/terms/privacy/"],["href","/terms/"],["href","/accessibility"],["href","/pi-request?dontsell=1"],["href","/credit-cards/0-apr/"],["href","/credit-cards/balance-transfer/"],["href","/credit-cards/low-interest/"],["href","/best-credit-card-rates"],["href","/best-cash-back-credit-card"],["href","/credit-cards/gas/"],["href","/credit-cards/airline-miles/"],["href","/credit-cards/hotel/"],["href","/credit-cards/rewards/"],["href","/best-business-credit-card"],["href","/credit-cards/no-credit-student/"],["href","/best-credit-cards"],["href","/credit-cards/store/"],["href","/credit-cards/charge-cards/"],["href","/credit-cards/emv/"],["href","/credit-cards/no-foreign-transaction-fee/"],["href","/best-credit-card-deals"],["href","/credit-cards/no-annual-fee/"],["href","/credit-cards/secured/"],["href","/credit-cards/unsecured/"],["href","/credit-cards/excellent-credit/"],["href","/credit-cards/good-credit/"],["href","/credit-cards/fair-credit/"],["href","/credit-cards/bad-credit/"],["href","/credit-cards/no-credit/"],["href","/free-credit-score"],["href","/free-credit-report"],["href","/free-credit-monitoring"],["href","/wallet-literacy-score/"],["href","/credit-score-range/"],["href","/awards/"],["href","/local-financial-products/"],["href","/product-directory/"],["href","/search-directory/"],["href","/banks"],["href","/cheap-car-insurance"],["href","/credit-unions"],["href","/mortgage-brokers"],["href","/real-estate-agents"],["href","/insurance-agents"],["href","/insurance-companies"],["href","/attorneys"],["class","mobileButtons top-mb-score-bts",4,"ngIf"],["zing-touch","","aria-label","Footer First Menu",1,"small",3,"zing-url-container"],["href","/credit-cards/"],["zing-touch","","aria-label","Footer Second Menu",1,"second-small",3,"zing-url-container"],["class","mobileButtons",4,"ngIf"],["class","mobileButtons","zing-touch","",3,"zing-url-container",4,"ngIf"],["aria-label","Copyright"],["tabindex","0","role","text"],["id","footer_cta"],[1,"big-content"],[1,"cta_arrow"],[1,"small-content"],[1,"small-mobile-content"],[1,"main-content"],[1,"center"],["onclick","location.href='/join/';",1,"join_for_free"],["smsOverlay",""],["id","global-arrow-up","zing-touch","","role","button","tabindex","0","aria-label","Go to the top",3,"onTap"],["toTop",""],[1,"mobileButtons","top-mb-score-bts"],["zing-touch","","role","link","aria-label","get on the app store","tabindex","0",1,"store-link","appleStore",3,"onTap"],["zing-touch","","role","link","aria-label","get on the google play","tabindex","0",1,"store-link","googlePlay",3,"onTap"],["zing-touch","","href","https://apps.apple.com/us/app/wallethub/id1110552982?mt=8","target","_blank","rel","noopener","title","get on the app store",1,"store-link","appleStore",3,"zing-url"],["zing-touch","","href","https://play.google.com/store/apps/details?id=com.wallethub.mywallet","target","_blank","rel","noopener","title","get on the google play",1,"store-link","googlePlay",3,"zing-url"],[1,"mobileButtons"],["zing-touch","","role","link","aria-label","get get on the google play","tabindex","0",1,"store-link","googlePlay",3,"onTap"],["zing-touch","",1,"mobileButtons",3,"zing-url-container"],["href","https://apps.apple.com/us/app/wallethub/id1110552982?mt=8","target","_blank","rel","noopener","title","get on the app store","aria-label","get on the app store",1,"store-link","appleStore"],["href","https://play.google.com/store/apps/details?id=com.wallethub.mywallet","target","_blank","rel","noopener","title","get on the google play","aria-label","get on the google play",1,"store-link","googlePlay"]],template:function(e,n){1&e&&(t["ɵɵelementStart"](0,"nav",0)(1,"ul")(2,"li",1),t["ɵɵtext"](3,"About"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](4,"li")(5,"a",2),t["ɵɵtext"](6,"About Us"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](7,"li")(8,"a",3),t["ɵɵtext"](9,"Media"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](10,"li")(11,"a",4),t["ɵɵtext"](12,"Jobs"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](13,"li")(14,"a",5),t["ɵɵtext"](15,"Contact Us"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](16,"li")(17,"a",6),t["ɵɵtext"](18,"Studies & Reports"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](19,"li")(20,"a",7),t["ɵɵtext"](21,"Businesses"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](22,"li",1),t["ɵɵtext"](23,"Help & Legal"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](24,"li")(25,"a",8),t["ɵɵtext"](26,"FAQ"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](27,"li")(28,"a",9),t["ɵɵlistener"]("onTap",(function(e){return n.openFeedbackPage(e)})),t["ɵɵtext"](29,"Feedback"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](30,"li")(31,"a",10),t["ɵɵtext"](32,"Guidelines"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](33,"li")(34,"a",11),t["ɵɵtext"](35,"Privacy"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](36,"li")(37,"a",12),t["ɵɵtext"](38,"Terms"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](39,"li")(40,"a",13),t["ɵɵtext"](41,"Accessibility"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](42,"li")(43,"a",14),t["ɵɵtext"](44,"Do Not Sell My"),t["ɵɵelement"](45,"br"),t["ɵɵtext"](46,"Personal Information"),t["ɵɵelementEnd"]()()(),t["ɵɵelementStart"](47,"ul")(48,"li",1),t["ɵɵtext"](49,"Credit Card Rates"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](50,"li")(51,"a",15),t["ɵɵtext"](52,"0% APR"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](53,"li")(54,"a",16),t["ɵɵtext"](55,"Balance Transfer"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](56,"li")(57,"a",17),t["ɵɵtext"](58,"Low Interest"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](59,"li")(60,"a",18),t["ɵɵtext"](61,"Best Rates"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](62,"li",1),t["ɵɵtext"](63,"Credit Card Rewards"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](64,"li")(65,"a",19),t["ɵɵtext"](66,"Cash Back"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](67,"li")(68,"a",20),t["ɵɵtext"](69,"Gas"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](70,"li")(71,"a",21),t["ɵɵtext"](72,"Airline"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](73,"li")(74,"a",22),t["ɵɵtext"](75,"Hotel"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](76,"li")(77,"a",23),t["ɵɵtext"](78,"All Rewards"),t["ɵɵelementEnd"]()()(),t["ɵɵelementStart"](79,"ul")(80,"li",1),t["ɵɵtext"](81,"Credit Card Types"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](82,"li")(83,"a",24),t["ɵɵtext"](84,"Business"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](85,"li")(86,"a",25),t["ɵɵtext"](87,"Student"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](88,"li")(89,"a",26),t["ɵɵtext"](90,"Editors Best"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](91,"li")(92,"a",27),t["ɵɵtext"](93,"Store Cards"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](94,"li")(95,"a",28),t["ɵɵtext"](96,"Charge Cards"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](97,"li")(98,"a",29),t["ɵɵtext"](99,"Smart Chip"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](100,"li")(101,"a",30),t["ɵɵtext"](102,"No Foreign Fee"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](103,"li")(104,"a",31),t["ɵɵtext"](105,"Credit Card Deals"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](106,"li")(107,"a",32),t["ɵɵtext"](108,"No Annual Fee"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](109,"li")(110,"a",33),t["ɵɵtext"](111,"Secured Cards"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](112,"li")(113,"a",34),t["ɵɵtext"](114,"Unsecured Cards"),t["ɵɵelementEnd"]()()(),t["ɵɵelementStart"](115,"ul")(116,"li",1),t["ɵɵtext"](117,"Cards by Credit Score"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](118,"li")(119,"a",35),t["ɵɵtext"](120,"Excellent Credit"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](121,"li")(122,"a",36),t["ɵɵtext"](123,"Good Credit"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](124,"li")(125,"a",37),t["ɵɵtext"](126,"Fair Credit"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](127,"li")(128,"a",38),t["ɵɵtext"](129,"Bad Credit"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](130,"li")(131,"a",39),t["ɵɵtext"](132,"No Credit"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](133,"li",1),t["ɵɵtext"](134,"Credit Tools"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](135,"li")(136,"a",40),t["ɵɵtext"](137,"Free Credit Score"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](138,"li")(139,"a",41),t["ɵɵtext"](140,"Free Credit Report"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](141,"li")(142,"a",42),t["ɵɵtext"](143,"Free Credit Monitoring"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](144,"li")(145,"a",43),t["ɵɵtext"](146,"WalletLiteracy Score"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](147,"li")(148,"a",44),t["ɵɵtext"](149,"Credit Score Range"),t["ɵɵelementEnd"]()()(),t["ɵɵelementStart"](150,"ul")(151,"li",1),t["ɵɵtext"](152,"Financial Directories"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](153,"li")(154,"a",45),t["ɵɵtext"](155,"WalletHub Awards"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](156,"li")(157,"a",46),t["ɵɵtext"](158,"Nearby Providers"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](159,"li")(160,"a",47),t["ɵɵtext"](161,"Popular Products"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](162,"li")(163,"a",48),t["ɵɵtext"](164,"Popular Searches"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](165,"li")(166,"a",49),t["ɵɵtext"](167,"Banks"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](168,"li")(169,"a",50),t["ɵɵtext"](170,"Cheap Car Insurance"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](171,"li")(172,"a",51),t["ɵɵtext"](173,"Credit Unions"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](174,"li")(175,"a",52),t["ɵɵtext"](176,"Mortgage Brokers"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](177,"li")(178,"a",53),t["ɵɵtext"](179,"Real Estate Agents"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](180,"li")(181,"a",54),t["ɵɵtext"](182,"Insurance Agents"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](183,"li")(184,"a",55),t["ɵɵtext"](185,"Insurance Companies"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](186,"li")(187,"a",56),t["ɵɵtext"](188,"Attorneys"),t["ɵɵelementEnd"]()()()(),t["ɵɵtemplate"](189,f,5,0,"div",57),t["ɵɵtemplate"](190,g,5,2,"div",57),t["ɵɵelementStart"](191,"nav",58)(192,"div")(193,"a",2),t["ɵɵtext"](194,"About"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](195,"a",3),t["ɵɵtext"](196,"Media"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](197,"a",5),t["ɵɵtext"](198,"Contact Us"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](199,"a",4),t["ɵɵtext"](200,"Jobs"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](201,"div")(202,"a",59),t["ɵɵtext"](203,"Credit Cards"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](204,"a",6),t["ɵɵtext"](205,"Studies"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](206,"a",40),t["ɵɵtext"](207,"Credit Score"),t["ɵɵelementEnd"]()()(),t["ɵɵelementStart"](208,"nav",60)(209,"div")(210,"a",11),t["ɵɵtext"](211,"Privacy Policy"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](212,"a",12),t["ɵɵtext"](213,"Terms"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](214,"a",10),t["ɵɵtext"](215,"Guidelines"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](216,"div")(217,"a",14),t["ɵɵtext"](218,"Do Not Sell My Personal Information"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](219,"div")(220,"a",9),t["ɵɵlistener"]("onTap",(function(e){return n.openFeedbackPage(e)})),t["ɵɵtext"](221,"Feedback"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](222,"a",13),t["ɵɵtext"](223,"Accessibility"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](224,"a",7),t["ɵɵtext"](225,"Businesses"),t["ɵɵelementEnd"]()()(),t["ɵɵtemplate"](226,_,5,0,"div",61),t["ɵɵtemplate"](227,v,5,1,"div",62),t["ɵɵelementStart"](228,"aside",63)(229,"div",64),t["ɵɵtext"](230),t["ɵɵelementStart"](231,"span"),t["ɵɵtext"](232,"All Rights Reserved."),t["ɵɵelementEnd"]()()(),t["ɵɵelementStart"](233,"div",65)(234,"span",66),t["ɵɵtext"](235,"Get unlimited free credit scores & reports "),t["ɵɵelement"](236,"span",67),t["ɵɵelementEnd"](),t["ɵɵelementStart"](237,"span",68),t["ɵɵtext"](238,"Sign up for free credit monitoring "),t["ɵɵelement"](239,"span",67),t["ɵɵelementEnd"](),t["ɵɵelementStart"](240,"span",69),t["ɵɵtext"](241,"get your free credit score & report "),t["ɵɵelement"](242,"span",67),t["ɵɵelementEnd"](),t["ɵɵelementStart"](243,"div",70)(244,"h3"),t["ɵɵtext"](245,"Join WalletHub"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](246,"p"),t["ɵɵtext"](247,"+ 100% Free"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](248,"p"),t["ɵɵtext"](249,"+ Unlimited Credit Reports"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](250,"p"),t["ɵɵtext"](251,"+ Unlimited Credit Scores"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](252,"p"),t["ɵɵtext"](253,"+ Credit Monitoring Protection"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](254,"p"),t["ɵɵtext"](255,"+ Credit Improvement Tips"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](256,"p"),t["ɵɵtext"](257,"+ Automatically Finds Savings"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](258,"div",71)(259,"button",72),t["ɵɵtext"](260,"JOIN FOR FREE"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](261,"p"),t["ɵɵtext"](262,"No credit card needed"),t["ɵɵelementEnd"]()()()(),t["ɵɵelement"](263,"modal-dialog",null,73),t["ɵɵelementStart"](265,"div",74,75),t["ɵɵlistener"]("onTap",(function(){return n.ScrollToTop()})),t["ɵɵelementEnd"]()),2&e&&(t["ɵɵproperty"]("zing-url-container",!0),t["ɵɵadvance"](28),t["ɵɵproperty"]("href",n.feedbackUrl,t["ɵɵsanitizeUrl"])("zing-url",!1),t["ɵɵadvance"](161),t["ɵɵproperty"]("ngIf",n.isWeb),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!n.isWeb),t["ɵɵadvance"](1),t["ɵɵproperty"]("zing-url-container",!0),t["ɵɵadvance"](17),t["ɵɵproperty"]("zing-url-container",!0),t["ɵɵadvance"](12),t["ɵɵproperty"]("href",n.feedbackUrl,t["ɵɵsanitizeUrl"])("zing-url",!1),t["ɵɵadvance"](6),t["ɵɵproperty"]("ngIf",n.isWeb),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!n.isWeb),t["ɵɵadvance"](3),t["ɵɵtextInterpolate1"](" © ",n.copyrightyear," Evolution Finance, Inc. "))},directives:[n.TouchGestures,t.NgIf,n.ngModalDialog],encapsulation:2,changeDetection:0}),e}(),y=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({imports:[[n.DirectivesModule,t.CommonModule,n.ngModalsModule,n.ErrorsModule,n.FormSubmitModule]]}),e}(),w=require("npm:navigo/lib/navigo.js"),q=function(){var e=this;this.queryParams=new t.BehaviorSubject({}),this.fragment=new t.BehaviorSubject("");var n=S.subscribe((function(t){t&&e.queryParams.next(t.params||{})}));this.queryParams.subscribe({complete:function(){n.unsubscribe()}});var r=function(t){e.fragment.next(location.hash)};window.addEventListener("hashchange",r),this.fragment.subscribe({complete:function(){window.removeEventListener("hashchange",r)}})},E=function(){function e(){}return e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),new Promise((function(r,i){try{var o=x.lastResolved(),a="";o&&o[0]&&o[0].url&&(a=o[0].url),a=e&&e.length?e.join("/"):a,t.queryParams&&(a+="?"+n.objectSerialize(t.queryParams)),t.fragment&&(a+="#"+t.fragment),x.navigate(a,{updateBrowserURL:!0}),setTimeout((function(){r(!0)}),200)}catch(e){i(e)}}))},e}(),C=[],S=new t.BehaviorSubject(null),T=function(){function e(){if(!x){var e=document.querySelector("head base").getAttribute("href")||"/";x=new w(e);var t=function(e){var t=e?[e]:x.lastResolved()||[];n.arrayForEach(t,(function(e){S.next({url:e.url,params:e.params,query:e.queryString})}))},r=location.pathname.substring(location.pathname.indexOf(e)+e.length-1);C.forEach((function(e){if(e.path){var n=e.path;n==r&&(r=null),"prefix"==e.pathMatch&&(n+="/*"),x.on(n,(function(){}),{after:t})}})),r&&x.on(location.pathname.substring(location.pathname.indexOf(e)+e.length-1),(function(){}),{after:t}),x.resolve(),t()}}return e.forRoot=function(e){C=C.concat(e)},Object.defineProperty(e.prototype,"navigo",{get:function(){return x},enumerable:!1,configurable:!0}),e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({providers:[q,E],imports:[[t.CommonModule]]}),e}();var k,I,A="function"==typeof Map?new Map:(k=[],I=[],{has:function(e){return k.indexOf(e)>-1},get:function(e){return I[k.indexOf(e)]},set:function(e,t){-1===k.indexOf(e)&&(k.push(e),I.push(t))},delete:function(e){var t=k.indexOf(e);t>-1&&(k.splice(t,1),I.splice(t,1))}}),z=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){z=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function M(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!A.has(e)){var t,n=null,r=null,i=null,o=function(){e.clientWidth!==r&&c()},a=function(t){window.removeEventListener("resize",o,!1),e.removeEventListener("input",c,!1),e.removeEventListener("keyup",c,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",c,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),A.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",c,!1),window.addEventListener("resize",o,!1),e.addEventListener("input",c,!1),e.addEventListener("autosize:update",c,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",A.set(e,{destroy:a,update:c}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),c()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function l(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),i=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),i&&(document.documentElement.scrollTop=i)}}function c(){l();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(s("scroll"),l(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(s("hidden"),l(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),i!==r){i=r;var o=z("autosize:resized");try{e.dispatchEvent(o)}catch(e){}}}}function L(e){var t=A.get(e);t&&t.destroy()}function N(e){var t=A.get(e);t&&t.update()}var O=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((O=function(e){return e}).destroy=function(e){return e},O.update=function(e){return e}):((O=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return M(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],L),e},O.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],N),e});var j=O,F=Object.freeze({__proto__:null,default:j}),P=function(){function e(e,n){this._el=e,this._zone=n,this._resize=!1,this.onResized=new t.EventEmitter}return Object.defineProperty(e.prototype,"updateAutoSize",{get:function(){return!1},set:function(e){var t=this;n.isNode()||this._zone.runOutsideAngular((function(){1==e&&n.reqAnimationFrame((function(){t._autosize&&t._autosize.update(t._el.nativeElement)}))}))},enumerable:!1,configurable:!0}),e.prototype.fireResize=function(){this.onResized.emit()},e.prototype._windowResize=function(){var e=this;this._resize&&this._zone.runOutsideAngular((function(){n.reqAnimationFrame((function(){e._autosize&&e._autosize.update(e._el.nativeElement)}))}))},e.prototype.ngOnInit=function(){this.fireResize=this.fireResize.bind(this),this._windowResize=this._windowResize.bind(this),n.isNode()||window.addEventListener("resize",this._windowResize)},e.prototype.ngAfterViewInit=function(){var e=this;!n.isNode()&&this._el.nativeElement&&this._zone.runOutsideAngular((function(){var t=j||F;t(e._el.nativeElement),e._el.nativeElement.addEventListener("autosize:resized",e.fireResize),e._autosize=t}))},e.prototype.ngOnDestroy=function(){n.isNode()||(this._autosize&&(this._autosize.destroy(this._el.nativeElement),this._el.nativeElement.removeEventListener("autosize:resized",this.fireResize),this._autosize=null),window.removeEventListener("resize",this._windowResize))},e.ɵfac=function(n){return new(n||e)(t["ɵɵdirectiveInject"](t.ElementRef),t["ɵɵdirectiveInject"](t.NgZone))},e.ɵdir=t["ɵɵdefineDirective"]({type:e,selectors:[["","ng-autosize",""]],inputs:{updateAutoSize:["sizeupdate","updateAutoSize"],_resize:["watchresize","_resize"]},outputs:{onResized:"onResized"}}),e}(),R=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({imports:[[t.CommonModule]]}),e}(),H=["textarea"];function V(e,n){1&e&&(t["ɵɵelementStart"](0,"div",4),t["ɵɵelement"](1,"i"),t["ɵɵelementEnd"]())}var B=require("systemjs"),$=!1,D=n.isWeb()&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Q=function(){function e(e,r,i){this._el=e,this._cd=r,this._service=i,this._destroyed=!0,this.ckeditorLoaded=!0,this.ckelementid=n.uniqid(),this._value=new t.BehaviorSubject(""),this.valueChange=new t.EventEmitter,this._active=new t.BehaviorSubject(!1),this._autofocus=!1,this._enabled=!1,this.options={toolbar:["heading","|","bold","italic","underline","link","|","insertTable","bulletedList","numberedList","|","undo","redo"],heading:{options:[{model:"paragraph",title:"Normal",class:""},{model:"heading2",view:"h2",title:"Heading",class:"ckeditor-heading bold-font"}]},table:{toolbar:["tableColumn","tableRow","mergeTableCells"]}},this.editorInitiated=new t.EventEmitter,this.editor_init=$,this.no_editor=!1}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value.getValue()},set:function(e){this._value.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active.getValue()},set:function(e){this._active.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=e,this._editor&&(this._editor.isReadOnly=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"autofocus",{get:function(){return this._autofocus},set:function(e){this._autofocus=e,e&&this._container&&this._container.nativeElement.focus()},enumerable:!1,configurable:!0}),e.prototype.StartCkeditor=function(){var e=this;B.import("ckeditor5/build/ckeditor.js").then((function(t){if(!t||!t.create)throw Error("Cannot instance the ckeditor");t.create(e._container.nativeElement,e.options).then((function(t){var n;e._enabled=!0,e._editor=t,e.no_editor=!1,e._cd.detectChanges(),t.model.document.on("change:data",(function(r){n=t.getData(),e.valueChange.emit(n)})),e._editorsubs=e._value.subscribe((function(e){n!==e&&t.setData(e)})),e.autofocus&&(t.editing.view.focus(),D||setTimeout((function(){var t=e._el.nativeElement;e._service.scrollTo({target:t,inview:!0})}),100)),e.editorInitiated.emit(!0),$=!0})).catch((function(t){e.no_editor=!0,e.EndCkeditor(),e.editorInitiated.emit(!1),t&&n.RavenJs().then((function(e){e.captureException(t)}))}))})).catch((function(t){e.no_editor=!0,e.EndCkeditor(),e.editorInitiated.emit(!1)}))},e.prototype.EndCkeditor=function(){this._enabled=!1,this._editor&&(this._editor.destroy(),this._editor=null,this._editorsubs.unsubscribe())},e.prototype.TextAreaEdit=function(e){this.value=e.target.value||"",this.valueChange.emit(this.value)},e.prototype.ngOnInit=function(){var e=this,t=this._active.subscribe({next:function(t){t&&!e._enabled?setTimeout((function(){n.reqAnimationFrame((function(){e.StartCkeditor()}))})):e._enabled&&e.EndCkeditor()},error:function(){},complete:function(){t&&t.unsubscribe()}});this.editorInitiated.subscribe((function(){e.editor_init=!0}))},e.prototype.ngOnDestroy=function(){this._active.complete(),this._value.complete(),this.EndCkeditor()},e.ɵfac=function(r){return new(r||e)(t["ɵɵdirectiveInject"](t.ElementRef),t["ɵɵdirectiveInject"](t.ChangeDetectorRef),t["ɵɵdirectiveInject"](n.ScrollerService))},e.ɵcmp=t["ɵɵdefineComponent"]({type:e,selectors:[["ck-editor"]],viewQuery:function(e,n){if(1&e&&t["ɵɵviewQuery"](H,7),2&e){var r;t["ɵɵqueryRefresh"](r=t["ɵɵloadQuery"]())&&(n._container=r.first)}},hostAttrs:[1,"progress-indicator-container"],inputs:{value:"value",active:"active",readonly:"readonly",autofocus:["cursor-focus","autofocus"],options:"options"},outputs:{valueChange:"valueChange",editorInitiated:"editorInitiated"},decls:4,vars:4,consts:[[1,"ck-tools"],[1,"ck-textarea",3,"value","input"],["textarea",""],["class","progress-indicator visible",4,"ngIf"],[1,"progress-indicator","visible"]],template:function(e,n){1&e&&(t["ɵɵelement"](0,"div",0),t["ɵɵelementStart"](1,"textarea",1,2),t["ɵɵlistener"]("input",(function(e){return n.TextAreaEdit(e)})),t["ɵɵelementEnd"](),t["ɵɵtemplate"](3,V,2,0,"div",3)),2&e&&(t["ɵɵadvance"](1),t["ɵɵclassProp"]("no-ck-editor",n.no_editor),t["ɵɵproperty"]("value",n.value),t["ɵɵadvance"](2),t["ɵɵproperty"]("ngIf",!n.editor_init))},directives:[t.NgIf],styles:['.ck-toolbar .ckeditor-heading { font-size:18px; font-family: "ProximaNova-Bold", Helvetica, Arial, sans-serif }',".ck-editor__editable a:focus,.ck-editor__editable a:hover{text-decoration:underline}",".ck-editor__editable a{color:#136AE8;text-decoration:none;cursor:pointer}","ck-editor { display: block }"],encapsulation:2}),e}(),U=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({imports:[[t.CommonModule,n.DirectivesModule]]}),e}(),G=function(){function e(e,n){this._el=e,this._renderer=n,this.onImageFailed=new t.EventEmitter}return Object.defineProperty(e.prototype,"src",{get:function(){return this._src},set:function(e){this._src=e,!this._src&&this.fallback&&(this._src=this.fallback),this._src&&this._renderer.setAttribute(this._el.nativeElement,"src",this._src)},enumerable:!1,configurable:!0}),e.prototype.onError=function(e){if(!n.isNode()&&e){var t=this._el.nativeElement;this.fallback&&t.src!=this.fallback?(t.src=this.fallback,t.style.display=""):t.style.display="none",this.onImageFailed.emit(!0)}},e.prototype.ngOnInit=function(){n.isNode()||(this.onError=this.onError.bind(this),this._el.nativeElement.addEventListener("error",this.onError))},e.prototype.ngOnDestroy=function(){n.isNode()||this._el.nativeElement.removeEventListener("error",this.onError)},e.ɵfac=function(n){return new(n||e)(t["ɵɵdirectiveInject"](t.ElementRef),t["ɵɵdirectiveInject"](t.Renderer2))},e.ɵdir=t["ɵɵdefineDirective"]({type:e,selectors:[["","on-img-error",""]],inputs:{fallback:["on-img-error","fallback"],src:"src"},outputs:{onImageFailed:"image-failed"}}),e}(),W=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({imports:[[t.CommonModule]]}),e}(),Y=["img-placeholder",""];(function(){function e(){this.itemprop="",this.classes=[]}e.ɵfac=function(t){return new(t||e)},e.ɵcmp=t["ɵɵdefineComponent"]({type:e,selectors:[["","img-placeholder",""]],inputs:{src:"src",itemprop:"itemprop",alt:"alt",classes:"classes"},attrs:Y,decls:3,vars:5,consts:[[3,"defer-src","ui-hydrate"],[3,"ngClass","alt"],["deferImg",""]],template:function(e,n){1&e&&(t["ɵɵelementStart"](0,"div",0),t["ɵɵelement"](1,"img",1,2),t["ɵɵelementEnd"]()),2&e&&(t["ɵɵproperty"]("defer-src",n.src)("ui-hydrate",!0),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngClass",n.classes)("alt",n.alt),t["ɵɵattribute"]("itemprop",n.itemprop))},directives:[n.ImageLoader,t.NgClass],encapsulation:2})})(),function(){function e(){}e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({imports:[[t.CommonModule,n.ImageLoaderModule]]})}();function J(e,n){1&e&&(t["ɵɵelementStart"](0,"h2",11),t["ɵɵtext"](1,"Thank you"),t["ɵɵelementEnd"]()),2&e&&t["ɵɵproperty"]("focus-when",!0)}function X(e,n){1&e&&(t["ɵɵelementStart"](0,"h2",11),t["ɵɵtext"](1,"Please provide your email in order to receive answers"),t["ɵɵelementEnd"]()),2&e&&t["ɵɵproperty"]("focus-when",!0)}function Z(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",12)(1,"span",13),t["ɵɵtext"](2),t["ɵɵelementEnd"](),t["ɵɵelementStart"](3,"textarea",14),t["ɵɵlistener"]("input",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().SetInput(e)})),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵadvance"](1),t["ɵɵclassProp"]("ques-ov-cred",i.input_chars_left<0),t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](i.input_chars_left),t["ɵɵadvance"](1),t["ɵɵproperty"]("value",i.input_value)("readonly",i.submiting)}}function K(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",12)(1,"textarea",15),t["ɵɵlistener"]("input",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().input_value_extra=e.target.value})),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵadvance"](1),t["ɵɵproperty"]("value",i.input_value_extra)("readonly",i.submiting)}}function ee(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",12)(1,"ng-dropdown",16),t["ɵɵlistener"]("selected",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().SetCategory(e)})),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵadvance"](1),t["ɵɵproperty"]("invalid",i.categoryerror)("items",i.categories)("second",!0)("value",i.category)}}function te(e,n){if(1&e&&t["ɵɵelement"](0,"div",17),2&e){var r=t["ɵɵnextContext"]();t["ɵɵproperty"]("innerHTML",r.ajax_message,t["ɵɵsanitizeHtml"])("zing-url-container",!0)}}function ne(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"button",18),t["ɵɵlistener"]("onClick",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().Submit()})),t["ɵɵtext"](1," Next "),t["ɵɵelement"](2,"i",19),t["ɵɵelementEnd"]()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵclassProp"]("loadactive",i.submiting),t["ɵɵproperty"]("disabled",i.submiting)}}function re(e,n){1&e&&(t["ɵɵelementStart"](0,"div",20),t["ɵɵtext"](1,"Your question has been submitted to our moderators for review. We will send you an email once your question has been approved."),t["ɵɵelementEnd"]())}function ie(e,n){1&e&&t["ɵɵelement"](0,"br")}function oe(e,n){if(1&e&&t["ɵɵelement"](0,"div",17),2&e){var r=t["ɵɵnextContext"](2);t["ɵɵproperty"]("innerHTML",r.ajax_message,t["ɵɵsanitizeHtml"])("zing-url-container",!0)}}function ae(e,n){1&e&&t["ɵɵelement"](0,"br")}function se(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",21)(1,"button",22),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().GuestSubmit()})),t["ɵɵelement"](2,"span",23),t["ɵɵelementStart"](3,"span",24),t["ɵɵtext"](4,"Login to Wallethub"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](5,"div",25),t["ɵɵtext"](6,"or"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](7,"input",26),t["ɵɵlistener"]("input",(function(e){t["ɵɵrestoreView"](r);var n=t["ɵɵnextContext"]();return n.user_email=e.target.value,n.show_ajax_error=!1})),t["ɵɵelementEnd"](),t["ɵɵtemplate"](8,ie,1,0,"br",27),t["ɵɵtemplate"](9,oe,1,2,"div",7),t["ɵɵtemplate"](10,ae,1,0,"br",27),t["ɵɵelementStart"](11,"button",28),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().GuestSubmit()})),t["ɵɵtext"](12," Submit "),t["ɵɵelement"](13,"span",29),t["ɵɵelementEnd"](),t["ɵɵelementStart"](14,"button",30),t["ɵɵlistener"]("onClick",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().Back()})),t["ɵɵtext"](15,"Back"),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵadvance"](7),t["ɵɵproperty"]("value",i.user_email),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!i.show_ajax_error),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.show_ajax_error),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!i.show_ajax_error),t["ɵɵadvance"](1),t["ɵɵclassProp"]("loadactive",i.submiting),t["ɵɵproperty"]("disabled",i.submiting)}}var le=require("systemjs"),ce=function(){function e(e){this._location=e,this.data={},this.input_value="",this.input_value_extra="",this.input_chars_left=0,this._max_input=140,this.submiting=!1,this.submited=!1,this._limit=140,this._is_lodgged=!1,this.needs_login=!1,this.user_email="",this._referer="",this._email_reg=/^(([^<>()\[\]\\.,;:\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,}))$/,this.has_categories=!1,this.categoryerror=!1,this.toastinterval=3500,this.live_status="",this.question_count_status="",this.is_android=!1,le.import("css:/components/question-overlay.css").then((function(){}),(function(){}))}return e.prototype._CountWords=function(e){if(!e)return"";var t=e.replace(/(^\s*|\s*$)/gi,"");return(t=(t=t.replace(/[ ]{2,}/gi," ")).replace(/\n /,"")).split(" ").filter((function(e){return""!=e})).length},e.prototype._CountChars=function(){var e=(this.input_value||"").trim().length;this.input_chars_left=this._max_input-e,this.question_count_status="".concat(e," character").concat(1!=e?"s":""," entered")},e.prototype._SendQues=function(){var e=this;this.show_ajax_error=!1,this.submiting=!0;var t=n.cleanInput(this.input_value);this.live_status="Posting question.",le.import("Encryption").then((function(r){var i={url:n.ajaxUrl(),data:Object.assign({action:"Answers.PostQuestion",question:t,url:e._referer},e.data.addparams||{}),encryptprops:["email"],before:function(){e.submiting=!0},after:function(){e.submiting=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}};e.has_categories&&(i.data.category=e._catid),e.user_email&&(i.data.email=e.user_email),e._is_lodgged||e.user_email||(i.data.light=!0),e.input_value_extra&&(i.data.details=e.input_value_extra),r.send(i).then((function(t){if(e.live_status="",!t||t.error){if(t&&"message"in t){var r=t.message.match(/^Bad word `([^`]+)` detected.$/);r&&r.length&&(t.message='Profanity is not allowed, including words such as "'.concat(r[1],'". Please adjust.')),e.ajax_message=t.message}else e.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>';e.show_ajax_error=!0}else{if("redirect"in t)return e.submiting=!0,n.isCordova()&&n.Events.emit("$native:api-no-session","question-submit-login"),void(top.location.href=t.redirect);e.submited=!0}}),(function(t){e.live_status="",e.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',e.show_ajax_error=!0,n.RavenRequestFail(t,"Failed to submit a question from ng2 QnA component")}))}),(function(t){e.live_status="",e.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',e.show_ajax_error=!0,n.RavenJs().then((function(e){e.captureException(t)}),(function(){}))}))},e.prototype.SetCategory=function(e){this.category=e.value,this._catid=this._catindex[e.index],this.categoryerror=!1},e.prototype.Submit=function(){this.show_error||this.submiting||(this.show_ajax_error=!1,this._CountWords(this.input_value)<3?(this.show_error=!0,this.error_message="Question must have at least 3 words."):this.input_chars_left<0?(this.error_message="Question cannot have more then ".concat(this._max_input," chars."),this.show_error=!0):this.has_categories&&!this.category?(this.show_error=!0,this.error_message="Please select a category."):this._is_lodgged?this._SendQues():this.needs_login=!0)},e.prototype.OnErrorToastHidden=function(){this.show_error&&(this.show_error=!1)},e.prototype.GuestSubmit=function(){this.user_email&&!this._email_reg.test(this.user_email)?(this.show_ajax_error=!0,this.ajax_message="Please enter a correct Email Address."):this._SendQues()},e.prototype.SetInput=function(e){this.show_error=!1,this.show_ajax_error=!1,this.input_value=e.target.value,this._CountChars()},e.prototype.Back=function(){this.needs_login=!1,this.show_ajax_error=!1,this.ajax_message=""},e.prototype.ngOnInit=function(){var e=this;this.input_value=this.data.input||"",this.data.referer?this._referer=this.data.referer:(this._referer=n.baseUrl()+this._location.path(),this._referer.lastIndexOf("/")!==this._referer.length-1&&(this._referer+="/")),this.data.categories&&this.data.categories.length>0&&(this.has_categories=!0,this.categories=[],this._catindex=[],this.data.categories.forEach((function(t){e.categories.push(t.name),e._catindex.push(t.id)})),1==this.categories.length&&(this._catid=this._catindex[0],this.category=this.categories[0])),this._CountChars(),n.isNode()||(n.Cookies.get("mw_signon")&&(this._is_lodgged=!0),this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))},e.ɵfac=function(n){return new(n||e)(t["ɵɵdirectiveInject"](t.Location))},e.ɵcmp=t["ɵɵdefineComponent"]({type:e,selectors:[["question-overlay"]],decls:16,vars:18,consts:[["tabindex","0","ng-focus","",1,"ques-ov","regular-font",3,"ng-hidden","focus-when"],["class","ques-ov regular-font ng-enter-element","tabindex","0","ng-focus","",3,"focus-when",4,"ngIf"],[3,"ng-aria-live"],["class","ques-ov-txt-box ng-enter-element",4,"ngIf"],["hidden","true","id","ques-ov-count-status"],[3,"ng-hidden"],[3,"message","show","close-on-change","timer","onhidden"],["class","ques-ov-error-notice ng-enter-element slide","role","alert","tabindex","-1","zing-touch","",3,"innerHTML","zing-url-container",4,"ngIf"],["class","btn fixed-w-i with-loader no-disabled ng-enter-element","zing-touch","","aria-label","Next",3,"disabled","loadactive","onClick",4,"ngIf"],["class","ng-enter-element ques-ov-end-msg",4,"ngIf"],["class","ng-enter-element ques-ov-login",4,"ngIf"],["tabindex","0","ng-focus","",1,"ques-ov","regular-font","ng-enter-element",3,"focus-when"],[1,"ques-ov-txt-box","ng-enter-element"],["aria-hidden","true","tabindex","-1",1,"ques-ov-count"],["placeholder","Ask a question (140 character limit)","ng-autosize","","aria-describedby","ques-ov-count-status",1,"ques-ov-txt","textarea",3,"value","readonly","input"],["placeholder","Additional details (optional)","ng-autosize","",1,"ques-ov-txt","ques-ov-txt-liner","textarea",3,"value","readonly","input"],["placeholder","Select Category...",1,"ques-ov-drp",3,"invalid","items","second","value","selected"],["role","alert","tabindex","-1","zing-touch","",1,"ques-ov-error-notice","ng-enter-element","slide",3,"innerHTML","zing-url-container"],["zing-touch","","aria-label","Next",1,"btn","fixed-w-i","with-loader","no-disabled","ng-enter-element",3,"disabled","onClick"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"ng-enter-element","ques-ov-end-msg"],[1,"ng-enter-element","ques-ov-login"],["aria-label","Login","zing-touch","",1,"btn","aqua","full","ques-ov-lg-bt","semi-bold-font",3,"onTap"],[1,"bf-icon-wlogo"],[1,"ques-ov-lg-txt"],[1,"ques-ov-or","center"],["aria-label","Email","type","email","placeholder","Email Address",1,"textfield","full",3,"value","input"],[4,"ngIf"],["zing-touch","",1,"btn","fixed-w-i","with-loader","no-disabled",3,"disabled","onTap"],[1,"btn-loader"],["zing-touch","",1,"btn","white-blue","ques-ov-bk-bt",3,"onClick"]],template:function(e,n){1&e&&(t["ɵɵelementStart"](0,"h2",0),t["ɵɵtext"](1,"Ask a Question"),t["ɵɵelementEnd"](),t["ɵɵtemplate"](2,J,2,1,"h2",1),t["ɵɵtemplate"](3,X,2,1,"h2",1),t["ɵɵelement"](4,"div",2),t["ɵɵtemplate"](5,Z,4,5,"div",3),t["ɵɵelementStart"](6,"div",4),t["ɵɵtext"](7),t["ɵɵelementEnd"](),t["ɵɵtemplate"](8,K,2,2,"div",3),t["ɵɵtemplate"](9,ee,2,4,"div",3),t["ɵɵelementStart"](10,"div",5)(11,"error-toast",6),t["ɵɵlistener"]("onhidden",(function(){return n.OnErrorToastHidden()})),t["ɵɵelementEnd"]()(),t["ɵɵtemplate"](12,te,1,2,"div",7),t["ɵɵtemplate"](13,ne,3,3,"button",8),t["ɵɵtemplate"](14,re,2,0,"div",9),t["ɵɵtemplate"](15,se,16,7,"div",10)),2&e&&(t["ɵɵproperty"]("ng-hidden",n.submited||n.needs_login)("focus-when",!(n.submited||n.needs_login)),t["ɵɵadvance"](2),t["ɵɵproperty"]("ngIf",n.submited),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.needs_login&&!n.submited),t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-aria-live",n.live_status),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!n.submited&&!n.needs_login),t["ɵɵadvance"](2),t["ɵɵtextInterpolate"](n.question_count_status),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!n.submited&&!n.needs_login),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!n.submited&&!n.needs_login&&n.has_categories&&n.categories.length>1),t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-hidden",n.submited||n.needs_login),t["ɵɵadvance"](1),t["ɵɵproperty"]("message",n.error_message)("show",n.show_error)("close-on-change",!0)("timer",n.toastinterval),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!n.needs_login&&n.show_ajax_error),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!n.submited&&!n.needs_login),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.submited),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.needs_login&&!n.submited))},directives:[n.ngFocus,n.ngHidden,t.NgIf,n.ngAriaLive,P,o.ngDropdown,n.ErrorToastComponent,n.TouchGestures],encapsulation:2}),e}(),ue=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({imports:[[t.CommonModule,n.DirectivesModule,R,n.ErrorsModule,o.ngDropDownModule,n.ngFocusModule]]}),e}(),de=["content"];function pe(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"span",4),t["ɵɵlistener"]("onClick",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().Collapse()})),t["ɵɵtext"](1,"show less"),t["ɵɵelementEnd"]()}}function he(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",5),t["ɵɵlistener"]("onExpand",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().Expanded(e)})),t["ɵɵelementEnd"]()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵproperty"]("ng-truncate",i.htmlcontent)("breakpoint",i.breakpoint)("breakwords",i.breakwords)}}var me,fe=["*"];function ge(){if(n.isNode()){if(me)return me;var e=new(0,require("jsdom").JSDOM)("<!DOCTYPE html><head><title></title></head><body></body></html>");return me=e.window.document}return document}var _e=function(){function e(e,n,r){this._el=e,this._render=n,this._scroller=r,this._cleanups=[],this.breakpoint=768,this.breakwords={416:35,541:50,769:70,1282:90,1901:100,2048:150},this.staticbreak=null,this._content="",this.sanitize=!0,this.sanitizeCFG={RETURN_DOM_FRAGMENT:!1,RETURN_DOM:!1,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target"]},this.use_shave_break=!1,this.expand_bt="show more",this.collapse_bt="show less",this.auto_truncate=!0,this._expanded=!1,this._initiated=!1,this.istruncated=new t.BehaviorSubject(null),this._expandContent=new t.Subject,this._expandct=!1,this.auto_focus=!1,this.onExpand=new t.EventEmitter,this.hasExpandButton=new t.EventEmitter,this.onContent=new t.EventEmitter}return Object.defineProperty(e.prototype,"content",{set:function(e){this._content=e||"",this._initiated&&(this._expandct?this._ShowFullCT():this._Truncate())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"expandContent",{set:function(e){this._expandContent.next(e),this._expandct=e},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.hasExpandButton.emit(!1),!this._expandct&&this._content||n.isNode()?this._Truncate():this._ShowFullCT(),this._initiated=!0},e.prototype._isElemVisible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},e.prototype._MoveFocus=function(){var e=this;if(!n.isNode()){var r=this._el.nativeElement,i=this._el.nativeElement.querySelector(".js-shave-char-less"),o=0;if(this._scroller.onScroll.pipe(t.take(1)).subscribe((function(e){o=e})),this.auto_focus)for(var a=function(t,n){var i=r.childNodes[t];if(i.focus)return i.setAttribute("tabindex","0"),i.focus(),setTimeout((function(){i.focus(),e._scroller.scrollTo({position:o,timing:0})})),"break"},s=0,l=r.childNodes.length;s<l;s++){if("break"===a(s))break}else i&&this._isElemVisible(i)&&(i.focus(),setTimeout((function(){i.focus(),e._scroller.scrollTo({position:o,timing:0})})))}},e.prototype._WordCount=function(e){var t=n.trim((1==e.nodeType?e.textContent:e.wholeText)+"");return""==t?0:t.split(/\s+/g).length},e.prototype._CutHTML=function(e,t){var n=e.parentNode,r=null;if(n){for(var i=[],o=0,a=n.childNodes.length;o<a;o++){var s=n.childNodes[o];s==e?r=o:null!==r&&o>r&&(!s.tagName||"td"!==s.tagName.toLowerCase())&&i.push(s)}i.forEach((function(e){e.parentNode.removeChild(e)})),n!=t&&n&&this._CutHTML(n,t)}},e.prototype._AddExpandBT=function(e){var t=this,r=e.parentNode;r.removeChild(e),r.innerHTML=n.trim(r.innerHTML);var i=r.tagName.toLowerCase();if(n.isAny(i,["tr","tbody","thead","tfoot"])){if("table"!=i){var o=r.parentNode;for(i=o.tagName.toLowerCase();"table"!=i&&i;)i=(o=o.parentNode)&&o.tagName?o.tagName.toLowerCase():null;"table"==i&&(r=o)}r.insertAdjacentHTML("afterend",' <span class="js-shave-char cursor-pointer" role="button" tabindex="0">'.concat(this.expand_bt,"</span>")),r.insertAdjacentText?r.insertAdjacentText("afterend","..."):r.insertAdjacentHTML("afterend","...")}else if(r.insertAdjacentText?r.insertAdjacentText("beforeend","..."):r.insertAdjacentHTML("beforeend","..."),"a"==i)r.insertAdjacentHTML("afterend",' <span class="js-shave-char cursor-pointer" role="button" tabindex="0">'.concat(this.expand_bt,"</span>"));else{for(r.parentNode&&"a"==r.parentNode.tagName.toLowerCase()&&(i="a",r=r.parentNode);"a"==i&&r.parentNode;)i=(r=r.parentNode).tagName.toLowerCase();r.insertAdjacentHTML("beforeend",' <span class="js-shave-char cursor-pointer" role="button" tabindex="0">'.concat(this.expand_bt,"</span>"))}n.reqAnimationFrame((function(){t.hasExpandButton.emit(!0)})),this.istruncated.next(!0),n.isNode()&&this.onContent.emit("collapsed")},e.prototype._Shave=function(e,t){if(!(this._WordCount(e)<=t)){var n=void 0===e.textContent?"innerText":"textContent",r=e[n].split(" ");if(!(r.length<2))for(var i=r.length-1,o=0,a=void 0,s=!1;o<i;){a=o+i+1>>1;var l=r.slice(0,a).join(" ");s=l.lastIndexOf(".")>-1,e[n]=l,e.insertAdjacentHTML("beforeend",'<span class="js-shave-char cursor-pointer" role="button" tabindex="0" aria-label="'.concat(this.expand_bt,'">').concat(s?"":".","..").concat(this.expand_bt,"</span>")),this._WordCount(e)>t?i=a-1:o=a}}},e.prototype._TruncateWithLimit=function(e,t){var r=ge().createElement("div");r.innerHTML=e;var i=0,o=!1,a=function(e){for(var r=0,s=e.childNodes.length;r<s;r++){var l=e.childNodes[r];if(1==l.nodeType){if(l.classList.contains("cc-list-buttons")||n.isAny(l.tagName.toLowerCase(),["blockquote","br"]))continue;if(a(l))return!0}else if(3==l.nodeType){var c=l[void 0===l.textContent?"innerText":"textContent"],u=n.trim(c).split(/\s+/g);if(i+=u.length,0==c.indexOf(" ")&&(u[0]=" "+u[0]),c.lastIndexOf(" ")==c.length-1&&(u[u.length-1]+=" "),i>t){var d=i-t;if(l.nodeValue=u.slice(0,u.length-d).join(" "),l.parentNode){var p=ge().createElement("div"),h=ge().createElement("span");h.setAttribute("data-chop","auto"),p.appendChild(h);var m=ge().createElement("div");m.innerHTML=u.slice(u.length-d).join(" "),l!==l.parentNode.lastChild?l.parentNode.insertBefore(h,l.nextElementSibling):(l.parentNode.appendChild(h),l.parentNode.insertAdjacentHTML("beforeend",m.innerHTML))}return o=!0,!0}}}};if(a(r),o){var s=r.querySelector('span[data-chop="auto"]');s&&r.lastChild!==s&&(this._CutHTML(s,r),s.parentNode==r&&(r.innerHTML=r.innerHTML.split(s.outerHTML)[0]+s.outerHTML,s=r.querySelector('span[data-chop="auto"]')),this._AddExpandBT(s))}return r.innerHTML},e.prototype._Truncate=function(){var e=this;this.istruncated.next(!1),this.hasExpandButton.emit(!1),n.reqAnimationFrame((function(){var t=e.istruncated.getValue();e.onContent.emit(t?"collapsed":"expanded")}));var t=this._content;if(this.staticbreak&&!this._expandct){t=t.replace(/(?:\\r\\n|\\r|\\n)/g,""),t=(t=n.trim(t)).replace("[chop]",'<span data-chop="desktop"></span>').replace("[mobilechop]","");var r=ge().createElement("div");r.innerHTML=t;var i=r.querySelector('span[data-chop="desktop"]');return i?r.lastChild==i?i.parentNode.removeChild(i):(this._CutHTML(i,r),i.parentNode==r&&(r.innerHTML=r.innerHTML.split(i.outerHTML)[0]+i.outerHTML,i=r.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(i),t=r.innerHTML):this._WordCount(r)>this.staticbreak&&(t=this._TruncateWithLimit(t,this.staticbreak)),this.sanitize&&(t=n.Sanitize(t,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",t)}if(t=(t=(t=t.replace("[chop]","\x3c!--chop--\x3e").replace("[mobilechop]","\x3c!--mobilechop--\x3e")).replace('<span data-chop="desktop"></span>',"\x3c!--chop--\x3e").replace('<span data-chop="mobile"></span>',"\x3c!--mobilechop--\x3e")).replace(/(?:\\r\\n|\\r|\\n)/g,""),t=n.trim(t),n.isNode())return this.sanitize&&(t=n.Sanitize(t,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",t);var o=window.innerWidth||document.body.clientWidth;o<this.breakpoint&&t.indexOf("\x3c!--mobilechop--\x3e")<0&&(t=t.replace(/<!--(auto)?(mobile)?chop-->/g,""));var a=!1,s=!1;o>=this.breakpoint?t.indexOf("\x3c!--chop--\x3e")>0&&(a=!0):t.indexOf("\x3c!--chop--\x3e")>0&&t.indexOf("\x3c!--mobilechop--\x3e")<0?a=!0:t.indexOf("\x3c!--mobilechop--\x3e")>0&&(a=s=!0),a||(t=t.replace("\x3c!--chop--\x3e","").replace("\x3c!--mobilechop--\x3e","")),t=(t=(t=o>this.breakpoint?t.replace(/(<!--chop-->)\s*(<!--mobilechop-->)/,"$2$1"):t.replace(/(<!--mobilechop-->)\s*(<!--chop-->)/,"$2$1")).replace("\x3c!--chop--\x3e",'<span data-chop="desktop"></span>')).replace("\x3c!--mobilechop--\x3e",'<span data-chop="mobile"></span>');var l=document.createElement("div");l.innerHTML=t;var c=l.querySelector('span[data-chop="desktop"]'),u=l.querySelector('span[data-chop="mobile"]');if(!c&&!u&&!this.auto_truncate)return t=n.Sanitize(t,this.sanitizeCFG),void this._render.setProperty(this._el.nativeElement,"innerHTML",t);var d=!1,p=!!this.breakwords;if(l.lastChild==c||l.lastChild==u)p=!1,c&&l.lastChild==c&&(c.parentNode.removeChild(c),c=null,u&&l.lastChild==u&&(u.parentNode.removeChild(u),u=null)),u&&l.lastChild==u&&(u.parentNode.removeChild(u),u=null,c&&l.lastChild==c&&(c.parentNode.removeChild(c),c=null));else{if(c&&c.parentNode.lastChild==c){for(var h=c.parentNode,m=!0;h&&h!==l;){if(h.parentNode.lastChild!=h){m=!1;break}h=h.parentNode}m&&(p=!1,c.parentNode.removeChild(c),c=null)}if(u&&u.parentNode.lastChild==u){for(h=u.parentNode,m=!0;h&&h!==l;){if(h.parentNode.lastChild!=h){m=!1;break}h=h.parentNode}m&&(p=!1,u.parentNode.removeChild(u),u=null)}}if(c&&(o>this.breakpoint||!s))this._CutHTML(c,l),c.parentNode==l&&(l.innerHTML=l.innerHTML.split(c.outerHTML)[0]+c.outerHTML,c=l.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(c);else if(s&&u&&o<this.breakpoint)this._CutHTML(u,l),u.parentNode==l&&(l.innerHTML=l.innerHTML.split(u.outerHTML)[0]+u.outerHTML,u=l.querySelector('span[data-chop="mobile"]')),this._AddExpandBT(u);else if(p){var f;if(n.objectForEach(this.breakwords,(function(e,t){if(o<n.toNumber(t))return f=e,!1})),f)if(this.use_shave_break)this._Shave(l,f),d=!0;else if(this._WordCount(l)>f)return void this._render.setProperty(this._el.nativeElement,"innerHTML",this._TruncateWithLimit(t,f))}var g=l.innerHTML;!d&&this.sanitize&&(g=n.Sanitize(l.innerHTML,this.sanitizeCFG)),this._render.setProperty(this._el.nativeElement,"innerHTML",g)},e.prototype._ShowFullCT=function(){var e=this,t=this._content||"";this.sanitize&&(t=n.Sanitize(t,this.sanitizeCFG)),this.collapse_bt&&(t+='<br class="js-shave-br" /><span class="js-shave-char cursor-pointer js-shave-char-less" role="button" tabindex="0">'.concat(this.collapse_bt,"</span>")),t=t.replace("[chop]","").replace("[mobilechop]",""),this._render.setProperty(this._el.nativeElement,"innerHTML",t),this._MoveFocus(),n.reqAnimationFrame((function(){e.onContent.emit("expanded")}))},e.prototype.Expand=function(e){if(!n.isNode()){var t=e.target;t&&t.classList&&t.classList.contains("js-shave-char")&&(this._expanded=!this._expanded,this._expanded?this._ShowFullCT():(this._expandct=!1,this._Truncate()),this.onExpand.emit(this._expanded),n.Events.emit("$shortcodes:set"))}},e.prototype.ngAfterViewInit=function(){var e=this;n.isNode()||(this._windowobs=t.fromEvent(window,"resize"),this._windowobs.subscribe((function(){!e._content||e._expanded||e._expandct||e._Truncate()})),this._expandContent.subscribe((function(t){e._content&&(e._expanded=!t,e.Expand({target:{classList:{contains:function(){return!0}}}}))})),this._cleanups.push(this._render.listen(this._el.nativeElement,"click",(function(t){e.Expand(t)}))))},e.prototype.ngOnDestroy=function(){this._windowobs&&(this._windowobs=null),this._windowsubs&&this._windowsubs.unsubscribe(),this.istruncated.complete(),this._cleanups.forEach((function(e){e()}))},e.ɵfac=function(r){return new(r||e)(t["ɵɵdirectiveInject"](t.ElementRef),t["ɵɵdirectiveInject"](t.Renderer2),t["ɵɵdirectiveInject"](n.ScrollerService))},e.ɵdir=t["ɵɵdefineDirective"]({type:e,selectors:[["","ng-truncate",""]],inputs:{breakpoint:"breakpoint",breakwords:"breakwords",staticbreak:["breakwords-static","staticbreak"],content:["ng-truncate","content"],sanitize:"sanitize",sanitizeCFG:["sanitize-cfg","sanitizeCFG"],use_shave_break:["use-shave","use_shave_break"],expand_bt:["expand-button","expand_bt"],collapse_bt:["collapse-button","collapse_bt"],auto_truncate:["auto-trim","auto_truncate"],expandContent:["expand-content","expandContent"],auto_focus:["auto-focus","auto_focus"]},outputs:{onExpand:"onExpand",hasExpandButton:"hasExpandButton",onContent:"onContent"}}),e}(),ve=(function(){function e(e,n){this._cd=e,this._render=n,this.breakpoint=768,this.breakwords={416:35,541:50,769:70,1282:90,1901:100,2048:150},this.expand_mode="dynamic",this.hide_org_content=!0,this.perma_expand=!1,this.htmlcontent="",this.onExpand=new t.EventEmitter}e.prototype.Expanded=function(e){if(e&&(this.hide_org_content=!1,"permanent"==this.expand_mode&&(this.perma_expand=!0)),this.onExpand.emit(e),this._cd.detectChanges(),this.contentBox&&this.contentBox.nativeElement)for(var t=this.contentBox.nativeElement,n=function(e,n){var r=t.childNodes[e];if(r.focus)return r.setAttribute("tabindex","0"),r.focus(),setTimeout((function(){r.focus()})),"break"},r=0,i=t.childNodes.length;r<i;r++){if("break"===n(r))break}},e.prototype.Collapse=function(){this.hide_org_content=!0,this._cd.detectChanges()},e.prototype.ngOnInit=function(){var e=this;this.hide_org_content=!n.isNode(),n.isNode()?(this.hide_org_content=!1,this.perma_expand=!0):this._observer=new MutationObserver((function(t){e.htmlcontent=e.contentBox.nativeElement.innerHTML,n.reqAnimationFrame((function(){e._cd.detectChanges()}))}))},e.prototype.ngAfterViewInit=function(){var e=this;n.isNode()||(this.htmlcontent=this.contentBox.nativeElement.innerHTML,n.reqAnimationFrame((function(){e._cd.detectChanges()})),this._observer.observe(this.contentBox.nativeElement,{attributes:!1,childList:!0,characterData:!0}))},e.prototype.ngOnDestroy=function(){this._observer.disconnect()},e.ɵfac=function(n){return new(n||e)(t["ɵɵdirectiveInject"](t.ChangeDetectorRef),t["ɵɵdirectiveInject"](t.Renderer2))},e.ɵcmp=t["ɵɵdefineComponent"]({type:e,selectors:[["ng-truncate"]],viewQuery:function(e,n){if(1&e&&t["ɵɵviewQuery"](de,5),2&e){var r;t["ɵɵqueryRefresh"](r=t["ɵɵloadQuery"]())&&(n.contentBox=r.first)}},inputs:{breakpoint:"breakpoint",breakwords:"breakwords",expand_mode:["expand","expand_mode"]},outputs:{onExpand:"onExpand"},ngContentSelectors:fe,decls:5,vars:3,consts:[[3,"ng-hidden"],["content",""],["class","js-shave-char cursor-pointer js-shave-char-expanded","zing-touch","","role","button","tabindex","0",3,"onClick",4,"ngIf"],[3,"ng-truncate","breakpoint","breakwords","onExpand",4,"ngIf"],["zing-touch","","role","button","tabindex","0",1,"js-shave-char","cursor-pointer","js-shave-char-expanded",3,"onClick"],[3,"ng-truncate","breakpoint","breakwords","onExpand"]],template:function(e,n){1&e&&(t["ɵɵprojectionDef"](),t["ɵɵelementStart"](0,"div",0,1),t["ɵɵprojection"](2),t["ɵɵelementEnd"](),t["ɵɵtemplate"](3,pe,2,0,"span",2),t["ɵɵtemplate"](4,he,1,3,"div",3)),2&e&&(t["ɵɵproperty"]("ng-hidden",n.hide_org_content),t["ɵɵadvance"](3),t["ɵɵproperty"]("ngIf",!n.hide_org_content&&!n.perma_expand),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.hide_org_content))},directives:[n.ngHidden,t.NgIf,n.TouchGestures,_e],encapsulation:2,changeDetection:0})}(),function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({imports:[[t.CommonModule,n.DirectivesModule]]}),e}()),xe=["txtElement"],be=["quesOverlay"],ye=["ques_answer"],we=["id","qna-box"];function qe(e,n){if(1&e&&(t["ɵɵelementStart"](0,"span",23),t["ɵɵtext"](1),t["ɵɵelementEnd"]()),2&e){var r=t["ɵɵnextContext"](2);t["ɵɵadvance"](1),t["ɵɵtextInterpolate1"]("(",r.schq_count,")")}}function Ee(e,n){if(1&e&&(t["ɵɵelementStart"](0,"h2",20),t["ɵɵelement"](1,"span",21),t["ɵɵtemplate"](2,qe,2,1,"span",22),t["ɵɵelementEnd"]()),2&e){var r=t["ɵɵnextContext"]();t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-context",r.section_title),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",r.schq_count)}}var Ce=function(e,t){return{"light-font qnah-1":e,"qnah-1 qnah-3 extra-bold-font":t}};function Se(e,n){if(1&e&&t["ɵɵelement"](0,"h2",24),2&e){var r=t["ɵɵnextContext"]();t["ɵɵproperty"]("ngClass",t["ɵɵpureFunction2"](2,Ce,0==r.layout_type,2==r.layout_type))("ng-context",r.section_title)}}function Te(e,n){if(1&e&&(t["ɵɵelementStart"](0,"p",25)(1,"span"),t["ɵɵtext"](2),t["ɵɵelementEnd"](),t["ɵɵtext"](3,"For more general questions, visit our "),t["ɵɵelementStart"](4,"a",26),t["ɵɵtext"](5,"Answers section."),t["ɵɵelementEnd"]()()),2&e){var r=t["ɵɵnextContext"]();t["ɵɵadvance"](2),t["ɵɵtextInterpolate1"]("Get answers to your questions about ",r.product_name," below. "),t["ɵɵadvance"](2),t["ɵɵproperty"]("zing-url",!0)}}function ke(e,n){if(1&e&&t["ɵɵelement"](0,"p",27),2&e){var r=t["ɵɵnextContext"]();t["ɵɵproperty"]("zing-url-container",!0)("cleanHTML",r.intro_content)}}function Ie(e,n){if(1&e&&t["ɵɵelement"](0,"p",28),2&e){var r=t["ɵɵnextContext"]();t["ɵɵproperty"]("zing-url-container",!0)("ng-truncate",r.intro_content)("breakwords",r.truncateBreakwords)("breakpoint",480)}}function Ae(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"span",39),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"](2).QClear()})),t["ɵɵelementEnd"]()}}function ze(e,n){1&e&&(t["ɵɵelementStart"](0,"span"),t["ɵɵtext"](1,"Don't see what you're looking for?"),t["ɵɵelementEnd"]())}function Me(e,n){1&e&&(t["ɵɵelementStart"](0,"div",40),t["ɵɵtext"](1,"MATCHING RESULTS"),t["ɵɵelementEnd"]())}function Le(e,n){1&e&&(t["ɵɵelementStart"](0,"div",40),t["ɵɵtext"](1,"NO MATCHING RESULTS"),t["ɵɵelementEnd"]())}function Ne(e,n){1&e&&(t["ɵɵelementStart"](0,"div",40),t["ɵɵtext"](1,"Searching for answers..."),t["ɵɵelementEnd"]())}function Oe(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",29)(1,"div",30)(2,"textarea",31),t["ɵɵlistener"]("input",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().SearchInput(e)})),t["ɵɵelementEnd"](),t["ɵɵtemplate"](3,Ae,1,0,"span",32),t["ɵɵelementStart"](4,"button",33),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().QSearch()})),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](5,"div",34),t["ɵɵtemplate"](6,ze,2,0,"span",35),t["ɵɵelementStart"](7,"button",36),t["ɵɵlistener"]("click",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().AskQuestion(e)})),t["ɵɵtext"](8,"Ask Your Question"),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](9,"div",37),t["ɵɵtemplate"](10,Me,2,0,"div",38),t["ɵɵtemplate"](11,Le,2,0,"div",38),t["ɵɵtemplate"](12,Ne,2,0,"div",38),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵadvance"](1),t["ɵɵproperty"]("scroll-to",i.focus_on_input),t["ɵɵadvance"](1),t["ɵɵproperty"]("value",i.search_value)("sizeupdate",i.qna_key_reset),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.search_value),t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-hidden",!!i.search_value),t["ɵɵadvance"](1),t["ɵɵclassProp"]("qna-aq-ss",i.noresults),t["ɵɵproperty"]("ng-hidden",!(i.show_search_state||i.show_search_state_empty)),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.show_search_state&&!i.noresults),t["ɵɵadvance"](4),t["ɵɵproperty"]("ngIf",i.show_search_state&&!i.search_loading),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.show_search_state_empty&&!i.search_loading),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.search_loading)}}function je(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"li",41),t["ɵɵlistener"]("onClick",(function(){var e=t["ɵɵrestoreView"](r).index;return t["ɵɵnextContext"]().ChangeSort(e)})),t["ɵɵtext"](1),t["ɵɵelementEnd"]()}if(2&e){var i=n.$implicit,o=n.index;t["ɵɵclassProp"]("qnaml-first",0==o),t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](i)}}function Fe(e,n){1&e&&t["ɵɵelement"](0,"div",50)}function Pe(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",42),t["ɵɵtemplate"](1,Fe,1,0,"div",43),t["ɵɵelementStart"](2,"div",44)(3,"div",45),t["ɵɵelement"](4,"img",46),t["ɵɵelementEnd"](),t["ɵɵelementStart"](5,"div",47)(6,"textarea",48),t["ɵɵlistener"]("input",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().ques_ask=e.target.value})),t["ɵɵelementEnd"](),t["ɵɵelementStart"](7,"button",49),t["ɵɵlistener"]("click",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().AskQuestion(e)})),t["ɵɵtext"](8,"Ask your Question"),t["ɵɵelementEnd"]()()()()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",0==i.schquestions.length),t["ɵɵadvance"](3),t["ɵɵproperty"]("src",i.user_avatar,t["ɵɵsanitizeUrl"])("on-img-error",i.user_avatar_fallback),t["ɵɵadvance"](1),t["ɵɵproperty"]("scroll-to",i.focus_on_input),t["ɵɵadvance"](1),t["ɵɵproperty"]("value",i.ques_ask)}}function Re(e,n){1&e&&(t["ɵɵelementStart"](0,"div",54)(1,"div",55),t["ɵɵelement"](2,"i"),t["ɵɵelementEnd"]()())}function He(e,n){if(1&e&&t["ɵɵelement"](0,"a",79),2&e){var r=t["ɵɵnextContext"]().$implicit;t["ɵɵclassProp"]("qt-as-link",r.from_search),t["ɵɵproperty"]("href",r.ques_href||"/answers/"+r.ques_fullslug,t["ɵɵsanitizeUrl"])("zing-url",!0)("cleanHTML",r.ques_title)("focus-when",r.focuson)("no-click",!0)}}function Ve(e,n){if(1&e&&t["ɵɵelement"](0,"span",80),2&e){var r=t["ɵɵnextContext"]().$implicit;t["ɵɵclassProp"]("qt-as-link",r.from_search),t["ɵɵproperty"]("cleanHTML",r.ques_title)}}function Be(e,n){if(1&e&&t["ɵɵelement"](0,"p",81),2&e){var r=t["ɵɵnextContext"]().$implicit;t["ɵɵproperty"]("cleanHTML",r.ques_content_cut_mob)}}function $e(e,n){if(1&e&&t["ɵɵelement"](0,"p",82),2&e){var r=t["ɵɵnextContext"]().$implicit;t["ɵɵproperty"]("cleanHTML",r.ques_content_cut_desk)}}function De(e,n){1&e&&(t["ɵɵelementStart"](0,"span",83),t["ɵɵtext"](1,"..."),t["ɵɵelementEnd"]())}function Qe(e,n){if(1&e&&t["ɵɵelement"](0,"p",81),2&e){var r=t["ɵɵnextContext"]().$implicit;t["ɵɵproperty"]("cleanHTML",r.ques_content_more)}}function Ue(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"span",84),t["ɵɵlistener"]("onTap",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](2).ExpandContent(e.id,"question")})),t["ɵɵtext"](1,"show more"),t["ɵɵelementEnd"]()}if(2&e){var i=t["ɵɵnextContext"]().$implicit,o=t["ɵɵnextContext"](2);t["ɵɵproperty"]("ng-hidden",o.questionexpand[i.id])}}function Ge(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"span",85),t["ɵɵlistener"]("onTap",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](2).ExpandContent(e.id,"question")})),t["ɵɵtext"](1,"show less"),t["ɵɵelementEnd"]()}if(2&e){var i=t["ɵɵnextContext"]().$implicit,o=t["ɵɵnextContext"](2);t["ɵɵproperty"]("ng-hidden",!o.questionexpand[i.id])}}function We(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",86),t["ɵɵlistener"]("click",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](2).ShowReplybox(e.id)})),t["ɵɵtext"](1,"Reply"),t["ɵɵelementEnd"]()}if(2&e){var i=t["ɵɵnextContext"]().$implicit;t["ɵɵproperty"]("focus-when",i.reply_bt_focus)("no-click",!0)}}function Ye(e,n){1&e&&t["ɵɵelement"](0,"span",87)}function Je(e,n){1&e&&t["ɵɵelement"](0,"span",87)}function Xe(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"form",88),t["ɵɵlistener"]("onSubmit",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](2).SubmitReply(e)})),t["ɵɵelementStart"](1,"div",89),t["ɵɵelement"](2,"img",90),t["ɵɵelementEnd"](),t["ɵɵelementStart"](3,"div",91)(4,"ck-editor",92),t["ɵɵlistener"]("valueChange",(function(e){t["ɵɵrestoreView"](r);var n=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](2).ReplyInput(e,n.id)})),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](5,"div",93),t["ɵɵelement"](6,"error-toast",94),t["ɵɵelementStart"](7,"button",95),t["ɵɵlistener"]("click",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](2).ShowReplybox(e.id)})),t["ɵɵtext"](8,"Cancel"),t["ɵɵelementEnd"](),t["ɵɵelementStart"](9,"button",96)(10,"span"),t["ɵɵtext"](11,"Reply"),t["ɵɵelementEnd"](),t["ɵɵelement"](12,"i",97),t["ɵɵelementEnd"]()()()}if(2&e){var i=t["ɵɵnextContext"]().$implicit,o=t["ɵɵnextContext"](2);t["ɵɵadvance"](2),t["ɵɵproperty"]("src",o.user_avatar,t["ɵɵsanitizeUrl"])("on-img-error",o.user_avatar_fallback),t["ɵɵadvance"](2),t["ɵɵproperty"]("value",o.replyboxinput[i.id])("active",!0)("cursor-focus",o.replyboxshow[i.id])("readonly",o.replyinprogress[i.id]),t["ɵɵadvance"](2),t["ɵɵproperty"]("message",null==o.replyerror[i.id]?null:o.replyerror[i.id].message)("show",null==o.replyerror[i.id]?null:o.replyerror[i.id].show)("close-on-change",!0)("timer",3e3),t["ɵɵadvance"](1),t["ɵɵproperty"]("disabled",o.replyinprogress[i.id]),t["ɵɵadvance"](2),t["ɵɵclassProp"]("loadactive",o.replyinprogress[i.id]),t["ɵɵproperty"]("disabled",o.replyinprogress[i.id])}}function Ze(e,n){if(1&e&&(t["ɵɵelementStart"](0,"span",111),t["ɵɵtext"](1),t["ɵɵelementEnd"]()),2&e){var r=t["ɵɵnextContext"](2).$implicit;t["ɵɵadvance"](1),t["ɵɵtextInterpolate1"](", ",r.user_title,"")}}function Ke(e,n){if(1&e&&(t["ɵɵelementStart"](0,"div",109),t["ɵɵelement"](1,"span",21),t["ɵɵtemplate"](2,Ze,2,1,"span",110),t["ɵɵelementEnd"]()),2&e){var r=t["ɵɵnextContext"]().$implicit;t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-context",r.user_fullname||r.user_login),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",r.user_title)}}function et(e,n){if(1&e&&(t["ɵɵelementContainerStart"](0),t["ɵɵtext"](1),t["ɵɵelementContainerEnd"]()),2&e){var r=t["ɵɵnextContext"]().$implicit;t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](r.user_login)}}function tt(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"span",116),t["ɵɵlistener"]("onTap",(function(){var e=t["ɵɵrestoreView"](r).index,n=t["ɵɵnextContext"](2).$implicit;return t["ɵɵnextContext"](3).AnsOpt(e,n)})),t["ɵɵtext"](1),t["ɵɵelementEnd"]()}if(2&e){var i=n.$implicit,o=n.index;t["ɵɵclassProp"]("qnaml-first",0==o),t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](i)}}function nt(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",112)(1,"span",113),t["ɵɵlistener"]("onTap",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](3).ControlAnsOpt(e)}))("onTapOutside",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().$implicit.options_list_opened=!1})),t["ɵɵelementEnd"](),t["ɵɵelementStart"](2,"div",114),t["ɵɵlistener"]("onTap",(function(e){return e.stopPropagation()})),t["ɵɵtemplate"](3,tt,2,3,"span",115),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"]().$implicit,o=t["ɵɵnextContext"](3);t["ɵɵadvance"](2),t["ɵɵproperty"]("ng-hidden",!i.options_list_opened),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngForOf",o.ansOptions)("ngForTrackBy",o.trackByFn)}}function rt(e,n){1&e&&t["ɵɵelement"](0,"span",87)}function it(e,n){1&e&&t["ɵɵelement"](0,"span",87)}var ot=function(){return{attribute:"itemprop",value:"upvoteCount"}},at=function(e){return[e]},st=function(){return{attribute:"itemprop",value:"downvoteCount"}};function lt(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",70)(1,"div",117),t["ɵɵlistener"]("onTap",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](3).RateContent(e,"up")})),t["ɵɵtemplate"](2,rt,1,0,"span",118),t["ɵɵelementStart"](3,"span",119),t["ɵɵtext"](4),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](5,"div",74),t["ɵɵlistener"]("onTap",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](3).RateContent(e,"down")})),t["ɵɵtemplate"](6,it,1,0,"span",118),t["ɵɵelementStart"](7,"span",119),t["ɵɵtext"](8),t["ɵɵelementEnd"]()()()}if(2&e){var i=t["ɵɵnextContext"](),o=i.$implicit,a=i.index,s=t["ɵɵnextContext"](3);t["ɵɵadvance"](1),t["ɵɵclassProp"]("visible",o.voteinprogress),t["ɵɵproperty"]("zing-no-touch",!0),t["ɵɵattribute"]("aria-label",o.upvotelabel),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",o.voteinprogress),t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-attribute",t["ɵɵpureFunction1"](17,at,t["ɵɵpureFunction0"](16,ot)))("ng-attribute-when",s.toggleSchema&&0==a),t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](o.upvote),t["ɵɵadvance"](1),t["ɵɵclassProp"]("visible",o.downvoteinprogress),t["ɵɵproperty"]("zing-no-touch",!0),t["ɵɵattribute"]("aria-label",o.dnvotelabel),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",o.downvoteinprogress),t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-attribute",t["ɵɵpureFunction1"](20,at,t["ɵɵpureFunction0"](19,st)))("ng-attribute-when",s.toggleSchema&&0==a),t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](o.downvote)}}var ct=function(){return{416:35,541:50,769:70,2800:90}},ut=function(){return{attribute:"itemprop",value:"text"}};function dt(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",98)(1,"div",99)(2,"div",100),t["ɵɵelement"](3,"img",101,102),t["ɵɵelementEnd"](),t["ɵɵelementStart"](5,"div",103),t["ɵɵtemplate"](6,Ke,3,2,"div",104),t["ɵɵelementStart"](7,"div",105),t["ɵɵtemplate"](8,et,2,1,"ng-container",35),t["ɵɵelementEnd"](),t["ɵɵtemplate"](9,nt,4,3,"div",106),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](10,"div",107),t["ɵɵlistener"]("onExpand",(function(e){var n=t["ɵɵrestoreView"](r).$implicit;return t["ɵɵnextContext"](3).AnswerExpanded(e,n)})),t["ɵɵelementEnd"](),t["ɵɵtemplate"](11,lt,9,22,"div",108),t["ɵɵelementEnd"]()}if(2&e){var i=n.$implicit,o=n.index,a=t["ɵɵnextContext"](),s=a.$implicit,l=a.index,c=t["ɵɵnextContext"](2);t["ɵɵproperty"]("ng-hidden",!(0==o||c.question_more_answers[s.id]||1==o&&s.answers[0].my_ans))("ng-attribute",c.aschemascope)("ng-attribute-when",c.toggleSchema&&0==o),t["ɵɵadvance"](2),t["ɵɵproperty"]("defer-src",i.user_avatar)("src-fallback",c.user_avatar_fallback)("ui-hydrate",!0),t["ɵɵadvance"](4),t["ɵɵproperty"]("ngIf",i.user_fullname||i.user_login),t["ɵɵadvance"](2),t["ɵɵproperty"]("ngIf",i.user_login),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",null==i?null:i.is_reportable),t["ɵɵadvance"](1),t["ɵɵproperty"]("zing-url-container",!0)("expand-content",0==o&&0==l&&!c.search_loading&&!(c.show_search_state||c.show_search_state_empty))("breakwords",t["ɵɵpureFunction0"](20,ct))("breakwords-static",c.nodetruncate)("collapse-button",0!=o||0!=l||c.show_search_state||c.show_search_state_empty?"show less":"")("ng-truncate",i.content_long)("sanitize-cfg",i.sanitizecfg)("ng-attribute",t["ɵɵpureFunction1"](22,at,t["ɵɵpureFunction0"](21,ut)))("ng-attribute-when",c.toggleSchema&&0==o),t["ɵɵattribute"]("data-pos",i.stackid),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!c.IsSpecial(i.id))}}function pt(e,n){1&e&&(t["ɵɵelementStart"](0,"div",123),t["ɵɵelement"](1,"i"),t["ɵɵelementEnd"]())}function ht(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",120),t["ɵɵtemplate"](1,pt,2,0,"div",121),t["ɵɵelementStart"](2,"span",122),t["ɵɵlistener"]("onTap",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"](),n=e.$implicit,i=e.index;return t["ɵɵnextContext"](2).ViewMoreAns(n,i)})),t["ɵɵtext"](3," View more answers "),t["ɵɵelement"](4,"i",9),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"]().$implicit,o=t["ɵɵnextContext"](2);t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",o.answersmore[i.id])}}var mt=function(){return{attribute:"itemprop",value:"name"}};function ft(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"article",56)(1,"h3",57),t["ɵɵtemplate"](2,He,1,7,"a",58),t["ɵɵtemplate"](3,Ve,1,3,"span",59),t["ɵɵelementEnd"](),t["ɵɵelementStart"](4,"div",60)(5,"div",61),t["ɵɵtext"](6),t["ɵɵelementEnd"](),t["ɵɵelementStart"](7,"span",62),t["ɵɵtext"](8),t["ɵɵelementEnd"]()(),t["ɵɵtemplate"](9,Be,1,1,"p",63),t["ɵɵtemplate"](10,$e,1,1,"p",64),t["ɵɵtemplate"](11,De,2,0,"span",65),t["ɵɵtemplate"](12,Qe,1,1,"p",63),t["ɵɵtemplate"](13,Ue,2,1,"span",66),t["ɵɵtemplate"](14,Ge,2,1,"span",67),t["ɵɵelementStart"](15,"div",68),t["ɵɵtemplate"](16,We,2,2,"div",69),t["ɵɵelementStart"](17,"div",70)(18,"div",71),t["ɵɵlistener"]("onTap",(function(){var e=t["ɵɵrestoreView"](r).$implicit;return t["ɵɵnextContext"](2).RateContent(e,"up")})),t["ɵɵtemplate"](19,Ye,1,0,"span",72),t["ɵɵelementStart"](20,"span",73),t["ɵɵtext"](21),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](22,"div",74),t["ɵɵlistener"]("onTap",(function(){var e=t["ɵɵrestoreView"](r).$implicit;return t["ɵɵnextContext"](2).RateContent(e,"down")})),t["ɵɵtemplate"](23,Je,1,0,"span",72),t["ɵɵelementStart"](24,"span",73),t["ɵɵtext"](25),t["ɵɵelementEnd"]()()()(),t["ɵɵtemplate"](26,Xe,13,14,"form",75),t["ɵɵelementStart"](27,"div",76),t["ɵɵtemplate"](28,dt,12,24,"div",77),t["ɵɵtemplate"](29,ht,5,1,"div",78),t["ɵɵelementEnd"]()()}if(2&e){var i=n.$implicit,o=t["ɵɵnextContext"](2);t["ɵɵclassProp"]("qna-q-search",i.from_search),t["ɵɵproperty"]("ng-attribute",o.qschemascope)("ng-attribute-when",o.questionToggleSchema(i)),t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-attribute",t["ɵɵpureFunction1"](37,at,t["ɵɵpureFunction0"](36,mt)))("ng-attribute-when",o.questionToggleSchema(i)),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.ques_href||i.ques_fullslug),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!i.ques_href&&!i.ques_fullslug),t["ɵɵadvance"](2),t["ɵɵproperty"]("ng-attribute",t["ɵɵpureFunction1"](40,at,t["ɵɵpureFunction0"](39,ot)))("ng-attribute-when",o.questionToggleSchema(i)),t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](i.upvote),t["ɵɵadvance"](2),t["ɵɵtextInterpolate1"]("Upvote",1!=i.upvote?"s":"",""),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!o.questionexpand[i.id]&&i.ques_content_cut_mob),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!o.questionexpand[i.id]&&i.ques_content_cut_desk),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!o.questionexpand[i.id]&&i.ques_content_has_more),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",(o.questionexpand[i.id]||!i.ques_content_cut_mob)&&i.ques_content_more),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.ques_content_has_more),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.ques_content_has_more),t["ɵɵadvance"](2),t["ɵɵproperty"]("ngIf",!o.IsSpecial(i.id)),t["ɵɵadvance"](2),t["ɵɵclassProp"]("visible",i.voteinprogress),t["ɵɵproperty"]("zing-no-touch",!0),t["ɵɵattribute"]("aria-label",i.upvotelabel),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.voteinprogress),t["ɵɵadvance"](2),t["ɵɵtextInterpolate"](i.upvote),t["ɵɵadvance"](1),t["ɵɵclassProp"]("visible",i.downvoteinprogress),t["ɵɵproperty"]("zing-no-touch",!0),t["ɵɵattribute"]("aria-label",i.dnvotelabel),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.downvoteinprogress),t["ɵɵadvance"](2),t["ɵɵtextInterpolate"](i.downvote),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",o.replyboxshow[i.id]),t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-hidden",!i.answers||i.answers.length<1),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngForOf",i.answers)("ngForTrackBy",o.trackByFn),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.has_more_answers)}}function gt(e,n){if(1&e&&(t["ɵɵelementStart"](0,"div",51),t["ɵɵtemplate"](1,Re,3,0,"div",52),t["ɵɵtemplate"](2,ft,30,42,"article",53),t["ɵɵelementEnd"]()),2&e){var r=t["ɵɵnextContext"]();t["ɵɵclassProp"]("qna-qb-loading",r.search_loading||r.questions_more),t["ɵɵproperty"]("ng-hidden",r.resultserror||r.load_startup||r.load_startup_fail)("ng-attribute",r.qschemapage)("ng-attribute-when",r.sectionToggleSchema()),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",r.search_loading||r.questions_more),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngForOf",r.schquestions)("ngForTrackBy",r.trackByFn)}}function _t(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"button",128),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"](2).ViewMoreQuestions()})),t["ɵɵelementStart"](1,"span",129)(2,"span",127),t["ɵɵtext"](3,"View "),t["ɵɵelementEnd"](),t["ɵɵtext"](4,"More Questions"),t["ɵɵelementEnd"](),t["ɵɵelement"](5,"i",97),t["ɵɵelementEnd"]()}if(2&e){var i=t["ɵɵnextContext"](2);t["ɵɵclassProp"]("loadactive",i.questions_more)}}function vt(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",124),t["ɵɵtemplate"](1,_t,6,2,"button",125),t["ɵɵelementStart"](2,"button",126),t["ɵɵlistener"]("click",(function(e){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().AskQuestion(e)})),t["ɵɵtext"](3,"Ask "),t["ɵɵelementStart"](4,"span",127),t["ɵɵtext"](5,"Your"),t["ɵɵelementEnd"](),t["ɵɵtext"](6," Question"),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"]();t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.has_more_ques)}}function xt(e,n){1&e&&(t["ɵɵelementStart"](0,"div",130)(1,"div",55),t["ɵɵelement"](2,"i"),t["ɵɵelementEnd"]()())}function bt(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",131)(1,"p",132),t["ɵɵtext"](2,"Oops there was a problem retrieving data"),t["ɵɵelementEnd"](),t["ɵɵelement"](3,"br"),t["ɵɵelementStart"](4,"div",133)(5,"button",134),t["ɵɵlistener"]("onTap",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"]().RetryLoadData()})),t["ɵɵtext"](6,"Retry"),t["ɵɵelementEnd"]()()()}}var yt=function(e){return{"ng-enter-element":e}};require("systemjs").import("css:/components/qna-comp.css").then((function(){})).catch((function(){}));var wt=function(){function e(e,r,i){this._location=e,this._route=r,this._dservice=i,this.layout_type=0,this.product_name="",this.ques_data=null,this.ques_referer=null,this.intro_truncate=!0,this.quest_category=null,this.start_delay=1e3,this.section_title="Questions & Answers",this.show_header=!0,this.ask_quest_categories=null,this.is_details=!1,this.nodetruncate=null,this._qType=new t.BehaviorSubject(""),this._has_answer=!1,this.truncateBreakwords={480:16,2048:300},this.toggleSchema=!1,this.qschemapage=[{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/FAQPage"}],this.qschemascope=[{attribute:"itemscope",value:""},{attribute:"itemprop",value:"mainEntity"},{attribute:"itemtype",value:"http://schema.org/Question"}],this.aschemascope=[{attribute:"itemprop",value:"acceptedAnswer"},{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/Answer"}],this.aschematime=[{attribute:"itemprop",value:"dateCreated"}],this.userschema=[{attribute:"itemprop",value:"author"},{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/Person"}],this.noresults=!1,this.resultserror=!1,this.search_loading=!1,this.answerexpand={},this.questionexpand={},this.question_more_answers={},this.answersmore={},this.questions_more=!1,this.has_enough_ques=!1,this.has_more_ques=!1,this.load_startup=!1,this.load_startup_fail=!1,this.is_android=!1,this.current_page=1,this.schquestions=[],this.total_ques=new t.EventEmitter,this.replyboxinput={},this.replyboxinputsubmited={},this.replyinprogress={},this.replyerror={},this.replyboxshow={},this.sortList=["Most Popular","Most Upvotes"],this.sortv="",this.sort_list_opened=!1,this.sort_list_closed=!1,this.user_avatar_fallback="https://cdn.wallethub.com/wallethub/images/profile/avatars/silhouette-50_V1d9a2cc_.png",this.ques_ask="",this.ansOptions=["Report"],this.qna_key_reset=!1,this._open_popup=!1,this.page_query=null,this.allow_animation=!1,this.live_status="",this.answers_link=n.baseUrl()+"/answers/",n.isNode()||(this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))}return Object.defineProperty(e.prototype,"search_value",{get:function(){return this._qType.getValue()},enumerable:!1,configurable:!0}),e.prototype.questionToggleSchema=function(e){return this.toggleSchema&&!(!e.answers||e.answers.length<1)},e.prototype.sectionToggleSchema=function(){return!!(this.toggleSchema&&this._has_answer&&this.schquestions.length>0)},Object.defineProperty(e.prototype,"show_search_state",{get:function(){return this.search_value&&this.search_value.length>1&&!this.noresults&&!this.resultserror},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"show_search_state_empty",{get:function(){return this.search_value&&this.search_value.length>1&&this.noresults&&!this.resultserror},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"has_clipped_answer_content",{get:function(){return this.answers_content_clipped&&!(this.show_search_state||this.show_search_state_empty)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"open_popup",{get:function(){return this._open_popup},set:function(e){this._open_popup=e,e&&this.AskQuestion()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"has_view_more",{get:function(){return!this.search_value&&!this.search_loading&&!this.load_startup&&!this.load_startup_fail&&!this.resultserror&&this.has_enough_ques},enumerable:!1,configurable:!0}),e.prototype.trackByFn=function(e){return e},e.prototype._ParseQuestions=function(e,t,r){var i=this,o=[];return n.arrayForEach(e,(function(e,a){if(null==e)return!0;var s=e;if(s.ques_title=e.ques_content,delete s.ques_content,s.ques_content_more=s.ques_more_info||s.ques_content_more||"",s.ques_more_info&&delete s.ques_more_info,s.ques_content_more.length>138&&(s.ques_content_cut_mob=s.ques_content_more.substring(0,138),s.ques_content_has_more=!0),s.ques_content_more.length>330?s.ques_content_cut_desk=s.ques_content_more.substring(138,330):s.ques_content_more.length>138&&(s.ques_content_cut_mob=s.ques_content_more,s.ques_content_has_more=!1),!s.ques_fullslug&&s.ques_slug&&(s.ques_fullslug=s.ques_slug+"-"+s.id.toString()),s.upvotelabel=s.upvote+" up vote"+(1!=s.upvote?"s":""),s.dnvotelabel=s.downvote+" down vote"+(1!=s.upvote?"s":""),t){var l=t(s,a);if("boolean"==typeof l&&!l)return!0}var c=a;n.isArray(i.schquestions)&&(c+=i.schquestions.length),i._ParseAnswers(s,c,null,0,r),o.push(s)})),o},e.prototype._ParseAnswers=function(e,t,r,i,o){var a=this,s=r||e.answers||[];n.isArray(s)&&(e.answers=r?e.answers:[],s.length>0&&!this._has_answer&&(this._has_answer=!0),s.forEach((function(r,i){var s=r;s.user_login&&(s.user_login="@"+s.user_login),s.user_fullname=n.trim(s.user_fullname||""),n.isArray(s.content)?(s.content_cut=s.content[0]||s.content[1],a.answers_content_clipped&&!e.from_search?(s.content_long=s.content[0],delete s.content_cut):s.content[0]?s.content_long=s.content[1]:(s.content_long=s.content_cut,delete s.content_cut)):(s.content_long=s.content,a.answers_content_clipped=!0),delete s.content,s.content_cut&&"string"==typeof s.content_cut&&(s.content_cut=s.content_cut.replace("[[:hellip:]]","...")),0!=t||e.from_search||e.answers.length||(s.content_long||(s.content_long=s.content_cut),delete s.content_cut,a.answerexpand[s.id]=!0),a.signon&&a.signon.id==s.uid&&(a.replyboxinputsubmited[e.id]=s.content_long||s.content_cut),s.content_cut&&(s.content_cut=a._FormatAnswer(s.content_cut)),s.content_long&&(s.content_long=a._FormatAnswer(s.content_long));var l=o?o(s,e,i):null;("boolean"!=typeof l||l)&&(e.answers.push(s),s.stackid=t.toString()+"-"+e.answers.indexOf(s).toString()),s.is_reportable=!1,s.sanitizecfg={RETURN_DOM_FRAGMENT:!1,RETURN_DOM:!1,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target","allow","allowfullscreen","frameborder"]},s.upvotelabel=s.upvote+" up vote"+(1!=s.upvote?"s":""),s.dnvotelabel=s.downvote+" down vote"+(1!=s.upvote?"s":""),(a.IsSpecial(s.id)||n.isAny(s.uid,[13302181,15780064,13301077,15679068,15598394,16156697]))&&s.sanitizecfg.ADD_TAGS.push("iframe")})),e.has_more_answers=(e.total_answers||0)>e.answers.length||e.answers.length>1&&!this.question_more_answers[e.id],void 0!==i&&!isNaN(parseInt(i.toString()))&&i>0&&(e.has_more_answers=!0)),n.reqAnimationFrame((function(){n.Events.emit("$shortcodes:set")}))},e.prototype._FormatAnswer=function(e){try{e=(e=(e=e.replace(/<p><\/p>/g,"")).replace(/<p>(\s|&nbsp;)+<\/p>/g,"")).replace(/((?:[^\S\n]*(<p>)\s*<br(?:\s*\/\s*)?>\s*(<\/p>)|\s*<br>){2,})/g,"")}catch(t){e=""}return e},e.prototype.SearchInput=function(e){var t=e.target.value;this._qType.next(t)},e.prototype.ControlSortList=function(e){this.sort_list_opened="boolean"==typeof e?e:!this.sort_list_opened,!n.isNode()&&this.sort_list_opened&&document.getElementById("a11y-qna-list").focus()},e.prototype.ExpandContent=function(e,t){this[t+"expand"][e]=!this[t+"expand"][e]},e.prototype.RateContent=function(e,t){var r=this;if(void 0===t&&(t="up"),!n.isObject(this.signon)||!("id"in this.signon))return this.live_status="You must be logged in to vote",void(n.isWeb()?top.location.href="/join/light?redirect_to="+encodeURIComponent(document.location.href):n.isCordova()&&n.Events.emit("$native:api-no-session"));if(!e.voteinprogress&&!e.downvoteinprogress){e.voteinprogress="up"==t,e.downvoteinprogress="down"==t;var i=e.id,o=e.answers||e.ques_title?"question":"answer",a=o,s=(e.id+"").match(/^([abceq])(\d+)$/);s&&(i=parseInt(s.pop()),a=s.pop(),~["q","a"].indexOf(a)||(a="q"+a)),n.$httpAbort("content-vote-"+e.id),clearTimeout(this.live_status_timer),n.$http({url:n.ajaxUrl(),data:{action:"Answers.Vote",id:i,kind:a,dir:"down"==t?"dn":"up"},id:"content-vote-"+e.id,before:function(){e.voteinprogress="up"==t,e.downvoteinprogress="down"==t,r.live_status="Voting "+o+" "+t},after:function(){e.voteinprogress=!1,e.downvoteinprogress=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(n){if(r.live_status="",n.error)throw Error("response error");e.upvote=n.votes_up,e.downvote=n.votes_dn,e.upvotelabel=e.upvote+" "+t+" vote"+(1!=e.upvote?"s":""),e.dnvotelabel=e.downvote+" "+t+" vote"+(1!=e.downvote?"s":""),r.live_status="up"==t?e.upvotelabel:e.dnvotelabel,n.upClass&&(e.upvotelabel+=". Pressed"),n.dnClass&&(e.dnvotelabel+=". Pressed"),r.live_status_timer=setTimeout((function(){r.live_status=""}),1e3)})).catch((function(e){e instanceof Error?(n.Events.emit("$server:error",{data:e.message}),r.live_status="Error saving your vote"):401==e.status&&(r.live_status="You must be logged in to vote",n.isWeb()?top.location.href="/join/light?redirect_to="+encodeURIComponent(document.location.href):n.isCordova()&&n.Events.emit("$native:api-no-session")),r.live_status_timer=setTimeout((function(){r.live_status=""}),1e3)}))}},e.prototype.IsSpecial=function(e){return~["c","b","e"].indexOf((e+"").charAt(0))},e.prototype.ControlAnsOpt=function(e){e.options_list_opened=!e.options_list_opened},e.prototype.AnsOpt=function(e,t){var r=n.stringGetDigits(t.id);0==e&&window.open("/report-abuse/?ru=".concat(location.href.split("?")[0].split("#")[0],"&t=a&id=").concat(r),"_self")},e.prototype._throwReplyError=function(e,t){var n=this;void 0===t&&(t="We encountered an error. Please retry"),this.replyerror[e]=this.replyerror[e]||{},this.replyerror[e].message=t,this.replyerror[e].show?(this.replyerror[e].show=!1,setTimeout((function(){n.replyerror[e].show=!0}))):this.replyerror[e].show=!0},e.prototype.ShowReplybox=function(e){this.replyinprogress[e]||(this.replyboxshow[e]=!this.replyboxshow[e],this.replyboxshow[e]?this.replyboxinput[e]=this.replyboxinputsubmited[e]||"":(n.arrayForEach(this.schquestions,(function(t){if(t.id==e)return t.reply_bt_focus=!0,setTimeout((function(){t.reply_bt_focus=!1}),100),!1})),this.replyboxinput[e]=""))},e.prototype.ReplyInput=function(e,t){this.replyboxinput[t]=e,this.replyerror[t]&&(this.replyerror[t].show=!1)},e.prototype.SubmitReply=function(e){var t=this,r=this.replyboxinput[e.id];!(r=n.trim(r))||r.length<30?this._throwReplyError(e.id,"Content must have 30 characters."):(clearTimeout(this.live_status_timer),this.live_status="Posting answer",n.$http({url:n.ajaxUrl(),data:{action:"Answers.AnswerQuestion",do:"user-answer",question_id:e.id,answer:r},headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},before:function(){t.replyinprogress[e.id]=!0},after:function(){delete t.replyinprogress[e.id]}}).then((function(r){if(t.live_status="",r&&"redirect"in r)return n.isCordova()?n.Events.emit("$native:api-no-session","answer-submit-login"):top.location.href=r.redirect,void setTimeout((function(){t.replyinprogress[e.id]=!0}));if(r.error&&"message"in r){var i=[e.id],o=r.message.match(/^Bad word `([^`]+)` detected.$/);return o&&o.length&&i.push('Profanity is not allowed, including words such as "'.concat(o[1],'". Please adjust.')),void t._throwReplyError.apply(t,i)}if(r.error)t._throwReplyError(e.id);else{var a=(e.answers||[]).findIndex((function(e){return e.id==r.id})),s={date:r.date,id:r.id,content:[r.answer],user_login:r.user_login||r.username,user_fullname:n.trim(r.user_fullname||r.fullname||""),user_avatar:r.user_avatar||r.avatar,user_title:r.user_title||"",edited:r.edited},l={id:e.id,has_more_answers:e.has_more_answers,answers:[s]};t._ParseAnswers(l,l.id);var c=l.answers[0];c.my_ans=!0,t.answerexpand[c.id]=!0;var u=c;a>-1?(c.edited=!0,Object.assign(e.answers[a],c),u=e.answers[a]):e.answers.unshift(c),t.replyboxinputsubmited[e.id]=r.answer,delete t.replyboxshow[e.id],t.live_status="Answer posted",u.focuson=!0,setTimeout((function(){u.focuson=!1}),100),t.live_status_timer=setTimeout((function(){t.live_status=""}),1e3)}})).catch((function(n){console.error(n),t._throwReplyError(e.id)})))},e.prototype.QSearch=function(e,t){var r=this;this.resultserror=!1;var i=t?null:n.trim(null!=e?e:this._qType.getValue())||"";if(this.current_page=1,n.$httpAbort("qna-search-query"),n.$httpAbort("qna-load-initial"),i){clearTimeout(this.live_status_timer);var o={id:"qna-search-query",url:n.ajaxUrl(),data:{action:"Answers.CommunitySearch",query:i},before:function(){r.search_loading=!0,r.live_status="Searching for answers"},after:function(){r.search_loading=!1},method:"GET"};this.quest_category?o.data.category=this._stripSlashes(this.quest_category):o.data.uri=this.ques_referer,n.$http(o).then((function(e){if(!e||!n.isArray(e))throw r.live_status="no matching results",r.live_status_timer=setTimeout((function(){r.live_status=""}),1e3),Error("Data provide is invalid");r.answerexpand={},r.questionexpand={},r.schquestions=r._ParseQuestions(e,(function(e){e.from_search=!0})),r.noresults=0==r.schquestions.length,r.live_status=(r.noresults?"no ":"")+"matching results",r.live_status_timer=setTimeout((function(){r.live_status=""}),1e3)})).catch((function(e){e instanceof Error&&console.error(e),r.resultserror=!0,r.live_status="no matching results",setTimeout((function(){r.live_status=""}),1e3)}))}else this._StartupLoad(!0)},e.prototype.QReset=function(){this.QSearch(null,!0)},e.prototype.QClear=function(){var e=this;this._qType.next(""),this.qna_key_reset=!0,setTimeout((function(){e.qna_key_reset=!1}),10)},e.prototype._stripSlashes=function(e){return 0==e.indexOf("/")&&(e=e.substring(1)),e.lastIndexOf("/")==e.length-1&&(e=e.substring(0,e.length)),e},e.prototype.ViewMoreAns=function(e,t){var r=this;if(e.answers.length>1&&!this.question_more_answers[e.id])return this.question_more_answers[e.id]=!0,void(e.has_more_answers=(e.total_answers||0)>e.answers.length);this.live_status="Loading more answers",n.$http({url:n.ajaxUrl(),method:"GET",data:{action:"Answers.GetMoreAnswers",answers:e.answers.length,qid:e.id,v:2},before:function(){r.answersmore[e.id]=!0},after:function(){r.answersmore[e.id]=!1}}).then((function(i){if(r.live_status="",!i||!n.isArray(i.answers))throw Error("Required `answers` Array is not part of response");r.question_more_answers[e.id]=!0,r._ParseAnswers(e,t,i.answers,i.left,(function(e,t,n){0==n&&(e.focuson=!0,setTimeout((function(){e.focuson=!1}),100))})),r.live_status="Loaded "+i.answers.length+" more answer"+(1!=i.answers.length?"s":""),setTimeout((function(){r.live_status=""}),1e3)})).catch((function(e){r.live_status="",console.error(e)}))},e.prototype.AnswerExpanded=function(e,t){t.is_expanded=e},e.prototype._LoadQues=function(e){var t=this;e&&(this.live_status="Questions are now sorted by "+this.sortv,this.current_page=1,this.sortFocus=!0),n.$httpAbort("qna-more-questions");var r,i={uri:this.ques_referer,action:"Answers.GetForPage"};this.is_details&&(i.action="Details.GetQuestions",i.v="3"),this.current_page>1&&(i.p=this.current_page),this.sortingparam&&(i.sort_by=this.sortingparam),n.$http({url:n.ajaxUrl(),method:"GET",data:i,before:function(){t.questions_more=!0,r=t._dservice&&t._dservice.element&&t._dservice.element.scrollTop,t.live_status=e?"Sorting questions by "+("mv"!=t.sortingparam?"most popular":"most upvotes"):"Loading more questions"},after:function(){t.questions_more=!1},id:"qna-more-questions"}).then((function(i){if(t.live_status="",!i||!n.isArray(i.questions))throw Error("Required `question` Array is not part of response");t.has_enough_ques=i.pages&&i.pages>1,t.has_more_ques=i.current_page&&i.pages&&i.current_page<i.pages,e?(t.schquestions=[],t.has_enough_ques=!0):(t.live_status="Loaded "+i.questions.length+"more question"+(1!=i.questions.length?"s":""),setTimeout((function(){t.live_status=""}),1e3)),t.schquestions=t.schquestions.concat(t._ParseQuestions(i.questions,(function(t,n){0!=n||e||(t.focuson=!0,setTimeout((function(){t.focuson=!1}),100))}))),t.noresults=0==t.schquestions.length,setTimeout((function(){t._dservice&&t._dservice.element&&t._dservice.scrollTo({position:r,timing:0})}))})).catch((function(e){t.live_status="",console.error(e)}))},e.prototype.ViewMoreQuestions=function(){this.current_page++,this._LoadQues()},e.prototype.ChangeSort=function(e){var t=this;if(this.sortv=this.sortList[e],1===e)this.sortingparam="mv";else this.sortingparam="mp";this._LoadQues(!0),this.sort_list_closed=!0,this.sort_list_opened=!1,setTimeout((function(){t.sort_list_opened=!1,t.sort_list_closed=!1}))},e.prototype.AskQuestion=function(e){var t=e&&e.currentTarget;this._quesOverlay&&this._quesOverlay.Open(ce,{input:this.ques_ask||this._qType.getValue()||"",referer:n.baseUrl()+this.ques_referer,addparams:this.addAskParams,categories:this.ask_quest_categories},{return_focus_to:t||null})},e.prototype._parseInitialData=function(e){this.schquestions=this._ParseQuestions(e.questions||[]),this.noresults=0==this.schquestions.length,this.has_enough_ques=e.pages&&e.pages>1,this.has_more_ques=e.current_page&&e.pages&&e.current_page<e.pages,this.load_startup_fail=!1,this.noresults?this.schq_count=null:this.schq_count="".concat(e.total_questions," question").concat(1!=e.total_questions?"s":""),this.total_ques.emit(e.total_questions||0),e.categories&&!this.ask_quest_categories&&(this.ask_quest_categories=e.categories),e.current_page&&e.current_page>1&&(this.current_page=e.current_page)},e.prototype._StartupLoad=function(e){var t=this;this.load_startup_fail=!1;var r={uri:this.ques_referer,action:"Answers.GetForPage"};this.current_page>1&&(r.p=this.current_page),this.sortingparam&&(r.sort_by=this.sortingparam),n.$httpAbort("qna-load-initial"),n.$http({url:n.ajaxUrl(),method:"GET",data:r,before:function(){e?t.search_loading=!0:t.load_startup=!0},after:function(){e?t.search_loading=!1:t.load_startup=!1},id:"qna-load-initial"}).then((function(r){if(!r||r.error||r.questions&&!n.isArray(r.questions))throw Error("Required `question` Array is not part of response");t._parseInitialData(r),e&&(t.has_enough_ques=!0)})).catch((function(e){console.error(e),t.load_startup_fail=!0}))},e.prototype.RetryLoadData=function(){this._StartupLoad()},e.prototype.ngOnInit=function(){var e=this;this.sortv=this.sortList[0],this.sortingparam="mp",n.isNode()||!n.Cookies.get("mw_signon")&&!n.AppData.group("mw_cookies")?this.user_avatar=null:(this.signon=n.Cookies.get("mw_signon")?JSON.parse(n.Cookies.get("mw_signon")):null,this.user_avatar=this.signon&&this.signon.pp||this.user_avatar_fallback);var r=this._location.path().split("?")[0];if(this.ques_referer=this.ques_referer||r.replace("/ng-home",""),0!=this.ques_referer.indexOf("/")&&(this.ques_referer="/"+this.ques_referer),this.ques_referer.startsWith("/personal-loans")||this.ques_referer.lastIndexOf("/")!==this.ques_referer.length-1&&(this.ques_referer+="/"),this.page_query&&!n.isNode()&&this._route.queryParams.pipe(t.take(1)).subscribe((function(t){var r=t[e.page_query],i=r?n.toNumber(r):0;i&&(e.ques_data&&e.ques_data.pages?i<=e.ques_data.pages&&i!=e.ques_data.current_page?(e.current_page=i,e.ques_data=null):e.ques_data.questions.length<1&&(e.ques_data.pages=1):(e.current_page=i,e.ques_data=null))})),this.ques_data&&this.ques_data.questions&&n.isArray(this.ques_data.questions)?this._parseInitialData(this.ques_data):n.isNode()||(this.load_startup=!0,setTimeout((function(){e._StartupLoad()}),this.start_delay||1)),!n.isNode())var i,o,a=this._qType.pipe(t.debounceTime(200)).subscribe({next:function(t){var r=n.trim((t||"").replace(/(\r\n\t|\n|\r\t)/gm," "));null!==t&&r!=i&&r.length>1?(i=r,o=!0,e.QSearch(r)):o&&(!r||r.length<2)&&(i=r,o=!1,e.QReset())},error:function(){},complete:function(){a.unsubscribe()}})},e.prototype.ngAfterViewInit=function(){var e=this;n.isNode()||n.reqAnimationFrame((function(){e.allow_animation=!0}))},e.prototype.ngOnDestroy=function(){this._qType.complete()},e.ɵfac=function(r){return new(r||e)(t["ɵɵdirectiveInject"](t.Location),t["ɵɵdirectiveInject"](q),t["ɵɵdirectiveInject"](n.ScrollerService))},e.ɵcmp=t["ɵɵdefineComponent"]({type:e,selectors:[["","id","qna-box"]],viewQuery:function(e,n){if(1&e&&(t["ɵɵviewQuery"](xe,5),t["ɵɵviewQuery"](be,5),t["ɵɵviewQuery"](ye,5)),2&e){var r=void 0;t["ɵɵqueryRefresh"](r=t["ɵɵloadQuery"]())&&(n.txtElement=r.first),t["ɵɵqueryRefresh"](r=t["ɵɵloadQuery"]())&&(n._quesOverlay=r.first),t["ɵɵqueryRefresh"](r=t["ɵɵloadQuery"]())&&(n._answersList=r)}},hostVars:4,hostBindings:function(e,n){2&e&&t["ɵɵclassProp"]("qna-type1",0==n.layout_type)("qna-no-more",!n.has_view_more)},inputs:{layout_type:["type","layout_type"],product_name:["product-name","product_name"],ques_data:["product-questions","ques_data"],ques_referer:["product-referer","ques_referer"],intro_content:["use-intro","intro_content"],intro_truncate:["intro-truncate","intro_truncate"],quest_category:["product-category","quest_category"],start_delay:["startup-delay","start_delay"],section_title:["section-title","section_title"],show_header:["show-header","show_header"],ask_quest_categories:["question-categories","ask_quest_categories"],is_details:["details-qna","is_details"],nodetruncate:["ssr-answer-truncate","nodetruncate"],toggleSchema:["toggle-schema","toggleSchema"],open_popup:["show-ask-popup","open_popup"],focus_on_input:["scroll-to-ask","focus_on_input"],addAskParams:["question-ask-add-params","addAskParams"],page_query:["pagination-query","page_query"]},outputs:{total_ques:"total-questions"},attrs:we,decls:22,vars:26,consts:[[3,"ng-aria-live"],["class","qna-heading qnah-2 bold-font",4,"ngIf"],["class","qna-heading",3,"ngClass","ng-context",4,"ngIf"],["class","qna-prg",4,"ngIf"],["zing-touch","","class","qna-prg",3,"zing-url-container","cleanHTML",4,"ngIf"],["class","qna-prg","zing-touch","",3,"zing-url-container","ng-truncate","breakwords","breakpoint",4,"ngIf"],["class","qna-search-box",4,"ngIf"],[1,"qna-sort",3,"ngClass","ng-hidden"],["role","button","tabindex","0","ng-focus","","aria-haspopup","listbox","aria-controls","a11y-qna-list","aria-owns","a11y-qna-list","zing-touch","",1,"qna-most-list-active","inline-block",3,"focus-when","no-click","onClick","onTapOutside"],["aria-hidden","true","tabindex","-1",1,"af-icon-down-open"],["id","a11y-qna-list","role","listbox","ng-focus","","tabindex","0","aria-labelledby","label-id-qna-sort",1,"qna-most-list","basic-trans",3,"focus-when","no-click","ng-hidden"],["role","option","tabindex","0","class","qna-most-list-it bold-font","zing-touch","",3,"qnaml-first","onClick",4,"ngFor","ngForOf","ngForTrackBy"],["id","label-id-qna-sort","hidden","true"],["class","qna-form-box",4,"ngIf"],["class","qna-questions-box",3,"qna-qb-loading","ng-hidden","ng-attribute","ng-attribute-when",4,"ngIf"],["class","qna-q-get-more",4,"ngIf"],["title",""],["quesOverlay",""],["class","qna-startup-load progress-indicator-container ng-enter-element",4,"ngIf"],["class","qna-startup-fail ng-enter-element",4,"ngIf"],[1,"qna-heading","qnah-2","bold-font"],[3,"ng-context"],["class","qa-count semi-bold-font",4,"ngIf"],[1,"qa-count","semi-bold-font"],[1,"qna-heading",3,"ngClass","ng-context"],[1,"qna-prg"],["href","/answers/","zing-touch","","target","_blank","rel","noopener",1,"link",3,"zing-url"],["zing-touch","",1,"qna-prg",3,"zing-url-container","cleanHTML"],["zing-touch","",1,"qna-prg",3,"zing-url-container","ng-truncate","breakwords","breakpoint"],[1,"qna-search-box"],["aria-label","Search for answers",1,"label-input","full",3,"scroll-to"],["placeholder","Have a question? Search for answers","ng-autosize","","aria-label","keyword",1,"qna-search-input","textarea",3,"value","sizeupdate","input"],["class","qba-sc-cross lbl-b ng-enter-element","zing-touch","","role","button","aria-label","Clear field",3,"onTap",4,"ngIf"],["aria-label","Search","type","button","zing-touch","",1,"lbl-b","action","af-icon-search",3,"ng-hidden","onTap"],[1,"qna-ask-q-suggest","semi-bold-font","ng-enter-element",3,"ng-hidden"],[4,"ngIf"],["aria-haspopup","dialog",1,"btn","fixed-w-h",3,"click"],["aria-hidden","true","tabindex","-1"],["class","qna-search-state bold-font",4,"ngIf"],["zing-touch","","role","button","aria-label","Clear field",1,"qba-sc-cross","lbl-b","ng-enter-element",3,"onTap"],[1,"qna-search-state","bold-font"],["role","option","tabindex","0","zing-touch","",1,"qna-most-list-it","bold-font",3,"onClick"],[1,"qna-form-box"],["class","qna-fb-hero",4,"ngIf"],[1,"qna-ques-form"],[1,"qna-qf-av"],["width","40","height","40","alt","",3,"src","on-img-error"],[1,"qna-qf-input",3,"scroll-to"],["placeholder","Have a question? Ask the WalletHub community.","aria-label","Ask a question","ng-autosize","",1,"qna-qf-txt","textarea","semi-bold-font",3,"value","input"],["aria-haspopup","dialog",1,"btn","fixed-w-f",3,"click"],[1,"qna-fb-hero"],[1,"qna-questions-box",3,"ng-hidden","ng-attribute","ng-attribute-when"],["class","qna-loading-box ng-enter-element",4,"ngIf"],["class","qna-question-item",3,"qna-q-search","ng-attribute","ng-attribute-when",4,"ngFor","ngForOf","ngForTrackBy"],[1,"qna-loading-box","ng-enter-element"],[1,"progress-indicator","always-v","visible"],[1,"qna-question-item",3,"ng-attribute","ng-attribute-when"],[1,"qna-q-title-box","bold-font",3,"ng-attribute","ng-attribute-when"],["class","qna-q-title link","zing-touch","","rel","noopener","ng-focus","",3,"href","zing-url","cleanHTML","qt-as-link","focus-when","no-click",4,"ngIf"],["class","qna-q-title link",3,"cleanHTML","qt-as-link",4,"ngIf"],[1,"qna-q-upvotes"],[1,"qna-q-upvotes-count",3,"ng-attribute","ng-attribute-when"],[1,"bold-font"],["class","qna-q-content ng-enter-element text-select",3,"cleanHTML",4,"ngIf"],["class","qna-q-content ng-enter-element qna-q-desk text-select",3,"cleanHTML",4,"ngIf"],["class","qna-q-content qna-q-desk",4,"ngIf"],["class","qna-q-content-more semi-bold-font","zing-touch","","role","button","aria-expanded","false",3,"ng-hidden","onTap",4,"ngIf"],["class","qna-q-content-more semi-bold-font","zing-touch","","role","button","aria-expanded","true",3,"ng-hidden","onTap",4,"ngIf"],[1,"qna-q-actions"],["class","qna-q-reply link semi-bold-font","role","button","tabindex","0","ng-focus","",3,"focus-when","no-click","click",4,"ngIf"],[1,"qna-q-thumbs"],["zing-touch","","role","button","tabindex","0",1,"up","vote","bf-icon-upvote","progress-indicator","qna-qvt",3,"zing-no-touch","onTap"],["class","progress-spin","aria-hidden","true","tabindex","-1",4,"ngIf"],[1,"vote-text"],["zing-touch","","role","button","tabindex","0",1,"dn","vote","bf-icon-downvote","progress-indicator",3,"zing-no-touch","onTap"],["class","qna-q-replyform ng-enter-element","form-submit","",3,"onSubmit",4,"ngIf"],[1,"qna-q-answers",3,"ng-hidden"],["class","qna-q-ans basic-trans",3,"ng-hidden","ng-attribute","ng-attribute-when",4,"ngFor","ngForOf","ngForTrackBy"],["class","qna-qa-show-more progress-indicator-container",4,"ngIf"],["zing-touch","","rel","noopener","ng-focus","",1,"qna-q-title","link",3,"href","zing-url","cleanHTML","focus-when","no-click"],[1,"qna-q-title","link",3,"cleanHTML"],[1,"qna-q-content","ng-enter-element","text-select",3,"cleanHTML"],[1,"qna-q-content","ng-enter-element","qna-q-desk","text-select",3,"cleanHTML"],[1,"qna-q-content","qna-q-desk"],["zing-touch","","role","button","aria-expanded","false",1,"qna-q-content-more","semi-bold-font",3,"ng-hidden","onTap"],["zing-touch","","role","button","aria-expanded","true",1,"qna-q-content-more","semi-bold-font",3,"ng-hidden","onTap"],["role","button","tabindex","0","ng-focus","",1,"qna-q-reply","link","semi-bold-font",3,"focus-when","no-click","click"],["aria-hidden","true","tabindex","-1",1,"progress-spin"],["form-submit","",1,"qna-q-replyform","ng-enter-element",3,"onSubmit"],[1,"avatar"],["width","","height","","alt","",3,"src","on-img-error"],[1,"reply-box","ck-answer-editor"],[3,"value","active","cursor-focus","readonly","valueChange"],[1,"reply-act"],[3,"message","show","close-on-change","timer"],["type","button","aria-label","Cancel",1,"btn","grey","fixed-w",3,"disabled","click"],["type","submit","aria-label","Submit",1,"btn","blue","fixed-w","with-loader","no-disabled",3,"disabled"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"qna-q-ans","basic-trans",3,"ng-hidden","ng-attribute","ng-attribute-when"],[1,"qna-qa-top"],[1,"avatar",3,"defer-src","src-fallback","ui-hydrate"],["alt","user avatar","width","40","height","40",1,"avatar-img"],["deferImg",""],[1,"qna-qa-names","text-select"],["class","full-name semi-bold-font",4,"ngIf"],["aria-hidden","true","tabindex","-1",1,"second-name"],["class","qna-qa-sort","role","listbox",4,"ngIf"],["zing-touch","",1,"qna-q-ans-content","with-links","text-select",3,"zing-url-container","expand-content","breakwords","breakwords-static","collapse-button","ng-truncate","sanitize-cfg","ng-attribute","ng-attribute-when","onExpand"],["class","qna-q-thumbs",4,"ngIf"],[1,"full-name","semi-bold-font"],["class","author-cap",4,"ngIf"],[1,"author-cap"],["role","listbox",1,"qna-qa-sort"],["zing-touch","",1,"af-icon-down-open","cursor-pointer",3,"onTap","onTapOutside"],["zing-touch","",1,"qna-most-list","basic-trans",3,"ng-hidden","onTap"],["role","option","zing-touch","","class","qna-most-list-it bold-font",3,"qnaml-first","onTap",4,"ngFor","ngForOf","ngForTrackBy"],["role","option","zing-touch","",1,"qna-most-list-it","bold-font",3,"onTap"],["zing-touch","","role","button","tabindex","0",1,"up","vote","bf-icon-upvote","progress-indicator",3,"zing-no-touch","onTap"],["aria-hidden","true","tabindex","-1","class","progress-spin",4,"ngIf"],[1,"vote-text",3,"ng-attribute","ng-attribute-when"],[1,"qna-qa-show-more","progress-indicator-container"],["class","progress-indicator visible",4,"ngIf"],["zing-touch","","role","button",1,"qna-qa-sm-bt","link","inherit",3,"onTap"],[1,"progress-indicator","visible"],[1,"qna-q-get-more"],["class","btn blue-brds tall with-loader no-disabled bold-font","aria-label","View More Questions","zing-touch","",3,"loadactive","onTap",4,"ngIf"],["aria-label","Ask Your Question",1,"btn","tall","qna-qgm-btn-last","blue-brds","bold-font",3,"click"],[1,"qna-qgm-mhide"],["aria-label","View More Questions","zing-touch","",1,"btn","blue-brds","tall","with-loader","no-disabled","bold-font",3,"onTap"],[1,"bt-text"],[1,"qna-startup-load","progress-indicator-container","ng-enter-element"],[1,"qna-startup-fail","ng-enter-element"],[1,"qna-prg","center","semi-bold-font","qna-prg-smaller"],[1,"center"],["zing-touch","",1,"btn","blue-brds","fixed-w-f","with-loader",3,"onTap"]],template:function(e,n){1&e&&(t["ɵɵelement"](0,"div",0),t["ɵɵtemplate"](1,Ee,3,2,"h2",1),t["ɵɵtemplate"](2,Se,1,5,"h2",2),t["ɵɵtemplate"](3,Te,6,2,"p",3),t["ɵɵtemplate"](4,ke,1,2,"p",4),t["ɵɵtemplate"](5,Ie,1,4,"p",5),t["ɵɵtemplate"](6,Oe,13,12,"div",6),t["ɵɵelementStart"](7,"div",7)(8,"span",8),t["ɵɵlistener"]("onClick",(function(){return n.ControlSortList()}))("onTapOutside",(function(){return n.ControlSortList(!1)})),t["ɵɵtext"](9),t["ɵɵelement"](10,"i",9),t["ɵɵelementEnd"](),t["ɵɵelementStart"](11,"ul",10),t["ɵɵtemplate"](12,je,2,3,"li",11),t["ɵɵelementEnd"](),t["ɵɵelementStart"](13,"div",12),t["ɵɵtext"](14,"Questions sort"),t["ɵɵelementEnd"]()(),t["ɵɵtemplate"](15,Pe,9,5,"div",13),t["ɵɵtemplate"](16,gt,3,8,"div",14),t["ɵɵtemplate"](17,vt,7,1,"div",15),t["ɵɵelement"](18,"modal-dialog",16,17),t["ɵɵtemplate"](20,xt,3,0,"div",18),t["ɵɵtemplate"](21,bt,7,0,"div",19)),2&e&&(t["ɵɵproperty"]("ng-aria-live",n.live_status),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.show_header&&1==n.layout_type),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.show_header&&1!=n.layout_type),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.product_name),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.intro_content&&!n.intro_truncate),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.intro_content&&n.intro_truncate),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.has_enough_ques&&!n.load_startup&&!n.load_startup_fail),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngClass",t["ɵɵpureFunction1"](24,yt,n.allow_animation))("ng-hidden",!n.has_enough_ques||0==n.schquestions.length||n.show_search_state||n.show_search_state_empty||n.resultserror),t["ɵɵadvance"](1),t["ɵɵproperty"]("focus-when",n.sort_list_closed)("no-click",!0),t["ɵɵattribute"]("aria-expanded",n.sort_list_opened)("aria-label",n.sortv),t["ɵɵadvance"](1),t["ɵɵtextInterpolate1"]("",n.sortv," "),t["ɵɵadvance"](2),t["ɵɵproperty"]("focus-when",n.sort_list_opened)("no-click",!0)("ng-hidden",!n.sort_list_opened),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngForOf",n.sortList)("ngForTrackBy",n.trackByFn),t["ɵɵadvance"](3),t["ɵɵproperty"]("ngIf",!n.has_enough_ques&&!n.load_startup&&!n.load_startup_fail),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.search_loading||n.questions_more||n.schquestions.length),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.has_view_more),t["ɵɵadvance"](3),t["ɵɵproperty"]("ngIf",n.load_startup&&!n.load_startup_fail),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",n.load_startup_fail))},directives:[n.ngAriaLive,t.NgIf,n.ngCleanBind,t.NgClass,n.TouchGestures,n.ngCleanHTML,_e,n.ngZenScroll,P,n.ngHidden,n.ngFocus,t.NgForOf,G,n.ngAttribute,n.FormSubmit,Q,n.ErrorToastComponent,n.ImageLoader,n.ngModalDialog],encapsulation:2}),e}(),qt=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({imports:[[t.CommonModule,n.DirectivesModule,n.ErrorsModule,W,n.ImageLoaderModule,T,n.ngModalsModule,n.StickerModule,R,U,n.FormSubmitModule,ue,ve,n.ngFocusModule]]}),e}(),Et=["id","experts-gallery"];function Ct(e,n){1&e&&(t["ɵɵelementStart"](0,"div",10),t["ɵɵelement"](1,"i"),t["ɵɵelementEnd"]())}function St(e,n){if(1&e&&(t["ɵɵelementStart"](0,"div",11),t["ɵɵelement"](1,"h2",12),t["ɵɵelementEnd"]()),2&e){var r=t["ɵɵnextContext"](2);t["ɵɵadvance"](1),t["ɵɵproperty"]("innerHTML",r.header_text||"Ask the Experts",t["ɵɵsanitizeHtml"])("ng-speak-when",r.head_focus)}}function Tt(e,n){if(1&e&&t["ɵɵelement"](0,"div",13),2&e){var r=t["ɵɵnextContext"](2);t["ɵɵproperty"]("cleanHTML",r.intro)}}function kt(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementContainerStart"](0),t["ɵɵelementStart"](1,"span",21),t["ɵɵtext"](2),t["ɵɵelementEnd"](),t["ɵɵelement"](3,"br"),t["ɵɵelementStart"](4,"i",22),t["ɵɵtext"](5),t["ɵɵelementEnd"](),t["ɵɵelement"](6,"br"),t["ɵɵelementStart"](7,"span",23),t["ɵɵlistener"]("onClick",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](2).gotToOne(e.HASHTAG)})),t["ɵɵtext"](8,"Read More"),t["ɵɵelementEnd"](),t["ɵɵelementContainerEnd"]()}if(2&e){var i=t["ɵɵnextContext"](),o=i.index,a=i.$implicit,s=t["ɵɵnextContext"](2);t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-speak-when",s.center_experts&&0===o),t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](a.AUTHOR),t["ɵɵadvance"](3),t["ɵɵtextInterpolate"](a.CAPTION),t["ɵɵadvance"](2),t["ɵɵproperty"]("zing-no-touch",!0)}}function It(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementContainerStart"](0),t["ɵɵelementStart"](1,"span",24),t["ɵɵlistener"]("onClick",(function(){t["ɵɵrestoreView"](r);var e=t["ɵɵnextContext"]().$implicit;return t["ɵɵnextContext"](2).gotToOne(e.HASHTAG)})),t["ɵɵelementEnd"](),t["ɵɵelementContainerEnd"]()}if(2&e){var i=t["ɵɵnextContext"]().$implicit;t["ɵɵadvance"](1),t["ɵɵproperty"]("ng-context",i.AUTHOR)}}function At(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",14)(1,"div",15)(2,"span",16),t["ɵɵlistener"]("onClick",(function(){var e=t["ɵɵrestoreView"](r).$implicit;return t["ɵɵnextContext"](2).gotToOne(e.HASHTAG)})),t["ɵɵelement"](3,"img",17,18),t["ɵɵelementEnd"]()(),t["ɵɵelementStart"](5,"div",19),t["ɵɵtemplate"](6,kt,9,4,"ng-container",20),t["ɵɵtemplate"](7,It,2,1,"ng-container",20),t["ɵɵelementEnd"]()()}if(2&e){var i=n.$implicit,o=t["ɵɵnextContext"](2);t["ɵɵclassProp"]("gallery-item-logo",o.as_logos),t["ɵɵadvance"](2),t["ɵɵproperty"]("defer-src",i.AVATAR)("zing-no-touch",!0)("ui-hydrate",o.srv_no_avatars),t["ɵɵattribute"]("aria-label",i.AUTHOR),t["ɵɵadvance"](1),t["ɵɵclassProp"]("exp-img-logo",o.as_logos),t["ɵɵproperty"]("alt",i.AUTHOR),t["ɵɵadvance"](3),t["ɵɵproperty"]("ngIf",!o.as_logos),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",o.as_logos)}}function zt(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"div",25)(1,"span",26),t["ɵɵlistener"]("onClick",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"](2).showMoreExperts()})),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"](2);t["ɵɵadvance"](1),t["ɵɵproperty"]("zing-no-touch",!0)("ng-context",i.more_btn_txt)}}function Mt(e,n){if(1&e&&(t["ɵɵelementStart"](0,"i"),t["ɵɵtext"](1),t["ɵɵelementEnd"]()),2&e){var r=t["ɵɵnextContext"](3);t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](null==r.expert_full?null:r.expert_full.CAPTION)}}function Lt(e,n){if(1&e&&t["ɵɵelement"](0,"div",33),2&e){var r=t["ɵɵnextContext"](3);t["ɵɵproperty"]("innerHtml",r.expert_full.CONTENT,t["ɵɵsanitizeHtml"])}}function Nt(e,n){if(1&e&&t["ɵɵelement"](0,"div",34),2&e){var r=t["ɵɵnextContext"](3);t["ɵɵproperty"]("cleanHTML",r.expert_full.CONTENT)("cleanHTML-sett",r.doompurifySett)}}function Ot(e,n){if(1&e){var r=t["ɵɵgetCurrentView"]();t["ɵɵelementStart"](0,"article",27),t["ɵɵelement"](1,"img",28),t["ɵɵelementStart"](2,"h3",29),t["ɵɵtext"](3),t["ɵɵelementEnd"](),t["ɵɵtemplate"](4,Mt,2,1,"i",20),t["ɵɵtemplate"](5,Lt,1,1,"div",30),t["ɵɵtemplate"](6,Nt,1,2,"div",31),t["ɵɵelementStart"](7,"button",32),t["ɵɵlistener"]("onClick",(function(){return t["ɵɵrestoreView"](r),t["ɵɵnextContext"](2).goToAll()})),t["ɵɵtext"](8),t["ɵɵelementEnd"]()()}if(2&e){var i=t["ɵɵnextContext"](2);t["ɵɵclassProp"]("exp-logo-profile",i.as_logos),t["ɵɵadvance"](1),t["ɵɵproperty"]("src",null==i.expert_full?null:i.expert_full.AVATAR,t["ɵɵsanitizeUrl"]),t["ɵɵadvance"](2),t["ɵɵtextInterpolate"](null==i.expert_full?null:i.expert_full.AUTHOR),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!i.as_logos),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!i.as_logos),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",i.as_logos),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngClass",i.back_bt_class),t["ɵɵadvance"](1),t["ɵɵtextInterpolate"](i.back_bt_text)}}var jt=function(e,t,n,r,i,o){return{"exp-gal-one-it":e,"exp-gal-two-it":t,"expert-single":n,"blink-end":r,empty:i,"experts-format-a":o}};function Ft(e,n){if(1&e&&(t["ɵɵelementStart"](0,"section",1),t["ɵɵtemplate"](1,Ct,2,0,"div",2),t["ɵɵtemplate"](2,St,2,2,"div",3),t["ɵɵtemplate"](3,Tt,1,1,"div",4),t["ɵɵelementStart"](4,"div",5)(5,"div",6),t["ɵɵtemplate"](6,At,8,11,"div",7),t["ɵɵtemplate"](7,zt,2,2,"div",8),t["ɵɵtemplate"](8,Ot,9,9,"article",9),t["ɵɵelementEnd"]()()()),2&e){var r=t["ɵɵnextContext"]();t["ɵɵproperty"]("ngClass",t["ɵɵpureFunction6"](13,jt,r.experts.length<2,r.experts.length<3,r.expert_single,!r.expert_single&&!r.loading&&!r.is_initial,r.emptydata,1==r.layout_format))("scroll-to",r.scrollall),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",r.loading),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",!r.layout_format),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",r.intro&&!r.expert_single),t["ɵɵadvance"](1),t["ɵɵclassProp"]("all",!r.expert_single),t["ɵɵproperty"]("scroll-to",r.center_experts),t["ɵɵadvance"](1),t["ɵɵproperty"]("scroll-to",r.scrollsingle)("scrolloffset",r.expert_offset),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngForOf",r.experts),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",r.hasmoreexperts&&!r.expert_single),t["ɵɵadvance"](1),t["ɵɵproperty"]("ngIf",r.expert_single)}}require("systemjs").import("css:/components/experts-gallery.css").then((function(){}),(function(){}));var Pt=function(){function e(e){this._zone=e,this.experts=[],this.expert_single=!1,this.expert_offset=0,this.max_experts=Number.MAX_SAFE_INTEGER,this.header_text="",this.srv_no_avatars=!1,this.no_scroll_all=!1,this.current_page=0,this.questions=[],this.scrollall=!1,this.head_focus=!1,this.center_experts=!1,this.scrollsingle=!1,this.loading=!1,this.emptydata=!1,this.norender=!1,this.dataerror=!1,this.hasmoreexperts=!1,this.isnode=!1,this.doompurifySett={USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript","iframe"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","src"]},this.as_logos=!1,this.is_initial=!0,this._rendered=!1,this._hashtaglist={},this._refreshonurl=!1,this.refreshdelay=1,this.asyncdata=!1,this.server_render=!1,this.layout_format=0,this.back_bt_text="Back to All Experts",this.back_bt_class="btn blue",this.more_btn_txt="More Experts",this.changedExpert=new t.EventEmitter,this.tagMatch=new t.EventEmitter,this._servertransitwait=!0}return Object.defineProperty(e.prototype,"hashname",{get:function(){return this._hashname},set:function(e){this._hashname=e,e&&this._rendered?this._goToExpert(e):this.expert_single=!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e,e&&n.isArray(e.expertsContent)?(n.$httpAbort("experts-gallery"),this.expert_single=!1,this._parseExperts(this._data),this.asyncdata&&this._setExpertsPagination(),!this.emptydata&&this._hashname&&this._goToExpert(this._hashname),e.aslogos&&(this.as_logos=!0)):e&&!e.expertsContent&&(this.emptydata=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"urlpath",{get:function(){return this._urlpath},set:function(e){var t=e&&e!==this._urlpath;this._urlpath=e,t&&(this.urlrefresh=this.urlrefresh)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"urlrefresh",{get:function(){return this._refreshonurl},set:function(e){this._refreshonurl=e,e&&this._urlpath&&!this._data&&!this.asyncdata?this._refreshonurl=!0:this._refreshonurl=!1},enumerable:!1,configurable:!0}),e.prototype._goToExpert=function(e,t){var r=this;this.is_initial=!1;var i,o=function(){r.scrollsingle=!0,setTimeout((function(){r.scrollsingle=!1}),100)};e=e.toString().toLowerCase(),this._hashtaglist.hasOwnProperty(e)&&this._data.expertsContent[this._hashtaglist[e]]?(this.expert_single=!0,this.expert_full!==this._data.expertsContent[this._hashtaglist[e]]&&(this.expert_full=this._data.expertsContent[this._hashtaglist[e]],n.reqAnimationFrame((function(){r._zone.run((function(){if(n.isWeb()&&r._servertransitwait){if(!t)var e=n.Events.subscribe("server:transitscroll",(function(t){"done"!=t&&"none"!=t||o(),setTimeout((function(){e&&e.unsubscribe()}))}));r._servertransitwait=!1}else t||o()}))}))),i=!0):i=!1,this.tagMatch.emit(i)},e.prototype._storeTags=function(){this._hashtaglist={};for(var e=0,t=this.experts.length;e<t;e++){var n=this.experts[e].HASHTAG.substring(1);n=n.toLowerCase(),this._hashtaglist[n]=e+(0===this.current_page?0:this.current_page-1)*this.max_experts}},e.prototype._parseExperts=function(e){e.expertsContent.length>0?(this.experts=e.expertsContent,this.hasmoreexperts=!!this.max_experts&&e.expertsContent.length>this.max_experts,this.intro=e.expertsIntro||null,this._storeTags(),this._hashname&&this._goToExpert(this._hashname),this.emptydata=!1):(this.emptydata=!0,this._hashtaglist=[])},e.prototype._setExpertsPagination=function(){this.hasmoreexperts=!!this.max_experts&&this.experts.length>this.max_experts,this.experts=(this.experts||[]).slice(this.current_page*this.max_experts,++this.current_page*this.max_experts)},e.prototype._throwError=function(e,t){this.dataerror=!0,n.RavenRequestFail(e,"NG Experts Gallery : Data Request Error",{action:t})},e.prototype._getExpertsByUrl=function(){var e=this;this.expert_single=!1,n.$httpAbort("experts-gallery"),this.loading=!0,n.$http({method:"GET",url:n.ajaxUrl(),id:"experts-gallery",before:function(){e.loading=!0},after:function(){e.loading=!1},data:{action:"Posts.GetExpertsGallery",path:this.urlpath},events:!1}).then((function(t){if(t&&!t.error){var r=t.data;n.isObject(r)&&n.isArray(r.expertsContent)?(e._data=r,e._parseExperts(r)):e.emptydata=!0}else e._throwError({data:t,status:200,type:"response"},e.urlpath)}),(function(t){e._throwError(t,e.urlpath)}))},e.prototype.ngOnInit=function(){var e=this;this.isnode=n.isNode(),this.isnode?this.server_render?this.norender=!this._data&&!this.asyncdata:this.norender=!0:(!this._data&&this.urlpath&&this.urlrefresh&&!this.asyncdata?this.loading=!0:this.loading=!1,this.loading||this.asyncdata||this.data||(this.emptydata=!0),this.urlrefresh&&setTimeout((function(){e._getExpertsByUrl()}),this.refreshdelay),this.as_logos?(this.more_btn_txt||(this.more_btn_txt="More Retailers"),this.back_bt_text||(this.back_bt_text="Back to All Retailers")):(this.more_btn_txt||(this.more_btn_txt="More Experts"),this.back_bt_text||(this.back_bt_text="Back to All Experts"))),this.asyncdata||this._setExpertsPagination()},e.prototype.ngAfterViewInit=function(){var e=this;this._rendered=!0,this.isnode?this._servertransitwait=!1:this.data&&!this.emptydata&&this._hashname?n.reqAnimationFrame((function(){return e._goToExpert(e._hashname)})):this.asyncdata||(this._servertransitwait=!1)},e.prototype.ngOnDestroy=function(){n.$httpAbort("experts-gallery")},e.prototype.goToAll=function(){var e=this;this.expert_single=!1,this.scrollsingle=!1,this.expert_full=null,this.no_scroll_all||(this.scrollall=!0),this.head_focus=!0,setTimeout((function(){e.no_scroll_all||(e.scrollall=!1),e.head_focus=!1}),100),this.changedExpert.emit(null)},e.prototype.gotToOne=function(e){var t=e.substring(1);this.expert_full=null,this._goToExpert(t),this.changedExpert.emit(t)},e.prototype.showMoreExperts=function(){var e=this,t=this._data.expertsContent,r=t.length;this.experts=t.slice(this.current_page*this.max_experts,++this.current_page*this.max_experts),this._storeTags(),this.current_page&&this.current_page*this.max_experts>=r&&(this.current_page=0),this.center_experts=!1,setTimeout((function(){e.center_experts=!0,n.reqAnimationFrame((function(){e.center_experts=!1}))}))},e.ɵfac=function(n){return new(n||e)(t["ɵɵdirectiveInject"](t.NgZone))},e.ɵcmp=t["ɵɵdefineComponent"]({type:e,selectors:[["div","id","experts-gallery"]],inputs:{expert_offset:["scroll-offset","expert_offset"],max_experts:["max-experts","max_experts"],header_text:["header-text","header_text"],srv_no_avatars:["ui-hydrate-avatars","srv_no_avatars"],no_scroll_all:["no-scroll-all","no_scroll_all"],hashname:["hashtag","hashname"],data:"data",urlpath:"urlpath",urlrefresh:"urlrefresh",refreshdelay:"refreshdelay",asyncdata:"asyncdata",server_render:["server-render","server_render"],layout_format:["format","layout_format"],back_bt_text:["back-bt-text","back_bt_text"],back_bt_class:["back-bt-class","back_bt_class"],more_btn_txt:["more-bt-text","more_btn_txt"]},outputs:{changedExpert:"changedExpert",tagMatch:"tagMatch"},attrs:Et,decls:1,vars:1,consts:[["class","experts-gallery",3,"ngClass","scroll-to",4,"ngIf"],[1,"experts-gallery",3,"ngClass","scroll-to"],["class","progress-indicator visible",4,"ngIf"],["class","header-part",4,"ngIf"],["class","intro-part with-links",3,"cleanHTML",4,"ngIf"],[1,"container",3,"scroll-to"],[1,"gallery",3,"scroll-to","scrolloffset"],["class","gallery-item",3,"gallery-item-logo",4,"ngFor","ngForOf"],["class","more-experts",4,"ngIf"],["class","text-select expert-profile ng-enter-element slide",3,"exp-logo-profile",4,"ngIf"],[1,"progress-indicator","visible"],[1,"header-part"],["ng-speak","header",3,"innerHTML","ng-speak-when"],[1,"intro-part","with-links",3,"cleanHTML"],[1,"gallery-item"],[1,"gallery-icon"],["tabindex","0","role","img button","zing-touch","",1,"gall-ic-action",3,"defer-src","zing-no-touch","ui-hydrate","onClick"],["height","110","width","110","tabindex","-1","aria-hidden","true",1,"expert-image",3,"alt"],["deferImg",""],[1,"wp-caption-text","gallery-caption"],[4,"ngIf"],["tabindex","0","ng-speak","header",1,"text-select",3,"ng-speak-when"],[1,"text-select"],["role","button","tabindex","0","zing-touch","",1,"read-more","touch-element-cl",3,"zing-no-touch","onClick"],["zing-touch","","role","button",1,"read-more","touch-element-cl",3,"ng-context","onClick"],[1,"more-experts"],["zing-touch","","role","button","tabindex","0",3,"zing-no-touch","ng-context","onClick"],[1,"text-select","expert-profile","ng-enter-element","slide"],["height","200","width","200",1,"profile-img",3,"src"],["ng-speak","header"],["class","description-text",3,"innerHtml",4,"ngIf"],["class","description-text",3,"cleanHTML","cleanHTML-sett",4,"ngIf"],["zing-touch","",1,"back-to-xprts",3,"ngClass","onClick"],[1,"description-text",3,"innerHtml"],[1,"description-text",3,"cleanHTML","cleanHTML-sett"]],template:function(e,n){1&e&&t["ɵɵtemplate"](0,Ft,9,20,"section",0),2&e&&t["ɵɵproperty"]("ngIf",!n.norender)},directives:[t.NgIf,t.NgClass,n.ngZenScroll,n.ngSpeak,n.ngCleanHTML,t.NgForOf,n.TouchGestures,n.ImageLoader,n.ngCleanBind],encapsulation:2}),e}(),Rt=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t["ɵɵdefineNgModule"]({type:e}),e.ɵinj=t["ɵɵdefineInjector"]({imports:[[n.DirectivesModule,t.CommonModule,n.ImageLoaderModule,n.ngFocusModule]]}),e}();e.ActivatedRoute=q,e.CompileExpertsGallery=function(e,t,r,i,o){void 0===o&&(o={});for(var a=Rt,s=Pt,l=document.querySelectorAll("[id=experts-gallery]"),c=[],u=0,d=l.length;u<d;u++){l[u].setAttribute("data-expert-sect",u.toString());var p='div[data-expert-sect="'.concat(u,'"]'),h=o.data[u]||{};h={back_bt_text:h.back_link_text,more_btn_txt:h.more_text,header_text:h.header_text,expert_offset:-100,max_experts:6,hashname:o.hashname,data:{expertsContent:h.expertsContent,aslogos:h.aslogos,expertsIntro:h.expertsIntro}},c.push(n.injectModuleAsync(e,t,r,a,s,p,h).then((function(e){var t=e.Component.instance.changedExpert.subscribe((function(e){e?history.pushState(null,"",location.pathname+location.search+"#expert="+e):history.replaceState(null,"",location.pathname+location.search)})),r=i.fragment.subscribe((function(t){if((t=(t||"").replace("#",""))&&t.indexOf("expert=")>-1){var r=n.objectFromParam(t);r&&r.expert&&n.reqAnimationFrame((function(){e.Component.instance.hashname=r.expert}))}}));return{destroy:function(){e.destroy(),t.unsubscribe(),r.unsubscribe()}}})))}return Promise.all(c).then((function(e){return{destroy:function(){e.forEach((function(e){e.destroy()}))}}}))},e.FooterModule=y,e.GetNavigo=function(){return x},e.PageFooter=b,e.QnAComp=wt,e.QnAModule=qt,e.Router=E,e.RouterModule=T}));