Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/Program Files/Avast Software/Avast/gui_resources/1.0.663/ |
//{"name":"BatterySaver","version":"1.2.304","created":"2021-09-06T10:51:06.731Z"} import{nls as e}from"./i18n.js";import{serviceRequest as t,eventer as n}from"./napi.js";import{ipmService as i}from"./napiExtensions.js";import{TabableToggler as u}from"./libs.js";function l(){}function s(e){return e()}function a(){return Object.create(null)}function o(e){e.forEach(s)}function r(e){return"function"==typeof e}function c(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function h(e,t,n,i){if(e){const u=d(e,t,n,i);return e[0](u)}}function d(e,t,n,i){return e[1]&&i?function(e,t){for(const n in t)e[n]=t[n];return e}(n.ctx.slice(),e[1](i(t))):n.ctx}function v(e,t,n,i,u,l,s){const a=function(e,t,n,i){if(e[2]&&i){const u=e[2](i(n));if(void 0===t.dirty)return u;if("object"==typeof u){const e=[],n=Math.max(t.dirty.length,u.length);for(let i=0;i<n;i+=1)e[i]=t.dirty[i]|u[i];return e}return t.dirty|u}return t.dirty}(t,i,u,l);if(a){const u=d(t,n,i,s);e.p(u,a)}}function p(e){return e&&r(e.destroy)?e.destroy:l}function g(e,t){e.appendChild(t)}function k(e,t,n){e.insertBefore(t,n||null)}function _(e){e.parentNode.removeChild(e)}function b(e){return document.createElement(e)}function f(e){return document.createTextNode(e)}function m(){return f(" ")}function $(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function y(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function x(e,t,n){t in e?e[t]=n:y(e,t,n)}function w(e,t,n,i){e.style.setProperty(t,n,i?"important":"")}function z(e,t,n){e.classList[n?"add":"remove"](t)}let q;function E(e){q=e}function C(){if(!q)throw new Error("Function called outside component initialization");return q}function j(e){C().$$.on_mount.push(e)}function T(e){C().$$.on_destroy.push(e)}function M(){const e=C();return(t,n)=>{const i=e.$$.callbacks[t];if(i){const u=function(e,t){const n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}(t,n);i.slice().forEach((t=>{t.call(e,u)}))}}}const H=[],S=[],L=[],B=[],U=Promise.resolve();let A=!1;function O(e){L.push(e)}let I=!1;const P=new Set;function N(){if(!I){I=!0;do{for(let e=0;e<H.length;e+=1){const t=H[e];E(t),V(t.$$)}for(E(null),H.length=0;S.length;)S.pop()();for(let e=0;e<L.length;e+=1){const t=L[e];P.has(t)||(P.add(t),t())}L.length=0}while(H.length);for(;B.length;)B.pop()();A=!1,I=!1,P.clear()}}function V(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(O)}}const D=new Set;let F;function X(){F={r:0,c:[],p:F}}function W(){F.r||o(F.c),F=F.p}function Y(e,t){e&&e.i&&(D.delete(e),e.i(t))}function Z(e,t,n,i){if(e&&e.o){if(D.has(e))return;D.add(e),F.c.push((()=>{D.delete(e),i&&(n&&e.d(1),i())})),e.o(t)}}const G="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function J(e){e&&e.c()}function K(e,t,n,i){const{fragment:u,on_mount:l,on_destroy:a,after_update:c}=e.$$;u&&u.m(t,n),i||O((()=>{const t=l.map(s).filter(r);a?a.push(...t):o(t),e.$$.on_mount=[]})),c.forEach(O)}function Q(e,t){const n=e.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function R(e,t){-1===e.$$.dirty[0]&&(H.push(e),A||(A=!0,U.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ee(e,t,n,i,u,s,r=[-1]){const c=q;E(e);const h=e.$$={fragment:null,ctx:null,props:s,update:l,not_equal:u,bound:a(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(c?c.$$.context:[]),callbacks:a(),dirty:r,skip_bound:!1};let d=!1;if(h.ctx=n?n(e,t.props||{},((t,n,...i)=>{const l=i.length?i[0]:n;return h.ctx&&u(h.ctx[t],h.ctx[t]=l)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](l),d&&R(e,t)),n})):[],h.update(),d=!0,o(h.before_update),h.fragment=!!i&&i(h.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);h.fragment&&h.fragment.l(e),e.forEach(_)}else h.fragment&&h.fragment.c();t.intro&&Y(e.$$.fragment),K(e,t.target,t.anchor,t.customElement),N()}E(c)}class te{$destroy(){Q(this,1),this.$destroy=l}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}var ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},ie="object"==typeof ne&&ne&&ne.Object===Object&&ne,ue="object"==typeof self&&self&&self.Object===Object&&self;ie||ue||Function("return this")();const{document:le}=G;const se=e=>({}),ae=e=>({}),oe=e=>({}),re=e=>({}),ce=e=>({}),he=e=>({}),de=e=>({}),ve=e=>({}),pe=e=>({}),ge=e=>({}),ke=e=>({}),_e=e=>({});function be(e){let t,n,i,u,l;const s=[me,fe],a=[];function o(e,t){return""!=e[0]?0:1}return t=o(e),n=a[t]=s[t](e),{c(){n.c(),i=m(),u=b("kin-loading"),x(u,"fullscreen","true"),x(u,"class","svelte-13u5uhu")},m(e,n){a[t].m(e,n),k(e,i,n),k(e,u,n),l=!0},p(e,u){let l=t;t=o(e),t===l?a[t].p(e,u):(X(),Z(a[l],1,1,(()=>{a[l]=null})),W(),n=a[t],n?n.p(e,u):(n=a[t]=s[t](e),n.c()),Y(n,1),n.m(i.parentNode,i))},i(e){l||(Y(n),l=!0)},o(e){Z(n),l=!1},d(e){a[t].d(e),e&&_(i),e&&_(u)}}}function fe(e){let t,n;const i=e[16]["page-title"],u=h(i,e,e[15],_e);return{c(){t=b("div"),u&&u.c(),y(t,"class","kin_loading__title svelte-13u5uhu"),w(t,"color","transparent")},m(e,i){k(e,t,i),u&&u.m(t,null),n=!0},p(e,t){u&&u.p&&32768&t&&v(u,i,e,e[15],t,ke,_e)},i(e){n||(Y(u,e),n=!0)},o(e){Z(u,e),n=!1},d(e){e&&_(t),u&&u.d(e)}}}function me(e){let t;return{c(){t=b("h1"),y(t,"class","kin_loading__title svelte-13u5uhu"),w(t,"color","transparent")},m(n,i){k(n,t,i),t.innerHTML=e[0]},p(e,n){1&n&&(t.innerHTML=e[0])},i:l,o:l,d(e){e&&_(t)}}}function $e(e){let t,n;const i=e[16]["page-title"],u=h(i,e,e[15],ve);return{c(){t=b("div"),u&&u.c(),y(t,"class","kin_header__title svelte-13u5uhu")},m(e,i){k(e,t,i),u&&u.m(t,null),n=!0},p(e,t){u&&u.p&&32768&t&&v(u,i,e,e[15],t,de,ve)},i(e){n||(Y(u,e),n=!0)},o(e){Z(u,e),n=!1},d(e){e&&_(t),u&&u.d(e)}}}function ye(e){let t;return{c(){t=b("h1"),y(t,"class","kin_header__title svelte-13u5uhu")},m(n,i){k(n,t,i),t.innerHTML=e[0]},p(e,n){1&n&&(t.innerHTML=e[0])},i:l,o:l,d(e){e&&_(t)}}}function xe(e){let t,n,i;const u=e[16].controls,l=h(u,e,e[15],he);let s=e[4]&&e[5]&&we(e);return{c(){t=b("div"),l&&l.c(),n=m(),s&&s.c(),y(t,"class","kin_header__controls svelte-13u5uhu")},m(e,u){k(e,t,u),l&&l.m(t,null),g(t,n),s&&s.m(t,null),i=!0},p(e,n){l&&l.p&&32768&n&&v(l,u,e,e[15],n,ce,he),e[4]&&e[5]?s?s.p(e,n):(s=we(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},i(e){i||(Y(l,e),i=!0)},o(e){Z(l,e),i=!1},d(e){e&&_(t),l&&l.d(e),s&&s.d()}}}function we(e){let t,n;return{c(){t=b("div"),n=f(e[5]),y(t,"class","kin_header__tooltip tooltip -onboarding -arrow-top svelte-13u5uhu")},m(e,i){k(e,t,i),g(t,n)},p(e,t){32&t&&function(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}(n,e[5])},d(e){e&&_(t)}}}function ze(t){let n,i,u,s;return{c(){n=b("button"),i=b("kin-icon"),x(i,"name","icon-s-controls-arrow-left"),x(i,"size","20"),x(i,"class","svelte-13u5uhu"),y(n,"class","kin_back-btn svelte-13u5uhu"),y(n,"title",e("global.goBack"))},m(e,l){k(e,n,l),g(n,i),u||(s=$(n,"click",t[17]),u=!0)},p:l,d(e){e&&_(n),u=!1,s()}}}function qe(t){let n,i,u;return{c(){n=b("a"),i=b("kin-icon"),x(i,"name","icon-s-controls-arrow-left"),x(i,"size","20"),x(i,"class","svelte-13u5uhu"),y(n,"class","kin_back-btn svelte-13u5uhu"),y(n,"href",u=t[9]||"#Dashboard"),y(n,"title",e("global.goBack"))},m(e,t){k(e,n,t),g(n,i)},p(e,t){512&t&&u!==(u=e[9]||"#Dashboard")&&y(n,"href",u)},d(e){e&&_(n)}}}function Ee(t){let n,i;return{c(){n=b("a"),i=b("kin-icon"),x(i,"name","icon-s-settings-button"),x(i,"size","20"),x(i,"class","svelte-13u5uhu"),y(n,"class","kin_settings-btn svelte-13u5uhu"),y(n,"href",t[1]),y(n,"title",e("settings"))},m(e,t){k(e,n,t),g(n,i)},p(e,t){2&t&&y(n,"href",e[1])},d(e){e&&_(n)}}}function Ce(e){let t,n,i,u;const l=e[16]["page-content"],s=h(l,e,e[15],ae);return{c(){t=b("div"),s&&s.c(),y(t,"class","kin_page__content svelte-13u5uhu"),z(t,"-disabled",e[4])},m(l,a){k(l,t,a),s&&s.m(t,null),n=!0,i||(u=p(e[13].call(null,t)),i=!0)},p(e,n){s&&s.p&&32768&n&&v(s,l,e,e[15],n,se,ae),16&n&&z(t,"-disabled",e[4])},i(e){n||(Y(s,e),n=!0)},o(e){Z(s,e),n=!1},d(e){e&&_(t),s&&s.d(e),i=!1,u()}}}function je(e){let t,n;const i=e[16].upsell,u=h(i,e,e[15],re);return{c(){t=b("div"),u&&u.c(),y(t,"class","kin_page__content svelte-13u5uhu")},m(e,i){k(e,t,i),u&&u.m(t,null),n=!0},p(e,t){u&&u.p&&32768&t&&v(u,i,e,e[15],t,oe,re)},i(e){n||(Y(u,e),n=!0)},o(e){Z(u,e),n=!1},d(e){e&&_(t),u&&u.d(e)}}}function Te(e){let t,n,i,u,l,s,a,o,r,c,d,p,f,$,x,w,q,E=e[10]&&be(e);const C=e[16].breadcrumbs,j=h(C,e,e[15],ge),T=[ye,$e],M=[];function H(e,t){return e[0]?0:1}o=H(e),r=M[o]=T[o](e);let S=!e[3]&&xe(e);function L(e,t){return e[7]&&!e[8]?qe:e[8]?ze:void 0}let B=L(e),U=B&&B(e),A=e[1]&&!e[3]&&Ee(e);const O=[je,Ce],I=[];function P(e,t){return e[3]?0:1}return $=P(e),x=I[$]=O[$](e),{c(){t=b("div"),E&&E.c(),n=m(),i=b("div"),u=b("header"),l=b("div"),j&&j.c(),s=m(),a=b("div"),r.c(),c=m(),S&&S.c(),d=m(),U&&U.c(),p=m(),A&&A.c(),f=m(),x.c(),y(l,"class","kin_header__crumbs crumbs svelte-13u5uhu"),y(a,"class","kin_header__content svelte-13u5uhu"),y(u,"class","kin_header svelte-13u5uhu"),y(i,"class","svelte-13u5uhu"),z(i,"invisible",e[10]),y(t,"class",w="kin_page "+("ltr"!=e[11]?"-"+e[11]:"")+" "+(e[6]?"-"+e[6]:"")+" "+e[2]+" svelte-13u5uhu")},m(e,r){k(e,t,r),E&&E.m(t,null),g(t,n),g(t,i),g(i,u),g(u,l),j&&j.m(l,null),g(u,s),g(u,a),M[o].m(a,null),g(a,c),S&&S.m(a,null),g(u,d),U&&U.m(u,null),g(u,p),A&&A.m(u,null),g(i,f),I[$].m(i,null),q=!0},p(e,[l]){e[10]?E?(E.p(e,l),1024&l&&Y(E,1)):(E=be(e),E.c(),Y(E,1),E.m(t,n)):E&&(X(),Z(E,1,1,(()=>{E=null})),W()),j&&j.p&&32768&l&&v(j,C,e,e[15],l,pe,ge);let s=o;o=H(e),o===s?M[o].p(e,l):(X(),Z(M[s],1,1,(()=>{M[s]=null})),W(),r=M[o],r?r.p(e,l):(r=M[o]=T[o](e),r.c()),Y(r,1),r.m(a,c)),e[3]?S&&(X(),Z(S,1,1,(()=>{S=null})),W()):S?(S.p(e,l),8&l&&Y(S,1)):(S=xe(e),S.c(),Y(S,1),S.m(a,null)),B===(B=L(e))&&U?U.p(e,l):(U&&U.d(1),U=B&&B(e),U&&(U.c(),U.m(u,p))),e[1]&&!e[3]?A?A.p(e,l):(A=Ee(e),A.c(),A.m(u,null)):A&&(A.d(1),A=null);let h=$;$=P(e),$===h?I[$].p(e,l):(X(),Z(I[h],1,1,(()=>{I[h]=null})),W(),x=I[$],x?x.p(e,l):(x=I[$]=O[$](e),x.c()),Y(x,1),x.m(i,null)),1024&l&&z(i,"invisible",e[10]),(!q||2116&l&&w!==(w="kin_page "+("ltr"!=e[11]?"-"+e[11]:"")+" "+(e[6]?"-"+e[6]:"")+" "+e[2]+" svelte-13u5uhu"))&&y(t,"class",w)},i(e){q||(Y(E),Y(j,e),Y(r),Y(S),Y(x),q=!0)},o(e){Z(E),Z(j,e),Z(r),Z(S),Z(x),q=!1},d(e){e&&_(t),E&&E.d(),j&&j.d(e),M[o].d(),S&&S.d(),U&&U.d(),A&&A.d(),I[$].d()}}}function Me(e,t,n){let{$$slots:i={},$$scope:l}=t,{heading:s}=t,{settingsUrl:a}=t,{cssCls:o}=t,{upsell:r=!1}=t,{inactive:c=!1}=t,{inactiveMsg:h}=t,{layout:d}=t,{back:v=!0}=t,{backEvent:p=!1}=t,{backHash:g}=t,{loading:k=!1}=t;const _=M();let b,f="ltr";j((()=>{n(11,f=document.body.dir)})),T((()=>{n(11,f=null)}));return e.$$set=e=>{"heading"in e&&n(0,s=e.heading),"settingsUrl"in e&&n(1,a=e.settingsUrl),"cssCls"in e&&n(2,o=e.cssCls),"upsell"in e&&n(3,r=e.upsell),"inactive"in e&&n(4,c=e.inactive),"inactiveMsg"in e&&n(5,h=e.inactiveMsg),"layout"in e&&n(6,d=e.layout),"back"in e&&n(7,v=e.back),"backEvent"in e&&n(8,p=e.backEvent),"backHash"in e&&n(9,g=e.backHash),"loading"in e&&n(10,k=e.loading),"$$scope"in e&&n(15,l=e.$$scope)},e.$$.update=()=>{16400&e.$$.dirty&&b&&b.set(!c)},[s,a,o,r,c,h,d,v,p,g,k,f,_,function(e){return n(14,b=new u(e)),{destroy:()=>{b.destroy(),n(14,b=null)}}},b,l,i,()=>_("backClick")]}class He extends te{constructor(e){var t;super(),le.getElementById("svelte-13u5uhu-style")||((t=b("style")).id="svelte-13u5uhu-style",t.textContent=".invisible.svelte-13u5uhu.svelte-13u5uhu{display:none}.svelte-13u5uhu.svelte-13u5uhu,.svelte-13u5uhu.svelte-13u5uhu:before,.svelte-13u5uhu.svelte-13u5uhu:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.kin_page.svelte-13u5uhu.svelte-13u5uhu{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--page-background);overflow:hidden}.kin_loading__title.svelte-13u5uhu.svelte-13u5uhu{position:absolute;opacity:0.01}.kin_header.svelte-13u5uhu.svelte-13u5uhu{padding:1.5rem var(--page-padding) 0;height:var(--header-height);position:relative;text-align:var(--page-header-align)}.kin_header__crumbs.svelte-13u5uhu.svelte-13u5uhu,.kin_header__content.svelte-13u5uhu.svelte-13u5uhu{position:absolute;left:var(--page-padding);right:var(--page-padding)}.kin_header__crumbs.svelte-13u5uhu.svelte-13u5uhu{display:var(--breadcrumbs-vis)}.kin_header__content.svelte-13u5uhu.svelte-13u5uhu{bottom:1.1rem}.kin_header__title.svelte-13u5uhu.svelte-13u5uhu,.kin_header__controls.svelte-13u5uhu.svelte-13u5uhu{display:inline-block;vertical-align:middle;position:relative}.kin_header__title.svelte-13u5uhu.svelte-13u5uhu{margin-top:0;margin-bottom:0;padding:0;line-height:1.1;font-size:var(--font-size-header);font-weight:var(--font-weight-h1);max-width:100%}.kin_header__tooltip.svelte-13u5uhu.svelte-13u5uhu{position:absolute;width:24rem;margin-top:calc(var(--switch-height) + 1.5rem);padding-top:1.2rem;padding-bottom:1.2rem;z-index:20;transform:translateX(-50%);left:50%}.kin_back-btn.svelte-13u5uhu.svelte-13u5uhu,.kin_settings-btn.svelte-13u5uhu.svelte-13u5uhu{position:absolute;left:0;top:var(--back-button-top);border:0;background-color:var(--ds-on-background-extra-light);transition:background-color 0.2s, width 0.2s;cursor:pointer;color:inherit;text-decoration:none;width:4.8rem;height:var(--back-button-height);border-radius:0 var(--back-button-height) var(--back-button-height) 0;display:flex;align-items:center;justify-content:center;z-index:9}.kin_back-btn.svelte-13u5uhu kin-icon.svelte-13u5uhu,.kin_settings-btn.svelte-13u5uhu kin-icon.svelte-13u5uhu{opacity:0.75}.kin_back-btn.svelte-13u5uhu.svelte-13u5uhu:focus,.kin_settings-btn.svelte-13u5uhu.svelte-13u5uhu:focus,.kin_back-btn.svelte-13u5uhu.svelte-13u5uhu:hover,.kin_settings-btn.svelte-13u5uhu.svelte-13u5uhu:hover{width:5.6rem;background-color:var(--ds-on-background-light);outline:0}.kin_back-btn.svelte-13u5uhu:focus kin-icon.svelte-13u5uhu,.kin_settings-btn.svelte-13u5uhu:focus kin-icon.svelte-13u5uhu,.kin_back-btn.svelte-13u5uhu:hover kin-icon.svelte-13u5uhu,.kin_settings-btn.svelte-13u5uhu:hover kin-icon.svelte-13u5uhu{opacity:1}.kin_settings-btn.svelte-13u5uhu.svelte-13u5uhu{left:auto;right:0;border-radius:var(--back-button-height) 0 0 var(--back-button-height)}.kin_settings-btn__tooltip.svelte-13u5uhu.svelte-13u5uhu{display:none;position:absolute;right:105%}.kin_back-btn.svelte-13u5uhu.svelte-13u5uhu{display:var(--back-btn-vis)}.kin_back-btn.-static.svelte-13u5uhu.svelte-13u5uhu{position:fixed;top:6.4rem}.kin_page__content.svelte-13u5uhu.svelte-13u5uhu{position:absolute;top:var(--header-height);right:0;bottom:0;left:0;display:block}.kin_page__content.-disabled.svelte-13u5uhu.svelte-13u5uhu{opacity:0.2;pointer-events:none}.kin_upsell.svelte-13u5uhu.svelte-13u5uhu{top:var(--header-height);bottom:0;left:0;right:0;position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center}.kin_upsell__icon.svelte-13u5uhu.svelte-13u5uhu{font-size:18rem;margin-bottom:2rem}.kin_upsell__cta.svelte-13u5uhu.svelte-13u5uhu{margin-top:1rem}.kin_page.-no-header.svelte-13u5uhu .kin_header.svelte-13u5uhu{display:none}.kin_page.-no-header.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:0}.kin_page.-cover-header.svelte-13u5uhu .kin_header.svelte-13u5uhu{position:absolute;width:100%;z-index:1}.kin_page.-cover-header.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:0}.kin_page.-large-header.svelte-13u5uhu .kin_header.svelte-13u5uhu{height:var(--header-height-large)}.kin_page.-large-header.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block}.kin_page.-large-header.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:var(--header-height-large)}.kin_page.-medium-header.svelte-13u5uhu .kin_header.svelte-13u5uhu{height:var(--header-height-medium)}.kin_page.-medium-header.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block}.kin_page.-medium-header.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:var(--header-height-medium)}.kin_page.-tabs-page.svelte-13u5uhu .kin_header.svelte-13u5uhu{height:var(--header-height-tabs);text-align:center}.kin_page.-tabs-page.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block;text-align:center}.kin_page.-tabs-page.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{display:block;text-align:center;padding:0}.kin_page.-tabs-page.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:var(--header-height-tabs);text-align:center}.kin_page.-center-header.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu,.kin_page.-center-header.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block;text-align:center}.kin_page.-center.svelte-13u5uhu.svelte-13u5uhu,.kin_page.-center-all.svelte-13u5uhu.svelte-13u5uhu{text-align:center}.kin_page.-center.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu,.kin_page.-center-all.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{display:none}.kin_page.-center.svelte-13u5uhu .kin_header__title.svelte-13u5uhu,.kin_page.-center-all.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block}.kin_page.-center-all.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{display:flex;align-items:center;justify-content:center;text-align:center}.kin_page.-flex-between.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{display:none}.kin_page.-flex-between.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block}.kin_page.-flex-between.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{display:flex;align-items:center;justify-content:space-between;text-align:center}.kin_page.-profile.svelte-13u5uhu .kin_header.svelte-13u5uhu{position:static;height:auto;text-align:start}.kin_page.-profile.svelte-13u5uhu .kin_header__content.svelte-13u5uhu{position:static}.kin_page.-profile.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{position:static;display:block;padding:0;max-height:none}.kin_page.-profile.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{max-height:none;max-width:100%}.kin_page.-profile.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:calc(var(--header-height) + 6rem)}.kin_page.-detail.svelte-13u5uhu .kin_header.svelte-13u5uhu{text-align:center;height:calc(var(--header-height-large) + 4rem)}.kin_page.-detail.svelte-13u5uhu .kin_header__content.svelte-13u5uhu{display:block}.kin_page.-detail.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{max-height:none;display:block;font-weight:var(--font-weight-h1);padding:0 8%}.kin_page.-detail.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{padding:1rem 0 0;position:static;display:block;max-height:none}.kin_page.-detail.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:calc(var(--header-height-large) + 4rem)}.kin_page.-rtl.svelte-13u5uhu .kin_header__tooltip.svelte-13u5uhu{transform:translateX(50%);left:auto;right:50%}.kin_page.-rtl.svelte-13u5uhu .kin_back-btn.svelte-13u5uhu,.kin_page.-rtl.svelte-13u5uhu .kin_settings-btn.svelte-13u5uhu{transform:scale(-1)}.kin_page.-rtl.svelte-13u5uhu .kin_back-btn.svelte-13u5uhu:hover,.kin_page.-rtl.svelte-13u5uhu .kin_settings-btn.svelte-13u5uhu:hover{transform:scale(-1.1)}.kin_page.-rtl.svelte-13u5uhu .kin_back-btn.svelte-13u5uhu{left:auto;right:0}.kin_page.-rtl.svelte-13u5uhu .kin_settings-btn.svelte-13u5uhu{right:auto;left:0}",g(le.head,t)),ee(this,e,Me,Te,c,{heading:0,settingsUrl:1,cssCls:2,upsell:3,inactive:4,inactiveMsg:5,layout:6,back:7,backEvent:8,backHash:9,loading:10})}get heading(){return this.$$.ctx[0]}set heading(e){this.$set({heading:e}),N()}get settingsUrl(){return this.$$.ctx[1]}set settingsUrl(e){this.$set({settingsUrl:e}),N()}get cssCls(){return this.$$.ctx[2]}set cssCls(e){this.$set({cssCls:e}),N()}get upsell(){return this.$$.ctx[3]}set upsell(e){this.$set({upsell:e}),N()}get inactive(){return this.$$.ctx[4]}set inactive(e){this.$set({inactive:e}),N()}get inactiveMsg(){return this.$$.ctx[5]}set inactiveMsg(e){this.$set({inactiveMsg:e}),N()}get layout(){return this.$$.ctx[6]}set layout(e){this.$set({layout:e}),N()}get back(){return this.$$.ctx[7]}set back(e){this.$set({back:e}),N()}get backEvent(){return this.$$.ctx[8]}set backEvent(e){this.$set({backEvent:e}),N()}get backHash(){return this.$$.ctx[9]}set backHash(e){this.$set({backHash:e}),N()}get loading(){return this.$$.ctx[10]}set loading(e){this.$set({loading:e}),N()}}const{document:Se}=G;const Le=e=>({}),Be=e=>({}),Ue=e=>({}),Ae=e=>({}),Oe=e=>({}),Ie=e=>({}),Pe=e=>({}),Ne=e=>({});function Ve(e){let t;return{c(){t=b("kin-loading"),x(t,"fullscreen","true")},m(e,n){k(e,t,n)},d(e){e&&_(t)}}}function De(e){let t,n,i,u,l,s,a,r,c,d,f,x,q,E,C,j,T=("true"===e[1]||!0===e[1])&&Ve();const M=e[15].description,H=h(M,e,e[14],Ne),S=e[15].cta,L=h(S,e,e[14],Ie),B=e[15]["view-content"],U=h(B,e,e[14],Ae),A=e[15]["view-actions"],O=h(A,e,e[14],Be);return{c(){t=b("div"),T&&T.c(),n=m(),i=b("div"),u=b("div"),H&&H.c(),l=m(),s=b("div"),L&&L.c(),a=m(),r=b("div"),U&&U.c(),f=m(),x=b("div"),O&&O.c(),y(u,"class","kin_description svelte-1kq23zh"),w(u,"opacity",e[3]),z(u,"-no-events",e[3]<.1),y(s,"class","kin_cta svelte-1kq23zh"),w(s,"opacity",e[4]),z(s,"-no-events",e[4]<.1),y(r,"class","kin_view__content svelte-1kq23zh"),i.hidden=c="true"===e[1]||!0===e[1],y(i,"class","svelte-1kq23zh"),y(t,"class",d="kin_view "+(e[2]&&"ltr"!=e[2]?"-"+e[2]:"")+" "+e[0]+" svelte-1kq23zh"),z(t,"-actions",!0===e[5]||e[6]),y(x,"class","kin_actions svelte-1kq23zh"),x.hidden=q=e[7]||!(!0===e[5]||e[6])},m(o,c){k(o,t,c),T&&T.m(t,null),g(t,n),g(t,i),g(i,u),H&&H.m(u,null),g(i,l),g(i,s),L&&L.m(s,null),g(i,a),g(i,r),U&&U.m(r,null),k(o,f,c),k(o,x,c),O&&O.m(x,null),E=!0,C||(j=[p(e[9].call(null,r)),$(t,"scroll",e[10]),$(t,"content-scrollto",e[11]),$(t,"kin-view:fire-scrolling",e[12]),p(e[8].call(null,t))],C=!0)},p(e,[l]){"true"===e[1]||!0===e[1]?T||(T=Ve(),T.c(),T.m(t,n)):T&&(T.d(1),T=null),H&&H.p&&16384&l&&v(H,M,e,e[14],l,Pe,Ne),(!E||8&l)&&w(u,"opacity",e[3]),8&l&&z(u,"-no-events",e[3]<.1),L&&L.p&&16384&l&&v(L,S,e,e[14],l,Oe,Ie),(!E||16&l)&&w(s,"opacity",e[4]),16&l&&z(s,"-no-events",e[4]<.1),U&&U.p&&16384&l&&v(U,B,e,e[14],l,Ue,Ae),(!E||2&l&&c!==(c="true"===e[1]||!0===e[1]))&&(i.hidden=c),(!E||5&l&&d!==(d="kin_view "+(e[2]&&"ltr"!=e[2]?"-"+e[2]:"")+" "+e[0]+" svelte-1kq23zh"))&&y(t,"class",d),101&l&&z(t,"-actions",!0===e[5]||e[6]),O&&O.p&&16384&l&&v(O,A,e,e[14],l,Le,Be),(!E||224&l&&q!==(q=e[7]||!(!0===e[5]||e[6])))&&(x.hidden=q)},i(e){E||(Y(H,e),Y(L,e),Y(U,e),Y(O,e),E=!0)},o(e){Z(H,e),Z(L,e),Z(U,e),Z(O,e),E=!1},d(e){e&&_(t),T&&T.d(),H&&H.d(e),L&&L.d(e),U&&U.d(e),e&&_(f),e&&_(x),O&&O.d(e),C=!1,o(j)}}}function Fe(e,t,n){let i,u,{$$slots:l={},$$scope:s}=t,{csscls:a=""}=t,{loading:o=!1}=t,{actionbar:r=null}=t;const c=M();let h=!1,d="ltr",v=1,p=1,g=!1,k=null,_=null;function b(e){n(5,g=e.detail.isVisible),c("propUpdate",{keyPath:"isAction",value:g})}return j((()=>{n(2,d=document.body.dir),i||u||window.addEventListener("kin-isActionBarVisible",b)})),T((()=>{i||u||window.removeEventListener("kin-isActionBarVisible",b),n(2,d=null);let e=k?.querySelector("kin-table");e?.$destroy(),e=null,k=null,_=null})),e.$$set=e=>{"csscls"in e&&n(0,a=e.csscls),"loading"in e&&n(1,o=e.loading),"actionbar"in e&&n(13,r=e.actionbar),"$$scope"in e&&n(14,s=e.$$scope)},e.$$.update=()=>{8192&e.$$.dirty&&n(6,i=!0===r||"true"===r),8192&e.$$.dirty&&n(7,u=!1===r||"false"===r)},[a,o,d,v,p,g,i,u,function(e){k=e},function(e){_=e},function(){const e=_?_.offsetTop:0,t=k?k.scrollTop:0;t>e?(n(3,v=0),n(4,p=0)):(n(3,v=.01*(100-4*t)),n(4,p=.01*(100-1.5*t))),h&&k?.dispatchEvent(new CustomEvent("kinview-scroll",{detail:{scrollPos:t,slotPos:e}}))},function(e){k&&k.scrollTo({top:e.detail.scrollTo,left:0,behavior:"smooth"})},function(){h=!0},r,s,l]}class Xe extends te{constructor(e){var t;super(),Se.getElementById("svelte-1kq23zh-style")||((t=b("style")).id="svelte-1kq23zh-style",t.textContent=".kin_description.svelte-1kq23zh.svelte-1kq23zh{display:block;position:sticky;top:0;z-index:9;text-align:var(--page-header-align)}.kin_description.-no-events.svelte-1kq23zh.svelte-1kq23zh{pointer-events:none}.kin_cta.svelte-1kq23zh.svelte-1kq23zh{display:block;text-align:var(--page-header-align)}.kin_cta.-no-events.svelte-1kq23zh.svelte-1kq23zh{pointer-events:none}.kin_cta__links.svelte-1kq23zh.svelte-1kq23zh{position:absolute;right:0;top:50%;transform:translateY(-50%)}.kin_view.svelte-1kq23zh.svelte-1kq23zh{display:block;position:absolute;top:0;right:0;bottom:0;left:0;padding:0 calc(var(--page-padding) - var(--page-scrollbar-width)) 2rem var(--page-padding);overflow-y:scroll;overflow-x:hidden}.kin_view__content.svelte-1kq23zh.svelte-1kq23zh{position:relative}.kin_view__icon.svelte-1kq23zh.svelte-1kq23zh{font-size:20rem;width:100%;margin-top:14vh;text-align:center;color:var(--color-graphics)}.kin_view.-actions.svelte-1kq23zh.svelte-1kq23zh{bottom:var(--action-bar-height);-webkit-mask-image:none}.kin_view.-center.svelte-1kq23zh.svelte-1kq23zh{text-align:center}.kin_view.-center.svelte-1kq23zh .kin_description.svelte-1kq23zh,.kin_view.-center.svelte-1kq23zh .kin_cta.svelte-1kq23zh,.kin_view.-center.svelte-1kq23zh .kin_view__content.svelte-1kq23zh{text-align:center}.kin_view.-center.svelte-1kq23zh .kin_description.svelte-1kq23zh{margin-left:auto;margin-right:auto}.kin_view.-tab-pane.svelte-1kq23zh.svelte-1kq23zh{padding-top:2rem}.kin_view.-detail.svelte-1kq23zh.svelte-1kq23zh{transform:scale(1)}.kin_view.-detail.svelte-1kq23zh .kin_cta.svelte-1kq23zh,.kin_view.-detail.svelte-1kq23zh .kin_description.svelte-1kq23zh{text-align:center}.kin_view.-detail.svelte-1kq23zh .kin_view__content.svelte-1kq23zh{padding-left:10%;padding-right:10%}.kin_actions.svelte-1kq23zh.svelte-1kq23zh{position:absolute;right:0;bottom:0;left:0;height:var(--action-bar-height);padding:1rem var(--page-padding);background-color:var(--action-bar-background);border-top:solid 1px var(--action-bar-border);box-shadow:var(--action-bar-shadow);font-size:var(--action-bar-font);z-index:9}.kin_view.-rtl.svelte-1kq23zh.svelte-1kq23zh{padding-left:calc(var(--page-padding) - var(--page-scrollbar-width));padding-right:var(--page-padding)}[hidden].svelte-1kq23zh.svelte-1kq23zh{visibility:hidden !important}",g(Se.head,t)),ee(this,e,Fe,De,c,{csscls:0,loading:1,actionbar:13})}}function We(t){let n,i;return{c(){n=b("div"),i=b("kin-crumbs"),x(i,"section","performance"),x(i,"sectionlabel",e("performance")),x(i,"modulelabel",e("batterySaver")),y(n,"slot","breadcrumbs")},m(e,t){k(e,n,t),g(n,i)},p:l,d(e){e&&_(n)}}}function Ye(t){let n,i,u,s,a,o,r,c,h,d=e("batterySaver.notInstalled.desc")+"";return{c(){n=b("kin-icon"),i=m(),u=b("h2"),u.textContent=`${e("batterySaver.notInstalled.title")}`,s=m(),a=b("p"),o=m(),r=b("kin-button"),r.textContent=`${e("batterySaver.notInstalled.btn")}`,x(n,"name","battery-saver"),x(n,"size","200"),x(n,"class","kin_view__icon color-disabled -text"),y(u,"class","h3 g-margin-bottom--20"),y(a,"class","p -secondary"),x(r,"size","large"),x(r,"class","large g-margin-top--20")},m(e,l){k(e,n,l),k(e,i,l),k(e,u,l),k(e,s,l),k(e,a,l),a.innerHTML=d,k(e,o,l),k(e,r,l),c||(h=$(r,"click",t[3]),c=!0)},p:l,d(e){e&&_(n),e&&_(i),e&&_(u),e&&_(s),e&&_(a),e&&_(o),e&&_(r),c=!1,h()}}}function Ze(t){let n,i,u,s,a,o,r,c,h;return{c(){n=b("kin-icon"),i=m(),u=b("h2"),u.textContent=`${e("batterySaver.installed.title")}`,s=m(),a=b("p"),a.textContent=`${e("batterySaver.installed.desc")}`,o=m(),r=b("kin-button"),r.textContent=`${e("batterySaver.installed.btn")}`,x(n,"name","battery-saver"),x(n,"size","200"),x(n,"class","kin_view__icon"),y(u,"class","h3 g-margin-bottom--20"),y(a,"class","p -secondary"),x(r,"size","large"),x(r,"class","large g-margin-top--20")},m(e,l){k(e,n,l),k(e,i,l),k(e,u,l),k(e,s,l),k(e,a,l),k(e,o,l),k(e,r,l),c||(h=$(r,"click",t[2]),c=!0)},p:l,d(e){e&&_(n),e&&_(i),e&&_(u),e&&_(s),e&&_(a),e&&_(o),e&&_(r),c=!1,h()}}}function Ge(e){let t,n;function i(e,t){return e[1]?Ze:Ye}let u=i(e),l=u(e);return{c(){t=b("div"),n=b("div"),l.c(),y(n,"class","nui_icon-page"),y(t,"slot","view-content")},m(e,i){k(e,t,i),g(t,n),l.m(n,null)},p(e,t){u===(u=i(e))&&l?l.p(e,t):(l.d(1),l=u(e),l&&(l.c(),l.m(n,null)))},d(e){e&&_(t),l.d()}}}function Je(e){let t,n,i;return n=new Xe({props:{loading:e[0],$$slots:{"view-content":[Ge]},$$scope:{ctx:e}}}),{c(){t=b("div"),J(n.$$.fragment),y(t,"slot","page-content")},m(e,u){k(e,t,u),K(n,t,null),i=!0},p(e,t){const i={};1&t&&(i.loading=e[0]),130&t&&(i.$$scope={dirty:t,ctx:e}),n.$set(i)},i(e){i||(Y(n.$$.fragment,e),i=!0)},o(e){Z(n.$$.fragment,e),i=!1},d(e){e&&_(t),Q(n)}}}function Ke(t){let n,i;return n=new He({props:{heading:e("batterySaver"),backHash:"#performance",$$slots:{"page-content":[Je],breadcrumbs:[We]},$$scope:{ctx:t}}}),{c(){J(n.$$.fragment)},m(e,t){K(n,e,t),i=!0},p(e,[t]){const i={};131&t&&(i.$$scope={dirty:t,ctx:e}),n.$set(i)},i(e){i||(Y(n.$$.fragment,e),i=!0)},o(e){Z(n.$$.fragment,e),i=!1},d(e){Q(n,e)}}}function Qe(e,u,l){let s=!0,a=!1;const o=[];function r(){return t("app.avast.lis.get.install",{ids:["bs"]}).then((e=>e&&e.products&&e.products.bs.installed)).catch((e=>{console.error("app.avast.lis.get.install",e)}))}return j((()=>{r().then((e=>{l(1,a=e),l(0,s=!1)}))})),T((()=>{o.forEach((e=>e()))})),[s,a,function(){t("app.avast.lis.open.ui",{id:"bs"}).catch((e=>{console.error("app.avast.lis.open.ui",e)}))},function(){i.openWindow(343),o.push(n.on("app.avast.lis.install.event",(e=>{e&&"finish"===e.step&&r().then((e=>{l(1,a=e)}))})))}]}export default class extends te{constructor(e){super(),ee(this,e,Qe,Ke,c,{})}}const Re={name:"BatterySaver",version:"1.2.304",created:"2021-09-06T10:51:06.731Z"};export{Re as metadata};