PageSourceSearch

https://www.billshark.com/main-es5.630468ec460bca72eedb.js

js billshark.com collected 2026-09-24 12:18:51 UTC 290,123 bytes, 1 lines download raw bytes

vendor: 5,869 bytes, line 1
1!function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.toStringTag||"@@toStringTag";function s(n,i,o,a){var s=i&&i.prototype instanceof c?i:c,u=Object.create(s.prototype);return r(u,"_invoke",function(n,r,i){var o,a,s,c=0,u=i||[],d=!1,h={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,n){return o=t,a=0,s=e,h.n=n,l}};function m(n,r){for(a=n,s=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],m=h.p,p=o[2];n>3?(i=p===r)&&(s=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=e):o[0]<=m&&((i=n<2&&m<o[1])?(a=0,h.v=r,h.n=o[1]):m<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,h.n=p,a=0))}if(i||n>1)return l;throw d=!0,r}return function(i,u,p){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&m(u,p),a=u,s=p;(t=a<2?e:s)||!d;){o||(a?a<3?(a>1&&(h.n=-1),m(a,s)):h.n=s:h.v=s);try{if(c=2,o){if(a||(i="next"),t=o[i]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=o.return)&&t.call(o),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=e}else if((t=(d=h.n<0)?s:n.call(r,h))!==l)break}catch(t){o=e,a=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,o,a),!0),u}var l={};function c(){}function u(){}function d(){}t=Object.getPrototypeOf;var h=[][o]?t(t([][o]())):(r(t={},o,function(){return this}),t),m=d.prototype=c.prototype=Object.create(h);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,a,"GeneratorFunction")),e.prototype=Object.create(m),e}return u.prototype=d,r(m,"constructor",d),r(d,"constructor",u),u.displayName="GeneratorFunction",r(d,a,"GeneratorFunction"),r(m),r(m,a,"Generator"),r(m,o,function(){return this}),r(m,"toString",function(){return"[object Generator]"}),(n=function(){return{w:s,m:p}})()}function r(e,t,n,i){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(r=function(e,t,n,i){function a(t,n){r(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(a("next",0),a("throw",1),a("return",2))})(e,t,n,i)}function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["main"],{98255:function(e){function t(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}t.keys=function(){return[]},t.resolve=t,t.id=98255,e.exports=t},45087:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var r=[{name:"Acorns",route:"/blogs/categories/acorns/all"},{name:"Cable",route:"/blogs/categories/cable/all"},{name:"Cell Phone Bills",route:"/blogs/categories/cell-phone-bills/all"},{name:"College Tuition",route:"/blogs/categories/college-tuition/all"},{name:"Company News",route:"/blogs/categories/company-news/all"},{name:"Credit",route:"/blogs/categories/credit/all"},{name:"Customer Service",route:"/blogs/categories/customer-service/all"},{name:"Debt",route:"/blogs/categories/debt/all"},{name:"Entertainment",route:"/blogs/categories/entertainment/all"}
1,{name:"Financial Advice",route:"/blogs/categories/financial-advice/all"},{name:"Financial Security",route:"/blogs/categories/financial-security/all"},{name:"Home Budgeting & Finance",route:"/blogs/categories/home-budgeting-finance/all"},{name:"Insurance",route:"/blogs/categories/insurance/all"},{name:"Internet",route:"/blogs/categories/internet/all"},{name:"Internet Speed Test",route:"/blogs/categories/internet-speed-test/all"},{name:"Investing",route:"/blogs/categories/investing/all"},{name:"Lifestyle",route:"/blogs/categories/lifestyle/all"},{name:"Loans",route:"/blogs/categories/loans/all"},{name:"Mobile",route:"/blogs/categories/mobile/all"},{name:"Mobile Apps",route:"/blogs/categories/mobile-apps/all"},{name:"NerdWallet",route:"/blogs/categories/nerdwallet/all"},{name:"News",route:"/blogs/categories/news/all"},{name:"Politics",route:"/blogs/categories/politics/all"},{name:"Press",route:"/blogs/categories/press/all"},{name:"Real Estate",route:"/blogs/categories/real-estate/all"},{name:"Retirement",route:"/blogs/categories/retirement/all"},{name:"Savings Tips",route:"/blogs/categories/savings-tips/all"},{name:"Shark Tank",route:"/blogs/categories/shark-tank/all"},{name:"Sharks",route:"/blogs/categories/sharks/all"},{name:"Shopping",route:"/blogs/categories/shopping/all"},{name:"Social Media",route:"/blogs/categories/social-media/all"},{name:"Subscription Services",route:"/blogs/categories/subscription-services/all"},{name:"Taxes",route:"/blogs/categories/taxes/all"},{name:"Technology",route:"/blogs/categories/technology/all"},{name:"Television",route:"/blogs/categories/television/all"},{name:"Travel Tips",route:"/blogs/categories/travel-tips/all"},{name:"Uncategorized",route:"/blogs/categories/uncategorized/all"},{name:"Wedding",route:"/blogs/categories/wedding/all"},{name:"Wireless",route:"/blogs/categories/wireless/all"}]},97245:function(e,t,n){"use strict";n.d(t,{$M:function(){return f},Yu:function(){return g},L6:function(){return v},az:function(){return _},lw:function(){return b},yI:function(){return y},Sc:function(){return S},FM:function(){return E},bQ:function(){return w},Fb:function(){return C},dk:function(){return k},$U:function(){return P},e2:function(){return T},Hb:function(){return O},UA:function(){return I},p_:function(){return x},wL:function(){return A},I5:function(){return M},bW:function(){return R},Jw:function(){return N},T4:function(){return B},y$:function(){return U},bl:function(){return H},Jd:function(){return j},gZ:function(){return q},X3:function(){return G},kx:function(){return V},V0:function(){return z},rg:function(){return W},m1:function(){return $},z$:function(){return K},RZ:function(){return Y},aQ:function(){return J},_f:function(){return Z}});var r,i,o,a,s,l,c,u,d,h=n(97268),m=n(27712),p=n.n(m),f=((d=f||(f={})).NEGOTIATION="Negotiation",d.CANCELLATION="Cancellation",d.SWITCH="Switch",f),g={INSURANCE:(new h.N).deserialize({category_id:"cat_154222724936SpV7SCob89K2mTwu",category_name:"Insurance"}),HOME:(new h.N).deserialize({category_id:"cat_154222743147aBTxu73St9CYAIKD",category_name:"Home"}),AUTO:(new h.N).deserialize({category_id:"cat_154222744777ZwyEunSx8l0NZnpO",category_name:"Auto"}),AUTO_HOME:(new h.N).deserialize({category_id:"cat_15777222664180292SLlKCbJSIZn",category_name:"Auto+Home"})},v={LOGIN_ERRORS_INLINE:!0,PASSWORD_ENCRYPTION:"rsa",RATE_LIMIT_BANNER:!0,PAYMENT_INTENDS:!0,DIGITAL_WALLET:!1,STRIPE_PAYMENT_ELEMENT:("undefined"!=typeof document&&(["https://retail40.billshark.com"].includes(null===(r=null==document?void 0:document.location)||void 0===r?void 0:r.origin)||["https://dev.billshark.com"].includes(null===(i=null==document?void 0:document.location)||void 0===i?void 0:i.origin)||["https://dev-1.billshark.com"].includes(null===(o=null==document?void 0:document.location)||void 0===o?void 0:o.origin)||["http://localhost:4200"].includes(null===(a=null==document?void 0:document.location)||void 0===a?void 0:a.origin)),!1),CART_ITEMS_LIMIT:10,SAVED:0,CUSTOMERS:0,GOOGLE_RATING:4.9,GOOGLE_REVIEWS_COUNT:"8,638",TEL:"877-627-6111",EMAILS:{SUPPORT:"[email protected]",HELP:"[email protected]",HR:"[email protected]"},WINDOW_LOADED:!1,DEFAULT_GABY_INSURANCE_REFERRAL_URL:"https://gabipartners.go2cloud.org/aff_c?offer_id=1&aff_id=1192"},_={GENERAL:{title:"Saving Calculator",subtitle:"See how much you could save!"},NEGOTIATION:{title:"Estimate savings on your bills...",subtitle:"Estimate your savings on internet, wireless, cable, and more!"},CANCELLATION:{title:"Cancel my subscription",subtitle:"Estimate savings & sign up"}},b={MENU:!1,SIDEBAR:!1},y=["/negotiate-bills","/cancel-subscriptions","/referrals","/landing","/confirmation-page","/account","/login","/login?logout=true","/forgot-password-confirmation","/confirm-email","/create-password","/forgot-password","/resend-email","/resend-email-confirmation","/reset-password","/sign-in-without-password","/sign-in-without-password-confirmation","/secure/missing","/secure/payment/setting-card","/secure/confirmation-page","/secure/payment/split-it","/secure/payment/split-it-confirmation","/secure/payment/setting-card-confirmation","/negotiate-bills","/rewards","not-found"],S={HOME:"banner-home",FAQ:"banner-faq",REVIEWS:"banner-reviews",SETTING:"banner-setting",DASHBOARD:"banner-dashboard",BILLSHARK:"banner-billshark",REFERRAL:"banner-referral",LANDING:"banner-landing",NEW_HOME:"banner-new-home",ACCOUNT:"banner-account"},E={CAREERS:{video:"https://cdn.billshark.com/www/static/video/billshark_company_culture_new_360.mp4",poster:"https://cdn.billshark.com/www/static/image/billshark_company_culture_poster.webp",width:"602px",height:"338px",name:"/careers",subtitles:"./../../../../assets/subtitles/billshark_company_culture_new_360.vtt"},BRAND:{video:"https://cdn.billshark.com/www3.0/static/video/billshark_brand_video_720p_web.mp4",poster:"https://cdn.billshark.com/www3.0/static/video/billshark_brand_video_poster.webp",width:"602px",height:"338px",name:"default",subtitles:"./../../../../assets/subtitles/billshark_brand_video_720p_web.vtt"},NEGOTIATION:{video:"https://cdn.billshark.com/www3.0/static/video/billshark_negotiable_30s_720p_web.mp4",poster:"https://cdn.billshark.com/www3.0/static/video/billshark_negotiation_poster.webp",width:"602px",height:"338px",name:"lower-bills",subtitles:"./../../../../assets/subtitles/billshark_negotiable_30s_720p_web.vtt"},CANCELLATION:{video:"https://cdn.billshark.com/www3.0/static/video/billshark_cancel_30s_720p_web.mp4",poster:"https://cdn.billshark.com/www3.0/static/video/billshark_cancel_poster.webp",width:"602px",height:"338px",name:"cancel-subscriptions",subtitles:"./../../../../assets/subtitles/billshark_cancel_30s_720p_web.vtt"}},w={NEGOTIATION:{image:{css:"bs-images-ideas"},title:"Lower Your Bills",text:"Lock in the lowest rate on your Internet, Wireless and TV bills.",link:"lower-bills"},CANCELLATION:{image:{css:"bs-images-select-icon"},title:"Cancel Subscriptions",text:"Easily cancel subscriptions: Hulu, Spotify, Birchbox and 100+ others",link:"cancel-subscriptions"},INSURANCE:{image:{css:"bs-images-doc-seal"},title:"Insurance",text:"Shop dozens of home and auto insurance providers without the hassle of filling out online applications and receiving telemarketing calls.",link:"check-insurance-rates"}},C=function(){return(e=C||(C={}))[e.ACCOUNT=0]="ACCOUNT",e[e.UPLOAD=1]="UPLOAD",e[e.CHECKOUT=2]="CHECKOUT",e[e.CONFIRMATION=3]="CONFIRMATION",C;var e}(),k=function(){return(e=k||(k={})).PORTRAIT="portrait",e.LANDSCAPE="landscape",k;var e}(),P=[{label:"Create your account",url:"/account",hideable:!0},{label:"Your request",url:"/upload"},{label:"Checkout",url:"/payment"},{label:"Confirmation",url:"/confirmation-page"}],T=function(){return(e=T||(T={})).MENU="MENU",e.IMG_UPLOAD="IMG_UPLOAD",e.CREDENTIALS="CREDENTIALS",e.BILL_INFO="BILL_INFO",T;var e}(),O={NEGOTIATION:{START:T.BILL_INFO,MENU:{prev:null,curr:T.MENU,next:null},IMG_UPLOAD:{prev:T.MENU,curr:T.IMG_UPLOAD,next:null},CREDENTIALS:{prev:T.MENU,curr:T.CREDENTIALS,next:null},BILL_INFO:{prev:T.MENU,curr:T.BILL_INFO,next:null}},CANCELLATION:{START:T.BILL_INFO,BILL_INFO:{prev:null,curr:T.BILL_INFO,next:null}},SWITCH:{START:T.BILL_INFO,BILL_INFO:{prev:null,curr:T.BILL_INFO,next:null}}},I={MFA_QUESTION:"question",MFA_CAPTCHA:"captcha",MFA_OTP:"otp",MFA_CONFIRM:"confirm",MFA_RECAPTCHA:"reCaptcha"},x={STRIPE:{src:"https://js.stripe.com/v3/",code:"",loaded:!1,async:!1,id:"",data:{}},BIRD_EYE:{src:"https://birdeye.com/embed/v7/152217457889803/3/9876543213321835",code:"",loaded:!1,async:!0,id:"",data:{}},JAZZ:{src:"",code:"function resizeResumatorIframe(height,nojump){\n    if(nojump== 0){window.scrollTo(0,0);}document.getElementById(\u201cresumator-job-frame\u201d).height = parseInt(height)+20;\n    }",loaded:!1,async:!1,id:"",data:{}},SOM:{src:"https://speedof.me/api/api.js",code:"",loaded:!1,async:!1,id:"",data:{}},APPLE:{src:"https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",code:"",loaded:!1,async:!1,id:"",data:{}},GOOGLE:{src:"https://apis.google.com/js/platform.js",code:"",loaded:!1,async:!0,id:"",data:{}},GOOGLE2:{src:"accounts.google.com/gsi/client",code:"",loaded:!1,async:!0,defer:!0,id:"",data:{}},INDIVIDEO:{src:"https://d2ur3inljr7jwd.cloudfront.net/individeo/prod/v22/js/smartEmbed.js",code:"",loaded:!1,async:!1,id:"",data:{"data-bp-individeo-data":'{"total_estimate_savings":25,"current_bill_amount":115,"provider_name":"AT&T"}',"data-bp-attachment-code":"Uwb4xmcQ3mU6nMT5TXJA-644","data-bp-embed-smart-tracking":"true","data-bp-lang":"en-US"}},BOOTSTRAP_TOAST:{src:"assets/vendor/bootstrap/toast.js",code:"",loaded:!1,async:!0,id:"bootstrap-toast-runtime",data:{}},BOOTSTRAP_CAROUSEL:{src:"assets/vendor/bootstrap/carousel.js",code:"",loaded:!1,async:!0,id:"bootstrap-carousel-runtime",data:{}},BOOTSTRAP_TOOLTIP:{src:"assets/vendor/bootstrap/tooltip.js",code:"",loaded:!1,async:!0,id:"bootstrap-tooltip-runtime",data:{}},BOOTSTRAP_MODAL:{src:"assets/vendor/bootstrap/modal.js",code:"",loaded:!1,async:!0,id:"bootstrap-modal-runtime",data:{}},BOOTSTRAP_UTIL:{src:"assets/vendor/bootstrap/util.js",code:"",loaded:!1,async:!0,id:"bootstrap-util-runtime",data:{}},POPPER:{src:"assets/vendor/bootstrap/popper.min.js",code:"",loaded:!1,async:!0,id:"bootstrap-p
1opper-runtime",data:{}},JQUERY:{src:"assets/vendor/bootstrap/jquery.min.js",code:"",loaded:!1,async:!0,id:"jquery-runtime",data:{}},BOOTSTRAP_COLLAPSE:{src:"assets/vendor/bootstrap/collapse.js",code:"",loaded:!1,async:!0,id:"bootstrap-collapse-runtime",data:{}},BOOTSTRAP_DROPDOWN:{src:"assets/vendor/bootstrap/dropdown.js",code:"",loaded:!1,async:!0,id:"bootstrap-dropdown-runtime",data:{}},GROWSURF:{src:"",code:"window.windowgrsfConfig = {\n      email: \"[email protected]\",\n      hash: \"HASH_VALUE\"\n    };\n    (function(g,r,s,f){g.grsfSettings={campaignId:\"9888xm\",version:\"2.0.0\"};\n    s=r.getElementsByTagName(\"head\")[0];f=r.createElement(\"script\");f.async=1;\n    f.src=\"https://app.growsurf.com/growsurf.js\"+\"?v=\"+g.grsfSettings.version;\n    f.setAttribute(\"grsf-campaign\", g.grsfSettings.campaignId);\n    !g.grsfInit?s.appendChild(f):\"\";})\n    (window,document);\n    setTimeout(()=>{const grsf_btn=document.querySelector('#grsf-widget');if(grsf_btn){\n    grsf_btn.addEventListener('click',()=>{document.querySelector('.grsf-window-header img')\n    .setAttribute('alt','Billshark image for referral program');document.querySelectorAll\n    ('#grsf-window .grsf-signup-fields label').forEach(l=>l.setAttribute('for','_'+l\n    .getAttribute('for')));document.querySelectorAll('#grsf-window .grsf-signup-fields input')\n    .forEach(i=>i.setAttribute('id','_'+i.getAttribute('id')));});document.querySelector\n    ('.grsf-window-header img').setAttribute('alt','Billshark image for referral program');\n    document.querySelectorAll('#grsf-window .grsf-signup-fields label').forEach(l=>l.\n    setAttribute('for','_'+l.getAttribute('for')));document.querySelectorAll\n    ('#grsf-window .grsf-signup-fields input').forEach(i=>i.setAttribute('id',\n    '_'+i.getAttribute('id')));}},1000);",loaded:!1,async:!0,id:"auto-generate",data:{}},GROWSURF2:{src:"https://growsurf.com/growsurf.js?v=2.0.0",code:"",loaded:!1,async:!0,id:"auto-generate",data:{"grsf-campaign":"30qhau"}}},A="845836923809-dsa8b1hmnicdulqoq48dbhguspsmm3gb.apps.googleusercontent.com",M=function(){return(e=M||(M={})).GET="GET",e.POST="POST",e.PATCH="PATCH",e.DELETE="DELETE",e.PUT="PUT",M;var e}(),R=function(){return(e=R||(R={})).NONE="NONE",e.BEHIND_THE_SCENE="BEHIND_THE_SCENE",e.FRONT_FACING="FRONT_FACING",R;var e}(),N={TRANSACTION_ID:"{transaction_id}",TICKET_ID:"{ticket_id}",BILL_ID:"{bill_id}",BILL_ID_VALUE:"",CREDENTIAL_TRANSACTION_ID:"{credential_transaction_id}",PROVIDER_NAME:"{provider_name}",CARD_ID:"{payment_id}",SLUG_NAME:"{slug_name}",SLUG_NAME_VALUE:"{slug_name}",LANDING_SLUG_NAME:"{page_path}",HASH:"{hash}",PAYMENT_ID:"{payment_id}",BILLER_ID:"{biller_id}",JOB_ID:"{job_id}"},L="undefined"!=typeof document&&(null===(s=null==document?void 0:document.location)||void 0===s?void 0:s.origin)||"",D=/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?$/.test(L),F="undefined"!=typeof document&&(["https://retail40.billshark.com"].includes(null===(l=null==document?void 0:document.location)||void 0===l?void 0:l.origin)||["https://dev-1.billshark.com"].includes(null===(c=null==document?void 0:document.location)||void 0===c?void 0:c.origin)||D)?{BASE_URL_V3:"https://gateway.billshark.com/dev-retail-v3",KEY_ENV:"dev",STRIPE_PUBLISHED_KEY:"pk_test_7KEWw6w1ta2h4UmTFMqwkb5L"}:"undefined"!=typeof document&&["https://staging.billshark.com"].includes(null===(u=null==document?void 0:document.location)||void 0===u?void 0:u.origin)?{BASE_URL_V3:"https://gateway-ohio.billshark.com/retail-v3",KEY_ENV:"prod",STRIPE_PUBLISHED_KEY:"pk_live_esfkjkKCO1s3oAPGQ0giZuU9"}:{BASE_URL_V3:"https://gateway.billshark.com/retail-v3",KEY_ENV:"prod",STRIPE_PUBLISHED_KEY:"pk_live_esfkjkKCO1s3oAPGQ0giZuU9"},B=[167,59,17,208,94,130],U=[100,249,44,7,155,64],H={BASE_URL_V3:F.BASE_URL_V3,KEY_ENV:F.KEY_ENV,STRIPE_PUBLISHED_KEY:F.STRIPE_PUBLISHED_KEY,SEGMENT_KEY:"7viYuCc6OwfPFUGdxwxn9f58hnDtnr2X",PROCESSING_ATTEMPTS_TIME:4e3,API_ENDPOINTS:{CSRF_TOKEN:"/csrf",RECAPTCHA:"/recaptcha",PROVIDERS:"/billers",PROBABILITY:"/billers/"+N.BILLER_ID+"/probabilities",VERIFY_CREDENTIALS:"/verify-credentials",CHECK_VERIFY_CREDENTIALS:"/verify-credentials/"+N.CREDENTIAL_TRANSACTION_ID,SUBMIT_MFA:"/verify-credentias/"+N.CREDENTIAL_TRANSACTION_ID+"/mfa",CUSTOMER:"/customers",CUSTOMER_LEAD:"/customers/leads",BS_LOGIN:"/customers/login",BS_LOGOUT:"/customers/"+N.TRANSACTION_ID+"/logout",SOCIAL_LOGIN:"/customers/login/social",VALIDATE_EMAIL:"/email-validation",RESEND_MAIL:"/customers/email/resend",CONFIRM_EMAIL:"/customers/email/confirm",REQUEST_PSW:"/customers/password/forgot",RESET_PSW:"/customers/password/reset",CHANGE_PSW:"/customers/"+N.TRANSACTION_ID+"/password",CUSTOMER_DATA:"/customers/"+N.TRANSACTION_ID,ACTIVITY_FEED:"/customers/"+N.TRANSACTION_ID+"/activities",MARKETPLACE:"/customers/"+N.TRANSACTION_ID+"/marketplace",ORDER_TIMELINE:"/customers/"+N.TRANSACTION_ID+"/service-requests/"+N.BILL_ID+"/timeline",SUBMIT_BILL:"/customers/"+N.TRANSACTION_ID+"/service-requests",SUBMIT_BILL_IMAGE:"/customers/"+N.TRANSACTION_ID+"/service-requests/upload-url",REQUEST_GABY_INSURANCE_REFERRAL_URL:"/partner/insurance/referral_url",SUBMIT_MI:"/customers/"+N.TRANSACTION_ID+"/service-requests/"+N.BILL_ID+"/missing",UPDATE_BILL:"/customers/"+N.TRANSACTION_ID+"/service-requests/"+N.BILL_ID,PAYMENT:"/customers/"+N.TRANSACTION_ID+"/payment-methods",CREDIT_CARD_PAYMENT:"/secure/payments",PAYMENT_INTENDS:"/customers/payment-intent",SECURE_PAYMENT_INTENDS:"/secure/payments/intent",CUSTOMER_PAYMENT_INTENDS:"/customers/"+N.TRANSACTION_ID+"/payments/intent",MISSING:"/secure/missing",PAYMENT_REQUIRED:"/customers/payment-required",REMOVE_PAYMENT:"/customers/"+N.TRANSACTION_ID+"/payment-methods/"+N.PAYMENT_ID,SECURE_CREDIT_CARD_PAYMENT:"/secure/payments/"+N.PAYMENT_ID,TICKETS:"/customers/"+N.TRANSACTION_ID+"/tickets",TICKETS_NOTES:"/customers/"+N.TRANSACTION_ID+"/tickets/"+N.TICKET_ID+"/notes",REFER_FRIEND:"/customers/"+N.TRANSACTION_ID+"/referral",REDEEM_GIFT_CARD:"/customers/"+N.TRANSACTION_ID+"/referrals/redeem",REDEEM_REWARDS:"/secure/redeem",REDEEMED_GIFT_CARD:"/secure/redeem",FAQ:"/support/faq",BIZ_TICKET:"/business",MEDIAPRESS_TICKET:"/media/inquiries",PARTNER_TICKET:"/partner/lead",REVIEW_US:"/support/review-u
1s",REVIEWS:"/support/reviews",CAREERS:"/careers",CAREERS_APPLY:"/careers/"+N.JOB_ID,CONTACT_SUPPORT:"/support/contact",NOTIFICATIONS:"/browser/notification",GLOBALS:"/global",BLOGS:"/blogs",BLOG:"/blogs/"+N.SLUG_NAME,LANDING_PAGE:"/page/"+N.LANDING_SLUG_NAME,UNSUBSCRIBE:"/customers/email/unsubscribe",SPLIT:"/secure/split-it",LUCKY_ORANGE:"/customers/sessions"},API_RESULT:{UNKNOWN:0,SUCCESS:1,FAILURE:2,PARTIAL_SUCCESS:3,NODATA:4,PROCESSING:5},API_RESULT_ERROR_CODE:{ERROR_ALL_READY_SET:"invalid_request",ERROR_CODE_SERVICE_FAILED:"service_failed",ERROR_CODE_INVALID_EMAIL:"invalid_email",ERROR_CODE_UNAUTHORIZED:"not_authorized",ERROR_CODE_CUSTOMER_EXIST:"record_exists",ERROR_CODE_INVALID_CREDENTIALS:"invalid_credentials",ERROR_CODE_INVALID_TOKEN:"invalid_temporary_token",ERROR_CODE_EMAIL_NOT_VERIFIED:"email_not_verified",ERROR_CODE_PAYMENT_METHOD_REQUIRED:"no_payment_on_record",ERROR_CODE_ACCESS_TEMPORARILY_LOCKED:"access_temporarily_locked",ERROR_CODE_TOO_MANY_REQUESTS:"too_many_requests",ERROR_CODE_DUPLICATE_REQUEST:"duplicate_request"}},j={phone_number:"bill_service_number",customer_ssn_last4:"customer_ssn_last4",customer_dob:"customer_dob",passcode:"provider_passcode",account_number:"provider_account_number","biller_account.username":"provider_account_user_id","address.street":"bill_service_address_street","address.street_2":"bill_service_address_street_2","address.city":"bill_service_address_city","address.state":"bill_service_address_state","address.zip_code":"bill_service_address_zip",payment_on_file_last4:"payment_on_file_last4"},q={bill_service_number:"phone_number",customer_ssn_last4:"customer_ssn_last4",customer_dob:"customer_dob",provider_passcode:"passcode",provider_account_number:"account_number",provider_account_user_id:"biller_account.username",bill_service_address_street:"address.street",bill_service_address_street_2:"address.street_2",bill_service_address_city:"address.city",bill_service_address_state:"address.state",bill_service_address_zip:"address.zip_code",payment_on_file_last4:"payment_on_file_last4"},G={MESSAGE_TIMEOUT:1e4,ERR_CONNECTION_ERROR:"We're sorry, we weren't able to complete your request. Please check your connection and try again.",ERR_TIMEOUT:"Sorry, the request has taken longer than expected. Please check the connection and try again.",ERR_REQUEST_ERROR:"We're sorry, we weren't able to complete your request. Please try again;\n   if the problem persists, please contact us at: ".concat(v.EMAILS.HELP),ERR_ACTION_DENIED:"Your session has expired. Please login again.",ERR_TOKEN_EXPIRED:"Your session has expired. Please login again.",ERR_INCOMPLETE_FORM:"Please complete all required fields.",ERR_SIGN_UP:'Something went wrong, please check the required fields and click "Save Now" again; if the problem persists,\n   please contact us at: '.concat(v.EMAILS.HELP),ERR_SIGN_UP_ACCOUNT:'Something went wrong, please click "Next" again; if the problem persists,\n   please contact us at: '.concat(v.EMAILS.HELP),ERR_LOGIN:"Something went wrong.",ER
1R_BS_LOGIN:"Something went wrong logging in. Please try again; if the problem persists, contact us at: ".concat(v.EMAILS.HELP),ERR_SOCIAL_LOGIN:"Something went wrong when trying to log in using a social login. Please try again.\n   If the problem persists, please contact us at: ".concat(v.EMAILS.HELP),ERR_EMAIL_NOT_FOUND:"The user or password provided cannot be found in our system.",ERR_INVALID_CREDENTIALS:"The information you provided does not match in our system.",ERR_EMAIL_NOT_VERIFIED:"Something went wrong, please check your email address to get more information.",ERR_INVALID_TEMPORARY_TOKEN:"The link expired or was already used.",ERR_UNAUTHORIZED:"Unauthorized: Access denied.",ERR_SESSION_EXPIRED:"Your session has expired. Please login again.",ERR_INVALID_CARD:"Invalid card",ERR_SH_CARD:"Something went wrong adding your credit card. Please wait a minute and try again.",ERR_ONLY_10_IMAGES:"Sorry, only 10 files can be uploaded per bill!",ERR_TEXT:"Characters no allowed!",ERR_PAYPAL:"Something went wrong when trying to set a paypal pay latter plan. Please try again.\n  If the problem persists, please contact us at: ".concat(v.EMAILS.HELP),ERR_LOGIN_ACCESS_TEMPORARILY_LOCKED:"Access temporarily locked. Please try again later.",ERR_TOO_MANY_REQUESTS:"Too many requests. Please try again later.",SUC_RESET_PSW:"Success! You should be able to login with your new password.",SUC_MI_SUBMITTED:"Success! Your information has been submitted.",SUC_CANCEL_BILL:"Your request to cancel was successful.",SUC_OPT_OUT:"Your request to opt out of future negotiations was successful.",SUC_CARD_ADD:"Your new card has been added.",SUC_CHG_PSW:"Your password has been changed.",SUC_RMV_CARD:"Your card has been removed successfully",SUC_CHG_CARD:"Your card has been updated successfully",SUC_REFER_FRIEND:"Success! The invitation has been submitted successfully.",SUC_UNSUB_OPT_OUT:"OPT-OUT Preferences Updated!!!",NG_SELECT_LOADING:"Loading...",NG_SELECT_ITEMS_NOTFOUND:"No items found",NG_SELECT_PENDING_SERVICE_TYPE:"Please select your service type above",NG_SELECT_PENDING_INSURANCE_TYPE:"Please select your Insurance type above",BS_COMPONENT_LOADING:"Loading something amazing here\u2026",MESSAGE_MI:"Everything is good so far.",MESSAGE_BILL_EMPTY:"At this moment you don't have any bill",MESSAGE_ORDER_TIMELINE_EMPTY:"We\u2019re processing your bill. More details will appear here once we start working on it.",MESSAGE_TICKET_EMPTY:"At this moment you don't have any ticket",MESSAGE_REQUEST_PSW:"Please check your email for instructions on resetting your password.",BS_NEW_TERMS:'I\u2019ve read and accept the\n  <a class="btn-link" target="_self" href="/terms" style="color:#004181!important">TOS</a> &\n  <a class="btn-link" target="_self" href="/privacy" style="color:#004181!important">Privacy Policy</a>\n  and understand that I am entering into a binding agreement for these services, and represent that I have legal capacity and authority to do so.\n  I consent to my payment method being charged for the services received.\n  I understand Billshark will place a $1.00 temporary authorization hold on my payment method which should be released by the bank within 3-7 business days.<sup style="font-size:18px!important;color:#ef4444!important">*</sup>',BS_NEW_TERMS_WITHOUT_CC:'I\u2019ve read and accept the\n  <a class="btn-link" target="_self" href="/terms">TOS</a> &\n  <a class="btn-link" target="_self" href="/privacy">Privacy Policy</a>\n  and understand that I am entering into a binding agreement for these services, and represent that I have legal capacity and authority to do so.\n  I consent to my payment method being charged for the services received.',BS_TERMS:'Billshark will not sell my data to any third party. I agree to the\n   <a class="btn-link" target="_self" href="/privacy">Privacy Policy</a> &\n   <a class="btn-link" target="_self" href="/terms">TOS</a>.',INSURANCE_INFO:"Our Partners at Gabi will shop their nation-wide network to give you options with comparable coverage at potentially better rates. There are NO fees to us this rate check and quote service.",INSURANCE_TERMS:'By checking this box and clicking "Next" you are providing express written consent authorizing us to share this information with our non-affiliated partner Gabi Insurance.',INSURANCE_TERMS_BS_FEE:"<b>*Billshark fees are not applicable to these services, meaning if Answer Financial\xae Inc. is able to find\n   you savings on your insurance coverage, you are not subject to pay Billshark any percentage of the savings realized.</b>",INSURANCE_TERMS_APPENDIX:'Answer Financial\xae Inc. offers insurance products and services through its insurance agency licensed affiliate\n   Insurance Answer Center, LLC (California License # 0B99714); in New York as Insurance Answer Center, LLC, an Insurance Agency; in\n   Michigan as Insurance Answer Center, LLC, an Insurance Agency; and in Missouri as Answer Financial. Answer Financial affiliated agencies\n   are not insurance companies, but act as agents for certain insurance companies. Answer Financial\u2019s affiliate Right Answer Insurance\n   Agency, LLC (CA License #0H52358) operates as an insurance broker in California and an agent in all other states. Answer Financial\n   is paid commissions and may receive other performance-based compensation for its services. The compensation received by Answer Financial\n   and its employees may vary by insurance company. Not all insurance products and services are available in all states. Rates are subject\n   to change. <a class="btn-link" target="_blank" title="opens in a new window" rel="noopener noreferrer" href="https://www.answerfinancial.com/General/Privacy?a=retail">\n   Click here</a> to view Answer Financial\u2019s Privacy Policy.'},V={401:{message:G.ERR_EMAIL_NOT_FOUND,treatment:"alert",scope:"login"},403:{message:G.ERR_UNAUTHORIZED,treatment:"alert",scope:"login"},423:{message:G.ERR_LOGIN_ACCESS_TEMPORARILY_LOCKED,treatment:"alert",scope:"global"},429:{message:G.ERR_TOO_MANY_REQUESTS,treatment:"notice",scope:"global"}},z="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu6P78faUSxCBmB5RXIqjHUdDJncS93a8L5Xl7N9VAM4RYfLMnxG0h38WTRhmVaRC+kZnZjPhefETgiexabaIn96ALULAaOm8uI9ZfB0CkqDtzO9wEkER2RVTKbnoPocqACHTy090rgv3PLWqRITzjsJKSAUr0bhHU9cHhl+eUmJWF8SHMA5PBltAFim/8mQrvXJVC/USE0v85TzXItAQuxehqk2mHr0UHijFiX4sq7OkPO45+bo86lxEVSmy2cB4/JY4XkSQGOzq3gRF8aQQsia8BLRa8cAKqAAnISW6QuIu8y6iambFxETqWlUO8JWKhqdzTUGfnAwzAgZ/L69EAQIDAQAB",W={BS_FEE_NEGOTIATION:"Billshark charges a one-time fee of 40% of any savings. We guarantee savings, or there are no fees. It\u2019s a win-win!",BS_FEE_CANCELLATION:"Each cancelled subscription costs $5. Billshark\u2019s team of experts will cancel\n   subscriptions you no longer want or need. We may even get refunds for unused services.",BS_FEE_SWITCH:"Pending quote. There is no fee for this service.",BS_FEE_SWITCH_PENDING_QUOTE:"There is no cost to check your rate and receive a quote. Our partners at Answer Financial will shop their\n   nation-wide network to give you options with comparable coverage at potentially better rates. AND whether you decide to\n   switch now or not, their free Rate Tracker program will monitor market rates and notify you of better options around\n   your policy renew
1al month. There are NO fees associated with this service.",TOTAL_ESTIMATED_SAVINGS:"Actual savings may be higher or lower than\n   the estimated savings based on variables specific to your bill.\n   This is normal. You will be billed based on actual savings.",PAYMENT_INFORMATION:"Billshark charges a one-time fee of just 40% of savings negotiated, capped at 2 years. No savings, no fee. No risk, all reward!",PAYMENT_PLANS_AVAILABLE:"Pending",provider_passcode:"Your PIN is used to access your provider account to negotiate on your behalf.",customer_dob:"Date of Birth is used to identify potential savings.",customer_ssn_last4:"The last 4 digits of your Social Security Number is used to access your provider account to negotiate on your behalf.",payment_on_file_last4:"The last 4 digits of the credit card you have on file for this account is used to access your account to\n   negotiate on your behalf.",REFERRAL_STATUS:"<div class='p-2 mt-2 text-left'>\n      <p>\n        <strong>Sent</strong>\n        - means your invitiation has been sent. Invites sent through social media links won't appear until your friend signs up.\n      </p><p>\n        <strong>Signed Up</strong>\n        - means your friend has enrolled and BILLSHARK is verifying the enrollment.\n      </p><p>\n        <strong>Completed</strong>\n        - means we have verified the enrollment and your referral is eligible for a $10 Amazon Reward.\n      </p><p>\n        <strong>Redeemed</strong>\n         - means this referral has been redeemed by you for a $10 Amazon Gift Card.\n      </p><p>\n        <strong>Unsuccessful</strong>\n         - means your friend did not send all of the informaiton or a bill we don't negotiate.\n      </p></div>"},$={NONE:{inputmode:"text",mask:!1},AMOUNT:{inputmode:"decimal",mask:p()({prefix:"$ ",suffix:"",allowDecimal:!0,decimalLimit:2,integerLimit:4}),guide:!1,unmask:{searchValue:/[^\d.]/g,replaceValue:"",checkValue:function(e){return!e||e&&"."!==e.toString().substr(-1)},parse:function(e){return isNaN(parseFloat(e))?null:parseFloat(e)}},keyup:function(e,t){var n=e.which?e.which:e.keyCode,r=null==t?void 0:t.value.toString(),i={selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd};7===r.length&&!r.includes(".")&&190!==n&&"."!==e.key&&isFinite(e.key)&&(e.preventDefault(),t.value=r+".00",Object.assign(t,i))}},phone:{inputmode:"tel",mask:["(",/[1-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/],unmask:{searchValue:/[^\d.]/g,replaceValue:""}},last4:{inputmode:"numeric",mask:[/\d/,/\d/,/\d/,/\d/],focus:function(e,t){(null==t?void 0:t.value)&&(t.value=t.value.replace(/[^\d.]/g,""))}},zip:{inputmode:"numeric",mask:[/[A-Z0-9]/i,/[A-Z0-9]/i,/[A-Z0-9]/i,/[A-Z0-9\-\ ]/i,/[A-Z0-9]/i,/[A-Z0-9\-\ ]/i,/[A-Z0-9]/i,/[A-Z0-9]/i,/[A-Z0-9]/i,/[A-Z0-9]/i],guide:!1,pipe:function(e){return e.toUpperCase()}},date:{inputmode:"numeric",mask:[/\d/,/\d/,"/",/\d/,/\d/,"/",/\d/,/\d/,/\d/,/\d/]},dob:{inputmode:"numeric",mask:[/\d/,/\d/,"/",/\d/,/\d/,"/",/\d/,/\d/,/\d/,/\d/]},password:{inputmode:"text",mask:!1,validation:[{key:"lowercase",regex:/(?=.*[a-z])/,msg:"1 lowercase"},{key:"uppercase",regex:/(?=.*[A-Z])/,msg:"1 uppercase"},{key:"numeric",regex:/(?=.*[0-9])/,msg:"1 number"},{key:"length",regex:/(?=.{8,})/,msg:"8 characters"}]}},K={init_paginator:{total_pages:56,total_blogs:498,current_page:1},next:{limit:9,page_id:"1",category:""}},Y={MANDATORY_FIELD_MESSAGE:"This is a mandatory field",MANDATORY_FIELD:"You need to complete the form fields"},J={_common:{required:"This is a mandatory field",max:"This field cannot be greater than $_max",minLength:"This field must be at least bs_minLength characters long",maxLength:"This field cannot be more than bs_maxLength characters long",maxlength:"This field cannot be more than $_requiredLength characters long",email:"Invalid email",password_do_not_match:"The password and confirmation password do not match.",password:"Password does not meet the security requirements",phone:"Invalid phone number",date:"Invalid date",dob:"Invalid date of birth",zip:"Invalid zip code",text:"Invalid string",promo_code:"Invalid promo code",pin:"Invalid PIN",special:"Invalid string",ssn4:"Enter the last 4 digits of the SSN",bill_info:"Please complete the missing information in the bill",bill_image:"Please upload your bill",bill_policy:"Please upload your policy",address:"The address is not a valid address",address_city:"Please select an address from the list to confirm",address_state:"Please select an address from the list to confirm",payment_method:"Invalid credit card information",verify_credentials:N.PROVIDER_NAME+" account did not connect and bills will not retrieved"},customer_email:{pattern:"Enter a valid email",customer_exists:"We could not complete your registration. Please try again or use an alternative email address.",check_email:"Please check your email to continue."},terms_and_condition:{required:"Please check the box above to indicate that you have read and agree to the terms and conditions agreement"}},Z={contact_name:{copy_from_contact:["customer_first_name","customer_last_name"]},contact_email:{copy_from_contact:"customer_email"},provider_passcode:{placeholder:"Provider PIN",type:"pin",class:["w-100"],ga:"ga_tooltip_provider_pin"},service_provider:{placeholder:"Service Provider",type:"text"},biller_if_other:{placeholder:"Service Provider (if other)",type:"text"},provider_account_number:{placeholder:"Account number",type:"text",ga:"ga_input_account_number"},customer_dob:{placeholder:"Date of birth",type:"dob",ga:"ga_input_dob"},bill_service_number:{placeholder:"Phone # on account",type:"phone",ga:"ga_input_service_phone"},customer_ssn_last4:{placeholder:"Last 4 of SSN",type:"last4",ga:"ga_input_ssn4"},payment_on_file_last4:{placeholder:"Last 4 of the CC on file",type:"last4"},bill_service_address_street:{placeholder:"Service address",type:"address",autocomplete:"off"},bill_service_address_street_2:{placeholder:"Apt / Suite / Other",type:"text",autocomplete:"off"},bill_service_address_city:{placeholder:"Service address city",type:"text",autocomplete:"off"},bill_service_address_state:{placeholder:"Service address state",type:"text",autocomplete:"off"},bill_service_address_zip:{placeholder:"Service address zip",type:"zip",autocomplete:"off"},provider_account_user_id:{placeholder:"User ID",type:"text"},provider_account_user_email:{placeholder:"Email on Account",type:"email",autocomplete:!0},account_holder_first_name:{placeholder:"Account holder first name",type:"text"},account_holder_last_name:{placeholder:"Account holder last name",type:"text"},secondary_email:{placeholder:"Contact Email",type:"email"},secondary_phone:{placeholder:"Contact Phone",type:"phone",autocomplete:!0},best_time_to_contact:{placeholder:"Best time to reach you with questions?",comments:"If we need to contact you, we'll keep it quick - just want to  be sure we  get you the best rates.",disableable:"No preferences",type:"times_picker",fields:[{name:"days",placeholder:"Any specific day(s)?",type:"checkbox",options:[{label:"S",value:"Sunday"},{label:"M",value:"Monday"},{label:"T",value:"Tuesday"},{label:"W",value:"Wednesday"},{label:"T",value:"Thursday"},{label:"F",value:"Friday"},{label:"S",value:"Saturday"}]},{name:"time",placeholder:"AM/PM?",type:"checkbox",options:[{label:"AM",value:"AM"},{label:"PM",value:"PM"}]},{name:"details",placeholder:"Any special instructions?",type:"text",ga:"ga_input_special_instructions",autocomplete:!1}]},accident_in_past_3_years:{placeholder:"Have you had any accidents or violations in past 3 years?",type:"radio",options:[{label:"Yes",value:!0},{label:"No",value:!1}],invalid_values:{true:"Unfortunately, you do not qualify for an insurance quote at this time."}},willing_to_change_insurance_carriers:{placeholder:"With the right savings, are you willing to change Insurance carriers?",type:"radio",options:[{label:"Yes",value:!0},{label:"No",value:!1}],invalid_values:{false:"Unfortunately, Insurance rates are not negotiable. Switching carriers is required for this service."}},own_or_rent_a_home:{placeholder:"Do you own or rent a home?",type:"radio",options:[{label:"Rent",value:"Rent"},{label:"Own",value:"Own"}]},special_instructions:{placeholder:"Any special instructions?",type:"text",ga:"ga_input_special_instructions",autocomplete:!1}}},53904:function(e,t,n){"use strict";n.d(t,{I:function(){return d}});var r,i=n(12057),o=n(45787),a=n(16156),s=n(63325),c=n(74788),d=((r=l(function e(){u(this,e)})).\u0275fac=function(e){return new(e||r)},r.\u0275mod=c.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=c.\u0275\u0275defineInjector({providers:[o.F,i.H9,i.JJ],imports:[[i.ez,a.C,s.x],a.C,s.x]}),r)},36323:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r,i=n(92599),o=n(34689),a=n(74788),s=((r=function(){return l(function e(t,n,r){u(this,e),this._router=t,this._el=n,this._renderer=r,this._sub=null},[{key:"ngOnInit",value:function(){var e=this;this._update(),this._sub=this._router.events.pipe((0,o.h)(function(e){return e instanceof i.m2})).subscribe(function(){return e._update()})}},{key:"ngAfterViewInit",value:function(){this._update()}},{key:"_update",value:function(){var e=this._normalize(this._el.nativeElement.getAttribute("href")||""),t=this._normalize(this._router.url);e&&e===t?this._renderer.setAttribute(this._el.nativeElement,"aria-current","page"):this._renderer.removeAttribute(this._el.nativeElement,"aria-current")}},{key:"_normalize",value:function(e){var t=e.split("?")[0].split("#")[0];return t.length>
11&&t.endsWith("/")&&(t=t.slice(0,-1)),t}},{key:"ngOnDestroy",value:function(){var e;null===(e=this._sub)||void 0===e||e.unsubscribe(),this._sub=null}}])}()).\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(i.F0),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.Renderer2))},r.\u0275dir=a.\u0275\u0275defineDirective({type:r,selectors:[["a","routerLink","","bsAriaCurrent",""]]}),r)},93349:function(e,t,n){"use strict";n.d(t,{s:function(){return a}});var r,i=n(74788),o=n(52726),a=((r=function(){return l(function e(t,n,r,o){var a=this;u(this,e),this._el=t,this._cdr=n,this._ngZone=r,this._utilService=o,this.opened=!1,this.showBsModal=new i.EventEmitter,this.shownBsModal=new i.EventEmitter,this.hideBsModal=new i.EventEmitter,this.hiddenBsModal=new i.EventEmitter,this._el.nativeElement.style.zIndex="10000",this._utilService.whenVendorReady().then(function(){return a._attachHandlers()})},[{key:"_attachHandlers",value:function(){var e=this;if("undefined"!=typeof $){var t=this._el.nativeElement;$(t).on("show.bs.modal",function(){e.opened=!0,e.showBsModal.emit(),e.detectChanges()}),$(t).on("shown.bs.modal",function(){e.shownBsModal.emit()}),$(t).on("hide.bs.modal",function(){e.hideBsModal.emit()}),$(t).on("hidden.bs.modal",function(n){if(n.target!==t)return $(".modal.show")&&$("body").addClass("modal-open"),!1;e.opened=!1,e.hiddenBsModal.emit(),e.detectChanges()})}}},{key:"detectChanges",value:function(){var e=this;this._cdr&&!this._cdr.destroyed&&this._ngZone.run(function(){e._cdr.detectChanges()})}},{key:"_hasModalPlugin",value:function(){return"undefined"!=typeof $&&!!$.fn&&"function"==typeof $.fn.modal}},{key:"_invoke",value:function(e){var t=this;this._hasModalPlugin()?$(this._el.nativeElement).modal(e):this._utilService.ensureVendor().then(function(){t._hasModalPlugin()&&t._ngZone.run(function(){return $(t._el.nativeElement).modal(e)})})}},{key:"show",value:function(){this._invoke("show")}},{key:"hide",value:function(){this._invoke("hide")}}])}()).\u0275fac=function(e){return new(e||r)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(o.fK))},r.\u0275dir=i.\u0275\u0275defineDirective({type:r,selectors:[["","bsModal",""]],outputs:{showBsModal:"showBsModal",shownBsModal:"shownBsModal",hideBsModal:"hideBsModal",hiddenBsModal:"hiddenBsModal"},exportAs:["bsModal"]}),r)},61869:function(e,t,n){"use strict";n.d(t,{j:function(){return a}});var r,i=n(74788),o=n(52726),a=((r=function(){return l(function e(t,n,r){u(this,e),this._shared=t,this._el=n,this.renderer2=r,this._forbiddenQueryParams=["page","redirectUrl","logout"]},[{key:"ngAfterViewInit",value:function(){var e=this,t=this._el.nativeElement.getAttribute("href"),n=this._shared._seoService.queryParams,r=Object.keys(n).filter(function(t){return!e._forbiddenQueryParams.includes(t)});r.length&&null!==t&&(-1===t.indexOf("?")&&(t+="?"),t+=r.map(function(e){return e+"="+n[e]}).join("&")),this.renderer2.setAttribute(this._el.nativeElement,"href",t)}},{key:"toggleSidebar",value:function(e){this._shared._utilService.dismissAllSidebars()}}])}()).\u0275fac=function(e){return new(e||r)(i.\u0275\u0275directiveInject(o.F1),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2))},r.\u0275dir=i.\u0275\u0275defineDirective({type:r,selectors:[["","routerLink",""]],hostBindings:function(e,t){1&e&&i.\u0275\u0275listener("click",function(e){return t.toggleSidebar(e)})}}),r)},90670:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r,i=n(12057),o=n(97245),a=n(74788),s=((r=function(){return l(function e(t,n,r){u(this,e),this._el=t,this._renderer=n,this._document=r,this.dismissAllSidebars=!1,this._renderer.setStyle(this._el.nativeElement,"cursor","pointer")},[{key:"toggleSidebar",value:function(e){var t=this;this.dismissAllSidebars?(Object.keys(o.lw).forEach(function(e){return o.lw[e]=!1}),this._document.querySelector("body").style.overflow=""):o.lw.hasOwnProperty(this.appSidebarToggle)&&(Object.keys(o.lw).filter(function(e){return e!==t.appSidebarToggle}
1).forEach(function(e){return o.lw[e]=!1}),o.lw[this.appSidebarToggle]=!o.lw[this.appSidebarToggle])}}])}()).\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(i.K0))},r.\u0275dir=a.\u0275\u0275defineDirective({type:r,selectors:[["","appSidebarToggle",""]],hostBindings:function(e,t){1&e&&a.\u0275\u0275listener("click",function(e){return t.toggleSidebar(e)})},inputs:{appSidebarToggle:"appSidebarToggle",dismissAllSidebars:"dismissAllSidebars"}}),r)},56440:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r,i=n(74788),o=((r=l(function e(){u(this,e)})).\u0275fac=function(e){return new(e||r)},r.\u0275mod=i.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=i.\u0275\u0275defineInjector({}),r)},16156:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var r,i=n(74788),o=((r=l(function e(){u(this,e)})).\u0275fac=function(e){return new(e||r)},r.\u0275mod=i.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=i.\u0275\u0275defineInjector({}),r),a=n(56440),s=function(){var e=l(function e(){u(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=i.\u0275\u0275defineInjector({imports:[[a.$,o],a.$,o]}),e}()},63325:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r,i=n(74788),o=((r=l(function e(){u(this,e)})).\u0275fac=function(e){return new(e||r)},r.\u0275mod=i.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=i.\u0275\u0275defineInjector({}),r)},95825:function(e,t,r){"use strict";r.d(t,{N:function(){return b}});var o,a=r(64762),s=r(79599),c=r(97245),d=r(31440),h=r(45094),m=r(76889),p=r(74788),f=r(92599),g=r(84913),v=r(55198),_=r(12006),b=((o=function(){return l(function e(t,n,r,i,o){var a=this;u(this,e),this._router=t,this._utilService=n,this._httpService=r,this._storageService=i,this._seoService=o,this.calculatorSubject=new h.X(null),this.dashboardCalculatorResetSubject=new m.x,this.AUTH_CLEARED_EVENT="bs:auth-cleared",this.billsToCheckout=[],this.billTypesToCheckout=[],this.customerDataPromise=null,this.customerDataLoaded=!1,this.customerDataLoadedTransactionId=null,this.switchBillsToCheckout=[],this.flag_processing=!1,this.flag_retrieving_customer_lead=!1,this.flag_retrieving_customer_data=!1,this.flag_terms_checked=!1,this.flag_monthly_savings=!1,this.flag_checking_payment_required=!1,this._lastPaymentRequiredSig=null,this._handleAuthCleared=function(){a.resetAfterLogout()},this.user=new s.T_,d.f.afterWindowOnLoad(function(){a._utilService.isPlatformServer||window.addEventListener(a.AUTH_CLEARED_EVENT,a._handleAuthCleared),a._httpService.isUserLogged()&&a.getCustomerData().then(function(e){},function(e){})})},[{key:"isEmpty",value:function(){return!this.billsToCheckout.length}},{key:"size",value:function(){return this.billsToCheckout.length}},{key:"clear",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.billsToCheckout=[],this.billTypesToCheckout=[],this._lastPaymentRequiredSig=null,this.user._initUserTermsAndConditionsForm(),e||(this.switchBillsToCheckout=[],this._httpService.isUserLogged()||(this.user=new s.T_))}},{key:"resetAfterLogout",value:function(){this.invalidateCustomerDataCache(),this.billsToCheckout=[],this.billTypesToCheckout=[],this.switchBillsToCheckout=[],this.flag_processing=!1,this.flag_retrieving_customer_lead=!1,this.flag_retrieving_customer_data=!1,this.flag_terms_checked=!1,this.flag_monthly_savings=!1,this.flag_checking_payment_required=!1,this._lastPaymentRequiredSig=null,this.user=new s.T_}},{key:"getTotalExpectingSavingAmountPerYear",value:function(){return this.billsToCheckout.map(function(e){return e.getTotalExpectedSavingsPerYear()}).reduce(function(e,t){return e+t},0)}},{key:"getTotalCheckoutAmount",value:function(){return this.billsToCheckout.map(function(e){return e.getTotalExpectedSavings(!1)}).reduce(function(e,t){return e+t},0)}},{key:"getTotalBillsharkFee",value:function(){return this.billsToCheckout.map(function(e){return e.getBillsharkFee()}).reduce(function(e,t){return e+t},0)}},{key:"toggleMonthlySavings",value:function(e){e.stopPropagation()}},{key:"getBillsToCheckout",value:function(){return this.billsToCheckout}},{key:"getBillFromCheckout",value:function(e){var t=this.billsToCheckout.filter(function(t){return t.id===e});return t.length?t[0]:null}},{key:"addBillToCheckout",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e instanceof s.Y7&&e.ensureCheckoutFormsInitialized(),n&&this.billsToCheckout.length&&this.billsToCheckout[0].id===e.id?Object.assign(this.billsToCheckout[0],{monthly_payment:e.monthly_payment,expected_savings:e.expected_savings,business:e.business}):this.billsToCheckout=[e],this.setBillTypesToCheckout(),this.saveCustomerLead().then(function(e){},function(e){}),setTimeout(function(){t.checkIsPaymentRequired()})}},{key:"removeBills",value:function(){var e=this;this.billsToCheckout=[],this.saveCustomerLead().then(function(e){},function(e){}),setTimeout(function(){e.checkIsPaymentRequired()})}},{key:"removeBillFromCheckout",value:function(e){var t=this;e instanceof s.Y7&&(e=this.billsToCheckout.indexOf(e)),this.billsToCheckout.splice(e,1),this.setBillTypesToCheckout(),this.saveCustomerLead().then(function(e){},function(e){}),setTimeout(function(){t.checkIsPaymentRequired()})}},{key:"replaceBillForCheckout",value:function(e,t){var n=this;e instanceof s.Y7&&(e=this.billsToCheckout.indexOf(e)),this.billsToCheckout.splice(e,1,t),this.setBillTypesToCheckout(),this.saveCustomerLead().then(function(e){},function(e){}),setTimeout(function(){n.checkIsPaymentRequired()})}},{key:"setBillTypesToCheckout",value:function(){this.billTypesToCheckout=i(new Set(this.billsToCheckout.map(function(e){return e.bill_type})))}},{key:"getBillTypesToCheckout",value:function(){return this.billTypesToCheckout}},{key:"onlyInsuranceBills",value:function(){return this.billsToCheckout.filter(function(e){return e.bill_type===c.$M.SWITCH}).length===this.billsToCheckout.length}},{key:"isBillTypesToCheckoutEmpty",value:function(){return!this.billTypesToCheckout.length}},{key:"loginThroughSignUp",value:function(){return this._httpService.isUserLogged()&&this.user.flag_signup_process}},{key:"loginThroughSignIn",value:function(){return this._httpService.isUserLogged()&&
1!this.user.flag_signup_process}},{key:"setTermsAndConditions",value:function(e){this.flag_terms_checked=e}},{key:"checkIsPaymentRequired",value:function(){var e,t=this,n=(this.billsToCheckout||[]).map(function(e){var t,n,r;return(e.bill_type||"")+"|"+((null===(t=e.provider)||void 0===t?void 0:t.provider_name)||"")+"|"+((null===(r=null===(n=e.bill_info)||void 0===n?void 0:n.bill_service_address_street)||void 0===r?void 0:r.address_state)||"")}).join(",");return n&&n===this._lastPaymentRequiredSig?Promise.resolve(null===(e=this.user)||void 0===e?void 0:e.flag_payment_required):(this.flag_checking_payment_required=!0,new Promise(function(e,r){var i=!0,o=0,a={negotiation:{rate:40,rate_type:"Percentage",savings_range_considered:"all"},cancellation:{rate:5,rate_type:"Flat Rate"}},s=c.bl.API_ENDPOINTS.PAYMENT_REQUIRED,l={query_parameters:t._httpService.isUserLogged()?{}:Object.assign({},t.user.queryParams,{pc:t.user.queryParams.pc||t.user.queryParams.wpc,ref:t.user.queryParams.grsf}),email:t.user.customer_email,first_name:t.user.customer_first_name,service_requests:t.billsToCheckout.map(function(e){var t,n={type:e.bill_type,biller_name:e.provider.provider_name};return(null===(t=e.bill_info.bill_service_address_street)||void 0===t?void 0:t.address_state)&&(n.address={state:e.bill_info.bill_service_address_street.address_state}),n})};t._httpService.isUserLogged()||(l.affiliate=t.user.queryParams.affiliate,l.partner_pt=t.user.queryParams.partner_pt||t.user.queryParams.pt),t._httpService.httpRequest(s,c.I5.POST,l,null).then(function(e){var t=JSON.parse(JSON.stringify(e));i=t.payment_required,o=t.on_hold_amount,a=t.billing_config}).catch(function(e){}).finally(function(){t.user.flag_payment_required=i,t.user.on_hold_amount=o,t.user.billing_config=a,t.flag_checking_payment_required=!1,t._lastPaymentRequiredSig=n,e(t.user.flag_payment_required)})}))}},{key:"validBillImages",value:function(e){var t=!0;return Object.keys(e.bill_images).length||(t=!1),t}},{key:"_validBillSignUp",value:function(e){for(var t=!0,n=[],r=e.signUp.start;r&&t;){switch(r){case c.e2.MENU:e.signUp.nav[r].next||(e.signUp.step=c.e2.MENU,t=!1);break;case c.e2.IMG_UPLOAD:this.validBillImages(e)||(e.signUp.step=c.e2.IMG_UPLOAD,t=!1),this._utilService.validateForm(e.formBillInfo.form,!0)||(e.signUp.step=c.e2.IMG_UPLOAD,t=!1,n=Object.values(e.formBillInfo.form.controls));break;case c.e2.CREDENTIALS:this._utilService.validateForm(e.formBillInfo.form,!0)||(e.signUp.step=c.e2.CREDENTIALS,t=!1,n=Object.values(e.formBillInfo.form.controls));break;case c.e2.BILL_INFO:this._utilService.validateForm(e.formBillInfo.form,!0)||(e.signUp.step=c.e2.BILL_INFO,t=!1,n=Object.values(e.formBillInfo.form.controls));break;default:e.signUp.step=e.signUp.start,t=!1}if(t){var i=e.signUp.nav[r].next;e.nextStep(i,r,!1),r=i}}return e.signUp.valid=t,t||setTimeout(function(){e.signUp.valid=!0},1e4),{valid:t,controls:n}}},{key:"validUserInfoForm",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Promise(function(i,o){if(e.user.formUserInfo.form){var a=e._utilService.validateForm(e.user.formUserInfo.form,t,n);if(a||o(),r)return void(a?i({loggedIn:!1}):o());if(e._utilService.validateControls([e.user.formUserInfo.form.get("customer_email")],!0)){var s=!1,l=null,c=null;e._validUserEmail().then(function(t){l=t,s=a&&e._utilService.validateForm(e.user.formUserInfo.form,!0)}).catch(function(t){c=t,e._utilService.focusFirstControl(Object.values(e.user.formUserInfo.form.controls))}).finally(function(){s?i({loggedIn:!(!l||!l.loggedIn)}):o(c)})}else o()}else i({loggedIn:!1})})}},{key:"_validUserEmail",value:function(){var e=this;return new Promise(function(t,n){e.user.transaction_id||e.user.sl_provider?t({loggedIn:!1}):e._httpService.validateEmailWithPassword(e.user.customer_email,e.user.customer_password).then(function(e){t({loggedIn:!(!e||!e.loggedIn)})}).catch(function(t){e._isSignUpWrongPasswordError(t)||e.user.formUserInfo.form.get("customer_email").setErrors({customer_exists:!0}),n(t)})})}},{key:"_isSignUpWrongPasswordError",value:function(e){return!(!e||e.error_code!==c.bl.API_RESULT_ERROR_CODE.ERROR_CODE_CUSTOMER_EXIST)}},{key:"validUserTermsConditionsForm",value:function(){var e=!0;return this.user.formUserTermsAndConditions&&!this._utilService.validateForm(this.user.formUserTermsAndConditions)&&(e=!1),e}},{key:"validAllEstimateSavingsForm",value:function(){var e=this,t=!0;return this.billsToCheckout.forEach(function(n){n.formEstimateSavings&&!e._utilService.validateForm(n.formEstimateSavings,!0)&&(t=!1)}),t}},{key:"validAllBillSignUp",value:function(){var e=this,t=!0,n=[];return this.billsToCheckout.forEach(function(r){var i=e._validBillSignUp(r);i.valid||(t=i.valid,n=n.concat(i.controls))}
1),this._utilService.focusFirstControl(n),t}},{key:"validAllBillTermsConditionsForm",value:function(){var e=this,t=!0;return this.billsToCheckout.forEach(function(n){n.formBillTermsAndConditions&&!e._utilService.validateForm(n.formBillTermsAndConditions)&&(t=!1)}),t}},{key:"retrieveCustomerLead",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,a.mG)(this,void 0,void 0,n().m(function t(){var r,o=this;return n().w(function(t){for(;;)switch(t.n){case 0:if(!this._utilService.isPlatformServer){t.n=1;break}this.flag_retrieving_customer_lead=!1,r=null,t.n=3;break;case 1:return t.n=2,new Promise(function(t,n){o.flag_retrieving_customer_lead=!0,o.billsToCheckout=[],o._httpService.httpRequest(c.bl.API_ENDPOINTS.CUSTOMER_LEAD+(e?"/".concat(e):""),c.I5.GET,null,null).then(function(n){var r,a,l,u=JSON.parse(JSON.stringify(n));(null===(r=u.data)||void 0===r?void 0:r.user)&&(e&&(u.data.user.transaction_id=u.transaction_id),o.user.loadCustomerLeadData(u.data.user)),(null===(l=null===(a=u.data)||void 0===a?void 0:a.bills)||void 0===l?void 0:l.length)?Promise.all(u.data.bills.map(function(e){return new Promise(function(t,n){o._storageService.getNomCategories(e.bill_type).subscribe(function(e){!e.loading&&e.data&&t(e.data)},function(e){})}).then(function(t){var n=!1,r=null;if(t){switch(e.bill_type){case c.$M.CANCELLATION:if(e.provider){var a=[];t.forEach(function(e){var t;(t=a).push.apply(t,i(e.providers))}),(a=a.filter(function(t){return t.provider_id===e.provider.provider_id})).length&&(r=a[0],n=!0)}break;case c.$M.NEGOTIATION:n=!0;var l=[];t.forEach(function(e){l.push.apply(l,i(e.providers))}),r=l.find(function(t){return t.provider_id===e.provider.provider_id});break;case c.$M.SWITCH:n=!1}n&&(e.provider=r,o.addBillToCheckout((new s.Y7).loadCustomerLeadData(e)),o.billsToCheckout.sort(function(e,t){return e.id-t.id}))}})})).finally(function(){t(u.data.bills)}):t(null)}).catch(function(){n()}),o.flag_retrieving_customer_lead=!1});case 2:r=t.v;case 3:return t.a(2,r)}},t,this)}))}},{key:"saveCustomerLead",value:function(){if(this._utilService.isPlatformServer)return Promise.resolve(null);var e=c.bl.API_ENDPOINTS.CUSTOMER_LEAD,t=c.I5.PUT,n={data:{source:this._httpService.isUserLogged()?"upload-more-bills":"sign-up",user:this._utilService.isPlatformServer?null:this.size()?this.user.getCustomerLeadData():null,bills:this.billsToCheckout.map(function(e){return e.getCustomerLeadData()})}};return this._httpService.httpRequest(e,t,n,null).catch(function(){return null})}},{key:"refreshCustomerLead",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,a.mG)(this,void 0,void 0,n().m(function t(){var r,i;return n().w(function(t){for(;;)switch(t.n){case 0:if(!this._utilService.isPlatformServer){t.n=1;break}return t.a(2,null);case 1:return r=this.billsToCheckout,t.n=2,this.retrieveCustomerLead();case 2:if(!e||!r.length){t.n=3;break}i=r.map(function(e){return e.id}),this.billsToCheckout=r.concat(this.billsToCheckout.filter(function(e){return!i.includes(e.id)}
1)),this.saveCustomerLead().then(function(e){},function(e){});case 3:return t.a(2)}},t,this)}))}},{key:"deleteCustomerLead",value:function(){this._utilService.isPlatformServer||this._httpService.httpRequest(c.bl.API_ENDPOINTS.CUSTOMER_LEAD,c.I5.DELETE,null,null).then(function(e){},function(e){})}},{key:"_getCustomerDataCacheKey",value:function(){var e;return this._httpService.TRANSACTION_ID||(null===(e=this.user)||void 0===e?void 0:e.transaction_id)||null}},{key:"hasCustomerDataCache",value:function(){return this.customerDataLoaded&&this.customerDataLoadedTransactionId===this._getCustomerDataCacheKey()}},{key:"invalidateCustomerDataCache",value:function(){this.customerDataPromise=null,this.customerDataLoaded=!1,this.customerDataLoadedTransactionId=null}},{key:"getCustomerData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this._getCustomerDataCacheKey();return this.customerDataLoadedTransactionId!==n&&(this.customerDataPromise=null,this.customerDataLoaded=!1,this.customerDataLoadedTransactionId=n),!t&&this.customerDataPromise?this.customerDataPromise:!t&&this.hasCustomerDataCache()?Promise.resolve(this.user):(this.flag_retrieving_customer_data=!0,this.customerDataPromise=this._httpService.httpRequest(c.bl.API_ENDPOINTS.CUSTOMER_DATA,c.I5.GET,null,null).then(function(t){var n=JSON.parse(JSON.stringify(t));return e.user.loadCustomerLeadData(n),e.customerDataLoaded=!0,e.customerDataLoadedTransactionId=e._getCustomerDataCacheKey(),e.user}).catch(function(t){return e.customerDataLoaded=!1,null}).finally(function(){e.flag_retrieving_customer_data=!1,e.customerDataPromise=null}),this.customerDataPromise)}},{key:"sendCustomerSessionRecordData",value:function(e){return this._httpService.httpRequest(c.bl.API_ENDPOINTS.LUCKY_ORANGE,c.I5.POST,e,null).then(function(e){}).catch(function(e){}).finally()}},{key:"refreshBlueVideo",value:function(){this._storageService.blueRush.behaviorSubject.next({data:this.getBillsToCheckout().filter(function(e){return e.bill_type===c.$M.NEGOTIATION}).pop()})}}])}()).\u0275fac=function(e){return new(e||o)(p.\u0275\u0275inject(f.F0),p.\u0275\u0275inject(d.f),p.\u0275\u0275inject(g.O),p.\u0275\u0275inject(v.V),p.\u0275\u0275inject(_.v))},o.\u0275prov=p.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o)},84913:function(e,t,r){"use strict";r.d(t,{O:function(){return S}});var o,a=r(64762),s=r(97245),c=r(58497),d=r(31440),h=[211,84,122,143,111,183,113,173,55,24,202,81,146,14,37,231],m=[40,202,58,249,98,127,148,19,246,121,126,153,24,214,37,248],p=[211,84,122,143,111,183,113,173,55,24,202,81,145,14,41,131],f=[109,244,45,195,100,104,172,5,229,114,117,137,104,192,51,237],g=r(74788),v=r(92599),_=r(12057),b=r(66204),y=r(56965),S=((o=function(){return l(function e(t,n,r,i,o,a,s){var l=this;u(this,e),this._utilService=t,this._http=n,this._router=r,this._platformLocation=i,this._ngZone=o,this._passwordCrypto=a,this._rateLimitService=s,this.AUTH_CLEARED_EVENT="bs:auth-cleared",this.SESSION_ERROR_SUPPRESSION_WINDOW_MS=2500,this.LOGOUT_SESSION_ERROR_SUPPRESSION_WINDOW_MS=1e4,this.GENERAL_ERROR_SILENT_RETRY_LIMIT=2,this.CSRF_TOKEN=null,this.TRANSACTION_ID=null,this.SL_PROFILE_IMG=null,this.CSRF_TOKEN_RETRY_DELAY_MS=15e3,this.SESSION_HEARTBEAT_INTERVAL_MS=6e4,this.SESSION_IDLE_TTL_MS=9e5,this.csrfTokenRetryBlockedUntil=0,this.csrfTokenLastError=null,this.generalErrorRecoveryKeys=new Set,this.generalErrorRecoveryAttempts=new Map,this.sessionHeartbeatTimer=null,this.sessionHeartbeatInFlight=!1,this.manualLogoutSuppressUntil=0,this.sessionExpiryHandled=!1,this._handleWindowFocus=function(){l._scheduleSessionHeartbeat(!0)},this._handleVisibilityChange=function(){"undefined"!=typeof document&&!document.hidden&&l._scheduleSessionHeartbeat(!0)},this.lastActivityTime=Date.now(),this._markActivity=function(){l.lastActivityTime=Date.now()},this._retrieveAuthData(),d.f.afterWindowOnLoad(function(){l._utilService.isPlatformServer||(window.addEventListener("focus",l._handleWindowFocus),document.addEventListener("visibilitychange",l._handleVisibilityChange),["pointerdown","keydown","touchstart","click","
1scroll"].forEach(function(e){return window.addEventListener(e,l._markActivity,{passive:!0,capture:!0})}),l._scheduleSessionHeartbeat())})},[{key:"isUserLogged",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._utilService.isPlatformServer){var t=this._platformLocation.href,n=this._router.url;if(this._router.url.includes("#")&&(n=this._router.url.substring(0,this._router.url.indexOf("#"))),-1!==t.indexOf("?")&&(n=n.substring(0,n.indexOf("?"))),["/dashboard/summary","/dashboard/help"].includes(n))return!0}var r=!1;if(this._utilService.chash&&this._utilService.id)this.CSRF_TOKEN=this._utilService.chash,this.TRANSACTION_ID=this._utilService.id,this._utilService.chash="",this._utilService.id="",r=!0;else if(this.CSRF_TOKEN&&(this.TRANSACTION_ID||e)){var i=this._b64DecodeUnicode(this.CSRF_TOKEN),o=parseInt(i.charAt(i.length-1),10);r="101"===i.slice(o+1,o+4)}return r}},{key:"ensureAuthResolved",value:function(){return this._utilService.isPlatformServer||"string"==typeof this.CSRF_TOKEN&&this.CSRF_TOKEN.trim()?Promise.resolve():this._getCsrfToken(!1).then(function(){}).catch(function(){})}},{key:"signIn",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,a.mG)(this,void 0,void 0,n().m(function i(){var o,a,l,c,u,d=this;return n().w(function(n){for(;;)switch(n.n){case 0:return o=s.bl.API_ENDPOINTS.BS_LOGIN,l=!0,c=e,n.n=1,this._passwordCrypto.encryptPassword(t);case 1:return u=n.v,a={new_user_login:l,customer_email:c,customer_password:u},n.a(2,this.httpRequest(o,s.I5.POST,a,null,!0,s.bW.FRONT_FACING).then(function(e){var t=JSON.parse(JSON.stringify(e));return d.TRANSACTION_ID=t.transaction_id,d._saveAuthData(),d.SL_PROFILE_IMG=null,{status:t.status,user:{transaction_id:d.TRANSACTION_ID,flag_signup_process:r,sl_provider:null}}}).catch(function(e){throw d.TRANSACTION_ID=null,e}))}},i,this)}))}},{key:"validateEmailWithPassword",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,a.mG)(this,void 0,void 0,n().m(function i(){var o,a,l,c,u,d,h,m,p,f,g;return n().w(function(n){for(;;)switch(n.p=n.n){case 0:return o=s.bl.API_ENDPOINTS.VALIDATE_EMAIL,h=e,n.n=1,this._passwordCrypto.encryptPassword(t);case 1:return m=n.v,a={email:h,customer_password:m},l=null,c=!1,n.p=2,n.n=3,this.httpRequest(o,s.I5.POST,a,null,!0,s.bW.FRONT_FACING);case 3:u=n.v,l=JSON.parse(JSON.stringify(u)),n.n=5;break;case 4:n.p=4,p=n.v,l=p,c=!0;case 5:if(!l||l.error_code!==s.bl.API_RESULT_ERROR_CODE.ERROR_CODE_CUSTOMER_EXIST){n.n=6;break}throw c?l:Object.assign({},l);case 6:if(!c){n.n=7;break}throw l;case 7:if(!this.isUserLogged(!0)){n.n=13;break}if(!(d=l.transaction_id||l.customer&&l.customer.id||null)){n.n=8;break}this.TRANSACTION_ID=d,this._saveAuthData(),f={loggedIn:!0},n.n=12;break;case 8:if(!r){n.n=9;break}g={loggedIn:!1},n.n=11;break;case 9:return n.n=10,this._resetToNonLoggedCsrfToken();case 10:g=this.validateEmailWithPassword(e,t,!0);case 11:f=g;case 12:return n.a(2,f);case 13:return n.a(2,{loggedIn:!1})}},i,this,[[2,4]])}))}},{key:"_resetToNonLoggedCsrfToken",value:function(){return(0,a.mG)(this,void 0,void 0,n().m(function e(){return n().w(function(e){for(;;)switch(e.p=e.n){case 0:return this.CSRF_TOKEN=null,e.p=1,e.n=2,this._getCsrfToken(!0);case 2:e.n=4;break;case 3:e.p=3,e.v;case 4:return e.a(2)}},e,this,[[1,3]])}))}},{key:"socialLogin",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.httpRequest(s.bl.API_ENDPOINTS.SOCIAL_LOGIN,s.I5.POST,{access_token:e.accessToken,method_source:r?"Sign Up":"Log In",partner_pt:t.partner_pt||t.pt,pcti:t.pcti,social_login_source:e.sl_provider,email:e.customer_email},null,!0,s.bW.FRONT_FACING).then(function(t){var i=JSON.parse(JSON.stringify(t));n.TRANSACTION_ID=null,n.isUserLogged(!0)&&(n.TRANSACTION_ID=i.customer_id,i.direct_customer_id&&(n.TRANSACTION_ID=i.direct_customer_id),n.SL_PROFILE_IMG=e.sl_image_url,n._saveAuthData());var o="";return i.email?o={user:Object.assign(e,{customer_email:i.email,customer_first_name:i.first_name,customer_last_name:i.last_name,transaction_id:n.TRANSACTION_ID,flag_signup_process:r})}:null==i.email&&(o={user:Object.assign(e,{customer_email:e.email,customer_first_name:e.first_name,customer_last_name:e.last_name,transaction_id:n.TRANSACTION_ID,flag_signup_process:r})}),o}
1).catch(function(t){return{error_message:t.error_message,error_code:t.error_code,user:Object.assign(e,{transaction_id:n.TRANSACTION_ID,flag_signup_process:r})}})}},{key:"signOut",value:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this._getBrowserPathWithQuery(),a=this.isUserLogged()&&i,l=a?s.bl.API_ENDPOINTS.BS_LOGOUT.replace(s.Jw.TRANSACTION_ID,this.TRANSACTION_ID||""):null,c="string"==typeof this.CSRF_TOKEN?this.CSRF_TOKEN:null;a&&this._suppressSessionErrorsDuringManualLogout(),"undefined"!=typeof $&&"function"==typeof(null===(e=$.fn)||void 0===e?void 0:e.modal)&&$(".modal").modal("hide"),document.querySelectorAll(".modal").forEach(function(e){e.classList.remove("show"),e.style.display="none"}),document.querySelectorAll(".modal-backdrop").forEach(function(e){return e.remove()}),document.body.classList.remove("modal-open"),document.body.style.paddingRight="",document.body.style.overflow="";var u=function(){t._ngZone.run(function(){if(t._clearSessionHeartbeat(),t.sessionHeartbeatInFlight=!1,t._removeAuthData(),t._refreshCsrfTokenSilently(),t._notifyAuthCleared(),!t._shouldSkipStaleLogoutNavigation(n,r,o)&&!t._utilService.isPlatformServer){var e={};r&&(e.queryParams={redirectUrl:r}),t._router.navigate([n?"/login":"/"],e)}})};a?(u(),this._sendSignOutRequest(l,c)):u()}},{key:"_shouldSkipStaleLogoutNavigation",value:function(e,t,n){if(!e||t||!this._hasLogoutQueryParam(n))return!1;var r=this._getBrowserPathWithQuery();return r!==n&&!r.startsWith("/login")}},{key:"_getBrowserPathWithQuery",value:function(){return this._utilService.isPlatformServer||"undefined"==typeof window?this._router.url||"":"".concat(window.location.pathname).concat(window.location.search)}},{key:"_hasLogoutQueryParam",value:function(e){var t=e.split("?")[1]||"";return new URLSearchParams(t).has("logout")}},{key:"_notifyAuthCleared",value:function(){this._utilService.isPlatformServer||"undefined"==typeof window||window.dispatchEvent(new CustomEvent(this.AUTH_CLEARED_EVENT))}},{key:"_sendSignOutRequest",value:function(e,t){!e||this._httpRequest(e,s.I5.POST,null,null,!1,s.bW.FRONT_FACING,!1,!1,t?{csrf_token:t}:null,function(){},function(){})}},{key:"_suppressSessionErrorsDuringManualLogout",value:function(){this._utilService.isPlatformServer||"undefined"==typeof window||(this.manualLogoutSuppressUntil=Date.now()+this.LOGOUT_SESSION_ERROR_SUPPRESSION_WINDOW_MS,this._suppressConcurrentGenericErrors())}},{key:"_shouldSuppressSessionErrorDuringManualLogout",value:function(){return!this._utilService.isPlatformServer&&"undefined"!=typeof window&&Date.now()<this.manualLogoutSuppressUntil}},{key:"jsonRequest",value:function(e){return this._http.get(e)}},{key:"httpExternalRequest",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.X3.ERR_REQUEST_ERROR,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:s.bW.NONE,l=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];return new Promise(function(s,c){n._httpRequest(e,t,r,i,!1,a,l,!0,o,s,c)})}},{key:"httpRequest",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.X3.ERR_REQUEST_ERROR,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:s.bW.NONE,l=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];return new Promise(function(c,u){if(s.L6.RATE_LIMIT_BANNER&&n._rateLimitService.isActive())return n._rateLimitService.flash(),u({status:429,reason:"rate_limited",error_message:"too_many_requests"});n._getCsrfToken(!1).then(function(){if(e.includes(s.Jw.TRANSACTION_ID)){if(n._utilService.isPlatformServer)return u();if(!n.isUserLogged())return n._handleError({status:403},e,t,r,i,o,a,!1,!1,null,c,u);e=e.replace(s.Jw.TRANSACTION_ID,n.TRANSACTION_ID||"")}n._httpRequest(e,t,r,i,o,a,l,!1,null,c,u)}
1).catch(function(e){return u(e)})})}},{key:"_getHttpHeaders",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=new c.WM;return e||(n=n.set("x-api-key",function(e){for(var t=[].concat(i(s.T4),i(s.y$.slice().reverse())),n="dev"===e?[].concat(h,m):[].concat(p,f),r="",o=0;o<n.length;o++)r+=String.fromCharCode(n[o]^t[o%t.length]);return r}(s.bl.KEY_ENV)).set("x-timezone-offset",(new Date).getTimezoneOffset().toString()),this.CSRF_TOKEN&&(n=n.set("csrf_token",this.CSRF_TOKEN)),this._utilService.isPlatformServer&&(n=n.set("X-Request-Source","ssr"))),t&&Object.keys(t).forEach(function(e){n=n.set(e,t[e])}),n}},{key:"_httpRequest",value:function(e,t,n,r,i,o,a,l,c,u,d){var h,m=this,p=l?e:"".concat(s.bl.BASE_URL_V3).concat(e),f=this._getHttpHeaders(l,c);switch(t){case s.I5.GET:h=this._http.get(p,{headers:f,params:n,observe:"response"});break;case s.I5.POST:h=this._http.post(p,n,{headers:f,observe:"response"});break;case s.I5.PATCH:h=this._http.patch(p,n,{headers:f,observe:"response"});break;case s.I5.DELETE:h=this._http.delete(p,{headers:f,observe:"response"});break;case s.I5.PUT:h=this._http.put(p,n,{headers:f,observe:"response"})}h.subscribe(function(r){var o=r.status,a=r.body;clearTimeout(null),m._utilService.removeToast(void 0,3e3),a&&(a.status=o),!l&&i&&(m.CSRF_TOKEN=a.csrf_token,m._saveCsrfToken(),m._session()),m._clearGeneralErrorRecoveryState(e,t,n,l),u(a)},function(h){var p=h.status,f=h.error,g=h.headers;clearTimeout(null),m._utilService.removeToast(void 0,3e3),f&&(f.status=p);var v=f&&m._utilService.getHandledError(f);if(v&&"global"===v.scope)return 429===p&&s.L6.RATE_LIMIT_BANNER?(m._rateLimitService.trigger(m._parseRetryAfter(g)),void d(f)):(o===s.bW.FRONT_FACING&&s.L6.LOGIN_ERRORS_INLINE||m._utilService.showErrorNotification(v.message),void d(f));if(o==s.bW.FRONT_FACING){var _=f&&f.error_code===s.bl.API_RESULT_ERROR_CODE.ERROR_CODE_INVALID_CREDENTIALS;a&&f&&401===f.status&&!_?m._getCsrfToken(!0).then(function(){m._httpRequest(e,t,n,r,i,o,!1,l,c,u,d)}).catch(function(){r&&(m._utilService.showErrorNotification(r),m._refreshCsrfTokenSilently()),d(f)}):d(f)}else!f||401!==f.status&&403!==f.status?a?m._handleError(f,e,t,n,r,i,o,a,l,c,u,d):a&&o!==s.bW.NONE?setTimeout(function(){m._httpRequest(e,t,n,r,i,o,!1,c,l,u,d)},18e4):f&&r?m._handleGeneralErrorWithRecovery(e,t,n,r,i,o,l,c,u,d,f)||(m._utilService.showErrorNotification(r,f.error_message),m._refreshCsrfTokenSilently(),d(f)):m._handleGeneralErrorWithRecovery(e,t,n,r,i,o,l,c,u,d,f)||(m._refreshCsrfTokenSilently(),d(f)):m._handleError({status:f.status},e,t,n,r,i,o,!1,!1,c,u,d)})}},{key:"_parseRetryAfter",value:function(e){try{var t=e&&"function"==typeof e.get?e.get("Retry-After"):null;if(!t)return;var n=parseInt(String(t).trim(),10);if(!isNaN(n)&&n>0)return n;var r=Date.parse(String(t));if(!isNaN(r)){var i=Math.round((r-Date.now())/1e3);return i>0?i:void 0}}catch(t){}}},{key:"_handleError",value:function(e,t,n,r,i,o,a,l,c,u,d,h){var m=this;if(e&&429===e.status)return i&&this._utilService.showErrorNotification(i,e.error_message),void h(e);if(c)l?this._httpRequest(t,n,r,i,o,a,!1,c,u,d,h):(i&&(401===e.status||403===e.status)&&this._utilService.showErrorNotification(i),h(e));else if(e&&e.status&&(403===e.status||401===e.status&&this.isUserLogged())){if(this._shouldSuppressSessionErrorDuringManualLogout())return void h(e);this._handleSessionExpired(403===e.status?s.X3.ERR_ACTION_DENIED:s.X3.ERR_TOKEN_EXPIRED),h(e)}else l?this._getCsrfToken(!0).then(function(){m._httpRequest(t,n,r,i,o,a,!1,c,u,d,h)}).catch(function(){i&&(m._utilService.showErrorNotification(i),m._refreshCsrfTokenSilently()),h(e)}):i?this._handleGeneralErrorWithRecovery(t,n,r,i,o,a,c,u,d,h,e)||(this._utilService.showErrorNotification(i),this._refreshCsrfTokenSilently(),h(e)):this._handleGeneralErrorWithRecovery(t,n,r,i,o,a,c,u,d,h,e)||(this._refreshCsrfTokenSilently(),h(e))}},{key:"_getCsrfToken",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(function(n,r){if(e._utilService.isPlatformServer)n(null);else{var i="string"==typeof e.CSRF_TOKEN&&e.CSRF_TOKEN.trim()?e.CSRF_TOKEN:null;if(Date.now()<e.csrfTokenRetryBlockedUntil)r(e.csrfTokenLastError||{status:429});else if(t||!e.CSRF_TOKEN||e.CSRF_TOKEN instanceof Promise){if(!(e.CSRF_TOKEN instanceof Promise)){var o="".concat(s.bl.BASE_URL_V3).concat(s.bl.API_ENDPOINTS.CSRF_TOKEN),a=e._getHttpHeaders();t&&(e.CSRF_TOKEN=null),e.CSRF_TOKEN=e._http.get(o,{headers:a}).toPromise()}e.CSRF_TOKEN.then(function(t){e.CSRF_TOKEN=t.csrf_token,e.csrfTokenRetryBlockedUntil=0,e.csrfTokenLastError=null,n(null)}
1).catch(function(n){e.CSRF_TOKEN=!t&&i?i:null,e.csrfTokenLastError=n||{status:0},e.csrfTokenRetryBlockedUntil=n&&429===n.status?Date.now()+e.CSRF_TOKEN_RETRY_DELAY_MS:0,r(n)}).finally(function(){e._saveCsrfToken()})}else n(null)}})}},{key:"_saveCsrfToken",value:function(){var e,t="string"==typeof this.CSRF_TOKEN?this.CSRF_TOKEN.trim():"";if(t&&"undefined"!=typeof Storage)try{JSON.stringify(localStorage.getItem("bs_auth")).length<5e6?(e=JSON.parse(localStorage.getItem("bs_auth"))||{},this.TRANSACTION_ID?localStorage.setItem("bs_auth",JSON.stringify(Object.assign(e,{csrf_token:t}))):localStorage.setItem("bs_auth",JSON.stringify(Object.assign(Object.assign({},e),{csrf_token:t})))):(localStorage.removeItem("bs_auth"),this._saveAuthData(),console.error("LocalStorage size exceeded, CSRF token not saved."))}catch(n){console.error("Error saving CSRF token:",n)}}},{key:"_session",value:function(){"undefined"!=typeof Storage&&sessionStorage.setItem("session","1"),this._scheduleSessionHeartbeat()}},{key:"_saveAuthData",value:function(){if("undefined"!=typeof Storage){var e=JSON.parse(localStorage.getItem("bs_auth"))||{};localStorage.setItem("bs_auth",JSON.stringify(Object.assign(e,{tid:this.TRANSACTION_ID,sl_img:this.SL_PROFILE_IMG})))}this.sessionExpiryHandled=!1,this._scheduleSessionHeartbeat(!0)}},{key:"_retrieveAuthData",value:function(){var e=this;if("undefined"!=typeof Storage){var t=JSON.parse(localStorage.getItem("bs_auth"));if(t){var n="string"==typeof t.csrf_token&&t.csrf_token.trim()?t.csrf_token:null;this.CSRF_TOKEN=n,!n&&"csrf_token"in t&&(delete t.csrf_token,localStorage.setItem("bs_auth",JSON.stringify(t))),this.TRANSACTION_ID=t.tid,this.SL_PROFILE_IMG=t.sl_img}}d.f.afterWindowOnLoad(function(){e.isUserLogged()&&(e.sessionExpiryHandled=!1,e._scheduleSessionHeartbeat())})}},{key:"_removeAuthData",value:function(){if("undefined"!=typeof Storage){var e=JSON.parse(localStorage.getItem("bs_auth"));e&&(delete e.tid,delete e.sl_img,this._removePersistedCsrfToken(e)),sessionStorage.removeItem("session")}this._clearSessionHeartbeat(),this.sessionHeartbeatInFlight=!1,this.CSRF_TOKEN=null,this.TRANSACTION_ID=null,this.SL_PROFILE_IMG=null}},{key:"_refreshCsrfTokenSilently",value:function(){this._utilService.isPlatformServer||this._getCsrfToken(!0).catch(function(){})}},{key:"_handleGeneralErrorWithRecovery",value:function(e,t,n,r,i,o,a,s,l,c,u){var d=this;if(!this._shouldRecoverGetRequest(e,t,a))return!1;var h=this._buildGeneralRecoveryKey(e,t,n,a),m=this.generalErrorRecoveryAttempts.get(h)||0;return m>=this.GENERAL_ERROR_SILENT_RETRY_LIMIT?(this._clearGeneralErrorRecoveryStateByKey(h),r&&this._utilService.showErrorNotification(r,null==u?void 0:u.error_message),this._refreshCsrfTokenSilently(),c(u),!0):(this.generalErrorRecoveryAttempts.set(h,m+1),this.generalErrorRecoveryKeys.add(h),this._getCsrfToken(!0).then(function(){return new Promise(function(l,c){d._httpRequest(e,t,n,r,i,o,!1,a,s,l,c)})}).then(function(e){d._clearGeneralErrorRecoveryStateByKey(h),l(e)}).catch(function(e){d._refreshCsrfTokenSilently(),c(e||u)}).finally(function(){d.generalErrorRecoveryKeys.delete(h)}),!0)}},{key:"_shouldRecoverGetRequest",value:function(e,t,n){return!n&&t===s.I5.GET&&e!==s.bl.API_ENDPOINTS.CSRF_TOKEN&&e!==s.bl.API_ENDPOINTS.BS_LOGOUT}},{key:"_buildGeneralRecoveryKey",value:function(e,t,n,r){var i="";try{i=JSON.stringify(n||{})}catch(o){i=""}return"".concat(r?"ext":"int",":").concat(t,":").concat(e,":").concat(i)}},{key:"_clearGeneralErrorRecoveryState",value:function(e,t,n,r){!this._shouldRecoverGetRequest(e,t,r)||this._clearGeneralErrorRecoveryStateByKey(this._buildGeneralRecoveryKey(e,t,n,r))}},{key:"_clearGeneralErrorRecoveryStateByKey",value:function(e){this.generalErrorRecoveryAttempts.delete(e),this.generalErrorRecoveryKeys.delete(e)}},{key:"_removePersistedCsrfToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if("undefined"!=typeof Storage){var t=e||JSON.parse(localStorage.getItem("bs_auth"));!t||(delete t.csrf_token,Object.keys(t).length?localStorage.setItem("bs_auth",JSON.stringify(t)):localStorage.removeItem("bs_auth"))}}},{key:"_handleSessionExpired",value:function(){var e=this;arguments.length>0&&void 0!==arguments[0]||s.X3.ERR_SESSION_EXPIRED,this._ngZone.run(function(){if(!e.sessionExpiryHandled){e.sessionExpiryHandled=!0,e._clearSessionHeartbeat(),e._suppressConcurrentGenericErrors();try{"undefined"!=typeof sessionStorage&&sessionStorage.setItem("bs_login_notice","session_expired")}catch(t){}e.signOut(!0,e.isUserLogged()?e._router.url:null,!1)}})}},{key:"_suppressConcurrentGenericErrors",value:function(){this._utilService.isPlatformServer||"undefined"==typeof window||(window.__bsSuppressGenericErrorsUntil=Date.now()+this.SESSION_ERROR_SUPPRESSION_WINDOW_MS)}},{key:"_scheduleSessionHeartbeat",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._utilService.isPlatformServer||(this._clearSessionHeartbeat(),this.sessionExpiryHandled||!this.isUserLogged())||
1(this.sessionHeartbeatTimer=window.setTimeout(function(){e._ngZone.run(function(){e._checkSessionHeartbeat()})},t?0:this.SESSION_HEARTBEAT_INTERVAL_MS))}},{key:"_clearSessionHeartbeat",value:function(){this.sessionHeartbeatTimer&&(window.clearTimeout(this.sessionHeartbeatTimer),this.sessionHeartbeatTimer=null)}},{key:"_checkSessionHeartbeat",value:function(){var e=this;if(!(this._utilService.isPlatformServer||this.sessionHeartbeatInFlight||this.sessionExpiryHandled)&&this.isUserLogged()){if(Date.now()-this.lastActivityTime>=this.SESSION_IDLE_TTL_MS)return void this._handleSessionExpired(s.X3.ERR_SESSION_EXPIRED);if("undefined"!=typeof document&&document.hidden)return void this._scheduleSessionHeartbeat();if(s.L6.RATE_LIMIT_BANNER&&this._rateLimitService.isActive())return void this._scheduleSessionHeartbeat();this.sessionHeartbeatInFlight=!0,this.httpRequest(s.bl.API_ENDPOINTS.CUSTOMER_DATA,s.I5.GET,null,null,!0,s.bW.NONE,!1).catch(function(){}).finally(function(){e.sessionHeartbeatInFlight=!1,e.isUserLogged()&&!e.sessionExpiryHandled&&e._scheduleSessionHeartbeat()})}}},{key:"_b64DecodeUnicode",value:function(e){try{return decodeURIComponent(Array.prototype.map.call(atob(e),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}catch(t){return"error"}}}])}()).\u0275fac=function(e){return new(e||o)(g.\u0275\u0275inject(d.f),g.\u0275\u0275inject(c.eN),g.\u0275\u0275inject(v.F0),g.\u0275\u0275inject(_.lw),g.\u0275\u0275inject(g.NgZone),g.\u0275\u0275inject(b.o),g.\u0275\u0275inject(y.o))},o.\u0275prov=g.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o)},52726:function(e,t,n){"use strict";n.d(t,{v2:function(){return r.v},F1:function(){return i.F},fK:function(){return o.f}}),n(84913);var r=n(12006),i=(n(95825),n(55198),n(45787)),o=n(31440)},66204:function(e,t,r){"use strict";r.d(t,{o:function(){return d}});var i,o=r(64762),a=r(9346),s=r(97245),c=r(74788),d=((i=function(){return l(function e(){u(this,e),this.importedPublicKey=null},[{key:"encryptPassword",value:function(e){return(0,o.mG)(this,void 0,void 0,n().m(function t(){var r;return n().w(function(t){for(;;)switch(t.n){case 0:return r=null==e?"":String(e),t.a(2,"rsa"===s.L6.PASSWORD_ENCRYPTION?this._rsaEncrypt(r):a.V.hashStr(r).toString())}},t,this)}))}},{key:"_rsaEncrypt",value:function(e){return(0,o.mG)(this,void 0,void 0,n().m(function t(){var r,i,o,a;return n().w(function(t){for(;;)switch(t.n){case 0:if(r=this._getSubtle()){t.n=1;break}throw new Error("Web Crypto (subtle) unavailable \u2014 cannot RSA-encrypt password.");case 1:return t.n=2,this._getPublicKey(r);case 2:return i=t.v,o=(new TextEncoder).encode(e),t.n=3,r.encrypt({name:"RSA-OAEP"},i,o);case 3:return a=t.v,t.a(2,this._arrayBufferToBase64(a))}},t,this)}))}},{key:"_getPublicKey",value:function(e){if(!this.importedPublicKey){var t=this._base64ToArrayBuffer(s.V0);this.importedPublicKey=e.importKey("spki",t,{name:"RSA-OAEP",hash:"SHA-256"},!1,["encrypt"])}return this.importedPublicKey}},{key:"_getSubtle",value:function(){var e="undefined"!=typeof globalThis&&globalThis.crypto||"undefined"!=typeof window&&window.crypto||null;return e&&e.subtle?e.subtle:null}},{key:"_base64ToArrayBuffer",value:function(e){for(var t=atob(e),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n.buffer}},{key:"_arrayBufferToBase64",value:function(e){for(var t=new Uint8Array(e),n="",r=0;r<t.length;r++)n+=String.fromCharCode(t[r]);return btoa(n)}}])}()).\u0275fac=function(e){return new(e||i)},i.\u0275prov=c.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},56965:function(e,t,n){"use strict";n.d(t,{o:function(){return s}});var r,i=n(45094),o=n(76889),a=n(74788),s=((r=function(){function e(){if(u(this,e),this.untilMs=0,this.timer=null,this._state=new i.X({active:!1,remainingMs:0}),this.state$=this._state.asObservable(),this._flash=new o.x,this.flash$=this._flash.asObservable(),this._isBrowser()){var t=parseInt(sessionStorage.getItem(e.STORAGE_KEY)||"0",10);t>Date.now()&&(this.untilMs=t,this._start())}}return l(e,[{key:"trigger",value:function(t){if(this._isBrowser()){var n=t&&t>0?t:e.DEFAULT_SECONDS;this.untilMs=Date.now()+1e3*n;try{sessionStorage.setItem(e.STORAGE_KEY,String(this.untilMs))}catch(r){}this._start()}}},{key:"clear",value:function(){if(this.untilMs=0,this.timer&&(clearInterval(this.timer),this.timer=null),this._isBrowser())try{sessionStorage.removeItem(e.STORAGE_KEY)}catch(t){}this._state.next({active:!1,remainingMs:0})}},{key:"isActive",value:function(){return this.untilMs>Date.now()}},{key:"remainingMs",value:function(){return Math.max(0,this.untilMs-Date.now())}},{key:"flash",value:function(){this._flash.next()}},{key:"_start",value:function(){var e=this;this._tick(),this.timer||(this.timer=setInterval(function(){return e._tick()},1e3))}},{key:"_tick",value:function(){var t=this.remainingMs();if(t<=0){if(this.timer&&(clearInterval(this.timer),this.timer=null),this.untilMs=0,this._isBrowser())try{sessionStorage.removeItem(e.STORAGE_KEY)}catch(n){}this._state.next({active:!1,remainingMs:0})}else this._state.next({active:!0,remainingMs:t})}},{key:"_isBrowser",value:function(){return"undefined"!=typeof window&&"undefined"!=typeof sessionStorage}}])}()).STORAGE_KEY="bs429until",r.DEFAULT_SECONDS=180,r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=a.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r)},12006:function(e,t,n){"use strict";n.d(t,{v:function(){return h}});var r=n(12057),i=n(97245),o=n(31440),a=n(74788),s=n(84913),c=n(92599),d=n(91211),h=function(){var e=function(){function e(t,n,r,i,o,a){u(this,e),this._httpService=t,this._router=n,this._platformLocation=r,this._title=i,this._meta=o,this._document=a,this.queryParams={},this._prerenderedBlogMetaPath=null,this._menuLoadRequested=!1,this._seoLoadsInFlight=new Set,this._inlineSeedCache=new Map,this.seoList={default:{filename:"seo",data:null},"/blog":{filename:"seo_blog",data:null},"/lower/":{filename:"seo_lower",data:null},"/outage/":{filename:"seo_outage",data:null}},this.initPage(!0)}return l(e,[{key:"initPage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.url=this._platformLocation.href,this.path=this._router.url,this._router.url.includes("#")&&(this.path=this._router.url.substring(0,this._router.url.indexOf("#"))),this.queryParams=this.getQueryParams(this.url),-1!==this.url.indexOf("?")&&(this.url=this.url.substring(0,this.url.indexOf("?"))),-1!==this.path.indexOf("?")&&(this.path=this.path.substring(0,this.path.indexOf("?"))),this.headerTransparent=i.yI.includes(this.path),this._applyHomeProviderQueryRobots(),t?o.f.afterWindowOnLoad(function(){return e._initMenu()}):(this._initSegment(),o.f.afterWindowOnLoad(function(){return e._refreshMeta()}))}},{key:"_applyHomeProviderQueryRobots",value:function(){var e;"/"!==this.path||!(null===(e=this.queryParams)||void 0===e?void 0:e.provider)||this._meta.updateTag({name:"robots",content:"noindex,follow"})}},{key:"getQueryParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t={};return-1!==e.indexOf("?")?e.substring(e.indexOf("?")).replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),function(e,n,r,i){return t[n]=i}):e.indexOf("?"),t}},{key:"_initMenu",value:function(){var t=this;if(!Array.isArray(this.menu)||!this.menu.length){var n=this._getInlineSeed(e.HOME_MENU_SEED_ID);Array.isArray(n)&&n.length?this.menu=JSON.parse(JSON.stringify(n)):this._menuLoadRequested||(this._menuLoadRequested=!0,this._httpService.jsonRequest("assets/json/menu.json").subscribe(function(e){t.menu=JSON.parse(JSON.stringify(e)),t._menuLoadRequested=!1},function(e){t._menuLoadRequested=!1}))}}},{key:"_loadSEO",value:function(e){var t=this;if((null==e?void 0:e.filename)&&!e.data&&!this._seoLoadsInFlight.has(e.f
1ilename)){var n=this._getPrerenderedCurrentPageSeo(e);n?this._refreshMetaData(n):(this._seoLoadsInFlight.add(e.filename),this._httpService.jsonRequest("assets/json/seo/"+e.filename+".json").subscribe(function(n){e.data=JSON.parse(JSON.stringify(n)),t._seoLoadsInFlight.delete(e.filename),t._refreshMeta(e)},function(n){t._seoLoadsInFlight.delete(e.filename)}))}}},{key:"_isDirectBlogPath",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.path;return!!e&&e.startsWith("/blogs/")&&-1===e.replace("/blogs/","").indexOf("/")}},{key:"_shouldReusePrerenderedBlogMeta",value:function(e){var t,n,r,i,o,a;if(e!==this.seoList["/blog"]||!this._isDirectBlogPath())return!1;if(this._prerenderedBlogMetaPath)return this._prerenderedBlogMetaPath===this.path;var s=(null===(r=null===(n=null===(t=this._document)||void 0===t?void 0:t.querySelector("#canonical-url"))||void 0===n?void 0:n.getAttribute("href"))||void 0===r?void 0:r.trim())||"",l=(null===(o=null===(i=this._meta.getTag('name="description"'))||void 0===i?void 0:i.content)||void 0===o?void 0:o.trim())||"",c=(null===(a=this._title.getTitle())||void 0===a?void 0:a.trim())||"",u=s.replace(/^https?:\/\/[^/]+/i,""),d=!(!s||!l||!c||s!==this.url&&u!==this.path);return d&&(this._prerenderedBlogMetaPath=this.path),d}},{key:"_humanizeCategorySlug",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(e||"").split("-").filter(function(e){return!!e}).map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" ")}},{key:"_buildDynamicBlogPaginationMeta",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!e||!this.path)return null;var t=this.path.match(/^\/blogs\/pages\/(\d+)$/);if(t){var n=Number(t[1]);return{title:"Money Saving Ideas Blog - Page ".concat(n," | BILLSHARK"),description:"".concat((e["/blogs"]||{}).description||"Need more tips for saving money? Our blog will show you how to lower your bills and save money in other areas of your budget. Start saving more today."," - Page ").concat(n),canonical_url:"https://www.billshark.com/blogs",tags:{robots:"noindex"}}}var r=this.path.match(/^\/blogs\/categories\/([^/]+)\/pages\/(\d+)$/);if(r){var i=r[1],o=Number(r[2]),a=e["/blogs/categories/".concat(i,"/all")]||{},s=this._humanizeCategorySlug(i),l=a.description||"Need more tips for saving money? Our blog are organized in categories making your search easier. Start saving more today. - ".concat(s);return{title:"".concat((a.title||"Money Saving Ideas Blog - ".concat(s," | BILLSHARK")).replace(/\s+\|\s*BILLSHARK$/i,"")," - Page ").concat(o," | BILLSHARK"),description:"".concat(l," - Page ").concat(o),canonical_url:"https://www.billshark.com/blogs/categories/".concat(i,"/all"),tags:{robots:"noindex"}}}return null}},{key:"_getInlineSeed",value:function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!r)return null;if(this._inlineSeedCache.has(r))return this._inlineSeedCache.get(r);var i=(null===(n=null===(t=null===(e=this._document)||void 0===e?void 0:e.getElementById(r))||void 0===t?void 0:t.textContent)||void 0===n?void 0:n.trim())||"";if(!i)return this._inlineSeedCache.set(r,null),null;try{var o=JSON.parse(i);return this._inlineSeedCache.set(r,o),o}catch(o){return this._inlineSeedCache.set(r,null),null}}},{key:"_getPrerenderedCurrentPageSeo",value:function(e){var t,n,r,i,o,a,s,l,c,u;if(e!==this.seoList.default||"/"!==this.path)return null;var d=(null===(t=this._title.getTitle())||void 0===t?void 0:t.trim())||"",h=(null===(r=null===(n=this._meta.getTag('name="description"'))||void 0===n?void 0:n.content)||void 0===r?void 0:r.trim())||"",m=(null===(a=null===(o=null===(i=this._document)||void 0===i?void 0:i.querySelector("#canonical-url"))||void 0===o?void 0:o.getAttribute("href"))||void 0===a?void 0:a.trim())||"",p=(null===(l=null===(s=this._meta.getTag('property="og:image"'))||void 0===s?void 0:s.content)||void 0===l?void 0:l.trim())||(null===(u=null===(c=this._meta.getTag('name="image"'))||void 0===c?void 0:c.content)||void 0===u?void 0:u.trim())||"",f=m.replace(/^https?:\/\/[^/]+/i,"")||"/";return d&&h&&m&&(m===this.url||f===this.path)?{title:d,description:h,canonical_url:m,image:p}:null}},{key:"_refreshMeta",value:function(){var e,t,n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!r){var i=Object.keys(this.seoList).filter(function(e){return"default"!==e&&n.path.startsWith(e)});r=i.length?this.seoList[i[0]]:this.seoList.default}if(r.data){var o=r.data[this.path];o||(o=this._buildDynamicBlogPaginationMeta(r.data)),o||(o=r.data["/not-found"]),!o&&this.seoList.default.data&&(o=this.seoList.default.data["/not-found"]),!o&&this.path.startsWith("/blogs/")&&-1===this.path.replace("/blogs/","").indexOf("/")&&(o=this.seoList["/blog"].data["/blogs/not-found"]),o?this._refreshMetaData(o):this._loadSEO(this.seoList.default)}else{if(this._shouldReusePrerenderedBlogMeta(r))return void(this.canonical_url=(null===(t=null===(e=this._document)||void 0===e?void 0:e.querySelector("#canonical-url"))||void 0===t?void 0:t.getAttribute("href"))||this.url);this._loadSEO(r)}}},{key:"_refreshMetaData",value:function(e){var t=this,n=e.canonical_url;if("_self"===n&&(n=this.url,e.query_params)){var r=Object.keys(this.queryParams).filter(function(t){return e.query_params.includes(t)});r.length&&(n+="?"+r.map(function(e){return e+"="+t.queryParams[e]}).join("&"))}this.canonical_url=n,this._title.setTitle(e.title),this._meta.updateTag({name:"description",content:e.description}
1),e.tags&&Object.keys(e.tags).forEach(function(n){t._meta.updateTag({name:n,content:e.tags[n]})});var i=this._document.querySelector("#canonical-url");i&&(n?i.setAttribute("href",n):i.removeAttribute("href")),this._refreshOpenGraphTags(e)}},{key:"_refreshOpenGraphTags",value:function(e){var t=e.image||(this.path.startsWith("/blogs/")&&-1===this.path.replace("/blogs/","").indexOf("/")?"https://cdn.billshark.com/www3.0/static/image/blogs/jpg/medium"+this.path.substring(5)+".jpg":"https://cdn.billshark.com/www3.0/static/video/billshark_brand_video_poster.jpg");this._meta.updateTag({property:"og:type",content:e.og_type||("/"===this.path?"website":"article")}),this._meta.updateTag({property:"og:url",content:this.canonical_url}),this._meta.updateTag({property:"og:title",content:e.title}),this._meta.updateTag({property:"og:description",content:e.description}),this._meta.updateTag({name:"image",property:"og:image",content:t}),this._meta.updateTag({property:"og:image:secure_url",content:t}),this._meta.updateTag({name:"twitter:url",content:this.canonical_url}),this._meta.updateTag({name:"twitter:title",content:e.title}),this._meta.updateTag({name:"twitter:description",content:e.description}),this._meta.updateTag({name:"twitter:image",content:t})}},{key:"_initSegment",value:function(){}},{key:"isHamburgerMenu",value:function(){var e="undefined"!=typeof window?window.innerWidth:0,t=["/dashboard/summary","/dashboard/help"].includes(this.path);return this._httpService.isUserLogged()&&t?e<992:!(e>768&&this._httpService.isUserLogged()&&t)}},{key:"isDashboardMockLayout",value:function(){return["/dashboard/summary","/dashboard/help"].includes(this.path)}},{key:"ensureImagePreload",value:function(e,t){var n,r;if(e&&t&&this._document){var i=this._document.head||(null===(r=(n=this._document).querySelector)||void 0===r?void 0:r.call(n,"head"));if(i){var o=i.querySelector('link[data-bs-preload="'.concat(e,'"]'));if(o)o.getAttribute("href")!==t&&o.setAttribute("href",t);else{var a=this._document.createElement("link");a.setAttribute("rel","preload"),a.setAttribute("as","image"),a.setAttribute("href",t),a.setAttribute("data-bs-preload",e),t.endsWith(".webp")&&a.setAttribute("type","image/webp"),i.appendChild(a)}}}}}])}();return e.HOME_MENU_SEED_ID="bs-home-menu-seed",e.\u0275fac=function(t){return new(t||e)(a.\u0275\u0275inject(s.O),a.\u0275\u0275inject(c.F0),a.\u0275\u0275inject(r.lw),a.\u0275\u0275inject(d.Title),a.\u0275\u0275inject(d.Meta),a.\u0275\u0275inject(r.K0))},e.\u0275prov=a.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},45787:function(e,t,n){"use strict";n.d(t,{F:function(){return g}});var r,i=n(74788),o=n(92599),a=n(12057),s=n(91211),c=n(12006),d=n(84913),h=n(55198),m=n(95825),p=n(31440),f=n(66204),g=((r=l(function e(t,n,r,i,o,a,s,l,c,d,h){u(this,e),this._router=t,this._activatedRoute=n,this._location=r,this._sanitizer=i,this._seoService=o,this._httpService=a,this._storageService=s,this._cartService=l,this._utilService=c,this._passwordCrypto=d,this._ngZone=h})).\u0275fac=function(e){return new(e||r)(i.\u0275\u0275inject(o.F0),i.\u0275\u0275inject(o.gz),i.\u0275\u0275inject(a.Ye),i.\u0275\u0275inject(s.DomSanitizer),i.\u0275\u0275inject(c.v),i.\u0275\u0275inject(d.O),i.\u0275\u0275inject(h.V),i.\u0275\u0275inject(m.N),i.\u0275\u0275inject(p.f),i.\u0275\u0275inject(f.o),i.\u0275\u0275inject(i.NgZone))},r.\u0275prov=i.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r)},55198:function(e,t,n){"use strict";n.d(t,{V:function(){return m}});var r=n(45094),o=n(97245),a=n(97268),s=n(74788),c=n(84913),d=n(12006),h=l(function e(){u(this,e),this.behaviorSubject=new r.X({loading:!1,data:null,page:0,total_pages:1}),this.observable=this.behaviorSubject.asObservable()}),m=function(){var e=function(){function e(t,n){var r=this;u(this,e),this._httpService=t,this._seoService=n,this.nomCategories={},this.featuredPost=[],this.customer={},this.referrals={},this.current_copy_right="2023",this.executed_current_copy_right=!0,this.homeProviderSeedPayload=void 0,this.categoriesRoute=[{name:"Acorns",route:"/blogs/categories/acorns"},{name:"Cable",route:"/blogs/categories/cable"},{name:"Cell Phone Bills",route:"/blogs/categories/cell-phone-bills"},{name:"College Tuition",route:"/blogs/categories/college-tuition"},{name:"Company News",route:"/blogs/categories/company-news"},{name:"Credit",route:"/blogs/categories/credit"},{name:"Customer Service",route:"/blogs/categories/customer-service"},{name:"Debt",route:"/blogs/categories/debt"},{name:"Entertainment",route:"/blogs/categories/entertainment"}
1,{name:"Financial Advice",route:"/blogs/categories/financial-advice"},{name:"Financial Security",route:"/blogs/categories/financial-security"},{name:"Home Budgeting & Finance",route:"/blogs/categories/home-budgeting-finance"},{name:"Insurance",route:"/blogs/categories/insurance"},{name:"Internet",route:"/blogs/categories/internet"},{name:"Internet Speed Test",route:"/blogs/categories/internet-speed-test"},{name:"Investing",route:"/blogs/categories/investing"},{name:"Lifestyle",route:"/blogs/categories/lifestyle"},{name:"Loans",route:"/blogs/categories/loans"},{name:"Mobile",route:"/blogs/categories/mobile"},{name:"Mobile Apps",route:"/blogs/categories/mobile-apps"},{name:"NerdWallet",route:"/blogs/categories/nerdwallet"},{name:"News",route:"/blogs/categories/news"},{name:"Politics",route:"/blogs/categories/politics"},{name:"Press",route:"/blogs/categories/press"},{name:"Real Estate",route:"/blogs/categories/real-estate"},{name:"Retirement",route:"/blogs/categories/retirement"},{name:"Savings Tips",route:"/blogs/categories/savings-tips"},{name:"Shark Tank",route:"/blogs/categories/shark-tank"},{name:"Sharks",route:"/blogs/categories/sharks"},{name:"Shopping",route:"/blogs/categories/shopping"},{name:"Social Media",route:"/blogs/categories/social-media"},{name:"Subscription Services",route:"/blogs/categories/subscription-services"},{name:"Taxes",route:"/blogs/categories/taxes"},{name:"Technology",route:"/blogs/categories/technology"},{name:"Television",route:"/blogs/categories/television"},{name:"Travel Tips",route:"/blogs/categories/travel-tips"},{name:"Wedding",route:"/blogs/categories/wedding"},{name:"Wireless",route:"/blogs/categories/wireless"}],this.categoryRoutesOrganizedAlpha=[{label:"A",categories:[{name:"Acorns",route:"/blogs/categories/acorns/all"}]},{label:"C",categories:[{name:"Cable",route:"/blogs/categories/cable/all"},{name:"Cell Phone Bills",route:"/blogs/categories/cell-phone-bills/all"},{name:"College Tuition",route:"/blogs/categories/college-tuition/all"},{name:"Company News",route:"/blogs/categories/company-news/all"},{name:"Credit",route:"/blogs/categories/credit/all"},{name:"Customer Service",route:"/blogs/categories/customer-service/all"}]},{label:"D",categories:[{name:"Debt",route:"/blogs/categories/debt/all"}]},{label:"E",categories:[{name:"Entertainment",route:"/blogs/categories/entertainment/all"}]},{label:"F",categories:[{name:"Financial Advice",route:"/blogs/categories/financial-advice/all"},{name:"Financial Security",route:"/blogs/categories/financial-security/all"}]},{label:"H",categories:[{name:"Home Budgeting & Finance",route:"/blogs/categories/home-budgeting-finance/all"}]},{label:"I",categories:[{name:"Insurance",route:"/blogs/categories/insurance/all"},{name:"Internet",route:"/blogs/categories/internet/all"},{name:"Internet Speed Test",route:"/blogs/categories/internet-speed-test/all"},{name:"Investing",route:"/blogs/categories/investing/all"}]},{label:"L",categories:[{name:"Lifestyle",route:"/blogs/categories/lifestyle/all"},{name:"Loans",route:"/blogs/categories/loans/all"}]},{label:"M",categories:[{name:"Mobile",route:"/blogs/categories/mobile/all"},{name:"Mobile Apps",route:"/blogs/categories/mobile-apps/all"}]},{label:"N",categories:[{name:"NerdWallet",route:"/blogs/categories/nerdwallet/all"},{name:"News",route:"/blogs/categories/news/all"}]},{label:"P",categories:[{name:"Politics",route:"/blogs/categories/politics/all"},{name:"Press",route:"/blogs/categories/press/all"}]},{label:"R",categories:[{name:"Real Estate",route:"/blogs/categories/real-estate/all"},{name:"Retirement",route:"/blogs/categories/retirement/all"}]},{label:"S",categories:[{name:"Savings Tips",route:"/blogs/categories/savings-tips/all"},{name:"Shark Tank",route:"/blogs/categories/shark-tank/all"},{name:"Sharks",route:"/blogs/categories/sharks/all"},{name:"Shopping",route:"/blogs/categories/shopping/all"},{name:"Social Media",route:"/blogs/categories/social-media/all"},{name:"Subscription Services",route:"/blogs/categories/subscription-services/all"}]},{label:"T",categories:[{name:"Taxes",route:"/blogs/categories/taxes/all"},{name:"Technology",route:"/blogs/categories/technology/all"},{name:"Television",route:"/blogs/categories/television/all"},{name:"Travel Tips",route:"/blogs/categories/travel-tips/all"}]},{label:"U",categories:[{name:"Uncategorized",route:"/blogs/categories/uncategorized/all"}]},{label:"W",categories:[{name:"Wedding",route:"/blogs/categories/wedding/all"},{name:"Wireless",route:"/blogs/categories/wireless/all"}]}
1],Object.values(o.$M).forEach(function(e){r.nomCategories[e]=new h}),this.nomFaq=new h,this.nomActivityFeed=new h,this.nomMarketPlaceOffers=new h,this.nomReviews=new h,this.nomRewards=new h,this.nomTickets=new h,this.nomReferrals=new h,this.blueRush=new h}return l(e,[{key:"getNomCategories",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.$M.NEGOTIATION,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.nomCategories[t],i=r.behaviorSubject,a=null==i?void 0:i.getValue(),s=!n&&this._nomCategoriesValueNeedsFullData(a,t);if(!(null==a?void 0:a.loading)&&(!(null==a?void 0:a.data)||n||s)){var l=n?null:this._getSeededNomCategoriesResponse(t);if(l)return this._hydrateNomCategoriesValue(a,l,t),a.loading=!1,i.next(a),r.observable;var c=o.bl.API_ENDPOINTS.PROVIDERS,u=o.I5.GET,d={service_request_type:t};(this._seoService.queryParams.partner_pt||this._seoService.queryParams.pt)&&(d.partner_pt=this._seoService.queryParams.partner_pt||this._seoService.queryParams.pt),a.loading=!0,i.next(a),this._httpService.httpRequest(c,u,d,null).then(function(n){var r=JSON.parse(JSON.stringify(n));e._hydrateNomCategoriesValue(a,r,t)}).catch(function(){}).finally(function(){a.loading=!1,i.next(a)})}return r.observable}},{key:"hasSeededNomCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.$M.NEGOTIATION;return!!this._getSeededNomCategoriesResponse(e)}},{key:"_getSeededNomCategoriesResponse",value:function(t){var n,r,i,o;if(!this._canUseHomeProviderSeed(t)||null===this.homeProviderSeedPayload)return null;if(void 0!==this.homeProviderSeedPayload)return(null===(n=this.homeProviderSeedPayload)||void 0===n?void 0:n.response)?Object.assign(Object.assign({},this.homeProviderSeedPayload.response),{_seed_mode:this.homeProviderSeedPayload.seed_mode||null}):null;if("undefined"==typeof document)return this.homeProviderSeedPayload=null,null;var a=document.getElementById(e.HOME_PROVIDER_SEED_ID),s=null===(r=null==a?void 0:a.textContent)||void 0===r?void 0:r.trim();if(!s)return this.homeProviderSeedPayload=null,null;try{var l=JSON.parse(s),c=(null==l?void 0:l.bill_type)===t&&!(null==l?void 0:l.partner_pt)&&Array.isArray(null===(i=null==l?void 0:l.response)||void 0===i?void 0:i.billers);this.homeProviderSeedPayload=c?l:null}catch(l){this.homeProviderSeedPayload=null}return(null===(o=this.homeProviderSeedPayload)||void 0===o?void 0:o.response)?Object.assign(Object.assign({},this.homeProviderSeedPayload.response),{_seed_mode:this.homeProviderSeedPayload.seed_mode||null}):null}},{key:"_canUseHomeProviderSeed",value:function(e){return e===o.$M.NEGOTIATION&&this._isHomePath()&&!this._seoService.queryParams.partner_pt&&!this._seoService.queryParams.pt}},{key:"_isHomePath",value:function(){var e;return"undefined"!=typeof window&&"/"===(null===(e=window.location)||void 0===e?void 0:e.pathname)}},{key:"_nomCategoriesValueNeedsFullData",value:function(e,t){return t===o.$M.NEGOTIATION&&!this._isHomePath()&&this._hasMinimalHomeSeedProviders(null==e?void 0:e.data)}},{key:"_hasMinimalHomeSeedProviders",value:function(e){if(!Array.isArray(e)||!e.length)return!1;for(var t=i(e);t.length;){var n=t.shift();if(Array.isArray(null==n?void 0:n.providers)&&n.providers.some(function(e){return null==e?void 0:e.home_seed_minimal}))return!0;Array.isArray(null==n?void 0:n.sub_categories)&&t.push.apply(t,i(n.sub_categories))}return!1}},{key:"_getBillTypeFields",value:function(e){var t=[];switch(e){case o.$M.SWITCH:break;case o.$M.NEGOTIATION:t.push({name:"special_instructions",bill:!1,no_bill:!1})}return t}},{key:"_hydrateNomCategoriesValue",value:function(t,n,r){var i,s=this,l=this._getBillTypeFields(r),c={},u=(null==n?void 0:n._seed_mode)===e.HOME_PROVIDER_SEED_MODE_MINIMAL;n.providers=(n.billers||[]).map(function(e){return e.provider_id=e.id,e.provider_name=e.name,e.security=e.security||{},e.categories=Array.isArray(e.categories)?e.categories:[],e.home_seed_minimal=u,e.fields=(e.fields||[]).map(function(e){return{name:o.Jd[e.name]?o.Jd[e.name]:e.name,no_bill:!!e.required_not_attachment&&!e.name.includes("address.street_2"),required:!!e.required_not_attachment&&!e.name.includes("address.street_2"),bill:e.required_attachment&&!e.name.includes("address.street_2")}}
1),u||e.categories.forEach(function(t){c[t]?c[t].providers.push(e.provider_id):c[t]={category_id:t,category_label:t,category_name:t,providers:[e.provider_id]}}),e}),n.categories=u?[{category_id:r,category_label:r,category_name:r,providers:n.providers.map(function(e){return e.provider_id})}]:Object.keys(c).map(function(e){return c[e]});var d={};n.providers.forEach(function(e){e.fields=e.fields||[];var t=e.fields.concat(l).filter(function(e){return e.name}).map(function(e){return Object.assign({},o._f[e.name],e)}),n=[];t.filter(function(e){return"address"===e.type}).forEach(function(e){var r=t.findIndex(function(t){return t.name===e.name+"_2"});if(-1!==r){var i=t.splice(r,1);t.splice(t.findIndex(function(t){return t.name===e.name})+1,0,i[0])}n=n.concat(t.filter(function(t){return t.name.startsWith(e.name.slice(0,-7))&&t.name!==e.name&&t.name!==e.name+"_2"}).map(function(e){return e.name}))}),e.fields=t.filter(function(e){return!n.includes(e.name)}),d[e.provider_id]=e}),t.data=null===(i=n.categories)||void 0===i?void 0:i.map(function(e){return s._loadProviders(d,e),(new a.N).deserialize(e)})}},{key:"_getLowersArticle",value:function(e){var t=(e||"").trim().toLowerCase();return t&&(["adt","att","rcn","xfinity"].includes(t)||/^[aeiou]/.test(t))?"an":"a"}},{key:"_applyLowersTemplate",value:function(e,t){if("string"!=typeof e)return"";var n=this._getLowersArticle(t);return e.replace(/{{\s*provider\s*}}/gi,t||"").replace(/{{\s*article\s*}}/gi,n)}},{key:"_buildLowersItemsFromTemplate",value:function(e,t){var n=this;return Array.isArray(e)?e.map(function(e){return{question:n._applyLowersTemplate(null==e?void 0:e.question,t),answer:n._applyLowersTemplate(null==e?void 0:e.answer,t)}}):[]}},{key:"_loadProviders",value:function(e,t){var n=this;t.providers&&(t.providers=t.providers.map(function(t){return e[t]}).filter(Boolean)),t.sub_categories&&t.sub_categories.forEach(function(t){n._loadProviders(e,t)})}},{key:"getNomFaq",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nomFaq,n=t.behaviorSubject,r=null==n?void 0:n.getValue();if(!(null==r?void 0:r.loading)&&(!(null==r?void 0:r.data)||e)){var i=o.bl.API_ENDPOINTS.FAQ,a=o.I5.GET,s={operation_type:"negotiation"};r.loading=!0,n.next(r),this._httpService.httpRequest(i,a,s,null,!0,o.bW.FRONT_FACING).then(function(e){var t=JSON.parse(JSON.stringify(e)),n={articles:[],categories:["Negotiation"]};t.folders.forEach(function(e){e.articles.forEach(function(e){e.tags=e.tags?e.tags.filter(function(e){return"Insurance"!==e&&"Cancellation"!==e}):[],n.articles.push(e)})}),r.data=n}).catch(function(){r.data={articles:[],categories:["Cancellation","Negotiation"]}}).finally(function(){r.loading=!1,n.next(r)})}return t.observable}},{key:"getNomReferrals",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this.nomReferrals,r=n.behaviorSubject,i=null==r?void 0:r.getValue();if(!(null==i?void 0:i.loading)&&(!(null==i?void 0:i.data)||e)){var a=o.bl.API_ENDPOINTS.REDEEM_REWARDS,s=o.I5.GET;i.loading=!0,r.next(i),this._httpService.httpRequest(a,s,t,null,null).then(function(e){var t=JSON.parse(JSON.stringify(e));i.data=t}).catch(function(){i.loading=!1}).finally(function(){i.loading=!1,r.next(i)})}return n.observable}},{key:"getNomReviews",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nomReviews,n=t.behaviorSubject,r=null==n?void 0:n.getValue();return(null==r?void 0:r.data)&&(r.data.forEach(function(e){e.author.includes("Tamara Coleman")}),r.data=null),!(null==r?void 0:r.loading)&&(!(null==r?void 0:r.data)||e)&&(r.loading=!0,n.next(r),this._httpService.jsonRequest("assets/json/review.json").subscribe(function(e){r.data=JSON.parse(JSON.stringify(e)),r.loading=!1,n.next(r)},function(){r.data=[],r.loading=!1,n.next(r)})),t.observable}},{key:"getNomLowers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=this.nomRewards,o=i.behaviorSubject,a=null==o?void 0:o.getValue();return!(null==a?void 0:a.loading)&&(!(null==a?void 0:a.data)||t||(null==a?void 0:a.lowersPage)!==r)&&(a.loading=!0,a.lowersPage=r,o.next(a),n||this._httpService.jsonRequest("assets/json/lowers.json").subscribe(function(t){var n=JSON.parse(JSON.stringify(t));a.data=Array.isArray(n)?(n.find(function(e){return e.page===r})||{}).items||[]:e._buildLowersItemsFromTemplate((null==n?void 0:n.template)||[],r),a.loading=!1,o.next(a)},function(e){})),i.observable}},{key:"getNomRewards",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.nomRewards,r=n.behaviorSubject,i=null==r?void 0:r.getValue();return!(null==i?void 0:i.loading)&&(!(null==i?void 0:i.data)||e)&&(i.loading=!0,r.next(i),t||this._httpService.jsonRequest("assets/json/rewards.json").subscribe(function(e){i.data=JSON.parse(JSON.stringify(e)),i.loading=!1,r.next(i)},function(e){})),n.observable}},{key:"getNomTickets",value:function(){var e=this.nomTickets,t=e.behaviorSubject,n=null==t?void 0:t.getValue(),r=o.bl.API_ENDPOINTS.TICKETS,i=o.I5.GET;return n.loading=!0,t.next(n),this._httpService.httpRequest(r,i,null,null).then(function(e){var t=JSON.parse(JSON.stringify(e));n.data=t.tickets}).catch(function(){n.loading=!1}).finally(function(){n.loading=!1,t.next(n)}),e.observable}},{key:"getNomActivityFeed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nomActivityFeed,n=t.behaviorSubject,r=null==n?void 0:n.getValue();if(!(null==r?void 0:r.loading)&&(!(null==r?void 0:r.data)||e)){var i=o.bl.API_ENDPOINTS.ACTIVITY_FEED,a=o.I5.GET;r.loading=!0,n.next(r),this._httpService.httpRequest(i,a,{page:r.page+1},null).then(function(e){var t=e?JSON.parse(JSON.stringify(e)):null;
1!t||!t.activities||(t.activities.forEach(function(e){e.url&&(e.slug=e.url.split("/").filter(function(e){return e.length}).pop())}),r.data=r.data?r.data.concat(t.activities):t.activities,r.total_pages=t.pages,r.page++)}).catch(function(){r.loading=!1}).finally(function(){r.loading=!1,n.next(r)})}return t.observable}},{key:"getNomMarketPlaceOffers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nomMarketPlaceOffers,n=t.behaviorSubject,r=null==n?void 0:n.getValue();if(!(null==r?void 0:r.loading)&&(!(null==r?void 0:r.data)||e)){var i=o.bl.API_ENDPOINTS.MARKETPLACE,a=o.I5.GET;r.loading=!0,n.next(r),this._httpService.httpRequest(i,a,{page:r.page+1},null).then(function(e){var t=JSON.parse(JSON.stringify(e));r.data=r.data?r.data.concat(t.offers):t.offers,r.total_pages=t.pages,r.page++}).catch(function(){r.loading=!1,n.next(r)}).finally(function(){r.loading=!1,n.next(r)})}return t.observable}}])}();return e.HOME_PROVIDER_SEED_ID="bs-home-provider-seed",e.HOME_PROVIDER_SEED_MODE_MINIMAL="minimal-home-providers-v1",e.\u0275fac=function(t){return new(t||e)(s.\u0275\u0275inject(c.O),s.\u0275\u0275inject(d.v))},e.\u0275prov=s.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},31440:function(e,n,r){"use strict";r.d(n,{f:function(){return v}});var i=r(74788),o=r(50270),a=r(97245),s=r(12057),c={type:"success",msg:"bg-success text-light",btn:"text-light"},d={type:"error",msg:"bg-danger text-light",btn:"text-light"},h={type:"warning",msg:"bg-warning text-light",btn:"text-light"},m={type:"warning",msg:"bg-info text-light",btn:"text-light"},p={type:"primary",msg:"bg-primary text-light",btn:"text-light"},f={type:"secondary",msg:"bg-secondary text-light",btn:"text-light"},g={type:"api",msg:"bg-blue-50"},v=function(){function e(t,n){u(this,e),this._document=t,this._platformId=n,this.toasts=[],this.sign_up=!1,this.sign_in=!1,this.growsurf_loading=!1,this.addBillModalOpen=!1,this.dashboardMenuLoading=!1,this.chash="",this.id="",this.selfAuth=0,this.change_modal_title=!1,this.faqListLoaded=!1,this.isPlatformServer=(0,s.PM)(this._platformId),this.isPlatformServer&&(a.L6.WINDOW_LOADED=!0)}return l(e,[{key:"controlPlayPauseCarousel",value:function(e){$("#"+e).carousel($("#"+e).data("pause")?"cycle":"pause"),$("#"+e).data("pause",!$("#"+e).data("pause"))}},{key:"sanitizeRecord",value:function(e){var t=this;return Object.keys(e||{}).forEach(function(n){[null,void 0,""].includes(e[n])?delete e[n]:"object"==typeof e[n]&&t.sanitizeRecord(e[n])}),e}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_self";window.open(e,t)}},{key:"isMobileScreen",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.TABLET_BREAKPOINT,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.isMobileScreen(t,n)}},{key:"generateUUID",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";return e+(new Date).getTime().toString(16)+[].constructor(5).fill().map(function(){return t[Math.floor(Math.random()*t.length)]}).join("")}},{key:"copyToClipboard",value:function(e){var t=this._document.createElement("textarea");t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",this._document.body.appendChild(t),t.focus(),t.value=e,t.select(),this._document.execCommand("copy")}},{key:"unMaskField",value:function(e,t,n,r){return t&&(e=e.replace(t,n)),r&&(e=r(e)),e}},{key:"validateForm",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e.valid)return!0;var i=!0;return Object.keys(e.controls).forEach(function(a){var s,l,c,u,d,h,m;e.controls[a]&&(e.controls[a]instanceof o.FormControl?((null===(s=e.controls[a])||void 0===s?void 0:s.value)&&((null===(l=e.controls[a])||void 0===l?void 0:l.value)instanceof String||"string"==typeof(null===(c=e.controls[a])||void 0===c?void 0:c.value))&&e.controls[a].setValue(null===(u=e.controls[a])||void 0===u?void 0:u.value.trim()),r&&e.controls[a].skippable_validation?null===(d=e.controls[a])||void 0===d||d.markAsUntouched({onlySelf:!0}):(null===(h=e.controls[a])||void 0===h||h.markAsTouched({onlySelf:!0}),(null===(m=e.controls[a])||void 0===m?void 0:m.valid)||(i=!1))):(e.controls[a]instanceof o.FormArray||e.controls[a]instanceof o.FormGroup)&&t.validateForm(e.controls[a],n)||(i=!1))}
1),n||this.focusFirstControl(Object.values(e.controls)),i}},{key:"validateControls",value:function(e){var n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=!0,a=t(e);try{for(a.s();!(n=a.n()).done;){var s=n.value;s&&(s.markAsTouched(!0),s.valid||(o=!1))}}catch(l){a.e(l)}finally{a.f()}return r||this.focusFirstControl(Object.values(e),i),o}},{key:"focusFirstControl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.filter(function(e){return!e.valid&&e.nativeElement});if(n.length){var r=n.reduce(this._firstHtmlElement);r&&r.nativeElement.focus(),!t&&"undefined"!=typeof $&&setTimeout(function(){n.forEach(function(e){var t=e.bsTooltipError,n=t&&(t.offsetWidth||t.offsetHeight||t.getClientRects&&t.getClientRects().length),r=$(t);n&&r&&"function"==typeof r.tooltip&&r.tooltip("show")})})}}},{key:"createHtmlElement",value:function(e){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.firstChild}},{key:"wrap",value:function(e,t){e.parentNode.insertBefore(t,e),t.appendChild(e)}},{key:"_firstHtmlElement",value:function(e,t){if("undefined"!=typeof $){var n=$(e.nativeElement).offset(),r=$(t.nativeElement).offset();return n.top<r.top?e:r.top<n.top?t:n.left<r.left?e:r.left<n.left?t:e}}},{key:"scrollToTop",value:function(e){e.scrollTop=0}},{key:"scrollToBottom",value:function(e){e&&null!==e.scrollHeight&&(e.scrollTop=e.scrollHeight)}},{key:"_scrollToElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}},{key:"dismissAllSidebars",value:function(){Object.keys(a.lw).forEach(function(e){return a.lw[e]=!1}),this._document.querySelector("body").style.overflow=""}},{key:"loadScript",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=[];return n.push(this._loadScript(e,t)),Promise.all(n)}},{key:"ensureScriptLoaded",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t.loaded)return Promise.resolve();var r=t.id||t.src||t.code,i=r?e.pendingScriptLoads.get(r):null;if(i)return i;var o=this.loadScript(t,n).then(function(){});return r&&(e.pendingScriptLoads.set(r,o),o.finally(function(){e.pendingScriptLoads.delete(r)})),o}},{key:"ensureScriptsLoaded",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Promise.all((e||[]).map(function(e){return t.ensureScriptLoaded(e,n)})).then(function(){})}},{key:"ensureVendor",value:function(){var t=this;if(this.isPlatformServer)return Promise.resolve();if(e.vendorReady)return e.vendorReady;var n=window;return n.$&&n.$.fn&&n.$.fn.modal&&n.$.fn.collapse&&n.$.fn.dropdown?(e.vendorReady=Prom
1ise.resolve(),e.vendorReady):(e.vendorReady=this.ensureScriptLoaded(a.p_.JQUERY).then(function(){return t.ensureScriptLoaded(a.p_.POPPER)}).then(function(){return t.ensureScriptLoaded(a.p_.BOOTSTRAP_UTIL)}).then(function(){return Promise.all([t.ensureScriptLoaded(a.p_.BOOTSTRAP_COLLAPSE),t.ensureScriptLoaded(a.p_.BOOTSTRAP_DROPDOWN),t.ensureScriptLoaded(a.p_.BOOTSTRAP_MODAL)])}).then(function(){}).catch(function(){}).then(function(){return e.flushVendorWaiters()}),e.vendorReady)}},{key:"whenVendorReady",value:function(){if(this.isPlatformServer)return Promise.resolve();if(e.vendorReady)return e.vendorReady;var t=window;return t.$&&t.$.fn&&t.$.fn.modal&&t.$.fn.collapse&&t.$.fn.dropdown?Promise.resolve():new Promise(function(t){return e.vendorReadyWaiters.push(t)})}},{key:"_loadScript",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new Promise(function(r,i){if(e.loaded&&e.src!==a.p_.BIRD_EYE.src)r(null);else{var o=t._document.createElement("script");if(o.type="text/javascript",e.src&&(o.src=e.src),e.data&&Object.keys(e.data).forEach(function(t){return o.setAttribute(t,e.data[t])}),1==e.async&&(o.async=e.async),1==e.defer&&(o.defer=e.defer),e.id&&(o.id="auto-generate"===e.id?t.generateUUID():e.id),e.code&&(o.innerHTML=e.code),o.readyState?o.onreadystatechange=function(){("loaded"===o.readyState||"complete"===o.readyState)&&(o.onreadystatechange=null,o.setAttribute("data-billshark-loaded","true"),e.loaded=!0,r(null))}:o.onload=function(){o.setAttribute("data-billshark-loaded","true"),e.loaded=!0,r(null)},o.onerror=function(e){return r(null)},n?document.getElementById(n)&&(document.getElementById(n).innerHTML="",document.getElementById(n).appendChild(o)):t._document.getElementsByTagName("head")[0].appendChild(o),e.src===a.p_.GROWSURF.src&&void 0!==window.growsurf)var s=setInterval(function(){window.growsurf.getParticipantId&&(r(null),clearInterval(s))},500)}})}},{key:"initGoogleSignIn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(function(t,n){if(!e&&window.google&&window.google.accounts)t(!0);else{var r=document.createElement("script");r.type="text/javascript",r.src="https://accounts.google.com/gsi/client",r.async=!0,r.defer=!0,r.onload=function(){window.google&&window.google.accounts?t(!0):n(new Error("Google Identity Services failed to load."))},r.onerror=function(){n(new Error("Failed to load Google Identity Services script."))},document.head.appendChild(r)}})}},{key:"showCustomNotification",value:function(e,t,n,r){var i={type:e,title:t,msg:n,desc:r,created_time:Date.now()};return this.toasts.push(i),i}},{key:"showSuccessNotification",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.showCustomNotification(c,"Success",e,t)}},{key:"_isSessionExpiryMessage",value:function(e){return[a.X3.ERR_ACTION_DENIED,a.X3.ERR_TOKEN_EXPIRED,a.X3.ERR_SESSION_EXPIRED].includes(e)}},{key:"_shouldSuppressErrorNotification",value:function(e){return!(this.isPlatformServer||"undefined"==typeof window||!e||this._isSessionExpiryMessage(e))&&Number(window.__bsSuppressGenericErrorsUntil||0)>Date.now()}},{key:"showErrorNotification",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._shouldSuppressErrorNotification(e)?null:this.showCustomNotification(d,"Error",e,t)}},{key:"getHandledError",value:function(e){var t=e&&e.status,n=null!=t?a.kx[t]:null;return n?{message:n.message,treatment:n.treatment,scope:n.scope}:null}},{key:"showWarningNotification",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.showCustomNotification(h,"Warning",e,t)}},{key:"showInfoNotification",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.showCustomNotification(m,"Info",e,t)}},{key:"showPrimaryNotification",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.showCustomNotification(p,"Primary",e,t)}},{key:"showSecondaryNotification",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.showCustomNotification(f,"Secondary",e,t)}},{key:"showApiNotification",value:function(){if(!this.toasts.find(function(e){return"api"===e.type.type}))return this.showCustomNotification(g,"Api","Request is taking longer than expected. Please wait...")}},{key:"removeToast",value:function(e,t){var n=this;if(e){var r=Date.now()-e.created_time,i=Math.max(t-r,0);setTimeout(function(){var t=n.toasts.indexOf(e);-1!==t&&n.toasts.splice(t,1)},i)}}},{key:"clearToasts",value:function(){this.toasts=[]}},{key:"confirmed_page",value:function(e){this.sign_up=e}}],[{key:"afterWindowOnLoad",value:function(e){a.L6.WINDOW_LOADED||"undefined"!=typeof document&&"complete"===document.readyState?(a.L6.WINDOW_LOADED=!0,e()):window.addEventListener("load",function(){a.L6.WINDOW_LOADED=!0,e()},{once:!0})}},{key:"getViewportWidth",value:function(){return"undefined"!=typeof window&&window?window.innerWidth:0}},{key:"isMobileScreen",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.TABLET_BREAKPOINT,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!("undefined"==typeof window||!window)&&(n?window.innerWidth<=t:window.innerWidth<t)}},{key:"flushVendorWaiters",value:function(){e.vendorReadyWaiters.splice(0).forEac
1h(function(e){try{e()}catch(t){}})}}])}();v.pendingScriptLoads=new Map,v.vendorReady=null,v.vendorReadyWaiters=[],v.TABLET_BREAKPOINT=768,v.\u0275fac=function(e){return new(e||v)(i.\u0275\u0275inject(s.K0),i.\u0275\u0275inject(i.PLATFORM_ID))},v.\u0275prov=i.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac,providedIn:"root"})},79599:function(e,t,n){"use strict";n.d(t,{Sn:function(){return s},xc:function(){return c},T_:function(){return d},Y7:function(){return h}});var r=n(97245),i=n(50270),o=n(9346),a=n(45094),s=function(){function e(){u(this,e)}return l(e,null,[{key:"requiredAmount",value:function(){return function(e){var t=parseFloat(null==e?void 0:e.value);if(isNaN(t)||0===t)return{required:!0}}}},{key:"email",value:function(){return e.pattern(/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/,"email")}},{key:"zip",value:function(){return e.pattern(/^(\d{3,5}([-\s]?\d{4})?)|((?!.*[DFIOQU])[A-VXY][0-9][A-Z][ ]*[0-9][A-Z][0-9])$/,"zip")}},{key:"phone",value:function(){return e.pattern(/^\d{10}$/,"phone")}},{key:"ssn4",value:function(){return e.pattern(/^\d{4}$/,"ssn4")}},{key:"text",value:function(){return e.pattern(/^[a-zA-Z\s]*$/,"text")}},{key:"pin",value:function(t){return e.pattern(t?new RegExp(t):/^[A-Za-z0-9]+$/,"pin")}},{key:"instructions",value:function(){return e.pattern(/^[A-Za-z0-9\s\-\@\$\(\)\&\;\/\,\.\'\"\`\!\?\#\%\@\=\:]+$/,"special")}},{key:"promo_code",value:function(){return e.pattern(/^[a-zA-Z0-9._+-]+$/,"promo_code")}},{key:"date",value:function(){return e.pattern(/^(0?[1-9]|1[0-2])\/(0?[1-9]|1\d|2\d|3[01])\/(19|20|21)\d{2}$/,"date")}},{key:"dob",value:function(){return e.pattern(/^(0?[1-9]|1[0-2])\/(0?[1-9]|1\d|2\d|3[01])\/(19|20|21)\d{2}$/,"date",{dob:function(e){var t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())&&t.getTime()<=(new Date).getTime()}})}},{key:"address",value:function(){return e.pattern(e.address_regexpPattern,"address")}},{key:"isValidAddress",value:function(t){if(!t)return!1;var n=t.trim();if(!e.address_regexpPattern.test(n))return!1;var r=n.replace(/\s+/g," ").split(/\s*,\s*/).filter(Boolean),i=new RegExp("^".concat(e.countryPattern,"$"),"i"),o=new RegExp("\\b".concat(e.caProvincePattern,"\\b"),"gi"),a=new RegExp("\\b".concat(e.countryPattern,"\\b"),"gi"),s=r[r.length-1]||"",l=i.test(s),c=l?s:"",u=(r[l?r.length-2:r.length-1]||"").match(o);if(u&&u.length>1)return!1;var d=c.match(a);if(d&&d.length>1)return!1;var h=Math.max(0,r.length-(l?4:3)),m=r.slice(0,h),p=new RegExp("^".concat(e.addressLabelSegmentPattern,"$"),"i");if(m.length>2||m.some(function(e){return!p.test(e)||/\b(?:${BsValidators.usStatePattern}|${BsValidators.caProvincePattern}|${BsValidators.countryPattern})\b/i.test(e)}))return!1;for(var f=0;f<r.length-1;f++){var g=r[f].trim().toLowerCase(),v=r[f+1].trim().toLowerCase();if(g&&g===v)return!1}return!e.obviousPlaceholderStreetPattern.test(r[h]||"")}},{key:"couldBeUsOrCanadaAddress",value:function(t){var n=(t||"").trim();if(!n||!new RegExp("\\b(?:".concat(e.usStatePattern,"|").concat(e.caProvincePattern,")\\b"),"i").test(n))return!1;var r=n.split(/\s*,\s*/).filter(Boolean).pop()||"",i=new RegExp("^".concat(e.countryPattern,"$"),"i").test(r),o=/^[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff .'\u2019\-]{4,}$/.test(r),a=new RegExp("^(?:".concat(e.usStatePattern,"|").concat(e.caProvincePattern,")$"),"i").test(r);return!(o&&!i&&!a)}},{key:"parseAddressList",value:function(e){return(e||"").split(/\r?\n/).map(function(e){return e.trim()}).filter(function(e){return!!e})}},{key:"validateAddressList",value:function(t){var n=Array.from(new Set((t||[]).map(function(e){return(e||"").trim()}).filter(Boolean))),r=[],i=[];return n.forEach(function(t){e.isValidAddress(t)?r.push(t):i.push(t)}),{total:n.length,passed:r,failed:i}}},{key:"address_city",value:function(t){return function(n){var r,i,o;if(n.value&&e.address_regexpPattern.test(n.value)&&(null===(r=null==t?void 0:t.bill_info)||void 0===r?void 0:r.bill_service_address_street)&&!(null===(o=null===(i=null==t?void 0:t.bill_info)||void 0===i?void 0:i.bill_service_address_street)||void 0===o?void 0:o.address_city))return{address:!0}}}},{key:"address_state",value:function(t){return function(n){var r,i,o,a,s;if(n.value&&e.address_regexpPattern.test(n.value)&&(null===(r=null==t?void 0:t.bill_info)||void 0===r?void 0:r.bill_service_address_street)&&(null===(o=null===(i=null==t?void 0:t.bill_info)||void 0===i?void 0:i.bill_service_address_street)||void 0===o?void 0:o.address_city)&&!(null===(s=null===(a=null==t?void 0:t.bill_info)||void 0===a?void 0:a.bill_service_address_street)||void 0===s?void 0:s.address_state))return{address:!0}}}},{key:"password",value:function(){return function(e){if(e.value){var t=r.m1.password.validation.filter(function(t){return!t.regex.test(e.value)}).map(function(e){return e.key});if(t.length)return{password:t}}}}},{key:"radio",value:function(e){return function(t){if(e.invalid_values&&![null,void 0].includes(t.value)&&e.invali
1d_values[t.value])return{invalid:e.invalid_values[t.value]}}}},{key:"pattern",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(r){if(r.value){var i={};if(e&&!e.test(r.value)&&(i[t]=!0),!i[t]&&n)for(var o=0,a=Object.keys(n);o<a.length;o++){var s=a[o];if(!n[s](r.value)){i[s]=!0;break}}if(i)return i}}}}])}();s.usStatePattern="(?:AL|AK|AS|AZ|AR|CA|CO|CT|DE|DC|FM|FL|GA|GU|HI|ID|IL|IN|IA|KS|KY|LA|ME|MH|MD|MA|MI|MN|MS|MO|MT|NE|NV|NH|NJ|NM|NY|NC|ND|MP|OH|OK|OR|PW|PA|PR|RI|SC|SD|TN|TX|UT|VT|VI|VA|WA|WV|WI|WY|Alabama|Alaska|Arizona|Arkansas|California|Colorado|Connecticut|Delaware|District of Columbia|Florida|Georgia|Hawaii|Idaho|Illinois|Indiana|Iowa|Kansas|Kentucky|Louisiana|Maine|Maryland|Massachusetts|Michigan|Minnesota|Mississippi|Missouri|Montana|Nebraska|Nevada|New Hampshire|New Jersey|New Mexico|New York|North Carolina|North Dakota|Ohio|Oklahoma|Oregon|Pennsylvania|Puerto Rico|Rhode Island|South Carolina|South Dakota|Tennessee|Texas|Utah|Vermont|Virginia|Washington|West Virginia|Wisconsin|Wyoming)",s.caProvincePattern="(?:AB|BC|MB|NB|NL|NS|NT|NU|ON|PE|QC|SK|YT|Alberta|British Columbia|Manitoba|New Brunswick|Newfoundland and Labrador|Nova Scotia|Ontario|Prince Edward Island|Quebec|Qu\xe9bec|Saskatchewan|Northwest Territories|Nunavut|Yukon)",s.usZipPattern="\\d{5}(?:-\\d{4})?",s.caPostalPattern="[ABCEGHJ-NPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z]\\s?\\d[ABCEGHJ-NPRSTV-Z]\\d",s.countryPattern="(?:US|USA|U\\.S\\.A\\.|United States(?: of America)?|Canada|CAN)",s.cityTokenPattern="[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff]+(?:[.'\u2019\\-]+[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff]+)*\\.?",s.cityPattern="(?:".concat(s.cityTokenPattern,"\\s*){1,8}"),s.localityPattern="(?:".concat(s.cityPattern,"|Lot\\s+\\d+[A-Za-z]?)"),s.unitValuePattern="[A-Za-z0-9-]+",s.unitPrefixPattern="(?:(?:Suite|Ste|Unit|Apt|Apartment)\\s*#?\\s*".concat(s.unitValuePattern,"|#\\s*").concat(s.unitValuePattern,")\\s*[-,]?\\s*"),s.unitSuffixPattern="(?:\\s*(?:#|Apt|Apartment|Unit|Suite|Ste|APP|UNIT)\\s*".concat(s.unitValuePattern,"|\\s+(?:").concat(s.unitValuePattern,")(?:st|nd|rd|th)\\s+floor|\\s+(?:Floor|Fl|Room|Rm|Penthouse|PH)\\s*").concat(s.unitValuePattern,"|\\s+[A-Za-z]{1,3}\\d{1,5})?"),s.streetTokenPattern="[A-Za-z0-9\xc0-\xd6\xd8-\xf6\xf8-\xff]+(?:[ .'\u2019\\-][A-Za-z0-9\xc0-\xd6\xd8-\xf6\xf8-\xff]+)*\\.?",s.directionalPattern="(?:N|S|E|W|NE|NW|SE|SW|O|North|South|East|West|Northeast|Northwest|Southeast|Southwest)",s.uspsSuffixPattern="(?:Avenue|Lane|Line|Road|Boulevard|Alley|Annex|Anex|Court|Mobile|Drive|Street|Arcade|Bayou|Beach|Bend|Bluff|Bluffs|Bottom|Branch|Brook|Brooks|Burg|Bypass|Camp|Canyon|Cape|Causeway|Center|Centers|Cir|Circle|Cliff|Cliffs|Club|Common|Commons|Corner|Corners|Course|Courts|Cove|Coves|Creek|Crescent|Crest|Crossing|Crossroad|Crossroads|Curve|Dale|Dam|Divide|Drives|Estate|Estates|Expressway|Extension|Extensions|Fall|Falls|Ferry|Field|Fields|Flat|Flats|Ford|Fords|Forest|Forge|Forges|Fork|Forks|Fort|Freeway|Garden|Gardens|Gateway|Glen|Glens|Green|Greens|Grove|Groves|Harbor|Harbors|Haven|Heights|Highway|Hill|Hills|Hollow|Inlet|Island|Islands|Isle|Junction|Junctions|Key|Keys|Knoll|Lake|Lakes|Land|Landing|Light|Lights|Loaf|Lock|Locks|Lodge|Loop|Mall|Manor|Manors|Meadow|Meadows|Mews|Mill|Mills|Mission|Motorway|Mount|Mountain|Mountains|Neck|Orchard|Oval|Overpass|Park|Parks|Parkway|Parkways|Pass|Passage|Path|Pike|Pine|Pines|Place|Plain|Plains|Plaza|Point|Points|Port|Ports|Private|Prairie|Radial|Ramp|Ranch|Rapid|Rapids|Rest|Ridge|Ridges|River|Roads|Route|Row|Rue|Run|Shoal|Shoals|Shore|Shores|Skyway|Spring|Springs|Spur|Spurs|Square|Squares|Station|Stravenue|Stream|Streets|Summit|Terrace|Throughway|Trace|Track|Trafficway|Trail|Trailer|Tunnel|Turnpike|Underpass|Union|Unions|Valley|Valleys|Viaduct|View|Views|Village|Villages|Ville|Vista|Walk|Walks|Wall|Way|Ways|Well|Wells|Ave|Ct|Dr|Rd|Blvd|Ln|St|Aly|Anx|Arc|Byu|Bch|Bnd|Blf|Blfs|Btm|Br|Brk|Brks|Bg|Byp|Cp|Cyn|Cpe|Cswy|Ctr|Ctrs|Cirs|Clf|Clfs|Clb|Cmn|Cmns|Cor|Cors|Crse|Cts|Cv|Cvs|Crk|Cres|Crst|Xing|Xrd|Xrds|Curv|Dl|Dm|Dv|Drs|Est|Ests|Expy|Ext|Exts|Fls|Fry|Fld|Flds|Flt|Flts|Frd|Frds|Frst|Frg|Frgs|Frk|Frks|Ft|Fwy|Gdn|Gdns|Gtwy|Gln|Glns|Grn|Grns|Grv|Grvs|Hbr|Hbrs|Hvn|Hts|Hwy|Hl|Hls|Holw|Inlt|Is|Iss|Jct|Jcts|Ky|Kys|Knl|Lk|Lks|Lndg|Lgt|Lgts|Lf|Lck|Lcks|Ldg|Mnr|Mnrs|Mdw|Mdws|Ml|Mls|Msn|Mtwy|Mt|Mtn|Mtns|Nck|Orchard|Opas|Pkwy|Psge|Pne|Pnes|Pl|Pln|Plns|Plz|Pt|Pts|Prt|Prts|Pr|Radl|Rnch|Rpd|Rpds|Rst|Rdg|Rdgs|Riv|Rds|Rte|Shr|Shrs|Skwy|Spg|Spgs|Sq|Sqs|Sta|Stra|Strm|Sts|Smt|Ter|Trwy|Trce|Trak|Trfy|Trl|Trlr|Tunl|Tpke|Upas|Un|Uns|Vly|Vlys|Via|Vw|Vws|Vlg|Vlgs|Vl|Vis|Wl|Wls|Broadway)",s.civicNumberPattern="\\d+(?:\\s+1\\/2)?(?:[A-Za-z](?=\\s|$)|-[A-Za-z](?=\\s|$)|-\\d+[A-Za-z]?)?",s.normalStreetPattern="(?:(?:".concat(s.streetTokenPattern,"\\s*){1,10}
1(?:(?:").concat(s.uspsSuffixPattern,")(?:\\s+").concat(s.directionalPattern,")?|(?:").concat(s.directionalPattern,")\\s+(?:").concat(s.streetTokenPattern,"\\s*){1,10}(?:").concat(s.uspsSuffixPattern,")|(?:").concat(s.uspsSuffixPattern,")\\s+(?:").concat(s.streetTokenPattern,"\\s*){1,10}(?:\\s+").concat(s.directionalPattern,")?)|(?:").concat(s.streetTokenPattern,"\\s*){1,10})"),s.usLocationPattern="(?:".concat(s.usStatePattern,")(?:\\s+").concat(s.usZipPattern,")?"),s.caLocationPattern="(?:".concat(s.caProvincePattern,")(?:\\s+(?:").concat(s.caPostalPattern,"|").concat(s.usZipPattern,"))?"),s.locationPattern="(?:".concat(s.usLocationPattern,"|").concat(s.caLocationPattern,")"),s.addressLabelTokenPattern="[A-Za-z0-9\xc0-\xd6\xd8-\xf6\xf8-\xff]+(?:[.'\u2019\\-][A-Za-z0-9\xc0-\xd6\xd8-\xf6\xf8-\xff]+)*\\.?",s.addressLabelSegmentPattern="(?:".concat(s.addressLabelTokenPattern,"(?:\\s+").concat(s.addressLabelTokenPattern,"){0,4})"),s.addressLabelPrefixPattern="(?:(?:".concat(s.addressLabelSegmentPattern,")(?:,\\s*|\\s+)){0,2}"),s.specialRoutePattern="(?:PO\\s+Box\\s+\\d+[A-Za-z]?|RR\\s+\\d+(?:\\s+Site\\s+\\d+)?\\s+Box\\s+\\d+[A-Za-z]?|HC\\s+\\d+\\s+Box\\s+\\d+[A-Za-z]?|General\\s+Delivery|Lot\\s+\\d+\\s+Concession\\s+\\d+[A-Za-z]?)",s.specialAddressPattern="(?:".concat(s.specialRoutePattern,")(?:,\\s*|\\s+)").concat(s.localityPattern,"(?:,\\s*|\\s+)").concat(s.locationPattern,"(?:,?\\s*").concat(s.countryPattern,")?"),s.numberedStreetLinePattern="(?:".concat(s.civicNumberPattern,")(?:\\s+)?(?:(?:").concat(s.directionalPattern,")\\s+)?(?:").concat(s.streetTokenPattern,"(?:\\s+").concat(s.streetTokenPattern,"){0,12})(?:\\s+").concat(s.uspsSuffixPattern,")?(?:\\s+").concat(s.directionalPattern,")?").concat(s.unitSuffixPattern),s.namedStreetLinePattern="(?:".concat(s.streetTokenPattern,"(?:\\s+").concat(s.streetTokenPattern,"){0,12})(?:\\s+").concat(s.uspsSuffixPattern,")?(?:\\s+").concat(s.directionalPattern,")?").concat(s.unitSuffixPattern),s.routeStreetLinePattern="(?:".concat(s.namedStreetLinePattern,")(?:\\s*-\\s*(?:").concat(s.streetTokenPattern,"(?:\\s+").concat(s.streetTokenPattern,"){0,8}|Lot\\s+\\d+[A-Za-z]?))?"),s.provincialRoadNamePattern="(?:Nova\\s+Scotia|Newfoundland\\s+and\\s+Labrador|Prince\\s+Edward\\s+Island|New\\s+Brunswick|British\\s+Columbia|Northwest\\s+Territories|Saskatchewan|Manitoba|Ontario|Quebec|Qu\xe9bec|Alberta|Nunavut|Yukon)\\s+\\d+[A-Za-z]?",s.provincialRoadStreetLinePattern="(?:".concat(s.civicNumberPattern,")\\s+").concat(s.provincialRoadNamePattern).concat(s.unitSuffixPattern),s.streetLinePattern="(?:Box\\s+\\d+[A-Za-z]?(?:,\\s*|\\s+))?(?:(?:".concat(s.unitPrefixPattern,")?(?:").concat(s.provincialRoadStreetLinePattern,"|").concat(s.numberedStreetLinePattern,"|").concat(s.routeStreetLinePattern,")|(?:").concat(s.unitPrefixPattern,")(?:").concat(s.namedStreetLinePattern,"))"),s.extendedStreetLinePattern="(?:".concat(s.streetLinePattern,")(?:\\s*(?:,)?\\s*(?:Lot\\s+\\d+[A-Za-z]?))?"),s.streetAddressPattern="(?:".concat(s.addressLabelPrefixPattern,")?(?:").concat(s.extendedStreetLinePattern,")(?:,\\s*|\\s+)").concat(s.localityPattern,"(?:,\\s*|\\s+)").concat(s.locationPattern,"(?:,?\\s*").concat(s.countryPattern,")?"),s.address_regexpPattern=new RegExp("^(?:".concat(s.specialAddressPattern,"|").concat(s.streetAddressPattern,")$"),"i"),s.obviousPlaceholderStreetPattern=new RegExp("^\\s*".concat(s.civicNumberPattern,"\\s+(?:test|dummy|fake|invalid|sample)\\s+(?:").concat(s.uspsSuffixPattern,")\\b"),"i");var c=function(){return l(function e(t){u(this,e),Object.assign(this,t)},[{key:"getCustomerLeadData",value:function(){return{name:this.name,type:this.type,url:this.url,bill_image_url:this.bill_image_url}}}])}(),d=function(){return l(function e(){u(this,e),this.queryParams={},this.flag_payment_required=!0,this.on_hold_amount=0,this.billing_config={negotiation:{rate:40,rate_type:"Percentage",savings_range_considered:"all"},cancellation:{rate:5,rate_type:"Flat Rate"}},this.flag_payment_method_created=!1,this.flag_signup_process=!1,this.terms_and_condition=!1,this.bills=[],this.isRecording=!1,this.formUserInfo={form:null},this._initForms()},[{key:"_initForms",value:function(){this._initUserInfoForm(),this._initUserTermsAndConditionsForm()}},{key:"resetSocialLogin",value:function(){this.sl_provider=null,this._initForms()}},{key:"getUserInitial",value:function(){return this.customer_first_name?this.customer_first_name.slice(0,1):""}},{key:"getUserFullName",value:function(){return((this.customer_first_name?this.customer_first_name:"")+" "+(this.customer_last_name?this.customer_last_name:"")).replace(/^\s+|\s+$/g,"")}},{key:"getSocialLoginSource",value:function(){return this.sl_provider?"Social Login - "+this.sl_provider:null}},{key:"getMd5Psw",value:function(){return this.sl_provider?null:o.V.hashStr(this.customer_password).toString()}},{key:"getTotalSavings",value:function(){return this.bills.reduce(function(e,t){return e+(t.total_savings||0)},0)}},{key:"_initUserInfoForm",value:function(){var e=this;this.formUserInfo.form&&"undefined"!=typeof $&&Object.keys(this.formUserInfo.form.controls).forEac
1h(function(t){var n=$(e.formUserInfo.form.get(t).bsTooltipError);n&&"function"==typeof n.tooltip&&n.tooltip("hide")});var t=new i.FormBuilder,n={customer_first_name:[this.customer_first_name,[i.Validators.required,i.Validators.maxLength(64),s.text()]],customer_last_name:[this.customer_last_name,[i.Validators.required,i.Validators.maxLength(64),s.text()]],customer_email:[this.customer_email,[i.Validators.required,s.email()]],customer_contact_number:[this.customer_contact_number,[i.Validators.required,s.phone()]]};!this.sl_provider&&!this.transaction_id&&Object.assign(n,{customer_password:[this.customer_password,[i.Validators.required,s.password()]]}),this.formUserInfo.form=t.group(n),this._onChangesUserInfoForm()}},{key:"_onChangesUserInfoForm",value:function(){var e=this;this.formUserInfo.form.valueChanges.subscribe(function(t){Object.assign(e,t)},function(e){})}},{key:"_initUserTermsAndConditionsForm",value:function(){this.terms_and_condition=!1;var e=new i.FormBuilder;this.formUserTermsAndConditions=e.group({terms_and_condition:[this.terms_and_condition,[i.Validators.requiredTrue]]}),this._onChangesUserTermsAndConditionsForm()}},{key:"_onChangesUserTermsAndConditionsForm",value:function(){var e=this;this.formUserTermsAndConditions.valueChanges.subscribe(function(t){Object.assign(e,t)},function(e){})}},{key:"getCustomerLeadData",value:function(){return{queryParams:this.queryParams,customer_first_name:this.customer_first_name,customer_last_name:this.customer_last_name,customer_email:this.customer_email,customer_contact_number:this.customer_contact_number,phone_touched:this.customer_phone_touched,email_touched:this.customer_email_touched,terms_and_condition:this.terms_and_condition}}},{key:"loadCustomerLeadData",value:function(e){return e.contact_number&&e.contact_number.startsWith("+1")&&(e.contact_number=e.contact_number.substr(2)),e.queryParams&&Object.keys(this.queryParams||{}).length&&Object.assign(e.queryParams,this.queryParams),e.email&&Object.assign(e,{transaction_id:e.customer_id,customer_first_name:e.first_name,customer_last_name:e.last_name,customer_email:e.email,customer_contact_number:e.contact_number,stripe_account_id:e.stripe_account_id}),Object.assign(this,e),this._initForms(),this}}])}(),h=function(){return l(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.$M.NEGOTIATION,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};u(this,e),this.bill_images={},this.bill_info={},this.bill_info_from_contact={},this.touched_fields=[],this.provider_credentials={credential_user:"",credential_password:"",credential_transaction_id:"",is_credential_verified:!1,mfa_challenges:null},this.signUp={valid:!1,start:null,step:null,nav:{}},this.formBillInfo={form:null,behaviorSubject:new a.X(null),bill_image_choice:"no_bill"},this.formProviderCredentialsMFA={form:null},this.checkoutFormsInitialized=!1,this.estimateOnlyMode=!1,this.id=(new Date).getTime(),this.submitted=!1,t instanceof e?Object.assign(this,t.getCustomerLeadData(),{category:t.category,subcategory_home:t.subcategory_home,subcategory_auto:t.subcategory_auto,subcategory_auto_home:t.subcategory_auto_home,provider:t.provider}):Object.values(r.$M).includes(t)&&(this.bill_type=t),this.bill_images={},this._initNav(),this._initForms(!!n.estimateOnly)},[{key:"getCategoryNameList",value:function(){var e=[];switch(this.bill_type){case r.$M.NEGOTIATION:this.category&&e.push(this.category.category_name);break;case r.$M.SWITCH:this.subcategory_auto_home?e.push(this.subcategory_auto_home.category_name):this.subcategory_home?e.push(this.subcategory_home.category_name):this.subcategory_auto&&e.push(this.subcategory_auto.category_name);break;default:this.provider&&e.push(this.provider.categories)}return e}},{key:"getProviderName",value:function(){return this.provider?this.provider.provider_name:""}},{key:"getTotalExpectedSavingsPerYear",value:function(){if(document.getElementById("bs-probability")&&this.expected_savings>0&&(document.getElementById("bs-probability").style.marginTop="0px"),!this.expected_savings)return-1;switch(this.bill_type){case r.$M.SWITCH:return 0;default:return 12*this.expected_savings}}},{key:"getTotalExpectedSavings",value:function(e){switch(this.bill_type){case r.$M.SWITCH:return 0;default:return this.expected_savings*(e?1:this.getMaxEstimatedMonths())}}},{key:"getTotalExpectedSavingsDescription",value:function(e){if(e)return"Monthly savings";switch(this.bill_type){case r.$M.SWITCH:return"Avg savings";default:return"Avg savings over "+this.provider.average_savings_length+" months"}}},{key:"getBillsharkFee",value:function(){switch(this.bill_type){case r.$M.CANCELLATION:return 9;
1case r.$M.SWITCH:return 0;default:return.4*this.getTotalExpectedSavings(!1)}}},{key:"getMaxEstimatedMonths",value:function(){return this.provider?this.provider.average_savings_length:12}},{key:"_initNav",value:function(){if(this.bill_type){var e=JSON.parse(JSON.stringify(r.Hb[this.bill_type.toString().toUpperCase()]));this.signUp={valid:!0,start:e.START,step:e.START,nav:Object.assign({},e)}}}},{key:"restartNav",value:function(){this.signUp.valid=!0,this.signUp.nav[this.signUp.start].next=null,this.signUp.step=this.signUp.start}},{key:"prevStep",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.signUp.step,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t!==e&&t!==this.signUp.start&&(Object.keys(this.signUp.nav).includes(t)?(!e&&this.signUp.nav[t].prev&&(e=this.signUp.nav[t].prev),e&&(this.signUp.nav[t].prev=e,this.signUp.nav[e].next=t,n&&(this.signUp.step=e))):n&&(this.signUp.step=this.signUp.start))}},{key:"nextStep",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.signUp.step,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t!==e&&(Object.keys(this.signUp.nav).includes(t)?(!e&&this.signUp.nav[t].next&&(e=this.signUp.nav[t].next),e&&(this.signUp.nav[t].next=e,this.signUp.nav[e].prev=t,n&&(this.signUp.step=e))):n&&(this.signUp.step=this.signUp.start))}},{key:"_initForms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.estimateOnlyMode=e,this.signUp.valid=!0,this._initEstimateSavingsForm(),e?this.checkoutFormsInitialized=!1:this._initCheckoutForms()}},{key:"_initCheckoutForms",value:function(){switch(this.bill_type){case r.$M.NEGOTIATION:this._initBillInfoForm(),this._initProviderCredentialsForm();break;case r.$M.CANCELLATION:this._initBillInfoForm();break;case r.$M.SWITCH:this._initBillInfoForm(),this._initBillTermsAndConditionsForm()}this.checkoutFormsInitialized=!0}},{key:"ensureCheckoutFormsInitialized",value:function(){return this.checkoutFormsInitialized||this._initCheckoutForms(),this}},{key:"_initEstimateSavingsForm",value:function(){var e=new i.FormBuilder,t={provider:[this.provider,[i.Validators.required]],monthly_payment:[this.monthly_payment,[i.Validators.max(1e4)]]};this.usesNegotiationCategoryControl()?Object.assign(t,{category:[this.category]}):this.bill_type===r.$M.SWITCH&&(this.category=r.Yu.INSURANCE,Object.assign(t,{category:[this.category,[i.Validators.required]],subcategory_auto:[this.subcategory_auto],subcategory_home:[this.subcategory_home],subcategory_auto_home:[this.subcategory_auto_home]})),this.formEstimateSavings=e.group(t),this._reloadEstimateSavingsForm(),this._onChangesEstimateSavingsForm()}},{key:"_onChangesEstimateSavingsForm",value:function(){var e=this;this.formEstimateSavings.valueChanges.subscribe(function(t){Object.assign(e,t)},function(e){}),this.usesNegotiationCategoryControl()&&this.formEstimateSavings.get("category").valueChanges.subscribe(function(t){e.category!==t&&(e.category=t,e.formEstimateSavings.get("provider").setValue(null)),e._reloadEstimateSavingsForm()},function(e){}),this.formEstimateSavings.get("provider").valueChanges.subscribe(function(t){e.provider!==t&&(e.provider=t,e.bill_type===r.$M.NEGOTIATION&&e.checkoutFormsInitialized&&e._resetProviderCredentialsForm()),e.checkoutFormsInitialized&&e._initBillInfoForm()},function(e){})}},{key:"_reloadEstimateSavingsForm",value:function(){if(this.formEstimateSavings&&this.formEstimateSavings.get("provider")){if(this.usesNegotiationCategoryControl()&&!this.formEstimateSavings.get("category"))return void this.formEstimateSavings.get("provider").disable();this.formEstimateSavings.get("provider").enable()}}},{key:"usesNegotiationCategoryControl",value:function(){return this.bill_type===r.$M.NEGOTIATION&&!this.estimateOnlyMode}},{key:"_initProviderCredentialsForm",value:function(){this._initProviderCredentialsMFAForm();var e=new i.FormBuilder;this.formProviderCredentials=e.group({credential_user:[this.provider_credentials.credential_user,[]],credential_password:[this.provider_credentials.credential_password,[]]}
1),this._onChangesProviderCredentialsForm()}},{key:"_onChangesProviderCredentialsForm",value:function(){var e=this;this.formProviderCredentials.valueChanges.subscribe(function(t){Object.assign(e.provider_credentials,t)},function(e){})}},{key:"_resetProviderCredentialsForm",value:function(){Object.assign(this.provider_credentials,{credential_user:"",credential_password:"",credential_transaction_id:"",is_credential_verified:!1,mfa_challenges:null}),this.formProviderCredentials&&this.formProviderCredentials.patchValue(this.provider_credentials)}},{key:"_initProviderCredentialsMFAForm",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.formProviderCredentialsMFA.form=null,this.provider_credentials.mfa_challenges=t,t&&(this.formProviderCredentialsMFA.form=(new i.FormBuilder).group({mfas:new i.FormArray([])}),t.mfas.forEach(function(t){if(t.type===r.UA.MFA_CONFIRM)t.message=r.UA.MFA_CONFIRM;else if(t.type===r.UA.MFA_RECAPTCHA&&n){var o=n._utilService.createHtmlElement(t.challenge);o.parentNode.querySelectorAll(".billshark_recaptcha_image_block").forEach(function(e){var t=e.querySelector("img"),r=e.querySelector("input"),i=document.createElement("label");i.setAttribute("for",r.id),n._utilService.wrap(t,i),e.insertBefore(r,i)}),t.challenge=n._sanitizer.bypassSecurityTrustHtml(o.outerHTML)}e.formProviderCredentialsMFA.form.get("mfas").push((new i.FormBuilder).group({message:[t.message,[]]}))}),this.formProviderCredentialsMFA.form.valueChanges.subscribe(function(t){t.mfas.forEach(function(t,n){Object.assign(e.provider_credentials.mfa_challenges.mfas[n],t)})},function(e){}))}},{key:"_initBillInfoForm",value:function(){var e=this;this.formBillInfo.form&&"undefined"!=typeof $&&Object.keys(this.formBillInfo.form.controls).forEach(function(t){var n=$(e.formBillInfo.form.get(t).bsTooltipError);n&&"function"==typeof n.tooltip&&n.tooltip("hide")});var t=new i.FormBuilder,n={};this.bill_type===r.$M.SWITCH&&(this.category=r.Yu.INSURANCE);var o={},a={};this.formBillInfo.bill_image_choice=Object.keys(this.bill_images).length?"bill":"no_bill",this.provider&&this.provider.fields&&this.provider.fields.forEach(function(t){if([!0,!1].includes(t[e.formBillInfo.bill_image_choice])||[!0,!1].includes(t.no_bill))if(t.copy_from_contact)a[t.name]=t.copy_from_contact;else switch(t.type){case"address":o[t.name]=Object.assign({address_street:"",address_city:"",address_state:"",address_zip:""},e.bill_info[t.name]),e._addFormControl(n,t,o[t.name].address_street);break;case"times_picker":o[t.name]=Object.assign({},e.bill_info[t.name]),t.fields.forEach(function(r){e._addFormControl(n,r,o[t.name][r.name],t.name)}),t.disableable&&(o[t.name].hasOwnProperty(t.name+"_disabled")||(o[t.name][t.name+"_disabled"]=t.disableable),e._addFormControl(n,{name:t.name+"_disabled",type:"checkbox"},o[t.name][t.name+"_disabled"],t.name));break;default:if(o[t.name]=e.bill_info[t.name],e._addFormControl(n,t,o[t.name]),"provider_passcode"===t.name){var r={placeholder:"Alternative PIN",type:"pin",class:["w-100"],ga:"ga_tooltip_provider_pin",name:"alternative_passcode",no_bill:!1,required:!1,bill:!1};o[r.name]=e.bill_info[r.name],e._addFormControl(n,r,o[r.name])}}}),this.bill_info=o,this.bill_info_from_contact=a,this.formBillInfo.form=t.group(n),this._onChangesBillInfoForm(),this.formBillInfo.behaviorSubject.next(!0)}},{key:"_onChangesBillInfoForm",value:function(){var e=this;this.formBillInfo.form.valueChanges.subscribe(function(t){Object.keys(t).forEach(function(n){if(r._f[n]&&"address"===r._f[n].type)delete t[n];else{var i=e.formBillInfo.form.get(n);i&&i.container&&(t[i.container]||(t[i.container]={}),t[i.container][n]=t[n],delete t[n])}}),Object.assign(e.bill_info,t)},function(e){})}},{key:"_addFormControl",value:function(e,t,n){var r,o,a,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,c=[];switch(t[this.formBillInfo.bill_image_choice]&&c.push(i.Validators.required),t.type){case"date":c.push(s.date());break;case"dob":c.push(s.dob());break;case"last4":c.push(s.ssn4());break;case"phone":c.push(s.phone());break;
1case"email":c.push(s.email());break;case"zip":c.push(s.zip());break;case"password":c.push(s.password());break;case"radio":c.push(s.radio(t));break;case"pin":c.push(s.pin(null===(a=null===(o=null===(r=this.provider.security)||void 0===r?void 0:r.passcode)||void 0===o?void 0:o.validation)||void 0===a?void 0:a.regex));case"text":case"textarea":c.push(s.instructions());break;case"address":c.push(s.address()),c.push(s.address_city(this))}if("checkbox"===t.type&&t.options){var u=new i.FormArray([]);t.options.forEach(function(e,t){u.push(new i.FormControl(n&&n[t]))}),e[t.name]=Object.assign(u,{container:l})}else e[t.name]=Object.assign(new i.FormControl(n,c),{container:l})}},{key:"_initBillTermsAndConditionsForm",value:function(){var e=new i.FormBuilder;this.formBillTermsAndConditions=e.group({terms_and_condition:[this.terms_and_condition,[i.Validators.requiredTrue]]}),this._onChangesBillTermsAndConditionsForm()}},{key:"_onChangesBillTermsAndConditionsForm",value:function(){var e=this;this.formBillTermsAndConditions.valueChanges.subscribe(function(t){Object.assign(e,t)},function(e){})}},{key:"getCustomerLeadData",value:function(){return JSON.parse(JSON.stringify({id:this.id,bill_type:this.bill_type,category:this.category?this.category.getCustomerLeadData():null,subcategory_home:this.subcategory_home?this.subcategory_home.getCustomerLeadData():null,subcategory_auto:this.subcategory_auto?this.subcategory_auto.getCustomerLeadData():null,subcategory_auto_home:this.subcategory_auto_home?this.subcategory_auto_home.getCustomerLeadData():null,provider:this.provider?this.provider.getCustomerLeadData():null,monthly_payment:this.monthly_payment,expected_savings:this.expected_savings,business:this.business,average_savings_length:this.getMaxEstimatedMonths(),bill_info:this.bill_info,bill_info_from_contact:this.bill_info_from_contact,touched_fields:this.touched_fields,terms_and_condition:this.terms_and_condition,signUp:this.signUp}))}},{key:"loadCustomerLeadData",value:function(e){return Object.assign(this,e),this._initForms(this.estimateOnlyMode),this}}])}()},97268:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var r=function(){function e(){u(this,e)}return l(e,[{key:"deserialize",value:function(t){return Object.assign(this,t),this.sub_categories?this.sub_categories=t.sub_categories.map(function(t){return(new e).deserialize(t)}):this.providers&&(this.providers=t.providers.map(function(e){return(new i).deserialize(e)})),this}},{key:"toString",value:function(){return this.category_id}},{key:"getCustomerLeadData",value:function(){return{category_id:this.category_id,category_name:this.category_name}}}])}(),i=function(){return l(function e(){u(this,e),this.security={}},[{key:"deserialize",value:function(e){return this.average_savings_length=12,Object.assign(this,e),this}},{key:"toString",value:function(){return this.provider_id}},{key:"getCustomerLeadData",value:function(){return{provider_id:this.provider_id,provider_name:this.provider_name,service_category:this._category_label||(this.categories&&this.categories[0]?this.categories[0].category_name:null)||null}}}])}()},44466:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r,i=n(12057),o=n(92599),a=n(53904),s=n(74788),c=((r=l(function e(){u(this,e)})).\u0275fac=function(e){return new(e||r)},r.\u0275mod=s.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=s.\u0275\u0275defineInjector({providers:[],imports:[[i.ez,o.Bz,a.I],i.ez,o.Bz,a.I]}),r)},79019:function(t,r,o){"use strict";var a,s=o(91211),c=o(74788),d=o(58497),h=o(92599),m=o(34689),p=o(64762),f=o(12057),g=o(97245),v=o(52726),_=((a=function(){return l(function e(t,n){u(this,e),this._router=t,this._zone=n,this.started=!1,this.done=new Set,this.noLoader=new Set,this.loaderMap=null,this.io=null,this.mo=null,this.routerSubscription=null,this.viewportPreloadActive=!1,this.observed=new WeakSet},[{key:"init",value:function(){var e=this;this.started||"undefined"==typeof document||"undefined"==typeof window||(this.started=!0,this._zone.runOutsideAngular(function(){var t=function(t){var n=t.target,r=n&&"function"==typeof n.closest?n.closest("a[href]"):null;r&&e.preloadPath(r.getAttribute("href")||"")},n={passive:!0,capture:!0};
1document.addEventListener("pointerover",t,n),document.addEventListener("pointerdown",t,n),document.addEventListener("focusin",t,n),e.routerSubscription=e._router.events.pipe((0,m.h)(function(e){return e instanceof h.m2})).subscribe(function(){return e.updateViewportPreload(e._router.url)}),e.updateViewportPreload(e._router.url)}))}},{key:"updateViewportPreload",value:function(e){var t=this,n=this.normalize(e);if("/blogs"===n||n.startsWith("/blogs/")){if(!this.viewportPreloadActive&&"IntersectionObserver"in window){this.viewportPreloadActive=!0,this.io=new IntersectionObserver(function(e){e.forEach(function(e){var n;if(e.isIntersecting){var r=e.target;null===(n=t.io)||void 0===n||n.unobserve(r),t.preloadPath(r.getAttribute("href")||"")}})},{rootMargin:"250px"});var r=function(){return t.observePostLinks()};"MutationObserver"in window&&(this.mo=new MutationObserver(function(){return r()}),this.mo.observe(document.body,{childList:!0,subtree:!0})),setTimeout(r,0)}}else this.stopViewportPreload()}},{key:"stopViewportPreload",value:function(){var e,t;!this.viewportPreloadActive||(this.viewportPreloadActive=!1,null===(e=this.io)||void 0===e||e.disconnect(),this.io=null,null===(t=this.mo)||void 0===t||t.disconnect(),this.mo=null,this.noLoader.clear())}},{key:"observePostLinks",value:function(){var e=this;this.io&&document.querySelectorAll('a[href^="/blogs/"]:not([href*="/categories/"])').forEach(function(t){e.observed.has(t)||(e.observed.add(t),e.io.observe(t))})}},{key:"preloadPath",value:function(e){var t=this.normalize(e);if(t&&!this.done.has(t)&&!this.noLoader.has(t)&&/^\/blogs\/[a-z0-9-]+(?:\/[a-z0-9-]+)*$/i.test(t)){var n=this.loaderFor(t);if(n){this.done.add(t);try{n()}catch(r){}}else this.noLoader.add(t)}}},{key:"loaderFor",value:function(e){return(!this.loaderMap||!this.loaderMap.has(e))&&this.buildLoaderMap(),this.loaderMap.get(e)||null}},{key:"buildLoaderMap",value:function(){var e=new Map,t=function(n,r){(n||[]).forEach(function(n){var o,a=String(n.path||"").split("/").filter(Boolean),s=[].concat(i(r),i(a)),l=n.data&&n.data.module;"function"==typeof l&&e.set("/"+s.join("/"),l);var c=n.children||(null===(o=n._loadedConfig)||void 0===o?void 0:o.routes)||n._loadedRoutes;c&&t(c,s)})};t(this._router.config,[]),this.loaderMap=e}},{key:"normalize",value:function(e){if(!e)return"";var t=e.trim();if(/^https?:\/\//i.test(t))try{t=new URL(t).pathname}catch(n){return""}return(t=(t=t.split("?")[0].split("#")[0]).replace(/\/+$/,"")||"/").startsWith("/")?t:"/"+t}},{key:"ngOnDestroy",value:function(){var e;this.stopViewportPreload(),null===(e=this.routerSubscription)||void 0===e||e.unsubscribe(),this.routerSubscription=null}}])}()).\u0275fac=function(e){return new(e||a)(c.\u0275\u0275inject(h.F0),c.\u0275\u0275inject(c.NgZone))},a.\u0275prov=c.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"}),a),b=o(90670),y=o(45087),S={label:"Home",url:"/"},E={label:"About Us",url:"/about-us"},w={label:"Blog",url:"/blogs"},C={"/bill-negotiation-services":[S,{label:"Bill Negotiation Services"}],"/negotiate-business-bills":[S,{label:"Bill Negotiation Services",url:"/bill-negotiation-services"},{label:"Business Bills"}],"/about-us":[S,{label:"About Us"}],"/our-team":[S,{label:"Our Team"}],"/careers":[S,{label:"Careers"}],"/careers/apply":[S,{label:"Careers",url:"/careers"},{label:"Apply"}],"/contact":[S,{label:"Contact"}],"/partners":[S,{label:"Partners"}],"/speedtest":[S,{label:"Speed Test"}],"/reviews":[S,{label:"Reviews"}],"/rewards":[S,{label:"Rewards"}],"/our-guarantee":[S,{label:"Our Guarantee"}],"/our-commitment-accessibility":[S,{label:"Accessibility"}],"/media-press":[S,{label:"Media & Press"}],"/support":[S,{label:"Help Center"}],"/download-bills":[S,{label:"Download Bills & Service Status"}],"/terms":[S,{label:"Terms of Service"}],"/privacy":[S,{label:"Privacy Policy"}],"/blogs":[S,{label:"Blog"}],"/author/steven-mckean":[S,w,{label:"Steven McKean"}],"/author/brian-keaney":[S,w,{label:"Brian Keaney"}],"/author/michel-mora":[S,w,{label:"Michel Mora"}],"/author/carolyn-depoto":[S,w,{label:"Carolyn Depoto"}]},k={"/careers":{"/about-us":E},"/careers/apply":{"/about-us":E}},P={wireless:"Phone & Wireless",internet:"Internet & Cable",cabletv:"Internet & Cable","home-security":"Home Security"},T=[S,{label:"Lower Your Bills",url:"/download-bills"}],O=[S,w],I=[S,w,{label:"All Categories",url:"/blogs/categories/all"}],x=[S,{label:"Download Bills & Service Status",url:"/download-bills"}],A=[S],M=["/login","/create-password","/reset-password","/forgot-password","/forgot-password-confirmation","/sign-in-without-password","/confirm-email","/resend-email","/resend-email-confirmation","/account","/dashboard","/settings","/secure","/upload","/payment","/confirmation-page","/redeem","/unsubscribe","/not-found","/review-u
1s","/varo","/bank-first","/smb","/vipkid","/you-decide"],R=function(){var e=function(){return l(function e(){u(this,e)},[{key:"getTrail",value:function(e,t){var n,r=this.getStructuralTrail(e);if(!r.length||!t)return r;var o=this.normalize(e),a=this.normalize(t),s=null===(n=k[o])||void 0===n?void 0:n[a];return!s||r.some(function(e){return e.url===s.url||e.label===s.label})?r:[r[0],Object.assign({},s)].concat(i(r.slice(1)))}},{key:"getStructuralTrail",value:function(e){var t=this.normalize(e);if(!t||"/"===t)return[];if(M.some(function(e){return t===e||t.startsWith(e+"/")}))return[];if(C[t])return this.clone(C[t]);var n=t.split("/").filter(Boolean);if("lower"===n[0]&&n[1]){var r=n[1],o=P[r]||this.titleCase(r);return[].concat(i(this.clone(T)),[{label:o}])}if("outage"===n[0])return n[1]?[].concat(i(this.clone(x)),[{label:"".concat(this.titleCase(n[1])," Service Status")}]):[].concat(i(this.clone(A)),[{label:"Service Status"}]);if("blogs"===n[0]&&n.length>1){if("categories"===n[1]){if(n.length<=2||"all"===n[2])return[].concat(i(this.clone(O)),[{label:"All Categories"}]);var a="/blogs/categories/".concat(n[2],"/all"),s=y.a.find(function(e){return e.route===a}),l=s?s.name:this.titleCase(n[2]);return[].concat(i(this.clone(I)),[{label:l}])}return[].concat(i(this.clone(O)),[{label:this.titleCase(n[n.length-1])}])}return[].concat(i(this.clone(A)),[{label:this.titleCase(n[n.length-1])}])}},{key:"normalize",value:function(e){var t=(e||"").split("#")[0].split("?")[0].trim();return t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t}},{key:"titleCase",value:function(e){return(e||"").split("-").filter(Boolean).map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" ")}},{key:"clone",value:function(e){return e.map(function(e){return Object.assign({},e)})}}])}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),N=o(61869);function L(e,t){if(1&e&&(c.\u0275\u0275elementStart(0,"a",9),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&e){var n=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275property("routerLink",n.url),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(n.label)}}function D(e,t){if(1&e&&(c.\u0275\u0275elementStart(0,"span",10),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&e){var n=c.\u0275\u0275nextContext(),r=n.$implicit;c.\u0275\u0275attribute("aria-current",n.last?"page":null),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(r.label)}}function F(e,t){1&e&&(c.\u0275\u0275elementStart(0,"span",11),c.\u0275\u0275text(1,"\u203a"),c.\u0275\u0275elementEnd())}function B(e,t){if(1&e&&(c.\u0275\u0275elementStart(0,"li",5),c.\u0275\u0275template(1,L,2,2,"a",6),c.\u0275\u0275template(2,D,2,2,"ng-template",null,7,c.\u0275\u0275templateRefExtractor),c.\u0275\u0275template(4,F,2,0,"span",8),c.\u0275\u0275elementEnd()),2&e){var n=t.$implicit,r=t.last,i=c.\u0275\u0275reference(3);c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",n.url&&!r)("ngIfElse",i),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",!r)}}function U(e,t){if(1&e&&(c.\u0275\u0275elementStart(0,"nav",1),c.\u0275\u0275elementStart(1,"div",2),c.\u0275\u0275elementStart(2,"ol",3),c.\u0275\u0275template(3,B,5,3,"li",4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()),2&e){var n=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275property("ngForOf",n.trail)("ngForTrackBy",n.trackByIndex)}}var H=function(){var e=function(){return l(function e(t,n,r){u(this,e),this._router=t,this._breadcrumb=n,this._cdr=r,this.trail=[]},[{key:"ngOnInit",value:function(){var e=this;this.update(),this._previousUrl=this._router.url,this._sub=this._router.events.pipe((0,m.h)(function(e){return e instanceof h.m2})).subscribe(function(t){e.update(),e._previousUrl=t.urlAfterRedirects||t.url})}},{key:"ngOnDestroy",value:function(){var e;null===(e=this._sub)||void 0===e||e.unsubscribe()}},{key:"trackByIndex",value:function(e){return e}},{key:"update",value:function(){this.trail=this.isDisabled()?[]:this._breadcrumb.getTrail(this._router.url,this._previousUrl),this._cdr.markForCheck()}},{key:"isDisabled",value:function(){for(var e=this._router.routerState.root;e;){if(e.snapshot.data&&!1===e.snapshot.data.breadcrumb)return!0;e=e.firstChild}return!1}}])}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(h.F0),c.\u0275\u0275directiveInject(R),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))},e.\u0275cmp=c.\u0275\u0275defineComponent({type:e,selectors:[["app-breadcrumb"]],decls:1,vars:1,consts:[["class","bs-breadcrumb","aria-label","Breadcrumb",4,"ngIf"],["aria-label","Breadcrumb",1,"bs-breadcrumb"],[1,"container"],[1,"crumbs"],["class","crumb",4,"ngFor","ngForOf","ngForTrackBy"],[1,"crumb"],["class","crumb-link","queryParamsHandling","preserve",3,"routerLink",4,"ngIf","ngIfElse"],["plain",""],["class","crumb-sep","aria-hidden","true",4,"ngIf"],["queryParamsHandling","preserve",1,"crumb-link",3,"routerLink"],[1,"crumb-text"],["aria-hidden","true",1,"crumb-sep"]],template:function(e,t){1&e&&c.\u0275\u0275template(0,U,4,2,"nav",0),2&e&&c.\u0275\u0275property("ngIf",t.trail.length)},directives:[f.O5,f.sg,h.yS,N.j],styles:[".bs-breadcrumb[data-_ngcontent-%COMP%]{background:#fff;margin-top:var(--header-height)}.crumbs[data-_ngcontent-%COMP%]{list-style:none;margin:0;padding:14px 0;display:flex;flex-wrap:wrap;align-items:center;min-height:46px;font-size:13px;line-height:1.4;color:#556475}.crumb[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center}.crumb-link[data-_ngcontent-%COMP%]{color:#1f5fae;text-decoration:none;border-radius:3px}.crumb-link[data-_ngcontent-%COMP%]:hover, .crumb-link[data-_ngcontent-%COMP%]:focus{text-decoration:underline}.crumb-link[data-_ngcontent-%COMP%]:focus-visible{outline:2px solid #1f5fae;outline-offset:2px}.crumb-text[data-_ngcontent-%COMP%]{color:#556475}.crumb-sep[data-_ngcontent-%COMP%]{margin:0 8px;color:#556475}"],changeDetection:0}),e}(),j=o(36323),q={contact:"2026-06-12","our-team":"2026-06-12"},G="bs_new_seen",V=function(){var e=function(){return l(function e(t){u(this,e),this.platformId=t},[{key:"transform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e5;if(!(0,f.NF)(this.platformId)||!e)return!1;var n=q[e];if(!n)return!1;var r=e+"@"+n,i={};try{i=JSON.parse(localStorage.getItem(G)||"{}")||{}}catch(a){i={}}var o=Date.now();if(null==i[r]){i[r]=o;try{localStorage.setItem(G,JSON.stringify(i))}catch(a){}return!0}return o-i[r]<t}}])}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(c.PLATFORM_ID,16))},e.\u0275pipe=c.\u0275\u0275definePipe({name:"isNew",type:e,pure:!0}),e}();function z(e,t){1&e&&(c.\u0275\u0275elementStart(0,"span",44),c.\u0275\u0275text(1,"NEW"),c.\u0275\u0275elementEnd())}function W(e,t){1&e&&(c.\u0275\u0275elementStart(0,"span",44),c.\u0275\u0275text(1,"NEW"),c.\u0275\u0275elementEnd())}var K=function(){return["/blogs/categories/acorns/all"]},Y=function(){return["/blogs/categories/college-tuition/all"]},J=function(){return["/blogs/categories/entertainment/all"]},Z=function(){return["/blogs/categories/mobile/all"]},Q=function(){return["/blogs/categories/nerdwallet/all"]},X=function(){return["/blogs/categories/press/all"]},ee=function(){return["/blogs/categories/shark-tank/all"]},te=function(){return["/blogs/categories/sharks/all"]},ne=function(){return["/blogs/categories/social-media/all"]},re=function(){return["/blogs/categories/uncategorized/all"]},ie=function(){return["/blogs/categories/wedding/all"]},oe=function(){return["/"]},ae=function(){return{provider:"Fairpoint"}},se=function(){return{provider:"Spectrum"}},le=function(){return{provider:"Terminix"}},ce=function(){return["/bill-negotiation-services"]},ue=function(){return["/negotiate-business-bills"]},de=function(){return["/download-bills"]},he=function(){return["/our-team"]},me=function(){return["/about-us"]},pe=function(){return["/careers"]},fe=function(){return["/reviews"]},ge=function(){return["/our-guarantee"]},ve=function(){return["/rewards"]},_e=function(){return["/contact"]},be=function(){return["/partners"]},ye=function(){return["/media-press"]},Se=function(){return["/terms"]},Ee=function(){return["/privacy"]},we=function(){var e=function(){return l(function e(t,n){u(this,e),this._shared=t,this.cdr=n,this.executed=!1,this.address="",this.executed=this._shared._storageService.executed_current_copy_right},[{key:"ngOnInit",value:function(){this.executed&&this.getYear()}},{key:"ngAfterViewChecked",value:function(){"undefined"!=typeof window&&this.address!==window.location.href&&(this.address=window.location.href)}},{key:"openCookieSettings",value:function(e){if(e&&e.preventDefault(),"undefined"!=typeof window){var t=window;"function"==typeof t.BsReopenBanner?t.BsReopenBanner():t.Cookiebot&&"function"==typeof t.Cookiebot.renew&&t.Cookiebot.renew()}}},{key:"getYear",value:function(){var e=new Date;this._shared._storageService.current_copy_right=e.getUTCFullYear().toString(),this.cdr.detectChanges()}}])}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(v.F1),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))},e.\u0275cmp=c.\u0275\u0275defineComponent({type:e,selectors:[["app-footer"]],decls:153,vars:126,consts:[["id","footer",2,"z-index","2"],[1,"sr-only"],["aria-label","Blog category archive links",1,"sr-only"],[3,"routerLink"],[3,"routerLink","queryParams"],[1,"footer-wrap"],[1,"footer-cols"],[1,"footer-brand"],["aria-label","Billshark Home Page","t
1itle","Billshark Home Page",1,"footer-logo","text-decoration-none",3,"routerLink","queryParamsHandling"],["width","24","height","24","src","assets/bs-favicon-legacy-dark.png","alt","","aria-hidden","true",1,"footer-shark"],["width","121","height","18","src","assets/images/svg/billshark-logo.svg","alt","","aria-hidden","true",1,"footer-wordmark"],[1,"footer-desc"],[1,"footer-apps","mobile-apps"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://apps.apple.com/us/app/billshark-app/id1511593668?ls=1","aria-label","Download on the App Store",1,"text-decoration-none","d-inline-block"],[1,"footer-app"],["width","14","height","14","viewBox","0 0 24 24","aria-hidden","true","focusable","false",1,"footer-app-ic"],["d","M17.05 12.04c-.03-2.6 2.12-3.85 2.22-3.91-1.21-1.77-3.1-2.01-3.77-2.04-1.6-.16-3.12.94-3.93.94-.81 0-2.06-.92-3.39-.89-1.74.03-3.35 1.01-4.25 2.57-1.81 3.14-.46 7.78 1.3 10.32.86 1.24 1.89 2.63 3.23 2.58 1.3-.05 1.79-.84 3.36-.84 1.57 0 2.01.84 3.39.81 1.4-.03 2.29-1.27 3.14-2.51.99-1.44 1.4-2.83 1.42-2.9-.03-.01-2.72-1.05-2.75-4.15zM14.6 4.59c.72-.87 1.2-2.08 1.07-3.29-1.03.04-2.28.69-3.02 1.56-.66.77-1.24 2-1.09 3.18 1.15.09 2.32-.58 3.04-1.45z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://play.google.com/store/apps/details?id=com.billshark.clientapp","aria-label","Get it from Google Play",1,"text-decoration-none","d-inline-block"],["d","M4 2.5 17 10 4 17.5z"],[1,"footer-social"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.facebook.com/BillShark-719644424824267/timeline","aria-label","Follow Billshark on Facebook",1,"text-decoration-none"],["width","20","height","20","viewBox","0 0 24 24","aria-hidden","true","focusable","false"],["d","M13 22v-9h3l.5-3.5H13V7.3c0-1 .3-1.7 1.8-1.7H17V2.4C16.6 2.3 15.4 2.2 14 2.2c-2.9 0-4.9 1.8-4.9 5V9.5H6V13h3v9h4z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.instagram.com/realbillshark/","aria-label","Follow Billshark on Instagram",1,"text-decoration-none"],["d","M12 2.2c3.2 0 3.6 0 4.9.1 1.2.1 1.8.3 2.2.4.6.2 1 .5 1.4.9.4.4.7.8.9 1.4.2.4.4 1 .4 2.2.1 1.3.1 1.7.1 4.9s0 3.6-.1 4.9c-.1 1.2-.3 1.8-.4 2.2-.2.6-.5 1-.9 1.4-.4.4-.8.7-1.4.9-.4.2-1 .4-2.2.4-1.3.1-1.7.1-4.9.1s-3.6 0-4.9-.1c-1.2-.1-1.8-.3-2.2-.4a3.8 3.8 0 0 1-1.4-.9 3.8 3.8 0 0 1-.9-1.4c-.2-.4-.4-1-.4-2.2-.1-1.3-.1-1.7-.1-4.9s0-3.6.1-4.9c.1-1.2.3-1.8.4-2.2.2-.6.5-1 .9-1.4.4-.4.8-.7 1.4-.9.4-.2 1-.4 2.2-.4 1.3-.1 1.7-.1 4.7-.1zM12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0 8.2A3.2 3.2 0 1 1 12 8.8a3.2 3.2 0 0 1 0 6.4zM17.4 6.8a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://twitter.com/realbillshark","aria-label","Follow Billshark on X",1,"text-decoration-none"],["d","M17.5 3h3l-6.6 7.5L21.8 21h-6l-4.7-6.1L5.7 21H2.6l7-8L2.2 3h6.1l4.2 5.6L17.5 3zm-1 16h1.7L7.6 4.8H5.8L16.5 19z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.linkedin.com/company/realbillshark/","aria-label","Follow Billshark on LinkedIn",1,"text-decoration-none"],["d","M4.98 3.5A2.5 2.5 0 1 1 0 3.5a2.5 2.5 0 0 1 4.98 0zM.2 8.4h4.6V24H.2zM8.2 8.4h4.4v2.1h.1c.6-1.1 2.1-2.3 4.3-2.3 4.6 0 5.5 3 5.5 6.9V24h-4.6v-6.9c0-1.6 0-3.7-2.3-3.7s-2.6 1.8-2.6 3.6V24H8.2z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.tiktok.com/@realbillshark","aria-label","Follow Billshark on TikTok",1,"text-decoration-none"],["d","M16.5 2c.3 2.1 1.5 3.7 3.5 4v2.4c-1.2 0-2.4-.4-3.5-1.1v6.9c0 3.4-2.7 6.1-6 6.1s-6-2.7-6-6 2.7-6 6-6c.3 0 .6 0 .9.1v2.5c-.3-.1-.6-.2-.9-.2a3.6 3.6 0 1 0 3.6 3.6V2h2.4z"],[1,"footer-col"],[1,"footer-title"],[1,"footer-item"],["bsAriaCurrent","",1,"text-decoration-none",3,"routerLink","queryParamsHandling"],["class","footer-new",4,"ngIf"],[1,"footer-bottom"],[1,"footer-copy-line"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.apexedge.com"],["bsAriaCurrent","","aria-label","Billshark Terms",3,"routerLink","queryParamsHandling"],["bsAriaCurrent","","aria-label","Billshark Privacy Policy",3,"routerLink","queryParamsHandling"],["href","#","aria-label","Cookie settings",3,"click"],[1,"footer-legal-line"],["href","tel:+18009571710"],[1,"footer-new"]],template:function(e,t){1&e&&(c.\u0275\u0275elementStart(0,"footer",0),c.\u0275\u0275elementStart(1,"p",1),c.\u0275\u0275text(2," Billshark helps lower internet, wireless, cable, satellite radio, and other monthly bills. "),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"p",1),c.\u0275\u0275text(4," Our experts handle providers for customers and share updates throughout the process. "),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"p",1),c.\u0275\u0275text(6," Customers pay only when Billshark finds savings on eligible bills. "),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"nav",2),c.\u0275\u0275elementStart(8,"a",3),c.\u0275\u0275text(9,"Acorns articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"a",3),c.\u0275\u0275text(11,"College tuition articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(12,"a",3),c.\u0275\u0275text(13,"Entertainment articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(14,"a",3),c.\u0275\u0275text(15,"Mobile articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(16,"a",3),c.\u0275\u0275text(17,"NerdWallet articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(18,"a",3),c.\u0275\u0275text(19,"Press articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(20,"a",3),c.\u0275\u0275text(2
11,"Shark Tank articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(22,"a",3),c.\u0275\u0275text(23,"Sharks articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(24,"a",3),c.\u0275\u0275text(25,"Social media articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(26,"a",3),c.\u0275\u0275text(27,"Uncategorized articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(28,"a",3),c.\u0275\u0275text(29,"Wedding articles"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(30,"a",4),c.\u0275\u0275text(31,"Fairpoint bill savings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(32,"a",4),c.\u0275\u0275text(33,"Spectrum bill savings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(34,"a",4),c.\u0275\u0275text(35,"Terminix bill savings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(36,"div",5),c.\u0275\u0275elementStart(37,"div",6),c.\u0275\u0275elementStart(38,"div",7),c.\u0275\u0275elementStart(39,"a",8),c.\u0275\u0275element(40,"img",9),c.\u0275\u0275element(41,"img",10),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(42,"p",11),c.\u0275\u0275text(43," Billshark helps lower internet, wireless, cable, satellite radio, and other monthly bills. Our experts handle providers for you, and you pay only when we find savings. "),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(44,"div",12),c.\u0275\u0275elementStart(45,"a",13),c.\u0275\u0275elementStart(46,"span",14),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(47,"svg",15),c.\u0275\u0275element(48,"path",16),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(49," App Store "),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(50,"a",17),c.\u0275\u0275elementStart(51,"span",14),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(52,"svg",15),c.\u0275\u0275element(53,"path",18),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(54," Google Play "),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(55,"div",19),c.\u0275\u0275elementStart(56,"a",20),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(57,"svg",21),c.\u0275\u0275element(58,"path",22),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(59,"a",23),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(60,"svg",21),c.\u0275\u0275element(61,"path",24),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(62,"a",25),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(63,"svg",21),c.\u0275\u0275element(64,"path",26),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(65,"a",27),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(66,"svg",21),c.\u0275\u0275element(67,"path",28),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(68,"a",29),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(69,"svg",21),c.\u0275\u0275element(70,"path",30),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(71,"div",31),c.\u0275\u0275elementStart(72,"div",32),c.\u0275\u0275text(73,"Bill Negotiation"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(74,"div",33),c.\u0275\u0275elementStart(75,"a",34),c.\u0275\u0275text(76,"All Negotiation Services"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(77,"div",33),c.\u0275\u0275elementStart(78,"a",34),c.\u0275\u0275text(79,"Corporate / Business Billing"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(80,"div",33),c.\u0275\u0275elementStart(81,"a",34),c.\u0275\u0275text(82,"Find Your Provider"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(83,"div",31),c.\u0275\u0275elementStart(84,"div",32),c.\u0275\u0275text(85,"Company"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(86,"div",33),c.\u0275\u0275elementStart(87,"a",34),c.\u0275\u0275text(88,"Our Team "),c.\u0275\u0275template(89,z,2,0,"span",35),c.\u0275\u0275pipe(90,"isNew"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(91,"div",33),c.\u0275\u0275elementStart(92,"a",34),c.\u0275\u0275text(93,"About Us"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(94,"div",33),c.\u0275\u0275elementStart(95,"a",34),c.\u0275\u0275text(96,"Careers"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(97,"div",33),c.\u0275\u0275elementStart(98,"a",34),c.\u0275\u0275text(99,"Reviews"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(100,"div",33),c.\u0275\u0275elementStart(101,"a",34),c.\u0275\u0275text(102,"Mark Cuban Backed"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(103,"div",31),c.\u0275\u0275elementStart(104,"div",32),c.\u0275\u0275text(105,"Need Help?"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(106,"div",33),c.\u0275\u0275elementStart(107,"a",34),c.\u0275\u0275text(108,"Our Guarantee"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(109,"div",33),c.\u0275\u0275elementStart(110,"a",34),c.\u0275\u0275text(111,"Customer Success"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(112,"div",33),c.\u0275\u0275elementStart(113,"a",34),c.\u0275\u0275text(114,"Reward Support"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(115,"div",33),c.\u0275\u0275elementStart(116,"a",34),c.\u0275\u0275text(117,"Accessibility"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(118,"div",31),c.\u0275\u0275elementStart(119,"div",32),c.\u0275\u0275text(120,"Connect"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(121,"div",33),c.\u0275\u0275elementStart(122,"a",34),c.\u0275\u0275text(123,"Contact "),c.\u0275\u0275template(124,W,2,0,"span",35),c.\u0275\u0275pipe(125,"isNew"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(126,"div",33),c.\u0275\u0275elementStart(127,"a",34),c.\u0275\u0275text(128,"Partners"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(129,"div",33),c.\u0275\u0275elementStart(130,"a",34),c.\u0275\u0275text(131,"Security"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(132,"div",33),c.\u0275\u0275elementStart(133,"a",34),c.\u0275\u0275text(134,"Media & Press"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(135,"div",36),c.\u0275\u0275elementStart(136,"span",37),c.\u0275\u0275text(137),c.\u0275\u0275elementStart(138,"a",38),c.\u0275\u0275text(139,"ApexEdge"),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(140," \xb7 "),c.\u0275\u0275elementStart(141,"a",39),c.\u0275\u0275text(142,"Terms"),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(143," \xb7 "),c.\u0275\u0275elementStart(144,"a",40),c.\u0275\u0275text(145,"Privacy Policy"),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(146," \xb7 "),c.\u0275\u0275elementStart(147,"a",41),c.\u0275\u0275listener("click",function(e){return t.openCookieSettings(e)}),c.\u0275\u0275text(148,"Cookie settings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(149,"span",42),c.\u0275\u0275text(150," The Bill Reduction Company, LLC \xb7 PO Box 92, Hopkinton, MA 01748 \xb7 "),c.\u0275\u0275elementStart(151,"a",43),c.\u0275\u0275text(152,"(800)\xa0957-1710"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()),2&e&&(c.\u0275\u0275classProp("footer-login",t._shared._httpService.isUserLogged()),c.\u0275\u0275advance(8),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(94,K)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(95,Y)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(96,J)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(97,Z)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(98,Q)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(99,X)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(100,ee)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(101,te)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(102,ne)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(103,re)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(104,ie)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(105,oe))("queryParams",c.\u0275\u0275pureFunction0(106,ae)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(107,oe))("queryParams",c.\u0275\u0275pureFunction0(108,se)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(109,oe))("queryParams",c.\u0275\u0275pureFunction0(110,le)),c.\u0275\u0275advance(5),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(111,oe))("queryParamsHandling","merge"),c.\u0275\u0275advance(36),c.\u0275\u0275classProp("active",t.address.includes("/bill-negotiation-services")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(112,ce))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/negotiate-business-bills")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(113,ue))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/download-bills")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(114,de))("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(115,he))("queryParamsHandling","merge"),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",c.\u0275\u0275pipeBind1(90,90,"our-team")),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/about-us")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(116,me))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/careers")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(117,pe))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/reviews")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(118,fe))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/blogs/mark-cuban-backs-billshark-prey-for-your-service-providers")),c.\u0275\u0275property("routerLink","/blogs/mark-cuban-backs-billshark-prey-for-your-service-providers")("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275classProp("active",t.address.includes("/our-guarantee")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(119,ge))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/blogs/our-customer-service-manifesto")),c.\u0275\u0275property("routerLink","/blogs/our-customer-service-manifesto")("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/rewards")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(120,ve))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/our-commitment-accessibility")),c.\u0275\u0275property("routerLink","/our-commitment-accessibility")("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275classProp("active",t.address.includes("/contact")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(121,_e))("queryParamsHandling","merge"),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",c.\u0275\u0275pipeBind1(125,92,"contact")),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/partners")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(122,be))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/blogs/powerful-bill-reduction-platform-enables-financial-brands-to-help-consumers-save-money")),c.\u0275\u0275property("routerLink","/blogs/powerful-bill-reduction-platform-enables-financial-brands-to-help-consumers-save-money")("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275classProp("active",t.address.includes("/media-press")),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(123,ye))("queryParamsHandling","merge"),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate1(" \xa9 Copyright ",t._shared._storageService.current_copy_right," Billshark \xb7 Powered by "),c.\u0275\u0275advance(4),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(124,Se))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(125,Ee))("queryParamsHandling","merge"))},directives:[h.yS,N.j,j.Z,f.O5],pipes:[V],styles:['footer[data-_ngcontent-%COMP%], .footer-login[data-_ngcontent-%COMP%]{position:relative;background:#173a6b!important;min-height:var(--footer-min-height);padding:70px 0 26px}.footer-login[data-_ngcontent-%COMP%]{padding-top:48px!important}.footer-wrap[data-_ngcontent-%COMP%]{max-width:1180px;margin:0 auto;padding:0 24px}.footer-cols[data-_ngcontent-%COMP%]{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr 1fr;grid-gap:54px;gap:54px;align-items:start}.footer-title[data-_ngcontent-%COMP%]{color:#fff;font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-size:12.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin:0 0 14px}.footer-item[data-_ngcontent-%COMP%]{padding:0}.footer-item[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]{display:block;padding:5px 0;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-size:14px;letter-spacing:0;text-transform:none;color:#cdd9ec;cursor:pointer;transition:color .15s ease}.footer-item[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]:hover{color:#fff;text-decoration:none}.footer-item[data-_ngcontent-%COMP%]   a.active[data-_ngcontent-%COMP%]{color:#fff}.footer-item[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]:focus-visible{outline:none!important;box-shadow:none!important;color:#fff!important;text-decoration:underline!important;text-decoration-thickness:2px;text-underline-offset:3px}.footer-new[data-_ngcontent-%COMP%]{display:inline-block;background:#f5b417;color:#4a3500;font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-size:8.5px;font-weight:800;letter-spacing:.05em;padding:1px 5px;border-radius:7px;margin-left:6px;vertical-align:middle;text-transform:uppercase}.footer-brand[data-_ngcontent-%COMP%]   .footer-logo[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center;grid-gap:9px;gap:9px;margin-bottom:12px}.footer-brand[data-_ngcontent-%COMP%]   .footer-logo[data-_ngcontent-%COMP%]   .footer-shark[data-_ngcontent-%COMP%]{flex:none}.footer-brand[data-_ngcontent-%COMP%]   .footer-logo[data-_ngcontent-%COMP%]   .footer-wordmark[data-_ngcontent-%COMP%]{display:block;-webkit-filter:brightness(0) invert(1);filter:brightness(0) invert(1);color:#fff;font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-size:21px;font-weight:800;letter-spacing:.04em;line-height:1}.footer-brand[data-_ngcontent-%COMP%]   .footer-logo[data-_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:none!important}.footer-brand[data-_ngcontent-%COMP%]   .footer-logo[data-_ngcontent-%COMP%]:focus-visible   .footer-wordmark[data-_ngcontent-%COMP%]{text-decoration:underline;text-de
1coration-thickness:2px;text-underline-offset:3px}.footer-brand[data-_ngcontent-%COMP%]   .footer-desc[data-_ngcontent-%COMP%]{max-width:280px;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-size:13.5px;line-height:1.6;letter-spacing:0;color:#9fb2cf;margin:0}.footer-apps[data-_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;grid-gap:10px;gap:10px;margin-top:16px}.footer-apps[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]{display:inline-flex;text-decoration:none}.footer-apps[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]:focus-visible{outline:none;outline:2px solid rgba(255,255,255,.85)!important;outline-offset:2px;border-radius:6px;box-shadow:none!important}.footer-apps[data-_ngcontent-%COMP%]   .footer-app[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center;grid-gap:6px;gap:6px;background:#0f2950;border:1px solid #2a4a7d;border-radius:8px;padding:8px 12px;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-size:12px;line-height:1;letter-spacing:0;color:#cdd9ec;transition:background .15s ease,border-color .15s ease}.footer-apps[data-_ngcontent-%COMP%]   .footer-app[data-_ngcontent-%COMP%]   .footer-app-ic[data-_ngcontent-%COMP%]{flex:none;width:14px;height:14px;fill:#cdd9ec}.footer-apps[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]:hover   .footer-app[data-_ngcontent-%COMP%]{background:#143666;border-color:#3a5e96;color:#fff}.footer-apps[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]:hover   .footer-app[data-_ngcontent-%COMP%]   .footer-app-ic[data-_ngcontent-%COMP%]{fill:#fff}.footer-social[data-_ngcontent-%COMP%]{display:flex;grid-gap:12px;gap:12px;margin-top:18px}.footer-social[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center}.footer-social[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]   svg[data-_ngcontent-%COMP%]{width:20px;height:20px;fill:#cdd9ec;transition:fill .15s ease}.footer-social[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]:hover   svg[data-_ngcontent-%COMP%]{fill:#fff}.footer-social[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]:focus-visible{outline:none;outline:2px solid rgba(255,255,255,.85)!important;outline-offset:2px;border-radius:6px;box-shadow:none!important}.footer-bottom[data-_ngcontent-%COMP%]{margin-top:36px;text-align:center;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-size:12.5px;letter-spacing:0;color:#9fb2cf}.footer-bottom[data-_ngcontent-%COMP%]   .footer-copy-line[data-_ngcontent-%COMP%], .footer-bottom[data-_ngcontent-%COMP%]   .footer-legal-line[data-_ngcontent-%COMP%]{display:block;line-height:1.7}.footer-bottom[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]{display:inline;color:#cdd9ec;text-decoration:underline;-webkit-text-decoration-color:transparent;text-decoration-color:transparent}.footer-bottom[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]:hover{color:#fff;text-decoration:underline}.footer-bottom[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]:focus-visible{outline:none;outline:2px solid rgba(255,255,255,.85)!important;outline-offset:2px;border-radius:6px;box-shadow:none!important}.userLogged[data-_ngcontent-%COMP%]{display:none!important}@media (min-width: 621px) and (max-width: 980px){.footer-cols[data-_ngcontent-%COMP%]{grid-template-columns:1.5fr 1fr 1fr;grid-gap:34px 50px;gap:34px 50px;align-items:start}.footer-brand[data-_ngcontent-%COMP%]{grid-column:1;grid-row:1/span 2}}@media (max-width: 620px){footer[data-_ngcontent-%COMP%], .footer-login[data-_ngcontent-%COMP%]{padding-top:70px}.footer-cols[data-_ngcontent-%COMP%]{grid-template-columns:1fr 1fr;grid-gap:26px 52px;gap:26px 52px}.footer-brand[data-_ngcontent-%COMP%]{grid-column:1/-1}.footer-title[data-_ngcontent-%COMP%]{font-size:12px}.footer-item[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]{font-size:13.5px}}@media (min-width: 1024px){.footer-wrap[data-_ngcontent-%COMP%]{max-width:960px;padding-left:15px;padding-right:15px}}@media (min-width: 1024px) and (max-width: 1199px){.footer-cols[data-_ngcontent-%COMP%]{grid-template-columns:2fr 1fr 1fr 1fr 1fr}}@media (min-width: 1200px){.footer-wrap[data-_ngcontent-%COMP%]{max-width:1140px}}']}),e}(),Ce=o(93349),ke=o(45787);function Pe(e,t){1&e&&(c.\u0275\u0275elementStart(0,"div",10),c.\u0275\u0275elementStart(1,"button",11),c.\u0275\u0275text(2,"\xd7"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()),2&e&&(c.\u0275\u0275advance(1),c.\u0275\u0275property("appSidebarToggle","MENU"))}function Te(e,t){if(1&e&&c.\u0275\u0275element(0,"img",22),2&e){var n=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("src",n._shared._httpService.SL_PROFILE_IMG,c.\u0275\u0275sanitizeUrl),c.\u0275\u0275attribute("data-onerror","https://cdn.billshark.com/www3.0/static/image/lazy-load-pixel.png")("data-src",n._shared._httpService.SL_PROFILE_IMG)}}function Oe(e,t){if(1&e&&(c.\u0275\u0275elementStart(0,"div",23),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&e){var n=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",n._shared._cartService.user.getUserInitial()," ")}}function Ie(e,t){if(1&e){var n=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",12),c.\u0275\u0275elementStart(1,"div",13),c.\u0275\u0275elementStart(2,"button",14),c.\u0275\u0275template(3,Te,1,3,"img",15),c.\u0275\u0275template(4,Oe,2,1,"div",16),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"div",17),c.\u0275\u0275elementStart(6,"p",18),c.\u0275\u0275text(7),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(8,"div",19),c.\u0275\u0275elementStart(9,"a",20),c.\u0275\u0275listener("click",function(e){return c.\u0275\u0275restoreView(n),c.\u0275\u0275nextContext().preventMenuInteraction(e)}),c.\u0275\u0275element(10,"div",21),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()}if(2&e){var r=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",r._shared._httpService.SL_PROFILE_IMG),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",!r._shared._httpService.SL_PROFILE_IMG),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate1(" ",r._shared._cartService.user.customer_first_name," "),c.\u0275\u0275advance(2),c.\u0275\u0275classProp("menu-link-disabled",r.isDashboardMenuLocked()),c.\u0275\u0275attribute("aria-disabled",r.isDashboardMenuLocked())("tabindex",r.isDashboardMenuLocked()?-1:0)}}var xe=function(){return["/account"]},Ae=function(){return["/login"]},Me=function(){return["/bill-negotiation-services"]},Re=function(){return["/negotiate-business-bills"]},Ne=function(){return["/download-bills"]},Le=function(){return["/lower/home-security"]},De=function(){return["/lower/internet"]},Fe=function(){return["/lower/wireless"]},Be=function(){return["/about-us"]},Ue=function(){return["/careers"]},He=function(){return["/our-team"]},je=function(){return["/reviews"]},qe=function(){return["/blogs"]},Ge=function(){return["/blogs/categories/all"]},Ve=function(){return["/support"]},ze=function(){return["/speedtest"]};function We(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"div",24),c.\u0275\u0275elementStart(2,"div",25),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(3,"svg",26),c.\u0275\u0275element(4,"circle",27),c.\u0275\u0275element(5,"path",28),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(6,"div",29),c.\u0275\u0275elementStart(7,"div",30),c.\u0275\u0275text(8,"Welcome"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(9,"div",31),c.\u0275\u0275text(10,"Sign in to manage your bills"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(11,"div",32),c.\u0275\u0275elementStart(12,"a",33),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(13,"svg",34),c.\u0275\u0275element(14,"path",35),c.\u0275\u0275element(15,"circle",36),c.\u0275\u0275element(16,"path",37),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(17,"Sign up "),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(18,"a",38),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(19,"svg",34),c.\u0275\u0275element(2
10,"path",39),c.\u0275\u0275element(21,"path",40),c.\u0275\u0275element(22,"path",41),c.\u0275\u0275element(23,"path",42),c.\u0275\u0275element(24,"path",43),c.\u0275\u0275element(25,"path",44),c.\u0275\u0275element(26,"path",45),c.\u0275\u0275element(27,"path",46),c.\u0275\u0275element(28,"path",47),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(29,"Log in "),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(30,"div",48),c.\u0275\u0275text(31,"Bill Negotiation"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(32,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(33,"svg",50),c.\u0275\u0275element(34,"path",51),c.\u0275\u0275element(35,"circle",52),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(36,"span"),c.\u0275\u0275text(37,"All Negotiation Services"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(38,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(39,"svg",50),c.\u0275\u0275element(40,"rect",53),c.\u0275\u0275element(41,"path",54),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(42,"span"),c.\u0275\u0275text(43,"Corporate / Business Billing"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(44,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(45,"svg",50),c.\u0275\u0275element(46,"circle",55),c.\u0275\u0275element(47,"path",56),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(48,"span"),c.\u0275\u0275text(49,"Find Your Provider"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(50,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(51,"svg",50),c.\u0275\u0275element(52,"path",57),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(53,"span"),c.\u0275\u0275text(54,"Home Security"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(55,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(56,"svg",50),c.\u0275\u0275element(57,"path",58),c.\u0275\u0275element(58,"path",59),c.\u0275\u0275element(59,"circle",60),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(60,"span"),c.\u0275\u0275text(61,"Internet & Cable"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(62,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(63,"svg",50),c.\u0275\u0275element(64,"rect",61),c.\u0275\u0275element(65,"path",62),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(66,"span"),c.\u0275\u0275text(67,"Phone & Wireless"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(68,"div",48),c.\u0275\u0275text(69,"Company"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(70,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(71,"svg",50),c.\u0275\u0275element(72,"circle",63),c.\u0275\u0275element(73,"path",64),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(74,"span"),c.\u0275\u0275text(75,"About Us"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(76,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(77,"svg",50),c.\u0275\u0275element(78,"rect",65),c.\u0275\u0275element(79,"path",66),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(80,"span"),c.\u0275\u0275text(81,"Careers"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(82,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(83,"svg",50),c.\u0275\u0275element(84,"path",67),c.\u0275\u0275element(85,"circle",68),c.\u0275\u0275element(86,"path",69),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(87,"span"),c.\u0275\u0275text(88,"Our Team"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(89,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(90,"svg",50),c.\u0275\u0275element(91,"path",70),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(92,"span"),c.\u0275\u0275text(93,"Reviews"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(94,"div",48),c.\u0275\u0275text(95,"Resources"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(96,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(97,"svg",50),c.\u0275\u0275element(98,"path",71),c.\u0275\u0275element(99,"path",72),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(100,"span"),c.\u0275\u0275text(101,"Blog"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(102,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(103,"svg",50),c.\u0275\u0275element(104,"rect",73),c.\u0275\u0275element(105,"rect",74),c.\u0275\u0275element(106,"rect",75),c.\u0275\u0275element(107,"rect",76),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(108,"span"),c.\u0275\u0275text(109,"Blog - All Categories"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(110,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(111,"svg",50),c.\u0275\u0275element(112,"circle",63),c.\u0275\u0275element(113,"path",77),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(114,"span"),c.\u0275\u0275text(115,"FAQs"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(116,"a",49),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(117,"svg",50),c.\u0275\u0275element(118,"path",78),c.\u0275\u0275element(119,"path",79),c.\u0275\u0275element(120,"circle",80),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(121,"span"),c.\u0275\u0275text(122,"Speed Test"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd()),2&e&&(c.\u0275\u0275advance(12),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(32,xe))("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(33,Ae))("queryParamsHandling","merge"),c.\u0275\u0275advance(14),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(34,Me))("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(35,Re))("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(36,Ne))("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(37,Le))("queryParamsHandling","merge"),c.\u0275\u0275advance(5),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(38,De))("queryParamsHandling","merge"),c.\u0275\u0275advance(7),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(39,Fe))("queryParamsHandling","merge"),c.\u0275\u0275advance(8),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(40,Be))("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(41,Ue))("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(42,He))("queryParamsHandling","merge"),c.\u0275\u0275advance(7),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(43,je))("queryParamsHandling","merge"),c.\u0275\u0275advance(7),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(44,qe))("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(45,Ge))("queryParamsHandling","merge"),c.\u0275\u0275advance(8),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(46,Ve))("queryParamsHandling","merge"),c.\u0275\u0275advance(6),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(47,ze))("queryParamsHandling","merge"))}function $e(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",93),c.\u0275\u0275elementContainerEnd())}function Ke(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",94),c.\u0275\u0275elementContainerEnd())}function Ye(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",95),c.\u0275\u0275elementContainerEnd())}function Je(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",96),c.\u0275\u0275elementContainerEnd())}function Ze(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",97),c.\u0275\u0275elementContainerEnd())}function Qe(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",98),c.\u0275\u0275elementContainerEnd())}function Xe(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(1,"svg",99),c.\u0275\u0275element(2,"path",100),c.\u0275\u0275element(3,"path",101),c.\u0275\u0275element(4,"path",102),c.\u0275\u0275element(5,"circle",103),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}function et(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",104),c.\u0275\u0275elementContainerEnd())}function tt(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",105),c.\u0275\u0275elementContainerEnd())}function nt(e,t){1&e&&c.\u0275\u0275elementContainer(0)}var rt=function(e){return[e]};function it(e,t){if(1&e){var n=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"a",85),c.\u0275\u0275listener("click",function(e){return c.\u0275\u0275restoreView(n),c.\u0275\u0275nextContext(4).preventMenuInteraction(e)}),c.\u0275\u0275elementStart(1,"div",86),c.\u0275\u0275elementStart(2,"div",87),c.\u0275\u0275elementContainerStart(3,88),c.\u0275\u0275template(4,$e,2,0,"ng-container",89),c.\u0275\u0275template(5,Ke,2,0,"ng-container",89),c.\u0275\u0275template(6,Ye,2,0,"ng-container",89),c.\u0275\u0275template(7,Je,2,0,"ng-container",89),c.\u0275\u0275template(8,Ze,2,0,"ng-container",89),c.\u0275\u0275template(9,Qe,2,0,"ng-container",89),c.\u0275\u0275template(10,Xe,6,0,"ng-container",89),c.\u0275\u0275template(11,et,2,0,"ng-container",89),c.\u0275\u0275template(12,tt,2,0,"ng-container",89),c.\u0275\u0275template(13,nt,1,0,"ng-container",90
1),c.\u0275\u0275elementContainerEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(14,"div",91),c.\u0275\u0275elementStart(15,"div",92),c.\u0275\u0275text(16),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()}if(2&e){var r=c.\u0275\u0275nextContext(2).$implicit,i=c.\u0275\u0275nextContext(2);c.\u0275\u0275classProp("menu-link-disabled",i.isDashboardMenuLocked()),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction1(22,rt,r.url))("queryParams",r.params)("queryParamsHandling","merge"),c.\u0275\u0275attribute("aria-disabled",i.isDashboardMenuLocked())("tabindex",i.isDashboardMenuLocked()?-1:0),c.\u0275\u0275advance(1),c.\u0275\u0275classProp("active",i._shared._seoService.path==r.url)("menu-options--disabled",i.isDashboardMenuLocked()),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngSwitch",r.label),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","Sign up"),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","Log in"),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","Lower Your Bills"),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","My bills"),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","Reviews"),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","FAQs"),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","Help"),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","Blog"),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","Log out"),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(r.label)}}function ot(e,t){1&e&&c.\u0275\u0275element(0,"hr",106)}function at(e,t){if(1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,it,17,24,"a",83),c.\u0275\u0275template(2,ot,1,0,"hr",84),c.\u0275\u0275elementContainerEnd()),2&e){var n=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf","_self"===n.target),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf","Log in"==n.label)}}function st(e,t){if(1&e&&(c.\u0275\u0275elementStart(0,"a",110),c.\u0275\u0275elementStart(1,"div",92),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()),2&e){var n=c.\u0275\u0275nextContext(3).$implicit;c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction1(4,rt,n.url))("queryParams",n.params)("queryParamsHandling","merge"),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(n.label)}}function lt(e,t){if(1&e&&(c.\u0275\u0275elementStart(0,"a",111),c.\u0275\u0275elementStart(1,"div",92),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()),2&e){var n=c.\u0275\u0275nextContext(3).$implicit;c.\u0275\u0275propertyInterpolate("href",n.url,c.\u0275\u0275sanitizeUrl),c.\u0275\u0275propertyInterpolate("target",n.target),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(n.label)}}function ct(e,t){if(1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,st,3,6,"a",107),c.\u0275\u0275template(2,lt,3,3,"a",108),c.\u0275\u0275element(3,"hr",109),c.\u0275\u0275elementContainerEnd()),2&e){var n=c.\u0275\u0275nextContext(2).$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf","_self"===n.target),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf","_self"!==n.target)}}function ut(e,t){if(1&e&&c.\u0275\u0275template(0,ct,4,2,"ng-container",9),2&e){var n=c.\u0275\u0275nextContext(3);c.\u0275\u0275property("ngIf",n.referral_menu)}}function dt(e,t){if(1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,at,3,2,"ng-container",9),c.\u0275\u0275template(2,ut,1,1,"ng-template",null,82,c.\u0275\u0275templateRefExtractor),c.\u0275\u0275elementContainerEnd()),2&e){var n=t.$implicit,r=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",void 0===n.private||r._shared._httpService.isUserLogged()===n.private)}}function ht(e,t){if(1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,dt,4,1,"ng-container",81),c.\u0275\u0275elementContainerEnd()),2&e){var n=c.\u0275\u0275nextContext();c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",n._shared._seoService.menu)}}var mt=function(){return["/"]},pt=function(){var e=function(){return l(function e(t,n){u(this,e),this._shared=t,this._host=n,this.SETTINGS=g.L6,this.referral_menu=!1,this._menuWasOpen=!1,this._returnFocusEl=null},[{key:"onResize",value:function(){"undefined"!=typeof window&&window.innerWidth>=1024&&g.lw.MENU&&(g.lw.MENU=!1)}},{key:"ngDoCheck",value:function(){var e=this,t=!!g.lw.MENU;if(t!==this._menuWasOpen&&(this._menuWasOpen=t,"undefined"!=typeof document))if(t)this._returnFocusEl=document.activeElement,setTimeout(function(){var t=e._host.nativeElement.querySelector(".drawer-close")||e._getFocusable()[0];null==t||t.focus()});else{var n=this._returnFocusEl;this._returnFocusEl=null,setTimeout(function(){var e,t=n&&n!==document.body&&document.contains(n)?n:document.querySelector(".header-hamburger");null===(e=null==t?void 0:t.focus)||void 0===e||e.call(t)})}}},{key:"onKeydown",value:function(e){if(g.lw.MENU){if("Escape"===e.key)return e.preventDefault(),void(g.lw.MENU=!1);if("Tab"===e.key){var t=this._getFocusable();if(!t.length)return;var n=t[0],r=t[t.length-1],i=document.activeElement;e.shiftKey&&i===n?(e.preventDefault(),r.focus()):!e.shiftKey&&i===r&&(e.preventDefault(),n.focus())}}}},{key:"_getFocusable",value:function(){return Array.from(this._host.nativeElement.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not
1([tabindex="-1"])')).filter(function(e){return e.getClientRects().length>0})}},{key:"isDashboardMenuLocked",value:function(){return this._shared._httpService.isUserLogged()&&this._shared._utilService.dashboardMenuLoading}},{key:"preventMenuInteraction",value:function(e){this.isDashboardMenuLocked()&&(e.preventDefault(),e.stopPropagation())}},{key:"ngAfterViewChecked",value:function(){}}])}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(ke.F),c.\u0275\u0275directiveInject(c.ElementRef))},e.\u0275cmp=c.\u0275\u0275defineComponent({type:e,selectors:[["app-menu"]],hostBindings:function(e,t){1&e&&c.\u0275\u0275listener("resize",function(){return t.onResize()},!1,c.\u0275\u0275resolveWindow)("keydown",function(e){return t.onKeydown(e)})},decls:11,vars:7,consts:[["aria-label","Application Menu",1,"bs-menu"],[1,"container","bs-menu-header","px-4","pt-2","pt-md-3","pb-md-0","mb-0","justify-content-between"],[1,"pl-1","row","justify-content-start","align-items-center",2,"height","36px"],["role","button","aria-label","Billshark Menu Img",1,"col-10","col-md-10","drawer-logo","pl-0","mr-3",3,"routerLink","queryParamsHandling"],["width","26","height","26","src","assets/bs-favicon-legacy.png","alt","","aria-hidden","true",1,"drawer-shark"],["width","108","height","16","src","assets/images/svg/billshark-logo.svg","alt","","aria-hidden","true",1,"menu-logo-svg"],["class","col-1 px-0",4,"ngIf"],["class","row d-flex justify-content-center align-items-baseline pt-4 pb-0",4,"ngIf"],[1,"bs-menu-content","px-2","ml-1",2,"scale","0.9","transform-origin","top center"],[4,"ngIf"],[1,"col-1","px-0"],["type","button","aria-label","Close menu",1,"drawer-close",3,"appSidebarToggle"],[1,"row","d-flex","justify-content-center","align-items-baseline","pt-4","pb-0"],[1,"col-1","col-md-2","px-0","pl-md-3","pr-md-4"],["aria-expanded","false","tabindex","0",1,"summaryMenu","btn","badge","user-badge","rounded-circle","text-color-green-255e8f","d-flex",2,"width","48px !important","height","48px !important","background-color","#d9d9d9 !important","font-size","large !important"],["class","lazy","alt","profile-img","class","user-badge rounded-circle",3,"src",4,"ngIf"],["class","m-auto",4,"ngIf"],[1,"col-9","col-md-7","pl-3","pr-0","ml-3"],[1,"bs-user_name","mb-0"],[1,"col-1","col-md-2","pl-2"],["role","button","data-toggle","modal","data-target","#modalSettings",1,"text-decoration-none",3,"click"],[1,"sprite-billshark-home-settings-menu",2,"position","relative","top","5px"],["alt","profile-img",1,"user-badge","rounded-circle",3,"src"],[1,"m-auto"],[1,"drawer-me"],[1,"drawer-av"],["width","19.8","height","19.8","viewBox","0 0 24 24","aria-hidden","true"],["cx","12","cy","8","r","4"],["d","M4 21a8 8 0 0 1 16 0"],[1,"drawer-who"],[1,"drawer-who-n"],[1,"drawer-who-s"],[1,"drawer-auth"],[1,"drawer-btn","drawer-btn-filled","text-decoration-none","btn-shark",3,"routerLink","queryParamsHandling"],["width","15.3","height","15.3","viewBox","0 0 24 24","aria-hidden","true","focusable","false",1,"drawer-btn-ic"],["d","M14 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"],["cx","8","cy","7","r","4"],["d","M19 8v6M22 11h-6"],[1,"drawer-btn","drawer-btn-ghost","text-decoration-none",3,"routerLink","queryParamsHandling"],["d","M2 12C2 6.5 6.5 2 12 2a10 10 0 0 1 8 4"],["d","M5 19.5C5.5 18 6 15 6 12c0-.7.12-1.37.34-2"],["d","M17.29 21.02c.12-.6.43-2.3.5-3.02"],["d","M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4"],["d","M8.65 22c.2-.66.45-1.32.57-2"],["d","M14 13.12c0 2.38 0 6.38-1 8.88"],["d","M2 16h.01"],["d","M21.8 16c.2-2 .13-5.35 0-6"],["d","M9 6.8a6 6 0 0 1 9 5.2v2"],[1,"drawer-grp"],[1,"drawer-link","text-decoration-none",3,"routerLink","queryParamsHandling"],["width","18","height","18","viewBox","0 0 24 24","aria-hidden","true",1,"drawer-ic"],["d","M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0l-7-7A2 2 0 0 1 3 12.2V5a2 2 0 0 1 2-2h7.2a2 2 0 0 1 1.4.6l7 7a2 2 0 0 1 0 2.8z"],["cx","7.5","cy","7.5","r","1.4"],["x","4","y","3","width","11","height","18","rx","1.5"],["d","M8 7h3M8 11h3M8 15h3M15 9h4a1 1 0 0 1 1 1v11"],["cx","11","cy","11","r","7"],["d","M21 21l-4.3-4.3"],["d","M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z"],["d","M5 12.6a10 10 0 0 1 14 0"],["d","M8.5 15.8a5 5 0 0 1 7 0"],["cx","12","cy","19","r","1.1","fill","currentColor","stroke","none"],["x","7","y","2.5","width","10","height","19","rx","2.5"],["d","M10.5 18.5h3"],["cx","12","cy","12","r","9"],["d","M12 16v-4M12 8h.01"],["x","3","y","7","width","18","height","13","rx","2"],["d","M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18"],["d","M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"],["cx","9","cy","7","r","4"],["d","M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75"],["d","M12 3l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9 6.8 19.6l1-5.8L3.5 9.7l5.9-.9z"],["d","M6 2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"],["d","M14 2v6h6M8 13h8M8 17h5"],["x","3","y","4","width","7","height","7","rx","1.5"],["x","14","y","4","width","7","height","7","rx","1.5"],["x","3","y","14","width","7","height","7","rx","1.5"],["x","14","y","14","width","7","height","7","rx","1.5"],["d","M9.6 9.2a2.4 2.4 0 1 1 3.3 2.2c-.7.4-1 .8-1 1.6M12 16.5h.01"],["d","M4.6 18a9 9 0 1 1 14.8 0"],["d","M12 13l3.5-3.5"],["cx","12","cy","13","r","1.3"],[4,"ngFor","ngForOf"],["referral",""],["class","text-decoration-none",3,"menu-link-disabled","routerLink","queryParams","queryParamsHandling","click",4,"ngIf"],["class","w-100 my-4","style","color: #ebeff3; opacity: 1",4,"ngIf"],[1,"text-decoration-none",3,"routerLink","queryParams","queryParamsHandling","click"],["id","other_options",1,"row","align-items-center","menu-options","mb-2","font-inter-regular"],[1,"col-2","py-3","text-right"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"col-10"],[1,"py-3"],[1,"sprite-billshark-home-account"],[1,"sprite-billshark-home-login"],[1,"sprite-billshark-home-lower-bills"],[1,"sprite-billshark-home-dashboard"],[1,"sprite-billshark-home-review-menu"],[1,"sprite-billshark-home-faq-menu"],["width","24","height","24","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg","aria-hidden","true","focusable","false",1,"menu-inline-icon","menu-help-icon"],["d","M6.5 4.5H14.5L17.5 7.5V19.5H6.5V4.5Z"],["d","M14.5 4.5V7.5H17.5"],["d","M10.25 10.1C10.25 8.75 11.33 7.75 12.75 7.75C14.09 7.75 15.1 8.62 15.1 9.87C15.1 10.92 14.51 11.47 13.68 12.02C12.95 12.5 12.5 12.9 12.5 13.75V14.02"],["cx","12.5","cy","16.7","r","1"],[1,"sprite-billshark-home-blog-menu"],[1,"sprite-billshark-home-logout-menu"],[1,"w-100","my-4",2,"color","#ebeff3","opacity","1"],["class","text-decoration-none",3,"routerLink","queryParams","queryParamsHandling",4,"ngIf"],["class","text-decoration-none","rel","noopener",3,"href","target",4,"ngIf"],[1,"w-100","opacity-30","m-0",2,"color","#004181"],[1,"text-decoration-none",3,"routerLink","queryParams","queryParamsHandling"],["rel","noopener",1,"text-decoration-none",3,"href","target"]],template:function(e,t){1&e&&(c.\u0275\u0275elementStart(0,"nav",0),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275elementStart(3,"a",3),c.\u0275\u0275element(4,"img",4),c.\u0275\u0275element(5,"img",5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Pe,3,1,"div",6),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(7,Ie,11,7,"div",7),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(8,"div",8),c.\u0275\u0275template(9,We,123,48,"ng-container",9),c.\u0275\u0275template(10,ht,2,1,"ng-container",9),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()),2&e&&(c.\u0275\u0275advance(3),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(6,mt))("queryParamsHandling","merge"),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",t._shared._seoService.isHamburgerMenu()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",t._shared._httpService.isUserLogged()&&(null==t._shared._cartService.user?null:t._shared._cartService.user.customer_first_name)),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!t._shared._httpService.isUserLogged()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",t._shared._httpService.isUserLogged()))},directives:[h.yS,N.j,f.O5,b.T,f.sg,f.RF,f.n9,f.ED],styles:['.bs-menu[data-_ngcontent-%COMP%]{z-index:1030}.bs-menu[data-_ngcontent-%COMP%]   .bs-menu-header[data-_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.5)}.bs-menu[data-_ngcontent-%COMP%]   .bs-menu-content[data-_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:16px;line-height:19px}.bs-menu[data-_ngcontent-%COMP%]   .bs-menu-content[data-_ngcontent-%COMP%]   a[data-_ngcontent-%COMP%]{font-size:16px;color:#55595d}.bs-user_name[data-_ngcontent-%COMP%]{color:#55595d}.menu-link-disabled[data-_ngcontent-%COMP%]{pointer-events:none}.menu-options--disabled[data-_ngcontent-%COMP%]{opacity:.45;cursor:not-allowed}.menu-inline-icon[data-_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px}.menu-help-icon[data-_ngcontent-%COMP%]{color:#004181;
1fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.menu-help-icon[data-_ngcontent-%COMP%]   circle[data-_ngcontent-%COMP%]{fill:currentColor;stroke:none}.bg-bs_images_close[data-_ngcontent-%COMP%]{position:relative;top:8px}.button[data-_ngcontent-%COMP%]{background-color:#fff!important;color:#0a2e49!important;font-size:18px!important}.menu-options.active[data-_ngcontent-%COMP%], .menu-options[data-_ngcontent-%COMP%]:hover{background-color:#fff;color:#004181;border:1px solid #004181;border-radius:50px;font-weight:bold}.menu-options.active[data-_ngcontent-%COMP%]   object[data-_ngcontent-%COMP%], .menu-options[data-_ngcontent-%COMP%]:hover   object[data-_ngcontent-%COMP%]{fill:#173a6b!important}object[data-_ngcontent-%COMP%]{fill:#55595d}.menu-options[data-_ngcontent-%COMP%]:not(.active):hover{background-color:#eef7ff!important;border:unset;color:#173a6b;font-weight:400}.menu-options[data-_ngcontent-%COMP%]:not(.active):hover   object[data-_ngcontent-%COMP%]{fill:#173a6b!important}@media (max-width: 767.98px){.menu-logo-svg[data-_ngcontent-%COMP%]{position:relative;top:0}}.drawer-close[data-_ngcontent-%COMP%]{font-size:26px;line-height:1;color:#173a6b;cursor:pointer;background:none;border:0;padding:0}.drawer-logo[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:8px;gap:8px;text-decoration:none}.drawer-shark[data-_ngcontent-%COMP%]{flex:0 0 auto}.drawer-auth[data-_ngcontent-%COMP%]{display:flex;grid-gap:10px;gap:10px;margin:8px 0 18px}.drawer-auth[data-_ngcontent-%COMP%]   .drawer-btn[data-_ngcontent-%COMP%]{flex:1;display:inline-flex;align-items:center;justify-content:center;grid-gap:7px;gap:7px;text-align:center;padding:11px 12px;border-radius:6px;font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-weight:600;font-size:16px;line-height:1.1}.drawer-auth[data-_ngcontent-%COMP%]   .drawer-btn[data-_ngcontent-%COMP%]   .drawer-btn-ic[data-_ngcontent-%COMP%]{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.drawer-btn-filled[data-_ngcontent-%COMP%]{background:#004181;color:#fff!important}.drawer-btn-ghost[data-_ngcontent-%COMP%]{border:1.5px solid #004181;color:#004181!important}.drawer-grp[data-_ngcontent-%COMP%]{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#1f5fae;padding:16px 6px 4px}.drawer-me[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:12px;gap:12px;padding:12px 6px 16px;margin-bottom:12px;border-bottom:1px solid #ebeff3}.drawer-av[data-_ngcontent-%COMP%]{width:42px;height:42px;border-radius:50%;flex:none;background:#eaf3fc;display:flex;align-items:center;justify-content:center}.drawer-av[data-_ngcontent-%COMP%]   svg[data-_ngcontent-%COMP%]{width:22px;height:22px;fill:none;stroke:#1f5fae;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.drawer-who-n[data-_ngcontent-%COMP%]{font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-weight:700;font-size:16px;color:#173a6b;line-height:1.2}.drawer-who-s[data-_ngcontent-%COMP%]{font-size:13px;color:#556475;margin-top:2px}
1.drawer-link[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:12px;gap:12px;padding:12px 6px;color:#1d3d63!important;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-weight:400;font-size:15px;text-decoration:none}.drawer-ic[data-_ngcontent-%COMP%]{width:20px;height:20px;flex:none;color:#1f5fae;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.drawer-link[data-_ngcontent-%COMP%]:hover{background:#eef7ff}.drawer-logo[data-_ngcontent-%COMP%]:focus-visible{outline:2px solid #1f5fae;outline-offset:2px;border-radius:6px}.drawer-link[data-_ngcontent-%COMP%]:focus-visible{outline:2px solid #1f5fae;outline-offset:-2px;border-radius:6px}']}),e}(),ft=function(){var e=function(){return l(function e(t){u(this,e),this._shared=t,this.getNotificationTime=3e5,this.showNotificationTime=125e3,this.closeNotificationTime=7e3,this.notificationList=[],this.currentNotificationIndex=0},[{key:"ngOnInit",value:function(){var e=this;this._shared._utilService.isPlatformServer||v.fK.afterWindowOnLoad(function(){e.getNotificationToShow()})}},{key:"getNotificationToShow",value:function(){var e=this;setTimeout(function(){e._shared._httpService.httpRequest(g.bl.API_ENDPOINTS.NOTIFICATIONS,g.I5.GET,null,null,!1).then(function(t){var n=JSON.parse(JSON.stringify(t));e.notificationList=n.bills,e.showNotificationList(e.notificationList)}).catch(function(){e.getNotificationToShow()})},this.getNotificationTime)}},{key:"showNotificationList",value:function(e){var t=this;this.notification=e[this.currentNotificationIndex],this.notification&&(0===this.currentNotificationIndex?this.showNotification(this.notification):setTimeout(function(){t.showNotification(t.notification)},this.showNotificationTime))}},{key:"showNotification",value:function(e){var t=this;this.fillNotification(e);var n=document.getElementById("user-notification");!n||(n.classList.toggle("has-widget",!!document.getElementById("grsf-widget")),n.classList.remove("show"),n.classList.add("show"),setTimeout(function(){t.closeNotification()},this.closeNotificationTime))}},{key:"closeNotification",value:function(){var e=document.getElementById("user-notification");e&&e.classList.remove("show"),setTimeout(function(){var e=document.getElementById("notification-name");e&&(e.textContent="")},1e3),this.currentNotificationIndex=this.currentNotificationIndex+1,this.currentNotificationIndex===this.notificationList.length?this.getNotificationToShow():this.showNotificationList(this.notificationList)}},{key:"fillNotification",value:function(e){var t=e.contact_name||"",n=function(e,t){var n=document.getElementById(e);n&&(n.textContent=t)};n("notification-name",t),n("notification-provider",e.provider_name?e.provider_name+" ":""),n("notification-time",this.relativeTime(e));var r=document.getElementById("notification-avatar");r&&(r.textContent=this.initialFor(t),r.style.background=this.avatarColor(t))}},{key:"avatarColor",value:function(e){for(var t=["#1f5fae","#149384","#6f54c9","#db5238","#cf9405"],n=0,r=0;r<(e||"").length;r++)n+=e.charCodeAt(r);return t[n%t.length]}},{key:"initialFor",value:function(e){var t=(e||"").match(/[a-z0-9]/i);return(t?t[0]:"B").toUpperCase()}},{key:"relativeTime",value:function(e){var t=e&&(e.created_at||e.createdAt||e.date||e.time||e.timestamp||e.created||e.updated_at),n=t?new Date(t).getTime():NaN;if(!t||isNaN(n))return"Just now";var r=Math.max(0,Math.round((Date.now()-n)/6e4));if(r<1)return"Just now";if(r<60)return 1===r?"1 min ago":r+" min ago";var i=Math.round(r/60);return 1===i?"1 hour ago":i+" hours ago"}},{key:"sanitize",value:function(e){return e.replace(/[^a-z0-9 .,;:~`@#$%*()\-_\/'"]/gim,"")}}])}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(v.F1))},e.\u0275cmp=c.\u0275\u0275defineComponent({type:e,selectors:[["app-ice-shaker"]],decls:10,vars:0,consts:[["id","user-notification","role","status","aria-live","polite","aria-label","Billshark activity notification",1,"sproof"],["id","notification-avatar","aria-hidden","true",1,"av"],[1,"txt"],["id","notification-name"],["id","notification-provider"],["id","notification-time",1,"when"],["type","button","aria-label","Dismiss notification",1,"x",3,"click"]],template:function(e,t){1&e&&(c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275element(1,"span",1),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275element(3,"b",3),c.\u0275\u0275text(4," just hired Billshark to lower their "),c.\u0275\u0275element(5,"span",4),c.\u0275\u0275text(6,"bill. "),c.\u0275\u0275element(7,"span",5),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(8,"button",6),c.\u0275\u0275listener("click",function(){return t.closeNotification()}),c.\u0275\u0275text(9," \xd7 "),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd())},styles:['#user-notification[data-_ngcontent-%COMP%]{position:fixed;left:22px;bottom:22px;z-index:120;width:330px;max-width:calc(100% - 44px);background:#fff;border:1px solid #e2e8f1;border-radius:14px;box-shadow:0 14px 38px rgba(20,45,85,.18);padding:13px 40px 13px 14px;display:flex;align-items:center;grid-gap:12px;gap:12px;opacity:0;transform:translateY(16px);pointer-events:none;transition:opacity .35s ease,transform .35s ease}#user-notification.show[data-_ngcontent-%COMP%]{opacity:1;transform:translateY(0);pointer-events:auto}#user-notification.has-widget[data-_ngcontent-%COMP%]{bottom:96px}#user-notification[data-_ngcontent-%COMP%]   .av[data-_ngcontent-%COMP%]{width:42px;height:42px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:16px;text-transform:uppercase}#user-notification[data-_ngcontent-%COMP%]   .txt[data-_ngcontent-%COMP%]{font-size:13px;color:#2b3a4d;line-height:1.4}#user-notification[data-_ngcontent-%COMP%]   .txt[data-_ngcontent-%COMP%]   b[data-_ngcontent-%COMP%]{color:#173a6b;font-weight:800}#user-notification[data-_ngcontent-%COMP%]   .when[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:5px;gap:5px;font-size:11px;color:#556475;margin-top:3px;font-weight:600}#user-notification[data-_ngcontent-%COMP%]   .when[data-_ngcontent-%COMP%]:before{content:"";width:6px;height:6px;border-radius:50%;background:#18a558;box-shadow:0 0 0 3px rgba(24,165,88,.161)}#user-notification[data-_ngcontent-%COMP%]   .x[data-_ngcontent-%COMP%]{position:absolute;top:8px;right:9px;width:22px;height:22px;border:0;background:#f1f5fb;color:#556475;border-radius:50%;font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}#user-notification[data-_ngcontent-%COMP%]   .x[data-_ngcontent-%COMP%]:hover{background:#e2e8f1;color:#173a6b}@media (max-width: 560px){#user-notification[data-_ngcontent-%COMP%]{left:10px;right:10px;bottom:10px;width:auto;max-width:none}}']}),e}(),gt=function(){var e=function(){function e(t,n,r){var i=this;u(this,e),this._el=t,this._utilService=n,this.platformId=r,this.hiddenHandler=function(){i._utilService.removeToast(i.bsToast)},this.showTimeout=null}return l(e,[{key:"ngAfterViewInit",value:function(){var e=this;!(0,f.NF)(this.platformId)||(this.showTimeout=setTimeout(function(){e.initializeToast()}))}},{key:"ngOnDestroy",value:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null),"undefined"!=typeof $&&$(this._el.nativeElement).off("hidden.bs.toast",this.hiddenHandler)}},{key:"show",value:function(){return(0,p.mG)(this,void 0,void 0,n().m(function e(){return n().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.ensureToastPlugin();case 1:this.hasToastPlugin()&&($(this._el.nativeElement).toast("show"),this._utilService.toasts.length>2&&$(".bs-toasts>.toast:nth-child(1)").toast("hide"));case 2:return e.a(2)}},e,this)}))}},{key:"hide",value:function(){return(0,p.mG)(this,void 0,void 0,n().m(function e(){return n().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.ensureToastPlugin();case 1:this.hasToastPlugin()&&$(this._el.nativeElement).toast("hide");case 2:return e.a(2)}},e,this)}))}},{key:"initializeToast",value:function(){return(0,p.mG)(this,void 0,void 0,n().m(function e(){return n().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.ensureToastPlugin();
1case 1:if(!this.hasToastPlugin()){e.n=2;break}return $(this._el.nativeElement).off("hidden.bs.toast",this.hiddenHandler).on("hidden.bs.toast",this.hiddenHandler),e.n=2,this.show();case 2:return e.a(2)}},e,this)}))}},{key:"ensureToastPlugin",value:function(){var t=this;return!(0,f.NF)(this.platformId)||"undefined"==typeof $||this.hasToastPlugin()?Promise.resolve():(e.toastPluginReady||(e.toastPluginReady=this._utilService.ensureVendor().then(function(){return t._utilService.loadScript(g.p_.BOOTSTRAP_TOAST)}).then(function(){})),e.toastPluginReady)}},{key:"hasToastPlugin",value:function(){return"undefined"!=typeof $&&!!$.fn&&"function"==typeof $.fn.toast}}])}();return e.toastPluginReady=null,e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(v.fK),c.\u0275\u0275directiveInject(c.PLATFORM_ID))},e.\u0275dir=c.\u0275\u0275defineDirective({type:e,selectors:[["","bsToast",""]],inputs:{bsToast:"bsToast"},exportAs:["bsToast"]}),e}();function vt(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275text(1,"\u2713"),c.\u0275\u0275elementContainerEnd())}function _t(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275text(1,"!"),c.\u0275\u0275elementContainerEnd())}function bt(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275text(1,"i"),c.\u0275\u0275elementContainerEnd())}function yt(e,t){if(1&e&&(c.\u0275\u0275elementStart(0,"div",13),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&e){var n=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(n.title)}}function St(e,t){if(1&e&&(c.\u0275\u0275elementStart(0,"div",14),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&e){var n=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(n.desc)}}function Et(e,t){if(1&e){var n=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",2,3),c.\u0275\u0275elementStart(2,"span",4),c.\u0275\u0275template(3,vt,2,0,"ng-container",5),c.\u0275\u0275template(4,_t,2,0,"ng-container",5),c.\u0275\u0275template(5,bt,2,0,"ng-container",6),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(6,"div",7),c.\u0275\u0275template(7,yt,2,1,"div",8),c.\u0275\u0275element(8,"div",9),c.\u0275\u0275template(9,St,2,1,"div",10),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"button",11),c.\u0275\u0275listener("click",function(){return c.\u0275\u0275restoreView(n),c.\u0275\u0275reference(1).hide()}),c.\u0275\u0275elementStart(11,"span",12),c.\u0275\u0275text(12,"\xd7"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()}if(2&e){var r=t.$implicit,i=c.\u0275\u0275nextContext();c.\u0275\u0275classProp("ok","success"===r.type.type)("err","error"===r.type.type)("info","success"!==r.type.type&&"error"!==r.type.type),c.\u0275\u0275property("bsToast",r),c.\u0275\u0275attribute("data-delay",i.MESSAGES.MESSAGE_TIMEOUT),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngSwitch",r.type.type),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","success"),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase","error"),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",r.title),c.\u0275\u0275advance(1),c.\u0275\u0275property("innerHtml",r.msg,c.\u0275\u0275sanitizeHtml),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",r.desc)}}var wt=function(){var e=l(function e(t){u(this,e),this._shared=t,this.MESSAGES=g.X3});return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(ke.F))},e.\u0275cmp=c.\u0275\u0275defineComponent({type:e,selectors:[["app-toasts"]],decls:2,vars:1,consts:[["aria-live","polite","aria-atomic","true",1,"bs-toasts"],["class","toast bs-toast","role","alert","aria-live","assertive","aria-atomic","true",3,"bsToast","ok","err","info",4,"ngFor","ngForOf"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","bs-toast",3,"bsToast"],["bsToast","bsToast"],["aria-hidden","true",1,"t-ic",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"t-main"],["class","t-tt",4,"ngIf"],[1,"t-tx",3,"innerHtml"],["class","t-tx",4,"ngIf"],["type","button","aria-label","Close",1,"t-cl",3,"click"],["aria-hidden","true"],[1,"t-tt"],[1,"t-tx"]],template:function(e,t){1&e&&(c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275template(1,Et,13,14,"div",1),c.\u0275\u0275elementEnd()),2&e&&(c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",t._shared._utilService.toasts))},directives:[f.sg,gt,f.RF,f.n9,f.ED,f.O5],styles:['.bs-toasts[data-_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:10px;gap:10px;width:340px;max-width:calc(100vw - 24px);padding:16px}.bs-toasts[data-_ngcontent-%COMP%]   .toast[data-_ngcontent-%COMP%]{pointer-events:auto;flex:none;display:flex;align-items:flex-start;grid-gap:11px;gap:11px;background:#fff;border:1px solid #e2e8f1;border-left:4px solid #1f5fae;border-radius:12px;box-shadow:0 14px 36px rgba(20,45,85,.18);padding:13px 14px;max-width:100%;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}.bs-toasts[data-_ngcontent-%COMP%]   .toast.err[data-_ngcontent-%COMP%]{border-left-color:#c0392b}.bs-toasts[data-_ngcontent-%COMP%]   .toast.ok[data-_ngcontent-%COMP%]{border-left-color:#1c7a45}.bs-toasts[data-_ngcontent-%COMP%]   .toast.info[data-_ngcontent-%COMP%]{border-left-color:#1f5fae}.bs-toasts[data-_ngcontent-%COMP%]   .toast[data-_ngcontent-%COMP%]   .t-ic[data-_ngcontent-%COMP%]{flex:none;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;line-height:1}.bs-toasts[data-_ngcontent-%COMP%]   .toast.err[data-_ngcontent-%COMP%]   .t-ic[data-_ngcontent-%COMP%]{background:#fdeaea;color:#c0392b}.bs-toasts[data-_ngcontent-%COMP%]   .toast.ok[data-_ngcontent-%COMP%]   .t-ic[data-_ngcontent-%COMP%]{background:#e6f6ec;color:#1c7a45}.bs-toasts[data-_ngcontent-%COMP%]   .toast.info[data-_ngcontent-%COMP%]   .t-ic[data-_ngcontent-%COMP%]{background:#dcebfa;color:#1f5fae}.bs-toasts[data-_ngcontent-%COMP%]   .toast[data-_ngcontent-%COMP%]   .t-main[data-_ngcontent-%COMP%]{flex:1;min-width:0}.bs-toasts[data-_ngcontent-%COMP%]   .toast[data-_ngcontent-%COMP%]   .t-tt[data-_ngcontent-%COMP%]{font-weight:700;color:#173a6b;font-size:14px}.bs-toasts[data-_ngcontent-%COMP%]   .toast[data-_ngcontent-%COMP%]   .t-tx[data-_ngcontent-%COMP%]{color:#556475;font-size:13px;margin-top:2px;line-height:1.45;overflow-wrap:break-word}.bs-toasts[data-_ngcontent-%COMP%]   .toast[data-_ngcontent-%COMP%]   .t-cl[data-_ngcontent-%COMP%]{margin-left:auto;border:none;background:none;cursor:pointer;color:#556475;font-size:18px;line-height:1;padding:0 2px}.bs-toasts[data-_ngcontent-%COMP%]   .toast[data-_ngcontent-%COMP%]   .t-cl[data-_ngcontent-%COMP%]:hover{color:#2b3a4d}']}),e}(),Ct=["settingsHost"];function kt(e,t){if(1&e&&c.\u0275\u0275element(0,"app-menu",28),2&e){var n=c.\u0275\u0275nextContext();c.\u0275\u0275classProp("active",n.APP.MENU),c.\u0275\u0275attribute("inert",n.APP.MENU?null:"")}}function Pt(e,t){if(1&e&&c.\u0275\u0275element(0,"app-menu",29),2&e){var n=c.\u0275\u0275nextContext();c.\u0275\u0275classProp("active",n._shared._httpService.isUserLogged())}}function Tt(e,t){1&e&&c.\u0275\u0275element(0,"app-ice-shaker")}function Ot(e,t){1&e&&c.\u0275\u0275element(0,"app-toasts")}var It=function(){function t(e,n,r,i,o,a,s){var l=this;u(this,t),this._shared=e,this.cdr=n,this._platformId=r,this._compiler=i,this._injector=o,this._appRef=a,this._blogPostPreloadService=s,this.APP=g.lw,this.SETTINGS=g.L6,this.settingsRef=null,this.settingsModuleRef=null,this.settingsLoading=!1,this._blogEnhancer=null,this._blogEnhancerLoading=!1,this._blogPostPreloadService.init(),this._routerSubscription=this._shared._router.events.pipe((0,m.h)(function(e){return e instanceof h.m2})).subscribe(function(){l._shared._seoService.initPage(),l.scheduleBlogEnhancer(l._shared._router.url),l.cdr.markForCheck()}),this.scheduleBlogEnhancer(this._shared._router.url)}return l(t,[{key:"isDirectBlogRoute",value:function(e){var n=String(e||"").split("#")[0].split("?")[0].replace(/\/+$/,"")||"/";return/^\/blogs\/[^/]+$/i.test(n)&&!t._blogEnhancerExcluded.has(n)&&!n.startsWith("/blogs/categories/")}},{key:"scheduleBlogEnhancer",value:function(e){var t=this;if((0,f.NF)(this._platformId)){if(this._blogEnhancer)return void this._blogEnhancer.scheduleForRoute(e);!this.isDirectBlogRoute(e)||this._blogEnhancerLoading||(this._blogEnhancerLoading=!0,o.e("src_app_shared_core_services_blog-semantic-enhancer_service_ts").then(o.bind(o,23441)).then(function(e){var n=e.BlogSemanticEnhancerService;t._blogEnhancer=t._injector.get(n),t._blogEnhancer.scheduleForRoute(t._shared._router.url)}).catch(function(){}).finally(function(){t._blogEnhancerLoading=!1}))}}},{key:"onWindowResize",value:function(){this.cdr.markForCheck()}},{key:"ngAfterViewChecked",value:function(){this.cdr.detectChanges()}},{key:"onSettingsModalShow",value:function(){return(0,p.mG)(this,void 0,void 0,n().m(function t(){var r,i,a,s,l,c;return n().w(function(t){for(;;)switch(t.p=t.n){case 0:if(this.settingsRef||this.settingsLoading){t.n=7;break}return this.settingsLoading=!0,t.p=1,t.n=2,Promise.all([Promise.all([o.e("default-node_modules_angular2-text-mask_dist_angular2TextMask_js-src_app_shared_layout_header-4e5ace"),o.e("common"),o.e("src_app_pages_private_settings_settings_module_ts")]).then(o.bind(o,63963)),Promise.all([o.e("default-src_app_shared_core_directives_bs-tooltip_directive_ts-src_app_shared_core_directives-2df25d"),o.e("default-src_app_shared_components_bs-forms_form-stripe_form-stripe_component_ts-src_app_share-f8e217"),o.e("src_app_pages_private_settings_settings_component_ts")]).then(o.bind(o,41902))]);case 2:if(r=t.v,i=e(r,2),a=i[0].SettingsModule,s=i[1].SettingsComponent,this.settingsHost){t.n=3;break}return t.a(2);case 3:return t.n=4,this._compiler.compileModuleAsync(a);case 4:l=t.v,this.settingsModuleRef=l.create(this._injector),c=this.settingsModuleRef.componentFactoryResolver.resolve
1ComponentFactory(s),this.settingsRef=c.create(this.settingsModuleRef.injector),this._appRef.attachView(this.settingsRef.hostView),this.settingsHost.nativeElement.appendChild(this.settingsRef.location.nativeElement),this.settingsRef.changeDetectorRef.detectChanges(),t.n=6;break;case 5:t.p=5,t.v,this.destroySettings();case 6:return t.p=6,this.settingsLoading=!1,this.cdr.markForCheck(),t.f(6);case 7:return t.a(2)}},t,this,[[1,5,6,7]])}))}},{key:"destroySettings",value:function(){var e;this.settingsRef&&(this._appRef.detachView(this.settingsRef.hostView),this.settingsRef.destroy(),this.settingsRef=null),null===(e=this.settingsModuleRef)||void 0===e||e.destroy(),this.settingsModuleRef=null}},{key:"ngOnDestroy",value:function(){var e,t;null===(e=this._routerSubscription)||void 0===e||e.unsubscribe(),null===(t=this._blogEnhancer)||void 0===t||t.cancelPendingWork(),this.destroySettings()}}])}();It._blogEnhancerExcluded=new Set(["/blogs","/blogs/blog-post","/blogs/not-found","/blogs/search","/blogs/how-to-cancel"]),It.\u0275fac=function(e){return new(e||It)(c.\u0275\u0275directiveInject(v.F1),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.PLATFORM_ID),c.\u0275\u0275directiveInject(c.Compiler),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(c.ApplicationRef),c.\u0275\u0275directiveInject(_))},It.\u0275cmp=c.\u0275\u0275defineComponent({type:It,selectors:[["app-layout"]],viewQuery:function(e,t){var n;(1&e&&c.\u0275\u0275viewQuery(Ct,5),2&e)&&(c.\u0275\u0275queryRefresh(n=c.\u0275\u0275loadQuery())&&(t.settingsHost=n.first))},hostBindings:function(e,t){1&e&&c.\u0275\u0275listener("resize",function(){return t.onWindowResize()},!1,c.\u0275\u0275resolveWindow)},decls:37,vars:12,consts:[["id","bs-wrapper"],["id","bs-page"],["id","bs-overlay","appSidebarToggle","",3,"dismissAllSidebars"],["id","bs-menu",3,"active",4,"ngIf"],["id","bs-content",2,"display","flex"],["id","bs-menu","class","d-none d-md-block","style","\n          position: unset;\n          height: unset;\n          flex: auto;\n          z-index: 1 !important;\n        ",3,"active",4,"ngIf"],["id","bs-main-container",1,"container-fluid","px-0",2,"padding-top","0px !important","min-height","unset !important"],["id","bs-iceShaker"],[4,"ngIf"],["id","bs-toasts"],["id","bs-tooltips"],[1,"bs-tooltip-lg"],["bsModal","","id","modalSettings","tabindex","-1","role","dialog","aria-modal","true","aria-label","Account settings","aria-hidden","true",1,"modal","fade",2,"z-index","9999 !important",3,"showBsModal"],["bsModal","bsModal"],["role","document",1,"modal-dialog","modal
1-dialog-centered","set-modal-dialog"],[1,"modal-content","set-modal-content"],[1,"set-hero"],["type","button","data-dismiss","modal","aria-label","Close",1,"ga_btn_close_service_request","set-x"],["width","16","height","16","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.3","stroke-linecap","round"],["d","M6 6l12 12M18 6L6 18"],[1,"set-hero-row"],[1,"set-av"],[1,"set-id"],[1,"set-name"],[1,"set-mail"],[1,"set-pill"],[1,"modal-body","set-body"],["settingsHost",""],["id","bs-menu"],["id","bs-menu",1,"d-none","d-md-block",2,"position","unset","height","unset","flex","auto","z-index","1 !important"]],template:function(e,t){1&e&&(c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275element(2,"div",2),c.\u0275\u0275template(3,kt,1,3,"app-menu",3),c.\u0275\u0275elementStart(4,"div",4),c.\u0275\u0275template(5,Pt,1,2,"app-menu",5),c.\u0275\u0275elementStart(6,"div",6),c.\u0275\u0275element(7,"app-breadcrumb"),c.\u0275\u0275element(8,"router-outlet"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(9,"app-footer"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"div",7),c.\u0275\u0275template(11,Tt,1,0,"app-ice-shaker",8),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(12,"div",9),c.\u0275\u0275template(13,Ot,1,0,"app-toasts",8),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(14,"div",10),c.\u0275\u0275element(15,"div",11),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(16,"div",12,13),c.\u0275\u0275listener("showBsModal",function(){return t.onSettingsModalShow()}),c.\u0275\u0275elementStart(18,"div",14),c.\u0275\u0275elementStart(19,"div",15),c.\u0275\u0275elementStart(20,"div",16),c.\u0275\u0275elementStart(21,"button",17),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(22,"svg",18),c.\u0275\u0275element(23,"path",19),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(24,"div",20),c.\u0275\u0275elementStart(25,"div",21),c.\u0275\u0275text(26),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(27,"div",22),c.\u0275\u0275elementStart(28,"div",23),c.\u0275\u0275text(29),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(30,"div",24),c.\u0275\u0275text(31),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(32,"span",25),c.\u0275\u0275text(33,"Customer"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(34,"div",26),c.\u0275\u0275element(35,"div",null,27),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()),2&e&&(c.\u0275\u0275advance(2),c.\u0275\u0275classProp("active",t.APP.MENU),c.\u0275\u0275property("dism
1issAllSidebars",!0),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",(t._shared._seoService.isHamburgerMenu()||!t._shared._httpService.isUserLogged())&&t.SETTINGS.WINDOW_LOADED&&!t._shared._seoService.isDashboardMockLayout()),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",t._shared._httpService.isUserLogged()&&!t._shared._seoService.isHamburgerMenu()&&t.SETTINGS.WINDOW_LOADED&&!t._shared._seoService.isDashboardMockLayout()),c.\u0275\u0275advance(1),c.\u0275\u0275classProp("default",!t._shared._seoService.headerTransparent),c.\u0275\u0275advance(5),c.\u0275\u0275property("ngIf",t.SETTINGS.WINDOW_LOADED),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",t.SETTINGS.WINDOW_LOADED),c.\u0275\u0275advance(13),c.\u0275\u0275textInterpolate(t._shared._cartService.user.getUserInitial()),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(t._shared._cartService.user.getUserFullName()),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(t._shared._cartService.user.customer_email))},directives:[b.T,f.O5,H,h.lC,we,Ce.s,pt,ft,wt],styles:['#bs-wrapper[data-_ngcontent-%COMP%]{display:block}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-page[data-_ngcontent-%COMP%]   #bs-overlay[data-_ngcontent-%COMP%]{display:none;position:fixed;width:100vw;height:100vh;background:rgba(0,0,0,.7);z-index:1029;opacity:0;transition:all .5s ease-in-out}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-page[data-_ngcontent-%COMP%]   #bs-overlay.active[data-_ngcontent-%COMP%]{display:block;opacity:1}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-page[data-_ngcontent-%COMP%]   #bs-menu[data-_ngcontent-%COMP%]{--width: var(--menu-sidebar-width);right:calc(-1 * var(--width));left:auto;background:var(--menu-bg-color)}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-page[data-_ngcontent-%COMP%]   #bs-menu.active[data-_ngcontent-%COMP%]{right:0px;left:auto}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-page[data-_ngcontent-%COMP%]   #bs-main-container[data-_ngcontent-%COMP%]{background-color:var(--page-bg-color);min-height:calc(100vh - var(--footer-min-height));padding-top:calc(30px + var(--header-height));display:flex;flex-direction:column}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-page[data-_ngcontent-%COMP%]   #bs-main-container.default[data-_ngcontent-%COMP%]{padding-top:var(--header-height)}@media (min-width: 1024px){#bs-wrapper[data-_ngcontent-%COMP%]   #bs-page[data-_ngcontent-%COMP%]   #bs-overlay.active[data-_ngcontent-%COMP%]{display:none;opacity:0}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-page[data-_ngcontent-%COMP%]   #bs-menu.active[data-_ngcontent-%COMP%]{right:calc(-1 * var(--width));left:auto}}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-sidebar[data-_ngcontent-%COMP%]{--width: var(--cart-sidebar-width);right:calc(-1 * var(--width));background:var(--sidebar-bg-color)}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-sidebar.active[data-_ngcontent-%COMP%]{right:0px}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-menu[data-_ngcontent-%COMP%], #bs-wrapper[data-_ngcontent-%COMP%]   #bs-sidebar[data-_ngcontent-%COMP%]{z-index:1030;position:fixed;top:0;height:100%;min-width:var(--width);max-width:var(--width);transition:all .3s}#bs-wrapper[data-_ngcontent-%COMP%]   #bs-toasts[data-_ngcontent-%COMP%]{position:fixed;top:0;right:0;z-index:10000;pointer-events:none}.modal-header[data-_ngcontent-%COMP%]{display:block}.modal-header[data-_ngcontent-%COMP%]   .close-modal[data-_ngcontent-%COMP%]{width:38px;height:38px;position:relative;top:-3px}.modal-header[data-_ngcontent-%COMP%]   button[data-_ngcontent-%COMP%]:hover{border-radius:50%;background:#EEF7FF}@media screen and (height: 900px){.container-fluid[data-_ngcontent-%COMP%]{min-height:calc(100vh - var(--footer-min-height))!important;padding-top:calc(30px + var(--header-height))!important}}html[lang|=en][data-_ngcontent-%COMP%]   .custom-file-input[data-_ngcontent-%COMP%] ~ .custom-file-label[data-_ngcontent-%COMP%]:after{content:"Browse"}@media (max-width: 575.98px){#bs-menu[data-_ngcontent-%COMP%]{--width: min(var(--menu-sidebar-width), 84vw) !important}#bs-sidebar[data-_ngcontent-%COMP%]{--width: 100vw !important}}.set-modal-dialog[data-_ngcontent-%COMP%]{max-width:680px}@media (max-width: 767px){.set-modal-dialog[data-_ngcontent-%COMP%]{max-width:none}}.set-modal-content[data-_ngcontent-%COMP%]{border-radius:18px;border:none;overflow:hidden}.set-hero[data-_ngcontent-%COMP%]{position:relative;background:linear-gradient(135deg,#123056,#1f5fae 58%,#2c74c9);padding:24px 62px 22px 24px;color:#fff;overflow:hidden}.set-hero[data-_ngcontent-%COMP%]:after{content:"";position:absolute;right:-46px;top:-64px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.09)}.set-hero[data-_ngcontent-%COMP%]:before{content:"";position:absolute;right:64px;bottom:-78px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.06)}.set-hero-row[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:14px;gap:14px;position:relative;z-index:1}.set-av[data-_ngcontent-%COMP%]{width:54px;height:54px;border-radius:50%;flex:none;background:rgba(255,255,255,.18);border:2px solid rgba(255,255,255,.42);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;color:#fff}.set-id[data-_ngcontent-%COMP%]{min-width:0;flex:1}.set-name[data-_ngcontent-%COMP%]{font-size:18px;font-weight:800;line-height:1.2}.set-mail[data-_ngcontent-%COMP%]{font-size:12.5px;opacity:.86;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.set-pill[data-_ngcontent-%COMP%]{display:inline-block;margin-top:8px;color:#fff;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);font-size:10.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;padding:3px 10px;border-radius:20px}.set-x[data-_ngcontent-%COMP%]{position:absolute;top:14px;right:14px;z-index:6;width:34px;height:34px;flex:none;border:1px solid rgba(255,255,255,.34);border-radius:10px;background:rgba(255,255,255,.14);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .15s,border-color .15s}.set-x[data-_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.26);border-color:rgba(255,255,255,.549)}.set-x[data-_ngcontent-%COMP%]   svg[data-_ngcontent-%COMP%]{width:16px;height:16px;stroke:currentColor;stroke-width:2.3;fill:none;stroke-linecap:round}.set-body[data-_ngcontent-%COMP%]{padding:20px 22px 24px;background:#f7fafd;max-height:calc(100vh - 150px);overflow-y:auto}'],changeDetection:0});var xt=o(41964),At=function(){var e=function(){return l(function e(t){u(this,e),this._router=t},[{key:"preload",value:function(e,t){var n=!(!e.data||!e.data.preload),r=(this._router.url||"").split("?")[0].startsWith("/blogs");return n&&r?t():(0,xt.of)(null)}}])}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275inject(h.F0))},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Mt=[{path:"",component:It,children:[{path:"blogs/how-to-cancel",loadChildren:function(){return Promise.all([o.e("common"),o.e("src_app_blog_how-to-cancel_how-to-cancel_module_ts")]).then(o.bind(o,79890)).then(function(e){return e.HowToCancelModule})},data:{preload:!0}},{path:"blogs",loadChildren:function(){return Promise.all([o.e("common"),o.e("src_app_blog_blog_module_ts")]).then(o.bind(o,75172)).then(function(e){return e.BlogModule})}},{path:"lower",loadChildren:function(){return o.e("src_app_lower_lower_module_ts").then(o.bind(o,52091)
1).then(function(e){return e.LowerModule})}},{path:"outage",loadChildren:function(){return o.e("src_app_outage_outage_module_ts").then(o.bind(o,37645)).then(function(e){return e.OutageModule})}},{path:"",pathMatch:"full",loadChildren:function(){return Promise.all([o.e("default-src_app_shared_layout_header_header_component_ts"),o.e("default-node_modules_ng-select_ng-select_fesm2015_ng-select-ng-select_js"),o.e("default-src_app_shared_core_directives_bs-tooltip_directive_ts-src_app_shared_core_directives-2df25d"),o.e("default-src_app_shared_components_bs-components_bs-home-savings-calculator_bs-home-savings-ca-514cc4"),o.e("common"),o.e("src_app_pages_homepage_home_module_ts")]).then(o.bind(o,36958)).then(function(e){return e.HomeModule})}},{path:"",loadChildren:function(){return Promise.all([o.e("common"),o.e("src_app_pages_pages_module_ts")]).then(o.bind(o,16348)).then(function(e){return e.PagesModule})}}]}],Rt=function(){var e=l(function e(t,n){u(this,e),n.setOffset([0,100]),t.events.pipe((0,m.h)(function(e){return e instanceof h.Xs})).subscribe(function(e){e.anchor?setTimeout(function(){n.scrollToAnchor(e.anchor)}):n.scrollToPosition(e.position?e.position:[0,0])})});return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275inject(h.F0),c.\u0275\u0275inject(f.EM))},e.\u0275mod=c.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=c.\u0275\u0275defineInjector({imports:[[h.Bz.forRoot(Mt,{scrollPositionRestoration:"enabled",initialNavigation:"enabled",preloadingStrategy:At})],h.Bz]}),e}(),Nt=o(98839),Lt=o(56965);function Dt(e,t){if(1&e){var n=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",1),c.\u0275\u0275elementStart(1,"div",2),c.\u0275\u0275elementStart(2,"span",3),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(3,"svg",4),c.\u0275\u0275element(4,"path",5),c.\u0275\u0275element(5,"path",6),c.\u0275\u0275element(6,"circle",7),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(7,"div",8),c.\u0275\u0275elementStart(8,"b"),c.\u0275\u0275text(9,"You're going a little fast."),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"span",9),c.\u0275\u0275text(11,"We've briefly paused actions to keep things running smoothly \u2014 you can keep browsing."),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(12,"span",10),c.\u0275\u0275text(13,"Actions are paused \u2014 keep browsing."),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(14,"span",11),c.\u0275\u0275text(15),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(16,"button",12),c.\u0275\u0275listener("click",function(){return c.\u0275\u0275restoreView(n),c.\u0275\u0275nextContext().dismiss()}),c.\u0275\u0275text(17," \xd7 "),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()}if(2&e){var r=c.\u0275\u0275nextContext();c.\u0275\u0275classProp("flash",r.flashing),c.\u0275\u0275advance(14),c.\u0275\u0275classProp("ok",r.ended),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(r.countdown)}}var Ft=function(){var e=function(){return l(function e(t,n,r,i,o){var a=this;u(this,e),this._rateLimit=t,this.cdr=n,this.ngZone=r,this.el=i,this.platformId=o,this.visible=!1,this.ended=!1,this.flashing=!1,this.countdown="",this.wasActive=!1,this.hideTimer=null,this.subs=new Nt.w0,this._onResize=function(){return a._syncHeightVar()}},[{key:"_isBrowser",get:function(){return(0,f.NF)(this.platformId)}},{key:"ngOnInit",value:function(){var e=this;this.subs.add(this._rateLimit.state$.subscribe(function(t){t.active?(e._clearHideTimer(),e.visible=!0,e.ended=!1,e.wasActive=!0,e.countdown="You can retry in "+e._fmt(t.remainingMs)):e.wasActive&&(e.wasActive=!1,e.ended=!0,e.countdown="You can retry now",e._scheduleHide()),e.cdr.detectChanges(),e._deferSyncHeightVar()})),this.subs.add(this._rateLimit.flash$.subscribe(function(){return e._doFlash()})),this._isBrowser&&this.ngZone.runOutsideAngular(function(){return window.addEventListener("resize",e._onResize)})}},{key:"ngOnDestroy",value:function(){this.subs.unsubscribe(),this._clearHideTimer(),this._isBrowser&&(window.removeEventListener("resize",this._onResize),this._setHeightVar(0))}},{key:"_deferSyncHeightVar",value:function(){var e=this;!this._isBrowser||this.ngZone.runOutsideAngular(function(){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(function(){return e._syncHeightVar()}),setTimeout(function(){return e._syncHeightVar()},250)})}},{key:"_syncHeightVar",value:function(){if(this._isBrowser){var e=this.el&&this.el.nativeElement?this.el.nativeElement.querySelector(".g429"):null,t=this.visible&&e?Math.max(0,Math.round(e.getBoundingClientRect().bottom)):0;this._setHeightVar(t)}}},{key:"_setHeightVar",value:function(e){this._isBrowser&&document.documentElement&&document.documentElement.style.setProperty("--g429-h",e+"px")}},{key:"dismiss",value:function(){this._clearHideTimer(),this.visible=!1,this.ended=!1,this.wasActive=!1,this._rateLimit.clear(),this.cdr.detectChanges(),this._setHeightVar(0)}},{key:"_scheduleHide",value:function(){var e=this;this._clearHideTimer(),this.ngZone.runOutsideAngular(function(){e.hideTimer=setTimeout(function(){e.ngZone.run(function(){e.visible=!1,e.ended=!1,e.cdr.detectChanges(),e._setHeightVar(0)})},4e3)})}},{key:"_clearHideTimer",value:function(){this.hideTimer&&(clearTimeout(this.hideTimer),this.hideTimer=null)}},{key:"_doFlash",value:function(){var e=this;this.flashing=!1,this.cdr.detectChanges(),this.ngZone.runOutsideAngular(function(){setTimeout(function(){e.ngZone.run(function(){e.flashing=!0,e.cdr.detectChanges()})},20)})}},{key:"_fmt",value:function(e){var t=Math.max(0,Math.ceil(e/1e3));return Math.floor(t/60)+":"+String(t%60).padStart(2,"0")}}])}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(Lt.o),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.PLATFORM_ID))},e.\u0275cmp=c.\u0275\u0275defineComponent({type:e,selectors:[["app-rate-limit-banner"]],decls:1,vars:1,consts:[["class","g429","role","status","aria-live","polite",3,"flash",4,"ngIf"],["role","status","aria-live","polite",1,"g429"],[1,"g429-in"],[1,"g429-ic"],["viewBox","0 0 24 24"],["d","M12 3.4l9.2 15.9a.9.9 0 0 1-.8 1.3H3.6a.9.9 0 0 1-.8-1.3z"],["d","M12 10v4"],["cx","12","cy","17.2","r","1","fill","currentColor","stroke","none"],[1,"g429-tx"],[1,"g429-more"],[1,"g429-brief"],[1,"g429-cd"],["type","button","aria-label","Dismiss",1,"g429-cl",3,"click"]],template:function(e,t){1&e&&c.\u0275\u0275template(0,Dt,18,5,"div",0),2&e&&c.\u0275\u0275property("ngIf",t.visible)},directives:[f.O5],styles:['[data-_nghost-%COMP%]{display:block}.g429[data-_ngcontent-%COMP%]{position:sticky;top:0;z-index:1200;background:#fdf4e3;border-bottom:1px solid #f0d9a8;-webkit-animation:g429In .22s ease;animation:g429In .22s ease}.g429.flash[data-_ngcontent-%COMP%]{-webkit-animation:g429Blink .7s ease;animation:g429Blink .7s ease}@-webkit-keyframes g429In{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@keyframes g429In{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@-webkit-keyframes g429Blink{0%,to{background:#fdf4e3}15%,55%{background:#efc86a}35%,75%{background:#fdf4e3}}@keyframes g429Blink{0%,to{background:#fdf4e3}15%,55%{background:#efc86a}35%,75%{background:#fdf4e3}}.g429-in[data-_ngcontent-%COMP%]{max-width:1140px;margin:0 auto;display:flex;align-items:center;grid-gap:12px;gap:12px;padding:11px 20px}.g429-ic[data-_ngcontent-%COMP%]{flex:none;width:26px;height:26px;border-radius:50%;background:#fbeecb;
1color:#b5810f;display:flex;align-items:center;justify-content:center}.g429-ic[data-_ngcontent-%COMP%]   svg[data-_ngcontent-%COMP%]{width:15px;height:15px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.g429-tx[data-_ngcontent-%COMP%]{flex:1;font-size:13px;color:#7a5a12;line-height:1.45}.g429-tx[data-_ngcontent-%COMP%]   b[data-_ngcontent-%COMP%]{color:#8a5a06;font-weight:800}.g429-cd[data-_ngcontent-%COMP%]{flex:none;font-weight:800;color:#8a5a06;background:#fbeecb;border-radius:20px;padding:3px 11px;font-size:12px;white-space:nowrap;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-variant-numeric:tabular-nums;min-width:112px;text-align:center;box-sizing:border-box}.g429-cd.ok[data-_ngcontent-%COMP%]{background:#e6f6ec;color:#1c7a45}.g429-cl[data-_ngcontent-%COMP%]{flex:none;border:none;background:none;cursor:pointer;font-size:20px;line-height:1;color:#a8710a;opacity:.7;padding:0 4px}.g429-cl[data-_ngcontent-%COMP%]:hover{opacity:1}.g429-brief[data-_ngcontent-%COMP%]{display:none}@media (max-width: 991px){.g429-in[data-_ngcontent-%COMP%]{padding:10px 14px}.g429-more[data-_ngcontent-%COMP%]{display:none}.g429-brief[data-_ngcontent-%COMP%]{display:inline}}@media (prefers-reduced-motion: reduce){.g429[data-_ngcontent-%COMP%], .g429.flash[data-_ngcontent-%COMP%]{-webkit-animation:none;animation:none}}']}),e}();function Bt(e,t){1&e&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(1,"svg",1),c.\u0275\u0275elementStart(2,"symbol",2),c.\u0275\u0275elementStart(3,"g",3),c.\u0275\u0275elementStart(4,"g",4),c.\u0275\u0275element(5,"path",5),c.\u0275\u0275element(6,"path",6),c.\u0275\u0275element(7,"path",7),c.\u0275\u0275element(8,"path",8),c.\u0275\u0275element(9,"path",9),c.\u0275\u0275element(10,"path",10),c.\u0275\u0275element(11,"path",11),c.\u0275\u0275element(12,"path",12),c.\u0275\u0275element(13,"path",13),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}var Ut=function(){var e=function(){return l(function e(t){if(u(this,e),this._shared=t,this.title="website","undefined"!=typeof window&&this.hasGlobalLogoutParam())return this._shared._httpService.signOut(!0),void this._shared._cartService.resetAfterLogout();if("undefined"!=typeof Storage){if(localStorage.getItem("bs_auth")){var n=JSON.parse(localStorage.getItem("bs_auth"));n&&(delete n.csrf_token,delete n.session,delete n.tid,delete n.sl_img)}if(localStorage.getItem("lo-session")&&!this._shared._httpService.isUserLogged()){var r=JSON.parse(localStorage.getItem("lo-session")),i=JSON.parse(localStorage.getItem("lo-visitor"));r=Object.assign(Object.assign({},r),{lo_visitor:i}),this._shared._cartService.sendCustomerSessionRecordData(r).then(function(e){})}sessionStorage.getItem("bs_auth")&&JSON.parse(sessionStorage.getItem("bs_auth"))}},[{key:"ngOnInit",value:function(){this._shared._utilService.isPlatformServer||(this._setupBannerProviderRebrand(),this._setupConsentCleanup(),this._publishAuthStateToDataLayer(),this._warmUpVendor())}},{key:"_warmUpVendor",value:function(){var e=this._shared._utilService;if(e&&"function"==typeof e.ensureVendor){var t=!1,n=function(){if(!t){t=!0;try{e.ensureVendor()}catch(n){}}},r=window,i={once:!0,passive:!0,capture:!0};["pointerdown","keydown","touchstart"].forEach(function(e){return document.addEventListener(e,n,i)}),document.addEventListener("click",function(t){if(!(r.$&&r.$.fn&&r.$.fn.modal&&r.$.fn.collapse&&r.$.fn.dropdown)){var n=t.target,i=n&&n.closest?n.closest("[data-toggle]"):null;!i||(t.preventDefault(),t.stopPropagation(),e.ensureVendor().then(function(){return setTimeout(function(){return i.click()},0)}))}},!0)}}},{key:"_publishAuthStateToDataLayer",value:function(){var e=this,t=function(){try{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"bs_auth_state",bs_logged_in:!!e._shared._httpService.isUserLogged()})}catch(t){}};t(),this._shared._router.events.subscribe(function(e){e&&e.constructor&&"NavigationEnd"===e.constructor.name&&t()})}},{key:"_setupConsentCleanup",value:function(){var e=/^_ga($|_)|^_gid$|^_gat($|_)|^lo[-_]|^__lo|^_hj|^AMP_|^amplitude|^dd_|^_dd_|^_clck$|^_clsk$|^FPID|^FPLC|^_scid/i,t=/^_gcl|^_gac|^ttcsid|^_ttp$|^tt_|^_tt|^_uet|^_rdt|^_fbp$|^_fbc$|^fr$|^MUID$|^_pin_|^personalization_id$|^muc_|^guest_id$|^IDE$|^test_cookie$/i,n=/^lo[-_]|^__lo|^_hj|^AMP_|^amplitude|^dd_|^_dd_/i,r=/^tt_|^ttcsid|^_tt|^_uet|^_rdt|^_fb/i,i=function(){var e=window.location.hostname.split(".");return e.length>2?"."+e.slice(-2).join("."):window.location.hostname}(),o=function(e,t,i){var o=!1;try{Object.keys(e).forEach(function(a){(t&&n.test(a)||i&&r.test(a))&&(e.removeItem(a),o=!0)})}catch(a){}return o},a=function(){try{var n=window.Cookiebot;if(!n||!n.consent)return!1;var r=!n.consent.statistics,a=!n.consent.marketing;if(!r&&!a)return!1;m();var s=!1;if(document.cookie.split(";").map(function(e){return e.split("=")[0].trim()}
1).filter(Boolean).forEach(function(n){(r&&e.test(n)||a&&t.test(n))&&(function(e){["",i,"."+window.location.hostname,window.location.hostname].forEach(function(t){var n=e+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/";t&&(n+="; domain="+t);try{document.cookie=n}catch(s){}})}(n),s=!0)}),o(window.localStorage,r,a)&&(s=!0),o(window.sessionStorage,r,a)&&(s=!0),r)try{var l=window.LO;l&&(l.recording&&l.recording.stop&&l.recording.stop(),l.privacy&&l.privacy.setConsentStatus&&l.privacy.setConsentStatus(!1))}catch(l){}return s}catch(n){return!1}},s=null,l="bsConsentPrevGrant",c="bsConsentDeclined",u=/(Visitor|Session) does not yet exist/i;if(!window.__bsLoRejGuard){window.__bsLoRejGuard=!0;var d=function(e){try{return u.test(String(e&&e.message||e))}catch(t){return!1}};window.addEventListener("unhandledrejection",function(e){d(e&&e.reason)&&e.preventDefault()},!1),window.addEventListener("error",function(e){d(e&&(e.error||e.message))&&e.preventDefault()},!0)}var h=!1,m=function(){if(!h){var e=window.LO;if(e)try{["session","pages","visitor"].forEach(function(t){var n=e[t];!n||Object.getOwnPropertyNames(n).forEach(function(e){if("function"==typeof n[e]&&!n[e].__bsWrapped){var t=n[e],r=function(){try{return t.apply(this,arguments)}catch(e){if(e&&u.test(String(e&&e.message||e)))return;throw e}};r.__bsWrapped=!0,n[e]=r}})}),h=!0}catch(g){}}},p=function(){var e=window.Cookiebot;if(!e||!e.consent)return!1;var t=!!e.consent.statistics,n=!!e.consent.marketing;(!t||!n)&&function(){if(a(),!s){var e=0,t=0;s=window.setInterval(function(){t=a()?0:t+1,(++e>=80||e>=40&&t>=10)&&(window.clearInterval(s),s=null)},300)}}();var r=null;try{r=JSON.parse(window.sessionStorage.getItem(l)||"null")}catch(o){}var i=!1;try{i="1"===window.sessionStorage.getItem(c)}catch(o){}try{window.sessionStorage.setItem(l,JSON.stringify({s:t,m:n}))}catch(o){}if(r&&i){var o=!r.s&&t,u=!r.m&&n;(o||u)&&function(e,t){if(t)try{var r=window.ttq;r&&(r.enableCookie&&r.enableCookie(),r.grantConsent&&r.grantConsent(),r.page&&r.page(),r.track&&r.track("ViewContent"))}catch(n){}if(e)try{var i=window.LO;if(i&&i.session&&i.session.create)i.privacy&&i.privacy.setConsentStatus&&i.privacy.setConsentStatus(!0),i.visitor&&i.visitor.identify&&i.visitor.identify(),i.session.create(),i.pages&&i.pages.create&&i.pages.create(),i.recording&&i.recording.start&&i.recording.start();else{var o=document.createElement("script");o.src="https://tools.luckyorange.com/core/lo.js?site-id=78a0ede0",o.async=!0,document.head.appendChild(o)}}catch(n){}}(o,u)}return!0};try{window.addEventListener("CookiebotOnConsentReady",function(){return p()},!1),window.addEventListener("CookiebotOnAccept",function(){return p()},!1),window.addEventListener("CookiebotOnDecline",function(){try{window.sessionStorage.setItem(c,"1")}catch(d){}p()},!1)}catch(d){}if(!p())var f=0,g=window.setInterval(function(){(p()||++f>30)&&window.clearInterval(g)},200)}},{key:"_setupBannerProviderRebrand",value:function(){var e=[{test:/^(?:(?:www|dev|dev-1|staging|seo-improvements)\.)?billshark\.com$/i,name:"Billshark",href:window.location.origin+"/privacy#use_of_tracking_technology",title:"How Billshark uses tracking technology",target:"_self",rel:""},{test:/^speedof\.me$/i,name:"SpeedOf.Me",href:"https://speedof.me/privacy.html",title:"SpeedOf.Me's privacy policy",target:"_blank",rel:"noopener noreferrer nofollow"},{test:/^([a-z0-9-]+\.)*openai\.com$/i,name:"OpenAI",href:"https://openai.com/policies/cookie-policy/",title:"OpenAI's cookie policy",target:"_blank",rel:"noopener noreferrer nofollow"}];if(!document.getElementById("bs-cb-table-css")){var t=document.createElement("style");t.id="bs-cb-table-css",t.textContent="#BsCbDetails table colgroup col:nth-child(2){width:24% !important}#BsCbDetails table colgroup col:nth-child(3){width:27% !important}#BsCbDetails table th:nth-child(2),#BsCbDetails table td:nth-child(2){min-width:150px !important}",document.head.appendChild(t)}var n=function(){var t=document.getElementById("BsCbDetails");!t||t.querySelectorAll("table tr td:nth-child(2)").forEach(function(t){if("1"!==t.dataset.bsRebranded){var n=!1,r={};
1Array.prototype.slice.call(t.childNodes).forEach(function(i){if(3===i.nodeType){var o=(i.nodeValue||"").trim();if(o){var a=e.filter(function(e){return e.test.test(o)})[0];if(a){if(r[a.name]){for(var s=i.previousSibling;s&&3===s.nodeType&&!(s.nodeValue||"").trim();){var l=s.previousSibling;t.removeChild(s),s=l}return s&&1===s.nodeType&&"BR"===s.tagName&&t.removeChild(s),t.removeChild(i),void(n=!0)}r[a.name]=!0;var c=document.createElement("a");c.href=a.href,c.target=a.target,a.rel&&(c.rel=a.rel),c.title=a.title,c.textContent=a.name,t.replaceChild(c,i),n=!0}}}}),n&&(t.dataset.bsRebranded="1")}})},r=function(){var e=document.getElementById("BsCbDetailsBtn");!e||"1"===e.dataset.bsRebrandArmed||(e.dataset.bsRebrandArmed="1",e.addEventListener("click",function(){setTimeout(n,60)}))};try{window.addEventListener("CookiebotOnDialogDisplay",function(){r(),setTimeout(n,60)},!1)}catch(t){}setTimeout(r,500)}},{key:"ngOnDestroy",value:function(){this._shared._utilService.selfAuth=0}},{key:"hasGlobalLogoutParam",value:function(){return new URLSearchParams(window.location.search).has("logout")}}])}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(v.F1))},e.\u0275cmp=c.\u0275\u0275defineComponent({type:e,selectors:[["app-root"]],decls:3,vars:1,consts:[[4,"ngIf"],["aria-hidden","true","focusable","false","xmlns","http://www.w3.org/2000/svg",2,"position","absolute","width","0","height","0","overflow","hidden"],["id","bs-wordmark","viewBox","0 0 280 40.36"],["transform","matrix(1.3333333,0,0,-1.3333333,0,40.36)"],["transform","scale(0.1)"],["fill","currentColor","d","m 144.504,197.273 c -2.141,-3.773 -5.008,-6.828 -8.508,-9.085 -3.594,-2.305 -7.683,-3.993 -12.152,-5.008 -4.547,-1.039 -9.235,-1.571 -13.922,-1.571 H 66.1016 v 57.457 h 41.0074 c 4.7,0 9.606,-0.464 14.59,-1.375 4.922,-0.918 9.364,-2.418 13.203,-4.464 3.75,-2.008 6.868,-4.868 9.254,-8.5 2.36,-3.61 3.555,-8.247 3.555,-13.786 0,-5.312 -1.078,-9.906 -3.207,-13.668 z m 3.543,-126.6207 c -3.832,-2.5546 -8.176,-4.3671 -12.914,-5.3945 -4.824,-1.043 -9.649,-1.5703 -14.344,-1.5703 H 66.1016 v 61.4805 h 45.8364 c 5.003,0 10.484,-0.402 16.277,-1.195 5.726,-0.782 11.137,-2.231 16.082,-4.309 4.82,-2.035 8.867,-5.055 12.031,-8.973 3.098,-3.839 4.664,-8.976 4.664,-15.2574 0,-5.8438 -1.211,-10.8398 -3.59,-14.8516 -2.422,-4.0664 -5.566,-7.4062 -9.355,-9.9297 z m 61.508,65.5387 c -5.61,6.161 -12.407,11.293 -20.196,15.258 -6.406,3.258 -13.496,5.66 -21.136,7.168 12.871,4.746 23.523,12.024 31.715,21.672 9.207,10.859 13.875,24.691 13.875,41.117 0,15.817 -3.208,28.711 -9.532,38.34 -6.301,9.586 -14.633,17.152 -24.761,22.496 -10.047,5.293 -21.536,8.871 -34.149,10.637 -12.504,1.746 -25.105,2.633 -37.457,2.633 L 0,295.512 V 7.24219 h 118.379 c 12.676,0 25.586,1.36719 38.375,4.06251 12.863,2.7031 24.613,7.2422 34.926,13.4844 10.367,6.2695 18.945,14.6406 25.492,24.875 6.582,10.2851 9.922,23.2461 9.922,38.5234 0,9.2734 -1.524,18.1285 -4.531,26.3325 -3.016,8.214 -7.391,15.503 -13.008,21.671"],["fill","currentColor","d","m 254.887,7.24219 h 66.105 V 295.512 H 254.887 V 7.24219"],["fill","currentColor","d","M 432.832,295.512 H 366.734 V 7.24219 H 549.148 V 68.5156 H 432.832 V 295.512"],["fill","currentColor","d","M 633.422,295.512 H 567.32 V 7.24219 H 749.734 V 68.5156 H 633.422 V 295.512"],["fill","currentColor","d","m 848.621,235.039 c 4.133,2.191 8.602,3.832 13.266,4.871 4.707,1.043 9.324,1.574 13.726,1.574 7.551,0 15.692,-1.527 24.2,-4.535 8.378,-2.965 15.105,-7.594 19.984,-13.758 l 1.211,-1.527 45.512,49.777 -1.262,1.114 c -12.192,10.832 -26.074,18.672 -41.266,23.285 -28.246,8.57 -59.75,9.453 -88.289,1.012 -13.281,-3.934 -25.176,-9.914 -35.359,-17.786 -10.207,-7.898 -18.485,-17.832 -24.602,-29.519 -6.133,-11.731 -9.242,-25.535 -9.242,-41.024 0,-16.097 3.41,-29.277 10.145,-39.164 6.675,-9.812 15.179,-17.836 25.281,-23.836 10,-5.953 20.949,-10.742 32.562,-14.246 11.426,-3.457 22.235,-6.972 32.129,-10.441 9.699,-3.414 17.887,-7.598 24.297,-12.434 6.195,-4.687 9.203,-10.902 9.203,-19.0036 0,-4.7343 -1.191,-8.8906 -3.535,-12.3476 -2.398,-3.5313 -5.602,-6.4805 -9.527,-8.7578 -4.004,-2.3242 -8.582,-4.0899 -13.617,-5.25 -15.555,-3.5899 -30.661,-1.6758 -44.793,5.1093 -9.504,4.5469 -17.493,11.0821 -23.747,19.4258 l -1.203,1.6016 -47.136,-51.8086 1.214,-1.1172 C 771.559,23.5508 786.641,14.2266 802.613,8.55078 818.547,2.875 836.059,0 854.688,0 c 14.832,0 29.14,1.91406 42.507,5.69141 13.418,3.79687 25.395,9.71489 35.582,17.59379 10.211,7.8906 18.422,17.9687 24.411,29.9531 5.996,11.9922 9.039,26.1914 9.039,42.1953 0,16.8794 -3.34,30.5894 -9.934,40.7464 -6.547,10.09 -14.914,18.254 -24.887,24.269 -9.89,5.953 -20.652,10.614 -31.992,13.856 -11.121,3.175 -21.726,6.418 -31.527,9.64 -9.602,3.153 -17.649,7.008 -23.91,11.45 -6.032,4.261 -8.961,10.273 -8.961,18.371 0,4.98 1.25,9.261 3.711,12.714 2.523,3.524 5.847,6.407 9.894,8.559"],["fill","currentColor","d","M 1182.21,189.258 H 1063.57 V 295.512 H 997.473 V 7.24219 h 66.097 V 130.398 h 118.64 V 7.24219 h 66.1 V 295.512 h -66.1 V 189.258"],["fill","currentColor","d","m 1637.11,239.066 h 39.39 c 5.54,0 11.28,-0.398 17.08,-1.191 5.69,-0.777 10.8,-2.281 15.18,-4.469 4.29,-2.148 7.86,-5.281 10.64,-9.316 2.75,-3.996 4.14,-9.504 4.14,-16.367 0,-7.368 -1.58,-13.114 -4.68,-17.086 -3.15,-4.035 -7.18,-7.043 -11.98,-8.938 -4.92,-1.941 -10.5,-3.125 -16.6,-3.515 -6.27,-0.395 -12.26,-0.602 -17.8,-0.602 h -35.37 z m 138.93,-84.046 c 10.63,14.316 16.02,31.91 16.02,52.304 0,16.817 -2.98,31.082 -8.84,42.41 -5.88,11.336 
1-13.91,20.481 -23.89,27.184 -9.94,6.66 -21.64,11.484 -34.79,14.332 -13.07,2.828 -27.07,4.262 -41.6,4.262 H 1571.01 V 7.24219 h 66.1 V 121.141 h 28.32 L 1724.53,8.13672 1725,7.24219 h 79.2 L 1731.46,128.07 c 19.32,4.075 34.31,13.129 44.58,26.95"],["fill","currentColor","d","m 1957.55,161.406 128.4,134.106 h -86.7 L 1890.94,179.727 v 115.785 h -66.11 V 7.24219 h 66.11 V 139.648 L 2004.43,7.24219 h 92.24 L 1957.55,161.406"],["fill","currentColor","d","m 1455.12,291.445 h -83.37 L 1278.79,4.42578 h 75.28 l 0.8,2.03906 c 14.72,53.62896 16.17,135.91816 16.17,138.59816 0,0 72.57,-29.825 103.77,-110.3716 5.99,-20.6289 15.69,-26.32421 18.17,-30.26562 h 44.08 11.04 L 1455.12,291.445"]],template:function(e,t){1&e&&(c.\u0275\u0275template(0,Bt,14,0,"ng-container",0),c.\u0275\u0275element(1,"app-rate-limit-banner"),c.\u0275\u0275element(2,"router-outlet")),2&e&&c.\u0275\u0275property("ngIf",!1)},directives:[f.O5,Ft,h.lC],styles:[""]}),e}(),Ht=o(44466),jt=o(63325),qt=function(){var e=l(function e(){u(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=c.\u0275\u0275defineInjector({providers:[],imports:[[Ht.m,jt.x]]}),e}(),Gt=function(){var e=l(function e(){u(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.\u0275\u0275defineNgModule({type:e,bootstrap:[Ut]}),e.\u0275inj=c.\u0275\u0275defineInjector({providers:[],imports:[[s.BrowserModule.withServerTransition({appId:"website"}),s.BrowserTransferStateModule,d.JF,Rt,qt,f.ez]]}),e}();function Vt(){s.platformBrowser().bootstrapModule(Gt,{preserveWhitespaces:!1}).catch(function(e){console.error("-----"),console.error(e)})}(0,c.enableProdMode)();var zt=!1;function Wt(){zt||(zt=!0,Vt())}function $t(){var e,t=null==document?void 0:document.body;if(!t||!t.firstChild)return!1;var n=t.firstChild,r=n.nodeType===Node.TEXT_NODE;return!(!r||!/^\s*undefined\s*$/.test(r&&n.nodeValue||"")||(null===(e=n.parentNode)||void 0===e||e.removeChild(n),0))}document.addEventListener("DOMContentLoaded",function(){(function(){try{var e=document.querySelector("ng-component ng-component");e&&e.children.length>0&&(window.__bsPrerenderedPost={path:window.location.pathname,html:e.outerHTML})}catch(e){}})(),function(){var t;"undefined"!=typeof window&&"/"===(null===(t=window.location)||void 0===t?void 0:t.pathname)&&"undefined"!=typeof window?function(){if("undefined"!=typeof window){var t=[],n=null,r=null,i=null,o=null,a=function(){t.forEach(function(t){var n=e(t,4),r=n[0],i=n[1],o=n[2],a=n[3];r.removeEventListener(i,o,a)}),null!==i&&(window.cancelAnimationFrame(i),i=null),null!==o&&(window.cancelAnimationFrame(o),o=null),null!==n&&(window.clearTimeout(n),n=null),null!==r&&(window.clearTimeout(r),r=null),Wt()},s=function(e,n,r,i){e.addEventListener(n,r,i),t.push([e,n,r,i])},l={once:!0,passive:!0,capture:!0};["pointerdown","touchstart","keydown","focusin","scroll"].forEach(function(e){s(window,e,a,l)});var c=function(){i=window.requestAnimationFrame(function(){o=window.requestAnimationFrame(function(){n=window.setTimeout(a,400)})})};"complete"!==document.readyState?(s(window,"load",c,{once:!0}),r=window.setTimeout(a,4500)):c()}else Wt()}():Vt()}()}),$t();var Kt=new MutationObserver(function(){$t()&&Kt.disconnect()});Kt.observe(document.body,{childList:!0})}},function(e){e.O(0,["vendor"],function(){return e(e.s=79019)}),e.O()}])}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.