1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`a8f73c1`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:web20-front":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`dbd9a727-0655-4941-9040-2b2fc1afd0ac`,e._sentryDebugIdIdentifier=`sentry-dbid-dbd9a727-0655-4941-9040-2b2fc1afd0ac`)}catch{}})();import{w as e}from"./CFadHmlZ.js";import{A as t,D as n,F as r,Ft as i,I as a,Lt as o,O as s,Ot as c,Qt as l,R as u,Tn as d,Ut as f,bn as p,k as m,lt as h,on as g,q as _}from"./C_AzAwxu.js";import{n as v}from"./DfllZJtE.js";import{t as y}from"./gZfKDnv22.js";import{k as b,n as x}from"#entry";import{t as S}from"./A5WpE9Kt.js";_();var C=(e=`web`)=>{let{maintenanceModal:t}=b();return{modal:t,hasModal:n(()=>{if(t.value?.scope&&t.value.scope.length>0){let n=new Date(Date.now()),r=new Date(t.value.starts_at),i=t.value.finishes_at?new Date(t.value.finishes_at):void 0;if(n>=r&&(!i||n<=i))return t.value.scope.includes(e)}return!1})}};i(),_(),g();var w={class:`flex gap-2.5 justify-center items-start md:items-center w-full`},T={class:`text-h4 lg:text-h3 text-high-dark`},E={class:`grid gap-6`},D={class:`text-body text-medium-dark`},O={class:`flex gap-1 text-high-dark text-body`},k={class:`flex gap-1 text-high-dark text-body-bold`},A={class:`flex flex-col gap-2`},j=[`innerHTML`],M={class:`text-body text-medium-dark`},N=Object.assign(u({name:`ModalsMaintenance`,__name:`ModalsMaintenance`,props:{scope:{}},setup(n){let{modal:i,hasModal:u}=C(n.scope),{locale:g}=v(),_=e(`maintenance-popup-rendered`,{expires:new Date(Date.now()+864e5)}),b=f(u.value&&_.value!==1);return(e,n)=>{let u=y,f=x,v=S;return l(i)&&l(b)?(h(),m(v,{key:0,modelValue:l(b),"onUpdate:modelValue":[n[1]||=e=>o(b)?b.value=e:null,n[2]||=e=>{e===!1&&(_.value=1)}],"prevent-backdrop-click-close":``,class:`sm:[&>.ds-modal\\_\\_top]:[&_div]:px-0! [&>.ds-modal\\_\\_footer]:max-sm:px-4`},{title:c(()=>[s(`div`,w,[s(`div`,{class:p([`rounded-lg shrink-0 size-11 flex items-center justify-center`,{"bg-mogo-primary-99":e.$theme.isMogo(),"bg-primero-primary-90":e.$theme.isPrimero()}])},[a(u,{name:`paint`,size:24,class:p({"text-mogo-primary":e.$theme.isMogo(),"text-primero-primary-40":e.$theme.isPrimero()})},null,8,[`class`])],2),s(`h2`,T,d(l(i).title[l(g)]),1)])]),default:c(()=>[s(`div`,E,[s(`div`,D,d(l(i).description[l(g)]),1),s(`div`,{class:p([`rounded-lg p-2 flex flex-col gap-1`,{"bg-mogo-neutral-99":e.$theme.isMogo(),"bg-primero-neutral-90":e.$theme.isPrimero()}])},[s(`div`,O,[a(u,{name:`calendar`,size:24}),r(` `+d(l(i).schedule.title[l(g)]),1)]),s(`div`,k,d(l(i).schedule.content[l(g)]),1)],2),s(`div`,A,[s(`div`,{class:`text-high-dark [&_ul]:mt-2 [&_li]:list-disc [&_li]:text-medium-dark [&_li]:text-body [&_ul]:pl-6 [&_ol]:pl-6`,innerHTML:l(i).impact[l(g)]},null,8,j)]),s(`div`,M,d(l(i).footer[l(g)]),1)])]),footer:c(()=>[a(f,{variant:`outline`,onClick:n[0]||=e=>{b.value=!1,_.value=1}},{default:c(()=>[r(d(e.$t(`common.ok`)),1)]),_:1})]),_:1},8,[`modelValue`])):t(``,!0)}}}),{__name:`ModalsMaintenance`});export{C as n,N as t};
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.