Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/monitoring/spa/_nuxt/DsGtFXou.min.js

import{G as p,z as u,v as m,r as d,g as k,_ as f,o as c,c as l,I as h,a,t as _,L as M,M as y,d as T,q as A}from"./okq41Fdn.js";const R=()=>({signInURL:()=>{const{OUTER_APPLICATION_ROOT:n,OUTER_APPLICATION_ONBOARDING:o,WHM_EXTRAS:t}=p().public,s=n||window.location.origin,i=o||"";if(t){const r=u().cPanelSecurityToken();window.location.href=`${s}${r}${p().public.WHM_APPLICATION_PATH||""}/monitoring`;return}window.location.href=`${s}${i}`}}),C=m({__name:"MarketingConsent",props:{simple:{type:Boolean,default:!0}},emits:["agreeForMarketing"],setup(e,{expose:n,emit:o}){n();const t=e,s=d(!1),i=o;k(s,(g=>{t.simple||i("agreeForMarketing",g)}));const r={props:t,checkAgree:s,emit:i};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),b={class:"mb-4 font-medium text-lg"},x={class:"mb-3 text-gray-700 text-sm"},I={class:"flex gap-2 items-center cursor-pointer"},L={class:"bg-slate-100 px-6 py-4 rounded-md text-xs leading-4"},v=["innerHTML"],O=["innerHTML"];function H(e,n,o,t,s,i){return c(),l("div",null,[o.simple?A("",!0):(c(),l(h,{key:0},[a("h3",b,_(e.$t("MarketingConsent")),1),a("div",x,[a("label",I,[M(a("input",{"onUpdate:modelValue":n[0]||(n[0]=r=>t.checkAgree=r),type:"checkbox",name:"agree",class:"scale-110"},null,512),[[y,t.checkAgree]]),T(" "+_(e.$t("AgreeForMarketing")),1)])])],64)),a("div",L,[o.simple?(c(),l("p",{key:0,innerHTML:e.$t("MarketingConsentShort",{url:"https://360monitoring.com/legal/#privacy-policy"})},null,8,v)):(c(),l("p",{key:1,innerHTML:e.$t("MarketingConsentLong",{url:"https://360monitoring.com/legal/#privacy-policy"})},null,8,O))])])}const $=f(C,[["render",H],["__file","MarketingConsent.vue"]]);export{$ as _,R as u};
Back to Directory File Manager