1"use strict";(self.webpackChunkxcams=self.webpackChunkxcams||[]).push([[2305],{17567(e,t,a){a.d(t,{k:()=>E});a(74423),a(3362),a(27495),a(25440);var n=a(50953),r=a(20641),o=a(25069),s=a(85144);window.__USER_STORE__||(window.__USER_STORE__={state:(0,n.KR)({role:o.A.ROLE_GUEST,isGuestAccount:!1,guestCanMigrate:!1,loggedIn:!1,credits:0,returning:!1,brand:{logo:"",name:""},cf1:"",locale:"en",unreadMessages:0,lastPaidWith:{paymentMethod:null,packKey:null}})});const i=window.__USER_STORE__.state,c=s.Q.getInstance();function l(){return i.value.loggedIn}function d(){const e=i.value.credits;return e<1e4?e.toString():e<1e6?Math.floor(e/1e3)+"k":e<1e9?Math.floor(e/1e6)+"M":Math.floor(e/1e9)+"B"}function u(){return i.value.brand.logo}function f(){return i.value.brand.name}function g(){return i.value.cf1}function v(){return i.value.locale}function h(){return i.value.unreadMessages}function w(){return!i.value.returning}function p(){let e=window.navBar.user.paths.payment;const t=i.value.lastPaidWith,a=null==t?void 0:t.paymentMethod,n=null==t?void 0:t.packKey;return a&&["dimoco","sunrise","salt","swisscom"].includes(a.toLowerCase())?e.replace("/payment2018/","/mobile2018/"):(a&&(e+=a.toLowerCase()),a&&n&&(e=e+"/"+n.toLowerCase()),e)}const _=(0,r.EW)((()=>i.value.unreadMessages>99?"+99":i.value.unreadMessages));function C(e){i.value=Object.assign(i.value,e)}function k(e){i.value.credits=e}function m(e){i.value.loggedIn=e}function M(e){i.value.role=e}async function b(){const e=await c.get(window.navBar.user.paths.creditsUpdate);if(!e.hasOwnProperty("credits"))return m(!1),void M(o.A.ROLE_GUEST);k(e.credits)}function L(e){i.value.locale=e}function E(){return{userState:i,getBrandLogo:u,getBrandName:f,getCf1:g,getFormattedCredits:d,getLocale:v,getUnreadMessages:h,getPaymentPathForUserLoggedIn:p,userIsLoggedIn:l,isFirstOfferEligible:w,initializeOrUpdateUser:C,setLocale:L,updateUserLoggedIn:m,updateUserRole:M,updateCredits:k,refreshCredits:b,formattedNumberOfUnreadMessages:_}}},12305(e,t,a){a.r(t),a.d(t,{default:()=>g});var n=a(20641),r=a(90033),o=a(50953),s=a(41141),i=a(73120),c=a(20174),l=a(17567);const d={class:"refill-now__container--icon"},u={class:"refill-now__container--text"},f={__name:"RefillNow",setup(e){const t=i.W.getInstance(),a=c.o.getInstance(),f=(0,l.k)().getPaymentPathForUserLoggedIn;function g(){const e=f();a.navigate(e)}return(e,a)=>((0,n.uX)(),(0,n.CE)("div",{class:"refill-now__container",onClick:g},[(0,n.Lk)("div",d,[(0,n.bF)(s.A)]),a[0]||(a[0]=(0,n.Lk)("div",{class:"refill-now__container--separator"},null,-1)),(0,n.Lk)("div",u,(0,r.v_)((0,o.R1)(t).translate("refillNow",{},"actionsScreen")),1)]))}};const g=(0,a(66262).A)(f,[["__scopeId","data-v-59b7357c"]])},41141(e,t,a){a.d(t,{A:()=>i});a(62953);var n=a(53751),r=a(20641);const o={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"15",viewBox:"0 0 24 15",fill:"none"},s={__name:"CreditsIcon",props:{color:{type:String,default:"white"}},setup:e=>((0,n.$9)((t=>({v3af52a24:e.color}))),(e,t)=>((0,r.uX)(),(0,r.CE)("svg",o,[...t[0]||(t[0]=[(0,r.Fv)('<ellipse cx="10.6497" cy="8.75" rx="5.5" ry="2" stroke="white" stroke-width="1.5" data-v-c638f6bc></ellipse><path d="M16.1497 8.75V11.75C16.1497 12.8546 13.6872 13.75 10.6497 13.75C7.61209 13.75 5.14966 12.8546 5.14966 11.75V8.75" stroke="white" stroke-width="1.5" data-v-c638f6bc></path><path d="M11.75 2.75C11.75 3.85457 14.2124 4.75 17.25 4.75C20.2876 4.75 22.75 3.85457 22.75 2.75C22.75 1.64543 20.2876 0.75 17.25 0.75C14.2124 0.75 11.75 1.64543 11.75 2.75ZM11.75 2.75L11.75 6.75" stroke="white" stroke-width="1.5" data-v-c638f6bc></path><path d="M22.75 2.75V5.75C22.75 6.85457 20.2876 7.75 17.25 7.75C16.8733 7.75 15.6052 7.73623 15.2498 7.70999" stroke="white" stroke-width="1.5" data-v-c638f6bc></path><path d="M11.0142 6.75C11.4822 6.45583 11.75 6.11429 11.75 5.75C11.75 4.64543 9.28757 3.75 6.25 3.75C3.21243 3.75 0.75 4.64543 0.75 5.75C0.75 6.79328 2.94675 7.64999 5.75 7.74185" stroke="white" stroke-width="1.5" data-v-c638f6bc></path><path d="M0.75 5.75V8.75C0.75 9.71758 2.63954 10.5247 5.15 10.71" stroke="white" stroke-width="1.5" data-v-c638f6bc></path>',6)])])))};const i=(0,a(66262).A)(s,[["__scopeId","data-v-c638f6bc"]])}}]);
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.