const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MatrVirtualIngress-DhJ3sB41.js","assets/MatrVirtualIngress-Drn_sP7q.css","assets/AssinaCriarPacote-DayLGMF1.js","assets/AssinaResultados-BWd4f1mM.js","assets/AssinaResultados-CIalN2kw.css","assets/AssinaCriarPacote-Bzs1yDgi.css","assets/AssinaInicio-Ds0gM497.js","assets/AssinaInicio-DO0Z9VNr.css","assets/AssinaCadastrarGestor-B0Mj4gEr.js","assets/UspDrivePastas-V0GpIvCz.js","assets/UspDriveServico-D42qLD3E.js","assets/UspDrivePastas-tn0RQdqM.css","assets/UspDriveArquivos-DMekWO57.js","assets/UspDriveArquivos-D_dUwA9v.css","assets/UspDriveUsuarios-DqAFdmNi.js","assets/UspDriveRedirecionamento-Q7U_r-LG.js","assets/Processamento-C-XrWKoB.js","assets/NovaFolhaServico-D1dGpnZZ.js","assets/Processamento-KiBt-AaQ.css","assets/Analise-D2iTtp4H.js","assets/CargaDados-CJChIT1q.js","assets/ConsultaDados-ONxSnlaa.js","assets/Calendario-CMhXBSeN.js","assets/Calendario-uvBumCKy.css","assets/ProcessosInicio-Bx-j2NEs.js","assets/ProcessosAvisoTutorial-Ddpya80-.js","assets/ProcessosAvisoTutorial-bltOLrN2.css","assets/ProcessoInput-C8Qq35Ax.js","assets/ProcessoInput-Cln_TAw_.css","assets/ProcessosInicio-NY4iyADN.css","assets/ProcessosForm-CV6tBWkf.js","assets/ProcessosAcompanhamento-DnbNqL7M.js","assets/ProcessosAcompanhamento-CAZ6V5fk.css","assets/ProServDetalhes-BapevXif.js","assets/ProServAtendimentoAviso-DrxUcRBK.js","assets/ProServAtendimentoAviso-CW1bP6lO.css","assets/ProServDetalhes-DuZVnjUh.css","assets/ProServForm-yYVXq8sg.js","assets/ProServForm-DcORvGY7.css","assets/ProServInicio-ClwJhxY4.js","assets/ProServInicio-DutWFllL.css","assets/ProServResultados-X7zcs8bq.js","assets/ProServResultados-DHdFql93.css","assets/Mandato-w07Hu7yz.js","assets/Mandato--UNicmjR.css","assets/WebdocValidarDocumento-BBThMEhP.js","assets/WebdocServico-B0Tj2HCL.js","assets/WebdocValidarDocumento-SYrv293F.css","assets/WebdocTiposDocumentos-fzM23Fuc.js","assets/LicitacoesDetalhes-Bt1Av65y.js","assets/LicitacoesServico-DHnuHk3U.js","assets/LicitacoesDetalhes-Dot7terQ.css","assets/LicitacoesBusca-CwDvR1TV.js","assets/LicitacoesBusca-B85PjK4C.css","assets/LicitacoesBem-YZKlkCD5.js","assets/LicitacoesBem-DY1FohkR.css","assets/BancoPrecos-C_eX4pT4.js","assets/BancoPrecos-Cijs62d0.css","assets/Monitoramento-DhHEPtod.js","assets/Monitoramento-BqnYCJuq.css","assets/IndiceSSU-Cu1iGVhk.js","assets/Solicitacao-BlAyAnhr.js","assets/IndiceSSU-Cwct2XtX.css","assets/NovoSSU-BwSsVUVI.js","assets/Andamento-Bny4RQs8.js","assets/Andamento-XN65nsLp.css","assets/NovoSSU-BkR9SAJe.css","assets/GerenciarUsuarios-1KHGgMXm.js","assets/GerenciarUsuarios-BW_0ldy3.css","assets/CadastrarUsuario-CG3V2CKo.js","assets/CadastrarUsuario-EanCkXW8.css","assets/AlterarUsuario-UOQNSGB0.js","assets/AlterarUsuario-QCV_v6Oh.css","assets/NovoPerfil-CwCC2hpt.js","assets/NovoPerfil-D10KrOjv.css","assets/DashboardSSU-Bp757Sor.js","assets/DashboardSSU-CFw1-j45.css","assets/BuscaSSU-QYubfH7a.js","assets/BuscaSSU-BxQOdLlQ.css","assets/ConfiguracoesSSU-BmCmktdK.js","assets/ConfiguracoesSSU-BHBfxI7p.css"])))=>i.map(i=>d[i]); (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const n of o)if(n.type==="childList")for(const s of n.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const n={};return o.integrity&&(n.integrity=o.integrity),o.referrerPolicy&&(n.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?n.credentials="include":o.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function a(o){if(o.ep)return;o.ep=!0;const n=r(o);fetch(o.href,n)}})();var Qv={};/*! * Vue.js v2.7.16 * (c) 2014-2023 Evan You * Released under the MIT License. */var Rt=Object.freeze({}),Se=Array.isArray;function pe(t){return t==null}function V(t){return t!=null}function tt(t){return t===!0}function Kv(t){return t===!1}function ro(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function ke(t){return typeof t=="function"}function Tt(t){return t!==null&&typeof t=="object"}var Bc=Object.prototype.toString;function Pt(t){return Bc.call(t)==="[object Object]"}function Zv(t){return Bc.call(t)==="[object RegExp]"}function wf(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function ec(t){return V(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Xv(t){return t==null?"":Array.isArray(t)||Pt(t)&&t.toString===Bc?JSON.stringify(t,eg,2):String(t)}function eg(t,e){return e&&e.__v_isRef?e.value:e}function Gn(t){var e=parseFloat(t);return isNaN(e)?t:e}function _r(t,e){for(var r=Object.create(null),a=t.split(","),o=0;o-1)return t.splice(a,1)}}var rg=Object.prototype.hasOwnProperty;function xt(t,e){return rg.call(t,e)}function Ja(t){var e=Object.create(null);return function(a){var o=e[a];return o||(e[a]=t(a))}}var ag=/-(\w)/g,za=Ja(function(t){return t.replace(ag,function(e,r){return r?r.toUpperCase():""})}),ng=Ja(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),og=/\B([A-Z])/g,ao=Ja(function(t){return t.replace(og,"-$1").toLowerCase()});function sg(t,e){function r(a){var o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,a):t.call(e)}return r._length=t.length,r}function ig(t,e){return t.bind(e)}var Tf=Function.prototype.bind?ig:sg;function tc(t,e){e=e||0;for(var r=t.length-e,a=new Array(r);r--;)a[r]=t[r+e];return a}function Ye(t,e){for(var r in e)t[r]=e[r];return t}function Df(t){for(var e={},r=0;r0,$f=rr&&rr.indexOf("edge/")>0;rr&&rr.indexOf("android")>0;var fg=rr&&/iphone|ipad|ipod|ios/.test(rr),cl=rr&&rr.match(/firefox\/(\d+)/),ac={}.watch,Mf=!1;if(Ut)try{var ul={};Object.defineProperty(ul,"passive",{get:function(){Mf=!0}}),window.addEventListener("test-passive",null,ul)}catch{}var Uo,ma=function(){return Uo===void 0&&(!Ut&&typeof global<"u"?Uo=global.process&&Qv.VUE_ENV==="server":Uo=!1),Uo},ls=Ut&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function mn(t){return typeof t=="function"&&/native code/.test(t.toString())}var no=typeof Symbol<"u"&&mn(Symbol)&&typeof Reflect<"u"&&mn(Reflect.ownKeys),qn;typeof Set<"u"&&mn(Set)?qn=Set:qn=function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ct=null;function pg(){return ct&&{proxy:ct}}function da(t){t===void 0&&(t=null),t||ct&&ct._scope.off(),ct=t,t&&t._scope.on()}var Wt=function(){function t(e,r,a,o,n,s,i,c){this.tag=e,this.data=r,this.children=a,this.text=o,this.elm=n,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=i,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=c,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),ka=function(t){t===void 0&&(t="");var e=new Wt;return e.text=t,e.isComment=!0,e};function fn(t){return new Wt(void 0,void 0,void 0,String(t))}function nc(t){var e=new Wt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var hg=0,Ho=[],mg=function(){for(var t=0;t1)return r&&ke(e)?e.call(a):e}}var ml=Ja(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var r=t.charAt(0)==="~";t=r?t.slice(1):t;var a=t.charAt(0)==="!";return t=a?t.slice(1):t,{name:t,once:r,capture:a,passive:e}});function oc(t,e){function r(){var a=r.fns;if(Se(a))for(var o=a.slice(),n=0;n0&&(o=Jf(o,"".concat(e||"","_").concat(a)),In(o[0])&&In(s)&&(r[n]=fn(s.text+o[0].text),o.shift()),r.push.apply(r,o)):ro(o)?In(s)?r[n]=fn(s.text+o):o!==""&&r.push(fn(o)):In(o)&&In(s)?r[n]=fn(s.text+o.text):(tt(t._isVList)&&V(o.tag)&&pe(o.key)&&V(e)&&(o.key="__vlist".concat(e,"_").concat(a,"__")),r.push(o)));return r}function Gg(t,e){var r=null,a,o,n,s;if(Se(t)||typeof t=="string")for(r=new Array(t.length),a=0,o=t.length;a0,s=e?!!e.$stable:!n,i=e&&e.$key;if(!e)o={};else{if(e._normalized)return e._normalized;if(s&&a&&a!==Rt&&i===a.$key&&!n&&!a.$hasNormal)return a;o={};for(var c in e)e[c]&&c[0]!=="$"&&(o[c]=tb(t,r,c,e[c]))}for(var u in r)u in o||(o[u]=rb(r,u));return e&&Object.isExtensible(e)&&(e._normalized=o),ut(o,"$stable",s),ut(o,"$key",i),ut(o,"$hasNormal",n),o}function tb(t,e,r,a){var o=function(){var n=ct;da(t);var s=arguments.length?a.apply(null,arguments):a({});s=s&&typeof s=="object"&&!Se(s)?[s]:Yc(s);var i=s&&s[0];return da(n),s&&(!i||s.length===1&&i.isComment&&!Hn(i))?void 0:s};return a.proxy&&Object.defineProperty(e,r,{get:o,enumerable:!0,configurable:!0}),o}function rb(t,e){return function(){return t[e]}}function ab(t){var e=t.$options,r=e.setup;if(r){var a=t._setupContext=Xf(t);da(t),Sn();var o=Hr(r,null,[t._props||qc({}),a],t,"setup");if(yn(),da(),ke(o))e.render=o;else if(Tt(o))if(t._setupState=o,o.__sfc){var s=t._setupProxy={};for(var n in o)n!=="__sfc"&&ps(s,o,n)}else for(var n in o)If(n)||ps(t,o,n)}}function Xf(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};ut(e,"_v_attr_proxy",!0),hs(e,t.$attrs,Rt,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};hs(e,t.$listeners,Rt,t,"$listeners")}return t._listenersProxy},get slots(){return ob(t)},emit:Tf(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return ps(t,e,r)})}}}function hs(t,e,r,a,o){var n=!1;for(var s in e)s in t?e[s]!==r[s]&&(n=!0):(n=!0,nb(t,s,a,o));for(var s in t)s in e||(n=!0,delete t[s]);return n}function nb(t,e,r,a){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[a][e]}})}function ob(t){return t._slotsProxy||ep(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function ep(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function sb(){return Jc().slots}function ib(){return Jc().attrs}function cb(){return Jc().listeners}function Jc(){var t=ct;return t._setupContext||(t._setupContext=Xf(t))}function ub(t,e){var r=Se(t)?t.reduce(function(n,s){return n[s]={},n},{}):t;for(var a in e){var o=r[a];o?Se(o)||ke(o)?r[a]={type:o,default:e[a]}:o.default=e[a]:o===null&&(r[a]={default:e[a]})}return r}function lb(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,a=r&&r.context;t.$slots=Wc(e._renderChildren,a),t.$scopedSlots=r?Vn(t.$parent,r.data.scopedSlots,t.$slots):Rt,t._c=function(n,s,i,c){return Yn(t,n,s,i,c,!1)},t.$createElement=function(n,s,i,c){return Yn(t,n,s,i,c,!0)};var o=r&&r.data;pa(t,"$attrs",o&&o.attrs||Rt,null,!0),pa(t,"$listeners",e._parentListeners||Rt,null,!0)}var Wo=null;function db(t){Zf(t.prototype),t.prototype.$nextTick=function(e){return qs(e,this)},t.prototype._render=function(){var e=this,r=e.$options,a=r.render,o=r._parentVnode;o&&e._isMounted&&(e.$scopedSlots=Vn(e.$parent,o.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&ep(e._slotsProxy,e.$scopedSlots)),e.$vnode=o;var n=ct,s=Wo,i;try{da(e),Wo=e,i=a.call(e._renderProxy,e.$createElement)}catch(c){qa(c,e,"render"),i=e._vnode}finally{Wo=s,da(n)}return Se(i)&&i.length===1&&(i=i[0]),i instanceof Wt||(i=ka()),i.parent=o,i}}function Ii(t,e){return(t.__esModule||no&&t[Symbol.toStringTag]==="Module")&&(t=t.default),Tt(t)?e.extend(t):t}function fb(t,e,r,a,o){var n=ka();return n.asyncFactory=t,n.asyncMeta={data:e,context:r,children:a,tag:o},n}function pb(t,e){if(tt(t.error)&&V(t.errorComp))return t.errorComp;if(V(t.resolved))return t.resolved;var r=Wo;if(r&&V(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),tt(t.loading)&&V(t.loadingComp))return t.loadingComp;if(r&&!V(t.owners)){var a=t.owners=[r],o=!0,n=null,s=null;r.$on("hook:destroyed",function(){return ha(a,r)});var i=function(f){for(var m=0,p=a.length;m1?tc(o):o;for(var n=tc(arguments,1),s='event handler for "'.concat(r,'"'),i=0,c=o.length;idocument.createEvent("Event").timeStamp&&(lc=function(){return $i.now()})}var Jb=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Qb(){up=lc(),Zc=!0;var t,e;for(Fr.sort(Jb),pn=0;pnpn&&Fr[r].id>t.id;)r--;Fr.splice(r+1,0,t)}uc||(uc=!0,qs(Qb))}}function e_(t){var e=t.$options.provide;if(e){var r=ke(e)?e.call(t):e;if(!Tt(r))return;for(var a=Yf(t),o=no?Reflect.ownKeys(r):Object.keys(r),n=0;n-1){if(n&&!xt(o,"default"))s=!1;else if(s===""||s===ao(t)){var c=Dl(String,o.type);(c<0||i-1)return this;var a=tc(arguments,1);return a.unshift(this),ke(e.install)?e.install.apply(e,a):ke(e)&&e.apply(null,a),r.push(e),this}}function x_(t){t.mixin=function(e){return this.options=Ha(this.options,e),this}}function P_(t){t.cid=0;var e=1;t.extend=function(r){r=r||{};var a=this,o=a.cid,n=r._Ctor||(r._Ctor={});if(n[o])return n[o];var s=vs(r)||vs(a.options),i=function(u){this._init(u)};return i.prototype=Object.create(a.prototype),i.prototype.constructor=i,i.cid=e++,i.options=Ha(a.options,r),i.super=a,i.options.props&&N_(i),i.options.computed&&I_(i),i.extend=a.extend,i.mixin=a.mixin,i.use=a.use,Vs.forEach(function(c){i[c]=a[c]}),s&&(i.options.components[s]=i),i.superOptions=a.options,i.extendOptions=r,i.sealedOptions=Ye({},i.options),n[o]=i,i}}function N_(t){var e=t.options.props;for(var r in e)ru(t.prototype,"_props",r)}function I_(t){var e=t.options.computed;for(var r in e)fp(t.prototype,r,e[r])}function $_(t){Vs.forEach(function(e){t[e]=function(r,a){return a?(e==="component"&&Pt(a)&&(a.name=a.name||r,a=this.options._base.extend(a)),e==="directive"&&ke(a)&&(a={bind:a,update:a}),this.options[e+"s"][r]=a,a):this.options[e+"s"][r]}})}function Nl(t){return t&&(vs(t.Ctor.options)||t.tag)}function jo(t,e){return Se(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:Zv(t)?t.test(e):!1}function Il(t,e){var r=t.cache,a=t.keys,o=t._vnode,n=t.$vnode;for(var s in r){var i=r[s];if(i){var c=i.name;c&&!e(c)&&hc(r,s,a,o)}}n.componentOptions.children=void 0}function hc(t,e,r,a){var o=t[e];o&&(!a||o.tag!==a.tag)&&o.componentInstance.$destroy(),t[e]=null,ha(r,e)}var $l=[String,RegExp,Array],M_={name:"keep-alive",abstract:!0,props:{include:$l,exclude:$l,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,a=t.vnodeToCache,o=t.keyToCache;if(a){var n=a.tag,s=a.componentInstance,i=a.componentOptions;e[o]={name:Nl(i),tag:n,componentInstance:s},r.push(o),this.max&&r.length>parseInt(this.max)&&hc(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)hc(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){Il(t,function(r){return jo(e,r)})}),this.$watch("exclude",function(e){Il(t,function(r){return!jo(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=tp(t),r=e&&e.componentOptions;if(r){var a=Nl(r),o=this,n=o.include,s=o.exclude;if(n&&(!a||!jo(n,a))||s&&a&&jo(s,a))return e;var i=this,c=i.cache,u=i.keys,l=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,ha(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},k_={KeepAlive:M_};function U_(t){var e={};e.get=function(){return tr},Object.defineProperty(t,"config",e),t.util={warn:i_,extend:Ye,mergeOptions:Ha,defineReactive:pa},t.set=Bs,t.delete=Gc,t.nextTick=qs,t.observable=function(r){return qr(r),r},t.options=Object.create(null),Vs.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,Ye(t.options.components,k_),D_(t),x_(t),P_(t),$_(t)}U_(se);Object.defineProperty(se.prototype,"$isServer",{get:ma});Object.defineProperty(se.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(se,"FunctionalRenderContext",{value:Xc});se.version=np;var L_=_r("style,class"),F_=_r("input,textarea,option,select,progress"),j_=function(t,e,r){return r==="value"&&F_(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},pp=_r("contenteditable,draggable,spellcheck"),V_=_r("events,caret,typing,plaintext-only"),B_=function(t,e){return bs(e)||e==="false"?"false":t==="contenteditable"&&V_(e)?e:"true"},z_=_r("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),mc="http://www.w3.org/1999/xlink",nu=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},hp=function(t){return nu(t)?t.slice(6,t.length):""},bs=function(t){return t==null||t===!1};function G_(t){for(var e=t.data,r=t,a=t;V(a.componentInstance);)a=a.componentInstance._vnode,a&&a.data&&(e=Ml(a.data,e));for(;V(r=r.parent);)r&&r.data&&(e=Ml(e,r.data));return q_(e.staticClass,e.class)}function Ml(t,e){return{staticClass:ou(t.staticClass,e.staticClass),class:V(t.class)?[t.class,e.class]:e.class}}function q_(t,e){return V(t)||V(e)?ou(t,su(e)):""}function ou(t,e){return t?e?t+" "+e:t:e||""}function su(t){return Array.isArray(t)?H_(t):Tt(t)?Y_(t):typeof t=="string"?t:""}function H_(t){for(var e="",r,a=0,o=t.length;a-1?Vo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Vo[t]=/HTMLUnknownElement/.test(e.toString())}var vc=_r("text,number,password,search,email,tel,url");function Z_(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function X_(t,e){var r=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function eA(t,e){return document.createElementNS(W_[t],e)}function tA(t){return document.createTextNode(t)}function rA(t){return document.createComment(t)}function aA(t,e,r){t.insertBefore(e,r)}function nA(t,e){t.removeChild(e)}function oA(t,e){t.appendChild(e)}function sA(t){return t.parentNode}function iA(t){return t.nextSibling}function cA(t){return t.tagName}function uA(t,e){t.textContent=e}function lA(t,e){t.setAttribute(e,"")}var dA=Object.freeze({__proto__:null,createElement:X_,createElementNS:eA,createTextNode:tA,createComment:rA,insertBefore:aA,removeChild:nA,appendChild:oA,parentNode:sA,nextSibling:iA,tagName:cA,setTextContent:uA,setStyleScope:lA}),fA={create:function(t,e){hn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(hn(t,!0),hn(e))},destroy:function(t){hn(t,!0)}};function hn(t,e){var r=t.data.ref;if(V(r)){var a=t.context,o=t.componentInstance||t.elm,n=e?null:o,s=e?void 0:o;if(ke(r)){Hr(r,a,[n],a,"template ref function");return}var i=t.data.refInFor,c=typeof r=="string"||typeof r=="number",u=At(r),l=a.$refs;if(c||u){if(i){var f=c?l[r]:r.value;e?Se(f)&&ha(f,o):Se(f)?f.includes(o)||f.push(o):c?(l[r]=[o],kl(a,r,l[r])):r.value=[o]}else if(c){if(e&&l[r]!==o)return;l[r]=s,kl(a,r,n)}else if(u){if(e&&r.value!==o)return;r.value=n}}}}function kl(t,e,r){var a=t._setupState;a&&xt(a,e)&&(At(a[e])?a[e].value=r:a[e]=r)}var ia=new Wt("",{},[]),$n=["create","activate","update","remove","destroy"];function xa(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&V(t.data)===V(e.data)&&pA(t,e)||tt(t.isAsyncPlaceholder)&&pe(e.asyncFactory.error))}function pA(t,e){if(t.tag!=="input")return!0;var r,a=V(r=t.data)&&V(r=r.attrs)&&r.type,o=V(r=e.data)&&V(r=r.attrs)&&r.type;return a===o||vc(a)&&vc(o)}function hA(t,e,r){var a,o,n={};for(a=e;a<=r;++a)o=t[a].key,V(o)&&(n[o]=a);return n}function mA(t){var e,r,a={},o=t.modules,n=t.nodeOps;for(e=0;e<$n.length;++e)for(a[$n[e]]=[],r=0;rne?(gt=pe(I[Oe+1])?null:I[Oe+1].elm,O(E,gt,I,ee,Oe,W)):ee>Oe&&$(C,Z,ne)}function q(E,C,I,W){for(var Q=I;Q-1?jl(t,e,r):z_(e)?bs(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):pp(e)?t.setAttribute(e,B_(e,r)):nu(e)?bs(r)?t.removeAttributeNS(mc,hp(e)):t.setAttributeNS(mc,e,r):jl(t,e,r)}function jl(t,e,r){if(bs(r))t.removeAttribute(e);else{if(_n&&!An&&t.tagName==="TEXTAREA"&&e==="placeholder"&&r!==""&&!t.__ieph){var a=function(o){o.stopImmediatePropagation(),t.removeEventListener("input",a)};t.addEventListener("input",a),t.__ieph=!0}t.setAttribute(e,r)}}var SA={create:Ll,update:Ll};function Vl(t,e){var r=e.elm,a=e.data,o=t.data;if(!(pe(a.staticClass)&&pe(a.class)&&(pe(o)||pe(o.staticClass)&&pe(o.class)))){var n=G_(e),s=r._transitionClasses;V(s)&&(n=ou(n,su(s))),n!==r._prevClass&&(r.setAttribute("class",n),r._prevClass=n)}}var yA={create:Vl,update:Vl},ki="__r",Ui="__c";function OA(t){if(V(t[ki])){var e=_n?"change":"input";t[e]=[].concat(t[ki],t[e]||[]),delete t[ki]}V(t[Ui])&&(t.change=[].concat(t[Ui],t.change||[]),delete t[Ui])}var Qn;function EA(t,e,r){var a=Qn;return function o(){var n=e.apply(null,arguments);n!==null&&vp(t,o,r,a)}}var CA=sc&&!(cl&&Number(cl[1])<=53);function RA(t,e,r,a){if(CA){var o=up,n=e;e=n._wrapper=function(s){if(s.target===s.currentTarget||s.timeStamp>=o||s.timeStamp<=0||s.target.ownerDocument!==document)return n.apply(this,arguments)}}Qn.addEventListener(t,e,Mf?{capture:r,passive:a}:r)}function vp(t,e,r,a){(a||Qn).removeEventListener(t,e._wrapper||e,r)}function Li(t,e){if(!(pe(t.data.on)&&pe(e.data.on))){var r=e.data.on||{},a=t.data.on||{};Qn=e.elm||t.elm,OA(r),Wf(r,a,RA,vp,EA,e.context),Qn=void 0}}var wA={create:Li,update:Li,destroy:function(t){return Li(t,ia)}},Bo;function Bl(t,e){if(!(pe(t.data.domProps)&&pe(e.data.domProps))){var r,a,o=e.elm,n=t.data.domProps||{},s=e.data.domProps||{};(V(s.__ob__)||tt(s._v_attr_proxy))&&(s=e.data.domProps=Ye({},s));for(r in n)r in s||(o[r]="");for(r in s){if(a=s[r],r==="textContent"||r==="innerHTML"){if(e.children&&(e.children.length=0),a===n[r])continue;o.childNodes.length===1&&o.removeChild(o.childNodes[0])}if(r==="value"&&o.tagName!=="PROGRESS"){o._value=a;var i=pe(a)?"":String(a);TA(o,i)&&(o.value=i)}else if(r==="innerHTML"&&iu(o.tagName)&&pe(o.innerHTML)){Bo=Bo||document.createElement("div"),Bo.innerHTML="".concat(a,"");for(var c=Bo.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;c.firstChild;)o.appendChild(c.firstChild)}else if(a!==n[r])try{o[r]=a}catch{}}}}function TA(t,e){return!t.composing&&(t.tagName==="OPTION"||DA(t,e)||xA(t,e))}function DA(t,e){var r=!0;try{r=document.activeElement!==t}catch{}return r&&t.value!==e}function xA(t,e){var r=t.value,a=t._vModifiers;if(V(a)){if(a.number)return Gn(r)!==Gn(e);if(a.trim)return r.trim()!==e.trim()}return r!==e}var PA={create:Bl,update:Bl},NA=Ja(function(t){var e={},r=/;(?![^(]*\))/g,a=/:(.+)/;return t.split(r).forEach(function(o){if(o){var n=o.split(a);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e});function Fi(t){var e=gp(t.style);return t.staticStyle?Ye(t.staticStyle,e):e}function gp(t){return Array.isArray(t)?Df(t):typeof t=="string"?NA(t):t}function IA(t,e){for(var r={},a,o=t;o.componentInstance;)o=o.componentInstance._vnode,o&&o.data&&(a=Fi(o.data))&&Ye(r,a);(a=Fi(t.data))&&Ye(r,a);for(var n=t;n=n.parent;)n.data&&(a=Fi(n.data))&&Ye(r,a);return r}var $A=/^--/,zl=/\s*!important$/,Gl=function(t,e,r){if($A.test(e))t.style.setProperty(e,r);else if(zl.test(r))t.style.setProperty(ao(e),r.replace(zl,""),"important");else{var a=MA(e);if(Array.isArray(r))for(var o=0,n=r.length;o-1?e.split(bp).forEach(function(a){return t.classList.add(a)}):t.classList.add(e);else{var r=" ".concat(t.getAttribute("class")||""," ");r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function Ap(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(bp).forEach(function(o){return t.classList.remove(o)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var r=" ".concat(t.getAttribute("class")||""," "),a=" "+e+" ";r.indexOf(a)>=0;)r=r.replace(a," ");r=r.trim(),r?t.setAttribute("class",r):t.removeAttribute("class")}}function Sp(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&Ye(e,Yl(t.name||"v")),Ye(e,t),e}else if(typeof t=="string")return Yl(t)}}var Yl=Ja(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),yp=Ut&&!An,dn="transition",ji="animation",Qo="transition",_s="transitionend",gc="animation",Op="animationend";yp&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Qo="WebkitTransition",_s="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(gc="WebkitAnimation",Op="webkitAnimationEnd"));var Wl=Ut?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ep(t){Wl(function(){Wl(t)})}function Fa(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),_p(t,e))}function jr(t,e){t._transitionClasses&&ha(t._transitionClasses,e),Ap(t,e)}function Cp(t,e,r){var a=Rp(t,e),o=a.type,n=a.timeout,s=a.propCount;if(!o)return r();var i=o===dn?_s:Op,c=0,u=function(){t.removeEventListener(i,l),r()},l=function(f){f.target===t&&++c>=s&&u()};setTimeout(function(){c0&&(u=dn,l=n,f=o.length):e===ji?c>0&&(u=ji,l=c,f=i.length):(l=Math.max(n,c),u=l>0?n>c?dn:ji:null,f=u?u===dn?o.length:i.length:0);var m=u===dn&&UA.test(r[Qo+"Property"]);return{type:u,timeout:l,propCount:f,hasTransform:m}}function Jl(t,e){for(;t.length1}function Kl(t,e){e.data.show!==!0&&bc(e)}var LA=Ut?{create:Kl,activate:Kl,remove:function(t,e){t.data.show!==!0?wp(t,e):e()}}:{},FA=[SA,yA,wA,PA,kA,LA],jA=FA.concat(AA),VA=mA({nodeOps:dA,modules:jA});An&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&uu(t,"input")});var Dp={inserted:function(t,e,r,a){r.tag==="select"?(a.elm&&!a.elm._vOptions?sa(r,"postpatch",function(){Dp.componentUpdated(t,e,r)}):Zl(t,e,r.context),t._vOptions=[].map.call(t.options,As)):(r.tag==="textarea"||vc(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",BA),t.addEventListener("compositionend",td),t.addEventListener("change",td),An&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){Zl(t,e,r.context);var a=t._vOptions,o=t._vOptions=[].map.call(t.options,As);if(o.some(function(s,i){return!Ga(s,a[i])})){var n=t.multiple?e.value.some(function(s){return ed(s,o)}):e.value!==e.oldValue&&ed(e.value,o);n&&uu(t,"change")}}}};function Zl(t,e,r){Xl(t,e),(_n||$f)&&setTimeout(function(){Xl(t,e)},0)}function Xl(t,e,r){var a=e.value,o=t.multiple;if(!(o&&!Array.isArray(a))){for(var n,s,i=0,c=t.options.length;i-1,s.selected!==n&&(s.selected=n);else if(Ga(As(s),a)){t.selectedIndex!==i&&(t.selectedIndex=i);return}o||(t.selectedIndex=-1)}}function ed(t,e){return e.every(function(r){return!Ga(r,t)})}function As(t){return"_value"in t?t._value:t.value}function BA(t){t.target.composing=!0}function td(t){t.target.composing&&(t.target.composing=!1,uu(t.target,"input"))}function uu(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function _c(t){return t.componentInstance&&(!t.data||!t.data.transition)?_c(t.componentInstance._vnode):t}var zA={bind:function(t,e,r){var a=e.value;r=_c(r);var o=r.data&&r.data.transition,n=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;a&&o?(r.data.show=!0,bc(r,function(){t.style.display=n})):t.style.display=a?n:"none"},update:function(t,e,r){var a=e.value,o=e.oldValue;if(!a!=!o){r=_c(r);var n=r.data&&r.data.transition;n?(r.data.show=!0,a?bc(r,function(){t.style.display=t.__vOriginalDisplay}):wp(r,function(){t.style.display="none"})):t.style.display=a?t.__vOriginalDisplay:"none"}},unbind:function(t,e,r,a,o){o||(t.style.display=t.__vOriginalDisplay)}},GA={model:Dp,show:zA},xp={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ac(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ac(tp(e.children)):t}function Pp(t){var e={},r=t.$options;for(var a in r.propsData)e[a]=t[a];var o=r._parentListeners;for(var a in o)e[za(a)]=o[a];return e}function rd(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function qA(t){for(;t=t.parent;)if(t.data.transition)return!0}function HA(t,e){return e.key===t.key&&e.tag===t.tag}var YA=function(t){return t.tag||Hn(t)},WA=function(t){return t.name==="show"},JA={name:"transition",props:xp,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(YA),!!r.length)){var a=this.mode,o=r[0];if(qA(this.$vnode))return o;var n=Ac(o);if(!n)return o;if(this._leaving)return rd(t,o);var s="__transition-".concat(this._uid,"-");n.key=n.key==null?n.isComment?s+"comment":s+n.tag:ro(n.key)?String(n.key).indexOf(s)===0?n.key:s+n.key:n.key;var i=(n.data||(n.data={})).transition=Pp(this),c=this._vnode,u=Ac(c);if(n.data.directives&&n.data.directives.some(WA)&&(n.data.show=!0),u&&u.data&&!HA(n,u)&&!Hn(u)&&!(u.componentInstance&&u.componentInstance._vnode.isComment)){var l=u.data.transition=Ye({},i);if(a==="out-in")return this._leaving=!0,sa(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),rd(t,o);if(a==="in-out"){if(Hn(n))return c;var f,m=function(){f()};sa(i,"afterEnter",m),sa(i,"enterCancelled",m),sa(l,"delayLeave",function(p){f=p})}}return o}}},Np=Ye({tag:String,moveClass:String},xp);delete Np.mode;var QA={props:Np,beforeMount:function(){var t=this,e=this._update;this._update=function(r,a){var o=sp(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,r,a)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),a=this.prevChildren=this.children,o=this.$slots.default||[],n=this.children=[],s=Pp(this),i=0;i=2)t.mixin({beforeCreate:a});else{var r=t.prototype._init;t.prototype._init=function(o){o===void 0&&(o={}),o.init=o.init?[a].concat(o.init):a,r.call(this,o)}}function a(){var o=this.$options;o.store?this.$store=typeof o.store=="function"?o.store():o.store:o.parent&&o.parent.$store&&(this.$store=o.parent.$store)}}var aS=typeof window<"u"?window:typeof global<"u"?global:{},sn=aS.__VUE_DEVTOOLS_GLOBAL_HOOK__;function nS(t){sn&&(t._devtoolHook=sn,sn.emit("vuex:init",t),sn.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,r){sn.emit("vuex:mutation",e,r)},{prepend:!0}),t.subscribeAction(function(e,r){sn.emit("vuex:action",e,r)},{prepend:!0}))}function oS(t,e){return t.filter(e)[0]}function Sc(t,e){if(e===void 0&&(e=[]),t===null||typeof t!="object")return t;var r=oS(e,function(o){return o.original===t});if(r)return r.copy;var a=Array.isArray(t)?[]:{};return e.push({original:t,copy:a}),Object.keys(t).forEach(function(o){a[o]=Sc(t[o],e)}),a}function On(t,e){Object.keys(t).forEach(function(r){return e(t[r],r)})}function Ip(t){return t!==null&&typeof t=="object"}function sS(t){return t&&typeof t.then=="function"}function iS(t,e){return function(){return t(e)}}var Ar=function(e,r){this.runtime=r,this._children=Object.create(null),this._rawModule=e;var a=e.state;this.state=(typeof a=="function"?a():a)||{}},$p={namespaced:{configurable:!0}};$p.namespaced.get=function(){return!!this._rawModule.namespaced};Ar.prototype.addChild=function(e,r){this._children[e]=r};Ar.prototype.removeChild=function(e){delete this._children[e]};Ar.prototype.getChild=function(e){return this._children[e]};Ar.prototype.hasChild=function(e){return e in this._children};Ar.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Ar.prototype.forEachChild=function(e){On(this._children,e)};Ar.prototype.forEachGetter=function(e){this._rawModule.getters&&On(this._rawModule.getters,e)};Ar.prototype.forEachAction=function(e){this._rawModule.actions&&On(this._rawModule.actions,e)};Ar.prototype.forEachMutation=function(e){this._rawModule.mutations&&On(this._rawModule.mutations,e)};Object.defineProperties(Ar.prototype,$p);var Ka=function(e){this.register([],e,!1)};Ka.prototype.get=function(e){return e.reduce(function(r,a){return r.getChild(a)},this.root)};Ka.prototype.getNamespace=function(e){var r=this.root;return e.reduce(function(a,o){return r=r.getChild(o),a+(r.namespaced?o+"/":"")},"")};Ka.prototype.update=function(e){Mp([],this.root,e)};Ka.prototype.register=function(e,r,a){var o=this;a===void 0&&(a=!0);var n=new Ar(r,a);if(e.length===0)this.root=n;else{var s=this.get(e.slice(0,-1));s.addChild(e[e.length-1],n)}r.modules&&On(r.modules,function(i,c){o.register(e.concat(c),i,a)})};Ka.prototype.unregister=function(e){var r=this.get(e.slice(0,-1)),a=e[e.length-1],o=r.getChild(a);o&&o.runtime&&r.removeChild(a)};Ka.prototype.isRegistered=function(e){var r=this.get(e.slice(0,-1)),a=e[e.length-1];return r?r.hasChild(a):!1};function Mp(t,e,r){if(e.update(r),r.modules)for(var a in r.modules){if(!e.getChild(a))return;Mp(t.concat(a),e.getChild(a),r.modules[a])}}var Mt,Jt=function(e){var r=this;e===void 0&&(e={}),!Mt&&typeof window<"u"&&window.Vue&&Lp(window.Vue);var a=e.plugins;a===void 0&&(a=[]);var o=e.strict;o===void 0&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Ka(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Mt,this._makeLocalGettersCache=Object.create(null);var n=this,s=this,i=s.dispatch,c=s.commit;this.dispatch=function(m,p){return i.call(n,m,p)},this.commit=function(m,p,v){return c.call(n,m,p,v)},this.strict=o;var u=this._modules.root.state;Hs(this,u,[],this._modules.root),du(this,u),a.forEach(function(f){return f(r)});var l=e.devtools!==void 0?e.devtools:Mt.config.devtools;l&&nS(this)},lu={state:{configurable:!0}};lu.state.get=function(){return this._vm._data.$$state};lu.state.set=function(t){};Jt.prototype.commit=function(e,r,a){var o=this,n=Ss(e,r,a),s=n.type,i=n.payload,c={type:s,payload:i},u=this._mutations[s];u&&(this._withCommit(function(){u.forEach(function(f){f(i)})}),this._subscribers.slice().forEach(function(l){return l(c,o.state)}))};Jt.prototype.dispatch=function(e,r){var a=this,o=Ss(e,r),n=o.type,s=o.payload,i={type:n,payload:s},c=this._actions[n];if(c){try{this._actionSubscribers.slice().filter(function(l){return l.before}).forEach(function(l){return l.before(i,a.state)})}catch{}var u=c.length>1?Promise.all(c.map(function(l){return l(s)})):c[0](s);return new Promise(function(l,f){u.then(function(m){try{a._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(i,a.state)})}catch{}l(m)},function(m){try{a._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(i,a.state,m)})}catch{}f(m)})})}};Jt.prototype.subscribe=function(e,r){return kp(e,this._subscribers,r)};Jt.prototype.subscribeAction=function(e,r){var a=typeof e=="function"?{before:e}:e;return kp(a,this._actionSubscribers,r)};Jt.prototype.watch=function(e,r,a){var o=this;return this._watcherVM.$watch(function(){return e(o.state,o.getters)},r,a)};Jt.prototype.replaceState=function(e){var r=this;this._withCommit(function(){r._vm._data.$$state=e})};Jt.prototype.registerModule=function(e,r,a){a===void 0&&(a={}),typeof e=="string"&&(e=[e]),this._modules.register(e,r),Hs(this,this.state,e,this._modules.get(e),a.preserveState),du(this,this.state)};Jt.prototype.unregisterModule=function(e){var r=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var a=fu(r.state,e.slice(0,-1));Mt.delete(a,e[e.length-1])}),Up(this)};Jt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};Jt.prototype.hotUpdate=function(e){this._modules.update(e),Up(this,!0)};Jt.prototype._withCommit=function(e){var r=this._committing;this._committing=!0,e(),this._committing=r};Object.defineProperties(Jt.prototype,lu);function kp(t,e,r){return e.indexOf(t)<0&&(r&&r.prepend?e.unshift(t):e.push(t)),function(){var a=e.indexOf(t);a>-1&&e.splice(a,1)}}function Up(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var r=t.state;Hs(t,r,[],t._modules.root,!0),du(t,r,e)}function du(t,e,r){var a=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,n={};On(o,function(i,c){n[c]=iS(i,t),Object.defineProperty(t.getters,c,{get:function(){return t._vm[c]},enumerable:!0})});var s=Mt.config.silent;Mt.config.silent=!0,t._vm=new Mt({data:{$$state:e},computed:n}),Mt.config.silent=s,t.strict&&pS(t),a&&(r&&t._withCommit(function(){a._data.$$state=null}),Mt.nextTick(function(){return a.$destroy()}))}function Hs(t,e,r,a,o){var n=!r.length,s=t._modules.getNamespace(r);if(a.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=a),!n&&!o){var i=fu(e,r.slice(0,-1)),c=r[r.length-1];t._withCommit(function(){Mt.set(i,c,a.state)})}var u=a.context=cS(t,s,r);a.forEachMutation(function(l,f){var m=s+f;lS(t,m,l,u)}),a.forEachAction(function(l,f){var m=l.root?f:s+f,p=l.handler||l;dS(t,m,p,u)}),a.forEachGetter(function(l,f){var m=s+f;fS(t,m,l,u)}),a.forEachChild(function(l,f){Hs(t,e,r.concat(f),l,o)})}function cS(t,e,r){var a=e==="",o={dispatch:a?t.dispatch:function(n,s,i){var c=Ss(n,s,i),u=c.payload,l=c.options,f=c.type;return(!l||!l.root)&&(f=e+f),t.dispatch(f,u)},commit:a?t.commit:function(n,s,i){var c=Ss(n,s,i),u=c.payload,l=c.options,f=c.type;(!l||!l.root)&&(f=e+f),t.commit(f,u,l)}};return Object.defineProperties(o,{getters:{get:a?function(){return t.getters}:function(){return uS(t,e)}},state:{get:function(){return fu(t.state,r)}}}),o}function uS(t,e){if(!t._makeLocalGettersCache[e]){var r={},a=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,a)===e){var n=o.slice(a);Object.defineProperty(r,n,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=r}return t._makeLocalGettersCache[e]}function lS(t,e,r,a){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(s){r.call(t,a.state,s)})}function dS(t,e,r,a){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(s){var i=r.call(t,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:t.getters,rootState:t.state},s);return sS(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch(function(c){throw t._devtoolHook.emit("vuex:error",c),c}):i})}function fS(t,e,r,a){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(n){return r(a.state,a.getters,n.state,n.getters)})}function pS(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function fu(t,e){return e.reduce(function(r,a){return r[a]},t)}function Ss(t,e,r){return Ip(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function Lp(t){Mt&&t===Mt||(Mt=t,rS(Mt))}var Fp=Ws(function(t,e){var r={};return Ys(e).forEach(function(a){var o=a.key,n=a.val;r[o]=function(){var i=this.$store.state,c=this.$store.getters;if(t){var u=Js(this.$store,"mapState",t);if(!u)return;i=u.context.state,c=u.context.getters}return typeof n=="function"?n.call(this,i,c):i[n]},r[o].vuex=!0}),r}),Za=Ws(function(t,e){var r={};return Ys(e).forEach(function(a){var o=a.key,n=a.val;r[o]=function(){for(var i=[],c=arguments.length;c--;)i[c]=arguments[c];var u=this.$store.commit;if(t){var l=Js(this.$store,"mapMutations",t);if(!l)return;u=l.context.commit}return typeof n=="function"?n.apply(this,[u].concat(i)):u.apply(this.$store,[n].concat(i))}}),r}),St=Ws(function(t,e){var r={};return Ys(e).forEach(function(a){var o=a.key,n=a.val;n=t+n,r[o]=function(){if(!(t&&!Js(this.$store,"mapGetters",t)))return this.$store.getters[n]},r[o].vuex=!0}),r}),nr=Ws(function(t,e){var r={};return Ys(e).forEach(function(a){var o=a.key,n=a.val;r[o]=function(){for(var i=[],c=arguments.length;c--;)i[c]=arguments[c];var u=this.$store.dispatch;if(t){var l=Js(this.$store,"mapActions",t);if(!l)return;u=l.context.dispatch}return typeof n=="function"?n.apply(this,[u].concat(i)):u.apply(this.$store,[n].concat(i))}}),r}),hS=function(t){return{mapState:Fp.bind(null,t),mapGetters:St.bind(null,t),mapMutations:Za.bind(null,t),mapActions:nr.bind(null,t)}};function Ys(t){return mS(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function mS(t){return Array.isArray(t)||Ip(t)}function Ws(t){return function(e,r){return typeof e!="string"?(r=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,r)}}function Js(t,e,r){var a=t._modulesNamespaceMap[r];return a}function vS(t){t===void 0&&(t={});var e=t.collapsed;e===void 0&&(e=!0);var r=t.filter;r===void 0&&(r=function(l,f,m){return!0});var a=t.transformer;a===void 0&&(a=function(l){return l});var o=t.mutationTransformer;o===void 0&&(o=function(l){return l});var n=t.actionFilter;n===void 0&&(n=function(l,f){return!0});var s=t.actionTransformer;s===void 0&&(s=function(l){return l});var i=t.logMutations;i===void 0&&(i=!0);var c=t.logActions;c===void 0&&(c=!0);var u=t.logger;return u===void 0&&(u=console),function(l){var f=Sc(l.state);typeof u>"u"||(i&&l.subscribe(function(m,p){var v=Sc(p);if(r(m,f,v)){var g=od(),_=o(m),A="mutation "+m.type+g;ad(u,A,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",a(f)),u.log("%c mutation","color: #03A9F4; font-weight: bold",_),u.log("%c next state","color: #4CAF50; font-weight: bold",a(v)),nd(u)}f=v}),c&&l.subscribeAction(function(m,p){if(n(m,p)){var v=od(),g=s(m),_="action "+m.type+v;ad(u,_,e),u.log("%c action","color: #03A9F4; font-weight: bold",g),nd(u)}}))}}function ad(t,e,r){var a=r?t.groupCollapsed:t.group;try{a.call(t,e)}catch{t.log(e)}}function nd(t){try{t.groupEnd()}catch{t.log("—— log end ——")}}function od(){var t=new Date;return" @ "+Go(t.getHours(),2)+":"+Go(t.getMinutes(),2)+":"+Go(t.getSeconds(),2)+"."+Go(t.getMilliseconds(),3)}function gS(t,e){return new Array(e+1).join(t)}function Go(t,e){return gS("0",e-t.toString().length)+t}var jp={Store:Jt,install:Lp,version:"3.6.2",mapState:Fp,mapMutations:Za,mapGetters:St,mapActions:nr,createNamespacedHelpers:hS,createLogger:vS};function ce(t,e,r,a,o,n,s,i){var c=typeof t=="function"?t.options:t;e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c._scopeId="data-v-"+n);var u;if(o&&(u=o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(p,v){return u.call(v),l(p,v)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:c}}const bS={name:"PortalAvisosModal",computed:{...St({aviso:xe.NOTIFICACOES.AVISO_PARA_VISUALIZAR,carregado:xe.NOTIFICACOES.STATUS_AVISO_CARREGADO}),titulo(){return this.aviso&&this.aviso.assunto?this.aviso.assunto:""}},watch:{aviso(t){t&&t.codigo&&this.$refs.avisoModal.openModal()}},methods:{...Za({limparAviso:fe.NOTIFICACOES.AVISO_PARA_VISUALIZAR})}};var _S=function(){var e=this,r=e._self._c;return r("uspModal",{ref:"avisoModal",attrs:{titulo:e.titulo,"max-width":"75%","max-height":"95%"},on:{fechar:e.limparAviso},scopedSlots:e._u([{key:"body",fn:function(){return[r("p",{directives:[{name:"show",rawName:"v-show",value:e.carregado,expression:"carregado"}]},[r("strong",[e._v("Tipo:")]),e._v(" "+e._s(e.aviso.tipo)+" ")]),r("p",{directives:[{name:"show",rawName:"v-show",value:e.carregado,expression:"carregado"}]},[r("strong",[e._v("Assunto:")]),e._v(" "+e._s(e.aviso.assunto)+" ")]),r("p",{directives:[{name:"show",rawName:"v-show",value:e.carregado,expression:"carregado"}]},[r("strong",[e._v("Publicação:")]),e._v(" "+e._s(e.aviso.dataInicio)+" ")]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.carregado,expression:"!carregado"}],staticClass:"usp-loading"},[r("div",{staticClass:"usp-loading-item"}),r("div",{staticClass:"usp-loading-item"}),r("div",{staticClass:"usp-loading-item"}),r("div",{staticClass:"usp-loading-item"})]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.carregado,expression:"carregado"}],domProps:{innerHTML:e._s(e.aviso.mensagem)}})]},proxy:!0}])})},AS=[],SS=ce(bS,_S,AS,!1,null,"fb39b5a5");const yS=SS.exports,pu="/imgs/usp-inbox.svg",OS={name:"PortalDropNovidades",computed:{...St({carregado:xe.NOTIFICACOES.STATUS_CARREGADO,novidades:xe.NOTIFICACOES.NOVIDADES}),novos(){return this.novidades.filter(t=>!t.isVisualizado()).length+""}},methods:{...nr({obterAviso:it.NOTIFICACOES.OBTER_AVISO,visualizarTarefa:it.NOTIFICACOES.VISUALIZAR_TAREFA}),ativarNovidade(t){if(t.tipo==="aviso")this.obterAviso(t);else if(this.visualizarTarefa(t),t.url){let e=t.url;e.indexOf("http")!==-1?window.open(e,"_blank"):(e[0]==="/"&&(e=e.substring(1)),this.$router.push(`/servicos/${t.codigoArea}/${e}`))}else this.$router.currentRoute.fullPath!=="/painel"&&this.$router.push("/painel")},getIcone(t){return t.tipo==="alerta"?"fas fa-tasks":"fas fa-inbox"}}};var ES=function(){var e=this,r=e._self._c;return r("uspDropdown",{attrs:{id:"header-alerts-dropdown",botao:!1,alinhamento:"direita"}},[r("template",{slot:"conteudo"},[r("i",{staticClass:"fas fa-bell fa-lg"}),r("uspBadge",{directives:[{name:"show",rawName:"v-show",value:e.novos>0,expression:"novos > 0"}],attrs:{texto:e.novos,variante:"perigo"}})],1),r("template",{slot:"itens"},[r("div",{staticClass:"usp-tarefas-mini"},[r("h6",{staticClass:"titulo"},[e._v("Minhas Notificações")]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.carregado,expression:"!carregado"}],staticClass:"carregando"},[r("uspSpinner"),e._v(" Carregando notificações... ")],1),r("ul",{directives:[{name:"show",rawName:"v-show",value:e.carregado,expression:"carregado"}],staticClass:"list-group"},e._l(e.novidades,function(a){return r("li",{key:a.getKey(),staticClass:"list-group-item list-group-item-action",class:{lido:a.isVisualizado()},on:{click:function(o){return o.preventDefault(),e.ativarNovidade(a)}}},[r("div",{staticClass:"conteudo"},[r("h6",{staticClass:"area"},[r("i",{class:e.getIcone(a)}),e._v(" "+e._s(a.nomeArea)+" ")]),r("h6",{staticClass:"titulo"},[r("span",{domProps:{innerHTML:e._s(a.titulo)}})]),r("span",{staticClass:"data"},[r("i",{staticClass:"far fa-clock"}),e._v(" "+e._s(a.data)+" ")])])])}),0),e.carregado&&e.novidades.length==0?r("div",{staticClass:"d-flex justify-content-center flex-column"},[r("div",{staticClass:"d-flex justify-content-center"},[r("img",{staticClass:"p-5 w-80 text-center",attrs:{src:pu,alt:"Ilustração de uma caixa vazia"}})]),r("p",{staticClass:"text-center"},[e._v("Não há notificações.")])]):e._e()])])],2)},CS=[],RS=ce(OS,ES,CS,!1,null,"1f8807a4");const wS=RS.exports,TS="/imgs/usp-logo.svg",DS={name:"PortalHeader",components:{PortalDropNovidades:wS},data(){return{rand:Math.random()}},computed:{...St({autenticado:"auth/autenticado",usuarioLogado:"auth/usuarioLogado",validando:"auth/validando",menuExpandido:xe.NAVEGACAO.MENU_EXPANDIDO}),fotoUrl(){return this.autenticado?`/proxy/cartao/foto?rand=${this.rand}`:""}},watch:{autenticado(t){t&&(this.rand=Math.random())}},mounted(){this.autenticado&&(this.rand=Math.random())},methods:{...Za({alternarBarraLateral:fe.NAVEGACAO.MENU_EXPANDIDO}),fazerLogout(){const t=this;t.$store.dispatch("auth/deslogar").then(()=>{t.$router.currentRoute!=="/"&&t.$router.push({name:"home"})})}}};var xS=function(){var e=this,r=e._self._c;return r("header",{staticClass:"usp-header"},[r("nav",{staticClass:"navbar navbar-expand fixed-top justify-content-between"},[r("div",{staticClass:"usp-logo"},[r("button",{staticClass:"usp-sidebar-collapse",attrs:{tabindex:"0","aria-expanded":e.menuExpandido.toString()},on:{click:function(a){return e.alternarBarraLateral()}}},[r("em",{staticClass:"fas fa-bars fa-md",attrs:{"aria-hidden":"true"}}),r("span",{staticClass:"sr-only",attrs:{"aria-hidden":"true"}},[e._v(" Alternar formato de exibição do menu ")])]),r("router-link",{staticClass:"navbar-brand",attrs:{to:{name:"home"}}},[r("img",{staticClass:"logo-usp",attrs:{src:TS,alt:"Logo da USP"}})]),r("h5",{staticClass:"titulo d-none d-sm-inline"},[e._v(" "+e._s((e.autenticado,"Portal de Serviços"))+" ")])],1),r("div",{staticClass:"menu"},[e.validando?r("div",{staticClass:"header-loader"}):r("ul",{staticClass:"navbar-nav"},[e.autenticado?r("PortalDropNovidades",{staticClass:"mr-3",attrs:{"aria-label":"Novidades"}}):e._e(),e.autenticado?r("uspDropdown",{staticClass:"dadosUsuario ml-1",attrs:{botao:!1,alinhamento:"direita","aria-label":"Configurações da conta"},scopedSlots:e._u([{key:"conteudo",fn:function(){return[r("div",{staticClass:"fotoUsuario"},[r("uspAvatar",{attrs:{src:e.fotoUrl,legenda:"Foto de "+e.usuarioLogado}})],1),r("span",{staticClass:"d-none d-lg-block"},[e._v(e._s(e.usuarioLogado))])]},proxy:!0},{key:"itens",fn:function(){return[r("uspDropdownItemTitulo",[e._v("Sua conta")]),r("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"configuracoes"}}},[r("em",{staticClass:"fas fa-cog"}),e._v(" Configurações ")]),r("uspDropdownSeparador"),r("a",{staticClass:"dropdown-item",attrs:{href:"/sair"},on:{click:function(a){return a.preventDefault(),e.fazerLogout()}}},[r("em",{staticClass:"fas fa-sign-out-alt"}),e._v(" Sair ")])]},proxy:!0}],null,!1,1496057939)}):e._e()],1)])])])},PS=[],NS=ce(DS,xS,PS,!1,null,null);const IS=NS.exports,$S={name:"PortalPainelBusca",data(){return{atual:0,caracteres:4,mostrar:!1,termo:""}},computed:{...St({lista:xe.NAVEGACAO.BUSCA}),listaAtiva(){return this.termo.length>=this.caracteres?this.lista.filter(t=>((t.tituloPai||"")+t.titulo).toLowerCase().indexOf(this.termo.toLowerCase())>=0):[]},temResultados(){return this.lista.length>0&&this.mostrar?"resultados":""}},methods:{baixo(){this.atual0&&this.atual--},eAtivo(t){return t===this.atual},enter(){this.seguirLink(this.listaAtiva[this.atual]),this.mostrar=!1,this.termo=""},fechar(){this.mostrar=!1,this.termo=""},seguirLink(t){t.eExterno()?window.open(t.url,"blank"):this.$router.push(t.url),this.fechar()},trocar(){this.mostrar||(this.mostrar=!0,this.atual=0)}}};var MS=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"clicar-fora",rawName:"v-clicar-fora",value:e.fechar,expression:"fechar"}],staticClass:"container-fluid"},[r("div",{staticClass:"busca-servicos"},[r("div",{staticClass:"row",attrs:{id:"busca"}},[r("div",{staticClass:"col"},[r("label",{staticClass:"sr-only",attrs:{for:"search"}},[e._v(" Pesquise um serviço da USP ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.termo,expression:"termo"}],staticClass:"form-control",class:e.temResultados,attrs:{id:"search",type:"search",placeholder:"Qual serviço você deseja utilizar?"},domProps:{value:e.termo},on:{keydown:[function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"esc",27,a.key,["Esc","Escape"])?null:e.fechar.apply(null,arguments)},function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.enter.apply(null,arguments)},function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"down",40,a.key,["Down","ArrowDown"])?null:e.baixo.apply(null,arguments)},function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"up",38,a.key,["Up","ArrowUp"])?null:e.cima.apply(null,arguments)}],input:[function(a){a.target.composing||(e.termo=a.target.value)},e.trocar]}})])]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.mostrar,expression:"mostrar"}],staticClass:"list-group"},e._l(e.listaAtiva,function(a,o){return r("a",{key:a.codigo,staticClass:"list-group-item list-group-item-action flex-column align-items-start",class:{active:e.eAtivo(o)},attrs:{target:"_blank",href:a.url},on:{click:function(n){return n.preventDefault(),e.seguirLink(a)}}},[r("div",{staticClass:"w-100 d-flex justify-content-between flex-row"},[r("div",{staticClass:"d-flex flex-column"},[r("span",{staticStyle:{"font-size":".8rem"}},[e._v(" "+e._s(a.nomeArea)+" "),r("small",[e._v("("+e._s(a.nomeSistema)+")")])]),r("span",{staticClass:"mb-1"},[a.tituloPai?r("strong",[e._v(" "+e._s(a.tituloPai)+" ")]):e._e(),e._v(" "+e._s(a.titulo)+" ")])])])])}),0)])])},kS=[],US=ce($S,MS,kS,!1,null,"e0bfcc43");const LS=US.exports,FS={name:"PortalTarefaAdiarModal",data(){return{msg:{sucesso:{titulo:"Tarefa adiada com sucesso"}},novaData:new Date}},computed:{...St({tarefa:xe.NOTIFICACOES.TAREFA_PARA_ADIAR}),data(){const t=("00"+this.novaData.getDate()).slice(-2),e=("00"+(this.novaData.getMonth()+1)).slice(-2),r=this.novaData.getFullYear(),a=("00"+this.novaData.getHours()).slice(-2),o=("00"+this.novaData.getMinutes()).slice(-2);return`${t}/${e}/${r} ${a}:${o}`}},watch:{tarefa(t){t&&(this.novaData=this.getAmanhaCedo(),this.$refs["adiar-modal"].openModal())}},methods:{...nr({adiar:it.NOTIFICACOES.ADIAR_TAREFA}),...Za({limparTarefa:fe.NOTIFICACOES.TAREFA_PARA_ADIAR}),adiarTarefa(){const t=this;t.adiar({tarefa:this.tarefa,novaData:this.data}).then(()=>{t.$refs["adiar-modal"].closeModal(),t.$toast.success(`Tarefa adiada para ${this.tarefa.adiadaPara}`,this.msg.sucesso.titulo)}).catch(e=>t.$toast.error(e.mensagem,"Erro ao adiar tarefa!"))},getAmanhaCedo(){const t=new Date,e=new Date(t);return e.setDate(e.getDate()+1),e.setHours(8,0,0,0),e},fecharModal(){this.$refs["adiar-modal"].closeModal()}}};var jS=function(){var e=this,r=e._self._c;return r("uspModal",{ref:"adiar-modal",attrs:{titulo:"Adiar tarefa","max-width":"280px"},on:{fechar:function(a){return e.limparTarefa()}},scopedSlots:e._u([{key:"body",fn:function(){return[r("vc-date-picker",{attrs:{mode:"dateTime",is24hr:""},model:{value:e.novaData,callback:function(a){e.novaData=a},expression:"novaData"}})]},proxy:!0},{key:"footer",fn:function(){return[r("button",{staticClass:"btn btn-secundary",attrs:{type:"button"},on:{click:function(a){return a.preventDefault(),e.fecharModal()}}},[e._v(" Fechar ")]),r("button",{staticClass:"btn btn-secundary",attrs:{type:"button"},on:{click:function(a){return a.preventDefault(),e.adiarTarefa()}}},[e._v(" Salvar ")])]},proxy:!0}])})},VS=[],BS=ce(FS,jS,VS,!1,null,null);const zS=BS.exports,GS=t=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase()),qS={name:"AlterarEmailTelefone",data(){return{emailCadastrado:"",emailAtualizado:"",celularCadastrado:"",celularCadastradoObjeto:{},statusPodeAtualizarEmailPrincipal:"",celularAtualizado:{codddi:"55",codddd:"11",numtel:""},alerta:{mensagem:"",variante:"perigo"},processando:!1}},computed:{...St({necessitaAtualizarEmailCelular:"auth/necessitaAtualizarEmailCelular"})},watch:{necessitaAtualizarEmailCelular(t){const e=this;t&&(this.obterDados(),e.podeAtualizarEmailPrincipal().then(r=>{e.statusPodeAtualizarEmailPrincipal=r.podeAtualizarEmailPrincipal}),this.$refs.alterarEmailTelefone.openModal())}},mounted(){},methods:{...nr({obter:"auth/obterEmails",salvar:"auth/alterarEmail",obterCelular:"auth/obterCelular",salvarCelular:"auth/salvarCelular",podeAtualizarEmailPrincipal:"auth/podeAtualizarEmailPrincipal"}),obterDados(){const t=this;t.obter().then(e=>{this.emailCadastrado=e.principal}),t.obterCelular().then(e=>{t.celularCadastradoObjeto=e,t.celularCadastrado=e.numtelfmt})},atualizarEmail(){const t=this;t.alerta={mensagem:""},t.emailAtualizado.trim()===t.emailCadastrado.trim()?t.alerta={mensagem:"Não há necessidade de atualizar o seu e-mail caso seja o mesmo",variante:"aviso"}:GS(t.emailAtualizado)?(t.processando=!0,t.salvar({tipo:"P",email:t.emailAtualizado}).then(e=>{t.alerta={mensagem:e.mensagem,variante:e.retorno==="erro"?"perigo":"sucesso"}}).catch(e=>{t.alerta={mensagem:e.mensagem,variante:"perigo"}}).finally(()=>t.processando=!1)):t.alerta={mensagem:"E-mail inválido! Por favor verifique se está preenchido corretamente.",variante:"perigo"}},confirmarCelular(){const t=this;t.alerta={mensagem:""},t.processando=!0,t.salvarCelular(t.celularCadastradoObjeto).then(e=>{t.alerta={mensagem:e.mensagem,variante:e.retorno==="erro"?"perigo":"sucesso"},t.obterDados()}).catch(e=>{t.alerta={mensagem:e.mensagem,variante:"perigo"}}).finally(()=>t.processando=!1)},atualizarCelular(){const t=this;t.alerta={mensagem:""},t.processando=!0,t.salvarCelular(t.celularAtualizado).then(e=>{t.alerta={mensagem:e.mensagem,variante:e.retorno==="erro"?"perigo":"sucesso"},t.obterDados()}).catch(e=>{t.alerta={mensagem:e.mensagem,variante:"perigo"}}).finally(()=>t.processando=!1)}}};var HS=function(){var e=this,r=e._self._c;return r("uspModal",{ref:"alterarEmailTelefone",attrs:{titulo:"Atualização de dados de contato","max-height":"95%"},scopedSlots:e._u([{key:"body",fn:function(){return[r("div",{staticClass:"alert alert-warning",attrs:{role:"alert"}},[e._v(" Para se manter informado através dos comunicados que são encaminhados à comunidade USP, por favor, mantenha seus dados de contato sempre atualizados. Você pode atualizar algum(ns) de seus dados através do formulário abaixo: ")]),r("uspAlerta",{directives:[{name:"show",rawName:"v-show",value:!!e.alerta.mensagem,expression:"!!alerta.mensagem"}],staticClass:"col-lg-10 offset-lg-1",attrs:{variante:e.alerta.variante}},[r("span",{domProps:{innerHTML:e._s(e.alerta.mensagem)}})]),r("form",[r("div",{directives:[{name:"show",rawName:"v-show",value:e.statusPodeAtualizarEmailPrincipal=="S",expression:"statusPodeAtualizarEmailPrincipal == 'S'"}],staticClass:"form-row"},[r("div",{staticClass:"form-group col-md-6"},[r("label",[e._v("E-mail cadastrado")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.emailCadastrado,expression:"emailCadastrado"}],staticClass:"form-control",attrs:{type:"email",disabled:""},domProps:{value:e.emailCadastrado},on:{input:function(a){a.target.composing||(e.emailCadastrado=a.target.value)}}})]),r("div",{staticClass:"form-group col-md-6"},[r("label",[e._v("E-mail atualizado")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.emailAtualizado,expression:"emailAtualizado"}],staticClass:"form-control",attrs:{type:"email",placeholder:""},domProps:{value:e.emailAtualizado},on:{input:function(a){a.target.composing||(e.emailAtualizado=a.target.value)}}})])]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.statusPodeAtualizarEmailPrincipal=="S",expression:"statusPodeAtualizarEmailPrincipal == 'S'"}],staticClass:"form-row text-center"},[r("div",{staticClass:"form-group col-md-12"},[r("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:e.processando},on:{click:function(a){return a.preventDefault(),e.atualizarEmail()}}},[r("em",{staticClass:"fa fa-envelope mr-2",attrs:{"aria-hidden":"true"}}),e._v(" Atualizar meu e-mail ")])])])]),r("form",{staticClass:"mt-3"},[r("div",{staticClass:"form-row"},[r("div",{staticClass:"form-group col-md-12"},[r("label",[e._v("Telefone celular cadastrado")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.celularCadastrado,expression:"celularCadastrado"}],staticClass:"form-control",attrs:{type:"email",disabled:""},domProps:{value:e.celularCadastrado},on:{input:function(a){a.target.composing||(e.celularCadastrado=a.target.value)}}})])]),r("div",{staticClass:"form-row text-center"},[r("div",{staticClass:"form-group col-md-12"},[r("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:e.processando},on:{click:function(a){return a.preventDefault(),e.confirmarCelular()}}},[r("em",{staticClass:"fa fa-phone mr-2",attrs:{"aria-hidden":"true"}}),e._v(" Confirmar meu celular ")])])]),r("div",{staticClass:"form-row"},[r("div",{staticClass:"form-group col-md-3"},[r("label",{attrs:{for:"inputPassword4"}},[e._v("DDI")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.celularAtualizado.codddi,expression:"celularAtualizado.codddi"}],staticClass:"form-control",attrs:{type:"number",placeholder:"DDI"},domProps:{value:e.celularAtualizado.codddi},on:{input:function(a){a.target.composing||e.$set(e.celularAtualizado,"codddi",a.target.value)}}})]),r("div",{staticClass:"form-group col-md-3"},[r("label",{attrs:{for:"inputPassword4"}},[e._v("DDD")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.celularAtualizado.codddd,expression:"celularAtualizado.codddd"}],staticClass:"form-control",attrs:{type:"number",placeholder:"DDD"},domProps:{value:e.celularAtualizado.codddd},on:{input:function(a){a.target.composing||e.$set(e.celularAtualizado,"codddd",a.target.value)}}})]),r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"inputPassword4"}},[e._v("Número do celular")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.celularAtualizado.numtel,expression:"celularAtualizado.numtel"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Formato: 999999999",maxlength:"9"},domProps:{value:e.celularAtualizado.numtel},on:{input:function(a){a.target.composing||e.$set(e.celularAtualizado,"numtel",a.target.value)}}})])]),r("div",{staticClass:"form-row text-center"},[r("div",{staticClass:"form-group col-md-12"},[r("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:e.processando},on:{click:function(a){return a.preventDefault(),e.atualizarCelular()}}},[r("em",{staticClass:"fa fa-phone mr-2",attrs:{"aria-hidden":"true"}}),e._v(" Atualizar meu celular ")])])])])]},proxy:!0}])})},YS=[],WS=ce(qS,HS,YS,!1,null,"cbe4e340");const JS=WS.exports,QS={name:"PortalRastreio",props:{rastreio:{type:Array,default:()=>[]}},data(){return{lista:[]}},computed:{...St({validando:"auth/validando",pagina:xe.NAVEGACAO.OBJETOWEB}),ePaginaLegado(){return this.$route.fullPath.indexOf("/servicos/")!==-1}},watch:{$route:{handler(){this.atualizarLista()},deep:!0,immediate:!0},rastreio(t){t&&Array.isArray(t)&&t.length>0&&(this.lista=t)}},mounted(){this.atualizarLista()},methods:{atualizarLista(){this.lista=this.$route.meta.breadcrumb||[]},formatarParametros(t){let e=t;return(t.match(/\${[a-z]*}/g)||[]).forEach(r=>{e=e.replaceAll(r,this.$route.params[r.match(/[a-z]+/g)[0]])}),e}}};var KS=function(){var e=this,r=e._self._c;return r("nav",{staticClass:"container-fluid",staticStyle:{"--bs-breadcrumb-divider":"url("},attrs:{"aria-label":"breadcrumb"}},[e.validando?r("ol",{staticClass:"breadcrumb"},[r("li",{staticClass:"breadcrumb-item"},[e._v(" Carregando sessão... ")])]):r("ol",{staticClass:"breadcrumb"},[r("li",{staticClass:"breadcrumb-item"},[r("router-link",{attrs:{to:{name:"servicos"}}},[r("em",{staticClass:"fas fa-home"}),e._v(" Home ")])],1),e._l(e.lista,function(a){return r("li",{key:`breadcumb-${a.nome}`,staticClass:"breadcrumb-item",class:{active:a.link},attrs:{"aria-current":a.link?"":"page"}},[a.link?r("router-link",{attrs:{to:e.formatarParametros(a.link)}},[e._v(" "+e._s(e.formatarParametros(a.nome))+" ")]):r("span",[e._v(" "+e._s(e.formatarParametros(a.nome))+" ")])],1)}),e.ePaginaLegado?r("li",{staticClass:"breadcrumb-item"},[e.pagina.iconeArea?r("em",{class:e.pagina.iconeArea}):e._e(),r("span",[e._v(" "+e._s(e.pagina.nomeSistema)+" "),r("small",[e._v("("+e._s(e.pagina.nomeArea)+")")])])]):e._e(),e.ePaginaLegado?r("li",{staticClass:"breadcrumb-item active",attrs:{"aria-current":"page"}},[e._v(" "+e._s(e.pagina.objetoweb)+" ")]):e._e()],2)])},ZS=[],XS=ce(QS,KS,ZS,!1,null,"d156b4e4");const ey=XS.exports,sd=["TRACE","DEBUG","INFO","WARN","ERROR"];class ty{constructor(){this.setOptions()}trace(e){this._log("TRACE",e)}debug(e){this._log("DEBUG",e)}info(e){this._log("INFO",e)}warn(e){this._log("WARN",e)}error(e){this._log("ERROR",e)}_log(e,r){const a=this._getMetodoConsole(e);r&&sd.indexOf(e)>=sd.indexOf(this.level)&&console[a](this._formatarMensagem(e,r))}_getMetodoConsole(e){return e==="DEBUG"?"log":e.toLowerCase()}_getOrigem(){let e=null;try{throw new Error("")}catch(o){e=o}if(!e.stack)return"";let r=e.stack.split(` `)[5],a="";if(/ /.test(r)){let o=r.trim().split(" ");r=o[1],a=o[2]}if(r&&r.indexOf(".")>-1&&(r=r.split(".")[1]),r&&a&&r.trim()===""){let o=a.match(/\(.*\/(.*):(\d+:\d+)\)/);o&&o.length>1&&(r=o[1])}return r}_formatarMensagem(e,r){return[e,this._getOrigem(),r].join(this.separador)}setOptions(e={}){this.level=e.level||"DEBUG",this.separador=e.separador||" | "}install(e,r={}){this.setOptions(r),e.prototype.$logger=this}}const Ze=new ty;function Vp(t,e){return function(){return t.apply(e,arguments)}}const{toString:ry}=Object.prototype,{getPrototypeOf:hu}=Object,Qs=(t=>e=>{const r=ry.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Sr=t=>(t=t.toLowerCase(),e=>Qs(e)===t),Ks=t=>e=>typeof e===t,{isArray:En}=Array,Kn=Ks("undefined");function ay(t){return t!==null&&!Kn(t)&&t.constructor!==null&&!Kn(t.constructor)&&Yt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Bp=Sr("ArrayBuffer");function ny(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Bp(t.buffer),e}const oy=Ks("string"),Yt=Ks("function"),zp=Ks("number"),Zs=t=>t!==null&&typeof t=="object",sy=t=>t===!0||t===!1,Ko=t=>{if(Qs(t)!=="object")return!1;const e=hu(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},iy=Sr("Date"),cy=Sr("File"),uy=Sr("Blob"),ly=Sr("FileList"),dy=t=>Zs(t)&&Yt(t.pipe),fy=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Yt(t.append)&&((e=Qs(t))==="formdata"||e==="object"&&Yt(t.toString)&&t.toString()==="[object FormData]"))},py=Sr("URLSearchParams"),[hy,my,vy,gy]=["ReadableStream","Request","Response","Headers"].map(Sr),by=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function io(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let a,o;if(typeof t!="object"&&(t=[t]),En(t))for(a=0,o=t.length;a0;)if(o=r[a],e===o.toLowerCase())return o;return null}const Na=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,qp=t=>!Kn(t)&&t!==Na;function yc(){const{caseless:t}=qp(this)&&this||{},e={},r=(a,o)=>{const n=t&&Gp(e,o)||o;Ko(e[n])&&Ko(a)?e[n]=yc(e[n],a):Ko(a)?e[n]=yc({},a):En(a)?e[n]=a.slice():e[n]=a};for(let a=0,o=arguments.length;a(io(e,(o,n)=>{r&&Yt(o)?t[n]=Vp(o,r):t[n]=o},{allOwnKeys:a}),t),Ay=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Sy=(t,e,r,a)=>{t.prototype=Object.create(e.prototype,a),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},yy=(t,e,r,a)=>{let o,n,s;const i={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),n=o.length;n-- >0;)s=o[n],(!a||a(s,t,e))&&!i[s]&&(e[s]=t[s],i[s]=!0);t=r!==!1&&hu(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Oy=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const a=t.indexOf(e,r);return a!==-1&&a===r},Ey=t=>{if(!t)return null;if(En(t))return t;let e=t.length;if(!zp(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Cy=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&hu(Uint8Array)),Ry=(t,e)=>{const a=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=a.next())&&!o.done;){const n=o.value;e.call(t,n[0],n[1])}},wy=(t,e)=>{let r;const a=[];for(;(r=t.exec(e))!==null;)a.push(r);return a},Ty=Sr("HTMLFormElement"),Dy=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,a,o){return a.toUpperCase()+o}),id=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),xy=Sr("RegExp"),Hp=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),a={};io(r,(o,n)=>{let s;(s=e(o,n,t))!==!1&&(a[n]=s||o)}),Object.defineProperties(t,a)},Py=t=>{Hp(t,(e,r)=>{if(Yt(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const a=t[r];if(Yt(a)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Ny=(t,e)=>{const r={},a=o=>{o.forEach(n=>{r[n]=!0})};return En(t)?a(t):a(String(t).split(e)),r},Iy=()=>{},$y=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,Vi="abcdefghijklmnopqrstuvwxyz",cd="0123456789",Yp={DIGIT:cd,ALPHA:Vi,ALPHA_DIGIT:Vi+Vi.toUpperCase()+cd},My=(t=16,e=Yp.ALPHA_DIGIT)=>{let r="";const{length:a}=e;for(;t--;)r+=e[Math.random()*a|0];return r};function ky(t){return!!(t&&Yt(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Uy=t=>{const e=new Array(10),r=(a,o)=>{if(Zs(a)){if(e.indexOf(a)>=0)return;if(!("toJSON"in a)){e[o]=a;const n=En(a)?[]:{};return io(a,(s,i)=>{const c=r(s,o+1);!Kn(c)&&(n[i]=c)}),e[o]=void 0,n}}return a};return r(t,0)},Ly=Sr("AsyncFunction"),Fy=t=>t&&(Zs(t)||Yt(t))&&Yt(t.then)&&Yt(t.catch),Wp=((t,e)=>t?setImmediate:e?((r,a)=>(Na.addEventListener("message",({source:o,data:n})=>{o===Na&&n===r&&a.length&&a.shift()()},!1),o=>{a.push(o),Na.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Yt(Na.postMessage)),jy=typeof queueMicrotask<"u"?queueMicrotask.bind(Na):typeof process<"u"&&process.nextTick||Wp,G={isArray:En,isArrayBuffer:Bp,isBuffer:ay,isFormData:fy,isArrayBufferView:ny,isString:oy,isNumber:zp,isBoolean:sy,isObject:Zs,isPlainObject:Ko,isReadableStream:hy,isRequest:my,isResponse:vy,isHeaders:gy,isUndefined:Kn,isDate:iy,isFile:cy,isBlob:uy,isRegExp:xy,isFunction:Yt,isStream:dy,isURLSearchParams:py,isTypedArray:Cy,isFileList:ly,forEach:io,merge:yc,extend:_y,trim:by,stripBOM:Ay,inherits:Sy,toFlatObject:yy,kindOf:Qs,kindOfTest:Sr,endsWith:Oy,toArray:Ey,forEachEntry:Ry,matchAll:wy,isHTMLForm:Ty,hasOwnProperty:id,hasOwnProp:id,reduceDescriptors:Hp,freezeMethods:Py,toObjectSet:Ny,toCamelCase:Dy,noop:Iy,toFiniteNumber:$y,findKey:Gp,global:Na,isContextDefined:qp,ALPHABET:Yp,generateString:My,isSpecCompliantForm:ky,toJSONObject:Uy,isAsyncFn:Ly,isThenable:Fy,setImmediate:Wp,asap:jy};function Ae(t,e,r,a,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),a&&(this.request=a),o&&(this.response=o,this.status=o.status?o.status:null)}G.inherits(Ae,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.status}}});const Jp=Ae.prototype,Qp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Qp[t]={value:t}});Object.defineProperties(Ae,Qp);Object.defineProperty(Jp,"isAxiosError",{value:!0});Ae.from=(t,e,r,a,o,n)=>{const s=Object.create(Jp);return G.toFlatObject(t,s,function(c){return c!==Error.prototype},i=>i!=="isAxiosError"),Ae.call(s,t.message,e,r,a,o),s.cause=t,s.name=t.name,n&&Object.assign(s,n),s};const Vy=null;function Oc(t){return G.isPlainObject(t)||G.isArray(t)}function Kp(t){return G.endsWith(t,"[]")?t.slice(0,-2):t}function ud(t,e,r){return t?t.concat(e).map(function(o,n){return o=Kp(o),!r&&n?"["+o+"]":o}).join(r?".":""):e}function By(t){return G.isArray(t)&&!t.some(Oc)}const zy=G.toFlatObject(G,{},null,function(e){return/^is[A-Z]/.test(e)});function Xs(t,e,r){if(!G.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=G.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,_){return!G.isUndefined(_[g])});const a=r.metaTokens,o=r.visitor||l,n=r.dots,s=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(e);if(!G.isFunction(o))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(G.isDate(v))return v.toISOString();if(!c&&G.isBlob(v))throw new Ae("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(v)||G.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function l(v,g,_){let A=v;if(v&&!_&&typeof v=="object"){if(G.endsWith(g,"{}"))g=a?g:g.slice(0,-2),v=JSON.stringify(v);else if(G.isArray(v)&&By(v)||(G.isFileList(v)||G.endsWith(g,"[]"))&&(A=G.toArray(v)))return g=Kp(g),A.forEach(function(D,$){!(G.isUndefined(D)||D===null)&&e.append(s===!0?ud([g],$,n):s===null?g:g+"[]",u(D))}),!1}return Oc(v)?!0:(e.append(ud(_,g,n),u(v)),!1)}const f=[],m=Object.assign(zy,{defaultVisitor:l,convertValue:u,isVisitable:Oc});function p(v,g){if(!G.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(v),G.forEach(v,function(A,O){(!(G.isUndefined(A)||A===null)&&o.call(e,A,G.isString(O)?O.trim():O,g,m))===!0&&p(A,g?g.concat(O):[O])}),f.pop()}}if(!G.isObject(t))throw new TypeError("data must be an object");return p(t),e}function ld(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(a){return e[a]})}function mu(t,e){this._pairs=[],t&&Xs(t,this,e)}const Zp=mu.prototype;Zp.append=function(e,r){this._pairs.push([e,r])};Zp.toString=function(e){const r=e?function(a){return e.call(this,a,ld)}:ld;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Gy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xp(t,e,r){if(!e)return t;const a=r&&r.encode||Gy;G.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let n;if(o?n=o(e,r):n=G.isURLSearchParams(e)?e.toString():new mu(e,r).toString(a),n){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+n}return t}class dd{constructor(){this.handlers=[]}use(e,r,a){return this.handlers.push({fulfilled:e,rejected:r,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){G.forEach(this.handlers,function(a){a!==null&&e(a)})}}const eh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qy=typeof URLSearchParams<"u"?URLSearchParams:mu,Hy=typeof FormData<"u"?FormData:null,Yy=typeof Blob<"u"?Blob:null,Wy={isBrowser:!0,classes:{URLSearchParams:qy,FormData:Hy,Blob:Yy},protocols:["http","https","file","blob","url","data"]},vu=typeof window<"u"&&typeof document<"u",Ec=typeof navigator=="object"&&navigator||void 0,Jy=vu&&(!Ec||["ReactNative","NativeScript","NS"].indexOf(Ec.product)<0),Qy=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ky=vu&&window.location.href||"http://localhost",Zy=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:vu,hasStandardBrowserEnv:Jy,hasStandardBrowserWebWorkerEnv:Qy,navigator:Ec,origin:Ky},Symbol.toStringTag,{value:"Module"})),wt={...Zy,...Wy};function Xy(t,e){return Xs(t,new wt.classes.URLSearchParams,Object.assign({visitor:function(r,a,o,n){return wt.isNode&&G.isBuffer(r)?(this.append(a,r.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}function e0(t){return G.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function t0(t){const e={},r=Object.keys(t);let a;const o=r.length;let n;for(a=0;a=r.length;return s=!s&&G.isArray(o)?o.length:s,c?(G.hasOwnProp(o,s)?o[s]=[o[s],a]:o[s]=a,!i):((!o[s]||!G.isObject(o[s]))&&(o[s]=[]),e(r,a,o[s],n)&&G.isArray(o[s])&&(o[s]=t0(o[s])),!i)}if(G.isFormData(t)&&G.isFunction(t.entries)){const r={};return G.forEachEntry(t,(a,o)=>{e(e0(a),o,r,0)}),r}return null}function r0(t,e,r){if(G.isString(t))try{return(e||JSON.parse)(t),G.trim(t)}catch(a){if(a.name!=="SyntaxError")throw a}return(r||JSON.stringify)(t)}const co={transitional:eh,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const a=r.getContentType()||"",o=a.indexOf("application/json")>-1,n=G.isObject(e);if(n&&G.isHTMLForm(e)&&(e=new FormData(e)),G.isFormData(e))return o?JSON.stringify(th(e)):e;if(G.isArrayBuffer(e)||G.isBuffer(e)||G.isStream(e)||G.isFile(e)||G.isBlob(e)||G.isReadableStream(e))return e;if(G.isArrayBufferView(e))return e.buffer;if(G.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(n){if(a.indexOf("application/x-www-form-urlencoded")>-1)return Xy(e,this.formSerializer).toString();if((i=G.isFileList(e))||a.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Xs(i?{"files[]":e}:e,c&&new c,this.formSerializer)}}return n||o?(r.setContentType("application/json",!1),r0(e)):e}],transformResponse:[function(e){const r=this.transitional||co.transitional,a=r&&r.forcedJSONParsing,o=this.responseType==="json";if(G.isResponse(e)||G.isReadableStream(e))return e;if(e&&G.isString(e)&&(a&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?Ae.from(i,Ae.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wt.classes.FormData,Blob:wt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch"],t=>{co.headers[t]={}});const a0=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),n0=t=>{const e={};let r,a,o;return t&&t.split(` `).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),a=s.substring(o+1).trim(),!(!r||e[r]&&a0[r])&&(r==="set-cookie"?e[r]?e[r].push(a):e[r]=[a]:e[r]=e[r]?e[r]+", "+a:a)}),e},fd=Symbol("internals");function kn(t){return t&&String(t).trim().toLowerCase()}function Zo(t){return t===!1||t==null?t:G.isArray(t)?t.map(Zo):String(t)}function o0(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=r.exec(t);)e[a[1]]=a[2];return e}const s0=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Bi(t,e,r,a,o){if(G.isFunction(a))return a.call(this,e,r);if(o&&(e=r),!!G.isString(e)){if(G.isString(a))return e.indexOf(a)!==-1;if(G.isRegExp(a))return a.test(e)}}function i0(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,a)=>r.toUpperCase()+a)}function c0(t,e){const r=G.toCamelCase(" "+e);["get","set","has"].forEach(a=>{Object.defineProperty(t,a+r,{value:function(o,n,s){return this[a].call(this,e,o,n,s)},configurable:!0})})}let kt=class{constructor(e){e&&this.set(e)}set(e,r,a){const o=this;function n(i,c,u){const l=kn(c);if(!l)throw new Error("header name must be a non-empty string");const f=G.findKey(o,l);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||c]=Zo(i))}const s=(i,c)=>G.forEach(i,(u,l)=>n(u,l,c));if(G.isPlainObject(e)||e instanceof this.constructor)s(e,r);else if(G.isString(e)&&(e=e.trim())&&!s0(e))s(n0(e),r);else if(G.isHeaders(e))for(const[i,c]of e.entries())n(c,i,a);else e!=null&&n(r,e,a);return this}get(e,r){if(e=kn(e),e){const a=G.findKey(this,e);if(a){const o=this[a];if(!r)return o;if(r===!0)return o0(o);if(G.isFunction(r))return r.call(this,o,a);if(G.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=kn(e),e){const a=G.findKey(this,e);return!!(a&&this[a]!==void 0&&(!r||Bi(this,this[a],a,r)))}return!1}delete(e,r){const a=this;let o=!1;function n(s){if(s=kn(s),s){const i=G.findKey(a,s);i&&(!r||Bi(a,a[i],i,r))&&(delete a[i],o=!0)}}return G.isArray(e)?e.forEach(n):n(e),o}clear(e){const r=Object.keys(this);let a=r.length,o=!1;for(;a--;){const n=r[a];(!e||Bi(this,this[n],n,e,!0))&&(delete this[n],o=!0)}return o}normalize(e){const r=this,a={};return G.forEach(this,(o,n)=>{const s=G.findKey(a,n);if(s){r[s]=Zo(o),delete r[n];return}const i=e?i0(n):String(n).trim();i!==n&&delete r[n],r[i]=Zo(o),a[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return G.forEach(this,(a,o)=>{a!=null&&a!==!1&&(r[o]=e&&G.isArray(a)?a.join(", "):a)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const a=new this(e);return r.forEach(o=>a.set(o)),a}static accessor(e){const a=(this[fd]=this[fd]={accessors:{}}).accessors,o=this.prototype;function n(s){const i=kn(s);a[i]||(c0(o,s),a[i]=!0)}return G.isArray(e)?e.forEach(n):n(e),this}};kt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.reduceDescriptors(kt.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(a){this[r]=a}}});G.freezeMethods(kt);function zi(t,e){const r=this||co,a=e||r,o=kt.from(a.headers);let n=a.data;return G.forEach(t,function(i){n=i.call(r,n,o.normalize(),e?e.status:void 0)}),o.normalize(),n}function rh(t){return!!(t&&t.__CANCEL__)}function Cn(t,e,r){Ae.call(this,t??"canceled",Ae.ERR_CANCELED,e,r),this.name="CanceledError"}G.inherits(Cn,Ae,{__CANCEL__:!0});function ah(t,e,r){const a=r.config.validateStatus;!r.status||!a||a(r.status)?t(r):e(new Ae("Request failed with status code "+r.status,[Ae.ERR_BAD_REQUEST,Ae.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function u0(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function l0(t,e){t=t||10;const r=new Array(t),a=new Array(t);let o=0,n=0,s;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),l=a[n];s||(s=u),r[o]=c,a[o]=u;let f=n,m=0;for(;f!==o;)m+=r[f++],f=f%t;if(o=(o+1)%t,o===n&&(n=(n+1)%t),u-s{r=l,o=null,n&&(clearTimeout(n),n=null),t.apply(null,u)};return[(...u)=>{const l=Date.now(),f=l-r;f>=a?s(u,l):(o=u,n||(n=setTimeout(()=>{n=null,s(o)},a-f)))},()=>o&&s(o)]}const ys=(t,e,r=3)=>{let a=0;const o=l0(50,250);return d0(n=>{const s=n.loaded,i=n.lengthComputable?n.total:void 0,c=s-a,u=o(c),l=s<=i;a=s;const f={loaded:s,total:i,progress:i?s/i:void 0,bytes:c,rate:u||void 0,estimated:u&&i&&l?(i-s)/u:void 0,event:n,lengthComputable:i!=null,[e?"download":"upload"]:!0};t(f)},r)},pd=(t,e)=>{const r=t!=null;return[a=>e[0]({lengthComputable:r,total:t,loaded:a}),e[1]]},hd=t=>(...e)=>G.asap(()=>t(...e)),f0=wt.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,wt.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(wt.origin),wt.navigator&&/(msie|trident)/i.test(wt.navigator.userAgent)):()=>!0,p0=wt.hasStandardBrowserEnv?{write(t,e,r,a,o,n){const s=[t+"="+encodeURIComponent(e)];G.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),G.isString(a)&&s.push("path="+a),G.isString(o)&&s.push("domain="+o),n===!0&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function h0(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function m0(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function nh(t,e){return t&&!h0(e)?m0(t,e):e}const md=t=>t instanceof kt?{...t}:t;function Ya(t,e){e=e||{};const r={};function a(u,l,f,m){return G.isPlainObject(u)&&G.isPlainObject(l)?G.merge.call({caseless:m},u,l):G.isPlainObject(l)?G.merge({},l):G.isArray(l)?l.slice():l}function o(u,l,f,m){if(G.isUndefined(l)){if(!G.isUndefined(u))return a(void 0,u,f,m)}else return a(u,l,f,m)}function n(u,l){if(!G.isUndefined(l))return a(void 0,l)}function s(u,l){if(G.isUndefined(l)){if(!G.isUndefined(u))return a(void 0,u)}else return a(void 0,l)}function i(u,l,f){if(f in e)return a(u,l);if(f in t)return a(void 0,u)}const c={url:n,method:n,data:n,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:i,headers:(u,l,f)=>o(md(u),md(l),f,!0)};return G.forEach(Object.keys(Object.assign({},t,e)),function(l){const f=c[l]||o,m=f(t[l],e[l],l);G.isUndefined(m)&&f!==i||(r[l]=m)}),r}const oh=t=>{const e=Ya({},t);let{data:r,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:n,headers:s,auth:i}=e;e.headers=s=kt.from(s),e.url=Xp(nh(e.baseURL,e.url),t.params,t.paramsSerializer),i&&s.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):"")));let c;if(G.isFormData(r)){if(wt.hasStandardBrowserEnv||wt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[u,...l]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...l].join("; "))}}if(wt.hasStandardBrowserEnv&&(a&&G.isFunction(a)&&(a=a(e)),a||a!==!1&&f0(e.url))){const u=o&&n&&p0.read(n);u&&s.set(o,u)}return e},v0=typeof XMLHttpRequest<"u",g0=v0&&function(t){return new Promise(function(r,a){const o=oh(t);let n=o.data;const s=kt.from(o.headers).normalize();let{responseType:i,onUploadProgress:c,onDownloadProgress:u}=o,l,f,m,p,v;function g(){p&&p(),v&&v(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let _=new XMLHttpRequest;_.open(o.method.toUpperCase(),o.url,!0),_.timeout=o.timeout;function A(){if(!_)return;const D=kt.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),L={data:!i||i==="text"||i==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:D,config:t,request:_};ah(function(q){r(q),g()},function(q){a(q),g()},L),_=null}"onloadend"in _?_.onloadend=A:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(A)},_.onabort=function(){_&&(a(new Ae("Request aborted",Ae.ECONNABORTED,t,_)),_=null)},_.onerror=function(){a(new Ae("Network Error",Ae.ERR_NETWORK,t,_)),_=null},_.ontimeout=function(){let $=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const L=o.transitional||eh;o.timeoutErrorMessage&&($=o.timeoutErrorMessage),a(new Ae($,L.clarifyTimeoutError?Ae.ETIMEDOUT:Ae.ECONNABORTED,t,_)),_=null},n===void 0&&s.setContentType(null),"setRequestHeader"in _&&G.forEach(s.toJSON(),function($,L){_.setRequestHeader(L,$)}),G.isUndefined(o.withCredentials)||(_.withCredentials=!!o.withCredentials),i&&i!=="json"&&(_.responseType=o.responseType),u&&([m,v]=ys(u,!0),_.addEventListener("progress",m)),c&&_.upload&&([f,p]=ys(c),_.upload.addEventListener("progress",f),_.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(l=D=>{_&&(a(!D||D.type?new Cn(null,t,_):D),_.abort(),_=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const O=u0(o.url);if(O&&wt.protocols.indexOf(O)===-1){a(new Ae("Unsupported protocol "+O+":",Ae.ERR_BAD_REQUEST,t));return}_.send(n||null)})},b0=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let a=new AbortController,o;const n=function(u){if(!o){o=!0,i();const l=u instanceof Error?u:this.reason;a.abort(l instanceof Ae?l:new Cn(l instanceof Error?l.message:l))}};let s=e&&setTimeout(()=>{s=null,n(new Ae(`timeout ${e} of ms exceeded`,Ae.ETIMEDOUT))},e);const i=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(n):u.removeEventListener("abort",n)}),t=null)};t.forEach(u=>u.addEventListener("abort",n));const{signal:c}=a;return c.unsubscribe=()=>G.asap(i),c}},_0=function*(t,e){let r=t.byteLength;if(r{const o=A0(t,e);let n=0,s,i=c=>{s||(s=!0,a&&a(c))};return new ReadableStream({async pull(c){try{const{done:u,value:l}=await o.next();if(u){i(),c.close();return}let f=l.byteLength;if(r){let m=n+=f;r(m)}c.enqueue(new Uint8Array(l))}catch(u){throw i(u),u}},cancel(c){return i(c),o.return()}},{highWaterMark:2})},ei=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",sh=ei&&typeof ReadableStream=="function",y0=ei&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),ih=(t,...e)=>{try{return!!t(...e)}catch{return!1}},O0=sh&&ih(()=>{let t=!1;const e=new Request(wt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),gd=64*1024,Cc=sh&&ih(()=>G.isReadableStream(new Response("").body)),Os={stream:Cc&&(t=>t.body)};ei&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Os[e]&&(Os[e]=G.isFunction(t[e])?r=>r[e]():(r,a)=>{throw new Ae(`Response type '${e}' is not supported`,Ae.ERR_NOT_SUPPORT,a)})})})(new Response);const E0=async t=>{if(t==null)return 0;if(G.isBlob(t))return t.size;if(G.isSpecCompliantForm(t))return(await new Request(wt.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(G.isArrayBufferView(t)||G.isArrayBuffer(t))return t.byteLength;if(G.isURLSearchParams(t)&&(t=t+""),G.isString(t))return(await y0(t)).byteLength},C0=async(t,e)=>{const r=G.toFiniteNumber(t.getContentLength());return r??E0(e)},R0=ei&&(async t=>{let{url:e,method:r,data:a,signal:o,cancelToken:n,timeout:s,onDownloadProgress:i,onUploadProgress:c,responseType:u,headers:l,withCredentials:f="same-origin",fetchOptions:m}=oh(t);u=u?(u+"").toLowerCase():"text";let p=b0([o,n&&n.toAbortSignal()],s),v;const g=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let _;try{if(c&&O0&&r!=="get"&&r!=="head"&&(_=await C0(l,a))!==0){let L=new Request(e,{method:"POST",body:a,duplex:"half"}),z;if(G.isFormData(a)&&(z=L.headers.get("content-type"))&&l.setContentType(z),L.body){const[q,U]=pd(_,ys(hd(c)));a=vd(L.body,gd,q,U)}}G.isString(f)||(f=f?"include":"omit");const A="credentials"in Request.prototype;v=new Request(e,{...m,signal:p,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:a,duplex:"half",credentials:A?f:void 0});let O=await fetch(v);const D=Cc&&(u==="stream"||u==="response");if(Cc&&(i||D&&g)){const L={};["status","statusText","headers"].forEach(H=>{L[H]=O[H]});const z=G.toFiniteNumber(O.headers.get("content-length")),[q,U]=i&&pd(z,ys(hd(i),!0))||[];O=new Response(vd(O.body,gd,q,()=>{U&&U(),g&&g()}),L)}u=u||"text";let $=await Os[G.findKey(Os,u)||"text"](O,t);return!D&&g&&g(),await new Promise((L,z)=>{ah(L,z,{data:$,headers:kt.from(O.headers),status:O.status,statusText:O.statusText,config:t,request:v})})}catch(A){throw g&&g(),A&&A.name==="TypeError"&&/fetch/i.test(A.message)?Object.assign(new Ae("Network Error",Ae.ERR_NETWORK,t,v),{cause:A.cause||A}):Ae.from(A,A&&A.code,t,v)}}),Rc={http:Vy,xhr:g0,fetch:R0};G.forEach(Rc,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const bd=t=>`- ${t}`,w0=t=>G.isFunction(t)||t===null||t===!1,ch={getAdapter:t=>{t=G.isArray(t)?t:[t];const{length:e}=t;let r,a;const o={};for(let n=0;n`adapter ${i} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=e?n.length>1?`since : `+n.map(bd).join(` `):" "+bd(n[0]):"as no adapter specified";throw new Ae("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return a},adapters:Rc};function Gi(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Cn(null,t)}function _d(t){return Gi(t),t.headers=kt.from(t.headers),t.data=zi.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ch.getAdapter(t.adapter||co.adapter)(t).then(function(a){return Gi(t),a.data=zi.call(t,t.transformResponse,a),a.headers=kt.from(a.headers),a},function(a){return rh(a)||(Gi(t),a&&a.response&&(a.response.data=zi.call(t,t.transformResponse,a.response),a.response.headers=kt.from(a.response.headers))),Promise.reject(a)})}const uh="1.7.9",ti={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ti[t]=function(a){return typeof a===t||"a"+(e<1?"n ":" ")+t}});const Ad={};ti.transitional=function(e,r,a){function o(n,s){return"[Axios v"+uh+"] Transitional option '"+n+"'"+s+(a?". "+a:"")}return(n,s,i)=>{if(e===!1)throw new Ae(o(s," has been removed"+(r?" in "+r:"")),Ae.ERR_DEPRECATED);return r&&!Ad[s]&&(Ad[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(n,s,i):!0}};ti.spelling=function(e){return(r,a)=>(console.warn(`${a} is likely a misspelling of ${e}`),!0)};function T0(t,e,r){if(typeof t!="object")throw new Ae("options must be an object",Ae.ERR_BAD_OPTION_VALUE);const a=Object.keys(t);let o=a.length;for(;o-- >0;){const n=a[o],s=e[n];if(s){const i=t[n],c=i===void 0||s(i,n,t);if(c!==!0)throw new Ae("option "+n+" must be "+c,Ae.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ae("Unknown option "+n,Ae.ERR_BAD_OPTION)}}const Xo={assertOptions:T0,validators:ti},Tr=Xo.validators;let ja=class{constructor(e){this.defaults=e,this.interceptors={request:new dd,response:new dd}}async request(e,r){try{return await this._request(e,r)}catch(a){if(a instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const n=o.stack?o.stack.replace(/^.+\n/,""):"";try{a.stack?n&&!String(a.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(a.stack+=` `+n):a.stack=n}catch{}}throw a}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Ya(this.defaults,r);const{transitional:a,paramsSerializer:o,headers:n}=r;a!==void 0&&Xo.assertOptions(a,{silentJSONParsing:Tr.transitional(Tr.boolean),forcedJSONParsing:Tr.transitional(Tr.boolean),clarifyTimeoutError:Tr.transitional(Tr.boolean)},!1),o!=null&&(G.isFunction(o)?r.paramsSerializer={serialize:o}:Xo.assertOptions(o,{encode:Tr.function,serialize:Tr.function},!0)),Xo.assertOptions(r,{baseUrl:Tr.spelling("baseURL"),withXsrfToken:Tr.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=n&&G.merge(n.common,n[r.method]);n&&G.forEach(["delete","get","head","post","put","patch","common"],v=>{delete n[v]}),r.headers=kt.concat(s,n);const i=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(r)===!1||(c=c&&g.synchronous,i.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let l,f=0,m;if(!c){const v=[_d.bind(this),void 0];for(v.unshift.apply(v,i),v.push.apply(v,u),m=v.length,l=Promise.resolve(r);f{if(!a._listeners)return;let n=a._listeners.length;for(;n-- >0;)a._listeners[n](o);a._listeners=null}),this.promise.then=o=>{let n;const s=new Promise(i=>{a.subscribe(i),n=i}).then(o);return s.cancel=function(){a.unsubscribe(n)},s},e(function(n,s,i){a.reason||(a.reason=new Cn(n,s,i),r(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=a=>{e.abort(a)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new lh(function(o){e=o}),cancel:e}}};function x0(t){return function(r){return t.apply(null,r)}}function P0(t){return G.isObject(t)&&t.isAxiosError===!0}const wc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(wc).forEach(([t,e])=>{wc[e]=t});function dh(t){const e=new ja(t),r=Vp(ja.prototype.request,e);return G.extend(r,ja.prototype,e,{allOwnKeys:!0}),G.extend(r,e,null,{allOwnKeys:!0}),r.create=function(o){return dh(Ya(t,o))},r}const rt=dh(co);rt.Axios=ja;rt.CanceledError=Cn;rt.CancelToken=D0;rt.isCancel=rh;rt.VERSION=uh;rt.toFormData=Xs;rt.AxiosError=Ae;rt.Cancel=rt.CanceledError;rt.all=function(e){return Promise.all(e)};rt.spread=x0;rt.isAxiosError=P0;rt.mergeConfig=Ya;rt.AxiosHeaders=kt;rt.formToJSON=t=>th(G.isHTMLForm(t)?new FormData(t):t);rt.getAdapter=ch.getAdapter;rt.HttpStatusCode=wc;rt.default=rt;const{Axios:PP,AxiosError:NP,CanceledError:IP,isCancel:$P,CancelToken:MP,VERSION:kP,all:UP,Cancel:LP,isAxiosError:FP,spread:jP,toFormData:VP,AxiosHeaders:BP,HttpStatusCode:zP,formToJSON:GP,getAdapter:qP,mergeConfig:HP}=rt,Sd="Cache-Control",yd="Content-Type",N0="application/json",I0="multipart/form-data",$0="no-cache, no-store, must-revalidate",M0="responseType",k0="blob",U0="json",Od="get",L0="delete",F0="patch",j0="post",V0="put",Un={autorizacaoHeader:"Usp-Key",autorizacaoStorageKey:"AUTH_USUARIO_TOKEN",baseURL:"/proxy",credenciais:!0,erroPadrao:"Ocorreu um problema com a sua solicitação, por favor tente novamente mais tarde!",formDataArquivos:"file",formDataDados:"json"},er={RESPOSTA:null,RESPOSTA_ERRO:null,REQUISICAO:null,REQUISICAO_ERRO:null};rt.interceptors.request.use(t=>(Ze.trace("Dentro do interceptador de requisição"),er.REQUISICAO&&er.REQUISICAO.call(null,t),t),t=>(Ze.trace("Dentro do interceptador de erros na requisição"),er.REQUISICAO_ERRO&&er.REQUISICAO_ERRO.call(null,t),Promise.reject(t)));rt.interceptors.response.use(t=>(Ze.trace("Dentro do interceptador de respostas"),er.RESPOSTA&&er.RESPOSTA.call(null,t),t),t=>(Ze.trace("Dentro do interceptador de erros na resposta"),er.RESPOSTA_ERRO&&er.RESPOSTA_ERRO.call(null,t),Promise.reject(t)));class Ir{constructor(e){this.options=e}option(e,r){if(r!==void 0)this.options[e]=r;else return this.options[e]||Un[e]}download(e,r={},a={}){return a[M0]=k0,this._executar(Od,e,r,a)}get(e,r={},a={}){return this._executar(Od,e,r,a)}post(e,r={},a=[],o={},n={}){return this._executar(j0,e,o,n,r,a)}delete(e,r={},a=[],o={},n={}){return this._executar(L0,e,o,n,r,a)}put(e,r={},a=[],o={},n={}){return this._executar(V0,e,o,n,r,a)}patch(e,r={},a=[],o={},n={}){return this._executar(F0,e,o,n,r,a)}_configurarDados(e,r){if(r&&r.length>0){const a=new FormData;return r.forEach(o=>{a.append(this.option("formDataArquivos"),o)}),e&&a.append(this.option("formDataDados"),JSON.stringify(e)),a}else return e}_configurarHeaders(e,r=!1){const a={},o=this.option("headers")||{},n=localStorage.getItem(this.option("autorizacaoStorageKey"));for(let s in o)a[s]=o[s];for(let s in e)a[s]=e[s];return a[Sd]||(a[Sd]=$0),a[yd]||(a[yd]=r?I0:N0),n&&(a[this.option("autorizacaoHeader")]=n),a}_executar(e,r,a,o={},n=null,s=[]){const i=this,c=o.baseURL||this.option("baseURL"),u=o.responseType||U0,l=this.option("credenciais");return a=i._configurarHeaders(a,s&&s.length>0),n=i._configurarDados(n,s),i._promisedAxios({method:e,url:r,headers:a,baseURL:c,data:n,responseType:u,withCredentials:l})}_promisedAxios({method:e,url:r,headers:a,baseURL:o,data:n,responseType:s,withCredentials:i}){const c=this;return new Promise((u,l)=>rt({method:e,url:r,headers:a,baseURL:o,data:n,responseType:s,withCredentials:i}).then(f=>{c._tratarResposta(u,l,f)}).catch(f=>{c._tratarErro(u,l,f)}))}_tratarErro(e,r,a){a?a.response?r(a.response.data):a.request?r(a.request):a.message?r(a.message):r(a.mensagem||a||Un.ERROR):r(Un.ERROR)}_tratarResposta(e,r,a){e(a.data)}static interceptadorResposta(e){er.RESPOSTA=e}static interceptadorErroResposta(e){er.RESPOSTA_ERRO=e}static interceptadorRequisicao(e){er.REQUISICAO=e}static interceptadorErroRequisicao(e){er.REQUISICAO_ERRO=e}static default(e){if(e)for(let r in e)Un[r]=e[r];else return Un}static build(e={}){return new this(e)}}const YP=t=>t?t.substring(8,10)+"/"+t.substring(5,7)+"/"+t.substring(0,4):null,WP=t=>{const e=t.split("/");return new Date(e[2],e[1]-1,e[0])},JP=t=>t.toLocaleString("pt-BR",{minimumFractionDigits:2,maximumFractionDigits:2}),Ed=t=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toUpperCase(),B0=t=>t&&t.length==11?t.substring(0,2)+"."+t.substring(2,3)+"."+t.substring(3,10)+"."+t.substring(10):"",QP=t=>{if((t==null?void 0:t.length)<6)return"";if(t.indexOf(".")===-1)return t.length===13?t.slice(2):t;const e=t.split("."),r=e[0].length>2?e[0].slice(-2):e[0],a=e[1],o=e[2].padStart(a==9?7:5,"0"),n=a==9?"":e[3].padStart(2,"0"),s=e[e.length-1];return`${r}${a}${o}${n}${s}`},KP=t=>{const e=["B","KB","MB"];let r=t,a=0;for(;r/1024>1;)r=(r/1024).toFixed(2),a++;return`${r} ${e[a]}`};class gu extends Ir{autenticar(e,r){return this.post("/wsusuario/login",{loginUsuario:e.codpes,senhaUsuario:e.senusu,token:r})}deslogar(){return this.post("/wsusuario/logout")}validar(){return this.get("/wsusuario/validar")}cadastrarSenha(e){return this.post("/wsusuario/cadastrarSenha",e)}primeiroAcesso(e,r){return this.post("/wsusuario/primeiroAcesso",{loginUsuario:e.codpes,emailUsuario:e.senusu,token:r})}esqueciSenha(e,r){return this.post("/wsusuario/esqueciSenha",{loginUsuario:e.codpes,emailUsuario:e.senusu,token:r})}alterarSenha(e){return this.post("/wsusuario/alterarSenha",e)}obterEmails(){return this.get("/wsusuario/api/email/obter?rand="+Math.random())}obterCelular(){return this.get("/wsusuario/api/contato/obterCelular?rand="+Math.random())}necessitaAtualizarEmailCelular(){return this.get("/wsusuario/api/contato/necessitaAtualizar?rand="+Math.random())}podeAtualizarEmailPrincipal(){return this.get("/wsusuario/api/contato/podeAtualizarEmailPrincipal?rand="+Math.random())}salvarCelular(e){return this.post("/wsusuario/api/contato/alterarCelular",e)}alterarEmail(e){return this.post("/wsusuario/api/email/solicitar",e)}confirmarAlteracaoEmail(e){return this.post("/wsusuario/api/email/confirmar",e)}}const z0={name:"PortalSpinner",props:{mostrar:{type:Boolean,default:!1}}};var G0=function(){var e=this,r=e._self._c;return r("section",{class:{esconder:!e.mostrar}},[e._m(0)])},q0=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"spinner-container"},[e("div",{staticClass:"app-loader body-filho"},[e("h5",[t._v("Obtendo dados de sessão...")]),e("div",{staticClass:"spinner"})])])}],H0=ce(z0,G0,q0,!1,null,"4886dd15");const Y0=H0.exports,Cd="PORTAL",Rd="PERFIL",qi="LEGADO",wd="JANUS",Es="NOTIFICACOES_CARREGANDO",Cs="NOTIFICACOES_CARREGADO",pr={AUTH:{REDIRECT:"AUTH_REDIRECT",USUARIO_DISPLAY:"AUTH_USUARIO_DISPLAY",USUARIO_TOKEN:"AUTH_USUARIO_TOKEN"}},W0={name:"PortalUSPApp",components:{PortalTarefaAdiarModal:zS,PortalAvisosModal:yS,PortalHeader:IS,PortalSpinner:Y0,PortalRastreio:ey,PortalPainelBusca:LS,AlterarEmailTelefone:JS},data(){return{codigoConfirmacaoEmail:this.$route.query.codigo,producao:!1,rastreio:null,api:gu.build({}),mostrarSpinner:!0}},computed:{...St({autenticado:"auth/autenticado",validando:"auth/validando",menu:xe.NAVEGACAO.MENU,menuCarregado:xe.NAVEGACAO.STATUS_CARREGADO,menuExpandido:xe.NAVEGACAO.MENU_EXPANDIDO}),naoEHome(){return this.$route.path!=="/"},notEmbedded(){return!this.$route.fullPath.includes("embedded")}},watch:{validando(t){t?this.mostrarSpinner=!0:setTimeout(()=>this.mostrarSpinner=!1,2e3)},autenticado(t){const e=this;t?(this.carregarNavPrivada(),this.carregarNotificacoes(),e.necessitaAtualizarEmailCelular()):this.carregarNavPublica()},menuExpandido(t){this.expandirMenu(t)}},created(){const t=this;if(t.criarSessaoJanus(),t.expandirMenu(t.menuExpandido),this.codigoConfirmacaoEmail){const e=t.$toast.info("Salvando a alteração de e-mail...");t.confirmarAlteracaoEmail({codigo:t.codigoConfirmacaoEmail}).then(r=>{t.$toast.dismiss(e),r.retorno=="erro"?this.$toast.error(r.mensagem):this.$toast.success(r.mensagem)}).finally(this.verificarSessao)}else t.$logger.debug("'Iniciando APP.VUE com a verificação de sessão'"),t.$router.onReady(()=>{t.$logger.debug("Router pronto, verificando sessão"),t.verificarSessao()})},methods:{...Za({alterarBarraLateral:fe.NAVEGACAO.MENU_EXPANDIDO}),...nr({carregarSessao:"auth/carregarSessao",carregarNavPrivada:it.NAVEGACAO.CARREGAR_PRIVADA,carregarNavPublica:it.NAVEGACAO.CARREGAR_PUBLICA,carregarNotificacoes:it.NOTIFICACOES.CARREGAR,criarSessaoJanus:it.NAVEGACAO.CRIAR_SESSAO_JANUS,confirmarAlteracaoEmail:"auth/confirmarAlteracaoEmail",deslogar:"auth/deslogar",necessitaAtualizarEmailCelular:"auth/necessitaAtualizarEmailCelular"}),atualizarRastreio(t){this.rastreio=t},expandirMenu(t){const e=document.body;e.classList.add("efeito-suavizar"),t?e.classList.add("usp-menu-expandido"):e.classList.remove("usp-menu-expandido"),setTimeout(()=>{e.classList.remove("efeito-suavizar")},500)},trocarMenuJanus(){const t=this;t.carregando=!0;const e=t.navegacao.arvores.find(r=>r.codigo==="pos-graduacao");t.$logger.debug("Recebi o evento de troca de menu no App"),t.api.obterNavegacaoJanus(e).then(r=>{e.privado=e.privado.slice(0,1).concat(r)})},async verificarSessao(){var e;const t=this;try{if(await t.carregarSessao())t.carregarNotificacoes(),t.carregarNavPrivada();else{const a=t.$route.fullPath,o=((e=t.$route.meta)==null?void 0:e.logado)||!1;t.$logger.debug(`Sessão inválida (path=${a}, logado=${o})`),await t.deslogar(),a!=="/"&&o&&(t.$logger.debug(`Guardando o path ${a} para redirect futuro`),localStorage.setItem(pr.AUTH.REDIRECT,a),t.$router.push({name:"home"})),t.carregarNavPublica()}}catch(r){t.$logger.error("Erro ao verificar sessão",r)}}}};var J0=function(){var e=this,r=e._self._c;return r("div",{attrs:{id:"app"}},[e.notEmbedded?r("PortalHeader"):e._e(),e.notEmbedded?r("uspSidebar",{attrs:{"top-offset":"4.0625rem",carregando:!e.menuCarregado,itens:e.menu},on:{alternarBarraLateral:e.alterarBarraLateral}}):e._e(),e.mostrarSpinner?r("PortalSpinner",{attrs:{mostrar:e.validando}}):e._e(),r("section",{class:{"portal-usp-conteudo":e.notEmbedded}},[e.notEmbedded?r("header",[r("PortalPainelBusca"),e.naoEHome?r("PortalRastreio",{attrs:{rastreio:e.rastreio}}):e._e(),r("div",{attrs:{id:"portal-cabecalho"}})],1):e._e(),r("router-view",{on:{trocaMenuJanus:e.trocarMenuJanus,"atualizar-rastreio":e.atualizarRastreio}})],1),e.notEmbedded?r("PortalTarefaAdiarModal"):e._e(),e.notEmbedded?r("PortalAvisosModal"):e._e(),e.notEmbedded?r("AlterarEmailTelefone"):e._e()],1)},Q0=[],K0=ce(W0,J0,Q0,!1,null,null);const Z0=K0.exports;/*! * vue-router v3.6.5 * (c) 2022 Evan You * @license MIT */function hr(t,e){for(var r in e)t[r]=e[r];return t}var X0=/[!'()*]/g,eO=function(t){return"%"+t.charCodeAt(0).toString(16)},tO=/%2C/g,cn=function(t){return encodeURIComponent(t).replace(X0,eO).replace(tO,",")};function Tc(t){try{return decodeURIComponent(t)}catch{}return t}function rO(t,e,r){e===void 0&&(e={});var a=r||aO,o;try{o=a(t||"")}catch{o={}}for(var n in e){var s=e[n];o[n]=Array.isArray(s)?s.map(Td):Td(s)}return o}var Td=function(t){return t==null||typeof t=="object"?t:String(t)};function aO(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(r){var a=r.replace(/\+/g," ").split("="),o=Tc(a.shift()),n=a.length>0?Tc(a.join("=")):null;e[o]===void 0?e[o]=n:Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]}),e}function nO(t){var e=t?Object.keys(t).map(function(r){var a=t[r];if(a===void 0)return"";if(a===null)return cn(r);if(Array.isArray(a)){var o=[];return a.forEach(function(n){n!==void 0&&(n===null?o.push(cn(r)):o.push(cn(r)+"="+cn(n)))}),o.join("&")}return cn(r)+"="+cn(a)}).filter(function(r){return r.length>0}).join("&"):null;return e?"?"+e:""}var Rs=/\/?$/;function ws(t,e,r,a){var o=a&&a.options.stringifyQuery,n=e.query||{};try{n=Dc(n)}catch{}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:n,params:e.params||{},fullPath:Dd(e,o),matched:t?oO(t):[]};return r&&(s.redirectedFrom=Dd(r,o)),Object.freeze(s)}function Dc(t){if(Array.isArray(t))return t.map(Dc);if(t&&typeof t=="object"){var e={};for(var r in t)e[r]=Dc(t[r]);return e}else return t}var va=ws(null,{path:"/"});function oO(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function Dd(t,e){var r=t.path,a=t.query;a===void 0&&(a={});var o=t.hash;o===void 0&&(o="");var n=e||nO;return(r||"/")+n(a)+o}function fh(t,e,r){return e===va?t===e:e?t.path&&e.path?t.path.replace(Rs,"")===e.path.replace(Rs,"")&&(r||t.hash===e.hash&&es(t.query,e.query)):t.name&&e.name?t.name===e.name&&(r||t.hash===e.hash&&es(t.query,e.query)&&es(t.params,e.params)):!1:!1}function es(t,e){if(t===void 0&&(t={}),e===void 0&&(e={}),!t||!e)return t===e;var r=Object.keys(t).sort(),a=Object.keys(e).sort();return r.length!==a.length?!1:r.every(function(o,n){var s=t[o],i=a[n];if(i!==o)return!1;var c=e[o];return s==null||c==null?s===c:typeof s=="object"&&typeof c=="object"?es(s,c):String(s)===String(c)})}function sO(t,e){return t.path.replace(Rs,"/").indexOf(e.path.replace(Rs,"/"))===0&&(!e.hash||t.hash===e.hash)&&iO(t.query,e.query)}function iO(t,e){for(var r in e)if(!(r in t))return!1;return!0}function ph(t){for(var e=0;e=0&&(e=t.slice(a),t=t.slice(0,a));var o=t.indexOf("?");return o>=0&&(r=t.slice(o+1),t=t.slice(0,o)),{path:t,query:r,hash:e}}function ca(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var Ts=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},Rn=gh,dO=bu,fO=vO,pO=mh,hO=vh,mO=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function bu(t,e){for(var r=[],a=0,o=0,n="",s=e&&e.delimiter||"/",i;(i=mO.exec(t))!=null;){var c=i[0],u=i[1],l=i.index;if(n+=t.slice(o,l),o=l+c.length,u){n+=u[1];continue}var f=t[o],m=i[2],p=i[3],v=i[4],g=i[5],_=i[6],A=i[7];n&&(r.push(n),n="");var O=m!=null&&f!=null&&f!==m,D=_==="+"||_==="*",$=_==="?"||_==="*",L=i[2]||s,z=v||g;r.push({name:p||a++,prefix:m||"",delimiter:L,optional:$,repeat:D,partial:O,asterisk:!!A,pattern:z?_O(z):A?".*":"[^"+ts(L)+"]+?"})}return o1||!L.length)return L.length===0?e():e("span",{},L)}if(this.tag==="a")$.on=D,$.attrs={href:c,"aria-current":A};else{var z=bh(this.$slots.default);if(z){z.isStatic=!1;var q=z.data=hr({},z.data);q.on=q.on||{};for(var U in q.on){var H=q.on[U];U in D&&(q.on[U]=Array.isArray(H)?H:[H])}for(var P in D)P in q.on?q.on[P].push(D[P]):q.on[P]=O;var j=z.data.attrs=hr({},z.data.attrs);j.href=c,j["aria-current"]=A}else $.on=D}return e(this.tag,$,this.$slots.default)}};function Id(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function bh(t){if(t){for(var e,r=0;r-1&&(_.params[$]=v.params[$]);return _.path=rs(O.path,_.params),m(O,_,g)}else if(_.path){_.params={};for(var L=0;L-1}function ni(t,e){return Ps(t)&&t._isRouter&&(e==null||t.type===e)}function Fd(t,e,r){var a=function(o){o>=t.length?r():t[o]?e(t[o],function(){a(o+1)}):a(o+1)};a(0)}function VO(t){return function(e,r,a){var o=!1,n=0,s=null;Ch(t,function(i,c,u,l){if(typeof i=="function"&&i.cid===void 0){o=!0,n++;var f=jd(function(g){zO(g)&&(g=g.default),i.resolved=typeof g=="function"?g:Ds.extend(g),u.components[l]=g,n--,n<=0&&a()}),m=jd(function(g){var _="Failed to resolve async component "+l+": "+g;s||(s=Ps(g)?g:new Error(_),a(s))}),p;try{p=i(f,m)}catch(g){m(g)}if(p)if(typeof p.then=="function")p.then(f,m);else{var v=p.component;v&&typeof v.then=="function"&&v.then(f,m)}}}),o||a()}}function Ch(t,e){return Rh(t.map(function(r){return Object.keys(r.components).map(function(a){return e(r.components[a],r.instances[a],r,a)})}))}function Rh(t){return Array.prototype.concat.apply([],t)}var BO=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function zO(t){return t.__esModule||BO&&t[Symbol.toStringTag]==="Module"}function jd(t){var e=!1;return function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(!e)return e=!0,t.apply(this,r)}}var yr=function(e,r){this.router=e,this.base=GO(r),this.current=va,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};yr.prototype.listen=function(e){this.cb=e};yr.prototype.onReady=function(e,r){this.ready?e():(this.readyCbs.push(e),r&&this.readyErrorCbs.push(r))};yr.prototype.onError=function(e){this.errorCbs.push(e)};yr.prototype.transitionTo=function(e,r,a){var o=this,n;try{n=this.router.match(e,this.current)}catch(i){throw this.errorCbs.forEach(function(c){c(i)}),i}var s=this.current;this.confirmTransition(n,function(){o.updateRoute(n),r&&r(n),o.ensureURL(),o.router.afterHooks.forEach(function(i){i&&i(n,s)}),o.ready||(o.ready=!0,o.readyCbs.forEach(function(i){i(n)}))},function(i){a&&a(i),i&&!o.ready&&(!ni(i,Xa.redirected)||s!==va)&&(o.ready=!0,o.readyErrorCbs.forEach(function(c){c(i)}))})};yr.prototype.confirmTransition=function(e,r,a){var o=this,n=this.current;this.pending=e;var s=function(g){!ni(g)&&Ps(g)&&(o.errorCbs.length?o.errorCbs.forEach(function(_){_(g)}):console.error(g)),a&&a(g)},i=e.matched.length-1,c=n.matched.length-1;if(fh(e,n)&&i===c&&e.matched[i]===n.matched[c])return this.ensureURL(),e.hash&&ua(this.router,n,e,!1),s(UO(n,e));var u=qO(this.current.matched,e.matched),l=u.updated,f=u.deactivated,m=u.activated,p=[].concat(YO(f),this.router.beforeHooks,WO(l),m.map(function(g){return g.beforeEnter}),VO(m)),v=function(g,_){if(o.pending!==e)return s(Ld(n,e));try{g(e,n,function(A){A===!1?(o.ensureURL(!0),s(LO(n,e))):Ps(A)?(o.ensureURL(!0),s(A)):typeof A=="string"||typeof A=="object"&&(typeof A.path=="string"||typeof A.name=="string")?(s(kO(n,e)),typeof A=="object"&&A.replace?o.replace(A):o.push(A)):_(A)})}catch(A){s(A)}};Fd(p,v,function(){var g=JO(m),_=g.concat(o.router.resolveHooks);Fd(_,v,function(){if(o.pending!==e)return s(Ld(n,e));o.pending=null,r(e),o.router.app&&o.router.app.$nextTick(function(){ph(e)})})})};yr.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)};yr.prototype.setupListeners=function(){};yr.prototype.teardown=function(){this.listeners.forEach(function(e){e()}),this.listeners=[],this.current=va,this.pending=null};function GO(t){if(!t)if(uo){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return t.charAt(0)!=="/"&&(t="/"+t),t.replace(/\/$/,"")}function qO(t,e){var r,a=Math.max(t.length,e.length);for(r=0;r0)){var o=this.router,n=o.options.scrollBehavior,s=la&&n;s&&this.listeners.push(Oh());var i=function(){var c=a.current,u=jn(a.base);a.current===va&&u===a._startLocation||a.transitionTo(u,function(l){s&&ua(o,l,c,!0)})};window.addEventListener("popstate",i),this.listeners.push(function(){window.removeEventListener("popstate",i)})}},e.prototype.go=function(a){window.history.go(a)},e.prototype.push=function(a,o,n){var s=this,i=this,c=i.current;this.transitionTo(a,function(u){xs(ca(s.base+u.fullPath)),ua(s.router,u,c,!1),o&&o(u)},n)},e.prototype.replace=function(a,o,n){var s=this,i=this,c=i.current;this.transitionTo(a,function(u){Nc(ca(s.base+u.fullPath)),ua(s.router,u,c,!1),o&&o(u)},n)},e.prototype.ensureURL=function(a){if(jn(this.base)!==this.current.fullPath){var o=ca(this.base+this.current.fullPath);a?xs(o):Nc(o)}},e.prototype.getCurrentLocation=function(){return jn(this.base)},e}(yr);function jn(t){var e=window.location.pathname,r=e.toLowerCase(),a=t.toLowerCase();return t&&(r===a||r.indexOf(ca(a+"/"))===0)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Dh=function(t){function e(r,a,o){t.call(this,r,a),!(o&&KO(this.base))&&Vd()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var a=this;if(!(this.listeners.length>0)){var o=this.router,n=o.options.scrollBehavior,s=la&&n;s&&this.listeners.push(Oh());var i=function(){var u=a.current;Vd()&&a.transitionTo(as(),function(l){s&&ua(a.router,l,u,!0),la||ns(l.fullPath)})},c=la?"popstate":"hashchange";window.addEventListener(c,i),this.listeners.push(function(){window.removeEventListener(c,i)})}},e.prototype.push=function(a,o,n){var s=this,i=this,c=i.current;this.transitionTo(a,function(u){Bd(u.fullPath),ua(s.router,u,c,!1),o&&o(u)},n)},e.prototype.replace=function(a,o,n){var s=this,i=this,c=i.current;this.transitionTo(a,function(u){ns(u.fullPath),ua(s.router,u,c,!1),o&&o(u)},n)},e.prototype.go=function(a){window.history.go(a)},e.prototype.ensureURL=function(a){var o=this.current.fullPath;as()!==o&&(a?Bd(o):ns(o))},e.prototype.getCurrentLocation=function(){return as()},e}(yr);function KO(t){var e=jn(t);if(!/^\/#/.test(e))return window.location.replace(ca(t+"/#"+e)),!0}function Vd(){var t=as();return t.charAt(0)==="/"?!0:(ns("/"+t),!1)}function as(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function Ic(t){var e=window.location.href,r=e.indexOf("#"),a=r>=0?e.slice(0,r):e;return a+"#"+t}function Bd(t){la?xs(Ic(t)):window.location.hash=t}function ns(t){la?Nc(Ic(t)):window.location.replace(Ic(t))}var ZO=function(t){function e(r,a){t.call(this,r,a),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(a,o,n){var s=this;this.transitionTo(a,function(i){s.stack=s.stack.slice(0,s.index+1).concat(i),s.index++,o&&o(i)},n)},e.prototype.replace=function(a,o,n){var s=this;this.transitionTo(a,function(i){s.stack=s.stack.slice(0,s.index).concat(i),o&&o(i)},n)},e.prototype.go=function(a){var o=this,n=this.index+a;if(!(n<0||n>=this.stack.length)){var s=this.stack[n];this.confirmTransition(s,function(){var i=o.current;o.index=n,o.updateRoute(s),o.router.afterHooks.forEach(function(c){c&&c(s,i)})},function(i){ni(i,Xa.duplicated)&&(o.index=n)})}},e.prototype.getCurrentLocation=function(){var a=this.stack[this.stack.length-1];return a?a.fullPath:"/"},e.prototype.ensureURL=function(){},e}(yr),Qe=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=TO(e.routes||[],this);var r=e.mode||"hash";switch(this.fallback=r==="history"&&!la&&e.fallback!==!1,this.fallback&&(r="hash"),uo||(r="abstract"),this.mode=r,r){case"history":this.history=new Th(this,e.base);break;case"hash":this.history=new Dh(this,e.base,this.fallback);break;case"abstract":this.history=new ZO(this,e.base);break}},xh={currentRoute:{configurable:!0}};Qe.prototype.match=function(e,r,a){return this.matcher.match(e,r,a)};xh.currentRoute.get=function(){return this.history&&this.history.current};Qe.prototype.init=function(e){var r=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var s=r.apps.indexOf(e);s>-1&&r.apps.splice(s,1),r.app===e&&(r.app=r.apps[0]||null),r.app||r.history.teardown()}),!this.app){this.app=e;var a=this.history;if(a instanceof Th||a instanceof Dh){var o=function(s){var i=a.current,c=r.options.scrollBehavior,u=la&&c;u&&"fullPath"in s&&ua(r,s,i,!1)},n=function(s){a.setupListeners(),o(s)};a.transitionTo(a.getCurrentLocation(),n,n)}a.listen(function(s){r.apps.forEach(function(i){i._route=s})})}};Qe.prototype.beforeEach=function(e){return Ou(this.beforeHooks,e)};Qe.prototype.beforeResolve=function(e){return Ou(this.resolveHooks,e)};Qe.prototype.afterEach=function(e){return Ou(this.afterHooks,e)};Qe.prototype.onReady=function(e,r){this.history.onReady(e,r)};Qe.prototype.onError=function(e){this.history.onError(e)};Qe.prototype.push=function(e,r,a){var o=this;if(!r&&!a&&typeof Promise<"u")return new Promise(function(n,s){o.history.push(e,n,s)});this.history.push(e,r,a)};Qe.prototype.replace=function(e,r,a){var o=this;if(!r&&!a&&typeof Promise<"u")return new Promise(function(n,s){o.history.replace(e,n,s)});this.history.replace(e,r,a)};Qe.prototype.go=function(e){this.history.go(e)};Qe.prototype.back=function(){this.go(-1)};Qe.prototype.forward=function(){this.go(1)};Qe.prototype.getMatchedComponents=function(e){var r=e?e.matched?e:this.resolve(e).route:this.currentRoute;return r?[].concat.apply([],r.matched.map(function(a){return Object.keys(a.components).map(function(o){return a.components[o]})})):[]};Qe.prototype.resolve=function(e,r,a){r=r||this.history.current;var o=Su(e,r,a,this),n=this.match(o,r),s=n.redirectedFrom||n.fullPath,i=this.history.base,c=XO(i,s,this.mode);return{location:o,route:n,href:c,normalizedTo:o,resolved:n}};Qe.prototype.getRoutes=function(){return this.matcher.getRoutes()};Qe.prototype.addRoute=function(e,r){this.matcher.addRoute(e,r),this.history.current!==va&&this.history.transitionTo(this.history.getCurrentLocation())};Qe.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==va&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(Qe.prototype,xh);var Ph=Qe;function Ou(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function XO(t,e,r){var a=r==="hash"?"#"+e:e;return t?ca(t+"/"+a):a}Qe.install=xc;Qe.version="3.6.5";Qe.isNavigationFailure=ni;Qe.NavigationFailureType=Xa;Qe.START_LOCATION=va;uo&&window.Vue&&window.Vue.use(Qe);const eE={name:"PortalHomeInfo"};var tE=function(){var e=this,r=e._self._c;return r("div",{staticClass:"info"},[r("h1",[e._v("Seja bem-vindo(a) ao Portal de Serviços Computacionais da USP!")]),r("h5",[e._v(" Com o Portal de Serviços Computacionais da USP, você pode acessar todos os serviços acadêmicos e administrativos oferecidos pela universidade de um jeito mais simples, rápido e intuitivo. ")]),r("div",{staticClass:"acoes"},[r("uspLink",{staticClass:"mr-2",attrs:{texto:"Faça um tour pelo novo portal",variante:"aviso",destino:"https://www.youtube.com/watch?v=nMLsFwSd9R8","nova-guia":"",role:"button"}}),r("uspLink",{attrs:{texto:"Tire suas dúvidas",variante:"claro",contorno:"",destino:"https://atendimentosti.usp.br/","nova-guia":"",role:"button"}})],1)])},rE=[],aE=ce(eE,tE,rE,!1,null,null);const nE=aE.exports,oE={name:"UspModal",props:{titulo:{type:String,required:!0},maxWidth:{type:String,default:""},maxHeight:{type:String,default:""},mostrar:{type:Boolean,default:!1}},data(){return{showModal:!1}},computed:{cssVars(){return{"--max-width":this.maxWidth||"500px","--max-height":this.maxHeight||"auto"}}},methods:{openModal(){this.showModal=!0},closeModal(){this.showModal=!1,this.$emit("fechar")},submitAndClose(){Ze.info("")}}};var sE=function(){var e=this,r=e._self._c;return e.showModal||e.mostrar?r("transition",{attrs:{name:"modal"}},[r("div",{staticClass:"modal modal-mask",staticStyle:{display:"block"}},[r("div",{staticClass:"modal-dialog",style:e.cssVars,attrs:{role:"document",tabindex:"0"},on:{keydown:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"esc",27,a.key,["Esc","Escape"])?null:e.closeModal()}}},[r("div",{staticClass:"modal-content"},[r("div",{staticClass:"modal-header"},[r("h5",{staticClass:"modal-title"},[e._t("header"),e._v(" "+e._s(e.titulo)+" ")],2),r("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"},on:{click:function(a){return e.closeModal()}}},[r("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),r("div",{staticClass:"modal-body"},[e._t("body")],2),r("div",{staticClass:"modal-footer"},[e._t("footer")],2)])])])]):e._e()},iE=[],cE=ce(oE,sE,iE,!1,null,"8a129b8f");const Nh=cE.exports,uE={primeiroAcesso:"Primeiro acesso",esqueciSenha:"Esqueci minha senha"};function zd(){return{titulo:"",tipo:"",usuario:"",email:"",carregando:!1,enviadoComSucesso:!1,msgBotaoFechar:"Cancelar",alert:{variant:"perigo",message:""}}}const lE={name:"PortalHomeSolicitarSenha",components:{uspModal:Nh},data(){return zd()},methods:{abrirModal(t){const e=this;Object.assign(e.$data,zd()),e.titulo=uE[t],e.tipo=t,e.$refs.UspModal.openModal()},solicitarSenha(){const t=this;t.carregando=!0,t.$recaptcha("login").then(e=>{t.$store.dispatch(`auth/${t.tipo}`,{usuario:{codpes:t.usuario,senusu:t.email},token:e}).then(r=>{t.alert.message=r.mensagem,t.alert.variant="sucesso",t.enviadoComSucesso=!0,t.msgBotaoFechar="Fechar"}).catch(r=>{t.alert.message=r.mensagem,t.alert.variant="perigo"}).finally(()=>t.carregando=!1)})}}};var dE=function(){var e=this,r=e._self._c;return r("uspModal",{ref:"UspModal",attrs:{titulo:e.titulo}},[r("template",{slot:"body"},[r("form",[r("div",{staticClass:"form-group row"},[r("div",{staticClass:"col-12"},[r("uspAlerta",{directives:[{name:"show",rawName:"v-show",value:!!e.alert.message,expression:"!!alert.message"}],attrs:{variante:e.alert.variant}},[r("span",{domProps:{innerHTML:e._s(e.alert.message)}})])],1),r("div",{staticClass:"col-12"},[r("label",{staticClass:"sr-only",attrs:{for:"usuario"}},[e._v("Usuário / Número USP")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.usuario,expression:"usuario"}],staticClass:"form-control",attrs:{placeholder:"Número USP",type:"text",required:"required",disabled:e.carregando},domProps:{value:e.usuario},on:{input:function(a){a.target.composing||(e.usuario=a.target.value)}}})])]),r("div",{staticClass:"form-group row"},[r("div",{staticClass:"col-12"},[r("label",{staticClass:"sr-only",attrs:{for:"email"}},[e._v("E-mail")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"form-control",attrs:{placeholder:"seuemail@exemplo.com",type:"email",required:"required",disabled:e.carregando},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}})])])])]),r("template",{slot:"footer"},[r("button",{staticClass:"btn btn-outline-danger",attrs:{disabled:e.carregando},on:{click:()=>this.$refs.UspModal.closeModal()}},[e._v(e._s(e.msgBotaoFechar))]),r("button",{staticClass:"btn btn-success",attrs:{disabled:e.enviadoComSucesso},on:{click:function(a){return e.solicitarSenha()}}},[e.carregando?r("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}},[r("span",{staticClass:"sr-only"},[e._v("Loading...")])]):e._e(),e._v(" Solicitar senha ")])])],2)},fE=[],pE=ce(lE,dE,fE,!1,null,null);const hE=pE.exports,mE={name:"PortalHomeLogin",components:{PortalHomeSolicitarSenha:hE},data(){return{carregando:!1,erro:"",msgErroDefault:"Ocorreu um erro ao logar. Por favor, tente novamente mais tarde",nusp:"",senha:""}},computed:{...St({redirect:"auth/redirect"}),valido(){return this.validoUsuario&&this.validoSenha},validoUsuario(){return(this.nusp||"").length>=5},validoSenha(){return(this.senha||"").length>=8}},methods:{...nr({autenticar:"auth/autenticar"}),logar(){const t=this,e=localStorage.getItem(pr.AUTH.REDIRECT);t.carregando=!0,t.$recaptcha("login").then(r=>{this.autenticar({usuario:{codpes:t.nusp,senusu:t.senha},token:r}).then(()=>{e?(t.$router.push(e),localStorage.removeItem(pr.AUTH.REDIRECT)):t.$router.push({name:"servicos"})}).catch(a=>t.erro=a.mensagem).finally(()=>t.carregando=!1)}).catch(r=>t.erro=t.msgErroDefault)}}};var vE=function(){var e=this,r=e._self._c;return r("div",[r("PortalHomeSolicitarSenha",{ref:"SolicitarSenha"}),r("uspCartao",{attrs:{titulo:"Login"},scopedSlots:e._u([{key:"corpo",fn:function(){return[r("uspAlerta",{directives:[{name:"show",rawName:"v-show",value:!!e.erro,expression:"!!erro"}],attrs:{variante:"perigo",fechavel:""}},[e._v(" "+e._s(e.erro)+" ")]),r("form",{attrs:{novalidate:""},on:{submit:function(a){return a.preventDefault(),e.logar.apply(null,arguments)}}},[r("div",{staticClass:"form-group"},[r("label",{staticClass:"sr-only",attrs:{for:"codpes"}},[e._v(" Usuário / Número USP ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.nusp,expression:"nusp"}],staticClass:"form-control",attrs:{type:"text",name:"codpes",autocomplete:"username",placeholder:"Número USP"},domProps:{value:e.nusp},on:{input:function(a){a.target.composing||(e.nusp=a.target.value)}}})]),r("div",{staticClass:"form-group"},[r("label",{staticClass:"sr-only",attrs:{for:"senusu"}},[e._v(" Senha ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.senha,expression:"senha"}],staticClass:"form-control",attrs:{type:"password",name:"senusu",autocomplete:"current-password",placeholder:"Senha"},domProps:{value:e.senha},on:{input:function(a){a.target.composing||(e.senha=a.target.value)}}})]),r("uspBotao",{staticClass:"btn btn-primary btn-block mb-2",attrs:{type:"submit",disabled:e.carregando||!e.valido,texto:"Acessar minha conta"}},[e.carregando?r("span",{staticClass:"spinner-border",attrs:{role:"status","aria-hidden":"true"}}):e._e()]),r("nav",{staticClass:"nav d-flex justify-content-between"},[r("a",{staticClass:"nav-link",attrs:{href:"https://id.usp.br/primeiro-acesso",target:"_blank"}},[e._v(" Primeiro Acesso ")]),r("a",{staticClass:"nav-link",attrs:{href:"https://id.usp.br/senha-unica",target:"_blank"}},[e._v(" Esqueci minha senha ")])])],1)]},proxy:!0}])})],1)},gE=[],bE=ce(mE,vE,gE,!1,null,"e1663df1");const _E=bE.exports,AE={name:"PortalHomeSobre"};var SE=function(){var e=this,r=e._self._c;return r("uspCartao",{attrs:{titulo:"Conheça o novo portal de serviços computacionais da USP"}},[r("template",{slot:"corpo"},[r("div",{staticClass:"usp-capa"},[r("router-link",{attrs:{to:{name:"saiba"}}},[r("img",{staticClass:"img-fluid",attrs:{src:"//i3.ytimg.com/vi/T1TdFNj09A4/maxresdefault.jpg"}}),r("span",{staticClass:"usp-tag"},[e._v("Novidade")]),r("h4",[e._v("Conheça o novo portal de serviços computacionais da USP")])])],1),r("ul",{staticClass:"usp-links"},[r("li",{staticClass:"header"},[e._v("SAIBA MAIS")]),r("li",[r("router-link",{attrs:{to:{name:"saiba",hash:"#onde-sistemas"}}},[r("i",{staticClass:"fas fa-question"}),e._v(" Onde estão os sistemas Júpiter, Janus, Mercúrio e Marte? ")])],1),r("li",[r("router-link",{attrs:{to:{name:"saiba",hash:"#o-que-sao"}}},[r("i",{staticClass:"fas fa-question"}),e._v(" O que são os serviços computacionais da USP? ")])],1),r("li",[r("router-link",{attrs:{to:{name:"saiba",hash:"#mobile"}}},[r("i",{staticClass:"fas fa-question"}),e._v(" O portal de serviços funciona no meu dispositivo móvel? ")])],1),r("li",[r("router-link",{attrs:{to:{name:"saiba",hash:"#quem-pode"}}},[r("i",{staticClass:"fas fa-question"}),e._v(" Quem pode ter acesso ao portal de serviços? ")])],1)])])],2)},yE=[],OE=ce(AE,SE,yE,!1,null,null);const EE=OE.exports,CE={name:"PortalHomeSTI"};var RE=function(){var e=this,r=e._self._c;return r("uspCartao",{attrs:{titulo:"Superintendência de Tecnologia da Informação"}},[r("template",{slot:"corpo"},[r("div",{staticClass:"usp-capa"},[r("a",{attrs:{href:"https://www.sti.usp.br"}},[r("img",{staticClass:"img-fluid",attrs:{src:"https://jornal.usp.br/wp-content/uploads/20180221_00_aplicativo_guia_usp2.jpg"}}),r("span",{staticClass:"usp-tag"},[e._v("TI NA USP")]),r("h4",[e._v(" Conheça a Superintendência de Tecnologia da Informação ")])])]),r("ul",{staticClass:"usp-links"},[r("li",{staticClass:"header"},[e._v("SAIBA MAIS")]),r("li",[r("a",{attrs:{href:"https://atendimentosti.usp.br/",target:"blank"}},[r("i",{staticClass:"fas fa-at"}),e._v(" Como abrir um chamado para a STI? ")])]),r("li",[r("a",{attrs:{href:"https://atendimentosti.usp.br/otrs/public.pl?Action=PublicFAQZoom;ItemID=272",target:"blank"}},[r("i",{staticClass:"fas fa-at"}),e._v(" Como enviar e-mail USP criptografado? ")])]),r("li",[r("a",{attrs:{href:"https://atendimentosti.usp.br/otrs/public.pl?Action=PublicFAQZoom;ItemID=315",target:"blank"}},[r("i",{staticClass:"fas fa-at"}),e._v(" Roaming internacional - Linhas USP ")])]),r("li",[r("a",{attrs:{href:"https://atendimentosti.usp.br/otrs/public.pl?Action=PublicFAQZoom;ItemID=14",target:"blank"}},[r("i",{staticClass:"fas fa-at"}),e._v(" Como conectar na VPN USP? ")])])])])],2)},wE=[],TE=ce(CE,RE,wE,!1,null,null);const DE=TE.exports,xE={components:{PortalHomeInfo:nE,PortalHomeLogin:_E,PortalHomeSobre:EE,PortalHomeSTI:DE},computed:{...St({autenticado:"auth/autenticado"})},mounted(){this.autenticado&&this.$router.push({name:"servicos"})}};var PE=function(){var e=this,r=e._self._c;return r("section",[r("portal",{attrs:{selector:"#portal-cabecalho"}},[e.autenticado?e._e():r("div",{staticClass:"container-fluid"},[r("div",{staticClass:"boas-vindas row"},[r("div",{staticClass:"col-lg-6"},[r("PortalHomeInfo")],1),r("div",{staticClass:"col-lg-4 offset-lg-2"},[r("PortalHomeLogin")],1)])])]),r("section",{staticClass:"portal-usp-cards-publicos"},[r("div",{staticClass:"container-fluid"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-12 col-sm-6 col-lg-6"},[r("PortalHomeSobre")],1),r("div",{staticClass:"col-12 col-sm-6 col-lg-6"},[r("PortalHomeSTI")],1)])])])],1)},NE=[],IE=ce(xE,PE,NE,!1,null,null);const $E=IE.exports,Pa={EXTRA_SMALL:"TAMANHO_EXTRA_SMALL",SMALL:"TAMANHO_SMALL",MEDIUM:"TAMANHO_MEDIUM",LARGE:"TAMANHO_LARGE",EXTRA_LARGE:"TAMANHO_EXTRA_LARGE"},ME={[Pa.EXTRA_SMALL]:{inicio:0,fim:576},[Pa.SMALL]:{inicio:576,fim:768},[Pa.MEDIUM]:{inicio:768,fim:992},[Pa.LARGE]:{inicio:992,fim:1200},[Pa.EXTRA_LARGE]:{inicio:1200,fim:1/0}},kE={data(){return{window:{width:0,height:0,tamanho:""}}},mounted(){console.log("iniciando mixin"),window.addEventListener("resize",this.handleResize),this.handleResize()},unmounted(){console.log("desmontando mixin"),window.removeEventListener("resize",this.handleResize)},methods:{handleResize(){let t=window.innerWidth,e=window.innerHeight,r="";Object.entries(ME).forEach(a=>{t=a[1].inicio&&(r=a[0])}),this.window={width:t,height:e,tamanho:r},console.log("Resize feito",t,e,r)}}},Gd="PORTAL-PERFIS";class UE{constructor(){this._perfis=JSON.parse(localStorage.getItem(Gd)||"{}")}escolher(e){if(!e||(e.perfis||[]).length===0)return Ze.debug(`Objetoweb ${e==null?void 0:e.objetoweb} da área ${e==null?void 0:e.codigoArea} não possui perfis para escolha!`),{};let r=this._perfis[e.codigoArea],a=e.perfis.find(o=>o.nivel==r);return a?Ze.debug(`Escolhido perfil ${a.nivel} do objetoweb ${e.objetoweb} da área ${e.codigoArea}`):(a=e.perfis.find(o=>{var n;return o.nivel===((n=e.perfilPadrao)==null?void 0:n.nivel)}),a?Ze.debug(`Retornando o perfil padrão ${a.nivel} do objetoweb ${e.objetoweb} da área ${e.codigoArea}`):(a=e.perfis[0]||{},Ze.debug(`Retornando o primeiro perfil ${a.nivel} do objetoweb ${e.objetoweb} da área ${e.codigoArea}`))),a}trocar(e){this._perfis[e.codigoArea]=e.nivel,localStorage.setItem(Gd,JSON.stringify(this._perfis))}}const LE={name:"UspSidebarItemMenu",props:{item:{type:Object,required:!0},nivel:{type:Number,default:0}},data(){return{ativo:!1}},computed:{tipoComponente(){return this.item.router?"router-link":"a"},linkRouter(){return this.item.router?this.item.url:null},iconeLink(){return this.item.icone},targetLink(){return this.item.router?null:"_blank"},linkAparente(){return this.item.url},classeLink(){return"nav-link "+(this.temFilhos?"nav-link-treeview":"")+(this.ativo?" caret-down":"")},temFilhos(){var t;return!!((t=this.item.filhos)!=null&&t.length)},iconeArvore(){return this.ativo?"right fas fa-angle-down":"right fas fa-angle-right"},target(){return this.item.linkExterno?"_blank":"_self"}},methods:{ativarLink(t){this.temFilhos&&(t.preventDefault(),this.ativo=!this.ativo)}}};var FE=function(){var e=this,r=e._self._c;return r("div",{class:{"menu-item":!0,"nav-item":!0,active:e.ativo}},[r(e.tipoComponente,{tag:"component",class:e.classeLink,attrs:{to:e.linkRouter,href:e.linkAparente,target:e.targetLink},on:{click:e.ativarLink}},[e.item.icone?r("em",{staticClass:"nav-icon",class:e.iconeLink}):e._e(),r("p",{class:{"texto-arvore":!0,titulo:e.nivel===0}},[e._v(" "+e._s(e.item.titulo)+" "),e.item.subtitulo?r("small",[e._v(" "+e._s(e.item.subtitulo)+" ")]):e._e(),e.temFilhos?r("em",{staticClass:"nav-icon icone-arvore",class:e.iconeArvore}):e._e()])]),e.temFilhos?r("div",{staticClass:"nested",class:{active:e.ativo}},e._l(e.item.filhos,function(a){return r("UspSidebarItemMenu",{key:a.codigo,attrs:{item:a,nivel:e.nivel+1}})}),1):e._e()],1)},jE=[],VE=ce(LE,FE,jE,!1,null,"f7224f3c");const Ih=VE.exports,BE={name:"UspSidebar",components:{uspSidebarItemMenu:Ih},props:{carregando:{type:Boolean,default:!1},itens:{type:Array,default:()=>[]},topOffset:{type:String,default:"0"}},computed:{alturaCalculada(){return`calc(100vh - ${this.topOffset})`}},methods:{alternarBarraLateral(){this.$emit("alternarBarraLateral")}}};var zE=function(){var e=this,r=e._self._c;return r("div",{staticClass:"usp-side-bar-container"},[r("nav",{staticClass:"usp-side-bar",style:{top:e.topOffset,height:e.alturaCalculada}},[e.carregando?r("uspSkeleton",{attrs:{quantidade:20}}):r("div",{staticClass:"menu-group nav nav-pills nav-sidebar flex-column",attrs:{role:"menu"}},e._l(e.itens,function(a){return r("uspSidebarItemMenu",{key:a.codigo,attrs:{item:a}})}),1)],1),r("div",{staticClass:"overlay",on:{click:e.alternarBarraLateral}})])},GE=[],qE=ce(BE,zE,GE,!1,null,"09d13ded");const HE=qE.exports;class xr{constructor(e="",r="",a="",o="",n=!0,s="",i=[]){this.codigo=e,this.titulo=r,this.subtitulo=a,this.url=o,this.router=n,this.icone=s,this.filhos=i}}const Eu=["portalservicos.usp.br","uspdigital.usp.br"],Zn=t=>{try{const e=new URL(t,"http://dummy-base"),r=e.hostname,a=e.pathname;for(const o of Eu)if(r.endsWith(o))return a}catch{}return t},YE=(t,e)=>t.stapai==="S"?`/servicos/${e}/`:Eu.filter(r=>(t.nomobtweb||"").indexOf(r)!==-1).length>0?Zn(t.nomobtweb):`/servicos/${e}/${t.nomobtweb}${t.pmeobtweb?"?"+t.pmeobtweb:""}`;class Br{constructor(e,r,a,o,n,s,i,c,u){this.codigo=e,this.sistema=r,this.tipo=a,this.tipoNavegacao=o,this.titulo=n,this.arvore=u,this.ePortal=Eu.filter(l=>(s||"").indexOf(l)!==-1).length>0||o==="P",this.objetoweb=s,this.parametros=i,this.url=c||Zn(s)||"",this.filhos=[]}eExterno(){return(this.url||"").indexOf("://")!==-1&&!this.ePortal}ePai(){return this.filhos.length>0}setObjetoweb(e){this.objetoweb=this.ePortal&&e?`/${this.arvore.codigo}/${e.substring(e.indexOf("portalservicos.usp.br")+21+1,"")}`:e}toSidebarItemMenu(){return new xr(this.codigo,this.titulo,null,this.url,!this.ePai()&&!this.eExterno(),null,this.filhos.map(e=>e.toSidebarItemMenu()))}static build(e={},r={}){const a=new Br(e.codigo,e.sistema,e.tipo,e.tipoNavegacao,e.titulo,e.objetoweb,e.parametros,e.url,r);return a.filhos=e.filhos.map(o=>Br.build(o,r)),a}static buildLista(e=[],r={}){const a=[],o={};return e.forEach(n=>{const s=new Br(`pvt-${n.codmnu}`,n.nomsis,"N","P",n.elmmnu,Zn(n.nomobtweb),n.pmeobtweb,YE(n,r.codigo),r);n.stapai==="S"&&(o[n.codmnu]=s),n.codmnupai?o[n.codmnupai].filhos.push(s):a.push(s)}),a}}class Ns{constructor(e,r,a,o,n,s,i){this.codigo=e,this.nome=r,this.contexto=a,this.icone=o,this.sistema=n,this.nomeSistema=s,this.navPortal=i,this.subarvores=[],this.publico=[],this.privado=[]}addMenuprivado(e=[]){this.privado.push(...e)}getUrl(){return`/servicos/${this.codigo}/`}temFilho(){return this.subarvores.length>0||this.publico.length>0||this.privado.length>0}toSidebarItemMenu(){const e=this.publico.map(r=>r.toSidebarItemMenu()).concat(this.privado.map(r=>r.toSidebarItemMenu())).concat(this.subarvores.map(r=>r.toSidebarItemMenu()));return new xr(this.codigo,this.nome,this.nomeSistema,this.getUrl(),!1,this.icone,e)}static build(e={}){const r=new Ns(e.codigo,e.nome,e.contexto,e.icone,e.sistema,e.nomeSistema,e.navPortal);return r.subarvores=e.subarvores.map(a=>Ns.build(a)),r.privado=e.privado.map(a=>Br.build(a,r)),r.publico=e.publico.map(a=>Br.build(a,r)),r}}class Xn{constructor(e,r,a,o,n,s,i="",c="",u="",l=""){this.codigo=e,this.codigoArea=r,this.nomeArea=a,this.objetoweb=Zn(i),this.nomeSistema=l,this.parametros=c,this.tipo=u,this.tipoNavegacao=n,this.url=s||Zn(i)||"",this._formatarTitulo(o)}_formatarTitulo(e){const r=e.split(">>");this.titulo=r.pop(),this.tituloPai=r.join(">>"),this.tituloPai&&(this.tituloPai+=" >> ")}eExterno(){return this.objetoweb.indexOf("://")!==-1&&!this.ePortal}static buildFromItem(e){return new Xn(e.codigo,e.arvore.codigo,e.arvore.nome,e.titulo,e.url,e.objetoweb,e.parametros,e.tipo,e.nomeSistema)}static build(e={}){return new Xn(e.codigo,e.codigoArea,e.nomeArea,e.titulo,e.tipoNavegacao,e.url,e.objetoweb,e.parametros,e.tipo,e.nomeSistema)}}class Cu{constructor(e,r,a){this.codigo=e,this.nome=r,this.url=a}toSidebarItemMenu(){return new xr(this.codigo,this.nome,null,this.url,!1,this.getIcone(),[])}getIcone(){switch(this.codigo){case"ifractal":return"fas fa-stopwatch";case"edisciplinas":return"fas fa-book-open";case"gedweb":return"fas fa-book-reader";default:return"fas fa-angle-right"}}static build(e={}){return new Cu(e.codigo,e.nome,e.url)}}class Bn{constructor(e=[],r=[],a=[]){this.arvores=e,this.busca=r,this.externo=a}static build(e={}){const r=e.menu.map(n=>Ns.build(n)),a=e.busca.map(n=>Xn.build(n)),o=e.externo.map(n=>Cu.build(n));return new Bn(r,a,o)}}class Is{constructor(e,r,a){this.nivel=e,this.nome=r,this.codigoArea=a}static build(e={}){return new Is(e.nivel,e.nome,e.codigoArea)}}class $s{constructor(e,r,a,o,n,s,i,c){this.codigoArea=e,this.nomeArea=r,this.objetoweb=o,this.contexto=a,this.perfilPadrao=n,this.sistema=i,this.nomeSistema=c,this.perfis=s||[]}ePublico(){return!this.perfis||this.perfis.length===0}static build(e={}){return new $s(e.codigoArea,e.nomeArea,e.contexto,e.objetoweb,e.perfilPadrao?Is.build(e.perfilPadrao):void 0,e.perfis.map(r=>Is.build(r)),e.sistema,e.nomeSistema)}}class $h extends Ir{obterNavegacaoJanus(e){return this.get("/listarMenuUsuario",{},{baseURL:"/janus"}).then(a=>Br.buildLista(a,e))}obterNavegacaoPublica(){return this.get("/wsportal/navegacao/publica").then(r=>Bn.build(r))}obterNavegacaoPrivadaPedroweb(){return this.get("/wsportal/navegacao/privada").then(e=>Bn.build(e))}async obterNavegacaoPrivadaJanus(){return await this.get("listarMenuUsuario",{},{baseURL:"/janus"})}obterNavegacaoPrivada(){const e=this;return Promise.all([e.get("/wsportal/navegacao/privada").then(r=>Bn.build(r)),e.get("listarMenuUsuario",{},{baseURL:"/janus"})]).then(r=>{if(r[1]&&r[1].length>0){const a=r[0].arvores.find(n=>n.codigo==="pos-graduacao"),o=Br.buildLista(r[1],a);a.addMenuprivado(o)}return r[0]})}obterNavegacaoObjetoArea(e,r,a){const o=this;return o.get(`/wsportal/navegacao/objeto/${a?"autenticado":"publico"}/area/${r}/${o._escapeObjetoweb(e)}`).then(n=>$s.build(n))}obterNavegacaoObjetoLegado(e,r,a){const o=this;return o.get(`/wsportal/navegacao/objeto/${a?"autenticado":"publico"}/contexto/${r}/${o._escapeObjetoweb(e)}`).then(n=>$s.build(n))}obterSessaoJanus(){return this.get("/",{},{baseURL:"/janus"})}_escapeObjetoweb(e){return(e||"").replace(".jsp","_jsp").replace(".jsf","_jsf").replaceAll("/","--")}}const WE={name:"PortalLegado",mixins:[kE],data(){return{api:$h.build({}),carregando:!0,gerenciador:new UE,objetoweb:{},perfilAtual:{},refPortal:window.location.origin,timeout:2e4,timeoutCarregar:null,tipoNavegacao:null,url:""}},computed:{...St({autenticado:"auth/autenticado"}),chaveCache(){return`${this.objetoweb.codigoArea}:${this.objetoweb.objetoweb}`},outrosPerfis(){var e;const t=this;return(e=t.objetoweb)!=null&&e.perfis&&t.objetoweb.perfis.length>0?t.objetoweb.perfis.filter(r=>r.nivel!==t.perfilAtual.nivel):[]},parametros(){const t=this.$route.query;let e="";for(let r in t)e+=`${r}=${t[r]}&`;return e.endsWith("&")&&(e=e.substring(0,e.length-1)),e},publico(){var t;return!((t=this.objetoweb)!=null&&t.perfis)||this.objetoweb.perfis.length===0},titulo(){return this.objetoweb.nomeArea?`${this.objetoweb.nomeArea}`:"Carregando..."},sistema(){return this.objetoweb.nomeSistema?`${this.objetoweb.nomeSistema}`:""},alinhamentoDrop(){return[Pa.EXTRA_SMALL,Pa.SMALL].includes(this.window.tamanho)?"centro":"direita"}},watch:{$route(){this.tipoNavegacao!==qi?(this.$logger.info(`Tratando a troca de rota ${this.tipoNavegacao||Cd}`),this.tratarNavegacaoPortal()):(this.$logger.info("Descarregando após troca de rota!"),this.descarregar())}},created(){window.addEventListener("message",this.processarMensagemIframe)},unmounted(){window.removeEventListener("message",this.processarMensagemIframe)},mounted(){this.tratarNavegacaoPortal()},methods:{...nr({carregarObjetowebLegado:it.NAVEGACAO.CARREGAR_OBJETOWEB_LEGADO,carregarObjetowebArea:it.NAVEGACAO.CARREGAR_OBJETOWEB_AREA}),ativarPerfil(t){this.$logger.info(`Trocando perfil para ${t.nivel} - ${t.nome}`),this.perfilAtual=t,this.gerenciador.trocar(t),this.tipoNavegacao=Rd,this.url=this.construirUrl()},cancelarTimeout(){this.timeoutCarregar&&clearTimeout(this.timeoutCarregar)},carregar(){this.carregando=!0,this.cancelarTimeout(),this.iniciarTimeout()},construirRota(t,e){return`/servicos/${t.codigoArea}/${t.objetoweb}${e?"?"+e:""}`},construirUrl(){const t=new URL(`${window.location.origin}/${this.objetoweb.contexto}/`);let e=this.parametros;return e.indexOf("ref-portal")===-1&&(e+=`&ref-portal=${this.refPortal}`),this.publico?(t.pathname+=this.objetoweb.objetoweb,t.search=e):(t.pathname+="autenticar",this.perfilAtual&&t.searchParams.append("numnivseg",this.perfilAtual.nivel),t.searchParams.append("url_redirect",`${escape(this.objetoweb.objetoweb)}?${e}`)),t.toString()===this.url&&t.searchParams.append("v",Date.now()),t.toString()},descarregar(){this.cancelarTimeout(),this.carregando=!1,this.tipoNavegacao=null},iniciarTimeout(){const t=this;t.timeoutCarregar=setTimeout(()=>{t.carregando&&(t.descarregar(),t.$logger.error(`Timeout ao tentar otimizar o caminho ${t.$route.fullPath}`))},t.timeout)},processarMensagemIframe(t){const e=this;typeof t.data=="object"&&(t.data.id==="PAGINA_LEGADA_CARREGADA"?e.tipoNavegacao===qi?(e.$logger.info("Página carregada por navegação legada e otimizada com sucesso!"),e.tratarNavegacaoLegado(t.data.url,t.data.contexto)):e.tipoNavegacao===wd?(e.$logger.info("Página recarregada na troca do perfil do Janus, recarregando iFrame"),e.url=e.construirUrl(),e.tipoNavegacao=null):(e.$logger.info("Página carregada por navegação do portal e otimizada com sucesso!"),e.descarregar()):t.data.id==="PAGINA_LEGADA_NAVEGACAO"?e.tipoNavegacao?e.tipoNavegacao===Rd&&(e.$logger.info("Evento de navegação por troca de perfil"),e.carregar()):(e.$logger.info("Evento de navegação legada capturado com sucesso!"),e.tipoNavegacao=qi,e.carregar()):t.data.id==="PORTAL_PERFIL_TROCADO"&&(e.$logger.info("Troca de menu do janus"),e.tipoNavegacao=wd,e.$emit("trocaMenuJanus")))},testarArquivo(t){let e=t.split("/").pop(),r=e.indexOf(".");return r>-1&&e.substring(r)!==".jsp"&&e.substring(r)!==".jsf"},tratarNavegacaoLegado(t,e){const r=this;r.$logger.info(`Tratando navegação interna do legado na url ${t} e no contexto ${e}`),r.carregarObjetowebLegado({objeto:t.split("?")[0],contexto:e,auth:r.autenticado}).then(a=>{let o=unescape(r.$route.fullPath),n=r.construirRota(a,t.split("?")[1]);n!==o?(r.$logger.info(`Atualizando rota ${o} para ${n} e ${this.tipoNavegacao}`),r.$router.push(n)):r.descarregar(),r.objetoweb=a,r.perfilAtual=r.gerenciador.escolher(a)})},tratarNavegacaoPortal(){const t=this,e=this.$route.fullPath.replace("/servicos/",""),r=e.indexOf("/"),a=e.substring(0,r),o=e.substring(r+1).split("?")[0];t.$logger.info(`Processando navegação do Portal na area ${a} e objeto ${o}`),t.tipoNavegacao=Cd,t.carregarObjetowebArea({objeto:o,area:a,auth:t.autenticado}).then(n=>{t.$logger.info("Retornado objetoweb, construindo a URL do Legado"),t.objetoweb=n,t.perfilAtual=t.gerenciador.escolher(n),t.url=t.construirUrl()}),this.carregar()},validarIframeCarregado(){this.testarArquivo(window.location.pathname)&&this.descarregar()}}};var JE=function(){var e=this,r=e._self._c;return r("section",[r("div",{staticClass:"container-fluid"},[r("div",{staticClass:"card"},[r("div",{staticClass:"card-header"},[r("div",{staticClass:"sistemas"},[r("h5",[e._v(e._s(e.titulo))]),r("span",{staticClass:"sistema"},[e._v(e._s(e.sistema))])]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.publico,expression:"!publico"}],staticClass:"perfis"},[r("uspDropdown",{attrs:{id:"legado-perfis-dropdown",variante:"primario",contorno:!0,alinhamento:e.alinhamentoDrop},scopedSlots:e._u([{key:"conteudo",fn:function(){return[r("span",{staticClass:"texto"},[r("em",{staticClass:"fas fa-sm fa-user-tag"}),e._v(" Perfil: "+e._s(e.perfilAtual.nivel)+" - "+e._s(e.perfilAtual.nome)+" ")])]},proxy:!0},{key:"itens",fn:function(){return[e.outrosPerfis.length==0?r("h6",{staticClass:"dropdown-header"},[e._v(" Não há outros perfis ")]):e._e(),e.outrosPerfis.length>0?r("h6",{staticClass:"dropdown-header"},[e._v(" Outros Perfis ")]):e._e(),e._l(e.outrosPerfis,function(a){return r("button",{key:a.numero,staticClass:"dropdown-item",attrs:{type:"button"},on:{click:function(o){return e.ativarPerfil(a)}}},[e._v(" "+e._s(a.nivel)+" - "+e._s(a.nome)+" ")])})]},proxy:!0}])})],1)]),r("div",{staticClass:"card-body"},[r("iframe",{staticClass:"iframe-legado body-filho",attrs:{src:e.url,title:"Iframe de páginas legadas"},on:{load:e.validarIframeCarregado}}),r("div",{directives:[{name:"show",rawName:"v-show",value:e.carregando,expression:"carregando"}],staticClass:"legado-loader body-filho"},[r("h5",[e._v("Otimizando visualização para o portal...")]),r("div",{staticClass:"spinner"})])])])])])},QE=[],KE=ce(WE,JE,QE,!1,null,"826dfe65");const ZE=KE.exports,XE={};var eC=function(){var e=this;return e._self._c,e._m(0)},tC=[function(){var t=this,e=t._self._c;return e("section",[e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-header"},[e("h5",{staticClass:"float-left"},[t._v("Conheça o novo portal de serviços computacionais da USP")])]),e("div",{staticClass:"card-body"},[e("article",[e("h4",{attrs:{id:"onde-sistemas"}},[t._v("Onde estão os sistemas Júpiter, Janus, Mercúrio e Marte?")]),e("p",[t._v(" Os sistemas corporativos representados por seu conjunto de deuses, agora estão se transformando em serviços computacionais. Todos esses serviços estão separados por duas grandes áreas de atuação acadêmica e administrativa da USP, conforme o seguinte quadro. ")]),e("table",{staticClass:"table table-striped"},[e("tbody",[e("tr",[e("th",{attrs:{scope:"col"}},[e("em",[t._v("Sistemas Corporativos")])]),e("th",{attrs:{scope:"col"}},[e("em",[t._v("Área Acadêmica")])])]),e("tr",[e("td",[e("strong",[t._v("Jupiterweb")])]),e("td",[t._v(" Graduação ")])]),e("tr",[e("td",[e("strong",[t._v("Janus, Tede, Tede Vídeos")])]),e("td",[t._v(" Pós Graduação ")])]),e("tr",[e("td",[e("strong",[t._v("Atena, SIICUSP, Especialistas")])]),e("td",[t._v(" Pesquisa ")])]),e("tr",[e("td",[e("strong",[t._v("Apolo")])]),e("td",[t._v(" Cultura e Extensão ")])]),e("tr",[e("td",[e("strong",[t._v("Mundus")])]),e("td",[t._v(" Relações Internacionais ")])]),e("tr",[e("td",[e("em",[t._v("Sistemas Corporativos")])]),e("td",[e("em",[t._v("Área Administrativa")])])]),e("tr",[e("td",[e("strong",[t._v("Rucard")])]),e("td",[t._v(" Restaurante Universitário ")])]),e("tr",[e("td",[e("strong",[t._v("DataUSP, Alumni, Anuário, Tycho, WerUSP PG, WerUSP")])]),e("td",[t._v(" Indicadores USP ")])]),e("tr",[e("td",[e("strong",[t._v("Painel do Gestor")])]),e("td",[t._v(" Controle Orçamentário ")])]),e("tr",[e("td",[e("strong",[t._v("Administrativo, Proteos, Convênios (Novo), Contratos, Urania")])]),e("td",[t._v(" Administrativo ")])]),e("tr",[e("td",[e("strong",[t._v("Marteweb, USP Oportunidades")])]),e("td",[t._v(" Recursos Humanos ")])]),e("tr",[e("td",[e("strong",[t._v("Mercurioweb, Patrimônio, Licitações, Juno")])]),e("td",[t._v(" Financeiro ")])]),e("tr",[e("td",[e("strong",[t._v("Adm. Docente, Aval. Docente, Telefonia, Diplomas, Prefeitura")])]),e("td",[t._v(" Órgão Central ")])]),e("tr",[e("td",[e("strong",[t._v("Autentusp")])]),e("td",[t._v(" Autenticação Digital ")])]),e("tr",[e("td",[e("strong",[t._v("Nereu")])]),e("td",[t._v(" Pauta Eletrônica ")])])])])]),e("article",{attrs:{id:"o-que-sao"}},[e("h4",[t._v("O que são os serviços computacionais da USP?")]),e("p",[t._v(" Serviços computacionais da USP são funcionalidades operacionais disponibilizada em formato digital para apoio às atividades acadêmicas ou administrativas dos alunos, servidores e professores. ")])]),e("article",{attrs:{id:"mobile"}},[e("h4",[t._v("O portal de serviços funciona no meu dispositivo móvel?")]),e("p",[t._v(" Sim, o portal de serviços computacionais da USP funciona em qualquer dispositivo móvel, ajustando as funcionalidades ao tamanho da tela que está utilizando no momento. É oportuno ressaltar que, na fase de implantação inicial do portal, para algumas versões dos dispositivos móveis, algumas telas poderão apresentar restrições de visualização. Entretanto, isso não implicará na perda da funcionalidade. ")])]),e("article",{attrs:{id:"quem-pode"}},[e("h4",[t._v("Quem pode ter acesso ao portal de serviços?")]),e("p",[t._v(" O portal de serviços está disponível para a comunidade USP: alunos de graduação e pós-graduação, servidores técnicos e administrativos, docentes e alunos pertencentes a programas de cultura e extensão. ")])])])])])])}],rC=ce(XE,eC,tC,!1,null,null);const aC=rC.exports,nC={name:"PortalCardPaginado",props:{acionavel:{type:Boolean,default:!1},acionarTarget:{type:String,default:"_blank"},criadorLinkAcionavel:{type:Function,default:null},fechado:{type:Boolean,default:!1},fechavel:{type:Boolean,default:!1},titulo:{type:String,required:!0},icone:{type:String,default:""},lista:{type:Array,default:()=>[]},mensagem:{type:Object,default:()=>{}},porPagina:{type:Number,default:5}},data(){return{pagina:1}},computed:{paginas(){let t=[],e=[];return t.push(e),this.lista.forEach((r,a)=>{e.push(r),(a+1)%this.porPagina===0&&(e=[],t.push(e))}),t[t.length-1].length===0&&t.pop(),t},paginaAtual(){return this.paginas[this.pagina-1]}},watch:{lista(){this.pagina=1}},methods:{acionar(t,e){this.criadorLinkAcionavel||(t.preventDefault(),this.$emit("acionar",e))},paginar(t){this.pagina=t}}};var oC=function(){var e=this,r=e._self._c;return r("uspCartao",{attrs:{fechado:e.fechado,fechavel:e.fechavel,icone:e.icone,titulo:e.titulo},scopedSlots:e._u([{key:"corpo",fn:function(){return[r("div",{staticClass:"filtros"},[e._t("filtros")],2),e._t("corpo"),e._t("conteudo",function(){return[e.acionavel?r("div",{staticClass:"list-group"},e._l(e.paginaAtual,function(a){return r("a",{key:a.key,staticClass:"list-group-item list-group-item-action",attrs:{href:e.criadorLinkAcionavel?e.criadorLinkAcionavel(a):"#",target:e.acionarTarget},on:{click:function(o){return e.acionar(o,a)}}},[e._t("default",function(){return[e._v(" "+e._s(a.descricao)+" ")]},{item:a})],2)}),0):r("div",{staticClass:"list-group"},e._l(e.paginaAtual,function(a){return r("div",{key:a.key,staticClass:"list-group-item"},[e._t("default",function(){return[e._v(" "+e._s(a.descricao)+" ")]},{item:a})],2)}),0)]})]},proxy:!0},{key:"rodape",fn:function(){return[r("div",{directives:[{name:"show",rawName:"v-show",value:!e.fechado,expression:"!fechado"}],staticClass:"d-flex justify-content-between align-items-center"},[r("div",{staticClass:"float-left"},[r("uspPaginacao",{directives:[{name:"show",rawName:"v-show",value:e.lista.length>0,expression:"lista.length > 0"}],attrs:{icones:!0,tamanho:"pq",paginas:e.paginas.length},on:{paginar:e.paginar}})],1),r("div",{staticClass:"float-right"},[e._t("acoes")],2)])]},proxy:!0}],null,!0)})},sC=[],iC=ce(nC,oC,sC,!1,null,null);const Mh=iC.exports;class oi{constructor(e,r,a,o,n,s,i,c,u,l,f,m){this.codigo=e,this.codigoArea=r,this.nomeArea=a,this.iconeArea=o,this.titulo=n,this.mensagem=s,this.tipoBaixa=i,this.url=c,this.cadastradoEm=u,this.visualizadoEm=l,this.adiadoPara=f,this.adiado=m,this.estendido=!1}getKey(){return`${this.codigo}:${this.codigoArea}`}isAdiado(){return this.adiado}isVisualizado(){return!!this.visualizadoEm}podeAdiar(){return!this.adiado&&this.codigoArea!=="votacao-eletronica"}podeResolver(){return!this.url}podeSeguir(){return!!this.url}static build(e={}){return new oi(e.codigo,e.codigoArea||"",e.nomeArea||"",e.iconeArea||"",e.titulo||"",e.mensagem||"",e.tipoBaixa,e.url,e.cadastradoEm,e.visualizadoEm,e.adiadoPara,e.adiado||!1)}}const cC={name:"PortalTarefasAcoes",props:{tarefa:{required:!0,type:oi}},data(){return{msg:{erro:{titulo:"Erro ao baixar tarefa!"},sucesso:{titulo:"Baixa de tarefa",mensagem:"Tarefa marcada como concluída com sucesso!"}}}},methods:{...nr({baixar:it.NOTIFICACOES.BAIXAR_TAREFA}),...Za({tarefaAdiar:fe.NOTIFICACOES.TAREFA_PARA_ADIAR}),baixarTarefa(t){const e=this;e.baixar(t).then(()=>e.$toast.success(`${this.msg.sucesso.titulo}! ${this.msg.sucesso.mensagem}`)).catch(r=>{e.$toast.error(`${this.msg.erro.titulo}! ${r.mensagem}`),this.$logger.error("Erro ao baixar tarefa: "+r.mensagemDesenvolvedor)})},seguirLinkTarefa(t){let e=t.url;e.indexOf("http")!==-1?window.open(e,"_blank"):(e[0]==="/"&&(e=e.substring(1)),this.$router.push(`/servicos/${t.codigoArea}/${e}`))}}};var uC=function(){var e=this,r=e._self._c;return r("div",{staticClass:"acoes"},[e.tarefa.podeSeguir()?r("button",{staticClass:"btn btn-default btn-sm",attrs:{type:"button","aria-label":"Visualizar tarefa"},on:{click:function(a){return e.seguirLinkTarefa(e.tarefa)}}},[r("i",{staticClass:"fas fa-external-link-alt"})]):e._e(),e.tarefa.podeAdiar()?r("button",{staticClass:"btn btn-default btn-sm",attrs:{type:"button","aria-label":"Adiar tarefa"},on:{click:function(a){return e.tarefaAdiar(e.tarefa)}}},[r("i",{staticClass:"fas fa-stopwatch"})]):e._e(),e.tarefa.podeResolver()?r("button",{staticClass:"btn btn-default btn-sm",attrs:{type:"button","aria-label":"Concluir tarefa"},on:{click:function(a){return e.baixarTarefa(e.tarefa)}}},[r("i",{staticClass:"fas fa-check"})]):e._e()])},lC=[],dC=ce(cC,uC,lC,!1,null,null);const fC=dC.exports,pC="/imgs/usp-tarefas.svg",hC={name:"PortalTarefasCartao",components:{PortalCardPaginado:Mh,PortalTarefasAcoes:fC},data(){return{apenasPendentes:!0,filtro:"",historico:!1}},computed:{...St({adiadas:xe.NOTIFICACOES.TAREFAS_ADIADAS,carregado:xe.NOTIFICACOES.STATUS_CARREGADO,pendentes:xe.NOTIFICACOES.TAREFAS_PENDENTES}),alertas(){return this.apenasPendentes?this.pendentes:this.adiadas},lista(){const t=this;return t.alertas.filter(e=>(e.titulo.toLowerCase().includes(t.filtro.toLowerCase())||e.nomeArea.toLowerCase().includes(t.filtro.toLowerCase())||e.mensagem.toLowerCase().includes(t.filtro.toLowerCase()))&&(t.apenasPendentes?!e.isAdiado():e.isAdiado()))}},methods:{...nr({visualizar:it.NOTIFICACOES.VISUALIZAR_TAREFA})}};var mC=function(){var e=this,r=e._self._c;return r("PortalCardPaginado",{staticClass:"usp-tarefas portal-tarefas-cartao",attrs:{titulo:"Minhas Tarefas",icone:"fas fa-tasks",lista:e.lista},scopedSlots:e._u([e.carregado&&e.pendentes.length+e.adiadas.length>0?{key:"filtros",fn:function(){return[r("div",{staticClass:"btn-group btn-group-sm btn-group-toggle mr-2 btn-pendente-adiado",attrs:{"data-toggle":"buttons"}},[r("label",{staticClass:"btn btn-sm btn-primary",class:{active:e.apenasPendentes},on:{click:function(a){e.apenasPendentes=!0}}},[r("input",{attrs:{type:"radio",name:"options"}}),e._v(" Pendentes ")]),r("label",{staticClass:"btn btn-sm btn-primary",class:{active:!e.apenasPendentes},on:{click:function(a){e.apenasPendentes=!1}}},[r("input",{attrs:{type:"radio",name:"options"}}),e._v(" Adiadas ")])]),r("button",{staticClass:"btn btn-sm btn-primary",staticStyle:{display:"none"}},[r("em",{staticClass:"fas fa-stopwatch"}),r("span",{staticClass:"hidden-xs"},[e._v("Adiar")])]),r("form",[r("div",{staticClass:"form-group"},[r("label",{staticClass:"sr-only",attrs:{for:"filtro"}},[e._v(" Buscar tarefa... ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.filtro,expression:"filtro"}],staticClass:"form-control form-control-sm",attrs:{id:"filtro",name:"filtro",type:"text",placeholder:"Buscar tarefa..."},domProps:{value:e.filtro},on:{input:function(a){a.target.composing||(e.filtro=a.target.value)}}})])])]},proxy:!0}:null,{key:"corpo",fn:function(){return[e.carregado&&e.lista.length===0?r("div",{staticClass:"d-flex justify-content-center align-items-center flex-column"},[r("img",{attrs:{src:pC,alt:"Ilustração de uma pilha de tarefas concluídas"}}),r("p",{directives:[{name:"show",rawName:"v-show",value:e.carregado&&e.lista.length===0,expression:"carregado && lista.length === 0"}],staticClass:"font-weight-bold text-center mt-5"},[e._v("   Não há tarefas "),e.apenasPendentes?r("span",[e._v("pendentes")]):e._e(),e.apenasPendentes?e._e():r("span",[e._v("adiadas")]),e._v(". ")])]):e._e(),e.carregado?e._e():r("uspSkeleton",[r("div",[r("div",{staticClass:"w-50"}),r("div",{staticClass:"w-50"})]),r("div",[r("div",{staticClass:"w-50"}),r("div",{staticClass:"w-50"})]),r("div",[r("div",{staticClass:"w-50"}),r("div",{staticClass:"w-50"})]),r("div",[r("div",{staticClass:"w-50"}),r("div",{staticClass:"w-50"})]),r("div",[r("div",{staticClass:"w-50"}),r("div",{staticClass:"w-50"})])])]},proxy:!0},{key:"default",fn:function(a){return[r("div",{staticClass:"tarefa",class:{lido:a.item.isVisualizado(),estendido:a.item.estendido}},[r("div",{staticClass:"info",attrs:{"aria-controls":"tarefa-"+a.item.codigo,role:"button"},on:{click:function(o){return e.visualizar(a.item)}}},[r("div",{staticClass:"detalhes"},[r("h6",{staticClass:"area"},[e._v(" "+e._s(a.item.nomeArea)+" ")])]),r("div",{staticClass:"conteudo"},[r("h6",{staticClass:"titulo",domProps:{innerHTML:e._s(a.item.titulo)}}),r("span",{staticClass:"descricao",domProps:{innerHTML:e._s(a.item.mensagem)}}),r("div",{staticClass:"datas"},[r("span",{staticClass:"data"},[r("em",{staticClass:"far fa-clock"}),e._v(" "+e._s(a.item.cadastradoEm.split(" ")[0])+" "+e._s(a.item.cadastradoEm.split(" ")[1])+" ")]),r("span",{directives:[{name:"show",rawName:"v-show",value:a.item.isAdiado(),expression:"conteudo.item.isAdiado()"}],staticClass:"data"},[e._v(" Adiado para: "),r("em",{staticClass:"far fa-clock"}),e._v(" "+e._s(a.item.adiadoPara)+" ")])])])]),r("PortalTarefasAcoes",{attrs:{tarefa:a.item}})],1)]}},{key:"acoes",fn:function(){return[e.historico?r("router-link",{staticClass:"btn btn-sm btn-outline-primary",attrs:{to:{name:"tarefas"},tag:"button"}},[r("em",{staticClass:"fas fa-history"}),e._v(" Ver histórico ")]):e._e()]},proxy:!0}],null,!0)})},vC=[],gC=ce(hC,mC,vC,!1,null,null);const bC=gC.exports,_C={name:"PortalAvisosCartao",components:{PortalCardPaginado:Mh},computed:{...St({avisos:xe.NOTIFICACOES.AVISOS,carregado:xe.NOTIFICACOES.STATUS_CARREGADO}),lista(){const t=this;return t.filtro?t.avisos.filter(e=>e.assunto.toLowerCase().indexOf(t.filtro.toLowerCase())!==-1||e.tipo.toLowerCase().indexOf(t.filtro.toLowerCase())!==-1):t.avisos}},data(){return{filtro:"",historico:!1}},methods:{...nr({obter:it.NOTIFICACOES.OBTER_AVISO})}};var AC=function(){var e=this,r=e._self._c;return r("div",[r("PortalCardPaginado",{staticClass:"usp-tarefas portal-avisos-cartao",attrs:{titulo:"Meus Avisos",icone:"fas fa-inbox",lista:e.lista},scopedSlots:e._u([{key:"default",fn:function(a){return r("div",{staticClass:"tarefa info",class:{lido:a.item.isVisualizado()},attrs:{"aria-controls":"avisos-"+a.item.codigo,role:"button"},on:{click:function(o){return e.obter(a.item)}}},[r("div",{staticClass:"detalhes"},[r("h6",{staticClass:"area"},[e._v(e._s(a.item.nomeArea))])]),r("div",{staticClass:"conteudo"},[r("h6",{staticClass:"titulo"},[e._v(e._s(a.item.tipo))]),r("span",{staticClass:"descricao"},[e._v(e._s(a.item.assunto))]),r("div",{staticClass:"datas"},[r("span",{staticClass:"data"},[r("i",{staticClass:"far fa-clock"}),e._v(" "+e._s(a.item.dataInicio)+" ")])])])])}}])},[e.carregado&&e.lista.length>0?r("template",{slot:"filtros"},[r("form",[r("div",{staticClass:"form-group mb-2"},[r("label",{staticClass:"sr-only",attrs:{for:"filtro-avisos"}},[e._v("Buscar aviso...")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.filtro,expression:"filtro"}],staticClass:"form-control form-control-sm",attrs:{type:"text",id:"filtro-avisos",placeholder:"Buscar aviso..."},domProps:{value:e.filtro},on:{input:function(a){a.target.composing||(e.filtro=a.target.value)}}})])])]):e._e(),r("template",{slot:"corpo"},[e.carregado&&e.lista.length===0?r("div",{staticClass:"d-flex justify-content-center align-items-center flex-column"},[r("img",{attrs:{src:pu,alt:"Ilustração de uma caixa vazia"}}),r("p",{directives:[{name:"show",rawName:"v-show",value:e.carregado&&e.lista.length===0,expression:"carregado && lista.length === 0"}],staticClass:"font-weight-bold text-center mt-5"},[e._v("   Não há avisos no momento. ")])]):e._e(),e.carregado?e._e():r("uspSkeleton",[r("div",[r("div",{staticClass:"w-25"}),r("div",{staticClass:"w-75"})]),r("div",[r("div",{staticClass:"w-25"}),r("div",{staticClass:"w-75"})]),r("div",[r("div",{staticClass:"w-25"}),r("div",{staticClass:"w-75"})]),r("div",[r("div",{staticClass:"w-25"}),r("div",{staticClass:"w-75"})]),r("div",[r("div",{staticClass:"w-25"}),r("div",{staticClass:"w-75"})])])],1),r("template",{slot:"acoes"},[e.historico?r("router-link",{staticClass:"btn btn-sm btn-outline-primary",attrs:{to:{name:"avisos"},tag:"button"}},[r("i",{staticClass:"fas fa-history"}),e._v(" Ver histórico ")]):e._e()],1)],2)],1)},SC=[],yC=ce(_C,AC,SC,!1,null,"62aceb6d");const OC=yC.exports;class si{constructor(e,r,a,o,n,s,i,c,u,l){this.codigo=e,this.codigoArea=r,this.nomeArea=a,this.iconeArea=o,this.tipo=n,this.assunto=s,this.mensagem=i,this.dataInicio=c,this.dataFim=u,this.visualizacao=l}isVisualizado(){return!!this.visualizacao}getKey(){return`${this.codigo}:${this.codigoArea}`}static build(e={}){return new si(e.codigo,e.codigoArea||"",e.nomeArea||"",e.iconeArea||"",e.tipo||"",e.assunto||"",e.mensagem||"",e.dataInicio||"",e.dataFim||"",e.visualizacao||"")}}class Ru{constructor(e,r,a,o,n,s,i,c,u){this.tipo=e,this.codigo=r,this.codigoArea=a,this.nomeArea=o,this.iconeArea=n,this.titulo=s,this.url=i,this.data=c,this.visualizacao=u}isVisualizado(){return!!this.visualizacao}getKey(){return`${this.tipo}:${this.codigo}:${this.codigoArea}`}static build(e={}){const r=e.cadastradoEm?"alerta":"aviso";return new Ru(r,e.codigo,e.codigoArea||"",e.nomeArea||"",e.iconeArea||"",r==="alerta"?e.titulo:e.assunto,e.url||"",r==="alerta"?e.adiadoPara||e.cadastradoEm:e.dataInicio,r==="alerta"?e.visualizadoEm:e.visualizacao)}}class Ms{constructor(e=[],r=[],a=[]){this.tarefas=e,this.avisos=r,this.novidades=a}static buildNovidades(e,r){return e.filter(a=>!a.adiado).concat(r).map(a=>Ru.build(a)).sort((a,o)=>a.data-o.data).slice(0,5)}static build(e={}){const r=e.tarefas.map(n=>oi.build(n)),a=e.avisos.map(n=>si.build(n)),o=Ms.buildNovidades(r,a);return new Ms(r,a,o)}}class kh extends Ir{async adiarTarefa(e,r,a){return this.post(`/wsportal/notificacoes/tarefa/adiar/${r}/${e}/`,{novaData:a})}async baixarTarefa(e,r){return this.post(`/wsportal/notificacoes/tarefa/baixar/${r}/${e}/`,null)}async obterAvisoweb(e){const a=await this.get(`/wsportal/notificacoes/aviso/${e.codigoArea}/${e.codigo}`);return si.build(a)}async obterNotificacoes(){const r=await this.get("/wsportal/notificacoes/");return Ms.build(r)}async visualizarTarefa(e,r){return this.post(`/wsportal/notificacoes/tarefa/visualizar/${r}/${e}/`)}async listarNoticias(){return this.get("/wsportal/notificacoes/feed-noticias")}}const EC={name:"PortalNoticiasCartao",data(){return{api:kh.build({}),atual:1,erro:"",carregando:!0,lista:[],numPaginas:8,transitionName:"fade"}},computed:{autor(){return this.noticia.autor},descricao(){return this.elemento.innerText},elemento(){const t=document.createElement("div");return t.innerHTML=this.noticia.descricao||"",t},imagem(){return this.elemento.querySelector("img").getAttribute("src")},noticia(){return this.lista[this.atual-1]||{}},titulo(){return this.noticia.titulo||""},publicacao(){const t=new Date(this.noticia.dataPublicacao),e=t.getDate()>=10?t.getDate():"0"+t.getDate(),r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1);return`${e}/${r}/${t.getFullYear()}`},paginas(){return this.lista.length}},mounted(){const t=this;window.addEventListener("resize",this.contarNumPaginas),this.contarNumPaginas(),t.carregando=!0,t.api.listarNoticias().then(e=>t.lista=e).catch(e=>t.erro=e).finally(()=>t.carregando=!1)},unmounted(){window.removeEventListener("resize",this.contarNumPaginas)},methods:{escolher(t){this.atual=t},contarNumPaginas(){let t=window.innerWidth;t<=540?this.numPaginas=3:t>540&&t<=768?this.numPaginas=5:this.numPaginas=8}}};var CC=function(){var e=this,r=e._self._c;return r("uspCartao",{attrs:{titulo:"Noticias para a Comunidade USP"},scopedSlots:e._u([{key:"cabecalho",fn:function(){return[r("a",{staticClass:"link-cabecalho",attrs:{href:"https://jornal.usp.br/editorias/institucional/comunicados/",target:"_blank"}},[e._v(" Noticias para a Comunidade USP "),r("em",{staticClass:"fas fa-external-link-alt"})])]},proxy:!0},{key:"corpo",fn:function(){return[!e.carregando&&e.lista.length===0?r("div",{staticClass:"d-flex justify-content-center align-items-center flex-column"},[r("img",{attrs:{src:pu,alt:"Ilustração de uma caixa vazia"}}),r("p",{staticClass:"font-weight-bold text-center mt-5"},[e._v("   Não há avisos no momento. ")])]):e._e(),e.carregando?r("uspSkeleton",[r("div",[r("div",{staticClass:"w-100"})]),r("div",[r("div",{staticClass:"w-100"})]),r("div",[r("div",{staticClass:"w-100"})])]):e._e(),!e.carregando&&e.lista.length>0?r("transition-group",{staticClass:"slides-group",attrs:{tag:"div",name:e.transitionName}},[r("div",{key:"noticia-"+e.atual,staticClass:"noticia"},[r("a",{attrs:{href:e.noticia.postURL,target:"_blank"}},[r("img",{staticClass:"noticia-thumb img-fluid img-thumbnail",attrs:{src:e.imagem,alt:e.titulo}})]),r("div",{staticClass:"noticia-conteudo"},[r("h4",[r("a",{attrs:{href:e.noticia.postURL,target:"_blank"}},[e._v(" "+e._s(e.titulo)+" ")])]),r("span",{staticClass:"data"},[e._v(" "+e._s(e.publicacao)+" ")]),r("p",[e._v(e._s(e.descricao))])])])]):e._e(),r("nav",{staticClass:"nav-paginacao",attrs:{"aria-label":"Navegação de notícias"}},[r("uspPaginacao",{attrs:{"num-paginas":e.numPaginas,paginas:e.paginas},on:{paginar:e.escolher}})],1)]},proxy:!0}])})},RC=[],wC=ce(EC,CC,RC,!1,null,"6a4fb62a");const TC=wC.exports,DC={name:"PortalPainelDestaque",components:{PortalTarefasCartao:bC,PortalNoticiasCartao:TC,PortalAvisosCartao:OC}};var xC=function(){var e=this,r=e._self._c;return r("section",{attrs:{id:"destaque"}},[r("div",{staticClass:"container-fluid"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-xl-12"},[r("PortalNoticiasCartao")],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-xl-6"},[r("PortalTarefasCartao")],1),r("div",{staticClass:"col-xl-6"},[r("PortalAvisosCartao")],1)])])])},PC=[],NC=ce(DC,xC,PC,!1,null,"c9fcb31a");const IC=NC.exports,$C={name:"Servicos",components:{PortalPainelDestaque:IC},computed:{...St({carregado:xe.NOTIFICACOES.STATUS_CARREGADO})}};var MC=function(){var e=this,r=e._self._c;return r("section",[r("PortalPainelDestaque")],1)},kC=[],UC=ce($C,MC,kC,!1,null,null);const LC=UC.exports,FC={name:"CadastrarSenha",data(){return{aviso:null,api:gu.build({}),carregando:!1,codigoCadastroSenha:this.$route.query.codigoCadastroSenha,msgSucessoDefault:"Senha cadastrada com sucesso",msgErroDefault:"Erro ao cadastrar senha",senhaNova:"",senhaNovaConfirmada:""}},computed:{valido(){return this.validoTamanhoMinimo&&this.validoNumero&&this.validoLetra&&this.validoEspecial&&this.validoVerificacao},validoTamanhoMinimo(){return(this.senhaNova||"").length>=8},validoNumero(){return/^(?=.*\d)/.test(this.senhaNova)},validoLetra(){return/(?=.*[a-z])(?=.*[A-Z])/.test(this.senhaNova)},validoEspecial(){return/^(?=.*[!@#$%^&*_])/.test(this.senhaNova)},validoVerificacao(){return this.senhaNovaConfirmada&&this.senhaNova==this.senhaNovaConfirmada}},methods:{cadastrarSenha(){const t=this;t.carregando=!0,t.$recaptcha("login").then(e=>{t.api.cadastrarSenha({codigoCadastroSenha:t.codigoCadastroSenha,senhaNova:t.senhaNova,senhaNovaConfirmada:this.senhaNovaConfirmada,token:e}).then(r=>{t.aviso={mensagem:(r==null?void 0:r.mensagem)||this.msgSucessoDefault,tipo:"sucesso"}}).catch(r=>{t.aviso={mensagem:(r==null?void 0:r.mensagem)||this.msgErroDefault,tipo:"perigo"}}).finally(()=>{t.carregando=!1})})}}};var jC=function(){var e=this,r=e._self._c;return r("section",[r("div",{staticClass:"container-fluid"},[r("uspCartao",{attrs:{titulo:"Cadastrar Nova Senha",fechavel:!1},scopedSlots:e._u([{key:"corpo",fn:function(){return[e.aviso?r("uspAlerta",{staticClass:"col-lg-10 offset-lg-1",attrs:{variante:e.aviso.tipo}},[r("div",[e._v(e._s(e.aviso.mensagem))])]):e._e(),r("div",{staticClass:"container-fluid"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-lg-5 offset-lg-1"},[r("form",{attrs:{novalidate:""},on:{submit:function(a){a.preventDefault()}}},[r("div",{staticClass:"form-group"},[r("label",{staticClass:"sr-only",attrs:{for:"senhaNova"}},[e._v(" Senha ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.senhaNova,expression:"senhaNova"}],staticClass:"form-control",attrs:{id:"senhaNova",type:"password",name:"senhaNova",placeholder:"Senha"},domProps:{value:e.senhaNova},on:{input:function(a){a.target.composing||(e.senhaNova=a.target.value)}}})]),r("div",{staticClass:"form-group"},[r("label",{staticClass:"sr-only",attrs:{for:"senhaNovaConfirmada"}},[e._v(" Confirmar Senha ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.senhaNovaConfirmada,expression:"senhaNovaConfirmada"}],staticClass:"form-control",attrs:{id:"senhaNovaConfirmada",type:"password",name:"senhaNovaConfirmada",placeholder:"Confirmar Senha"},domProps:{value:e.senhaNovaConfirmada},on:{input:function(a){a.target.composing||(e.senhaNovaConfirmada=a.target.value)}}})]),r("uspBotao",{staticClass:"mb-2",attrs:{variante:"sucesso",tamanho:"bc",icone:"fas fa-check",texto:"Cadastrar Senha",carregando:e.carregando,desabilitado:!e.valido,"texto-carregar":"Salvando Senha..."},on:{clicar:e.cadastrarSenha}})],1)]),r("div",{staticClass:"col-lg-5"},[r("ul",{staticClass:"regras"},[r("li",{staticClass:"header"},[e._v(" A senha deve: ")]),r("li",{class:{valido:e.senhaNova&&e.validoTamanhoMinimo,invalido:e.senhaNova&&!e.validoTamanhoMinimo}},[e._v(" Ter no mínimo 8 caracteres ")]),r("li",{class:{valido:e.senhaNova&&e.validoNumero,invalido:e.senhaNova&&!e.validoNumero}},[e._v(" Possuir um número ")]),r("li",{class:{valido:e.senhaNova&&e.validoLetra,invalido:e.senhaNova&&!e.validoLetra}},[e._v(" Possuir uma letra maiúscula e uma minúscula ")]),r("li",{class:{valido:e.senhaNova&&e.validoEspecial,invalido:e.senhaNova&&!e.validoEspecial}},[e._v(" Possuir um caracter especial ")]),r("li",{class:{valido:e.senhaNova&&e.validoVerificacao,invalido:e.senhaNova&&!e.validoVerificacao}},[e._v(' Ser confirmada no campo "Confirmar Senha" ')]),r("li",{staticClass:"header mt-2"},[e._v("Além disso, a senha:")]),r("li",[e._v(" Não deve conter 3 ou mais caracteres consecutivos do seu nome ou do login. ")])])])])])]},proxy:!0}])})],1)])},VC=[],BC=ce(FC,jC,VC,!1,null,null);const zC=BC.exports,Hi=t=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase()),GC={name:"AlterarEmail",data(){return{flagSelecionada:null,tipos:[{flag:"P",label:"E-mail Principal",desc:"recebimento de informativos",nameAtual:"emailPrincAtual",nameConf:"emailPrincConf",nameNovo:"emailPrincNovo",prop:"principal"},{flag:"A",label:"E-mail Alternativo",desc:"recuperação de senha",nameAtual:"emailAltAtual",nameConf:"emailAltConf",nameNovo:"emailAltNovo",prop:"alternativo"}],alert:{variant:"perigo",message:""},carregando:!1,emails:{},dados:{}}},created(){this.obterEmails()},computed:{...St({login:"auth/login"}),erro(){return this.erros.join("
")},validoEmailNovo(){return Hi(this.emailNovo)},tipo(){return this.tipos.find(t=>t.flag==this.flagSelecionada)}},methods:{...nr({obter:"auth/obterEmails",salvar:"auth/alterarEmail"}),selecionar(t){this.flagSelecionada=t},alterarEmail(t){const e=this,r=e.dados["novo-"+t],a=e.dados["conf-"+t];e.validarEmails(t,r,a)&&e.salvar({tipo:t,email:r}).then(o=>{e.alert={message:o.mensagem,variant:o.retorno==="erro"?"perigo":"sucesso"}}).catch(o=>{e.alert.message=o.mensagem,e.alert.variant="perigo"}).finally(()=>e.carregando=!1)},obterEmails(){const t=this;t.carregando=!0,t.obter().then(e=>{this.emails=e.retorno==="erro"?{}:e,t.alert={message:e.mensagem,variant:e.retorno==="erro"?"perigo":"sucesso"}}).catch(e=>{this.emails={},t.alert={message:e,variant:"perigo"}}).finally(()=>t.carregando=!1)},validarEmails(t,e,r){let a=[];if(this.alert={},e?Hi(e)||a.push(t==="A"?"E-mail alternativo novo não é válido.":"E-mail principal novo não é valido."):a.push(t==="A"?"E-mail alternativo novo não foi preenchido.":"E-mail principal novo não foi preenchido."),r?Hi(r)||a.push(t==="A"?"E-mail alternativo de confirmação não é válido.":"E-mail principal de confirmação não é valido."):a.push(t==="A"?"E-mail alternativo de confirmação não foi preenchido.":"E-mail principal de confirmação não foi preenchido."),r!==e&&a.push(t==="A"?"E-mail alternativo novo e de confirmação não são iguais.":"E-mail principal novo e de confirmação não são iguais."),a.length>0){let o=`Não foi possível alterar o e-mail ${t==="A"?"alternativo":"principal"}:
    `;return a.forEach(n=>o+=`
  • ${n}
  • `),o+="
",this.alert={variant:"perigo",message:o},!1}return!0}}};var qC=function(){var e=this,r=e._self._c;return r("div",{staticClass:"container"},[r("uspAlerta",{directives:[{name:"show",rawName:"v-show",value:!!e.alert.message,expression:"!!alert.message"}],staticClass:"col-lg-10 offset-lg-1",attrs:{variante:e.alert.variant}},[r("span",{domProps:{innerHTML:e._s(e.alert.message)}})]),r("p",[e._v("E-mails cadastrados:")]),r("uspLista",{attrs:{horizontal:!0}},[r("uspListaItem",[r("span",{staticClass:"d-flex flex-column"},[r("b",[e._v("E-mail USP:")]),e._v(" "+e._s(e.emails.usp))])]),e._l(e.tipos,function(a){return r("uspListaItem",{key:a.flag,staticClass:"list-group-item list-group-item-action d-flex flex-row justify-content-between align-items-center",class:{active:a.flag==e.flagSelecionada}},[r("span",{staticClass:"d-flex flex-column"},[r("b",[e._v(e._s(a.label)+":")]),e._v(" "+e._s(e.emails[a.prop]))]),r("button",{staticClass:"btn btn-sm btn-outline-primary",attrs:{disabled:a.flag==e.flagSelecionada},on:{click:function(o){return e.selecionar(a.flag)}}},[r("i",{staticClass:"fas fa-sm fa-edit"}),e._v(" Editar ")])])})],2),e.flagSelecionada?r("div",{staticClass:"mt-5"},[r("fieldset",[r("legend",[e._v("Alterar: "+e._s(e.tipo.label)+" ("+e._s(e.tipo.desc)+")")]),e.flagSelecionada?r("form",{attrs:{novalidate:""},on:{submit:function(a){return a.preventDefault(),e.alterarEmail(e.tipo.flag)}}},[r("div",{staticClass:"form-group"},[r("label",{staticClass:"sr-only",attrs:{for:e.tipo.nameAlt}},[e._v(" "+e._s(e.tipo.label)+" Atual ")]),r("input",{staticClass:"form-control",attrs:{id:e.tipo.nameAlt,disabled:"",type:"email",name:e.tipo.nameAlt,placeholder:e.tipo.label+" Atual"},domProps:{value:e.emails[e.tipo.prop]}})]),r("div",{staticClass:"form-group"},[r("label",{staticClass:"sr-only",attrs:{for:e.tipo.nameNovo}},[e._v(" Novo "+e._s(e.tipo.label)+" ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.dados["novo-"+e.tipo.flag],expression:"dados['novo-' + tipo.flag]"}],staticClass:"form-control",attrs:{id:e.tipo.nameNovo,type:"email",name:e.tipo.nameNovo,placeholder:"Novo "+e.tipo.label},domProps:{value:e.dados["novo-"+e.tipo.flag]},on:{input:function(a){a.target.composing||e.$set(e.dados,"novo-"+e.tipo.flag,a.target.value)}}})]),r("div",{staticClass:"form-group"},[r("label",{staticClass:"sr-only",attrs:{for:e.tipo.nameConf}},[e._v("Confirmar Novo "+e._s(e.tipo.label)+" ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.dados["conf-"+e.tipo.flag],expression:"dados['conf-' + tipo.flag]"}],staticClass:"form-control",attrs:{id:e.tipo.nameConf,type:"email",name:e.tipo.nameConf,placeholder:"Confirmar Novo "+e.tipo.label},domProps:{value:e.dados["conf-"+e.tipo.flag]},on:{input:function(a){a.target.composing||e.$set(e.dados,"conf-"+e.tipo.flag,a.target.value)}}})]),r("button",{staticClass:"btn btn-primary btn-block mb-2",attrs:{type:"submit",disabled:e.carregando}},[e.carregando?r("span",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}}):e._e(),e._v(" Alterar "+e._s(e.tipo.label)+" ")])]):e._e()])]):e._e()],1)},HC=[],YC=ce(GC,qC,HC,!1,null,"030137be");const WC=YC.exports,JC={name:"Configuracoes",data(){return{itens:[{titulo:"Alterar E-mail",nome:"AlterarEmail",componente:WC}]}}};var QC=function(){var e=this,r=e._self._c;return r("section",[r("div",{staticClass:"container-fluid"},[r("uspCartao",{attrs:{titulo:"Configurações",fechavel:!1},scopedSlots:e._u([{key:"corpo",fn:function(){return[r("a",{staticClass:"trocar-senha",attrs:{href:"https://id.usp.br/restrito/novasenha.xhtml",target:"_blank"}},[r("em",{staticClass:"fas fa-external-link-alt"}),e._v(" Alterar Senha ")]),r("uspAcordeao",{attrs:{itens:e.itens}})]},proxy:!0}])})],1)])},KC=[],ZC=ce(JC,QC,KC,!1,null,null);const XC=ZC.exports,eR=[{path:"/",name:"home",component:$E,meta:{breadcrumb:[]}},{path:"/saiba-mais/",name:"saiba",component:aC,meta:{breadcrumb:[{nome:"Saiba Mais"}]}},{path:"/painel/",name:"servicos",component:LC,meta:{logado:!0,breadcrumb:[]}},{path:"/servicos/*",name:"legado",component:ZE,meta:{breadcrumb:[{nome:"Serviços"}]}},{path:"/cadastrar-senha/",name:"cadastrar-senha",component:zC,meta:{breadcrumb:[{nome:"Cadastrar Senha"}]}},{path:"/configuracoes/",name:"configuracoes",component:XC,meta:{logado:!0,breadcrumb:[{nome:"Configurações"}]}}],tR="modulepreload",rR=function(t){return"/"+t},qd={},ye=function(e,r,a){let o=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(r.map(c=>{if(c=rR(c),c in qd)return;qd[c]=!0;const u=c.endsWith(".css"),l=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${l}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":tR,u||(f.as="script"),f.crossOrigin="",f.href=c,i&&f.setAttribute("nonce",i),document.head.appendChild(f),u)return new Promise((m,p)=>{f.addEventListener("load",m),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${c}`)))})}))}function n(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return o.then(s=>{for(const i of s||[])i.status==="rejected"&&n(i.reason);return e().catch(n)})},aR=()=>ye(()=>import("./MatrVirtualIngress-DhJ3sB41.js"),__vite__mapDeps([0,1])),nR=[{path:"/matrVirtualIngress",name:"MatrVirtualIngress",component:aR,meta:{logado:!0,breadcrumb:[{nome:"Dash"},{nome:"Matrícula Virtual"}]}}];class oR extends Ir{listar(e){return this.post("/uspproc/listar/assinatura/listarLoteDocumento2",e)}salvar(e){return this.post("/uspproc/executar/assinatura/salvarLoteDocumento",e)}excluir(e){return this.post("/uspassinaws/excluirLote/"+e.codlotdocasi,e)}rejeitar(e){return this.post("/uspassinaws/rejeitarLote/"+e.codlotdocasi,e)}obter(e){return this.post("/uspproc/obter/assinatura/obterLoteDocumento",e)}enviar(e){return this.post("/uspassinaws/enviar",e)}verificarAtualizacao(e){return this.post("/uspproc/obter/assinatura/verifAtualAssinLoteDocumento",e)}registrarParticipante(e){return this.post("/uspproc/executar/assinatura/salvarParticipanteLoteDocAss",e)}listarParticipante(e){return this.post("/uspproc/listar/assinatura/listarParticipanteLoteDocAss",e)}removerParticipante(e){return this.post("/uspproc/executar/assinatura/removerParticipanteDocAss",e)}reenviarEmail(e){return this.post("/uspassinaws/reenviarEmail",e)}obterUrlAssinarEmbedded(e){return this.post("/uspassinaws/obterUrlAssinarEmbedded",e)}obterUrlAcrobatSign(e){return this.post("/uspassinaws/obterUrlAcrobatSign",e)}buscarUsuario(e){return this.post("/uspproc/listar/assinatura/buscarPessoaLoteDocAss",e)}buscarUsuarioSemNUSP(e){return this.post("/uspproc/listar/assinatura/buscarUsuarioSemNUSP",e)}registrarDocumento(e,r){return this.post("/uspproc/upload/assinatura/salvarDocumentoLoteDocAss",r,[e])}listarDocumentos(e){return this.post("/uspproc/listar/assinatura/listarDocumentoLoteDocAss",e)}listarTipoAssinatura(){return this.post("/uspproc/listar/assinatura/listarTipoAssinatura",{})}obterDocumento(e){return this.download("/uspproc/download/assinatura/obterDocumentoLoteDocAss?coddocuspasi="+e.coddocuspasi+"&codlotdocasi="+e.codlotdocasi)}removerDocumento(e){return this.post("/uspassinaws/removerDocumentoLoteDocAss",e)}obterDadosHash(e){return this.post("/uspproc/obter/assinatura/obterDadosHashAssinar",e)}assinarDocumento(e){return this.post("/uspassinaws/assinarDocumento",e)}cadastrarGestor(e){return this.post("/uspproc/executar/assinatura/criarUsuarioAssina",e)}sincronizarDocusign(e){return this.post("/uspassinaws/sincronizarDadosBD",e)}}const sR=()=>ye(()=>import("./AssinaAssinarDocumento-mkK58JHb.js"),[]),Hd=()=>ye(()=>import("./AssinaCriarPacote-DayLGMF1.js"),__vite__mapDeps([2,3,4,5])),iR=()=>ye(()=>import("./AssinaInicio-Ds0gM497.js"),__vite__mapDeps([6,7])),cR=()=>ye(()=>import("./AssinaRetornoEmbedded-BcWUClUL.js"),[]),uR=()=>ye(()=>import("./AssinaCadastrarGestor-B0Mj4gEr.js"),__vite__mapDeps([8,3,4])),os=oR.build({}),Yd=function(t,e,r){t.params.numnivseg?r():os.buscarUsuario().then(a=>{const o=""+((a||[])[0]||{}).numnivseg;o?(t.params.numnivseg=o,r()):(r("/"),se.$toast.error("Usuário não cadastrado! Não foi encontrado cadastro do usuário em USPAssina!"))}).catch(a=>{r("/"),se.$toast.error(`Erro ao buscar usuário em USPAssina! ${(a==null?void 0:a.mensagem)||a}`)})},lR=[{path:"/",name:"Inicio",component:iR,beforeEnter(t,e,r){Yd(t,e,r)},meta:{logado:!0,breadcrumb:[{nome:"USP Assina"}]}},{path:"/lote",name:"Novo",component:Hd,props:!0,beforeEnter(t,e,r){sessionStorage.removeItem("loteAtual"),Yd(t,e,r)},meta:{logado:!0,breadcrumb:[{nome:"USP Assina",link:"/assina/"},{nome:"Novo Lote"}]}},{path:"/lote/:codlotdocasi",name:"Lote",component:Hd,props:!0,beforeEnter(t,e,r){os.obter(Object.assign({},t.query,t.params)).then(a=>{sessionStorage.setItem("loteAtual",JSON.stringify(a)),t.params.numnivseg=a.numnivseg,a.codlotdocasi?r():r({name:"Assina:Novo"})}).catch(()=>r({name:"Assina:Novo"}))},meta:{logado:!0,breadcrumb:[{nome:"USP Assina",link:"/assina/"},{nome:"Lote #${codlotdocasi}"}]}},{path:"/assinar/:hash",name:"Assinar",component:sR,props(t){return{dadosHash:t.params}},beforeEnter(t,e,r){os.obterDadosHash(t.params).then(a=>{Object.assign(t.params,a),(a||{}).coddocuspasi&&(a||{}).codpcpasidoc?r():(a||{}).codlotdocasi?r({name:"Assina:Lote",params:{codlotdocasi:a.codlotdocasi}}):r({name:"Assina:Inicio"})}).catch(a=>{(a==null?void 0:a.httpStatus)===401?(se.$toast.error("Para realizar a assinatura, você precisa se autenticar, informando seu número USP e a senha única nos campos abaixo."),r("/")):(se.$toast.error((a==null?void 0:a.mensagem)||a),r({name:"Assina:Inicio"}))})},meta:{logado:!0,breadcrumb:[{nome:"USP Assina",link:"/assina/"},{nome:"Assinatura de Documento"}]}},{path:"/retorno/:codlotdocasi",name:"RetornoEmbedded",component:cR,props:t=>({codlotdocasi:t.params.codlotdocasi,event:(t.query||{}).event||""}),meta:{logado:!0,breadcrumb:[{nome:"USP Assina",link:"/assina/"},{nome:"Assinatura #${codlotdocasi}"}]}},{path:"/cadastrarGestor",name:"CadastrarGestor",component:uR,beforeEnter(t,e,r){os.buscarUsuario().then(a=>{((a||[])[0]||{}).numnivseg=="1"?r():r({name:"Assina:Inicio"})}).catch(()=>r({name:"Assina:Inicio"}))},meta:{logado:!0,breadcrumb:[{nome:"USP Assina",link:"/assina/"},{nome:"Cadastrar Gestor"}]}}],dR=()=>ye(()=>import("./UspDrivePastas-V0GpIvCz.js"),__vite__mapDeps([9,10,11])),fR=()=>ye(()=>import("./UspDriveArquivos-DMekWO57.js"),__vite__mapDeps([12,10,13])),pR=()=>ye(()=>import("./UspDriveUsuarios-DqAFdmNi.js"),__vite__mapDeps([14,10,11])),hR=()=>ye(()=>import("./UspDriveRedirecionamento-Q7U_r-LG.js"),__vite__mapDeps([15,10,11])),mR=[{path:"/",name:"Pastas",component:dR,meta:{logado:!0,breadcrumb:[{nome:"USP Drive"}]}},{path:"/pasta/:codptaarqudr",name:"Arquivos",component:fR,meta:{logado:!0,breadcrumb:[{nome:"USP Drive",link:"/usp-drive/"},{nome:"Pasta"}]}},{path:"/processo/:numprosaj",name:"Processo",component:hR,meta:{logado:!0,breadcrumb:[{nome:"USP Drive",link:"/usp-drive/"},{nome:"Processo"}]}},{path:"/usuarios",name:"Usuarios",component:pR,meta:{logado:!0,breadcrumb:[{nome:"USP Drive",link:"/usp-drive/"},{nome:"Usuários"}]}}],vR=()=>ye(()=>import("./Processamento-C-XrWKoB.js"),__vite__mapDeps([16,17,18])),gR=()=>ye(()=>import("./Analise-D2iTtp4H.js"),__vite__mapDeps([19,17,11])),bR=()=>ye(()=>import("./CargaDados-CJChIT1q.js"),__vite__mapDeps([20,17,11])),_R=()=>ye(()=>import("./ConsultaDados-ONxSnlaa.js"),__vite__mapDeps([21,17,11])),AR=()=>ye(()=>import("./Calendario-CMhXBSeN.js"),__vite__mapDeps([22,17,23])),SR=[{path:"/",name:"Processamento",component:vR,meta:{logado:!0,breadcrumb:[{nome:"Nova Folha"}]}},{path:"/analise",name:"Analise",component:gR,meta:{logado:!0,breadcrumb:[{nome:"Nova Folha",link:"/novaFolha/"},{nome:"Análise"}]}},{path:"/consulta",name:"ConsultaDados",component:_R,meta:{logado:!0,breadcrumb:[{nome:"Nova Folha",link:"/novaFolha/"},{nome:"Consulta de dados"}]}},{path:"/cronograma",name:"Cronograma",component:AR,meta:{logado:!0,breadcrumb:[{nome:"Nova Folha",link:"/novaFolha/"},{nome:"Cronograma"}]}},{path:"/cargas",name:"CargaDados",component:bR,meta:{logado:!0,breadcrumb:[{nome:"Nova Folha",link:"/novaFolha/"},{nome:"Cargas de dados"}]}}],yR=()=>ye(()=>import("./ProcessosInicio-Bx-j2NEs.js"),__vite__mapDeps([24,25,26,27,28,29])),Wd=()=>ye(()=>import("./ProcessosForm-CV6tBWkf.js"),__vite__mapDeps([30,25,26])),OR=()=>ye(()=>import("./ProcessosAcompanhamento-DnbNqL7M.js"),__vite__mapDeps([31,25,26,27,28,32])),ER=[{path:"/processos-digitais",name:"Digitais",component:yR,meta:{logado:!0,breadcrumb:[{nome:"Processos Digitais"}]}},{path:"/processos-digitais/novo",name:"Novo",component:Wd,meta:{logado:!0,breadcrumb:[{nome:"Processos Digitais",link:"/processos/processos-digitais/"},{nome:"Autuar Processo"}]}},{path:"/processos-digitais/alterar/:numpro",name:"Alterar",component:Wd,meta:{logado:!0,breadcrumb:[{nome:"Processos Digitais",link:"/processos/processos-digitais/"},{nome:"Processo ${numpro}",link:"/processos/processos-digitais/${numpro}"},{nome:"Alteração de Dados"}]}},{path:"/processos-digitais/:numpro",name:"Acompanhamento",component:OR,props:!0,meta:{logado:!0,breadcrumb:[{nome:"Processos Digitais",link:"/processos/processos-digitais/"},{nome:"Processo ${numpro}"}]}}],CR=()=>ye(()=>import("./ProServDetalhes-BapevXif.js"),__vite__mapDeps([33,34,35,36])),Jd=()=>ye(()=>import("./ProServForm-yYVXq8sg.js"),__vite__mapDeps([37,34,35,38])),RR=()=>ye(()=>import("./ProServInicio-ClwJhxY4.js"),__vite__mapDeps([39,34,35,40])),wR=()=>ye(()=>import("./ProServResultados-X7zcs8bq.js"),__vite__mapDeps([41,42])),TR=[{path:"/",name:"Inicio",component:RR,meta:{logado:!0,breadcrumb:[{nome:"ProServ"}]}},{path:"/novo",name:"Novo",component:Jd,meta:{logado:!0,breadcrumb:[{nome:"ProServ",link:"/proserv/"},{nome:"Nova Solicitação"}]}},{path:"/detalhes/:anosolprs/:codsolprs",name:"Detalhes",component:CR,meta:{logado:!0,breadcrumb:[{nome:"ProServ",link:"/proserv/"},{nome:"Solicitação #${codsolprs}-${anosolprs}"}]}},{path:"/alterar/:anosolprs/:codsolprs",name:"Alterar",component:Jd,meta:{logado:!0,breadcrumb:[{nome:"ProServ",link:"/proserv/"},{nome:"Solicitação #${codsolprs}-${anosolprs}",link:"/proserv/detalhes/${anosolprs}/${codsolprs}"},{nome:"Alterando #${codsolprs}-${anosolprs}"}]}},{path:"/acompanhar/",name:"Acompanhar",component:wR,meta:{logado:!0,breadcrumb:[{nome:"Acompanhamento ProServ"}]}}],DR=()=>ye(()=>import("./Mandato-w07Hu7yz.js"),__vite__mapDeps([43,44])),xR=[{path:"/:codclg/:sglclg",name:"mandato",component:DR,props:!0,meta:{breadcrumb:[{nome:"Mandatos"}]}}],PR=()=>ye(()=>import("./WebdocValidarDocumento-BBThMEhP.js"),__vite__mapDeps([45,46,47])),NR=()=>ye(()=>import("./WebdocTiposDocumentos-fzM23Fuc.js"),__vite__mapDeps([48,46])),IR=[{path:"/:codaucdoc([\\-\\w]{0,50})?",name:"validadocweb",component:PR,props:t=>({codaucdoc:(t.params.codaucdoc||"").replaceAll("-","")}),beforeEnter(t,e,r){t.params.codaucdoc=="tiposdocumentos"?r({name:"Iddigital:tiposdocumentos"}):r()},meta:{breadcrumb:[{nome:"IDDigital"},{nome:"Validar Documento"}]}},{path:"/tiposdocumentos",name:"tiposdocumentos",component:NR,meta:{breadcrumb:[{nome:"IDDigital"},{nome:"Tipos de Documentos"}]}}],$R=()=>ye(()=>import("./LicitacoesDetalhes-Bt1Av65y.js"),__vite__mapDeps([49,50,51])),MR=()=>ye(()=>import("./LicitacoesBusca-CwDvR1TV.js"),__vite__mapDeps([52,50,53])),kR=()=>ye(()=>import("./LicitacoesBem-YZKlkCD5.js"),__vite__mapDeps([54,50,55])),UR=()=>ye(()=>import("./BancoPrecos-C_eX4pT4.js"),__vite__mapDeps([56,50,57])),LR=[{path:"/",name:"Busca",component:MR,meta:{breadcrumb:[{nome:"Licitações/Contratações"}]}},{path:"/:codpcddsp",name:"Detalhamento",component:$R,meta:{breadcrumb:[{nome:"Licitações/Contratações",rawlink:"/contratacoes/"},{nome:"Contratação #${codpcddsp}",link:"/contratacoes/${codpcddsp}"}]},beforeEnter(t,e,r){let{query:a}=e,o=t.meta.breadcrumb[0],n=Object.entries(a).map(([s,i])=>`${s}=${i}`).join("&");o.link=`${o.rawlink}?${n}`,r()}},{path:"/bem/:codbem",name:"ItemBem",component:kR,meta:{breadcrumb:[{nome:"Licitações/Contratações",rawlink:"/contratacoes/"},{nome:"Bem nº ${codbem}",link:"/contratacoes/bem/${codbem}"}]},beforeEnter(t,e,r){let a=Object.keys(e.meta).length===0?{link:"/contratacoes/"}:e.meta.breadcrumb[0],o=t.meta.breadcrumb[0],n=a.link;o.link=n,r()}},{path:"/banco/precos",name:"Banco",component:UR,meta:{breadcrumb:[{nome:"Licitações/Contratações",link:"/contratacoes"},{nome:"Banco de Preços",link:"/contratacoes/banco/precos"}]}}];class FR extends Ir{listarProgramasCPGsEAutoavaliacoes(e){return this.post("/uspproc/listar/janus/uspprocListarAutoavaliacoesPorPessoaEAno",e)}listarAnosDeAvaliacao(){return new Promise((e,r)=>{e([{ano:2024}])})}}const jR={name:"ItemQuestionarioRespondido",mounted(){},methods:{},props:{tituloDoCartao:null,questoesERespostas:{type:Array,required:!0}},data(){return{}}};var VR=function(){var e=this,r=e._self._c;return r("uspCartao",{key:e.tituloDoCartao,attrs:{titulo:e.tituloDoCartao}},[r("template",{slot:"corpo"},[r("ul",{staticClass:"list-unstyled"},e._l(e.questoesERespostas,function(a){return r("li",[r("p",{staticClass:"font-weight-bold"},[e._v(e._s(a.textoDaQuestao))]),r("pre",[e._v(e._s(a.textoDaResposta))])])}),0)])],2)},BR=[],zR=ce(jR,VR,BR,!1,null,null);const GR=zR.exports,qR={name:"ListaQuestionariosRespondidos",components:{ItemQuestionarioRespondido:GR},props:{itens:{type:Array}},methods:{obtemTituloDoCartao(t){return t.linhasDeUmQuestionario[1].textoDaQuestao+": "+t.linhasDeUmQuestionario[1].textoDaResposta},fitraLinhasDeUmQuestionario(t){return t.filter(e=>e.codigoDaQuestao!="2"&&!(e.nomeDoQuestionario==="Janus:Formulário de Autoavaliação - Pareceristas"&&e.codigoDaQuestao==="5"))}}};var HR=function(){var e=this,r=e._self._c;return r("div",[r("ul",{staticClass:"list-unstyled"},[e.itens!=null&&e.itens.length===0?r("div",{staticClass:"m-3"},[e._v("Não há questionários respondidos para Programa, ano e tipo de avaliador.")]):e._e(),e._l(e.itens,function(a){return r("li",[r("div",[r("ItemQuestionarioRespondido",{attrs:{tituloDoCartao:e.obtemTituloDoCartao(a),questoesERespostas:e.fitraLinhasDeUmQuestionario(a.linhasDeUmQuestionario)}})],1)])})],2)])},YR=[],WR=ce(qR,HR,YR,!1,null,null);const Yi=WR.exports,Qd=FR.build({}),JR={name:"ConsultaQuestionarios",mounted(){this.populaFiltros()},methods:{populaFiltros(){const t=this;Qd.listarAnosDeAvaliacao().then(e=>{t.preencheAnosDeAvaliacaoDisponiveis(e),t.anoSelecionado!=null&&t.obtemCpgsProgramasEAutoavaliacoesParaAno(t.anoSelecionado)})},obtemCpgsProgramasEAutoavaliacoesParaAno(t){const e=this;e.carregado=!1,Qd.listarProgramasCPGsEAutoavaliacoes({anoDaAutoavaliacao:t}).then(r=>{e.autoavaliacoesDisponiveis=r,e.preencheCpgsEProgramasDisponiveis(r),e.cpgSelecionada!=null&&e.filtraProgramasPorCPGSelecionada(),e.carregado=!0}).catch(r=>{e.cpgsDisponiveis=[],e.programasDisponiveis=[],e.programasDisponiveisParaCpgSelecionada=[],e.carregado=!0,e.erro=(r||"").mensagem||r})},filtraProgramasEPopulaAbas(){this.filtraProgramasPorCPGSelecionada(),this.populaAbas()},preencheCpgsEProgramasDisponiveis(t){const e=this,r=new Set,a=new Set;t.forEach(o=>{a.has(o.codigoDoPrograma)||(a.add(o.codigoDoPrograma),e.programasDisponiveis.push({codigoDoPrograma:o.codigoDoPrograma,nomeDoPrograma:o.nomeDoPrograma,codigoDoColegiado:o.codigoDoColegiado})),r.has(o.codigoDoColegiado)||(r.add(o.codigoDoColegiado),e.cpgsDisponiveis.push({codigoDoColegiado:o.codigoDoColegiado,nomeAbreviadoDoColegiado:o.nomeAbreviadoDoColegiado}))}),e.cpgsDisponiveis.length===1&&(e.cpgSelecionada=e.cpgsDisponiveis[0]),e.cpgsDisponiveis.sort(function(o,n){var s=o.nomeAbreviadoDoColegiado.toUpperCase(),i=n.nomeAbreviadoDoColegiado.toUpperCase();return si?1:0})},preencheAnosDeAvaliacaoDisponiveis(t){const e=this;t.forEach(r=>{e.anosDisponiveis.push(r.ano)}),e.anosDisponiveis.length===1&&(e.anoSelecionado=e.anosDisponiveis[0])},populaAbas(){const t=this;if(t.programaSelecionado===null||t.anoSelecionado===null)return;const e=[],r=[],a=[];t.autoavaliacoesDisponiveis.filter(o=>o.codigoDoPrograma===t.programaSelecionado.codigoDoPrograma).forEach(o=>{o.nomeDoQuestionario==="Janus:Formulário de Autoavaliação - Coordenação"?e.push(o):o.nomeDoQuestionario==="Janus:Formulário de Autoavaliação - Relatores"?r.push(o):o.nomeDoQuestionario==="Janus:Formulário de Autoavaliação - Pareceristas"&&a.push(o)}),t.prencheItensDasAbas(e.sort(t.ordernaPorCodigoDaQuestao),r.sort(t.ordernaPorCodigoDaQuestao),a.sort(t.ordernaPorCodigoDaQuestao))},ordernaPorCodigoDaQuestao(t,e){return t.codigoDaQuestaoe.codigoDaQuestao?1:0},prencheItensDasAbas(t,e,r){const a=this;a.preencheItensDaAba(a.INDICE_DAS_ABAS.Coordenação,t),a.preencheItensDaAba(a.INDICE_DAS_ABAS.Pareceristas,r),a.preencheItensDaAba(a.INDICE_DAS_ABAS.Relator,e)},preencheItensDaAba(t,e){const r=this,a=new Set;e.forEach(n=>{a.add(n.sequencialResposta)});const o=[];a.forEach(n=>{const s=e.filter(i=>i.sequencialResposta===n);o.push({codigoDoQuestionario:e[0].codigoDoQuestionario,nomeDoQuestionario:e[0].nomeDoQuestionario,sequencialRespostaDoQuestionario:n,linhasDeUmQuestionario:s})}),r.dadosParaAbas[t].itensDoComponente=o},filtraProgramasPorCPGSelecionada(){const t=this;t.programasDisponiveisParaCpgSelecionada=[],t.programasDisponiveis.filter(e=>e.codigoDoColegiado===t.cpgSelecionada.codigoDoColegiado).forEach(e=>{t.programasDisponiveisParaCpgSelecionada.push({codigoDoPrograma:e.codigoDoPrograma,nomeDoPrograma:e.nomeDoPrograma})}),t.programasDisponiveisParaCpgSelecionada.length===1&&(t.programaSelecionado=t.programasDisponiveisParaCpgSelecionada[0],this.populaAbas()),t.programasDisponiveisParaCpgSelecionada.sort(function(e,r){var a=e.nomeDoPrograma.toUpperCase(),o=r.nomeDoPrograma.toUpperCase();return ao?1:0})}},data(){return{erro:"",carregado:!0,INDICE_DAS_ABAS:{Coordenação:0,Pareceristas:1,Relator:2},cpgsDisponiveis:[],programasDisponiveis:[],programasDisponiveisParaCpgSelecionada:[],anosDisponiveis:[],autoavaliacoesDisponiveis:[],cpgSelecionada:null,programaSelecionado:null,anoSelecionado:null,dadosParaAbas:[{titulo:"Coordenação",componente:Yi,itensDoComponente:null},{titulo:"Pareceristas",componente:Yi,itensDoComponente:null},{titulo:"Relator",componente:Yi,itensDoComponente:null}]}}};var QR=function(){var e=this,r=e._self._c;return r("section",[r("div",{staticClass:"container-fluid"},[r("uspCartao",{attrs:{titulo:"Autoavaliação",fechavel:!1}},[r("template",{slot:"corpo"},[r("uspAlerta",{directives:[{name:"show",rawName:"v-show",value:!!e.erro,expression:"!!erro"}],attrs:{variante:"perigo",fechavel:""}},[e._v(" "+e._s(e.erro)+" ")]),r("div",{staticClass:"filtros mb-3"},[r("form",{staticClass:"d-flex flex-wrap justify-content-start"},[r("div",{staticClass:"mr-3"},[r("label",[e._v(" Ano de Autoavaliação "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.anoSelecionado,expression:"anoSelecionado"}],staticClass:"form-control form-control-sm",on:{change:[function(a){var o=Array.prototype.filter.call(a.target.options,function(n){return n.selected}).map(function(n){var s="_value"in n?n._value:n.value;return s});e.anoSelecionado=a.target.multiple?o:o[0]},e.obtemCpgsProgramasEAutoavaliacoesParaAno]}},e._l(e.anosDisponiveis,function(a,o){return r("option",{key:o,domProps:{value:a}},[e._v(" "+e._s(a)+" ")])}),0)])]),r("div",{staticClass:"mr-3"},[r("label",[e._v(" CPG "),r("span",{directives:[{name:"show",rawName:"v-show",value:!e.carregado,expression:"!carregado"}],staticClass:"spinner-border spinner-border-sm"}),r("select",{directives:[{name:"model",rawName:"v-model",value:e.cpgSelecionada,expression:"cpgSelecionada"}],staticClass:"form-control form-control-sm cpgSelect",on:{change:[function(a){var o=Array.prototype.filter.call(a.target.options,function(n){return n.selected}).map(function(n){var s="_value"in n?n._value:n.value;return s});e.cpgSelecionada=a.target.multiple?o:o[0]},e.filtraProgramasEPopulaAbas]}},e._l(e.cpgsDisponiveis,function(a,o){return r("option",{key:o,domProps:{value:a}},[e._v(" "+e._s(a.nomeAbreviadoDoColegiado+" ("+a.codigoDoColegiado+")")+" ")])}),0)])]),r("div",{staticClass:"mr-3"},[r("label",[e._v(" Programa "),r("span",{directives:[{name:"show",rawName:"v-show",value:!e.carregado,expression:"!carregado"}],staticClass:"spinner-border spinner-border-sm"}),e.carregado?e._e():r("div",{staticClass:"usp-loading-item"}),r("select",{directives:[{name:"model",rawName:"v-model",value:e.programaSelecionado,expression:"programaSelecionado"}],staticClass:"form-control form-control-sm programaSelect",on:{change:[function(a){var o=Array.prototype.filter.call(a.target.options,function(n){return n.selected}).map(function(n){var s="_value"in n?n._value:n.value;return s});e.programaSelecionado=a.target.multiple?o:o[0]},e.populaAbas]}},e._l(e.programasDisponiveisParaCpgSelecionada,function(a,o){return r("option",{key:o,domProps:{value:a}},[e._v(" "+e._s(a.nomeDoPrograma+" ("+a.codigoDoPrograma+")")+" ")])}),0)])])])]),r("uspAbas",{attrs:{itens:e.dadosParaAbas}})],1)],2)],1)])},KR=[],ZR=ce(JR,QR,KR,!1,null,null);const XR=ZR.exports,ew=[{path:"/consulta-questionarios/",name:"consulta-questionarios",component:XR,meta:{breadcrumb:[{nome:"Consulta Questionários"}]}}],tw=()=>ye(()=>import("./Monitoramento-DhHEPtod.js"),__vite__mapDeps([58,59])),rw=()=>ye(()=>import("./ComumwebListagem-B6USykuY.js"),[]),aw="interno-sti",nw="comumweb",ow=[{path:"/monitoramento",name:"Monitoramento",component:tw,meta:{logado:!0,breadcrumb:[{nome:"Monitoramento"}]}},{path:`/${nw}/:path*`,name:"comumweb",component:rw,meta:{logado:!0,breadcrumb:[]}}];class wu extends Ir{async listarSistemas(){return await this.post("uspproc/listar/ssu/listarSISTEMANOMES")}async listarSistemasSolicitante(){return await this.post("uspproc/listar/ssu/listarSSUSistemasSolicitante")}async listarRestrDom(e){return await this.post("uspproc/listar/ssu/listarSSURESTRDOM",e)}listarSistemasPermitidos(e){return this.post("/uspproc/listar/ssu/listarSSUSISTEMASPERMITIDOS",e)}async inserirUsuario(e){return await this.post("/uspproc/executar/ssu/inserirSSUUSUARIO",e)}async listarUsuarios(e){return await this.post("/uspproc/listar/ssu/listarSSUUSUARIOS",e)}listarOrdpriatdUsuario(e){return this.post("/uspproc/listar/ssu/listarOrdpriatdUsuario",e)}listarUsuariosMenciona(e){return this.post("/uspproc/listar/ssu/listarUsuariosSSUMarcacao",e)}listarUsuariosDashboard(e){return this.post("/uspproc/listar/ssu/listarUSUARIOSDASHBOARD",e)}async inserirPerfil(e){return await this.post("/uspproc/executar/ssu/inserirSSUPERFIL",e)}async listarOutrosPerfis(e){return await this.post("uspproc/listar/ssu/listarSSUOUTROSPERFIS",e)}async alterarUsuario(e){return await this.post("uspproc/executar/ssu/alterarSSUUSUARIO",e)}async alterarPerfil(e){return await this.post("uspproc/executar/ssu/alterarSSUPERFIL",e)}async alterarPerfilPrincipal(e){return await this.post("uspproc/executar/ssu/alterarSSUPERFILPRINCIPAL",e)}async excluirUsuario(e){return await this.post("uspproc/executar/ssu/removerSSUUSUARIO",e)}async excluirPerfilAdicional(e){return await this.post("uspproc/executar/ssu/removerSSUUSUARIOPERFIL",e)}listarNumnivsegSsu(e){return this.post("/uspproc/listar/ssu/listarSSUNUMNIVSEG",e)}async listarPerfis(e){return await this.post("/uspproc/listar/ssu/listarSSUPERFIL",e)}async listarSistemasPerfil(e){return await this.post("uspproc/listar/ssu/listarSSUSISTEMAPERFIL",e)}listarUsuariosAlocacao(e){return this.post("/uspproc/listar/ssu/listarSSUALOCACAOUSUARIO",e)}async obterUsuario(e){return await this.post("/uspproc/obter/ssu/obterSSUUSUARIO",e)}buscarUsuario(e){return this.post("/uspproc/listar/ssu/buscarUSUARIOSSU",e)}obterNumnivseg(e){return this.post("/uspproc/obter/ssu/obterSSUNUMNIVSEG",e)}listarAlocacao(e){return this.post("/uspproc/listar/ssu/listarSSUALOCACAO",e)}obterAlocado(e){return this.post("/uspproc/obter/ssu/obterSSUALOCACAO",e)}async inserirAlocacao(e){return this.post("/uspproc/obter/ssu/inserirSSUALOCACAO",e)}listarAndamentos(e){return this.post("/uspproc/listar/ssu/listarSSUANDAMENTO",e)}alterarAndamento(e){return this.post("/uspproc/executar/ssu/alterarSSUANDAMENTO",e)}inserirAndamento(e){return this.post("/uspproc/obter/ssu/inserirSSUANDAMENTO",e)}obterNotificacoes(e){return this.post("/uspproc/obter/ssu/obterNotificacoes",e)}listarMinhasDemandas(e){return this.post("/uspproc/listar/ssu/listarMinhasDemandas",e)}listarOutrasDemandas(e){return this.post("/uspproc/listar/ssu/listarOutrasDemandas",e)}listarSolicitacaoDashboard(e){return this.post("/uspproc/listar/ssu/listarSSUSOLICITACAODASHBOARD",e)}listarSolicitacaoHistorico(e){return this.post("/uspproc/listar/ssu/listarSSUSOLICITACAOHIST",e)}async alterarSolicitacao(e){return this.post("/uspproc/obter/ssu/alterarSSUSOLICITACAO",e)}async inserirSolicitacao(e){return this.post("/uspproc/obter/ssu/inserirSSUSOLICITACAO",e)}obterSSU(e){return this.post("/uspproc/obter/ssu/obterSSUSOLICITACAO",e)}obterAlocacoesUsuario(e){return this.post("/uspproc/listar/ssu/obterSSUALOCACAOUSUARIO",e)}alterarOrdpriatd(e){return this.post("/uspproc/executar/ssu/alterarOrdpriatd",e)}listarTipoSituacao(e){return this.post("/uspproc/listar/ssu/listarSSUTIPOSITUACAO",e)}obterTipoSituacao(e){return this.post("/uspproc/obter/ssu/obterSSUTIPOSITUACAO",e)}obterSituacaoInicial(e){return this.post("/uspproc/obter/ssu/obterSSUTIPOSITUACAOINICIAL",e)}listarEtapas(e){return this.post("/uspproc/listar/ssu/listarSSUETAPA",e)}listarTipoAtendimento(e){return this.post("/uspproc/listar/ssu/listarSSUTIPOATENDIMENTO",e)}listarChecklists(e){return this.post("/uspproc/listar/ssu/listarSSULISTAVERIFICACAO",e)}listarCheckboxes(e){return this.post("/uspproc/listar/ssu/listarSSULISTAVERIFICITEM",e)}obterChecklist(e){return this.post("/uspproc/obter/ssu/obterSSULISTAVERIFICACAO",e)}alterarChecklist(e){return this.post("/uspproc/executar/ssu/alterarSSULISTAVERIFICACAO",e)}alterarCheckbox(e){return this.post("/uspproc/executar/ssu/alterarSSULISTAVERIFICITEM",e)}removerCheckbox(e){return this.post("/uspproc/executar/ssu/removerSSULISTAVERIFICITEM",e)}removerChecklist(e){return this.post("/uspproc/executar/ssu/removerSSULISTAVERIFICACAO",e)}inserirChecklist(e){return this.post("/uspproc/obter/ssu/inserirSSULISTAVERIFICACAO",e)}inserirCheckbox(e){return this.post("/uspproc/obter/ssu/inserirSSULISTAVERIFICITEM",e)}async listarArquivos(e){return this.post("/uspproc/listar/ssu/listarSSUARQUIVO",e)}listarArquivosAlocacao(e){return this.post("/uspproc/listar/ssu/listarArquivosAlocacao",e)}removerArquivo(e){return this.post("/uspproc/executar/ssu/removerSSUARQUIVO",e)}salvarDocumento(e,r){return this.post("/uspproc/upload/ssu/salvarSSUARQUIVO",r,[e])}obterDocumento(e){return this.download("/uspproc/download/ssu/obterSSUARQUIVO?codarqsol_fs="+e.codarqsol_fs)}alterarArquivo(e){return this.post("/uspproc/executar/ssu/alterarSSUARQUIVO",e)}marcarLido(e){return this.post("/uspproc/obter/ssu/alterarMarcacao",e)}marcarRespondido(e){return this.post("/uspproc/obter/ssu/marcarRespondido",e)}buscarSSU(e){return this.post("/uspproc/listar/ssu/buscarSOLICITACAO",e)}obterConfiguracoes(e){return this.post("/uspproc/obter/ssu/obterSSUConfiguracoes",e)}alterarConfiguracoes(e){return this.post("/uspproc/executar/ssu/alterarSSUConfiguracoes",e)}listarModulosPermitidos(e){return this.post("/uspproc/listar/ssu/listarModulosPermitidos",e)}listarModulos(e){return this.post("/uspproc/listar/ssu/listarSSUMODULOSISTEMA",e)}listarSistemaModulo(e){return this.post("/uspproc/listar/ssu/listarPermissaoSistema",e)}inserirSistemaModulo(e){return this.post("/uspproc/executar/ssu/inserirSSUMODULOSISTEMA",e)}obterSistemaModulo(e){return this.post("/uspproc/obter/ssu/obterSSUMODULOSISTEMA",e)}alterarSistemaModulo(e){return this.post("/uspproc/executar/ssu/alterarSSUMODULOSISTEMA",e)}removerSistemaModulo(e){return this.post("/uspproc/executar/ssu/removerSSUMODULOSISTEMA",e)}}const Kd=wu.build({}),sw={name:"SistemasSelect",props:{value:{type:Array,required:!0},showAll:{type:Boolean,default:!1}},data(){return{sistemas:[],selectedSistemas:[],searchQuery:"",dropdownVisible:!1}},watch:{value(t){this.selectedSistemas=t},showAll(t){this.listarSistemas(t)}},computed:{selectedSistemasString(){return this.isAllSelected?"Todos os sistemas":this.selectedSistemas.join(", ")},filteredSistemas(){return this.sistemas.filter(t=>{var e;return(e=t==null?void 0:t.nomsis)==null?void 0:e.toLowerCase().includes(this.searchQuery.toLowerCase())})},isAllSelected(){return this.sistemas.length>0&&this.sistemas.every(t=>this.selectedSistemas.includes(t.nomsis))}},methods:{listarSistemas(t){t?Kd.listarSistemas().then(e=>{this.sistemas=e}).catch(e=>{this.erro=e}):Kd.listarSistemasSolicitante().then(e=>{this.sistemas=e}).catch(e=>{this.erro=e})},emitChange(){this.$emit("update:selectedSistemas",this.selectedSistemas)},showDropdown(){this.sistemas.length===0&&this.listarSistemas(this.showAll),this.dropdownVisible=!0},toggleSelectAll(t){t.target.checked?this.selectedSistemas=this.filteredSistemas.map(e=>e.nomsis):this.selectedSistemas=[],this.emitChange()},hideDropdown(){setTimeout(()=>{this.dropdownVisible=!1},200)},handleClickOutside(t){this.$refs.dropdown.contains(t.target)||this.hideDropdown()}},mounted(){document.addEventListener("click",this.handleClickOutside)},beforeDestroy(){document.removeEventListener("click",this.handleClickOutside)}};var iw=function(){var e=this,r=e._self._c;return r("div",{ref:"dropdown",staticClass:"dropdown",on:{click:function(a){a.stopPropagation()}}},[r("input",{staticClass:"form-control",attrs:{type:"text",id:"sistema-select",placeholder:"- Selecione -",readonly:""},domProps:{value:e.selectedSistemasString},on:{focus:e.showDropdown}}),e.dropdownVisible?r("div",{staticClass:"dropdown-content"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.searchQuery,expression:"searchQuery"}],attrs:{type:"text",placeholder:"Pesquisar..."},domProps:{value:e.searchQuery},on:{input:function(a){a.target.composing||(e.searchQuery=a.target.value)}}}),r("label",{staticClass:"dropdown-item"},[r("input",{attrs:{type:"checkbox"},domProps:{checked:e.isAllSelected},on:{change:e.toggleSelectAll}}),e._v(" Selecionar todos ")]),e._l(e.filteredSistemas,function(a){return r("label",{key:a.nomsis,staticClass:"dropdown-item"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedSistemas,expression:"selectedSistemas"}],attrs:{type:"checkbox"},domProps:{value:a.nomsis,checked:Array.isArray(e.selectedSistemas)?e._i(e.selectedSistemas,a.nomsis)>-1:e.selectedSistemas},on:{change:[function(o){var n=e.selectedSistemas,s=o.target,i=!!s.checked;if(Array.isArray(n)){var c=a.nomsis,u=e._i(n,c);s.checked?u<0&&(e.selectedSistemas=n.concat([c])):u>-1&&(e.selectedSistemas=n.slice(0,u).concat(n.slice(u+1)))}else e.selectedSistemas=i},e.emitChange]}}),e._v(" "+e._s(a.nomsis)+" ")])})],2):e._e()])},cw=[],uw=ce(sw,iw,cw,!1,null,"f2884445");const lw=uw.exports,Wi=wu.build({}),dw={components:{SistemasSelect:lw},props:{codpes:{type:String,required:!0},numnivseg:{type:String,required:!0}},data(){return{nompesvalue:"",codpesvalue:"",perfil:null,outrosPerfis:[],erro:{tipo:"perigo",mensagem:null},aviso:{tipo:"perigo",mensagem:null},selectedSistemas:[],teste:[1,2,3],removedSistemas:[],salvando:!1,selected_numnivseg:""}},mounted(){this.codpesvalue=this.codpes,this.selected_numnivseg=parseInt(this.numnivseg),this.obterUsuario()},computed:{shouldShowSistema(){const t=parseInt(this.numnivseg);return t==2||t==3||t==8},showAllSistemas(){return parseInt(this.numnivseg)==2},isFormValid(){return this.codpesvalue&&this.selected_numnivseg},getselectedSistemas(){return this.selectedSistemas}},methods:{obterUsuario(){var t={codpes:this.codpesvalue};Wi.obterUsuario(t).then(e=>{if(this.perfil=e,this.nompesvalue=this.perfil.nompes,this.shouldShowSistema){var r={codpes:this.codpesvalue,numnivseg:parseInt(this.numnivseg)};Wi.listarRestrDom(r).then(a=>{this.selectedSistemas=[];for(let o=0;o{a.mensagem?this.aviso={tipo:"perigo",mensagem:a.mensagem}:this.aviso={tipo:"perigo",mensagem:a||"Erro inesperado ao buscar sistemas."}})}}).catch(e=>{this.erro=e})},atualizarSistemas(){this.selected_numnivseg==2||this.selected_numnivseg==3||this.selected_numnivseg==8?parseInt(this.numnivseg)===this.selected_numnivseg?this.selectedSistemas=this.perfil.sistemas:this.selectedSistemas=[]:this.selectedSistemas=[]},async alterarPerfil(){var n,s;if(!this.validateFields())return;this.salvando=!0;let t=(n=this.selectedSistemas)==null?void 0:n.filter(i=>{var c;return!((c=this.perfil.sistemas)!=null&&c.includes(i))}),e=t==null?void 0:t.join(","),r=(s=this.perfil.sistemas)==null?void 0:s.filter(i=>{var c;return!((c=this.selectedSistemas)!=null&&c.includes(i))}),a=r==null?void 0:r.join(",");const o={codpes:this.codpesvalue,numnivseg:parseInt(this.numnivseg),lstsisins:e,lstsisrem:a};Wi.alterarPerfil(o).then(i=>{this.salvando=!1,this.$toast.success("Perfil atualizado com sucesso!"),this.$router.push({name:"Ssu:AlterarUsuario",params:{codpes:this.codpesvalue}})}).catch(i=>{this.$toast.error("Erro ao atualizar perfil."),i.mensagem?this.aviso={tipo:"perigo",mensagem:i.mensagem}:this.aviso={tipo:"perigo",mensagem:"Erro inesperado ao atualizar usuário."},this.salvando=!1})},updateSelectedSistemas(t){this.selectedSistemas=t},buscarRestrDom(){for(let t=0;t{r[a.nomsispmd]?r[a.nomsispmd].push(a.numnivseg):r[a.nomsispmd]=[a.numnivseg]}),r}static buildFromObjectList(e=[{}]){return new ks(e[0].codpes,this.parseRestrdom(e))}static buildFromJson(e={}){return new ks(e.codpes,e.nompes,e.numnivseg,e.nomnivseg)}}const vw=()=>ye(()=>import("./IndiceSSU-Cu1iGVhk.js"),__vite__mapDeps([60,61,62])),Ji=()=>ye(()=>import("./NovoSSU-BwSsVUVI.js"),__vite__mapDeps([63,64,65,61,66])),gw=()=>ye(()=>import("./GerenciarUsuarios-1KHGgMXm.js"),__vite__mapDeps([67,68])),bw=()=>ye(()=>import("./CadastrarUsuario-CG3V2CKo.js"),__vite__mapDeps([69,70])),_w=()=>ye(()=>import("./AlterarUsuario-UOQNSGB0.js"),__vite__mapDeps([71,72])),Aw=()=>ye(()=>import("./NovoPerfil-CwCC2hpt.js"),__vite__mapDeps([73,74])),Sw=()=>ye(()=>import("./DashboardSSU-Bp757Sor.js"),__vite__mapDeps([75,61,64,65,76])),yw=()=>ye(()=>import("./BuscaSSU-QYubfH7a.js"),__vite__mapDeps([77,78])),Ow=()=>ye(()=>import("./ConfiguracoesSSU-BmCmktdK.js"),__vite__mapDeps([79,80])),Ew=()=>ye(()=>import("./GerenciarModulos-CjCmkyqI.js"),[]),Zd=()=>ye(()=>import("./NovoModuloSSU-9fqAJtZS.js"),[]),Cw=wu.build({}),ea=function(t,e,r){e.params.perfis?(t.params.perfis=e.params.perfis,r()):Cw.buscarUsuario().then(a=>{const o=ks.buildFromObjectList(a);o?(t.params.perfis=o,r()):r("/")}).catch(a=>{Ze.error(a.mensagem),r("/")})},Rw=[{path:"/",name:"Indice",component:vw,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/#"}]},beforeEnter(t,e,r){ea(t,e,r)}},{path:"/demanda",name:"Novo",component:Ji,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Nova Demanda"}]},beforeEnter(t,e,r){t.params.method="include",t.params.redirectUrl="Ssu:Indice",ea(t,e,r)}},{path:"/demanda/:numssu",name:"Demanda",component:Ji,props:!0,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"SSU #${numssu}"}]},beforeEnter(t,e,r){t.params.method="alter",t.params.redirectUrl="Ssu:Indice",ea(t,e,r)}},{path:"/dashboard",name:"Dashboard",component:Sw,props:!0,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Dashboard"}]},beforeEnter(t,e,r){ea(t,e,r)}},{path:"dashboard/demanda/:numssu",name:"DemandaDashboard",component:Ji,props:!0,beforeEnter(t,e,r){t.params.method="alter",t.params.redirectUrl="Ssu:Dashboard",ea(t,e,r)},meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Dashboard",link:"/ssu/dashboard/"},{nome:"SSU #${numssu}"}]}},{path:"/usuarios",name:"Usuarios",component:gw,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Usuários"}]}},{path:"/usuarios/novo",name:"NovoUsuario",component:bw,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Usuários",link:"/ssu/usuarios"},{nome:"Novo usuário"}]}},{path:"/usuarios/:codpes",name:"AlterarUsuario",component:_w,props:!0,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Usuários",link:"/ssu/usuarios"},{nome:"Alterar usuário"}]}},{path:"/usuarios/:codpes/novo",name:"NovoPerfil",component:Aw,props:!0,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Usuários",link:"/ssu/usuarios"},{nome:"Alterar usuário",link:"/ssu/usuarios/${codpes}"},{nome:"Novo perfil"}]}},{path:"/usuarios/:codpes/alterar/:numnivseg",name:"AlterarPerfilAdicional",component:mw,props:!0,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Usuários",link:"/ssu/usuarios"},{nome:"Alterar usuário",link:"/ssu/usuarios/${codpes}"},{nome:"Perfil adicional"}]}},{path:"/busca",name:"Busca",component:yw,props:!0,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Busca"}]}},{path:"/configuracoes",name:"Configuracoes",component:Ow,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Configurações"}]}},{path:"/modulos",name:"Modulos",component:Ew,meta:{logado:!0,breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Módulos"}]},beforeEnter(t,e,r){ea(t,e,r)}},{path:"/modulos/novo",name:"NovoModulo",component:Zd,meta:{breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Módulos",link:"/ssu/modulos/"},{nome:"Novo módulo"}]},beforeEnter(t,e,r){ea(t,e,r)}},{path:"/modulos/:nomsismdu/:numseqmdussu",name:"EditarModulo",component:Zd,meta:{breadcrumb:[{nome:"SSU",link:"/ssu/"},{nome:"Módulos",link:"/ssu/modulos/"},{nome:"${nomsismdu} - Módulo ${nommdusis}"}]},beforeEnter(t,e,r){ea(t,e,r)}}],ww="/imgs/image.png",Tw={name:"NaoEncontrado"};var Dw=function(){var e=this,r=e._self._c;return r("section",[r("div",{staticClass:"container-fluid"},[r("uspCartao",{attrs:{titulo:"Página não encontrada"},scopedSlots:e._u([{key:"corpo",fn:function(){return[r("div",{staticClass:"container"},[r("div",{staticClass:"row d-flex justify-content-around"},[r("div",{staticClass:"col-xl-6 mensagem"},[r("h1",[e._v("Sinto muito!")]),r("h2",[e._v("Não encontramos a página que você estava procurando.")]),r("h3",[e._v("Talvez o endereço usado esteja errado ou a página não exista mais.")]),r("p",[e._v("Código do erro: 404")])]),r("div",{staticClass:"col-xl-4 ilustracao"},[r("img",{staticClass:"img-fluid",attrs:{src:ww,alt:"Ilustração de uma pessoa coçando a cabeça confusa olhando para um letreiro com o número 404"}}),r("a",{attrs:{target:"_blank",href:"//www.freepik.com/free-vector/error-404-concept-landing-page_4660894.htm#page=1&query=not%20found&position=0"}},[e._v("Créditos: Freepik")])])])])]},proxy:!0}])})],1)])},xw=[],Pw=ce(Tw,Dw,xw,!1,null,null);const Nw=Pw.exports;se.use(Ph);const Tu=[],Qt=(t={},e="")=>{t.path[0]!=="/"&&(t.path="/"+t.path),e&&(t.path=`/${e.toLowerCase()}${t.path}`,t.name=`${e[0].toUpperCase()}${e.substring(1)}:${t.name}`),Tu.push(t)};eR.forEach(t=>Qt(t));lR.forEach(t=>Qt(t,"assina"));mR.forEach(t=>Qt(t,"usp-drive"));ER.forEach(t=>Qt(t,"processos"));TR.forEach(t=>Qt(t,"proserv"));SR.forEach(t=>Qt(t,"novaFolha"));xR.forEach(t=>Qt(t,"mandato"));IR.forEach(t=>Qt(t,"iddigital"));nR.forEach(t=>Qt(t,"dash"));LR.forEach(t=>Qt(t,"contratacoes"));ew.forEach(t=>Qt(t,"pos-graduacao"));ow.forEach(t=>Qt(t,aw));Rw.forEach(t=>Qt(t,"ssu"));Tu.push({path:"*",component:Nw});const Uh=new Ph({mode:"history",base:"/",scrollBehavior(t,e,r){return t.hash?{selector:t.hash}:r||{x:0,y:0}},routes:Tu}),$t=gu.build({}),Iw={emails:{},token:localStorage.getItem(pr.AUTH.USUARIO_TOKEN)||"",usuarioLogado:localStorage.getItem(pr.AUTH.USUARIO_DISPLAY)||"",necessitaAtualizarEmailCelular:!1,validando:!1},$w={autenticado:t=>!!t.usuarioLogado,usuarioLogado:t=>t.usuarioLogado,emails:t=>t.emails,login:t=>t.usuarioLogado?t.usuarioLogado.replace(" ","").split("-")[0]:null,necessitaAtualizarEmailCelular:t=>t.necessitaAtualizarEmailCelular,validando:t=>t.validando},Mw={autenticar:(t,e)=>$t.autenticar(e.usuario,e.token).then(r=>{t.commit("usuarioLogado",r)}),deslogar:t=>$t.deslogar().finally(()=>{Ze.debug("Sessão encerrada, descarregando objetos autenticados"),t.commit("usuarioLogado"),t.commit("necessitaAtualizarEmailCelular")}),carregarSessao:t=>new Promise(e=>(Ze.debug("Encontrada sessão anterior, validando sua existência"),t.commit("validando",!0),$t.validar().then(r=>{Ze.debug("Sessão valida, carregando objetos autenticados"),t.commit("usuarioLogado",r),e(!0)}).catch(()=>e(!1)).finally(()=>t.commit("validando",!1)))),cadastrarSenha:(t,e)=>$t.cadastrarSenha(e),primeiroAcesso:(t,e)=>$t.primeiroAcesso(e.usuario,e.token),esqueciSenha:(t,e)=>$t.esqueciSenha(e.usuario,e.token),alterarSenha:(t,e)=>$t.alterarSenha(e),obterEmails:({commit:t})=>$t.obterEmails().then(e=>(t("emails",e),e)),necessitaAtualizarEmailCelular:({commit:t})=>$t.necessitaAtualizarEmailCelular().then(e=>(t("necessitaAtualizarEmailCelular",e.necessitaAtualizar==="S"),e)),obterCelular:()=>$t.obterCelular().then(t=>t),podeAtualizarEmailPrincipal:()=>$t.podeAtualizarEmailPrincipal(),salvarCelular:(t,e)=>$t.salvarCelular(e),alterarEmail:(t,e)=>$t.alterarEmail(e),confirmarAlteracaoEmail:(t,e)=>$t.confirmarAlteracaoEmail(e)},kw={usuarioLogado:(t,e)=>{e?(t.usuarioLogado=e.nomeUsuario,localStorage.setItem(pr.AUTH.USUARIO_DISPLAY,e.nomeUsuario),e.cookieSession||(t.token=e.idSessaoUsuario,localStorage.setItem(pr.AUTH.USUARIO_TOKEN,e.idSessaoUsuario))):(t.usuarioLogado="",t.token="",localStorage.removeItem(pr.AUTH.USUARIO_TOKEN),localStorage.removeItem(pr.AUTH.USUARIO_DISPLAY))},emails:(t,e)=>t.emails=e,necessitaAtualizarEmailCelular:(t,e)=>t.necessitaAtualizarEmailCelular=e,token:(t,e)=>{t.token=e,localStorage.setItem(pr.AUTH.USUARIO_TOKEN,e)},validando:(t,e)=>t.validando=e},Uw={namespaced:!0,state:Iw,getters:$w,actions:Mw,mutations:kw},Us="MENU_CARREGANDO",Ia="MENU_CARREGADO",un=$h.build({}),Lh=new xr("link-inicial","Início",null,"/",!0,"fas fa-home",[]),Lw=new xr("parcerias-e-beneficios","Parcerias e Benefícios",null,"/parcerias-e-beneficios/",!1,"fas fa-hands-helping",[new xr("dell","Dell",null,"https://uspdigital.usp.br/comumwebdev/arquivos/portal/USP-DELL-20250204.png",!1,"fas fa-laptop",[]),new xr("samsung","Samsung",null,"https://uspdigital.usp.br/comumwebdev/arquivos/portal/USP-SAMSUNG.pdf",!1,"fas fa-phone-square-alt",[]),new xr("samsung-flip5","Samsung Flip5",null,"https://uspdigital.usp.br/comumwebdev/arquivos/portal/USP-SAMSUNG-FLIP5.png",!1,"fas fa-mobile",[]),new xr("samsung-fold5","Samsung Fold5",null,"https://uspdigital.usp.br/comumwebdev/arquivos/portal/USP-SAMSUNG-FOLD5.png",!1,"fas fa-mobile-alt",[])]),Fw=(t,e,r,a)=>{if(e.length>0&&r.length>0&&t.length>0&&a.length>0){const o=e.find(s=>s.codigo==="pos-graduacao"),n=a.find(s=>s.codigo==="pos-graduacao");if(o){const s=Br.buildLista(t,o);o.addMenuprivado(s),s.forEach(i=>{var c;i.nomeSistema="Janus",Fh(r,i),(c=n==null?void 0:n.filhos)==null||c.push(i.toSidebarItemMenu())})}}},Fh=(t,e,r="")=>{var a,o;if(e.ePai())r&&(r+=" >> "),r+=e.titulo,e.filhos.forEach(n=>Fh(t,n,r));else{let n=new Xn(e.codigo,(a=e.arvore)==null?void 0:a.codigo,(o=e.arvore)==null?void 0:o.nome,(r?r+" >> ":"")+" "+e.titulo,!1,e.url,e.objetoweb,e.parametros,e.tipo,"Janus");t.push(n)}},jw={arvores:[],objetoweb:{},busca:[],externo:[],menu:[Lh],menuExpandido:!1,menuJanus:[],status:Us,statusJanus:Us},Vw={[xe.NAVEGACAO.MENU]:t=>t.menu,[xe.NAVEGACAO.ARVORES]:t=>t.arvores,[xe.NAVEGACAO.BUSCA]:t=>t.busca,[xe.NAVEGACAO.EXTERNO]:t=>t.externo,[xe.NAVEGACAO.MENU_EXPANDIDO]:t=>t.menuExpandido,[xe.NAVEGACAO.STATUS_CARREGADO]:t=>t.status===Ia,[xe.NAVEGACAO.STATUS_CARREGADO_JANUS]:t=>e=>e.codigo!=="pos-graduacao"||t.statusJanus===Ia,[xe.NAVEGACAO.OBJETOWEB]:t=>t.objetoweb},Bw={[it.NAVEGACAO.CARREGAR_PRIVADA]:({commit:t})=>(t(fe.NAVEGACAO.STATUS_CARREGANDO),un.obterNavegacaoPrivadaPedroweb().then(e=>{t(fe.NAVEGACAO.NAVEGACAO,{nav:e,logado:!0}),t(fe.NAVEGACAO.STATUS_MENU,Ia),un.obterNavegacaoPrivadaJanus().then(r=>{t(fe.NAVEGACAO.MENU_JANUS,r),t(fe.NAVEGACAO.STATUS_MENU_JANUS,Ia)})})),[it.NAVEGACAO.CARREGAR_PUBLICA]:({commit:t})=>(t(fe.NAVEGACAO.STATUS_CARREGANDO),un.obterNavegacaoPublica().then(e=>{t(fe.NAVEGACAO.NAVEGACAO,{nav:e,logado:!1}),t(fe.NAVEGACAO.STATUS_MENU,Ia),t(fe.NAVEGACAO.STATUS_MENU_JANUS,Ia)})),[it.NAVEGACAO.CRIAR_SESSAO_JANUS]:()=>un.obterSessaoJanus(),[it.NAVEGACAO.CARREGAR_OBJETOWEB_AREA]:({commit:t},{objeto:e,area:r,auth:a})=>un.obterNavegacaoObjetoArea(e,r,a).then(o=>(t(fe.NAVEGACAO.OBJETOWEB,o),o)),[it.NAVEGACAO.CARREGAR_OBJETOWEB_LEGADO]:({commit:t},{objeto:e,contexto:r,auth:a})=>un.obterNavegacaoObjetoLegado(e,r,a).then(o=>(t(fe.NAVEGACAO.OBJETOWEB,o),o))},zw={[fe.NAVEGACAO.MENU_EXPANDIDO]:t=>{t.menuExpandido=!t.menuExpandido},[fe.NAVEGACAO.MENU_JANUS]:(t,e)=>{t.menuJanus=e,t.status===Ia&&Fw(e,t.arvores,t.busca,t.menu)},[fe.NAVEGACAO.OBJETOWEB]:(t,e)=>t.objetoweb=e,[fe.NAVEGACAO.NAVEGACAO]:(t,{nav:e,logado:r})=>{t.externo=e.externo,t.arvores=e.arvores,t.busca=e.busca,t.menu=[Lh,...e.arvores.map(a=>a.toSidebarItemMenu())],r&&(t.menu.push(Lw),t.menu.push(new xr("outros-servicos","Outros Serviços",null,"/outros-servicos/",!1,"fas fa-layer-group",e.externo.map(a=>a.toSidebarItemMenu()))))},[fe.NAVEGACAO.STATUS_CARREGANDO]:t=>{t.status=Us,t.statusJanus=Us,t.arvores=[],t.busca=[],t.externo=[]},[fe.NAVEGACAO.STATUS_MENU]:(t,e)=>t.status=e,[fe.NAVEGACAO.STATUS_MENU_JANUS]:(t,e)=>t.statusJanus=e},Gw={namespaced:!1,state:jw,getters:Vw,actions:Bw,mutations:zw},Ln=kh.build({}),qw={aviso:{},avisos:[],novidades:[],status:Es,status_aviso:Es,tarefaParaAdiar:null,tarefas:[]},Hw={[xe.NOTIFICACOES.AVISO_PARA_VISUALIZAR]:t=>t.aviso,[xe.NOTIFICACOES.AVISOS]:t=>t.avisos,[xe.NOTIFICACOES.NOVIDADES]:t=>t.novidades,[xe.NOTIFICACOES.STATUS_CARREGADO]:t=>t.status===Cs,[xe.NOTIFICACOES.STATUS_AVISO_CARREGADO]:t=>t.status_aviso===Cs,[xe.NOTIFICACOES.TAREFA_PARA_ADIAR]:t=>t.tarefaParaAdiar,[xe.NOTIFICACOES.TAREFAS_ADIADAS]:t=>t.tarefas.filter(e=>e.adiado),[xe.NOTIFICACOES.TAREFAS_PENDENTES]:t=>t.tarefas.filter(e=>!e.adiado)},Yw={[it.NOTIFICACOES.ADIAR_TAREFA]:({commit:t},{tarefa:e,novaData:r})=>Ln.adiarTarefa(e.codigo,e.codigoArea,r).then(a=>t(fe.NOTIFICACOES.TAREFA_DATA_ADIADA,{tarefa:e,novaData:r,retorno:a})),[it.NOTIFICACOES.BAIXAR_TAREFA]:({commit:t},e)=>Ln.baixarTarefa(e.codigo,e.codigoArea).then(()=>t(fe.NOTIFICACOES.TAREFA_RETIRAR,e)),[it.NOTIFICACOES.CARREGAR]:({commit:t})=>(t(fe.NOTIFICACOES.STATUS,Es),Ze.info("Carregando notificações do usuário"),Ln.obterNotificacoes().then(e=>{t(fe.NOTIFICACOES.TAREFAS,e.tarefas),t(fe.NOTIFICACOES.AVISOS,e.avisos),t(fe.NOTIFICACOES.NOVIDADES,e.novidades)}).finally(()=>{t(fe.NOTIFICACOES.STATUS,Cs)})),[it.NOTIFICACOES.OBTER_AVISO]:async({commit:t},e)=>(t(fe.NOTIFICACOES.STATUS_AVISO,Es),t(fe.NOTIFICACOES.AVISO_PARA_VISUALIZAR,e),Ln.obterAvisoweb(e).then(r=>(t(fe.NOTIFICACOES.AVISO_PARA_VISUALIZAR,r),r)).catch(r=>{r.mensagemDesenvolvedor&&Ze.error(r.mensagemDesenvolvedor),se.$toast.error(`Erro ao visualizar Aviso: ${r.mensagem}`)}).finally(()=>{t(fe.NOTIFICACOES.STATUS_AVISO,Cs)})),[it.NOTIFICACOES.VISUALIZAR_TAREFA]:({commit:t},e)=>{if(t(fe.NOTIFICACOES.ESTENDIDO,e),e.estendido)return Ln.visualizarTarefa(e.codigo,e.codigoArea).then(r=>{t(fe.NOTIFICACOES.TAREFA_VISUALIZACAO,{tarefa:e,data:r})})}},Ww={[fe.NOTIFICACOES.AVISO_PARA_VISUALIZAR]:(t,e)=>{if(e){let r=t.avisos.find(o=>o.codigo===e.codigo);r&&(r.visualizacao=e.visualizacao);let a=t.novidades.find(o=>o.tipo==="aviso"&&o.codigo===e.codigo);a&&(a.visualizacao=e.visualizacao)}t.aviso=e||{}},[fe.NOTIFICACOES.AVISOS]:(t,e)=>t.avisos=e,[fe.NOTIFICACOES.ESTENDIDO]:(t,e)=>e.estendido=!e.estendido,[fe.NOTIFICACOES.NOVIDADES]:(t,e)=>t.novidades=e,[fe.NOTIFICACOES.STATUS]:(t,e)=>t.status=e,[fe.NOTIFICACOES.STATUS_AVISO]:(t,e)=>t.status_aviso=e,[fe.NOTIFICACOES.TAREFA_DATA_ADIADA]:(t,e)=>{let r=e.tarefa;r.adiadoPara=e.novaData,r.adiado=e.retorno.adiado==="S"},[fe.NOTIFICACOES.TAREFA_PARA_ADIAR]:(t,e)=>t.tarefaParaAdiar=e,[fe.NOTIFICACOES.TAREFA_RETIRAR]:(t,e)=>{t.tarefas=t.tarefas.filter(r=>r.codigo!==e.codigo)},[fe.NOTIFICACOES.TAREFA_VISUALIZACAO]:(t,{tarefa:e,data:r})=>{e.visualizadoEm=r.dtavlzalepoa;let a=t.novidades.find(o=>o.tipo==="alerta"&&o.codigo===e.codigo);a&&(a.visualizacao=r.dtavlzalepoa)},[fe.NOTIFICACOES.TAREFAS]:(t,e)=>t.tarefas=e},Jw={namespaced:!1,state:qw,getters:Hw,actions:Yw,mutations:Ww},Qw={auth:Uw,nav:Gw,notificacoes:Jw},de={ANDAMENTOS:{ANEXAR:"ANEXAR_ANDAMENTOS",ASSINAR:"ASSINAR_ANDAMENTOS",BUSCAR:"BUSCAR_ARQUIVOS_ANDAMENTOS",CARREGAR_ARQUIVO:"CARREGAR_ARQUIVO_ANDAMENTOS",CRIAR:"CRIAR_NOVO_ANDAMENTOS",CRIAR_DOCUMENTO:"CRIAR_DOCUMENTO_ANDAMENTOS",CRIAR_INFORMACAO:"CRIAR_INFORMACAO_ANDAMENTOS",CRIAR_PARECER:"CRIAR_PARECER_ANDAMENTOS",CRIAR_PARECERISTA:"CRIAR_PARECERISTA_ANDAMENTOS",GERAR_ANEXO:"GERAR_ANEXO_ANDAMENTOS",INVALIDAR_DOCUMENTO:"INVALIDAR_DOCUMENTO_ANDAMENTOS",LISTAR:"LISTAR_ANDAMENTOS",REMOVER_ARQUIVO:"REMOVER_ARQUIVO_ANDAMENTOS",REMOVER_NOVA_OCORRENCIA:"REMOVER_NOVA_OCORRENCIA_ANDAMENTOS",REMOVER_OCORRENCIA:"REMOVER_OCORRENCIA_ANDAMENTOS",SALVAR_OCORRENCIA:"SALVAR_OCORRENCIA_ANDAMENTOS"},ESTRUTURA:{ASSUNTOS:"LISTAR_ESTRUTURA_ASSUNTOS",ESTACOES_PESSOA:"LISTAR_ESTRUTURA_ESTACOES_PESSOA",ESTACOES_UNIDADE:"LISTAR_ESTRUTURA_ESTACOES_UNIDADE",ESTACOES_USUARIO:"LISTAR_ESTRUTURA_ESTACOES_USUARIO",TIPO_CONFERENCIA:"LISTAR_ESTRUTURA_TIPOS_CONFERENCIA",TIPO_DOCUMENTO:"LISTAR_ESTRUTURA_TIPOS_DOCUMENTO",UNIDADE:"LISTAR_ESTRUTURA_UNIDADE",MEMBROS:"LISTAR_ESTRUTURA_MEMBROS"},PROCESSOS:{ARQUIVAR:"DEVOLVER_ARQUIVAR",CANCELAR_SAIDA:"CANCELAR_SAIDA_PROCESSO",CARREGAR:"CARREGAR_PROCESSO",CARREGAR_ACOES:"CARREGAR_ACOES_PROCESSO",CARREGAR_DADOS:"CARREGAR_DADOS_PROCESSO",DAR_SAIDA:"DAR_SAIDA_PROCESSO",DESARQUIVAR:"DEVOLVER_DESARQUIVAR",DEVOLVER:"DEVOLVER_PROCESSO",ENTRAR:"ENTRAR_PROCESSO",LISTAR:"LISTAR_PROCESSOS",SALVAR:"SALVAR_PROCESSO"}},we={ANDAMENTOS:{ASSINATURA:"GET_ANDAMENTOS_ASSINATURA",CARREGANDO:"GET_ANDAMENTOS_CARREGANDO",DOCUMENTOS:"GET_ANDAMENTOS_DOCUMENTOS",ERROS:"GET_ANDAMENTOS_ERROS",EXTENCOES_ACEITAS:"GET_ANDAMENTOS_EXTENCOES_ACEITAS",LISTA:"GET_ANDAMENTOS_LISTA",ULTIMO_ANDAMENTO:"GET_ANDAMENTOS_ULTIMO_ANDAMENTO",STATUS_EDICAO:"GET_ANDAMENTOS_STATUS_EDICAO"},ESTRUTURA:{ASSUNTO_CPLOBG:"GET_ESTRUTURA_ASSUNTO_CPLOBG",ASSUNTOS:"GET_ESTRUTURA_ASSUNTOS",ESTACOES_PESSOA:"GET_ESTRUTURA_ESTACOES_PESSOA",ESTACOES_UNIDADE:"GET_ESTRUTURA_ESTACOES_UNIDADE",ESTACOES_USUARIO:"GET_ESTRUTURA_ESTACOES_USUARIO",E_ESTACAO_DO_USUARIO:"GET_ESTRUTURA_E_ESTACAO_DO_USUARIO",TIPO_CONFERENCIA:"GET_ESTRUTURA_TIPOS_CONFERENCIA",TIPO_DOCUMENTO:"GET_ESTRUTURA_TIPOS_DOCUMENTO",UNIDADE:"GET_ESTRUTURA_TIPOS_UNIDADE"},PROCESSOS:{ACAO:"GET_PROCESSOS_ACAO",ACAO_AVISO:"GET_PROCESSOS_ACAO_AVISO",ACOES:"GET_PROCESSOS_ACOES",ASSUNTO:"GET_PROCESSOS_ASSUNTO",CARREGANDO:"GET_PROCESSOS_CARREGANDO",CONFIRMAR:"GET_PROCESSOS_CONFIRMAR",CONFIRMAR_ERRO:"GET_PROCESSOS_CONFIRMAR_ERRO",CONFIRMAR_SALVANDO:"GET_PROCESSOS_CONFIRMAR_SALVANDO",DADOS:"GET_PROCESSOS_DADOS",DEVOLVER:"GET_PROCESSOS_DEVOLVER",ERRO_DADOS:"GET_PROCESSOS_ERRO_DADOS",LISTA:"GET_PROCESSOS_LISTA",OBTENDO_ACOES:"GET_PROCESSOS_OBTENDO_ACOES",OBTENDO_DADOS:"GET_PROCESSOS_OBTENDO_DADOS"}},K={ANDAMENTOS:{ANEXO:"SET_ANDAMENTOS_ANEXO",ASSINATURA:"SET_ANDAMENTOS_ASSINATURA",CARREGANDO:"SET_ANDAMENTOS_CARREGANDO",DOCUMENTO_GERADO:"SET_ANDAMENTOS_DOCUMENTO_GERADO",DOCUMENTOS:"SET_ANDAMENTOS_DOCUMENTOS",ERRO:"SET_ANDAMENTOS_ERRO",ERROS:"SET_ANDAMENTOS_ERROS",LIMPAR_DOCUMENTOS:"SET_ANDAMENTOS_LIMPAR_DOCUMENTOS",LISTA:"SET_ANDAMENTOS_LISTA",NOVA_OCORRENCIA:"SET_ANDAMENTOS_NOVA_OCORRENCIA",OCORRENCIA:"SET_ANDAMENTOS_OCORRENCIA",REMOVER_NOVA_OCORRENCIA:"SET_ANDAMENTOS_REMOVER_NOVA_OCORRENCIA",REMOVER_OCORRENCIA:"SET_ANDAMENTOS_REMOVER_OCORRENCIA",STATUS_ASSINATURA:"SET_ANDAMENTOS_STATUS_ASSINATURA"},ESTRUTURA:{ASSUNTOS:"SET_ESTRUTURA_ASSUNTOS",ESTACOES_PESSOA:"SET_ESTRUTURA_ESTACOES_PESSOA",ESTACOES_UNIDADE:"SET_ESTRUTURA_ESTACOES_UNIDADE",ESTACOES_USUARIO:"SET_ESTRUTURA_ESTACOES_USUARIO",NOVO_TIPO_DOCUMENTO:"SET_ESTRUTURA_NOTO_TIPO_DOCUMENTO",TIPO_CONFERENCIA:"SET_ESTRUTURA_TIPOS_CONFERENCIA",TIPO_DOCUMENTO:"SET_ESTRUTURA_TIPOS_DOCUMENTO",STATUS_TIPO_CONFERENCIA:"SET_ESTRUTURA_STATUS_TIPOS_CONFERENCIA",STATUS_TIPO_DOCUMENTO:"SET_ESTRUTURA_STATUS_TIPOS_DOCUMENTO",UNIDADE:"SET_ESTRUTURA_UNIDADE"},PROCESSOS:{ACAO_AVISO:"SET_PROCESSOS_ACAO_AVISO",ACOES:"SET_PROCESSOS_ACOES",CARREGANDO:"SET_PROCESSOS_CARREGANDO",CONFIRMAR:"SET_PROCESSOS_CONFIRMAR",CONFIRMAR_ERRO:"SET_PROCESSOS_CONFIRMAR_ERRO",CONFIRMAR_SALVANDO:"SET_PROCESSOS_CONFIRMAR_SALVANDO",ERRO:"SET_PROCESSOS_ERRO",ITEM:"SET_PROCESSOS_ITEM",LISTA:"SET_PROCESSOS_LISTA",OBTENDO:"SET_PROCESSOS_OBTENDO"}},ze="/wsprocesso/api",ta=`${ze}/estrutura`;class lo{constructor(e,r,a){this.sglund=e,this.nomund=r,this.codund=a}getCodigo(){return this.codund}getTexto(){return`${this.sglund} - ${this.nomund}`}toString(){return this.getTexto()}static buildFromJson(e={}){return new lo(e.sglund,e.nomund,e.codund)}}class zr{constructor(e,r,a,o,n){this.sgleta=e,this.nometa=r,this.nomareatc=a,this.tipeta=o,this.unidade=n}getCodigo(){return this.sgleta}getTexto(){let e=this.nomareatc?` (${this.nomareatc})`:"";return`${this.sgleta} - ${this.nometa}`+e}toString(){return this.getTexto()}static buildFromJson(e={}){return new zr(e.sgleta,e.nometa,e.nomareatc,e.tipeta,lo.buildFromJson(e))}}class Du{constructor(e,r){this.dtaent=e,this.estacao=r}static buildFromJson(e={}){return new Du(e.dtaent,new zr(e.sgletaent))}}class ii{constructor(e,r,a,o,n,s,i,c,u,l){this.ident=e,this.dtacad=r,this.nomarq=a,this.codetrdoc=o,this.dscetrdoc=n,this.codetrcfc=s,this.dscetrcfc=i,this.codarqpdl=c,this.qtdpgn=u,this.tamarq=l}getTamanhoFmt(){const e=["B","KB","MB"];let r=this.tamarq,a=0;for(;r/1024>1;)r=(r/1024).toFixed(2),a++;return`${r} ${e[a]}`}getDescricao(){return`${this.nomarq} - ${this.qtdpgn} página(s) - ${this.getTamanhoFmt()}`}static buildFromJson(e={}){return new ii(`${e.numand}.${e.numseqocoand}`,e.dtacad,e.nomarq||e.nomarqpdl,e.codetrdoc,e.dscetrdoc,e.codetrcfc,e.dscetrcfc,e.codarqpdl,e.qtdpgn,e.tamarq)}}class Va{constructor(e,r,a,o,n){this.sitasi=e,this.sitlotdocasi=r,this.codlotdocasi=a,this.codarqasi_fs=o,this.codaucdoc=n}toString(){return`${this.sitasi}`}getIDDigital(){return this.codaucdoc?`${this.codaucdoc.substring(0,4)}-${this.codaucdoc.substring(4,8)}-${this.codaucdoc.substring(8,12)}-${this.codaucdoc.substring(12,16)}`:""}getUrlIDDigital(){const e=new URL(window.location.origin);return e.pathname=`iddigital/${this.codaucdoc}`,e}static buildFromJson(e={}){return new Va(e.sitasi,e.sitlotdocasi,e.codlotdocasi,e.codarqasi_fs,e.codaucdoc)}}class vr{constructor(e,r,a){this.codetroco=e,this.dscetroco=r,this.limite=a}getPlaceholder(){switch(this.codetroco){case"ocoInformacao":return"Digite aqui sua informação";case"ocoAnexacao":return"Digite aqui seu complemento";case"ocoParecer":return"Digite aqui seu parecer";case"ocoParecerista":return"Digite aqui sua solicitação de parecer";default:return"Digite aqui seu despacho"}}getMensagemObrigatorioTipdch(){return`O campo de ${this.getTipdch().toLowerCase()} é obrigatório!`}getTipdch(){switch(this.codetroco){case"ocoInformacao":return"Informação";case"ocoAnexacao":return"Complemento";case"ocoAlteracao":return"Alteração";case"ocoParecer":return"Parecer";case"ocoParecerista":return"Solicitação de Parecer";default:return"Despacho"}}getArtigoTipo(){return this.codetroco==="ocoParecer"?"o":"a"}getTiprem(){return`Remoção de ${this.dscetroco}`}getMensagemRemover(){return`Deseja mesmo remover ${this.getArtigoTipo()} ${this.dscetroco}`}podeEditar(){switch(this.codetroco){case"ocoAnexacao":case"ocoGeracao":case"ocoInformacao":case"ocoParecer":case"ocoParecerista":return!0;default:return!1}}toString(){return`${this.dscetroco||""}`}static buildFromJson(e={}){var a;const r=/Saída para '.*?' cancelada: .*/gi;return(a=e.txtdch)!=null&&a.match(r)?Kw:e.codetroco==="ocoInformacao"&&e.codpesace?Zw:new vr(e.codetroco,e.dscetroco)}}const Kw=new vr("ocoCancelar","Cancelar Saída"),ZP=new vr("ocoParecer","Parecer"),Zw=new vr("ocoParecerista","Solicitar Parecer");class mr{constructor(e,r,a,o,n,s,i,c,u,l=!1){this.numand=e,this.numseqocoand=r,this.dtacad=a,this.codpescad=o||localStorage.getItem("AUTH_USUARIO_DISPLAY").split("-")[0],this.nompescad=n||localStorage.getItem("AUTH_USUARIO_DISPLAY").split("-")[1],this.txtdch=s||"",this.numpro=i,this.codpesace=c,this.nompesace=u,this.staocoandiva=l}getDescricaoArquivo(){return this.arquivo?`${this.arquivo.nomarq} - ${this.arquivo.qtdpgn} página(s) - ${this.getTamanhoFmt(this.arquivo.tamarq)}`:this.temporario?`${this.temporario.nomarqtmp} - ${this.getTamanhoFmt(this.temporario.tamarqtmp)}`:"Ocorrência sem arquivo..."}getKey(){return`ocorrencia-${this.numand}-${this.numseqocoand}`}getTamanhoFmt(e){const r=["B","KB","MB"];let a=e,o=0;for(;a/1024>1;)a=(a/1024).toFixed(2),o++;return`${a} ${r[o]}`}podeEditar(){return this.tipo.podeEditar()}podeVer(){var e;return!!((e=this.arquivo)!=null&&e.codarqpdl)}podeVisualizar(){return this.tipo.codetroco==="ocoGeracao"}setDados(e){this.numand=e.numand||this.numand,this.numseqocoand=e.numseqocoand||this.numseqocoand,this.dtacad=e.dtacad||this.dtacad,this.codpescad=e.codpescad||this.codpescad,this.nompescad=e.nompescad||this.nompescad,this.txtdch=e.txtdch||this.txtdch}static buildFromJson(e,r){const a=new mr(e.numand,e.numseqocoand,e.dtacad,e.codpescad,e.nompescad,e.txtdch,r,e.codpesace,e.nompesace,e.staocoandiva==="S");return a.dtaultalt=e.dtaultalt,a.codpesalt=e.codpesalt,a.nompesalt=e.nompesalt,a.assinatura=Va.buildFromJson(e),a.arquivo=ii.buildFromJson(e),a.tipo=vr.buildFromJson(e),a}}class xu{constructor(e,r){this.dtasai=e,this.estacao=r}static buildFromJson(e={}){return new xu(e.dtasai,new zr(e.sgletadst))}}class Pu{constructor(e,r,a,o,n,s,i){this.numand=e,this.dscdch=r,this.tmpeta=a,this.entrada=o,this.saida=n,this.ocorrencias=s||[],this.novasOcorrencias=[],this.numpro=i}static buildFromJson(e,r){return new Pu(e.numand,e.dscdch,e.tmpeta,Du.buildFromJson(e),xu.buildFromJson(e),e.ocorrencias.map(a=>mr.buildFromJson(a,r)),r)}}class Xw extends Ir{static build(e={}){return super.build({...e,headers:{"X-Username":"Portal"}})}alterarArquivo(e,{codarqpdl:r,codetrdoc:a,txtdch:o,codetrcfc:n}){return this.put(`${ze}/processo/${e}/anexo/${r}`,{codetrdoc:a,txtdch:o,codetrcfc:n})}alterarInformacao(e,r,a,o){return this.put(`${ze}/processo/${e}/andamento/${a}/${o}`,{txtdch:r.txtdch})}assinar(e,r,a,o){return this.post(`${ze}/processo/${e}/uspassina`,{codarqpdl:r,codpesasi:a,tipasi:o})}buscaArquivos(e,r,a,o){return this.get(`${ze}/processo/${e}/anexo/busca?codetrdoc=${o}&codetrcfc=${a}&busca=${r}`).then(s=>s.map(i=>ii.buildFromJson(i)))}carregarArquivo(e){return this.post(`${ze}/arquivo/temp`,{},[e],{"Content-Type":"multipart/form-data"})}inserirArquivo(e,r){const a=this,o=new FormData;return o.append("txtdch",r.txtdch),o.append("codarqtmp",r.codarqtmp),o.append("codetrcfc",r.codetrcfc),r.dsctipdoc&&o.append("dsctipdoc",r.dsctipdoc),r.codetrdoc&&o.append("codetrdoc",r.codetrdoc),a.post(`${ze}/processo/${e}/anexo`,o,[],{"Content-Type":"multipart/form-data"}).then(function(n){return n.dados=mr.buildFromJson(n.dados,e),n})}inserirInformacao(e,r){return this.post(`${ze}/processo/${e}/despacho`,{txtdch:r.txtdch,codpesace:r.codpesace}).then(o=>(o.dados=mr.buildFromJson(o.dados,e),o))}invalidarArquivo(e,r){return this.delete(`${ze}/processo/${e}/anexo/${r}`)}listar(e){return this.get(`${ze}/processo/${e}/andamento`).then(a=>a.map(o=>Pu.buildFromJson(o,e)))}gerarDocumento(e){const r=this,a=e.acao==="salvar"?"json":"blob";return r.post(`${ze}/documento`,e,[],{},{responseType:a})}removerArquivo(e){return this.delete(`${ze}/arquivo/temp/${e}`,new FormData)}removerOcorrencia(e,r,a){return this.delete(`${ze}/processo/${e}/andamento/${r}/${a}`)}salvarParecer(e,r){return this.post(`${ze}/processo/${e}/parecer/`,r).then(a=>(a.dados=mr.buildFromJson(a.dados,e),a))}}class eo{constructor(e,r,a,o,n,s){this.codarqtmp=e,this.nomarqtmp=r,this.tamarqtmp=a,this.qtdpgntmp=o,this.sha256=s,this.mimetype=n}static buildFromJson(e={}){return new eo(e.codarqtmp,e.nomarqtmp,e.tamarqtmp,e.qtdpgntmp,e.mimetype,e.sha256)}}const Lr=Xw.build({formDataArquivos:"arquivo"}),$c=["application/pdf","image/jpeg","image/jpg","image/png"],Xd=20,eT=t=>{if(!t)return"Arquivo deve ser um valor válido!";if(!$c.includes(t.type))return`Tipo passado no arquivo ${t.name} não permitido (${t.type}), valores permitidos são: ${$c.join(", ")}.`;let e=t.size/10**6;return e>Xd?`Arquivo ${t.name} muito grande (${e.toFixed(2)}MB), máximo permitido é de ${Xd}MB.`:null},tT={erros:[],andamentos:[],assinatura:{},carregando:!0,documentos:[]},rT={[we.ANDAMENTOS.ASSINATURA]:t=>t.assinatura,[we.ANDAMENTOS.DOCUMENTOS]:t=>t.documentos,[we.ANDAMENTOS.CARREGANDO]:t=>t.carregando,[we.ANDAMENTOS.ERROS]:t=>t.erros,[we.ANDAMENTOS.EXTENCOES_ACEITAS]:()=>$c.map(t=>"."+t.split("/")[1]).join(", "),[we.ANDAMENTOS.LISTA]:t=>t.andamentos,[we.ANDAMENTOS.ULTIMO_ANDAMENTO]:t=>t.andamentos[t.andamentos.length-1],[we.ANDAMENTOS.ERROS]:t=>t.erros,[we.ANDAMENTOS.STATUS_EDICAO]:t=>t.andamentos.findIndex(e=>{var r;return((r=e.novasOcorrencias)==null?void 0:r.length)>0})!==-1},aT={[de.ANDAMENTOS.ANEXAR]:({commit:t},{arquivo:e,ocorrencia:r})=>Lr.carregarArquivo(e).then(a=>t(K.ANDAMENTOS.ANEXO,{ocorrencia:r,dados:a})).catch(a=>(a.mensagemDesenvolvedor&&console.error(a.mensagemDesenvolvedor),t(K.ANDAMENTOS.ERRO,a),a)),[de.ANDAMENTOS.ASSINAR]:({commit:t},{numpro:e,codarqpdl:r,codpesasi:a,tipasi:o,numand:n,numseqocoand:s})=>(t(K.ANDAMENTOS.ERROS,[]),Lr.assinar(e,r,a,o).then(i=>{t(K.ANDAMENTOS.STATUS_ASSINATURA,{codpesasi:a,numand:n,numseqocoand:s}),t(K.PROCESSOS.ACAO_AVISO,i.mensagem)})),[de.ANDAMENTOS.BUSCAR]:({commit:t},{numpro:e,busca:r,codetrcfc:a,codetrdoc:o})=>Lr.buscaArquivos(e,r,a,o).then(n=>{t(K.ANDAMENTOS.DOCUMENTOS,n)}),[de.ANDAMENTOS.CARREGAR_ARQUIVO]:({commit:t,dispatch:e,getters:r},a)=>{Array.from(a).filter(o=>{let n=eT(o);return n?(t(K.ANDAMENTOS.ERRO,n),!1):!0}).forEach(o=>{const n=r[we.ANDAMENTOS.ULTIMO_ANDAMENTO],s=new vr("ocoAnexacao","Anexação"),i=new eo(null,o.name,o.size,null,o.type),c=new mr(n.numand);c.assinatura=new Va,c.tipo=s,c.temporario=i,t(K.ANDAMENTOS.NOVA_OCORRENCIA,{andamento:n,ocorrencia:c}),e(de.ANDAMENTOS.ANEXAR,{arquivo:o,ocorrencia:c})})},[de.ANDAMENTOS.CRIAR]:({commit:t,getters:e},{tipo:r})=>{t(K.ANDAMENTOS.ERROS,[]);const a=r.limite,o=e[we.ANDAMENTOS.ULTIMO_ANDAMENTO],n=new mr(o.numand);n.tipo=r;const s=o.ocorrencias.filter(i=>i.tipo.codetroco===r.codetroco).length+o.novasOcorrencias.filter(i=>i.tipo.codetroco===r.codetroco).length;if(a&&s>=a){console.error("Limite");return}t(K.ANDAMENTOS.NOVA_OCORRENCIA,{andamento:o,ocorrencia:n})},[de.ANDAMENTOS.CRIAR_DOCUMENTO]:({commit:t,getters:e})=>{t(K.ANDAMENTOS.ERROS,[]);const r=e[we.ANDAMENTOS.ULTIMO_ANDAMENTO],a=new vr("ocoGeracao","Geração de Documento"),o=new mr(r.numand);o.tipo=a,t(K.ANDAMENTOS.NOVA_OCORRENCIA,{andamento:r,ocorrencia:o})},[de.ANDAMENTOS.CRIAR_INFORMACAO]:({commit:t,getters:e})=>{t(K.ANDAMENTOS.ERROS,[]);const r=e[we.ANDAMENTOS.ULTIMO_ANDAMENTO],a=new vr("ocoInformacao","Informação"),o=new mr(r.numand);o.tipo=a,t(K.ANDAMENTOS.NOVA_OCORRENCIA,{andamento:r,ocorrencia:o})},[de.ANDAMENTOS.CRIAR_PARECERISTA]:({commit:t,getters:e})=>{t(K.ANDAMENTOS.ERROS,[]);const r=e[we.ANDAMENTOS.ULTIMO_ANDAMENTO],a=new vr("ocoParecerista","Solicitar Parecer"),o=new mr(r.numand);o.tipo=a,t(K.ANDAMENTOS.NOVA_OCORRENCIA,{andamento:r,ocorrencia:o})},[de.ANDAMENTOS.GERAR_ANEXO]:({commit:t,getters:e},{documento:r,ocorrencia:a})=>{t(K.ANDAMENTOS.ERROS,[]);const o=e[we.ANDAMENTOS.ULTIMO_ANDAMENTO];return r.sgleta=o.entrada.estacao.sgleta,r.texto=r.texto.replaceAll("

","").replaceAll("

","

"),Lr.gerarDocumento(r).then(n=>(r.acao=="salvar"&&t(K.ANDAMENTOS.DOCUMENTO_GERADO,{ocorrencia:a,dados:n}),n))},[de.ANDAMENTOS.INVALIDAR_DOCUMENTO]:({commit:t,dispatch:e},{numpro:r,codarqpdl:a})=>Lr.invalidarArquivo(r,a).then(o=>(e(de.ANDAMENTOS.LISTAR,{numpro:r}),t(K.PROCESSOS.ACAO_AVISO,"Ocorrência invalidada com sucesso!"),o)),[de.ANDAMENTOS.LISTAR]:({commit:t},{numpro:e})=>(t(K.ANDAMENTOS.CARREGANDO,!0),t(K.ANDAMENTOS.LISTA,[]),t(K.ANDAMENTOS.ERROS,[]),Lr.listar(e).then(r=>{t(K.ANDAMENTOS.LISTA,r),t(K.ANDAMENTOS.LIMPAR_DOCUMENTOS)}).finally(()=>t(K.ANDAMENTOS.CARREGANDO,!1))),[de.ANDAMENTOS.REMOVER_ARQUIVO]:({commit:t},{codarqtmp:e})=>(t(K.ANDAMENTOS.ERROS,[]),Lr.removerArquivo(e)),[de.ANDAMENTOS.REMOVER_NOVA_OCORRENCIA]:({commit:t,dispatch:e},r)=>{r.temporario&&e(de.ANDAMENTOS.REMOVER_ARQUIVO,{codarqtmp:r.temporario.codarqtmp}),t(K.ANDAMENTOS.REMOVER_NOVA_OCORRENCIA,r),t(K.ANDAMENTOS.ERROS,[]),t(K.PROCESSOS.CONFIRMAR,{})},[de.ANDAMENTOS.REMOVER_OCORRENCIA]:({commit:t,dispatch:e},{numpro:r,numand:a,numseqocoand:o})=>(t(K.ANDAMENTOS.ERROS,[]),t(K.PROCESSOS.CONFIRMAR_SALVANDO,!0),Lr.removerOcorrencia(r,a,o).then(n=>(e(de.ANDAMENTOS.LISTAR,{numpro:r}),t(K.PROCESSOS.CONFIRMAR,{}),t(K.PROCESSOS.ACAO_AVISO,n.mensagem),n)).catch(n=>t(K.PROCESSOS.CONFIRMAR_ERRO,n.erro)).finally(()=>t(K.PROCESSOS.CONFIRMAR_SALVANDO,!1))),[de.ANDAMENTOS.SALVAR_OCORRENCIA]:({commit:t,rootState:e},{numpro:r,ocorrencia:a,dados:o})=>{var c;let n="",s=a.numseqocoand,i=a.tipo.codetroco;if(t(K.ANDAMENTOS.ERROS,[]),i==="ocoInformacao"||i==="ocoParecerista")n=s?"alterarInformacao":"inserirInformacao";else if(i==="ocoAnexacao")if(s)n="alterarArquivo",o.codarqpdl=a.arquivo.codarqpdl;else{const u=e.estrutura.tiposDocumento.find(l=>l.codetrvlrpdl===o.codetrdoc);o.codarqtmp=a.temporario.codarqtmp,u||(o.dsctipdoc=o.codetrdoc,delete o.codetrdoc),n="inserirArquivo"}else i==="ocoParecer"&&(n="salvarParecer",o.codarqtmp=(c=a.temporario)==null?void 0:c.codarqtmp);if(n)return Lr[n](r,o,a.numand,a.numseqocoand).then(u=>{var l;return t(K.ANDAMENTOS.OCORRENCIA,{numpro:r,ocorrencia:a,dados:u.dados||o}),a.numseqocoand||(t(K.ANDAMENTOS.REMOVER_NOVA_OCORRENCIA,a),t(K.PROCESSOS.ACAO_AVISO,u.mensagem)),(l=u.dados)!=null&&l.arquivo&&t(K.ESTRUTURA.NOVO_TIPO_DOCUMENTO,{codetrvlrpdl:u.dados.arquivo.codetrdoc,dscetrvlrpdl:u.dados.arquivo.dscetrdoc}),u})}},nT={[K.ANDAMENTOS.ANEXO]:(t,{ocorrencia:e,dados:r})=>{e.temporario=eo.buildFromJson(r),e.assinatura=new Va},[K.ANDAMENTOS.ASSINATURA]:(t,e)=>{t.assinatura=e?{mostrar:!0,ocorrencia:e}:{}},[K.ANDAMENTOS.CARREGANDO]:(t,e)=>t.carregando=e,[K.ANDAMENTOS.DOCUMENTOS]:(t,e)=>t.documentos=e,[K.ANDAMENTOS.LIMPAR_DOCUMENTOS]:t=>t.documentos=t.andamentos.flatMap(e=>e.ocorrencias.filter(r=>r.tipo.codetroco==="ocoAnexacao").map(r=>r.arquivo)),[K.ANDAMENTOS.LISTA]:(t,e)=>t.andamentos=e,[K.ANDAMENTOS.OCORRENCIA]:(t,{ocorrencia:e,dados:r})=>{e.numseqocoand?e.setDados(r):t.andamentos[t.andamentos.length-1].ocorrencias.push(r)},[K.ANDAMENTOS.DOCUMENTO_GERADO]:(t,{ocorrencia:e,dados:r})=>{e.tipo=new vr("ocoAnexacao","Anexação"),e.temporario=eo.buildFromJson(r),e.assinatura=new Va},[K.ANDAMENTOS.ERRO]:(t,e)=>t.erros.push(e),[K.ANDAMENTOS.ERROS]:(t,e)=>t.erros=e,[K.ANDAMENTOS.NOVA_OCORRENCIA]:(t,{andamento:e,ocorrencia:r})=>{e.novasOcorrencias.push(r)},[K.ANDAMENTOS.REMOVER_OCORRENCIA]:(t,{numand:e,numseqocoand:r,indice:a})=>{let o=e?t.andamentos.find(n=>n.numand===e):t.andamentos[t.andamentos.length-1];r?o.ocorrencias=o.ocorrencias.filter(n=>n.numseqocoand!==r):a&&o.ocorrencias.splice(a-1,1)},[K.ANDAMENTOS.REMOVER_NOVA_OCORRENCIA]:(t,e)=>{const r=t.andamentos[t.andamentos.length-1];r.novasOcorrencias=r.novasOcorrencias.filter(a=>a!==e)},[K.ANDAMENTOS.STATUS_ASSINATURA]:(t,{codpesasi:e,numand:r,numseqocoand:a})=>{const n=t.andamentos.find(s=>s.numand==r).ocorrencias.find(s=>s.numseqocoand==a);n.assinatura=new Va("Aguardando assinatura de "+e,"ENV")}},oT={namespaced:!1,state:tT,getters:rT,actions:aT,mutations:nT};class ci{constructor(e,r,a){this.codasu=e,this.dscasu=r,this.cplobg=a}getCodigo(){return this.codasu}getTexto(){return`${this.codasu} - ${this.dscasu}`}toString(){return this.getTexto()}static buildFromJson(e={}){return new ci(e.codasu,e.dscasu,e.cplobg)}}class Nu{constructor(e,r,a){this.codetrvlrpdl=e,this.dscetrvlrpdl=r,this.codtipetrpdl=a}static buildFromJson(e={}){return new Nu(e.codetrvlrpdl,e.dscetrvlrpdl,e.codtipetrpdl)}}class ui{constructor(e,r,a,o){this.codetrvlrpdl=e,this.dscetrvlrpdl=r,this.codtipetrpdl=a,this.ordaptetrvlr=o}getCodigo(){return this.codetrvlrpdl}getTexto(){return this.dscetrvlrpdl||""}static buildFromJson(e={}){return new ui(e.codetrvlrpdl,e.dscetrvlrpdl,e.codtipetrpdl,e.ordaptetrvlr)}}class sT extends Ir{static build(e={}){return super.build({...e,headers:{"X-Username":"Portal"}})}listarAssunto(){return this.get(`${ta}/assunto`).then(r=>r.map(a=>ci.buildFromJson(a)))}listarEstacaoUnidade(e){return this.get(`${ta}/estacao?codund=${e}`).then(a=>a.map(o=>zr.buildFromJson(o)))}listarEstacaoPessoa(e){return this.get(`${ta}/estacao/usuario/${e}`).then(a=>a.map(o=>zr.buildFromJson(o)))}listarEstacaoUsuario(){return this.get(`${ta}/estacao/usuario`).then(r=>r.map(a=>zr.buildFromJson(a)))}listarTiposConf(){return this.get(`${ta}/conferenciaDoc`).then(r=>r.map(a=>Nu.buildFromJson(a)))}listarTiposDoc(e){return this.get(`${ta}/assunto/${e}/tipodoc`).then(a=>a.map(o=>ui.buildFromJson(o)))}listarUnidades(){return this.get(`${ta}/unidade`).then(r=>r.map(a=>lo.buildFromJson(a)))}listarMembros(e){return this.get(`${ta}/estacao/${e}/acesso?tipo=UET`)}}const ra=sT.build({}),iT={assuntos:[],estacoesUnidade:[],estacoesUsuario:[],estacoesPessoa:[],tiposConferencia:[],tiposDocumento:[],statusTiposConferencia:!1,statusTiposDocumento:!1,unidades:[]},cT={[we.ESTRUTURA.ASSUNTO_CPLOBG]:t=>e=>{var r;return(r=t.assuntos.find(a=>a.codasu===e))==null?void 0:r.cplobg},[we.ESTRUTURA.ASSUNTOS]:t=>t.assuntos,[we.ESTRUTURA.ESTACOES_UNIDADE]:t=>t.estacoesUnidade,[we.ESTRUTURA.ESTACOES_USUARIO]:t=>t.estacoesUsuario,[we.ESTRUTURA.ESTACOES_PESSOA]:t=>t.estacoesPessoa,[we.ESTRUTURA.E_ESTACAO_DO_USUARIO]:t=>e=>!!t.estacoesUsuario.find(r=>r.sgleta===e.sgleta),[we.ESTRUTURA.TIPO_CONFERENCIA]:t=>t.tiposConferencia,[we.ESTRUTURA.TIPO_DOCUMENTO]:t=>t.tiposDocumento,[we.ESTRUTURA.UNIDADE]:t=>t.unidades},uT={[de.ESTRUTURA.ASSUNTOS]:({commit:t})=>ra.listarAssunto().then(e=>t(K.ESTRUTURA.ASSUNTOS,e)).catch(e=>Ze.error("Erro ao listar assunto: "+e.erro)),[de.ESTRUTURA.ESTACOES_UNIDADE]:({commit:t},{codund:e})=>ra.listarEstacaoUnidade(e).then(r=>t(K.ESTRUTURA.ESTACOES_UNIDADE,r)).catch(r=>Ze.error("Erro ao listar estações da unidade: "+r.erro)),[de.ESTRUTURA.ESTACOES_PESSOA]:({commit:t},{codpes:e})=>ra.listarEstacaoPessoa(e).then(r=>(t(K.ESTRUTURA.ESTACOES_PESSOA,r),r)).catch(r=>Ze.error("Erro ao listar estações da pessoa: "+r.erro)),[de.ESTRUTURA.ESTACOES_USUARIO]:({commit:t})=>ra.listarEstacaoUsuario().then(e=>t(K.ESTRUTURA.ESTACOES_USUARIO,e)).catch(e=>Ze.error("Erro ao listar estações do usuário: "+e.erro)),[de.ESTRUTURA.TIPO_CONFERENCIA]:({commit:t,state:e})=>{if(!e.statusTiposConferencia&&e.tiposConferencia.length===0)return t(K.ESTRUTURA.STATUS_TIPO_CONFERENCIA,!0),ra.listarTiposConf().then(r=>t(K.ESTRUTURA.TIPO_CONFERENCIA,r)).catch(r=>Ze.error("Erro ao listar tipos de conferência de documento: "+r.erro)).finally(()=>t(K.ESTRUTURA.STATUS_TIPO_CONFERENCIA,!1))},[de.ESTRUTURA.TIPO_DOCUMENTO]:({commit:t},{codasu:e})=>(t(K.ESTRUTURA.STATUS_TIPO_DOCUMENTO,!0),ra.listarTiposDoc(e).then(r=>t(K.ESTRUTURA.TIPO_DOCUMENTO,r)).catch(r=>Ze.error("Erro ao listar tipos de documento: "+r.erro)).finally(()=>t(K.ESTRUTURA.STATUS_TIPO_DOCUMENTO,!1))),[de.ESTRUTURA.UNIDADE]:({commit:t})=>ra.listarUnidades().then(e=>t(K.ESTRUTURA.UNIDADE,e)).catch(e=>Ze.error("Erro ao listar unidades: "+e.erro)),[de.ESTRUTURA.MEMBROS]:(t,{sgleta:e})=>ra.listarMembros(e).catch(r=>Ze.error("Erro ao listar membros: "+r.erro))},lT={[K.ESTRUTURA.ASSUNTOS]:(t,e)=>t.assuntos=e,[K.ESTRUTURA.ESTACOES_PESSOA]:(t,e)=>t.estacoesPessoa=e,[K.ESTRUTURA.ESTACOES_UNIDADE]:(t,e)=>t.estacoesUnidade=e,[K.ESTRUTURA.ESTACOES_USUARIO]:(t,e)=>t.estacoesUsuario=e,[K.ESTRUTURA.NOVO_TIPO_DOCUMENTO]:(t,e)=>{t.tiposDocumento.find(r=>r.codetrvlrpdl===e.codetrvlrpdl)||t.tiposDocumento.push(ui.buildFromJson(e))},[K.ESTRUTURA.TIPO_CONFERENCIA]:(t,e)=>t.tiposConferencia=e,[K.ESTRUTURA.TIPO_DOCUMENTO]:(t,e)=>t.tiposDocumento=e,[K.ESTRUTURA.STATUS_TIPO_CONFERENCIA]:(t,e)=>t.statusTiposConferencia=e,[K.ESTRUTURA.STATUS_TIPO_DOCUMENTO]:(t,e)=>t.statusTiposDocumento=e,[K.ESTRUTURA.UNIDADE]:(t,e)=>t.unidades=e},dT={namespaced:!1,state:iT,getters:cT,actions:uT,mutations:lT};class Iu{constructor(e,r,a){this.dtaabt=e,this.unidade=r,this.estacao=a}toString(){return`${this.estacao.sgleta} em ${this.dtaabt}`}static buildFromJson(e={}){return new Iu(e.dtaabt,new lo(e.sglundabt,e.nomundabt,e.codundabt),new zr(e.sgletaabt,e.nometaabt))}}class $u{constructor(e,r){this.dtaacao=e,this.acao=r}toString(){return`${this.acao} (${this.dtaacao})`}static buildFromJson(e={}){return new $u(e.dtaacao,e.acao)}}class Ls{constructor(e,r,a,o,n){this.numpro=e,this.numprofmt=B0(e),this.nominr=r,this.situacao=this.formatarSituacao(n),this.titpro=a,this.cplasu=o}formatarSituacao(e){return e==="A"?"Arquivado":e==="J"?"Juntado":"Normal"}static buildFromJson(e={}){const r=new Ls(e.numpro,e.nominr,e.titpro,e.cplasu,e.stapro);return r.acao=$u.buildFromJson(e),r.assunto=ci.buildFromJson(e),r.abertura=Iu.buildFromJson(e),r.estacaoAtual=zr.buildFromJson({sgleta:e.sgletault,nometa:e.nometault,nomund:e.nomundult,sglund:e.sglundult}),r}}class fT extends Ir{static build(e={}){return super.build({...e,headers:{"X-Username":"Portal"}})}arquivar(e,r){return this.post(`${ze}/processo/${e}/arquivar`,r)}buscar(e){const r=this,a=Object.entries(e).map(n=>`${n[0]}=${n[1]}`).join("&"),o=`${ze}/processo/busca?${a}`;return r.get(o).then(n=>n.map(s=>Ls.buildFromJson(s)))}darSaida(e,r){return this.post(`${ze}/processo/${e}/saida`,r)}desarquivar(e,r){return this.post(`${ze}/processo/${e}/desarquivar`,r)}devolver(e,r){return this.post(`${ze}/processo/${e}/devolver`,r)}entrar(e,r){return this.post(`${ze}/processo/${e}/entrada`,r)}inserir(e){return this.post(`${ze}/processo`,e)}listarJuntados(e){return this.get(`${ze}/processo/${e}/juntada`)}listarPermissoes(e){return this.get(`${ze}/processo/${e}/permissao`)}obter(e){return this.get(`${ze}/processo/${e}`).then(a=>Ls.buildFromJson(a))}alterar(e){return this.put(`${ze}/processo/${e.numpro}`,e)}juntarProcesso(e,r,a){return this.post(`${ze}/processo/${e}/juntada`,{numproJ:r,txtdch:a})}desjuntarProcesso(e,r,a){return this.post(`${ze}/processo/${e}/desjuntada`,{numproJ:r,txtdch:a})}}const Dr=fT.build({}),pT={acao_aviso:"",carregando:!0,confirmar:{},confirmarErro:"",confirmarSalvando:!1,erro:{dados:""},obtendo:{acoes:!0,dados:!0},permissoes:{},processo:{},processos:[]},hT={[we.PROCESSOS.ACAO]:t=>e=>t.permissoes[e],[we.PROCESSOS.ACAO_AVISO]:t=>t.acao_aviso,[we.PROCESSOS.ACOES]:t=>t.permissoes,[we.PROCESSOS.ASSUNTO]:t=>t.processo.assunto,[we.PROCESSOS.CARREGANDO]:t=>t.carregando,[we.PROCESSOS.CONFIRMAR]:t=>t.confirmar,[we.PROCESSOS.CONFIRMAR_ERRO]:t=>t.confirmarErro,[we.PROCESSOS.CONFIRMAR_SALVANDO]:t=>t.confirmarSalvando,[we.PROCESSOS.DEVOLVER]:(t,e,r)=>t.permissoes.saida==="S"&&t.permissoes.andamento==="S"&&r.andamento.andamentos.length>1,[we.PROCESSOS.DADOS]:t=>t.processo,[we.PROCESSOS.ERRO_DADOS]:t=>t.erro.dados,[we.PROCESSOS.LISTA]:t=>t.processos,[we.PROCESSOS.OBTENDO_ACOES]:t=>t.obtendo.acoes,[we.PROCESSOS.OBTENDO_DADOS]:t=>t.obtendo.dados},mT={[de.PROCESSOS.ARQUIVAR]:({commit:t,dispatch:e},{numpro:r,dados:a})=>Dr.arquivar(r,a).then(o=>{e(de.PROCESSOS.CARREGAR,{numpro:r}),t(K.PROCESSOS.ACAO_AVISO,o.mensagem)}),[de.PROCESSOS.CANCELAR_SAIDA]:({commit:t,dispatch:e},{numpro:r,dados:a})=>Dr.darSaida(r,{sgletadst:"",txtdch:a.txtdch}).then(o=>{e(de.PROCESSOS.CARREGAR,{numpro:r}),t(K.PROCESSOS.ACAO_AVISO,o.mensagem)}),[de.PROCESSOS.CARREGAR]:({dispatch:t},e)=>{t(de.PROCESSOS.CARREGAR_ACOES,e),t(de.ANDAMENTOS.LISTAR,e),t(de.PROCESSOS.CARREGAR_DADOS,e)},[de.PROCESSOS.CARREGAR_ACOES]:({commit:t},{numpro:e})=>(t(K.PROCESSOS.OBTENDO,{acoes:!0}),t(K.PROCESSOS.ACOES,{}),Dr.listarPermissoes(e).then(r=>t(K.PROCESSOS.ACOES,r)).catch(r=>t(K.PROCESSOS.ERRO,{acoes:r.erro})).finally(()=>t(K.PROCESSOS.OBTENDO,{acoes:!1}))),[de.PROCESSOS.CARREGAR_DADOS]:({commit:t,dispatch:e},{numpro:r})=>(t(K.PROCESSOS.OBTENDO,{dados:!0}),t(K.PROCESSOS.ITEM,{}),Dr.obter(r).then(a=>{e(de.ESTRUTURA.TIPO_DOCUMENTO,{codasu:a.assunto.codasu}),t(K.PROCESSOS.ITEM,a)}).catch(a=>t(K.PROCESSOS.ERRO,{dados:a.erro})).finally(()=>t(K.PROCESSOS.OBTENDO,{dados:!1}))),[de.PROCESSOS.DAR_SAIDA]:({commit:t,dispatch:e},{numpro:r,dados:a})=>Dr.darSaida(r,a).then(o=>{e(de.PROCESSOS.CARREGAR,{numpro:r}),t(K.PROCESSOS.ACAO_AVISO,o.mensagem)}),[de.PROCESSOS.DESARQUIVAR]:({commit:t,dispatch:e},{numpro:r,dados:a})=>Dr.desarquivar(r,a).then(o=>{e(de.PROCESSOS.CARREGAR,{numpro:r}),t(K.PROCESSOS.ACAO_AVISO,o.mensagem)}),[de.PROCESSOS.DEVOLVER]:({commit:t,dispatch:e},{numpro:r,dados:a})=>Dr.devolver(r,{sgletadst:a.sgleta}).then(o=>{e(de.PROCESSOS.CARREGAR,{numpro:r}),t(K.PROCESSOS.ACAO_AVISO,o.mensagem)}),[de.PROCESSOS.ENTRAR]:({commit:t,dispatch:e},{numpro:r,dados:a})=>Dr.entrar(r,a).then(o=>{e(de.PROCESSOS.CARREGAR,{numpro:r}),t(K.PROCESSOS.ACAO_AVISO,o.mensagem)}),[de.PROCESSOS.LISTAR]:({commit:t},e)=>(t(K.PROCESSOS.CARREGANDO,!0),t(K.PROCESSOS.LISTA,[]),Dr.buscar(e).then(r=>t(K.PROCESSOS.LISTA,r)).finally(()=>t(K.PROCESSOS.CARREGANDO,!1))),[de.PROCESSOS.SALVAR]:({commit:t},e)=>Dr[e.numpro?"alterar":"inserir"](e).then(r=>(r.numpro&&t(K.PROCESSOS.ITEM,r),r))},vT={[K.PROCESSOS.ACAO_AVISO]:(t,e)=>t.acao_aviso=e,[K.PROCESSOS.ACOES]:(t,e)=>t.permissoes=e,[K.PROCESSOS.CARREGANDO]:(t,e)=>t.carregando=e,[K.PROCESSOS.CONFIRMAR]:(t,e)=>t.confirmar=e,[K.PROCESSOS.CONFIRMAR_ERRO]:(t,e)=>t.confirmarErro=e,[K.PROCESSOS.CONFIRMAR_SALVANDO]:(t,e)=>t.confirmarSalvando=e,[K.PROCESSOS.ERRO]:(t,e)=>t.erro=e,[K.PROCESSOS.ITEM]:(t,e)=>{let r=t.processos.findIndex(a=>a.numpro=e.numpro);r!==-1?t.processos[r]=e:t.processos.unshift(e),t.processo=e},[K.PROCESSOS.LISTA]:(t,e)=>t.processos=e,[K.PROCESSOS.OBTENDO]:(t,e)=>Object.keys(e).forEach(r=>t.obtendo[r]=e[r])},gT={namespaced:!1,state:pT,getters:hT,actions:mT,mutations:vT},bT={andamento:oT,estrutura:dT,processos:gT},nt={PROSERV:{CARREGAR_AREAS:"PROSERV_CARREGAR_AREAS",CARREGAR_ARQUIVOS:"PROSERV_CARREGAR_ARQUIVOS",CARREGAR_ANDAMENTOS:"PROSERV_CARREGAR_ANDAMENTOS",CARREGAR_AVALIADORES:"PROSERV_CARREGAR_AVALIADORES",CARREGAR_AVALIACAO:"PROSERV_CARREGAR_AVALIACAO",CARREGAR_DEPARTAMENTOS:"PROSERV_CARREGAR_DEPARTAMENTOS",CARREGAR_FUNCOES:"PROSERV_CARREGAR_FUNCOES",CARREGAR_SOLICITACAO:"PROSERV_CARREGAR_SOLICITACAO",CARREGAR_UNIDADES:"PROSERV_CARREGAR_UNIDADES",CARREGAR_VERTENTES:"PROSERV_CARREGAR_VERTENTES",ENVIAR_SOLICITACAO:"PROSERV_ENVIAR_SOLICITACAO",LISTAR_SOLICITACOES:"PROSERV_LISTAR_SOLICITACOES",OBTER_ARQUIVO:"PROSERV_OBTER_DADOS_ARQUIVO",OBTER_PESSOA:"PROSERV_OBTER_DADOS_PESSOA",REMOVER_ARQUIVO:"PROSERV_REMOVER_ARQUIVO",REMOVER_AVALIADOR:"PROSERV_REMOVER_AVALIADOR",REMOVER_SOLICITACAO:"PROSERV_REMOVER_SOLICITACAO",SALVAR_SOLICITACAO:"PROSERV_SALVAR_SOLICITACAO",SALVAR_DETALHES:"PROSERV_SALVAR_DETALHES",SALVAR_ARQUIVO:"PROSERV_SALVAR_ARQUIVO",SALVAR_AVALIADOR:"PROSERV_SALVAR_AVALIADOR",SALVAR_AVALIACAO:"PROSERV_SALVAR_AVALIACAO"}},Gt={PROSERV:{AREAS:"PROSERV_GET_AREAS",ARQUIVOS:"PROSERV_GET_ARQUIVOS",ANDAMENTOS:"PROSERV_GET_ANDAMENTOS",AVALIADORES:"PROSERV_GET_AVALIADORES",AVALIACAO:"PROSERV_GET_AVALIACAO",CARGOS:"PROSERV_GET_CARGOS",CARREGANDO_SOLICITACOES:"PROSERV_GET_CARREGANDO_SOLICITACOES",DEPARTAMENTOS:"PROSERV_GET_DEPARTAMENTOS",FUNCOES:"PROSERV_GET_FUNCOES",SOLICITACAO:"PROSERV_GET_SOLICITACAO",SOLICITACOES:"PROSERV_GET_SOLICITACOES",UNIDADES:"PROSERV_GET_UNIDADES",VERTENTES:"PROSERV_GET_VERTENTES"}},Ce={PROSERV:{AREAS:"PROSERV_SET_AREAS",ARQUIVOS:"PROSERV_SET_ARQUIVOS",ANDAMENTOS:"PROSERV_SET_ANDAMENTOS",AVALIADOR:"PROSERV_SET_AVALIADOR",AVALIACAO:"PROSERV_SET_AVALIACAO",AVALIADORES:"PROSERV_SET_AVALIADORES",ARQUIVO:"PROSERV_SET_ARQUIVO",REMOVER_ARQUIVO:"PROSERV_DEL_ARQUIVO",REMOVER_AVALIADOR:"PROSERV_DEL_AVALIADOR",ADICIONAR_SOLICITACAO:"PROSERV_ADICIONAR_SOLICITACAO",ATUALIZAR_SOLICITACAO:"PROSERV_ATUALIZAR_SOLICITACAO",CARGOS:"PROSERV_SET_CARGOS",CARREGAMENTO_SOLICITACOES:"PROSERV_SET_CARREGAMENTO_SOLICITACOES",DELETE_CARGO:"PROSERVE_DELETE_CARGO",DEPARTAMENTOS:"PROSERV_SET_DEPARTAMENTOS",FUNCOES:"PROSERV_SET_FUNCOES",SOLICITACAO:"PROSERV_SET_SOLICITACAO",SOLICITACOES:"PROSERV_SET_SOLICITACOES",UNIDADES:"PROSERV_SET_UNIDADES",VERTENTES:"PROSERV_SET_VERTENTES"}};class Mu{constructor(e,r,a,o,n,s){this.codtipcrtprs=e,this.nomtipcrtprs=r,this.dsctipcrtprs=a,this.vlrmaxcrtprs=o,this.ordaptcrt=n,this.staexijus=s}static fromJSON(e={}){return new Mu(e.codtipcrtprs,e.nomtipcrtprs,e.dsctipcrtprs,e.vlrmaxcrtprs,e.ordaptcrt,e.staexijus)}}class ku{constructor(e,r,a,o,n,s,i){this.tipcrtprs=e,this.vlrnotcrt=r,this.jusnotcrt=a,this.dtaultalt=n,this.dtacad=o,this.stadcacalmed=s,this.leitura=i,this.filhos=[]}static fromJSON(e={}){return new ku(Mu.fromJSON(e.tipcrtprs),e.vlrnotcrt,e.jusnotcrt,e.dtacad,e.dtaultalt,e.stadcacalmed,e.leitura)}}class Uu{constructor(e,r,a,o,n,s){this.codpesavd=e,this.nompesavd=r,this.nota=o,this.dtaultalt=a,this.desconsiderado=n,this.avaliacoes=s||[]}toString(){return`${this.codpesavd} - ${this.nompesavd}`}static fromJSON(e={}){const r=[];return e.avaliacoes.map(a=>ku.fromJSON(a)).forEach(a=>{let o=r.find(n=>n.tipcrtprs.nomtipcrtprs===a.tipcrtprs.nomtipcrtprs);o||(r.push(a),o=a),o.filhos.push(a)}),new Uu(e.codpesavd,e.nompesavd,e.dtaultalt,e.nota,e.desconsiderado,r)}}class li{constructor(e,r,a){this.codfncprs=e,this.nomfncprs=r,this.staexiareatc=a}getCodigo(){return this.codfncprs}getTexto(){return`(${this.codfncprs}) - ${this.nomfncprs}`}toString(){return this.getTexto()}static fromJSON(e={}){return new li(e.codfncprs,e.nomfncprs,e.staexiareatc)}}class Lu{constructor(e,r){this.fnccgoprs=e,this.areatcespcgo=r}static fromJSON(e={}){return new Lu(li.fromJSON(e.fnccgoprs),e.areatcespcgo)}}class to{constructor(e,r,a,o,n){this.jussol=e,this.etrsol=r,this.pcenaoaprsol=a,this.jusrcs=o,this.pcercs=n}isVazio(){return!this.jussol&&!this.etrsol}static fromJSON(e={}){return new to(e.jussol,e.etrsol,e.pcenaoaprsol,e.jusrcs,e.pcercs)}}class fo{constructor(e,r){this.codpes=e,this.nompes=r}getCodigo(){return this.codpes}getTexto(){return`${this.codpes} - ${this.nompes}`}toString(){return this.getTexto()}static fromJSON(e={}){return new fo(e.codpes,e.nompes)}}class di{constructor(e,r,a,o){this.codset=e,this.codund=r,this.nomabvset=a,this.nomset=o}getCodigo(){return this.codset}getTexto(){return`${this.nomabvset} - ${this.nomset}`}toString(){return this.nomset?this.getTexto():null}static fromJSON(e={}){return new di(e.codset,e.codund,e.nomabvset,e.nomset)}}class po{constructor(e,r){this.tipsitprs=e,this.dsctipsitprs=r}toString(){return this.dsctipsitprs}static fromJSON(e={}){return new po(e.tipsitprs,e.dsctipsitprs,e.cadastradoEm)}}class fi{constructor(e,r,a){this.sglund=r,this.nomund=a,this.codund=e}getCodigo(){return this.codund}getTexto(){return`${this.sglund} - ${this.nomund}`}toString(){return this.getTexto()}static fromJSON(e={}){return new fi(e.codund,e.sglund,e.nomund)}}class pi{constructor(e,r,a,o){this.chave=e,this.valor=r,this.texto=a,this.limite=o}getCodigo(){return this.chave}getTexto(){return`${this.texto}`}toString(){return this.getTexto()}static fromJSON(e={}){return new pi(e.chave,e.valor,e.texto,e.limite)}}class $a{constructor(e,r,a,o,n,s,i){this.codsolprs=e,this.anosolprs=r,this.undste=a,this.setste=o,this.dctrsp=n,this.vtesolprs=s,this.permissoes=i,this.andamentos=[]}getCodigo(){return this.codigo}static fromJSON(e={}){const r=new $a(e.codsolprs,e.anosolprs,fi.fromJSON(e.undste),e.setste.codset?di.fromJSON(e.setste):null,fo.fromJSON(e.dctrsp),pi.fromJSON(e.vtesolprs),e.permissoes);return e.avaliadores&&(r.avaliadores=e.avaliadores.map(a=>Uu.fromJSON(a))),r.cgoprs=Lu.fromJSON(e.cgoprs),r.arecnhpsq=e.arecnhpsq,r.dtacad=e.dtacad,r.dtaultalt=e.dtaultalt,r.detalhes=to.fromJSON(e.detalhes),r.sitprsatl=po.fromJSON(e.sitprsatl),r.media=parseFloat(e.media),r.solori=e.solori?{codsolprs:e.solori.codsolprs,anosolprs:e.solori.anosolprs}:null,r.soltro=e.soltro?{codsolprs:e.soltro.codsolprs,anosolprs:e.soltro.anosolprs}:null,r}}class Fu{constructor(e,r,a,o,n){this.numseqandprs=e,this.pesgrcand=r,this.sitprsand=a,this.dtaandsolprs=o,this.txtand=n}static fromJSON(e={}){return new Fu(e.numseqandprs,fo.fromJSON(e.pesgrcand),po.fromJSON(e.sitprsand),e.dtaandsolprs,e.txtand)}}class Fs{constructor(e,r,a){this.numseqarqprs=e,this.nomarqdla=r,this.tamarqdla=a}getTamanho(){let e=1,r=this.tamarqdla;for(;r>=1024;)r=r/1024,e++;return r.toFixed(2)+" "+this.getUnidade(e)}getUnidade(e){switch(e){case 1:return"B";case 2:return"KB";case 3:return"MB"}}getIcone(){let e=this.nomarqdla.split(".");switch(e[e.length-1]){case"xls":case"xlsx":return"fas fa-file-excel";case"pdf":return"fas fa-file-pdf";default:return"fas fa-file-image"}}toString(){return`${this.nomarqdla} - ${this.getTamanho()}`}static fromJSON(e={}){return new Fs(e.numseqarqprs,e.nomarqdla,e.tamarqdla)}}const ot="/proserv";class _T extends Ir{inserir(e){return this[e.codsolprs?"put":"post"](e.codsolprs?`${ot}/solicitacoes/${e.anosolprs}/${e.codsolprs}`:`${ot}/solicitacoes/`,e).then(a=>$a.fromJSON(a))}inserirDetalhe(e,r,a,o){const n=this,s={};return e&&(s[e]=r),n.post(`${ot}/solicitacoes/${a}/${o}/detalhes`,s).then(i=>to.fromJSON(i))}alterarDetalhe(e,r,a,o){const n=this,s={};return e&&(s[e]=r),n.put(`${ot}/solicitacoes/${a}/${o}/detalhes`,s).then(i=>to.fromJSON(i))}listarAreasConhecimento(){return this.get(`${ot}/estrutura/areas-conhecimento/`)}listarAndamentos(e,r){return this.get(`${ot}/solicitacoes/${e}/${r}/andamentos`).then(o=>o.map(n=>Fu.fromJSON(n)))}removerSolicitacao(e,r){return this.delete(`${ot}/solicitacoes/${e}/${r}`)}listarDepartamentos(e){return this.get(`${ot}/estrutura/unidades/${e}/departamentos`).then(a=>a.map(o=>di.fromJSON(o)))}listarFuncoes(){return this.get(`${ot}/estrutura/funcoes/`).then(r=>r.map(a=>li.fromJSON(a)))}listarSituacoes(e){return this.get(`${ot}/estrutura/situacoes/?vtesolprs=${e}`).then(a=>a.map(o=>po.fromJSON(o)))}listarSolicitacoes(e){const r=this;let a=`${ot}/solicitacoes/`;return e&&(a+="?"+Object.keys(e).map(o=>`${o}=${e[o]}`).join("&")),r.get(a).then(o=>o.map(n=>$a.fromJSON(n)))}listarUnidades(){return this.get(`${ot}/estrutura/unidades/`).then(r=>r.map(a=>fi.fromJSON(a)))}listarVertentes(){return this.get(`${ot}/estrutura/vertentes/`).then(r=>r.map(a=>pi.fromJSON(a)))}obterDadosPessoa(e){return this.get(`${ot}/estrutura/pessoas/${e}`).then(a=>fo.fromJSON(a))}obterSolicitacao(e,r){return this.get(`${ot}/solicitacoes/${e}/${r}`).then(o=>$a.fromJSON(o))}enviarSolicitacao(e,r,a){return this.patch(`${ot}/solicitacoes/${e}/${r}/situacao`,{tipsitprs:a})}listarArquivos(e,r){return this.get(`${ot}/solicitacoes/${e}/${r}/arquivos`).then(o=>o.map(n=>Fs.fromJSON(n)))}obterArquivo(e,r,a){return this.get(`${ot}/solicitacoes/${e}/${r}/arquivos/${a}`,{"Content-Type":"application/octet-stream"},{responseType:"blob"})}inserirArquivo(e,r,a){const o=this,n=new FormData;return n.append("arquivo",a),o.post(`${ot}/solicitacoes/${e}/${r}/arquivos`,n).then(s=>Fs.fromJSON(s))}removerArquivo(e,r,a){return this.delete(`${ot}/solicitacoes/${e}/${r}/arquivos/${a}`)}listarAprovacoes(e,r){return this.get(`${ot}/solicitacoes/aprovacao/${e}?tipsitprs=${r}`).then(o=>o.map(n=>$a.fromJSON(n)))}salvarRecurso(e,r,a){return this.patch(`${ot}/solicitacoes/${e}/${r}/recurso`,a)}}const st=_T.build({}),AT={carregarSolicitacoes:!1,avaliadores:[],arquivos:[],andamentos:[],solicitacao:new $a,solicitacoes:[],areas:[],unidades:[],cargos:[],departamentos:[],funcoes:[],vertentes:[],avaliacao:[]},ST={[Gt.PROSERV.AREAS]:t=>t.areas,[Gt.PROSERV.ARQUIVOS]:t=>t.arquivos,[Gt.PROSERV.AVALIACAO]:t=>t.avaliacao,[Gt.PROSERV.ANDAMENTOS]:t=>t.andamentos,[Gt.PROSERV.AVALIADORES]:t=>t.avaliadores,[Gt.PROSERV.CARREGANDO_SOLICITACOES]:t=>t.carregarSolicitacoes,[Gt.PROSERV.CARGOS]:t=>t.cargos,[Gt.PROSERV.UNIDADES]:t=>t.unidades,[Gt.PROSERV.DEPARTAMENTOS]:t=>t.departamentos,[Gt.PROSERV.FUNCOES]:t=>t.funcoes,[Gt.PROSERV.SOLICITACAO]:t=>t.solicitacao,[Gt.PROSERV.SOLICITACOES]:t=>t.solicitacoes,[Gt.PROSERV.VERTENTES]:t=>t.vertentes},yT={[nt.PROSERV.CARREGAR_DEPARTAMENTOS]:({commit:t},e)=>st.listarDepartamentos(e.codund).then(r=>(t(Ce.PROSERV.DEPARTAMENTOS,r),r)),[nt.PROSERV.CARREGAR_AVALIACAO]:({commit:t},{anosolprs:e,codsolprs:r})=>st.listarAvaliacao(e,r).then(a=>t(Ce.PROSERV.AVALIACAO,a)),[nt.PROSERV.CARREGAR_ARQUIVOS]:({commit:t},{anosolprs:e,codsolprs:r})=>st.listarArquivos(e,r).then(a=>t(Ce.PROSERV.ARQUIVOS,a)),[nt.PROSERV.CARREGAR_AVALIADORES]:({commit:t},{anosolprs:e,codsolprs:r})=>st.listarAvaliadores(e,r).then(a=>t(Ce.PROSERV.AVALIADORES,a)),[nt.PROSERV.CARREGAR_FUNCOES]:({commit:t})=>st.listarFuncoes().then(e=>t(Ce.PROSERV.FUNCOES,e)),[nt.PROSERV.CARREGAR_SOLICITACAO]:({commit:t},{codsolprs:e,anosolprs:r})=>st.obterSolicitacao(r,e).then(a=>(t(Ce.PROSERV.SOLICITACAO,a),a)),[nt.PROSERV.CARREGAR_UNIDADES]:({commit:t})=>st.listarUnidades().then(e=>(t(Ce.PROSERV.UNIDADES,e),e)),[nt.PROSERV.CARREGAR_VERTENTES]:({commit:t})=>st.listarVertentes().then(e=>(t(Ce.PROSERV.VERTENTES,e),e)),[nt.PROSERV.CARREGAR_AREAS]:({commit:t})=>st.listarAreasConhecimento().then(e=>(t(Ce.PROSERV.AREAS,e),e)),[nt.PROSERV.CARREGAR_ANDAMENTOS]:({commit:t},{codsolprs:e,anosolprs:r})=>st.listarAndamentos(r,e).then(a=>(t(Ce.PROSERV.ANDAMENTOS,a),a)),[nt.PROSERV.ENVIAR_SOLICITACAO]:(t,{codsolprs:e,anosolprs:r,tipsitprs:a})=>st.enviarSolicitacao(r,e,a),[nt.PROSERV.OBTER_ARQUIVO]:(t,{anosolprs:e,codsolprs:r,numseqarqprs:a})=>st.obterArquivo(e,r,a),[nt.PROSERV.OBTER_PESSOA]:(t,{codpes:e})=>st.obterDadosPessoa(e),[nt.PROSERV.LISTAR_SOLICITACOES]:({commit:t},e)=>(t(Ce.PROSERV.CARREGAMENTO_SOLICITACOES,!0),st.listarSolicitacoes(e).then(r=>(t(Ce.PROSERV.SOLICITACOES,r),r)).finally(()=>t(Ce.PROSERV.CARREGAMENTO_SOLICITACOES,!1))),[nt.PROSERV.SALVAR_SOLICITACAO]:({commit:t},e)=>st.inserir(e).then(r=>(t(Ce.PROSERV.ADICIONAR_SOLICITACAO,r),r)),[nt.PROSERV.SALVAR_DETALHES]:({commit:t},{solicitacao:e,texto:r,propriedade:a})=>st[e.detalhes.isVazio()?"inserirDetalhe":"alterarDetalhe"](a,r,e.anosolprs,e.codsolprs).then(o=>t(Ce.PROSERV.ATUALIZAR_SOLICITACAO,{solicitacao:e,detalhes:o})),[nt.PROSERV.SALVAR_ARQUIVO]:({commit:t},{solicitacao:e,arquivo:r})=>st.inserirArquivo(e.anosolprs,e.codsolprs,r).then(a=>t(Ce.PROSERV.ARQUIVO,a)),[nt.PROSERV.SALVAR_AVALIACAO]:(t,e)=>st.salvarAvaliacao(e),[nt.PROSERV.SALVAR_AVALIADOR]:({commit:t},{anosolprs:e,codsolprs:r,codpesavd:a})=>st.salvarAvaliador(e,r,a).then(o=>(t(Ce.PROSERV.AVALIADOR,o),o)),[nt.PROSERV.REMOVER_SOLICITACAO]:(t,e)=>st.removerSolicitacao(e.anosolprs,e.codsolprs),[nt.PROSERV.REMOVER_ARQUIVO]:({commit:t},{solicitacao:e,arquivo:r})=>st.removerArquivo(e.anosolprs,e.codsolprs,r.numseqarqprs).then(()=>t(Ce.PROSERV.REMOVER_ARQUIVO,r)),[nt.PROSERV.REMOVER_AVALIADOR]:({commit:t},{anosolprs:e,codsolprs:r,codpesavd:a})=>st.removerAvaliador(e,r,a).then(()=>t(Ce.PROSERV.REMOVER_AVALIADOR,{codpesavd:a}))},OT={[Ce.PROSERV.AREAS]:(t,e)=>t.areas=e,[Ce.PROSERV.ARQUIVOS]:(t,e)=>t.arquivos=e,[Ce.PROSERV.ANDAMENTOS]:(t,e)=>t.andamentos=e,[Ce.PROSERV.AVALIADOR]:(t,e)=>t.avaliadores.push(e),[Ce.PROSERV.AVALIADORES]:(t,e)=>t.avaliadores=e,[Ce.PROSERV.AVALIACAO]:(t,e)=>{t.avaliacao=[],e.forEach(r=>{let a=t.avaliacao.find(o=>o.tipcrtprs.nomtipcrtprs===r.tipcrtprs.nomtipcrtprs);a?a.filhos.push(r):t.avaliacao.push(r)})},[Ce.PROSERV.CARGOS]:(t,e)=>t.cargos=e,[Ce.PROSERV.CARREGAMENTO_SOLICITACOES]:(t,e)=>t.carregarSolicitacoes=e,[Ce.PROSERV.DEPARTAMENTOS]:(t,e)=>t.departamentos=e,[Ce.PROSERV.DELETE_CARGO]:(t,e)=>t.cargos=t.cargos.filter(r=>r!==e),[Ce.PROSERV.FUNCOES]:(t,e)=>t.funcoes=e,[Ce.PROSERV.UNIDADES]:(t,e)=>t.unidades=e,[Ce.PROSERV.SOLICITACAO]:(t,e)=>t.solicitacao=e,[Ce.PROSERV.SOLICITACOES]:(t,e)=>t.solicitacoes=e,[Ce.PROSERV.VERTENTES]:(t,e)=>t.vertentes=e,[Ce.PROSERV.ARQUIVO]:(t,e)=>t.arquivos.push(e),[Ce.PROSERV.REMOVER_ARQUIVO]:(t,e)=>t.arquivos=t.arquivos.filter(r=>r!==e),[Ce.PROSERV.REMOVER_AVALIADOR]:(t,{codpesavd:e})=>t.avaliadores=t.avaliadores.filter(r=>r.codpesavd!=e),[Ce.PROSERV.ADICIONAR_SOLICITACAO]:(t,e)=>{let r=t.solicitacoes.find(a=>a.codsolprs===e.codsolprs&&a.anosolprs===e.anosolprs);if(!r){t.solicitacoes.push(e);return}r.undste=e.undste,r.setste=e.setste,r.dctrsp=e.dctrsp,r.vtesolprs=e.vtesolprs},[Ce.PROSERV.ATUALIZAR_SOLICITACAO]:(t,{solicitacao:e,detalhes:r})=>{Object.getOwnPropertyNames(r).forEach(a=>{r[a]&&(e.detalhes[a]=r[a])})}},ET={namespaced:!1,state:AT,getters:ST,actions:yT,mutations:OT},CT={proserv:ET};se.use(jp);const RT=!1,wT=new jp.Store({modules:{...Qw,...bT,...CT},strict:RT});var br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function TT(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function a(){return this instanceof a?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(a){var o=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:function(){return t[a]}})}),r}var Vh={},Bh={},bn={},ho={},DT=br&&br.__awaiter||function(t,e,r,a){function o(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function i(l){try{u(a.next(l))}catch(f){s(f)}}function c(l){try{u(a.throw(l))}catch(f){s(f)}}function u(l){l.done?n(l.value):o(l.value).then(i,c)}u((a=a.apply(t,e||[])).next())})},xT=br&&br.__generator||function(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,o,n,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(u){return function(l){return c([u,l])}}function c(u){if(a)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(r=0)),r;)try{if(a=1,o&&(n=u[0]&2?o.return:u[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,u[1])).done)return n;switch(o=0,n&&(u=[u[0]&2,n.value]),u[0]){case 0:case 1:n=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,o=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!n||u[1]>n[0]&&u[1]"u")return Promise.reject(new Error("This is a library for the browser!"));if(t.getLoadingState()===na.LOADED)return t.instance.getSiteKey()===e?Promise.resolve(t.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(t.getLoadingState()===na.LOADING)return e!==t.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(o,n){t.successfulLoadingConsumers.push(function(s){return o(s)}),t.errorLoadingRunnable.push(function(s){return n(s)})});t.instanceSiteKey=e,t.setLoadingState(na.LOADING);var a=new t;return new Promise(function(o,n){a.loadScript(e,r.useRecaptchaNet||!1,r.useEnterprise||!1,r.renderParameters?r.renderParameters:{},r.customUrl).then(function(){t.setLoadingState(na.LOADED);var s=a.doExplicitRender(grecaptcha,e,r.explicitRenderParameters?r.explicitRenderParameters:{},r.useEnterprise||!1),i=new NT.ReCaptchaInstance(e,s,grecaptcha);t.successfulLoadingConsumers.forEach(function(c){return c(i)}),t.successfulLoadingConsumers=[],r.autoHideBadge&&i.hideBadge(),t.instance=i,o(i)}).catch(function(s){t.errorLoadingRunnable.forEach(function(i){return i(s)}),t.errorLoadingRunnable=[],n(s)})})},t.getInstance=function(){return t.instance},t.setLoadingState=function(e){t.loadingState=e},t.getLoadingState=function(){return t.loadingState===null?na.NOT_LOADED:t.loadingState},t.prototype.loadScript=function(e,r,a,o,n){var s=this;r===void 0&&(r=!1),a===void 0&&(a=!1),o===void 0&&(o={}),n===void 0&&(n="");var i=document.createElement("script");i.setAttribute("recaptcha-v3-script",""),i.setAttribute("async",""),i.setAttribute("defer","");var c="https://www.google.com/recaptcha/api.js";r?a?c="https://recaptcha.net/recaptcha/enterprise.js":c="https://recaptcha.net/recaptcha/api.js":a&&(c="https://www.google.com/recaptcha/enterprise.js"),n&&(c=n),o.render&&(o.render=void 0);var u=this.buildQueryString(o);return i.src=c+"?render=explicit"+u,new Promise(function(l,f){i.addEventListener("load",s.waitForScriptToLoad(function(){l(i)},a),!1),i.onerror=function(m){t.setLoadingState(na.NOT_LOADED),f(m)},document.head.appendChild(i)})},t.prototype.buildQueryString=function(e){var r=Object.keys(e);return r.length<1?"":"&"+Object.keys(e).filter(function(a){return!!e[a]}).map(function(a){return a+"="+e[a]}).join("&")},t.prototype.waitForScriptToLoad=function(e,r){var a=this;return function(){window.grecaptcha===void 0?setTimeout(function(){a.waitForScriptToLoad(e,r)},t.SCRIPT_LOAD_DELAY):r?window.grecaptcha.enterprise.ready(function(){e()}):window.grecaptcha.ready(function(){e()})}},t.prototype.doExplicitRender=function(e,r,a,o){var n=Mc({sitekey:r},a);return a.container?o?e.enterprise.render(a.container,n):e.render(a.container,n):o?e.enterprise.render(n):e.render(n)},t.loadingState=null,t.instance=null,t.instanceSiteKey=null,t.successfulLoadingConsumers=[],t.errorLoadingRunnable=[],t.SCRIPT_LOAD_DELAY=25,t}();bn.load=zh.load;bn.getInstance=zh.getInstance;(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ReCaptchaInstance=t.getInstance=t.load=void 0;var e=bn;Object.defineProperty(t,"load",{enumerable:!0,get:function(){return e.load}}),Object.defineProperty(t,"getInstance",{enumerable:!0,get:function(){return e.getInstance}});var r=ho;Object.defineProperty(t,"ReCaptchaInstance",{enumerable:!0,get:function(){return r.ReCaptchaInstance}})})(Bh);var Gh=br&&br.__awaiter||function(t,e,r,a){function o(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function i(l){try{u(a.next(l))}catch(f){s(f)}}function c(l){try{u(a.throw(l))}catch(f){s(f)}}function u(l){l.done?n(l.value):o(l.value).then(i,c)}u((a=a.apply(t,e||[])).next())})},qh=br&&br.__generator||function(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,o,n,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(u){return function(l){return c([u,l])}}function c(u){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,o&&(n=u[0]&2?o.return:u[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,u[1])).done)return n;switch(o=0,n&&(u=[u[0]&2,n.value]),u[0]){case 0:case 1:n=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,o=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!n||u[1]>n[0]&&u[1]1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(a,o){if(!(typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");if(s.async=!0,s.src=e,s.defer=r.defer,r.preconnectOrigin){var i=document.createElement("link");i.href=r.preconnectOrigin,i.rel="preconnect",n.appendChild(i)}n.appendChild(s),s.onload=a,s.onerror=o}})},Lc=function(e){return typeof e=="function"},Qi=function(e){return e&&ss(e)==="object"&&!Array.isArray(e)},LT=function t(e){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o"u"||typeof document>"u")},tf=function(e){},FT=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return tf('Missing "appName" property inside the plugin options.',e.app_name==null),tf('Missing "name" property in the route.',e.screen_name==null),e};function jT(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=t.split("/"),a=e.split("/");return r[0]===""&&e[e.length-1]==="/"&&r.shift(),a.join("/")+r.join("/")}var VT=function(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},Hh={},BT=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=VT();Hh=LT(r,e)},Kt=function(){return Hh},Wa=function(){var t,e=Kt(),r=e.globalObjectName;!hi()||typeof window[r]>"u"||(t=window)[r].apply(t,arguments)},ju=function(){for(var t=arguments.length,e=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:!0,e=Kt(),r=e.config,a=e.includes;rf(r.id,t),Array.isArray(a)&&a.forEach(function(o){return rf(o.id,t)})},Wh=function(){Yh(!0)},zT=function(){Yh(!1)},Jh,GT=function(e){Jh=e},Vu=function(){return Jh},en=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Kt(),a=r.includes,o=r.defaultGroupName;e.send_to==null&&Array.isArray(a)&&a.length&&(e.send_to=a.map(function(n){return n.id}).concat(o)),Wa("event",t,e)},Qh=function(t){if(hi()){var e;if(typeof t=="string")e={page_path:t};else if(t.path||t.fullPath){var r=Kt(),a=r.pageTrackerUseFullPath,o=r.pageTrackerPrependBase,n=Vu(),s=n&&n.options.base,i=a?t.fullPath:t.path;e=Uc(Uc({},t.name&&{page_title:t.name}),{},{page_path:o?jT(i,s):i})}else e=t;e.page_location==null&&(e.page_location=window.location.href),e.send_page_view==null&&(e.send_page_view=!0),en("page_view",e)}},Kh=function(t){var e=Kt(),r=e.appName;if(t){var a;typeof t=="string"?a={screen_name:t}:a=t,a.app_name=a.app_name||r,en("screen_view",a)}},qT=function(){for(var t=arguments.length,e=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Kt(),a=r.appName,o=r.pageTrackerTemplate,n=r.pageTrackerScreenviewEnabled,s=r.pageTrackerSkipSamePath;if(!(s&&t.path===e.path)){var i=t;if(Lc(o)?i=o(t,e):n&&(i=FT({app_name:a,screen_name:t.name})),n){Kh(i);return}Qh(i)}},of=function(e){var r=Kt(),a=r.pageTrackerExcludedRoutes;return a.includes(e.path)||a.includes(e.name)},tD=function(){var t=Kt(),e=t.onBeforeTrack,r=t.onAfterTrack,a=Vu();a.onReady(function(){se.nextTick().then(function(){var o=a.currentRoute;Zh(),!of(o)&&nf(o)}),a.afterEach(function(o,n){se.nextTick().then(function(){of(o)||(Lc(e)&&e(o,n),nf(o,n),Lc(r)&&r(o,n))})})})},rD=function(){var t=Kt(),e=t.onReady,r=t.onError,a=t.globalObjectName,o=t.globalDataLayerName,n=t.config,s=t.customResourceURL,i=t.customPreconnectOrigin,c=t.deferScriptLoad,u=t.pageTrackerEnabled,l=t.disableScriptLoad,f=!!(u&&Vu());if(eD(),f?tD():Zh(),!l)return UT("".concat(s,"?id=").concat(n.id,"&l=").concat(o),{preconnectOrigin:i,defer:c}).then(function(){e&&e(window[a])}).catch(function(m){return r&&r(m),m})},aD=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;XT(e),BT(r),GT(a),Kt().bootstrap&&rD()};let nD="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",oD=(t=21)=>{let e="",r=t|0;for(;r--;)e+=nD[Math.random()*64|0];return e};function is(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?is=function(e){return typeof e}:is=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},is(t)}var Xh={selector:"vue-portal-target-".concat(oD())},sD=function(e){return Xh.selector=e},Ki=typeof window<"u"&&(typeof document>"u"?"undefined":is(document))!==void 0,iD=se.extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(e){return{updatedNodes:e.nodes}},render:function(e){var r=this.updatedNodes&&this.updatedNodes();return r?r.length===1&&!r[0].text?r:e(this.tag||"DIV",r):e()},destroyed:function(){var e=this.$el;e&&e.parentNode.removeChild(e)}}),cD=se.extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(Xh.selector)}},tag:{type:String,default:"DIV"}},render:function(e){if(this.disabled){var r=this.$scopedSlots&&this.$scopedSlots.default();return r?r.length<2&&!r[0].text?r:e(this.tag,r):e()}return e()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var e=this;this.$nextTick(function(){!e.disabled&&e.slotFn!==e.$scopedSlots.default&&(e.container.updatedNodes=e.$scopedSlots.default),e.slotFn=e.$scopedSlots.default})},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(e){e?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(Ki)return document.querySelector(this.selector)},insertTargetEl:function(){if(Ki){var e=document.querySelector("body"),r=document.createElement(this.tag);r.id=this.selector.substring(1),e.appendChild(r)}},mount:function(){if(Ki){var e=this.getTargetEl(),r=document.createElement("DIV");this.prepend&&e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r),this.container=new iD({el:r,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function em(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.component(e.name||"portal",cD),e.defaultSelector&&sD(e.defaultSelector)}typeof window<"u"&&window.Vue&&window.Vue===se&&se.use(em);var tm={exports:{}};const uD=TT(tS);(function(t,e){(function(r,a){t.exports=a(uD)})(typeof self<"u"?self:br,function(r){return function(a){var o={};function n(s){if(o[s])return o[s].exports;var i=o[s]={i:s,l:!1,exports:{}};return a[s].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=a,n.c=o,n.d=function(s,i,c){n.o(s,i)||Object.defineProperty(s,i,{enumerable:!0,get:c})},n.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},n.t=function(s,i){if(1&i&&(s=n(s)),8&i||4&i&&typeof s=="object"&&s&&s.__esModule)return s;var c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:s}),2&i&&typeof s!="string")for(var u in s)n.d(c,u,(function(l){return s[l]}).bind(null,u));return c},n.n=function(s){var i=s&&s.__esModule?function(){return s.default}:function(){return s};return n.d(i,"a",i),i},n.o=function(s,i){return Object.prototype.hasOwnProperty.call(s,i)},n.p="",n(n.s="fb15")}({"00ee":function(a,o,n){var s=n("b622"),i=s("toStringTag"),c={};c[i]="z",a.exports=String(c)==="[object z]"},"00fd":function(a,o,n){var s=n("9e69"),i=Object.prototype,c=i.hasOwnProperty,u=i.toString,l=s?s.toStringTag:void 0;function f(m){var p=c.call(m,l),v=m[l];try{m[l]=void 0;var g=!0}catch{}var _=u.call(m);return g&&(p?m[l]=v:delete m[l]),_}a.exports=f},"03dd":function(a,o,n){var s=n("eac5"),i=n("57a5"),c=Object.prototype,u=c.hasOwnProperty;function l(f){if(!s(f))return i(f);var m=[];for(var p in Object(f))u.call(f,p)&&p!="constructor"&&m.push(p);return m}a.exports=l},"0459":function(a,o,n){n("643d")},"04f8":function(a,o,n){var s=n("2d00"),i=n("d039"),c=n("da84"),u=c.String;a.exports=!!Object.getOwnPropertySymbols&&!i(function(){var l=Symbol("symbol detection");return!u(l)||!(Object(l)instanceof Symbol)||!Symbol.sham&&s&&s<41})},"0621":function(a,o,n){var s=n("9e69"),i=n("d370"),c=n("6747"),u=s?s.isConcatSpreadable:void 0;function l(f){return c(f)||i(f)||!!(u&&f&&f[u])}a.exports=l},"06cf":function(a,o,n){var s=n("83ab"),i=n("c65b"),c=n("d1e7"),u=n("5c6c"),l=n("fc6a"),f=n("a04b"),m=n("1a2d"),p=n("0cfb"),v=Object.getOwnPropertyDescriptor;o.f=s?v:function(g,_){if(g=l(g),_=f(_),p)try{return v(g,_)}catch{}if(m(g,_))return u(!i(c.f,g,_),g[_])}},"0733":function(a,o,n){n.d(o,"a",function(){return c});var s=n("2fa3"),i=n("9404");const c=function(u,l,{maxSwipeTime:f,minHorizontalSwipeDistance:m,maxVerticalSwipeDistance:p}){if(!u||!u.addEventListener||!Object(i.k)(l))return null;let v=0,g=0,_=null,A=!1;function O($){const L=$.changedTouches[0];v=L.screenX,g=L.screenY,_=new Date().getTime(),A=!0}function D($){if(!A)return;A=!1;const L=$.changedTouches[0],z=L.screenX-v,q=L.screenY-g;if(new Date().getTime()-_=m&&Math.abs(q)<=p){const H={toLeft:!1,toRight:!1};z<0?H.toLeft=!0:H.toRight=!0,l(H)}}return Object(s.k)(u,"touchstart",O,{passive:!0}),Object(s.k)(u,"touchend",D,{passive:!0}),function(){Object(s.j)(u,"touchstart",O),Object(s.j)(u,"touchend",D)}}},"07c7":function(a,o){function n(){return!1}a.exports=n},"07fa":function(a,o,n){var s=n("50c4");a.exports=function(i){return s(i.length)}},"083a":function(a,o,n){var s=n("0d51"),i=TypeError;a.exports=function(c,u){if(!delete c[u])throw new i("Cannot delete property "+s(u)+" of "+s(c))}},"0840":function(a,o,n){var s=n("24fb");o=s(!1),o.push([a.i,".vc-svg-icon[data-v-63f7b5ec]{display:inline-block;stroke:currentColor;stroke-width:0}.vc-svg-icon path[data-v-63f7b5ec]{fill:currentColor}",""]),a.exports=o},"087d":function(a,o){function n(s,i){for(var c=-1,u=i.length,l=s.length;++c79&&u<83,m=f||!c("reduce");s({target:"Array",proto:!0,forced:m},{reduce:function(p){var v=arguments.length;return i(this,p,v,v>1?arguments[1]:void 0)}})},"14d9":function(a,o,n){var s=n("23e7"),i=n("7b0b"),c=n("07fa"),u=n("3a34"),l=n("3511"),f=n("d039"),m=f(function(){return[].push.call({length:4294967296},1)!==4294967297}),p=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},v=m||!p();s({target:"Array",proto:!0,arity:1,forced:v},{push:function(g){var _=i(this),A=c(_),O=arguments.length;l(A+O);for(var D=0;D=0&&(N[J]=parseInt(w[Y].value,10))}return N}catch(te){if(te instanceof RangeError)return[NaN];throw te}}function p(T,S){var w=T.format(S).replace(/\u200E/g,""),N=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(w);return[N[3],N[1],N[2],N[4],N[5],N[6]]}var v={};function g(T){if(!v[T]){var S=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),w=S==="06/25/2014, 00:00:00"||S==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";v[T]=w?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:T,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return v[T]}function _(T,S,w,N,Y,J,te){var ie=new Date(0);return ie.setUTCFullYear(T,S,w),ie.setUTCHours(N,Y,J,te),ie}var A=36e5,O=6e4,D={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function $(T,S,w){var N,Y,J;if(!T||(N=D.timezoneZ.exec(T),N))return 0;if(N=D.timezoneHH.exec(T),N)return J=parseInt(N[1],10),U(J)?-J*A:NaN;if(N=D.timezoneHHMM.exec(T),N){J=parseInt(N[1],10);var te=parseInt(N[2],10);return U(J,te)?(Y=Math.abs(J)*A+te*O,J>0?-Y:Y):NaN}if(P(T)){S=new Date(S||Date.now());var ie=L(S),ae=z(ie,T),_e=q(S,ae,T);return-_e}return NaN}function L(T){return _(T.getFullYear(),T.getMonth(),T.getDate(),T.getHours(),T.getMinutes(),T.getSeconds(),T.getMilliseconds())}function z(T,S){var w=l(T,S),N=_(w[0],w[1]-1,w[2],w[3]%24,w[4],w[5],0).getTime(),Y=T.getTime(),J=Y%1e3;return Y-=J>=0?J:1e3+J,N-Y}function q(T,S,w){var N=T.getTime(),Y=N-S,J=z(new Date(Y),w);if(S===J)return S;Y-=J-S;var te=z(new Date(Y),w);return J===te?J:Math.max(J,te)}function U(T,S){return-23<=T&&T<=23&&(S==null||0<=S&&S<=59)}var H={};function P(T){if(H[T])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:T}),H[T]=!0,!0}catch{return!1}}var j=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,E=j,C=36e5,I=6e4,W=2,Q={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:E};function Z(T,S){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(T===null)return new Date(NaN);var w=S||{},N=w.additionalDigits==null?W:i()(w.additionalDigits);if(N!==2&&N!==1&&N!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(T instanceof Date||typeof T=="object"&&Object.prototype.toString.call(T)==="[object Date]")return new Date(T.getTime());if(typeof T=="number"||Object.prototype.toString.call(T)==="[object Number]")return new Date(T);if(typeof T!="string"&&Object.prototype.toString.call(T)!=="[object String]")return new Date(NaN);var Y=ee(T),J=ne(Y.date,N),te=J.year,ie=J.restDateString,ae=ue(ie,te);if(isNaN(ae))return new Date(NaN);if(ae){var _e,Re=ae.getTime(),Ee=0;if(Y.time&&(Ee=ge(Y.time),isNaN(Ee)))return new Date(NaN);if(Y.timeZone||w.timeZone){if(_e=$(Y.timeZone||w.timeZone,new Date(Re+Ee)),isNaN(_e))return new Date(NaN)}else _e=u()(new Date(Re+Ee)),_e=u()(new Date(Re+Ee+_e));return new Date(Re+Ee+_e)}return new Date(NaN)}function ee(T){var S,w={},N=Q.dateTimePattern.exec(T);if(N?(w.date=N[1],S=N[3]):(N=Q.datePattern.exec(T),N?(w.date=N[1],S=N[2]):(w.date=null,S=T)),S){var Y=Q.timeZone.exec(S);Y?(w.time=S.replace(Y[1],""),w.timeZone=Y[1].trim()):w.time=S}return w}function ne(T,S){var w,N=Q.YYY[S],Y=Q.YYYYY[S];if(w=Q.YYYY.exec(T)||Y.exec(T),w){var J=w[1];return{year:parseInt(J,10),restDateString:T.slice(J.length)}}if(w=Q.YY.exec(T)||N.exec(T),w){var te=w[1];return{year:100*parseInt(te,10),restDateString:T.slice(te.length)}}return{year:null}}function ue(T,S){if(S===null)return null;var w,N,Y,J;if(T.length===0)return N=new Date(0),N.setUTCFullYear(S),N;if(w=Q.MM.exec(T),w)return N=new Date(0),Y=parseInt(w[1],10)-1,je(S,Y)?(N.setUTCFullYear(S,Y),N):new Date(NaN);if(w=Q.DDD.exec(T),w){N=new Date(0);var te=parseInt(w[1],10);return Le(S,te)?(N.setUTCFullYear(S,0,te),N):new Date(NaN)}if(w=Q.MMDD.exec(T),w){N=new Date(0),Y=parseInt(w[1],10)-1;var ie=parseInt(w[2],10);return je(S,Y,ie)?(N.setUTCFullYear(S,Y,ie),N):new Date(NaN)}if(w=Q.Www.exec(T),w)return J=parseInt(w[1],10)-1,gt(S,J)?Oe(S,J):new Date(NaN);if(w=Q.WwwD.exec(T),w){J=parseInt(w[1],10)-1;var ae=parseInt(w[2],10)-1;return gt(S,J,ae)?Oe(S,J,ae):new Date(NaN)}return null}function ge(T){var S,w,N;if(S=Q.HH.exec(T),S)return w=parseFloat(S[1].replace(",",".")),bt(w)?w%24*C:NaN;if(S=Q.HHMM.exec(T),S)return w=parseInt(S[1],10),N=parseFloat(S[2].replace(",",".")),bt(w,N)?w%24*C+N*I:NaN;if(S=Q.HHMMSS.exec(T),S){w=parseInt(S[1],10),N=parseInt(S[2],10);var Y=parseFloat(S[3].replace(",","."));return bt(w,N,Y)?w%24*C+N*I+1e3*Y:NaN}return null}function Oe(T,S,w){S=S||0,w=w||0;var N=new Date(0);N.setUTCFullYear(T,0,4);var Y=N.getUTCDay()||7,J=7*S+w+1-Y;return N.setUTCDate(N.getUTCDate()+J),N}var Pe=[31,28,31,30,31,30,31,31,30,31,30,31],Te=[31,29,31,30,31,30,31,31,30,31,30,31];function Fe(T){return T%400===0||T%4===0&&T%100!==0}function je(T,S,w){if(S<0||S>11)return!1;if(w!=null){if(w<1)return!1;var N=Fe(T);if(N&&w>Te[S]||!N&&w>Pe[S])return!1}return!0}function Le(T,S){if(S<1)return!1;var w=Fe(T);return!(w&&S>366)&&!(!w&&S>365)}function gt(T,S,w){return!(S<0||S>52)&&(w==null||!(w<0||w>6))}function bt(T,S,w){return(T==null||!(T<0||T>=25))&&(S==null||!(S<0||S>=60))&&(w==null||!(w<0||w>=60))}var pt=n("fd3a"),Nt=n("fe1f"),ht=n("8c86"),Yr={};function Lt(){return Yr}function Ft(T,S){var w,N,Y,J,te,ie,ae,_e;Object(ht.a)(1,arguments);var Re=Lt(),Ee=Object(Nt.a)((w=(N=(Y=(J=S==null?void 0:S.weekStartsOn)!==null&&J!==void 0?J:S==null||(te=S.locale)===null||te===void 0||(ie=te.options)===null||ie===void 0?void 0:ie.weekStartsOn)!==null&&Y!==void 0?Y:Re.weekStartsOn)!==null&&N!==void 0?N:(ae=Re.locale)===null||ae===void 0||(_e=ae.options)===null||_e===void 0?void 0:_e.weekStartsOn)!==null&&w!==void 0?w:0);if(!(Ee>=0&&Ee<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var qe=Object(pt.a)(T),Ie=qe.getDay(),et=(Ie=Y.getTime()?w+1:S.getTime()>=te.getTime()?w:w-1}function It(T){Object(ht.a)(1,arguments);var S=Wr(T),w=new Date(0);w.setFullYear(S,0,4),w.setHours(0,0,0,0);var N=or(w);return N}var ga=6048e5;function ba(T){Object(ht.a)(1,arguments);var S=Object(pt.a)(T),w=or(S).getTime()-It(S).getTime();return Math.round(w/ga)+1}function Me(T,S){var w,N,Y,J,te,ie,ae,_e;Object(ht.a)(1,arguments);var Re=Object(pt.a)(T),Ee=Re.getFullYear(),qe=Lt(),Ie=Object(Nt.a)((w=(N=(Y=(J=S==null?void 0:S.firstWeekContainsDate)!==null&&J!==void 0?J:S==null||(te=S.locale)===null||te===void 0||(ie=te.options)===null||ie===void 0?void 0:ie.firstWeekContainsDate)!==null&&Y!==void 0?Y:qe.firstWeekContainsDate)!==null&&N!==void 0?N:(ae=qe.locale)===null||ae===void 0||(_e=ae.options)===null||_e===void 0?void 0:_e.firstWeekContainsDate)!==null&&w!==void 0?w:1);if(!(Ie>=1&&Ie<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var et=new Date(0);et.setFullYear(Ee+1,0,Ie),et.setHours(0,0,0,0);var Xr=Ft(et,S),Ne=new Date(0);Ne.setFullYear(Ee,0,Ie),Ne.setHours(0,0,0,0);var ir=Ft(Ne,S);return Re.getTime()>=Xr.getTime()?Ee+1:Re.getTime()>=ir.getTime()?Ee:Ee-1}function Jr(T,S){var w,N,Y,J,te,ie,ae,_e;Object(ht.a)(1,arguments);var Re=Lt(),Ee=Object(Nt.a)((w=(N=(Y=(J=S==null?void 0:S.firstWeekContainsDate)!==null&&J!==void 0?J:S==null||(te=S.locale)===null||te===void 0||(ie=te.options)===null||ie===void 0?void 0:ie.firstWeekContainsDate)!==null&&Y!==void 0?Y:Re.firstWeekContainsDate)!==null&&N!==void 0?N:(ae=Re.locale)===null||ae===void 0||(_e=ae.options)===null||_e===void 0?void 0:_e.firstWeekContainsDate)!==null&&w!==void 0?w:1),qe=Me(T,S),Ie=new Date(0);Ie.setFullYear(qe,0,Ee),Ie.setHours(0,0,0,0);var et=Ft(Ie,S);return et}var De=6048e5;function Or(T,S){Object(ht.a)(1,arguments);var w=Object(pt.a)(T),N=Ft(w,S).getTime()-Jr(w,S).getTime();return Math.round(N/De)+1}function sr(T){var S=new Date(Date.UTC(T.getFullYear(),T.getMonth(),T.getDate(),T.getHours(),T.getMinutes(),T.getSeconds(),T.getMilliseconds()));return S.setUTCFullYear(T.getFullYear()),T.getTime()-S.getTime()}var wn=6048e5;function Qr(T,S,w){Object(ht.a)(2,arguments);var N=Ft(T,w),Y=Ft(S,w),J=N.getTime()-sr(N),te=Y.getTime()-sr(Y);return Math.round((J-te)/wn)}function Zt(T){Object(ht.a)(1,arguments);var S=Object(pt.a)(T),w=S.getMonth();return S.setFullYear(S.getFullYear(),w+1,0),S.setHours(0,0,0,0),S}function mt(T){Object(ht.a)(1,arguments);var S=Object(pt.a)(T);return S.setDate(1),S.setHours(0,0,0,0),S}function Kr(T,S){return Object(ht.a)(1,arguments),Qr(Zt(T),mt(T),S)+1}var Zr=n("f7f1"),_a=n("cfe5"),Aa=n("f15d"),be=n("2fa3"),Ge=n("9404");const rn={DATE_TIME:1,DATE:2,TIME:3},Tn={1:["year","month","day","hours","minutes","seconds","milliseconds"],2:["year","month","day"],3:["hours","minutes","seconds","milliseconds"]},yt=/d{1,2}|W{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|Z{1,4}|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Ke=/\d\d?/,jt=/\d{3}/,vo=/\d{4}/,Sa=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF/]+(\s*?[\u0600-\u06FF]+){1,2}/i,vi=/\[([^]*?)\]/gm,go=function(){},bo=function(T){return function(S,w,N){const Y=N[T].indexOf(w.charAt(0).toUpperCase()+w.substr(1).toLowerCase());~Y&&(S.month=Y)}},_o=["L","iso"],_t=7,gi=[31,28,31,30,31,30,31,31,30,31,30,31],bi=[{value:0,label:"00"},{value:1,label:"01"},{value:2,label:"02"},{value:3,label:"03"},{value:4,label:"04"},{value:5,label:"05"},{value:6,label:"06"},{value:7,label:"07"},{value:8,label:"08"},{value:9,label:"09"},{value:10,label:"10"},{value:11,label:"11"},{value:12,label:"12"},{value:13,label:"13"},{value:14,label:"14"},{value:15,label:"15"},{value:16,label:"16"},{value:17,label:"17"},{value:18,label:"18"},{value:19,label:"19"},{value:20,label:"20"},{value:21,label:"21"},{value:22,label:"22"},{value:23,label:"23"}],Ao={D(T){return T.day},DD(T){return Object(be.m)(T.day)},Do(T,S){return S.DoFn(T.day)},d(T){return T.weekday-1},dd(T){return Object(be.m)(T.weekday-1)},W(T,S){return S.dayNamesNarrow[T.weekday-1]},WW(T,S){return S.dayNamesShorter[T.weekday-1]},WWW(T,S){return S.dayNamesShort[T.weekday-1]},WWWW(T,S){return S.dayNames[T.weekday-1]},M(T){return T.month},MM(T){return Object(be.m)(T.month)},MMM(T,S){return S.monthNamesShort[T.month-1]},MMMM(T,S){return S.monthNames[T.month-1]},YY(T){return String(T.year).substr(2)},YYYY(T){return Object(be.m)(T.year,4)},h(T){return T.hours%12||12},hh(T){return Object(be.m)(T.hours%12||12)},H(T){return T.hours},HH(T){return Object(be.m)(T.hours)},m(T){return T.minutes},mm(T){return Object(be.m)(T.minutes)},s(T){return T.seconds},ss(T){return Object(be.m)(T.seconds)},S(T){return Math.round(T.milliseconds/100)},SS(T){return Object(be.m)(Math.round(T.milliseconds/10),2)},SSS(T){return Object(be.m)(T.milliseconds,3)},a(T,S){return T.hours<12?S.amPm[0]:S.amPm[1]},A(T,S){return T.hours<12?S.amPm[0].toUpperCase():S.amPm[1].toUpperCase()},Z(){return"Z"},ZZ(T){const S=T.timezoneOffset;return`${S>0?"-":"+"}${Object(be.m)(Math.floor(Math.abs(S)/60),2)}`},ZZZ(T){const S=T.timezoneOffset;return`${S>0?"-":"+"}${Object(be.m)(100*Math.floor(Math.abs(S)/60)+Math.abs(S)%60,4)}`},ZZZZ(T){const S=T.timezoneOffset;return`${S>0?"-":"+"}${Object(be.m)(Math.floor(Math.abs(S)/60),2)}:${Object(be.m)(Math.abs(S)%60,2)}`}},Ue={D:[Ke,function(T,S){T.day=S}],Do:[new RegExp(Ke.source+Sa.source),function(T,S){T.day=parseInt(S,10)}],d:[Ke,go],W:[Sa,go],M:[Ke,function(T,S){T.month=S-1}],MMM:[Sa,bo("monthNamesShort")],MMMM:[Sa,bo("monthNames")],YY:[Ke,function(T,S){const w=new Date,N=+w.getFullYear().toString().substr(0,2);T.year=`${S>68?N-1:N}${S}`}],YYYY:[vo,function(T,S){T.year=S}],S:[/\d/,function(T,S){T.millisecond=100*S}],SS:[/\d{2}/,function(T,S){T.millisecond=10*S}],SSS:[jt,function(T,S){T.millisecond=S}],h:[Ke,function(T,S){T.hour=S}],m:[Ke,function(T,S){T.minute=S}],s:[Ke,function(T,S){T.second=S}],a:[Sa,function(T,S,w){const N=S.toLowerCase();N===w.amPm[0]?T.isPm=!1:N===w.amPm[1]&&(T.isPm=!0)}],Z:[/[^\s]*?[+-]\d\d:?\d\d|[^\s]*?Z?/,function(T,S){S==="Z"&&(S="+00:00");const w=(""+S).match(/([+-]|\d\d)/gi);if(w){const N=60*w[1]+parseInt(w[2],10);T.timezoneOffset=w[0]==="+"?N:-N}}]};function _i(T,S){const w=new Intl.DateTimeFormat().resolvedOptions().locale;let N;Object(Ge.n)(T)?N=T:Object(Ge.e)(T,"id")&&(N=T.id),N=(N||w).toLowerCase();const Y=Object.keys(S),J=function(ie){return Y.find(function(ae){return ae.toLowerCase()===ie})};N=J(N)||J(N.substring(0,2))||w;const te={...S["en-IE"],...S[N],id:N};return T=Object(Ge.m)(T)?Object(Ge.c)(T,te):te,T}Ue.DD=Ue.D,Ue.dd=Ue.d,Ue.WWWW=Ue.WWW=Ue.WW=Ue.W,Ue.MM=Ue.M,Ue.mm=Ue.m,Ue.hh=Ue.H=Ue.HH=Ue.h,Ue.ss=Ue.s,Ue.A=Ue.a,Ue.ZZZZ=Ue.ZZZ=Ue.ZZ=Ue.Z;class Ai{constructor(S,{locales:w=Aa.a,timezone:N}={}){const{id:Y,firstDayOfWeek:J,masks:te}=_i(S,w);this.id=Y,this.daysInWeek=_t,this.firstDayOfWeek=Object(Ge.a)(J,1,_t),this.masks=te,this.timezone=N||void 0,this.dayNames=this.getDayNames("long"),this.dayNamesShort=this.getDayNames("short"),this.dayNamesShorter=this.dayNamesShort.map(function(ie){return ie.substring(0,2)}),this.dayNamesNarrow=this.getDayNames("narrow"),this.monthNames=this.getMonthNames("long"),this.monthNamesShort=this.getMonthNames("short"),this.amPm=["am","pm"],this.monthData={},this.getMonthComps=this.getMonthComps.bind(this),this.parse=this.parse.bind(this),this.format=this.format.bind(this),this.toPage=this.toPage.bind(this)}format(S,w){var N=this;if(S=this.normalizeDate(S),!S)return"";w=this.normalizeMasks(w)[0];const Y=[];w=w.replace(vi,function(ie,ae){return Y.push(ae),"??"});const J=/Z$/.test(w)?"utc":this.timezone,te=this.getDateParts(S,J);return w=w.replace(yt,function(ie){return ie in Ao?Ao[ie](te,N):ie.slice(1,ie.length-1)}),w.replace(/\?\?/g,function(){return Y.shift()})}parse(S,w){var N=this;return this.normalizeMasks(w).map(function(J){if(typeof J!="string")throw new Error("Invalid mask in fecha.parse");let te=S;if(te.length>1e3)return!1;let ie=!0;const ae={};if(J.replace(yt,function(Ee){if(Ue[Ee]){const qe=Ue[Ee],Ie=te.search(qe[0]);~Ie?te.replace(qe[0],function(et){return qe[1](ae,et,N),te=te.substr(Ie+et.length),et}):ie=!1}return Ue[Ee]?"":Ee.slice(1,Ee.length-1)}),!ie)return!1;const _e=new Date;let Re;return ae.isPm===!0&&ae.hour!=null&&+ae.hour!=12?ae.hour=+ae.hour+12:ae.isPm===!1&&+ae.hour==12&&(ae.hour=0),ae.timezoneOffset!=null?(ae.minute=+(ae.minute||0)-+ae.timezoneOffset,Re=new Date(Date.UTC(ae.year||_e.getFullYear(),ae.month||0,ae.day||1,ae.hour||0,ae.minute||0,ae.second||0,ae.millisecond||0))):Re=N.getDateFromParts({year:ae.year||_e.getFullYear(),month:(ae.month||0)+1,day:ae.day||1,hours:ae.hour||0,minutes:ae.minute||0,seconds:ae.second||0,milliseconds:ae.millisecond||0}),Re}).find(function(J){return J})||new Date(S)}normalizeMasks(S){var w=this;return(Object(be.b)(S)&&S||[Object(Ge.n)(S)&&S||"YYYY-MM-DD"]).map(function(N){return _o.reduce(function(Y,J){return Y.replace(J,w.masks[J]||"")},N)})}normalizeDate(S,w={}){let N=null,{type:Y,fillDate:J}=w;const{mask:te,patch:ie,time:ae}=w,_e=Y==="auto"||!Y;if(Object(Ge.l)(S)?(Y="number",N=new Date(+S)):Object(Ge.n)(S)?(Y="string",N=S?this.parse(S,te||"iso"):null):Object(Ge.m)(S)?(Y="object",N=this.getDateFromParts(S)):(Y="date",N=Object(Ge.j)(S)?new Date(S.getTime()):null),N&&ie){J=J==null?new Date:this.normalizeDate(J);const Re={...this.getDateParts(J),...Object(Ge.t)(this.getDateParts(N),Tn[ie])};N=this.getDateFromParts(Re)}return _e&&(w.type=Y),N&&!isNaN(N.getTime())?(ae&&(N=this.adjustTimeForDate(N,{timeAdjust:ae})),N):null}denormalizeDate(S,{type:w,mask:N}={}){switch(w){case"number":return S?S.getTime():NaN;case"string":return S?this.format(S,N||"iso"):"";default:return S?new Date(S):null}}hourIsValid(S,w,N){if(!w)return!0;if(Object(Ge.h)(w))return w.includes(S);if(Object(Ge.m)(w)){const Y=w.min||0,J=w.max||24;return Y<=S&&J>=S}return w(S,N)}getHourOptions(S,w){var N=this;return bi.filter(function(Y){return N.hourIsValid(Y.value,S,w)})}getMinuteOptions(S){const w=[];S=S>0?S:1;for(let N=0;N<=59;N+=S)w.push({value:N,label:Object(be.m)(N,2)});return w}nearestOptionValue(S,w){if(S==null)return S;const N=w.reduce(function(Y,J){if(J.disabled)return Y;if(isNaN(Y))return J.value;const te=Math.abs(Y-S);return Math.abs(J.value-S)=M?x:(b.setFullYear(x.getFullYear(),x.getMonth(),R),b)}function f(d,h){Object(u.a)(2,arguments);var b=Object(i.a)(h);return l(d,12*b)}function m(d){if(d==null)return window;if(d.toString()!=="[object Window]"){var h=d.ownerDocument;return h&&h.defaultView||window}return d}function p(d){var h=m(d).Element;return d instanceof h||d instanceof Element}function v(d){var h=m(d).HTMLElement;return d instanceof h||d instanceof HTMLElement}function g(d){if(typeof ShadowRoot>"u")return!1;var h=m(d).ShadowRoot;return d instanceof h||d instanceof ShadowRoot}var _=Math.max,A=Math.min,O=Math.round;function D(){var d=navigator.userAgentData;return d!=null&&d.brands&&Array.isArray(d.brands)?d.brands.map(function(h){return h.brand+"/"+h.version}).join(" "):navigator.userAgent}function $(){return!/^((?!chrome|android).)*safari/i.test(D())}function L(d,h,b){h===void 0&&(h=!1),b===void 0&&(b=!1);var y=d.getBoundingClientRect(),R=1,x=1;h&&v(d)&&(R=d.offsetWidth>0&&O(y.width)/d.offsetWidth||1,x=d.offsetHeight>0&&O(y.height)/d.offsetHeight||1);var M=p(d)?m(d):window,k=M.visualViewport,F=!$()&&b,B=(y.left+(F&&k?k.offsetLeft:0))/R,X=(y.top+(F&&k?k.offsetTop:0))/x,oe=y.width/R,le=y.height/x;return{width:oe,height:le,top:X,right:B+oe,bottom:X+le,left:B,x:B,y:X}}function z(d){var h=m(d),b=h.pageXOffset,y=h.pageYOffset;return{scrollLeft:b,scrollTop:y}}function q(d){return{scrollLeft:d.scrollLeft,scrollTop:d.scrollTop}}function U(d){return d!==m(d)&&v(d)?q(d):z(d)}function H(d){return d?(d.nodeName||"").toLowerCase():null}function P(d){return((p(d)?d.ownerDocument:d.document)||window.document).documentElement}function j(d){return L(P(d)).left+z(d).scrollLeft}function E(d){return m(d).getComputedStyle(d)}function C(d){var h=E(d),b=h.overflow,y=h.overflowX,R=h.overflowY;return/auto|scroll|overlay|hidden/.test(b+R+y)}function I(d){var h=d.getBoundingClientRect(),b=O(h.width)/d.offsetWidth||1,y=O(h.height)/d.offsetHeight||1;return b!==1||y!==1}function W(d,h,b){b===void 0&&(b=!1);var y=v(h),R=v(h)&&I(h),x=P(h),M=L(d,R,b),k={scrollLeft:0,scrollTop:0},F={x:0,y:0};return(y||!y&&!b)&&((H(h)!=="body"||C(x))&&(k=U(h)),v(h)?(F=L(h,!0),F.x+=h.clientLeft,F.y+=h.clientTop):x&&(F.x=j(x))),{x:M.left+k.scrollLeft-F.x,y:M.top+k.scrollTop-F.y,width:M.width,height:M.height}}function Q(d){var h=L(d),b=d.offsetWidth,y=d.offsetHeight;return Math.abs(h.width-b)<=1&&(b=h.width),Math.abs(h.height-y)<=1&&(y=h.height),{x:d.offsetLeft,y:d.offsetTop,width:b,height:y}}function Z(d){return H(d)==="html"?d:d.assignedSlot||d.parentNode||(g(d)?d.host:null)||P(d)}function ee(d){return["html","body","#document"].indexOf(H(d))>=0?d.ownerDocument.body:v(d)&&C(d)?d:ee(Z(d))}function ne(d,h){var b;h===void 0&&(h=[]);var y=ee(d),R=y===((b=d.ownerDocument)==null?void 0:b.body),x=m(y),M=R?[x].concat(x.visualViewport||[],C(y)?y:[]):y,k=h.concat(M);return R?k:k.concat(ne(Z(M)))}function ue(d){return["table","td","th"].indexOf(H(d))>=0}function ge(d){return v(d)&&E(d).position!=="fixed"?d.offsetParent:null}function Oe(d){var h=/firefox/i.test(D()),b=/Trident/i.test(D());if(b&&v(d)){var y=E(d);if(y.position==="fixed")return null}var R=Z(d);for(g(R)&&(R=R.host);v(R)&&["html","body"].indexOf(H(R))<0;){var x=E(R);if(x.transform!=="none"||x.perspective!=="none"||x.contain==="paint"||["transform","perspective"].indexOf(x.willChange)!==-1||h&&x.willChange==="filter"||h&&x.filter&&x.filter!=="none")return R;R=R.parentNode}return null}function Pe(d){for(var h=m(d),b=ge(d);b&&ue(b)&&E(b).position==="static";)b=ge(b);return b&&(H(b)==="html"||H(b)==="body"&&E(b).position==="static")?h:b||Oe(d)||h}var Te="top",Fe="bottom",je="right",Le="left",gt="auto",bt=[Te,Fe,je,Le],pt="start",Nt="end",ht="clippingParents",Yr="viewport",Lt="popper",Ft="reference",or=bt.reduce(function(d,h){return d.concat([h+"-"+pt,h+"-"+Nt])},[]),Wr=[].concat(bt,[gt]).reduce(function(d,h){return d.concat([h,h+"-"+pt,h+"-"+Nt])},[]),It="beforeRead",ga="read",ba="afterRead",Me="beforeMain",Jr="main",De="afterMain",Or="beforeWrite",sr="write",wn="afterWrite",Qr=[It,ga,ba,Me,Jr,De,Or,sr,wn];function Zt(d){var h=new Map,b=new Set,y=[];function R(x){b.add(x.name);var M=[].concat(x.requires||[],x.requiresIfExists||[]);M.forEach(function(k){if(!b.has(k)){var F=h.get(k);F&&R(F)}}),y.push(x)}return d.forEach(function(x){h.set(x.name,x)}),d.forEach(function(x){b.has(x.name)||R(x)}),y}function mt(d){var h=Zt(d);return Qr.reduce(function(b,y){return b.concat(h.filter(function(R){return R.phase===y}))},[])}function Kr(d){var h;return function(){return h||(h=new Promise(function(b){Promise.resolve().then(function(){h=void 0,b(d())})})),h}}function Zr(d){var h=d.reduce(function(b,y){var R=b[y.name];return b[y.name]=R?Object.assign({},R,y,{options:Object.assign({},R.options,y.options),data:Object.assign({},R.data,y.data)}):y,b},{});return Object.keys(h).map(function(b){return h[b]})}var _a={placement:"bottom",modifiers:[],strategy:"absolute"};function Aa(){for(var d=arguments.length,h=new Array(d),b=0;b=0?"x":"y"}function vo(d){var h,b=d.reference,y=d.element,R=d.placement,x=R?yt(R):null,M=R?Ke(R):null,k=b.x+b.width/2-y.width/2,F=b.y+b.height/2-y.height/2;switch(x){case Te:h={x:k,y:b.y-y.height};break;case Fe:h={x:k,y:b.y+b.height};break;case je:h={x:b.x+b.width,y:F};break;case Le:h={x:b.x-y.width,y:F};break;default:h={x:b.x,y:b.y}}var B=x?jt(x):null;if(B!=null){var X=B==="y"?"height":"width";switch(M){case pt:h[B]=h[B]-(b[X]/2-y[X]/2);break;case Nt:h[B]=h[B]+(b[X]/2-y[X]/2);break}}return h}function Sa(d){var h=d.state,b=d.name;h.modifiersData[b]=vo({reference:h.rects.reference,element:h.rects.popper,placement:h.placement})}var vi={name:"popperOffsets",enabled:!0,phase:"read",fn:Sa,data:{}},go={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bo(d,h){var b=d.x,y=d.y,R=h.devicePixelRatio||1;return{x:O(b*R)/R||0,y:O(y*R)/R||0}}function _o(d){var h,b=d.popper,y=d.popperRect,R=d.placement,x=d.variation,M=d.offsets,k=d.position,F=d.gpuAcceleration,B=d.adaptive,X=d.roundOffsets,oe=d.isFixed,le=M.x,me=le===void 0?0:le,Ve=M.y,ve=Ve===void 0?0:Ve,He=typeof X=="function"?X({x:me,y:ve}):{x:me,y:ve};me=He.x,ve=He.y;var We=M.hasOwnProperty("x"),at=M.hasOwnProperty("y"),lt=Le,$e=Te,Be=window;if(B){var Je=Pe(b),dt="clientHeight",vt="clientWidth";if(Je===m(b)&&(Je=P(b),E(Je).position!=="static"&&k==="absolute"&&(dt="scrollHeight",vt="scrollWidth")),Je=Je,R===Te||(R===Le||R===je)&&x===Nt){$e=Fe;var Ot=oe&&Je===Be&&Be.visualViewport?Be.visualViewport.height:Je[dt];ve-=Ot-y.height,ve*=F?1:-1}if(R===Le||(R===Te||R===Fe)&&x===Nt){lt=je;var Et=oe&&Je===Be&&Be.visualViewport?Be.visualViewport.width:Je[vt];me-=Et-y.width,me*=F?1:-1}}var ft,lr=Object.assign({position:k},B&&go),Xt=X===!0?bo({x:me,y:ve},m(b)):{x:me,y:ve};return me=Xt.x,ve=Xt.y,F?Object.assign({},lr,(ft={},ft[$e]=at?"0":"",ft[lt]=We?"0":"",ft.transform=(Be.devicePixelRatio||1)<=1?"translate("+me+"px, "+ve+"px)":"translate3d("+me+"px, "+ve+"px, 0)",ft)):Object.assign({},lr,(h={},h[$e]=at?ve+"px":"",h[lt]=We?me+"px":"",h.transform="",h))}function _t(d){var h=d.state,b=d.options,y=b.gpuAcceleration,R=y===void 0||y,x=b.adaptive,M=x===void 0||x,k=b.roundOffsets,F=k===void 0||k,B={placement:yt(h.placement),variation:Ke(h.placement),popper:h.elements.popper,popperRect:h.rects.popper,gpuAcceleration:R,isFixed:h.options.strategy==="fixed"};h.modifiersData.popperOffsets!=null&&(h.styles.popper=Object.assign({},h.styles.popper,_o(Object.assign({},B,{offsets:h.modifiersData.popperOffsets,position:h.options.strategy,adaptive:M,roundOffsets:F})))),h.modifiersData.arrow!=null&&(h.styles.arrow=Object.assign({},h.styles.arrow,_o(Object.assign({},B,{offsets:h.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:F})))),h.attributes.popper=Object.assign({},h.attributes.popper,{"data-popper-placement":h.placement})}var gi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_t,data:{}};function bi(d){var h=d.state;Object.keys(h.elements).forEach(function(b){var y=h.styles[b]||{},R=h.attributes[b]||{},x=h.elements[b];v(x)&&H(x)&&(Object.assign(x.style,y),Object.keys(R).forEach(function(M){var k=R[M];k===!1?x.removeAttribute(M):x.setAttribute(M,k===!0?"":k)}))})}function Ao(d){var h=d.state,b={popper:{position:h.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(h.elements.popper.style,b.popper),h.styles=b,h.elements.arrow&&Object.assign(h.elements.arrow.style,b.arrow),function(){Object.keys(h.elements).forEach(function(y){var R=h.elements[y],x=h.attributes[y]||{},M=Object.keys(h.styles.hasOwnProperty(y)?h.styles[y]:b[y]),k=M.reduce(function(F,B){return F[B]="",F},{});v(R)&&H(R)&&(Object.assign(R.style,k),Object.keys(x).forEach(function(F){R.removeAttribute(F)}))})}}var Ue={name:"applyStyles",enabled:!0,phase:"write",fn:bi,effect:Ao,requires:["computeStyles"]};function _i(d,h,b){var y=yt(d),R=[Le,Te].indexOf(y)>=0?-1:1,x=typeof b=="function"?b(Object.assign({},h,{placement:d})):b,M=x[0],k=x[1];return M=M||0,k=(k||0)*R,[Le,je].indexOf(y)>=0?{x:k,y:M}:{x:M,y:k}}function Ai(d){var h=d.state,b=d.options,y=d.name,R=b.offset,x=R===void 0?[0,0]:R,M=Wr.reduce(function(X,oe){return X[oe]=_i(oe,h.rects,x),X},{}),k=M[h.placement],F=k.x,B=k.y;h.modifiersData.popperOffsets!=null&&(h.modifiersData.popperOffsets.x+=F,h.modifiersData.popperOffsets.y+=B),h.modifiersData[y]=M}var T={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ai},S={left:"right",right:"left",bottom:"top",top:"bottom"};function w(d){return d.replace(/left|right|bottom|top/g,function(h){return S[h]})}var N={start:"end",end:"start"};function Y(d){return d.replace(/start|end/g,function(h){return N[h]})}function J(d,h){var b=m(d),y=P(d),R=b.visualViewport,x=y.clientWidth,M=y.clientHeight,k=0,F=0;if(R){x=R.width,M=R.height;var B=$();(B||!B&&h==="fixed")&&(k=R.offsetLeft,F=R.offsetTop)}return{width:x,height:M,x:k+j(d),y:F}}function te(d){var h,b=P(d),y=z(d),R=(h=d.ownerDocument)==null?void 0:h.body,x=_(b.scrollWidth,b.clientWidth,R?R.scrollWidth:0,R?R.clientWidth:0),M=_(b.scrollHeight,b.clientHeight,R?R.scrollHeight:0,R?R.clientHeight:0),k=-y.scrollLeft+j(d),F=-y.scrollTop;return E(R||b).direction==="rtl"&&(k+=_(b.clientWidth,R?R.clientWidth:0)-x),{width:x,height:M,x:k,y:F}}function ie(d,h){var b=h.getRootNode&&h.getRootNode();if(d.contains(h))return!0;if(b&&g(b)){var y=h;do{if(y&&d.isSameNode(y))return!0;y=y.parentNode||y.host}while(y)}return!1}function ae(d){return Object.assign({},d,{left:d.x,top:d.y,right:d.x+d.width,bottom:d.y+d.height})}function _e(d,h){var b=L(d,!1,h==="fixed");return b.top=b.top+d.clientTop,b.left=b.left+d.clientLeft,b.bottom=b.top+d.clientHeight,b.right=b.left+d.clientWidth,b.width=d.clientWidth,b.height=d.clientHeight,b.x=b.left,b.y=b.top,b}function Re(d,h,b){return h===Yr?ae(J(d,b)):p(h)?_e(h,b):ae(te(P(d)))}function Ee(d){var h=ne(Z(d)),b=["absolute","fixed"].indexOf(E(d).position)>=0,y=b&&v(d)?Pe(d):d;return p(y)?h.filter(function(R){return p(R)&&ie(R,y)&&H(R)!=="body"}):[]}function qe(d,h,b,y){var R=h==="clippingParents"?Ee(d):[].concat(h),x=[].concat(R,[b]),M=x[0],k=x.reduce(function(F,B){var X=Re(d,B,y);return F.top=_(X.top,F.top),F.right=A(X.right,F.right),F.bottom=A(X.bottom,F.bottom),F.left=_(X.left,F.left),F},Re(d,M,y));return k.width=k.right-k.left,k.height=k.bottom-k.top,k.x=k.left,k.y=k.top,k}function Ie(){return{top:0,right:0,bottom:0,left:0}}function et(d){return Object.assign({},Ie(),d)}function Xr(d,h){return h.reduce(function(b,y){return b[y]=d,b},{})}function Ne(d,h){h===void 0&&(h={});var b=h,y=b.placement,R=y===void 0?d.placement:y,x=b.strategy,M=x===void 0?d.strategy:x,k=b.boundary,F=k===void 0?ht:k,B=b.rootBoundary,X=B===void 0?Yr:B,oe=b.elementContext,le=oe===void 0?Lt:oe,me=b.altBoundary,Ve=me!==void 0&&me,ve=b.padding,He=ve===void 0?0:ve,We=et(typeof He!="number"?He:Xr(He,bt)),at=le===Lt?Ft:Lt,lt=d.rects.popper,$e=d.elements[Ve?at:le],Be=qe(p($e)?$e:$e.contextElement||P(d.elements.popper),F,X,M),Je=L(d.elements.reference),dt=vo({reference:Je,element:lt,placement:R}),vt=ae(Object.assign({},lt,dt)),Ot=le===Lt?vt:Je,Et={top:Be.top-Ot.top+We.top,bottom:Ot.bottom-Be.bottom+We.bottom,left:Be.left-Ot.left+We.left,right:Ot.right-Be.right+We.right},ft=d.modifiersData.offset;if(le===Lt&&ft){var lr=ft[R];Object.keys(Et).forEach(function(Xt){var Ca=[je,Fe].indexOf(Xt)>=0?1:-1,Ra=[Te,Fe].indexOf(Xt)>=0?"y":"x";Et[Xt]+=lr[Ra]*Ca})}return Et}function ir(d,h){h===void 0&&(h={});var b=h,y=b.placement,R=b.boundary,x=b.rootBoundary,M=b.padding,k=b.flipVariations,F=b.allowedAutoPlacements,B=F===void 0?Wr:F,X=Ke(y),oe=X?k?or:or.filter(function(Ve){return Ke(Ve)===X}):bt,le=oe.filter(function(Ve){return B.indexOf(Ve)>=0});le.length===0&&(le=oe);var me=le.reduce(function(Ve,ve){return Ve[ve]=Ne(d,{placement:ve,boundary:R,rootBoundary:x,padding:M})[yt(ve)],Ve},{});return Object.keys(me).sort(function(Ve,ve){return me[Ve]-me[ve]})}function cr(d){if(yt(d)===gt)return[];var h=w(d);return[Y(d),h,Y(h)]}function Er(d){var h=d.state,b=d.options,y=d.name;if(!h.modifiersData[y]._skip){for(var R=b.mainAxis,x=R===void 0||R,M=b.altAxis,k=M===void 0||M,F=b.fallbackPlacements,B=b.padding,X=b.boundary,oe=b.rootBoundary,le=b.altBoundary,me=b.flipVariations,Ve=me===void 0||me,ve=b.allowedAutoPlacements,He=h.options.placement,We=yt(He),at=We===He,lt=F||(at||!Ve?[w(He)]:cr(He)),$e=[He].concat(lt).reduce(function(Ta,Ur){return Ta.concat(yt(Ur)===gt?ir(h,{placement:Ur,boundary:X,rootBoundary:oe,padding:B,flipVariations:Ve,allowedAutoPlacements:ve}):Ur)},[]),Be=h.rects.reference,Je=h.rects.popper,dt=new Map,vt=!0,Ot=$e[0],Et=0;Et<$e.length;Et++){var ft=$e[Et],lr=yt(ft),Xt=Ke(ft)===pt,Ca=[Te,Fe].indexOf(lr)>=0,Ra=Ca?"width":"height",zt=Ne(h,{placement:ft,boundary:X,rootBoundary:oe,altBoundary:le,padding:B}),dr=Ca?Xt?je:Le:Xt?Fe:Te;Be[Ra]>Je[Ra]&&(dr=w(dr));var Po=w(dr),wa=[];if(x&&wa.push(zt[lr]<=0),k&&wa.push(zt[dr]<=0,zt[Po]<=0),wa.every(function(Ta){return Ta})){Ot=ft,vt=!1;break}dt.set(ft,wa)}if(vt)for(var No=Ve?3:1,xi=function(Ta){var Ur=$e.find(function($o){var Nn=dt.get($o);if(Nn)return Nn.slice(0,Ta).every(function(on){return on})});if(Ur)return Ot=Ur,"break"},Pn=No;Pn>0;Pn--){var Io=xi(Pn);if(Io==="break")break}h.placement!==Ot&&(h.modifiersData[y]._skip=!0,h.placement=Ot,h.reset=!0)}}var Mr={name:"flip",enabled:!0,phase:"main",fn:Er,requiresIfExists:["offset"],data:{_skip:!1}};function ya(d){return d==="x"?"y":"x"}function Vt(d,h,b){return _(d,A(h,b))}function kr(d,h,b){var y=Vt(d,h,b);return y>b?b:y}function Dn(d){var h=d.state,b=d.options,y=d.name,R=b.mainAxis,x=R===void 0||R,M=b.altAxis,k=M!==void 0&&M,F=b.boundary,B=b.rootBoundary,X=b.altBoundary,oe=b.padding,le=b.tether,me=le===void 0||le,Ve=b.tetherOffset,ve=Ve===void 0?0:Ve,He=Ne(h,{boundary:F,rootBoundary:B,padding:oe,altBoundary:X}),We=yt(h.placement),at=Ke(h.placement),lt=!at,$e=jt(We),Be=ya($e),Je=h.modifiersData.popperOffsets,dt=h.rects.reference,vt=h.rects.popper,Ot=typeof ve=="function"?ve(Object.assign({},h.rects,{placement:h.placement})):ve,Et=typeof Ot=="number"?{mainAxis:Ot,altAxis:Ot}:Object.assign({mainAxis:0,altAxis:0},Ot),ft=h.modifiersData.offset?h.modifiersData.offset[h.placement]:null,lr={x:0,y:0};if(Je){if(x){var Xt,Ca=$e==="y"?Te:Le,Ra=$e==="y"?Fe:je,zt=$e==="y"?"height":"width",dr=Je[$e],Po=dr+He[Ca],wa=dr-He[Ra],No=me?-vt[zt]/2:0,xi=at===pt?dt[zt]:vt[zt],Pn=at===pt?-vt[zt]:-dt[zt],Io=h.elements.arrow,Ta=me&&Io?Q(Io):{width:0,height:0},Ur=h.modifiersData["arrow#persistent"]?h.modifiersData["arrow#persistent"].padding:Ie(),$o=Ur[Ca],Nn=Ur[Ra],on=Vt(0,dt[zt],Ta[zt]),zv=lt?dt[zt]/2-No-on-$o-Et.mainAxis:xi-on-$o-Et.mainAxis,Gv=lt?-dt[zt]/2+No+on+Nn+Et.mainAxis:Pn+on+Nn+Et.mainAxis,Pi=h.elements.arrow&&Pe(h.elements.arrow),qv=Pi?$e==="y"?Pi.clientTop||0:Pi.clientLeft||0:0,Zu=(Xt=ft==null?void 0:ft[$e])!=null?Xt:0,Hv=dr+zv-Zu-qv,Yv=dr+Gv-Zu,Xu=Vt(me?A(Po,Hv):Po,dr,me?_(wa,Yv):wa);Je[$e]=Xu,lr[$e]=Xu-dr}if(k){var el,Wv=$e==="x"?Te:Le,Jv=$e==="x"?Fe:je,Da=Je[Be],Mo=Be==="y"?"height":"width",tl=Da+He[Wv],rl=Da-He[Jv],Ni=[Te,Le].indexOf(We)!==-1,al=(el=ft==null?void 0:ft[Be])!=null?el:0,nl=Ni?tl:Da-dt[Mo]-vt[Mo]-al+Et.altAxis,ol=Ni?Da+dt[Mo]+vt[Mo]-al-Et.altAxis:rl,sl=me&&Ni?kr(nl,Da,ol):Vt(me?nl:tl,Da,me?ol:rl);Je[Be]=sl,lr[Be]=sl-Da}h.modifiersData[y]=lr}}var Si={name:"preventOverflow",enabled:!0,phase:"main",fn:Dn,requiresIfExists:["offset"]},yi=function(d,h){return d=typeof d=="function"?d(Object.assign({},h.rects,{placement:h.placement})):d,et(typeof d!="number"?d:Xr(d,bt))};function Oi(d){var h,b=d.state,y=d.name,R=d.options,x=b.elements.arrow,M=b.modifiersData.popperOffsets,k=yt(b.placement),F=jt(k),B=[Le,je].indexOf(k)>=0,X=B?"height":"width";if(x&&M){var oe=yi(R.padding,b),le=Q(x),me=F==="y"?Te:Le,Ve=F==="y"?Fe:je,ve=b.rects.reference[X]+b.rects.reference[F]-M[F]-b.rects.popper[X],He=M[F]-b.rects.reference[F],We=Pe(x),at=We?F==="y"?We.clientHeight||0:We.clientWidth||0:0,lt=ve/2-He/2,$e=oe[me],Be=at-le[X]-oe[Ve],Je=at/2-le[X]/2+lt,dt=Vt($e,Je,Be),vt=F;b.modifiersData[y]=(h={},h[vt]=dt,h.centerOffset=dt-Je,h)}}function Ei(d){var h=d.state,b=d.options,y=b.element,R=y===void 0?"[data-popper-arrow]":y;R!=null&&(typeof R!="string"||(R=h.elements.popper.querySelector(R),R))&&ie(h.elements.popper,R)&&(h.elements.arrow=R)}var Cr={name:"arrow",enabled:!0,phase:"main",fn:Oi,effect:Ei,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ur(d,h,b){return b===void 0&&(b={x:0,y:0}),{top:d.top-h.height-b.y,right:d.right-h.width+b.x,bottom:d.bottom-h.height+b.y,left:d.left-h.width-b.x}}function Rr(d){return[Te,je,Fe,Le].some(function(h){return d[h]>=0})}function Oa(d){var h=d.state,b=d.name,y=h.rects.reference,R=h.rects.popper,x=h.modifiersData.preventOverflow,M=Ne(h,{elementContext:"reference"}),k=Ne(h,{altBoundary:!0}),F=ur(M,y),B=ur(k,R,x),X=Rr(F),oe=Rr(B);h.modifiersData[b]={referenceClippingOffsets:F,popperEscapeOffsets:B,isReferenceHidden:X,hasPopperEscaped:oe},h.attributes.popper=Object.assign({},h.attributes.popper,{"data-popper-reference-hidden":X,"data-popper-escaped":oe})}var an,xn,nn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Oa},So=[Tn,vi,gi,Ue,T,Mr,Si,Cr,nn],Ci=be({defaultModifiers:So}),re=n("2fa3"),he=n("9404"),yo={name:"Popover",render(d){return d("div",{class:["vc-popover-content-wrapper",{"is-interactive":this.isInteractive}],ref:"popover"},[d("transition",{props:{name:this.transition,appear:!0},on:{beforeEnter:this.beforeEnter,afterEnter:this.afterEnter,beforeLeave:this.beforeLeave,afterLeave:this.afterLeave}},[this.isVisible&&d("div",{attrs:{tabindex:-1},class:["vc-popover-content","direction-"+this.direction,this.contentClass]},[this.content,d("span",{class:["vc-popover-caret","direction-"+this.direction,"align-"+this.alignment]})])])])},props:{id:{type:String,required:!0},contentClass:String},data(){return{ref:null,opts:null,data:null,transition:"slide-fade",placement:"bottom",positionFixed:!1,modifiers:[],isInteractive:!1,isHovered:!1,isFocused:!1,showDelay:0,hideDelay:110,autoHide:!1,popperEl:null}},computed:{content(){var d=this;return Object(he.k)(this.$scopedSlots.default)&&this.$scopedSlots.default({direction:this.direction,alignment:this.alignment,data:this.data,updateLayout:this.setupPopper,hide:function(h){return d.hide(h)}})||this.$slots.default},popperOptions(){return{placement:this.placement,strategy:this.positionFixed?"fixed":"absolute",modifiers:[{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:this.onPopperUpdate},...this.modifiers||[]],onFirstUpdate:this.onPopperUpdate}},isVisible(){return!(!this.ref||!this.content)},direction(){return this.placement&&this.placement.split("-")[0]||"bottom"},alignment(){const d=this.direction==="left"||this.direction==="right";let h=this.placement.split("-");return h=h.length>1?h[1]:"",["start","top","left"].includes(h)?d?"top":"left":["end","bottom","right"].includes(h)?d?"bottom":"right":d?"middle":"center"},state(){return this.$popovers[this.id]}},watch:{opts(d,h){h&&h.callback&&h.callback({...h,completed:!d,reason:d?"Overridden by action":null})}},mounted(){this.popoverEl=this.$refs.popover,this.addEvents()},beforeDestroy(){this.destroyPopper(),this.removeEvents(),this.popoverEl=null},methods:{addEvents(){Object(re.k)(this.popoverEl,"click",this.onClick),Object(re.k)(this.popoverEl,"mouseover",this.onMouseOver),Object(re.k)(this.popoverEl,"mouseleave",this.onMouseLeave),Object(re.k)(this.popoverEl,"focusin",this.onFocusIn),Object(re.k)(this.popoverEl,"focusout",this.onFocusOut),Object(re.k)(document,"keydown",this.onDocumentKeydown),Object(re.k)(document,"click",this.onDocumentClick),Object(re.k)(document,"show-popover",this.onDocumentShowPopover),Object(re.k)(document,"hide-popover",this.onDocumentHidePopover),Object(re.k)(document,"toggle-popover",this.onDocumentTogglePopover),Object(re.k)(document,"update-popover",this.onDocumentUpdatePopover)},removeEvents(){Object(re.j)(this.popoverEl,"click",this.onClick),Object(re.j)(this.popoverEl,"mouseover",this.onMouseOver),Object(re.j)(this.popoverEl,"mouseleave",this.onMouseLeave),Object(re.j)(this.popoverEl,"focusin",this.onFocusIn),Object(re.j)(this.popoverEl,"focusout",this.onFocusOut),Object(re.j)(document,"keydown",this.onDocumentKeydown),Object(re.j)(document,"click",this.onDocumentClick),Object(re.j)(document,"show-popover",this.onDocumentShowPopover),Object(re.j)(document,"hide-popover",this.onDocumentHidePopover),Object(re.j)(document,"toggle-popover",this.onDocumentTogglePopover),Object(re.j)(document,"update-popover",this.onDocumentUpdatePopover)},onClick(d){d.stopPropagation()},onMouseOver(){this.isHovered=!0,this.isInteractive&&this.show()},onMouseLeave(){this.isHovered=!1,!this.autoHide||this.isFocused||this.ref&&this.ref===document.activeElement||this.hide()},onFocusIn(){this.isFocused=!0,this.isInteractive&&this.show()},onFocusOut(d){d.relatedTarget&&Object(re.e)(this.popoverEl,d.relatedTarget)||(this.isFocused=!1,!this.isHovered&&this.autoHide&&this.hide())},onDocumentClick(d){this.$refs.popover&&this.ref&&(Object(re.e)(this.popoverEl,d.target)||Object(re.e)(this.ref,d.target)||this.hide())},onDocumentKeydown(d){d.key!=="Esc"&&d.key!=="Escape"||this.hide()},onDocumentShowPopover({detail:d}){d.id&&d.id===this.id&&this.show(d)},onDocumentHidePopover({detail:d}){d.id&&d.id===this.id&&this.hide(d)},onDocumentTogglePopover({detail:d}){d.id&&d.id===this.id&&this.toggle(d)},onDocumentUpdatePopover({detail:d}){d.id&&d.id===this.id&&this.update(d)},show(d={}){var h=this;d.action="show";const b=d.ref||this.ref,y=d.showDelay>=0?d.showDelay:this.showDelay;if(!b)return void(d.callback&&d.callback({completed:!1,reason:"Invalid reference element provided"}));clearTimeout(this.timeout),this.opts=d;const R=function(){Object.assign(h,d),h.setupPopper(),h.opts=null};y>0?this.timeout=setTimeout(function(){return R()},y):R()},hide(d={}){var h=this;d.action="hide";const b=d.ref||this.ref,y=d.hideDelay>=0?d.hideDelay:this.hideDelay;if(!this.ref||b!==this.ref)return void(d.callback&&d.callback({...d,completed:!1,reason:this.ref?"Invalid reference element provided":"Popover already hidden"}));const R=function(){h.ref=null,h.opts=null};clearTimeout(this.timeout),this.opts=d,y>0?this.timeout=setTimeout(R,y):R()},toggle(d={}){this.isVisible&&d.ref===this.ref?this.hide(d):this.show(d)},update(d={}){Object.assign(this,d),this.setupPopper()},setupPopper(){var d=this;this.$nextTick(function(){d.ref&&d.$refs.popover&&(d.popper&&d.popper.reference!==d.ref&&d.destroyPopper(),d.popper?d.popper.update():d.popper=Ci(d.ref,d.popoverEl,d.popperOptions))})},onPopperUpdate(d){d.placement?this.placement=d.placement:d.state&&(this.placement=d.state.placement)},beforeEnter(d){this.$emit("beforeShow",d)},afterEnter(d){this.$emit("afterShow",d)},beforeLeave(d){this.$emit("beforeHide",d)},afterLeave(d){this.destroyPopper(),this.$emit("afterHide",d)},destroyPopper(){this.popper&&(this.popper.destroy(),this.popper=null)}}},Oo=yo;n("2745");function Dt(d,h,b,y,R,x,M,k){var F,B=typeof d=="function"?d.options:d;return h&&(B.render=h,B.staticRenderFns=b,B._compiled=!0),x&&(B._scopeId="data-v-"+x),{exports:d,options:B}}var Eo=Dt(Oo,an,xn,!1,null,"03f17c2c"),Ea=Eo.exports,Co=function(){var d=this,h=d._self._c;return h("div",{staticClass:"vc-day-popover-row"},[d.indicator?h("div",{staticClass:"vc-day-popover-row-indicator"},[h("span",{class:d.indicator.class,style:d.indicator.style})]):d._e(),h("div",{staticClass:"vc-day-popover-row-content"},[d._t("default",function(){return[d._v(d._s(d.attribute.popover?d.attribute.popover.label:"No content provided"))]})],2)])},Ro=[],Gu=n("51ec");const Rm={inject:["sharedState"],mixins:[Gu.a],computed:{masks(){return this.sharedState.masks},theme(){return this.sharedState.theme},locale(){return this.sharedState.locale},dayPopoverId(){return this.sharedState.dayPopoverId}},methods:{format(d,h){return this.locale.format(d,h)},pageForDate(d){return this.locale.getDateParts(this.locale.normalizeDate(d))}}},wm=["base","start","end","startEnd"],Tm=["class","contentClass","style","contentStyle","color","fillMode"],Dm={color:"blue",isDark:!1,highlight:{base:{fillMode:"light"},start:{fillMode:"solid"},end:{fillMode:"solid"}},dot:{base:{fillMode:"solid"},start:{fillMode:"solid"},end:{fillMode:"solid"}},bar:{base:{fillMode:"solid"},start:{fillMode:"solid"},end:{fillMode:"solid"}},content:{base:{},start:{},end:{}}};class qu{constructor(h){Object.assign(this,Dm,h)}normalizeAttr({config:h,type:b}){let y=this.color,R={};const x=this[b];if(h===!0||Object(he.n)(h))y=Object(he.n)(h)?h:y,R={...x};else{if(!Object(he.m)(h))return null;R=Object(he.f)(h,wm)?{...h}:{base:{...h},start:{...h},end:{...h}}}return Object(he.b)(R,{start:R.startEnd,end:R.startEnd},x),Object(he.w)(R).forEach(function([M,k]){let F=y;k===!0||Object(he.n)(k)?(F=Object(he.n)(k)?k:F,R[M]={color:F}):Object(he.m)(k)&&(Object(he.f)(k,Tm)?R[M]={...k}:R[M]={}),Object(he.e)(R,M+".color")||Object(he.u)(R,M+".color",F)}),R}normalizeHighlight(h){var b=this;const y=this.normalizeAttr({config:h,type:"highlight"});return Object(he.w)(y).forEach(function([R,x]){const M=Object(he.b)(x,{isDark:b.isDark,color:b.color});x.style={...b.getHighlightBgStyle(M),...x.style},x.contentStyle={...b.getHighlightContentStyle(M),...x.contentStyle}}),y}getHighlightBgStyle({fillMode:h,color:b,isDark:y}){switch(h){case"outline":case"none":return{backgroundColor:y?"var(--gray-900)":"var(--white)",border:"2px solid",borderColor:y?`var(--${b}-200)`:`var(--${b}-700)`,borderRadius:"var(--rounded-full)"};case"light":return{backgroundColor:y?`var(--${b}-800)`:`var(--${b}-200)`,opacity:y?.75:1,borderRadius:"var(--rounded-full)"};case"solid":return{backgroundColor:y?`var(--${b}-500)`:`var(--${b}-600)`,borderRadius:"var(--rounded-full)"};default:return{borderRadius:"var(--rounded-full)"}}}getHighlightContentStyle({fillMode:h,color:b,isDark:y}){switch(h){case"outline":case"none":return{fontWeight:"var(--font-bold)",color:y?`var(--${b}-100)`:`var(--${b}-900)`};case"light":return{fontWeight:"var(--font-bold)",color:y?`var(--${b}-100)`:`var(--${b}-900)`};case"solid":return{fontWeight:"var(--font-bold)",color:"var(--white)"};default:return""}}bgAccentHigh({color:h,isDark:b}){return{backgroundColor:b?`var(--${h}-500)`:`var(--${h}-600)`}}contentAccent({color:h,isDark:b}){return h?{fontWeight:"var(--font-bold)",color:b?`var(--${h}-100)`:`var(--${h}-900)`}:null}normalizeDot(h){return this.normalizeNonHighlight("dot",h,this.bgAccentHigh)}normalizeBar(h){return this.normalizeNonHighlight("bar",h,this.bgAccentHigh)}normalizeContent(h){return this.normalizeNonHighlight("content",h,this.contentAccent)}normalizeNonHighlight(h,b,y){var R=this;const x=this.normalizeAttr({type:h,config:b});return Object(he.w)(x).forEach(function([M,k]){Object(he.b)(k,{isDark:R.isDark,color:R.color}),k.style={...y(k),...k.style}}),x}}var wr=n("29ae"),xm=n("1315"),Pm=n("22f3");const Nm={mixins:[Gu.a],props:{color:String,isDark:Boolean,firstDayOfWeek:Number,masks:Object,locale:[String,Object],timezone:String,minDate:null,maxDate:null,minDateExact:null,maxDateExact:null,disabledDates:null,availableDates:null,theme:null},computed:{$theme(){return this.theme instanceof qu?this.theme:new qu({color:this.passedProp("color","blue"),isDark:this.passedProp("isDark",!1)})},$locale(){if(this.locale instanceof wr.b)return this.locale;const d=Object(he.m)(this.locale)?this.locale:{id:this.locale,firstDayOfWeek:this.firstDayOfWeek,masks:this.masks};return new wr.b(d,{locales:this.$locales,timezone:this.timezone})},disabledDates_(){const d=this.normalizeDates(this.disabledDates),{minDate:h,minDateExact:b,maxDate:y,maxDateExact:R}=this;if(b||h){const x=b?this.normalizeDate(b):this.normalizeDate(h,{time:"00:00:00"});d.push({start:null,end:new Date(x.getTime()-1e3)})}if(R||y){const x=R?this.normalizeDate(R):this.normalizeDate(y,{time:"23:59:59"});d.push({start:new Date(x.getTime()+1e3),end:null})}return d},availableDates_(){return this.normalizeDates(this.availableDates)},disabledAttribute(){return new Pm.a({key:"disabled",dates:this.disabledDates_,excludeDates:this.availableDates_,excludeMode:"includes",order:100},this.$theme,this.$locale)}},created(){Object(xm.a)(this.$defaults.screens)},methods:{formatDate(d,h){return this.$locale?this.$locale.format(d,h):""},parseDate(d,h){if(!this.$locale)return null;const b=this.$locale.parse(d,h);return Object(he.j)(b)?b:null},normalizeDate(d,h){return this.$locale?this.$locale.normalizeDate(d,h):d},normalizeDates(d){return this.$locale.normalizeDates(d,{isFullDay:!0})},pageForDate(d){return this.$locale.getDateParts(this.normalizeDate(d))},pageForThisMonth(){return this.pageForDate(new Date)}}},Im={methods:{safeScopedSlot(d,h,b=null){return Object(he.k)(this.$scopedSlots[d])?this.$scopedSlots[d](h):b}}},wo=Rm,Hu=Nm,Ri=Im;var $m={name:"PopoverRow",mixins:[wo],props:{attribute:Object},computed:{indicator(){const{highlight:d,dot:h,bar:b,popover:y}=this.attribute;if(y&&y.hideIndicator)return null;if(d){const{color:R,isDark:x}=d.start;return{style:{...this.theme.bgAccentHigh({color:R,isDark:!x}),width:"10px",height:"5px",borderRadius:"3px"}}}if(h){const{color:R,isDark:x}=h.start;return{style:{...this.theme.bgAccentHigh({color:R,isDark:!x}),width:"5px",height:"5px",borderRadius:"50%"}}}if(b){const{color:R,isDark:x}=b.start;return{style:{...this.theme.bgAccentHigh({color:R,isDark:!x}),width:"10px",height:"3px"}}}return null}}},Mm=$m,km=(n("ca17"),Dt(Mm,Co,Ro,!1,null,"eb5afd1a")),Um=km.exports,Lm=function(){var d=this,h=d._self._c;return h("div",{staticClass:"vc-nav-container"},[h("div",{staticClass:"vc-nav-header"},[h("span",{staticClass:"vc-nav-arrow is-left",class:{"is-disabled":!d.prevItemsEnabled},attrs:{role:"button",tabindex:d.prevItemsEnabled?0:void 0},on:{click:d.movePrev,keydown:function(b){return d.onSpaceOrEnter(b,d.movePrev)}}},[d._t("nav-left-button",function(){return[h("svg-icon",{attrs:{name:"left-arrow",width:"20px",height:"24px"}})]})],2),h("span",{staticClass:"vc-nav-title vc-grid-focus",style:{whiteSpace:"nowrap"},attrs:{role:"button",tabindex:"0"},on:{click:d.toggleMode,keydown:function(b){return d.onSpaceOrEnter(b,d.toggleMode)}}},[d._v(" "+d._s(d.title)+" ")]),h("span",{staticClass:"vc-nav-arrow is-right",class:{"is-disabled":!d.nextItemsEnabled},attrs:{role:"button",tabindex:d.nextItemsEnabled?0:void 0},on:{click:d.moveNext,keydown:function(b){return d.onSpaceOrEnter(b,d.moveNext)}}},[d._t("nav-right-button",function(){return[h("svg-icon",{attrs:{name:"right-arrow",width:"20px",height:"24px"}})]})],2)]),h("div",{staticClass:"vc-nav-items"},d._l(d.activeItems,function(b){return h("span",{key:b.label,class:d.getItemClasses(b),attrs:{role:"button","data-id":b.id,"aria-label":b.ariaLabel,tabindex:b.isDisabled?void 0:0},on:{click:b.click,keydown:function(y){return d.onSpaceOrEnter(y,b.click)}}},[d._v(" "+d._s(b.label)+" ")])}),0)])},Fm=[],jm=function(){var d=this,h=d._self._c;return h("svg",d._g({staticClass:"vc-svg-icon",attrs:{width:d.width,height:d.height,viewBox:d.viewBox}},d.$listeners),[h("path",{attrs:{d:d.path}})])},Vm=[];const To="26px",Bm="0 0 32 32",zm={"left-arrow":{viewBox:"0 -1 16 34",path:"M11.196 10c0 0.143-0.071 0.304-0.179 0.411l-7.018 7.018 7.018 7.018c0.107 0.107 0.179 0.268 0.179 0.411s-0.071 0.304-0.179 0.411l-0.893 0.893c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-8.321-8.321c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l8.321-8.321c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l0.893 0.893c0.107 0.107 0.179 0.25 0.179 0.411z"},"right-arrow":{viewBox:"-5 -1 16 34",path:"M10.625 17.429c0 0.143-0.071 0.304-0.179 0.411l-8.321 8.321c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-0.893-0.893c-0.107-0.107-0.179-0.25-0.179-0.411 0-0.143 0.071-0.304 0.179-0.411l7.018-7.018-7.018-7.018c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l0.893-0.893c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l8.321 8.321c0.107 0.107 0.179 0.268 0.179 0.411z"}};var Gm={props:["name"],data(){return{width:To,height:To,viewBox:Bm,path:"",isBaseline:!1}},mounted(){this.updateIcon()},watch:{name(){this.updateIcon()}},methods:{updateIcon(){const d=zm[this.name];d&&(this.width=d.width||To,this.height=d.height||To,this.viewBox=d.viewBox,this.path=d.path)}}},qm=Gm,Hm=(n("52ca"),Dt(qm,jm,Vm,!1,null,"63f7b5ec")),Yu=Hm.exports;const wi=12;var Ym={name:"CalendarNav",components:{SvgIcon:Yu},mixins:[wo],props:{value:{type:Object,default:function(){return{month:0,year:0}}},validator:{type:Function,default:function(){return function(){return!0}}}},data(){return{monthMode:!0,yearIndex:0,yearGroupIndex:0,onSpaceOrEnter:re.l}},computed:{month(){return this.value&&this.value.month||0},year(){return this.value&&this.value.year||0},title(){return this.monthMode?this.yearIndex:`${this.firstYear} - ${this.lastYear}`},monthItems(){return this.getMonthItems(this.yearIndex)},yearItems(){return this.getYearItems(this.yearGroupIndex)},prevItemsEnabled(){return this.monthMode?this.prevMonthItemsEnabled:this.prevYearItemsEnabled},nextItemsEnabled(){return this.monthMode?this.nextMonthItemsEnabled:this.nextYearItemsEnabled},prevMonthItemsEnabled(){return this.getMonthItems(this.yearIndex-1).some(function(d){return!d.isDisabled})},nextMonthItemsEnabled(){return this.getMonthItems(this.yearIndex+1).some(function(d){return!d.isDisabled})},prevYearItemsEnabled(){return this.getYearItems(this.yearGroupIndex-1).some(function(d){return!d.isDisabled})},nextYearItemsEnabled(){return this.getYearItems(this.yearGroupIndex+1).some(function(d){return!d.isDisabled})},activeItems(){return this.monthMode?this.monthItems:this.yearItems},firstYear(){return Object(he.g)(this.yearItems.map(function(d){return d.year}))},lastYear(){return Object(he.p)(this.yearItems.map(function(d){return d.year}))}},watch:{year(){this.yearIndex=this.year},yearIndex(d){this.yearGroupIndex=this.getYearGroupIndex(d)},value(){this.focusFirstItem()}},created(){this.yearIndex=this.year},mounted(){this.focusFirstItem()},methods:{focusFirstItem(){var d=this;this.$nextTick(function(){const h=d.$el.querySelector(".vc-nav-item:not(.is-disabled)");h&&h.focus()})},getItemClasses({isActive:d,isCurrent:h,isDisabled:b}){const y=["vc-nav-item"];return d?y.push("is-active"):h&&y.push("is-current"),b&&y.push("is-disabled"),y},getYearGroupIndex(d){return Math.floor(d/wi)},getMonthItems(d){var h=this;const{month:b,year:y}=this.pageForDate(new Date);return this.locale.getMonthDates().map(function(R,x){const M=x+1;return{month:M,year:d,id:`${d}.${Object(re.m)(M,2)}`,label:h.locale.format(R,h.masks.navMonths),ariaLabel:h.locale.format(R,"MMMM YYYY"),isActive:M===h.month&&d===h.year,isCurrent:M===b&&d===y,isDisabled:!h.validator({month:M,year:d}),click:function(){return h.monthClick(M,d)}}})},getYearItems(d){var h=this;const{_:b,year:y}=this.pageForDate(new Date),R=d*wi,x=R+wi,M=[];for(let k=R;k=k,X=F&&B,oe=F||B,le={isDate:R,isComplex:x,onStart:F,onEnd:B,onStartAndEnd:X,onStartOrEnd:oe};d.processHighlight(b,le,h),d.processNonHighlight(b,"content",le,h.content),d.processNonHighlight(b,"dot",le,h.dots),d.processNonHighlight(b,"bar",le,h.bars),d.processPopover(b,h)}),this.glyphs=h},processHighlight({key:d,highlight:h},{isDate:b,isComplex:y,onStart:R,onEnd:x,onStartAndEnd:M},{backgrounds:k,content:F}){if(!h)return;const{base:B,start:X,end:oe}=h;b||y||M?(k.push({key:d,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",X.class],style:X.style}),F.push({key:d+"-content",class:X.contentClass,style:X.contentStyle})):R?(k.push({key:d+"-base",wrapperClass:"vc-day-layer vc-day-box-right-center",class:["vc-highlight vc-highlight-base-start",B.class],style:B.style}),k.push({key:d,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",X.class],style:X.style}),F.push({key:d+"-content",class:X.contentClass,style:X.contentStyle})):x?(k.push({key:d+"-base",wrapperClass:"vc-day-layer vc-day-box-left-center",class:["vc-highlight vc-highlight-base-end",B.class],style:B.style}),k.push({key:d,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",oe.class],style:oe.style}),F.push({key:d+"-content",class:oe.contentClass,style:oe.contentStyle})):(k.push({key:d+"-middle",wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight vc-highlight-base-middle",B.class],style:B.style}),F.push({key:d+"-content",class:B.contentClass,style:B.contentStyle}))},processNonHighlight(d,h,{isDate:b,onStart:y,onEnd:R},x){if(!d[h])return;const{key:M}=d,k="vc-"+h,{base:F,start:B,end:X}=d[h];b||y?x.push({key:M,class:[k,B.class],style:B.style}):R?x.push({key:M,class:[k,X.class],style:X.style}):x.push({key:M,class:[k,F.class],style:F.style})},processPopover(d,{popovers:h}){const{key:b,customData:y,popover:R}=d;if(!R)return;const x=Object(he.b)({key:b,customData:y,attribute:d},{...R},{visibility:R.label?"hover":"click",placement:"bottom",isInteractive:!R.label});h.splice(0,0,x)},refreshPopovers(){let d={};Object(re.b)(this.popovers)&&(d=Do(Object(he.b)({id:this.dayPopoverId,data:this.day},...this.popovers))),this.dayContentEvents=Object(re.h)({click:this.click,mouseenter:this.mouseenter,mouseleave:this.mouseleave,focusin:this.focusin,focusout:this.focusout,keydown:this.keydown},d),Qm({id:this.dayPopoverId,data:this.day})}}},sv=ov,iv=(n("8ab2"),Dt(sv,Km,Zm,!1,null,"4420d078")),cv=iv.exports,uv={name:"CalendarPane",mixins:[wo,Ri],render(d){var h=this;const b=this.safeScopedSlot("header",this.page)||d("div",{class:"vc-header align-"+this.titlePosition},[d("div",{class:"vc-title",on:this.navPopoverEvents},[this.safeScopedSlot("header-title",this.page,this.page.title)])]),y=this.weekdayLabels.map(function(X,oe){return d("div",{key:oe+1,class:"vc-weekday"},[X])}),R=this.showWeeknumbers_.startsWith("left"),x=this.showWeeknumbers_.startsWith("right");R?y.unshift(d("div",{class:"vc-weekday"})):x&&y.push(d("div",{class:"vc-weekday"}));const M=function(X){return d("div",{class:["vc-weeknumber"]},[d("span",{class:["vc-weeknumber-content","is-"+h.showWeeknumbers_],on:{click:function(oe){h.$emit("weeknumberclick",{weeknumber:X,days:h.page.days.filter(function(le){return le[h.weeknumberKey]===X}),event:oe})}}},[X])])},k=[],{daysInWeek:F}=this.locale;this.page.days.forEach(function(X,oe){const le=oe%F;(R&&le===0||x&&le===F)&&k.push(M(X[h.weeknumberKey])),k.push(d(cv,{attrs:{day:X},on:{...h.$listeners},scopedSlots:h.$scopedSlots,key:X.id,ref:"days",refInFor:!0})),x&&le===F-1&&k.push(M(X[h.weeknumberKey]))});const B=d("div",{class:{"vc-weeks":!0,"vc-show-weeknumbers":this.showWeeknumbers_,"is-left":R,"is-right":x}},[y,k]);return d("div",{class:["vc-pane","row-from-end-"+this.rowFromEnd,"column-from-end-"+this.columnFromEnd],ref:"pane"},[b,B])},inheritAttrs:!1,props:{page:Object,position:Number,row:Number,rowFromEnd:Number,column:Number,columnFromEnd:Number,titlePosition:String,navVisibility:String,showWeeknumbers:[Boolean,String],showIsoWeeknumbers:[Boolean,String]},computed:{weeknumberKey(){return this.showWeeknumbers?"weeknumber":"isoWeeknumber"},showWeeknumbers_(){const d=this.showWeeknumbers||this.showIsoWeeknumbers;return d==null?"":Object(he.i)(d)?d?"left":"":d.startsWith("right")?this.columnFromEnd>1?"right":d:this.column>1?"left":d},navVisibility_(){return this.propOrDefault("navVisibility","navVisibility")},navPlacement(){switch(this.titlePosition){case"left":return"bottom-start";case"right":return"bottom-end";default:return"bottom"}},navPopoverEvents(){const{sharedState:d,navVisibility_:h,navPlacement:b,page:y,position:R}=this;return Do({id:d.navPopoverId,visibility:h,placement:b,modifiers:[{name:"flip",options:{fallbackPlacements:["bottom"]}}],data:{page:y,position:R},isInteractive:!0})},weekdayLabels(){var d=this;return this.locale.getWeekdayDates().map(function(h){return d.format(h,d.masks.weekdays)})}},methods:{refresh(){this.$refs.days.forEach(function(d){return d.refresh()})}}},lv=uv,dv=(n("f954"),n("4638"),Dt(lv,Xm,ev,!1,null,"74ad501d")),fv=dv.exports,pv={name:"CustomTransition",render(d){return d("transition",{props:{name:this.name_,appear:this.appear},on:{beforeEnter:this.beforeEnter,afterEnter:this.afterEnter}},[this.$slots.default])},props:{name:String,appear:Boolean},computed:{name_(){return this.name||"none"}},methods:{beforeEnter(d){this.$emit("beforeEnter",d),this.$emit("beforeTransition",d)},afterEnter(d){this.$emit("afterEnter",d),this.$emit("afterTransition",d)}}},hv=pv,mv=(n("0459"),Dt(hv,tv,rv,!1,null,"5be4b00c")),vv=mv.exports,gv=n("9349"),bv=n("0733"),_v=(n("3ee2"),{name:"Calendar",render(d){var h=this;const b=this.pages.map(function(M,k){const F=k+1,B=Math.ceil((k+1)/h.columns),X=h.rows-B+1,oe=F%h.columns||h.columns,le=h.columns-oe+1;return d(fv,{attrs:{...h.$attrs,attributes:h.store},props:{page:M,position:F,row:B,rowFromEnd:X,column:oe,columnFromEnd:le,titlePosition:h.titlePosition_},on:{...h.$listeners,dayfocusin:function(me){h.lastFocusedDay=me,h.$emit("dayfocusin",me)},dayfocusout:function(me){h.lastFocusedDay=null,h.$emit("dayfocusout",me)}},scopedSlots:h.$scopedSlots,key:M.key,ref:"pages",refInFor:!0})}),y=function(M){const k=function(){return h.move(M?-h.step_:h.step_)},F=function(X){return Object(re.l)(X,k)},B=M?!h.canMovePrev:!h.canMoveNext;return d("div",{class:["vc-arrow","is-"+(M?"left":"right"),{"is-disabled":B}],attrs:{role:"button"},on:{click:k,keydown:F}},[(M?h.safeScopedSlot("header-left-button",{click:k}):h.safeScopedSlot("header-right-button",{click:k}))||d(Yu,{props:{name:M?"left-arrow":"right-arrow"}})])},R=function(){return d(Ea,{props:{id:h.sharedState.navPopoverId,contentClass:"vc-nav-popover-container"},ref:"navPopover",scopedSlots:{default:function({data:M}){const{position:k,page:F}=M;return d(Wu,{props:{value:F,position:k,validator:function(B){return h.canMove(B,{position:k})}},on:{input:function(B){return h.move(B,{position:k})}},scopedSlots:h.$scopedSlots})}}})},x=function(){return d(Ea,{props:{id:h.sharedState.dayPopoverId,contentClass:"vc-day-popover-container"},scopedSlots:{default:function({data:M,updateLayout:k,hide:F}){const B=M.attributes?Object.values(M.attributes).filter(function(me){return me.popover}):[],X=h.$locale.masks,oe=h.formatDate,le=oe(M.date,X.dayPopover);return h.safeScopedSlot("day-popover",{day:M,attributes:B,masks:X,format:oe,dayTitle:le,updateLayout:k,hide:F})||d("div",[X.dayPopover&&d("div",{class:["vc-day-popover-header"]},[le]),B.map(function(me){return d(Um,{key:me.key,props:{attribute:me}})})])}}})};return d("div",{attrs:{"data-helptext":"Press the arrow keys to navigate by day, Home and End to navigate to week ends, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year"},class:["vc-container","vc-"+this.$theme.color,{"vc-is-expanded":this.isExpanded,"vc-is-dark":this.$theme.isDark}],on:{keydown:this.handleKeydown,mouseup:function(M){return M.preventDefault()}},ref:"container"},[R(),d("div",{class:["vc-pane-container",{"in-transition":this.inTransition}]},[d(vv,{props:{name:this.transitionName},on:{beforeEnter:function(){h.inTransition=!0},afterEnter:function(){h.inTransition=!1}}},[d("div",{class:"vc-pane-layout",style:{gridTemplateColumns:`repeat(${this.columns}, 1fr)`},attrs:{...this.$attrs},key:Object(re.b)(this.pages)?this.pages[0].key:""},b)]),d("div",{class:["vc-arrows-container title-"+this.titlePosition_]},[y(!0),y(!1)]),this.$scopedSlots.footer&&this.$scopedSlots.footer()]),x()])},mixins:[Hu,Ri],provide(){return{sharedState:this.sharedState}},props:{rows:{type:Number,default:1},columns:{type:Number,default:1},step:Number,titlePosition:String,isExpanded:Boolean,fromDate:Date,toDate:Date,fromPage:Object,toPage:Object,minPage:Object,maxPage:Object,transition:String,attributes:[Object,Array],trimWeeks:Boolean,disablePageSwipe:Boolean},data(){return{pages:[],store:null,lastFocusedDay:null,focusableDay:new Date().getDate(),transitionName:"",inTransition:!1,sharedState:{navPopoverId:Object(re.c)(),dayPopoverId:Object(re.c)(),theme:{},masks:{},locale:{}}}},computed:{titlePosition_(){return this.propOrDefault("titlePosition","titlePosition")},firstPage(){return Object(he.g)(this.pages)},lastPage(){return Object(he.p)(this.pages)},minPage_(){return this.minPage||this.pageForDate(this.minDate)},maxPage_(){return this.maxPage||this.pageForDate(this.maxDate)},count(){return this.rows*this.columns},step_(){return this.step||this.count},canMovePrev(){return this.canMove(-this.step_)},canMoveNext(){return this.canMove(this.step_)}},watch:{$locale(){this.refreshLocale(),this.refreshPages({page:this.firstPage,ignoreCache:!0}),this.initStore()},$theme(){this.refreshTheme(),this.initStore()},fromDate(){this.refreshPages()},fromPage(d){const h=this.pages&&this.pages[0];Object(re.q)(d,h)||this.refreshPages()},toPage(d){const h=this.pages&&this.pages[this.pages.length-1];Object(re.q)(d,h)||this.refreshPages()},count(){this.refreshPages()},attributes:{handler(d){const{adds:h,deletes:b}=this.store.refresh(d);this.refreshAttrs(this.pages,h,b)},deep:!0},pages(d){this.refreshAttrs(d,this.store.list,null,!0)},disabledAttribute(){this.refreshDisabledDays()},lastFocusedDay(d){d&&(this.focusableDay=d.day,this.refreshFocusableDays())},inTransition(d){d?this.$emit("transition-start"):(this.$emit("transition-end"),this.transitionPromise&&(this.transitionPromise.resolve(!0),this.transitionPromise=null))}},created(){this.refreshLocale(),this.refreshTheme(),this.initStore(),this.refreshPages()},mounted(){var d=this;this.disablePageSwipe||(this.removeHandlers=Object(bv.a)(this.$refs.container,function({toLeft:h,toRight:b}){h?d.moveNext():b&&d.movePrev()},this.$defaults.touch))},destroyed(){this.pages=[],this.store.destroy(),this.store=null,this.sharedState=null,this.removeHandlers&&this.removeHandlers()},methods:{refreshLocale(){this.sharedState.locale=this.$locale,this.sharedState.masks=this.$locale.masks},refreshTheme(){this.sharedState.theme=this.$theme},canMove(d,h={}){var b=this;const y=this.$locale.toPage(d,this.firstPage);let{position:R}=h;if(Object(he.l)(d)&&(R=1),!y)return Promise.reject(new Error("Invalid argument provided: "+d));if(!R)if(Object(re.o)(y,this.firstPage))R=-1;else{if(!Object(re.n)(y,this.lastPage))return Promise.resolve(!0);R=1}return Object.assign(h,this.getTargetPageRange(y,{position:R,force:!0})),Object(re.s)(h.fromPage,h.toPage).some(function(x){return Object(re.p)(x,b.minPage_,b.maxPage_)})},movePrev(d){return this.move(-this.step_,d)},moveNext(d){return this.move(this.step_,d)},move(d,h={}){const b=this.canMove(d,h);return h.force||b?(this.$refs.navPopover.hide({hideDelay:0}),h.fromPage&&!Object(re.q)(h.fromPage,this.firstPage)?this.refreshPages({...h,page:h.fromPage,position:1,force:!0}):Promise.resolve(!0)):Promise.reject(new Error("Move target is disabled: "+JSON.stringify(h)))},focusDate(d,h={}){var b=this;return this.move(d,h).then(function(){const y=b.$el.querySelector(`.id-${b.$locale.getDayId(d)}.in-month .vc-focusable`);return y?(y.focus(),Promise.resolve(!0)):Promise.resolve(!1)})},showPageRange(d,h){let b,y;if(Object(he.j)(d))b=this.pageForDate(d);else{if(!Object(he.m)(d))return Promise.reject(new Error("Invalid page range provided."));{const{month:M,year:k}=d,{from:F,to:B}=d;Object(he.l)(M)&&Object(he.l)(k)?b=d:(F||B)&&(b=Object(he.j)(F)?this.pageForDate(F):F,y=Object(he.j)(B)?this.pageForDate(B):B)}}const R=this.lastPage;let x=b;return Object(re.n)(y,R)&&(x=Object(re.a)(y,-(this.pages.length-1))),Object(re.o)(x,b)&&(x=b),this.refreshPages({...h,page:x})},getTargetPageRange(d,{position:h,force:b}={}){let y=null,R=null;if(Object(re.r)(d)){let x=0;h=+h,isNaN(h)||(x=h>0?1-h:-(this.count+h)),y=Object(re.a)(d,x)}else y=this.getDefaultInitialPage();return R=Object(re.a)(y,this.count-1),b||(Object(re.o)(y,this.minPage_)?y=this.minPage_:Object(re.n)(R,this.maxPage_)&&(y=Object(re.a)(this.maxPage_,1-this.count)),R=Object(re.a)(y,this.count-1)),{fromPage:y,toPage:R}},getDefaultInitialPage(){let d=this.fromPage||this.pageForDate(this.fromDate);if(!Object(re.r)(d)){const h=this.toPage||this.pageForDate(this.toPage);Object(re.r)(h)&&(d=Object(re.a)(h,1-this.count))}return Object(re.r)(d)||(d=this.getPageForAttributes()),Object(re.r)(d)||(d=this.pageForThisMonth()),d},refreshPages({page:d,position:h=1,force:b,transition:y,ignoreCache:R}={}){var x=this;return new Promise(function(M,k){const{fromPage:F,toPage:B}=x.getTargetPageRange(d,{position:h,force:b}),X=[];for(let oe=0;oe1||!Object(re.r)(d)||!Object(re.r)(h))return"fade";const y=Object(re.o)(h,d);return b==="slide-v"?y?"slide-down":"slide-up":y?"slide-right":"slide-left"},getPageForAttributes(){let d=null;const h=this.store.pinAttr;if(h&&h.hasDates){let[b]=h.dates;b=b.start||b.date,d=this.pageForDate(b)}return d},buildPage({month:d,year:h},b){var y=this;const R=`${h.toString()}-${d.toString()}`;let x=this.pages.find(function(M){return M.key===R});if(!x||b){const M=new Date(h,d-1,15),k=this.$locale.getMonthComps(d,h),F=this.$locale.getPrevMonthComps(d,h),B=this.$locale.getNextMonthComps(d,h);x={key:R,month:d,year:h,weeks:this.trimWeeks?k.weeks:6,title:this.$locale.format(M,this.$locale.masks.title),shortMonthLabel:this.$locale.format(M,"MMM"),monthLabel:this.$locale.format(M,"MMMM"),shortYearLabel:h.toString().substring(2),yearLabel:h.toString(),monthComps:k,prevMonthComps:F,nextMonthComps:B,canMove:function(X){return y.canMove(X)},move:function(X){return y.move(X)},moveThisMonth:function(){return y.moveThisMonth()},movePrevMonth:function(){return y.move(F)},moveNextMonth:function(){return y.move(B)},refresh:!0},x.days=this.$locale.getCalendarDays(x)}return x},initStore(){this.store=new gv.a(this.$theme,this.$locale,this.attributes),this.refreshAttrs(this.pages,this.store.list,[],!0)},refreshAttrs(d=[],h=[],b=[],y){var R=this;Object(re.b)(d)&&(d.forEach(function(x){x.days.forEach(function(M){let k={};y?M.refresh=!0:Object(he.f)(M.attributesMap,b)?(k=Object(he.s)(M.attributesMap,b),M.refresh=!0):k=M.attributesMap||{},h.forEach(function(F){const B=F.intersectsDay(M);if(B){const X={...F,targetDate:B};k[F.key]=X,M.refresh=!0}}),M.refresh&&(M.attributesMap=k)})}),this.$nextTick(function(){R.$refs.pages.forEach(function(x){return x.refresh()})}))},handleKeydown(d){const h=this.lastFocusedDay;h!=null&&(h.event=d,this.handleDayKeydown(h))},handleDayKeydown(d){const{dateFromTime:h,event:b}=d,y=h(12);let R=null;switch(b.key){case"ArrowLeft":R=Object(s.a)(y,-1);break;case"ArrowRight":R=Object(s.a)(y,1);break;case"ArrowUp":R=Object(s.a)(y,-7);break;case"ArrowDown":R=Object(s.a)(y,7);break;case"Home":R=Object(s.a)(y,1-d.weekdayPosition);break;case"End":R=Object(s.a)(y,d.weekdayPositionFromEnd);break;case"PageUp":R=b.altKey?f(y,-1):l(y,-1);break;case"PageDown":R=b.altKey?f(y,1):l(y,1);break}R&&(b.preventDefault(),this.focusDate(R).catch(function(){}))}}}),Av=_v,Sv=(n("1c6b"),Dt(Av,av,nv,!1,null,null)),Qu=Sv.exports,yv=function(){var d=this,h=d._self._c;return h("div",{staticClass:"vc-time-picker",class:[{"vc-disabled":d.isDisabled,"vc-bordered":d.showBorder}]},[h("div",[h("svg",{staticClass:"vc-time-icon",attrs:{fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor"}},[h("path",{attrs:{d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),h("div",{staticClass:"vc-date-time"},[d.date?h("div",{staticClass:"vc-date"},[h("span",{staticClass:"vc-weekday"},[d._v(" "+d._s(d.locale.format(d.date,"WWW"))+" ")]),h("span",{staticClass:"vc-month"},[d._v(" "+d._s(d.locale.format(d.date,"MMM"))+" ")]),h("span",{staticClass:"vc-day"},[d._v(" "+d._s(d.locale.format(d.date,"D"))+" ")]),h("span",{staticClass:"vc-year"},[d._v(" "+d._s(d.locale.format(d.date,"YYYY"))+" ")])]):d._e(),h("div",{staticClass:"vc-time"},[h("time-select",{attrs:{options:d.hourOptions_},model:{value:d.hours,callback:function(b){d.hours=d._n(b)},expression:"hours"}}),h("span",{staticStyle:{margin:"0 4px"}},[d._v(":")]),h("time-select",{attrs:{options:d.minuteOptions},model:{value:d.minutes,callback:function(b){d.minutes=d._n(b)},expression:"minutes"}}),d.is24hr?d._e():h("div",{staticClass:"vc-am-pm",class:{"vc-disabled":!(d.hours>=0)}},[h("button",{class:{active:d.isAM,"vc-disabled":d.amDisabled},attrs:{type:"button"},on:{click:function(b){b.preventDefault(),d.isAM=!0}}},[d._v(" AM ")]),h("button",{class:{active:!d.isAM,"vc-disabled":d.pmDisabled},attrs:{type:"button"},on:{click:function(b){b.preventDefault(),d.isAM=!1}}},[d._v(" PM ")])])],1)])])},Ov=[],Ev=function(){var d=this,h=d._self._c;return h("div",{staticClass:"vc-select"},[h("select",d._b({directives:[{name:"model",rawName:"v-model",value:d.model,expression:"model"}],on:{change:function(b){var y=Array.prototype.filter.call(b.target.options,function(R){return R.selected}).map(function(R){var x="_value"in R?R._value:R.value;return x});d.model=b.target.multiple?y:y[0]}}},"select",d.$attrs,!1),d._l(d.options,function(b){return h("option",{key:b.value,attrs:{disabled:b.disabled},domProps:{value:b.value}},[d._v(" "+d._s(b.label)+" ")])}),0),h("div",{staticClass:"vc-select-arrow"},[h("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[h("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})])])])},Cv=[],Rv={inheritAttrs:!1,props:{options:Array,value:Number},computed:{model:{get(){return this.value},set(d){this.$emit("input",d)}}}},wv=Rv,Tv=(n("47c6"),Dt(wv,Ev,Cv,!1,null,"7b2eaf0a")),Dv=Tv.exports;const xv=[{value:0,label:"12"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"}],Pv=[{value:12,label:"12"},{value:13,label:"1"},{value:14,label:"2"},{value:15,label:"3"},{value:16,label:"4"},{value:17,label:"5"},{value:18,label:"6"},{value:19,label:"7"},{value:20,label:"8"},{value:21,label:"9"},{value:22,label:"10"},{value:23,label:"11"}];var Nv={name:"TimePicker",components:{TimeSelect:Dv},props:{value:{type:Object,required:!0},locale:{type:Object,required:!0},theme:{type:Object,required:!0},is24hr:{type:Boolean,default:!0},showBorder:Boolean,isDisabled:Boolean,hourOptions:Array,minuteOptions:Array},computed:{date(){let d=this.locale.normalizeDate(this.value);return this.value.hours===24&&(d=new Date(d.getTime()-1)),d},hours:{get(){return this.value.hours},set(d){this.updateValue(d,this.minutes)}},minutes:{get(){return this.value.minutes},set(d){this.updateValue(this.hours,d)}},isAM:{get(){return this.value.hours<12},set(d){let h=this.hours;d&&h>=12?h-=12:!d&&h<12&&(h+=12),this.updateValue(h,this.minutes)}},amHourOptions(){var d=this;return xv.filter(function(h){return d.hourOptions.some(function(b){return b.value===h.value})})},pmHourOptions(){var d=this;return Pv.filter(function(h){return d.hourOptions.some(function(b){return b.value===h.value})})},hourOptions_(){return this.is24hr?this.hourOptions:this.isAM?this.amHourOptions:this.pmHourOptions},amDisabled(){return!Object(re.b)(this.amHourOptions)},pmDisabled(){return!Object(re.b)(this.pmHourOptions)}},methods:{updateValue(d,h){d===this.hours&&h===this.minutes||this.$emit("input",{...this.value,hours:d,minutes:h,seconds:0,milliseconds:0})}}},Iv=Nv,$v=(n("e177"),Dt(Iv,yv,Ov,!1,null,"f4e11af8")),Mv=$v.exports;const Ku={type:"auto",mask:"iso",timeAdjust:""},kv=[Ku,Ku],xo={DATE:"date",DATE_TIME:"datetime",TIME:"time"},Bt={NONE:0,START:1,END:2,BOTH:3};var Uv,Lv,Fv={name:"DatePicker",render(d){var h=this;const b=function(){if(!h.dateParts)return null;const x=h.isRange?h.dateParts:[h.dateParts[0]];return d("div",[...x.map(function(M,k){const F=h.$locale.getHourOptions(h.modelConfig_[k].validHours,M),B=h.$locale.getMinuteOptions(h.modelConfig_[k].minuteIncrement,M);return d(Mv,{props:{value:M,locale:h.$locale,theme:h.$theme,is24hr:h.is24hr,minuteIncrement:h.minuteIncrement,showBorder:!h.isTime,isDisabled:h.isDateTime&&!M.isValid||h.isDragging,hourOptions:F,minuteOptions:B},on:{input:function(X){return h.onTimeInput(X,k===0)}}})}),h.$scopedSlots.footer&&h.$scopedSlots.footer()])},y=function(){return d(Qu,{attrs:{...h.$attrs,attributes:h.attributes_,theme:h.$theme,locale:h.$locale},props:{minDate:h.minDateExact||h.minDate,maxDate:h.maxDateExact||h.maxDate,disabledDates:h.disabledDates,availableDates:h.availableDates},on:{...h.$listeners,dayclick:h.onDayClick,daykeydown:h.onDayKeydown,daymouseenter:h.onDayMouseEnter},scopedSlots:{...h.$scopedSlots,footer:h.isDateTime?b:h.$scopedSlots.footer},ref:"calendar"})},R=function(){return h.isTime?d("div",{class:["vc-container","vc-"+h.$theme.color,{"vc-is-dark":h.$theme.isDark}]},[b()]):y()};return this.$scopedSlots.default&&d("span",[this.$scopedSlots.default(this.slotArgs),d(Ea,{props:{id:this.datePickerPopoverId,placement:"bottom-start",contentClass:"vc-container"+(this.isDark?" vc-is-dark":"")},on:{beforeShow:function(x){return h.$emit("popoverWillShow",x)},afterShow:function(x){return h.$emit("popoverDidShow",x)},beforeHide:function(x){return h.$emit("popoverWillHide",x)},afterHide:function(x){return h.$emit("popoverDidHide",x)}},scopedSlots:{default(){return R()}},ref:"popover"})])||R()},mixins:[Hu],props:{mode:{type:String,default:xo.DATE},value:{type:null,required:!0},modelConfig:{type:Object,default:function(){return{}}},is24hr:Boolean,minuteIncrement:Number,isRequired:Boolean,isRange:Boolean,updateOnInput:Boolean,inputDebounce:Number,popover:{type:Object,default:function(){return{}}},dragAttribute:Object,selectAttribute:Object,attributes:Array,validHours:[Object,Array,Function]},data(){return{value_:null,dateParts:null,activeDate:"",dragValue:null,inputValues:["",""],updateTimeout:null,watchValue:!0,datePickerPopoverId:Object(re.c)()}},computed:{updateOnInput_(){return this.propOrDefault("updateOnInput","datePicker.updateOnInput")},inputDebounce_(){return this.propOrDefault("inputDebounce","datePicker.inputDebounce")},isDate(){return this.mode.toLowerCase()===xo.DATE},isDateTime(){return this.mode.toLowerCase()===xo.DATE_TIME},isTime(){return this.mode.toLowerCase()===xo.TIME},isDragging(){return!!this.dragValue&&this.isRange},modelConfig_(){return this.normalizeConfig(this.modelConfig,kv)},inputMask(){const d=this.$locale.masks;return this.isTime?this.is24hr?d.inputTime24hr:d.inputTime:this.isDateTime?this.is24hr?d.inputDateTime24hr:d.inputDateTime:this.$locale.masks.input},inputMaskHasTime(){return/[Hh]/g.test(this.inputMask)},inputMaskHasDate(){return/[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(this.inputMask)},inputMaskPatch(){return this.inputMaskHasTime&&this.inputMaskHasDate?wr.a.DATE_TIME:this.inputMaskHasDate?wr.a.DATE:this.inputMaskHasTime?wr.a.TIME:void 0},slotArgs(){var d=this;const{isRange:h,isDragging:b,updateValue:y,showPopover:R,hidePopover:x,togglePopover:M}=this,k=h?{start:this.inputValues[0],end:this.inputValues[1]}:this.inputValues[0],F=[!0,!1].map(function(X){return{input:d.onInputInput(X),change:d.onInputChange(X),keyup:d.onInputKeyup,...Do({...d.popover_,id:d.datePickerPopoverId,callback:function(oe){oe.action==="show"&&oe.completed&&d.onInputShow(X)}})}}),B=h?{start:F[0],end:F[1]}:F[0];return{inputValue:k,inputEvents:B,isDragging:b,updateValue:y,showPopover:R,hidePopover:x,togglePopover:M,getPopoverTriggerEvents:Do}},popover_(){return this.propOrDefault("popover","datePicker.popover","merge")},selectAttribute_(){if(!this.hasValue(this.value_))return null;const d={key:"select-drag",...this.selectAttribute,dates:this.value_,pinPage:!0},{dot:h,bar:b,highlight:y,content:R}=d;return h||b||y||R||(d.highlight=!0),d},dragAttribute_(){if(!this.isRange||!this.hasValue(this.dragValue))return null;const d={key:"select-drag",...this.dragAttribute,dates:this.dragValue},{dot:h,bar:b,highlight:y,content:R}=d;return h||b||y||R||(d.highlight={startEnd:{fillMode:"outline"}}),d},attributes_(){const d=Object(he.h)(this.attributes)?[...this.attributes]:[];return this.dragAttribute_?d.push(this.dragAttribute_):this.selectAttribute_&&d.push(this.selectAttribute_),d}},watch:{inputMask(){this.formatInput()},value(d){this.watchValue&&this.forceUpdateValue(d,{config:this.modelConfig_,notify:!1,formatInput:!0,hidePopover:!1})},value_(){this.refreshDateParts()},dragValue(){this.refreshDateParts()},timezone(){this.refreshDateParts(),this.forceUpdateValue(this.value_,{formatInput:!0})}},created(){this.value_=this.normalizeValue(this.value,this.modelConfig_,wr.a.DATE_TIME,Bt.BOTH),this.forceUpdateValue(this.value,{config:this.modelConfig_,formatInput:!0,hidePopover:!1}),this.refreshDateParts()},mounted(){Object(re.k)(document,"keydown",this.onDocumentKeyDown),Object(re.k)(document,"click",this.onDocumentClick)},destroyed(){Object(re.j)(document,"keydown",this.onDocumentKeyDown),Object(re.j)(document,"click",this.onDocumentClick)},methods:{getDateParts(d){return this.$locale.getDateParts(d)},getDateFromParts(d){return this.$locale.getDateFromParts(d)},refreshDateParts(){var d=this;const h=this.dragValue||this.value_,b=[];this.isRange?(h&&h.start?b.push(this.getDateParts(h.start)):b.push({}),h&&h.end?b.push(this.getDateParts(h.end)):b.push({})):h?h&&h.start?b.push(this.getDateParts(h.start)):b.push(this.getDateParts(h)):b.push({}),this.$nextTick(function(){return d.dateParts=b})},onDocumentKeyDown(d){this.dragValue&&d.key==="Escape"&&(this.dragValue=null)},onDocumentClick(d){document.body.contains(d.target)&&!Object(re.e)(this.$el,d.target)&&(this.dragValue=null,this.formatInput())},onDayClick(d){this.handleDayClick(d),this.$emit("dayclick",d)},onDayKeydown(d){switch(d.event.key){case" ":case"Enter":this.handleDayClick(d),d.event.preventDefault();break;case"Escape":this.hidePopover()}this.$emit("daykeydown",d)},handleDayClick(d){const{keepVisibleOnInput:h,visibility:b}=this.popover_,y={patch:wr.a.DATE,adjustTime:!0,formatInput:!0,hidePopover:this.isDate&&!h&&b!=="visible"};this.isRange?(this.isDragging?this.dragTrackingValue.end=d.date:this.dragTrackingValue={...d.range},y.isDragging=!this.isDragging,y.rangePriority=y.isDragging?Bt.NONE:Bt.BOTH,y.hidePopover=y.hidePopover&&!y.isDragging,this.updateValue(this.dragTrackingValue,y)):(y.clearIfEqual=!this.isRequired,this.updateValue(d.date,y))},onDayMouseEnter(d){this.isDragging&&(this.dragTrackingValue.end=d.date,this.updateValue(this.dragTrackingValue,{patch:wr.a.DATE,adjustTime:!0,formatInput:!0,hidePopover:!1,rangePriority:Bt.NONE}))},onTimeInput(d,h){var b=this;let y=null;if(this.isRange){const R=h?d:this.dateParts[0],x=h?this.dateParts[1]:d;y={start:R,end:x}}else y=d;this.updateValue(y,{patch:wr.a.TIME,rangePriority:h?Bt.START:Bt.END}).then(function(){return b.adjustPageRange(h)})},onInputInput(d){var h=this;return function(b){h.updateOnInput_&&h.onInputUpdate(b.target.value,d,{formatInput:!1,hidePopover:!1,debounce:h.inputDebounce_})}},onInputChange(d){var h=this;return function(b){h.onInputUpdate(b.target.value,d,{formatInput:!0,hidePopover:!1})}},onInputUpdate(d,h,b){var y=this;this.inputValues.splice(h?0:1,1,d);const R=this.isRange?{start:this.inputValues[0],end:this.inputValues[1]||this.inputValues[0]}:d,x={type:"string",mask:this.inputMask};this.updateValue(R,{...b,config:x,patch:this.inputMaskPatch,rangePriority:h?Bt.START:Bt.END}).then(function(){return y.adjustPageRange(h)})},onInputShow(d){this.adjustPageRange(d)},onInputKeyup(d){d.key==="Escape"&&this.updateValue(this.value_,{formatInput:!0,hidePopover:!0})},normalizeConfig(d,h=this.modelConfig_){var b=this;return d=Object(he.h)(d)?d:[d.start||d,d.end||d],h.map(function(y,R){return{validHours:b.validHours,minuteIncrement:b.minuteIncrement,...y,...d[R]}})},updateValue(d,h={}){var b=this;return clearTimeout(this.updateTimeout),new Promise(function(y){const{debounce:R,...x}=h;R>0?b.updateTimeout=setTimeout(function(){b.forceUpdateValue(d,x),y(b.value_)},R):(b.forceUpdateValue(d,x),y(b.value_))})},forceUpdateValue(d,{config:h=this.modelConfig_,patch:b=wr.a.DATE_TIME,clearIfEqual:y=!1,formatInput:R=!0,hidePopover:x=!1,isDragging:M=this.isDragging,rangePriority:k=Bt.BOTH}={}){var F=this;h=this.normalizeConfig(h);let B=this.normalizeValue(d,h,b,k);!B&&this.isRequired&&(B=this.value_),B=this.adjustTimeForValue(B,h);const X=this.valueIsDisabled(B);if(X){if(M)return;B=this.value_,x=!1}const oe=M?"dragValue":"value_";let le=!this.valuesAreEqual(this[oe],B);if(X||le||!y||(B=null,le=!0),le){this.$set(this,oe,B),M||(this.dragValue=null);const me=this.denormalizeValue(B),Ve=this.isDragging?"drag":"input";this.watchValue=!1,this.$emit(Ve,me),this.$nextTick(function(){return F.watchValue=!0})}x&&this.hidePopover(),R&&this.formatInput()},hasValue(d){return this.isRange?Object(he.m)(d)&&!!d.start&&!!d.end:!!d},normalizeValue(d,h,b,y){if(!this.hasValue(d))return null;if(this.isRange){const R={},x=d.start>d.end?d.end:d.start;R.start=this.normalizeDate(x,{...h[0],fillDate:this.value_&&this.value_.start||h[0].fillDate,patch:b});const M=d.start>d.end?d.start:d.end;return R.end=this.normalizeDate(M,{...h[1],fillDate:this.value_&&this.value_.end||h[1].fillDate,patch:b}),this.sortRange(R,y)}return this.normalizeDate(d,{...h[0],fillDate:this.value_||h[0].fillDate,patch:b})},adjustTimeForValue(d,h){return this.hasValue(d)?this.isRange?{start:this.$locale.adjustTimeForDate(d.start,h[0]),end:this.$locale.adjustTimeForDate(d.end,h[1])}:this.$locale.adjustTimeForDate(d,h[0]):null},sortRange(d,h=Bt.NONE){const{start:b,end:y}=d;if(b>y)switch(h){case Bt.START:return{start:b,end:b};case Bt.END:return{start:y,end:y};case Bt.BOTH:return{start:y,end:b}}return{start:b,end:y}},denormalizeValue(d,h=this.modelConfig_){return this.isRange?this.hasValue(d)?{start:this.$locale.denormalizeDate(d.start,h[0]),end:this.$locale.denormalizeDate(d.end,h[1])}:null:this.$locale.denormalizeDate(d,h[0])},valuesAreEqual(d,h){if(this.isRange){const b=this.hasValue(d),y=this.hasValue(h);return!b&&!y||b===y&&Object(re.d)(d.start,h.start)&&Object(re.d)(d.end,h.end)}return Object(re.d)(d,h)},valueIsDisabled(d){return this.hasValue(d)&&this.disabledAttribute&&this.disabledAttribute.intersectsDate(d)},formatInput(){var d=this;this.$nextTick(function(){const h=d.normalizeConfig({type:"string",mask:d.inputMask}),b=d.denormalizeValue(d.dragValue||d.value_,h);d.isRange?d.inputValues=[b&&b.start,b&&b.end]:d.inputValues=[b,""]})},showPopover(d={}){Ti({ref:this.$el,...this.popover_,...d,isInteractive:!0,id:this.datePickerPopoverId})},hidePopover(d={}){Di({hideDelay:10,...this.popover_,...d,id:this.datePickerPopoverId})},togglePopover(d){Ju({ref:this.$el,...this.popover_,...d,isInteractive:!0,id:this.datePickerPopoverId})},adjustPageRange(d){var h=this;this.$nextTick(function(){const b=h.$refs.calendar,y=h.getPageForValue(d),R=d?1:-1;y&&b&&!Object(re.p)(y,b.firstPage,b.lastPage)&&b.move(y,{position:R,transition:"fade"})})},getPageForValue(d){return this.hasValue(this.value_)?this.pageForDate(this.isRange?this.value_[d?"start":"end"]:this.value_):null},move(d,h){return this.$refs.calendar?this.$refs.calendar.move(d,h):Promise.reject(new Error("Navigation disabled while calendar is not yet displayed"))},focusDate(d,h){return this.$refs.calendar?this.$refs.calendar.focusDate(d,h):Promise.reject(new Error("Navigation disabled while calendar is not yet displayed"))}}},jv=Fv,Vv=Dt(jv,Uv,Lv,!1,null,null),Bv=Vv.exports},"2b10":function(a,o){function n(s,i,c){var u=-1,l=s.length;i<0&&(i=-i>l?0:l+i),c=c>l?l:c,c<0&&(c+=l),l=i>c?0:c-i>>>0,i>>>=0;for(var f=Array(l);++u0&&s[0]<4?1:+(s[0]+s[1])),!i&&u&&(s=u.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=u.match(/Chrome\/(\d+)/),s&&(i=+s[1]))),a.exports=i},"2d7c":function(a,o){function n(s,i){for(var c=-1,u=s==null?0:s.length,l=0,f=[];++c1?f[p-1]:void 0,g=p>2?f[2]:void 0;for(v=u.length>3&&typeof v=="function"?(p--,v):void 0,g&&i(f[0],f[1],g)&&(v=p<3?void 0:v,p=1),l=Object(l);++mj.month:P.year>j.year)},p=function(P,j,E){return!!P&&!f(P,j)&&!m(P,E)},v=function(P,j){return!(!P&&j)&&!(P&&!j)&&(!P&&!j||P.month===j.month&&P.year===j.year)},g=function({month:P,year:j},E){const C=E>0?1:-1;for(let I=0;I12?(P=1,j++):P<1&&(P=12,j--);return{month:P,year:j}},_=function(P,j){if(!l(P)||!l(j))return[];const E=[];for(;!m(P,j);)E.push(P),P=g(P,1);return E};function A(P,j){const E=Object(s.j)(P),C=Object(s.j)(j);return!E&&!C||E===C&&P.getTime()===j.getTime()}const O=function(P){return Object(s.h)(P)&&P.length},D=function(P,j,E){const C=[];return E.forEach(function(I){const W=I.name||I.toString(),Q=I.mixin,Z=I.validate;if(Object.prototype.hasOwnProperty.call(P,W)){const ee=Z?Z(P[W]):P[W];j[W]=Q&&Object(s.m)(ee)?{...Q,...ee}:ee,C.push(W)}}),{target:j,assigned:C.length?C:null}},$=function(P,j,E,C){P&&j&&E&&P.addEventListener(j,E,C)},L=function(P,j,E,C){P&&j&&P.removeEventListener(j,E,C)},z=function(P,j){return!!P&&!!j&&(P===j||P.contains(j))},q=function(P,j){P.key!==" "&&P.key!=="Enter"||(j(P),P.preventDefault())},U=function(){function P(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return`${P()+P()}-${P()}-${P()}-${P()}-${P()}${P()}${P()}`};function H(P){let j,E=0,C=0;if(P.length===0)return E;for(C=0;Ci)throw s("Maximum allowed index exceeded");return c}},"361d":function(a,o,n){var s=n("48a0");function i(c,u){var l;return s(c,function(f,m,p){return l=u(f,m,p),!l}),!!l}a.exports=i},3698:function(a,o){function n(s,i){return s==null?void 0:s[i]}a.exports=n},3729:function(a,o,n){var s=n("9e69"),i=n("00fd"),c=n("29f3"),u="[object Null]",l="[object Undefined]",f=s?s.toStringTag:void 0;function m(p){return p==null?p===void 0?l:u:f&&f in Object(p)?i(p):c(p)}a.exports=m},3818:function(a,o,n){var s=n("7e64"),i=n("8057"),c=n("32b3"),u=n("5b01"),l=n("0f0f"),f=n("e538"),m=n("4359"),p=n("54eb"),v=n("1041"),g=n("a994"),_=n("1bac"),A=n("42a2"),O=n("c87c"),D=n("c2b6"),$=n("fa21"),L=n("6747"),z=n("0d24"),q=n("cc45"),U=n("1a8c"),H=n("d7ee"),P=n("ec69"),j=n("9934"),E=1,C=2,I=4,W="[object Arguments]",Q="[object Array]",Z="[object Boolean]",ee="[object Date]",ne="[object Error]",ue="[object Function]",ge="[object GeneratorFunction]",Oe="[object Map]",Pe="[object Number]",Te="[object Object]",Fe="[object RegExp]",je="[object Set]",Le="[object String]",gt="[object Symbol]",bt="[object WeakMap]",pt="[object ArrayBuffer]",Nt="[object DataView]",ht="[object Float32Array]",Yr="[object Float64Array]",Lt="[object Int8Array]",Ft="[object Int16Array]",or="[object Int32Array]",Wr="[object Uint8Array]",It="[object Uint8ClampedArray]",ga="[object Uint16Array]",ba="[object Uint32Array]",Me={};function Jr(De,Or,sr,wn,Qr,Zt){var mt,Kr=Or&E,Zr=Or&C,_a=Or&I;if(sr&&(mt=Qr?sr(De,wn,Qr,Zt):sr(De)),mt!==void 0)return mt;if(!U(De))return De;var Aa=L(De);if(Aa){if(mt=O(De),!Kr)return m(De,mt)}else{var be=A(De),Ge=be==ue||be==ge;if(z(De))return f(De,Kr);if(be==Te||be==W||Ge&&!Qr){if(mt=Zr||Ge?{}:$(De),!Kr)return Zr?v(De,l(mt,De)):p(De,u(mt,De))}else{if(!Me[be])return Qr?De:{};mt=D(De,be,Kr)}}Zt||(Zt=new s);var rn=Zt.get(De);if(rn)return rn;Zt.set(De,mt),H(De)?De.forEach(function(Ke){mt.add(Jr(Ke,Or,sr,Ke,De,Zt))}):q(De)&&De.forEach(function(Ke,jt){mt.set(jt,Jr(Ke,Or,sr,jt,De,Zt))});var Tn=_a?Zr?_:g:Zr?j:P,yt=Aa?void 0:Tn(De);return i(yt||De,function(Ke,jt){yt&&(jt=Ke,Ke=De[jt]),c(mt,jt,Jr(Ke,Or,sr,jt,De,Zt))}),mt}Me[W]=Me[Q]=Me[pt]=Me[Nt]=Me[Z]=Me[ee]=Me[ht]=Me[Yr]=Me[Lt]=Me[Ft]=Me[or]=Me[Oe]=Me[Pe]=Me[Te]=Me[Fe]=Me[je]=Me[Le]=Me[gt]=Me[Wr]=Me[It]=Me[ga]=Me[ba]=!0,Me[ne]=Me[ue]=Me[bt]=!1,a.exports=Jr},3852:function(a,o,n){var s=n("96f3"),i=n("e2c0");function c(u,l){return u!=null&&i(u,l,s)}a.exports=c},"386f":function(a,o,n){var s=n("24fb");o=s(!1),o.push([a.i,".vc-time-picker[data-v-f4e11af8]{display:flex;align-items:center;padding:8px}.vc-time-picker.vc-invalid[data-v-f4e11af8]{pointer-events:none;opacity:.5}.vc-time-picker.vc-bordered[data-v-f4e11af8]{border-top:1px solid var(--gray-400)}.vc-date-time[data-v-f4e11af8]{margin-left:8px}.vc-disabled[data-v-f4e11af8]{pointer-events:none;opacity:.5}.vc-time-icon[data-v-f4e11af8]{width:16px;height:16px;color:var(--gray-600)}.vc-date[data-v-f4e11af8]{display:flex;align-items:center;font-size:var(--text-sm);font-weight:var(--font-semibold);text-transform:uppercase;padding:0 0 4px 4px;margin-top:-4px}.vc-date .vc-weekday[data-v-f4e11af8]{color:var(--gray-700);letter-spacing:var(--tracking-wide)}.vc-date .vc-month[data-v-f4e11af8]{color:var(--accent-600);margin-left:8px}.vc-date .vc-day[data-v-f4e11af8]{color:var(--accent-600);margin-left:4px}.vc-date .vc-year[data-v-f4e11af8]{color:var(--gray-500);margin-left:8px}.vc-am-pm[data-v-f4e11af8],.vc-time[data-v-f4e11af8]{display:flex;align-items:center}.vc-am-pm[data-v-f4e11af8]{background:var(--gray-200);margin-left:8px;padding:4px;border-radius:var(--rounded);height:30px}.vc-am-pm button[data-v-f4e11af8]{color:var(--gray-900);font-size:var(--text-sm);font-weight:var(--font-medium);padding:0 4px;background:transparent;border:2px solid transparent;border-radius:var(--rounded);line-height:var(--leading-snug)}.vc-am-pm button[data-v-f4e11af8]:hover{color:var(--gray-600)}.vc-am-pm button[data-v-f4e11af8]:focus{border-color:var(--accent-400)}.vc-am-pm button.active[data-v-f4e11af8]{background:var(--accent-600);color:var(--white)}.vc-am-pm button.active[data-v-f4e11af8]:hover{background:var(--accent-500)}.vc-am-pm button.active[data-v-f4e11af8]:focus{border-color:var(--accent-400)}.vc-is-dark .vc-time-picker[data-v-f4e11af8]{border-color:var(--gray-700)}.vc-is-dark .vc-time-icon[data-v-f4e11af8],.vc-is-dark .vc-weekday[data-v-f4e11af8]{color:var(--gray-400)}.vc-is-dark .vc-day[data-v-f4e11af8],.vc-is-dark .vc-month[data-v-f4e11af8]{color:var(--accent-400)}.vc-is-dark .vc-year[data-v-f4e11af8]{color:var(--gray-500)}.vc-is-dark .vc-am-pm[data-v-f4e11af8]{background:var(--gray-700)}.vc-is-dark .vc-am-pm[data-v-f4e11af8]:focus{border-color:var(--accent-500)}.vc-is-dark .vc-am-pm button[data-v-f4e11af8]{color:var(--gray-100)}.vc-is-dark .vc-am-pm button[data-v-f4e11af8]:hover{color:var(--gray-400)}.vc-is-dark .vc-am-pm button[data-v-f4e11af8]:focus{border-color:var(--accent-500)}.vc-is-dark .vc-am-pm button.active[data-v-f4e11af8]{background:var(--accent-500);color:var(--white)}.vc-is-dark .vc-am-pm button.active[data-v-f4e11af8]:hover{background:var(--accent-600)}.vc-is-dark .vc-am-pm button.active[data-v-f4e11af8]:focus{border-color:var(--accent-500)}",""]),a.exports=o},3963:function(a,o,n){var s=n("24fb");o=s(!1),o.push([a.i,".vc-day[data-v-4420d078]{position:relative;min-height:32px;z-index:1}.vc-day.is-not-in-month *[data-v-4420d078]{opacity:0;pointer-events:none}.vc-day-layer[data-v-4420d078]{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none}.vc-day-box-center-center[data-v-4420d078]{display:flex;justify-content:center;align-items:center;transform-origin:50% 50%}.vc-day-box-left-center[data-v-4420d078]{display:flex;justify-content:flex-start;align-items:center;transform-origin:0 50%}.vc-day-box-right-center[data-v-4420d078]{display:flex;justify-content:flex-end;align-items:center;transform-origin:100% 50%}.vc-day-box-center-bottom[data-v-4420d078]{display:flex;justify-content:center;align-items:flex-end}.vc-day-content[data-v-4420d078]{display:flex;justify-content:center;align-items:center;font-size:var(--text-sm);font-weight:var(--font-medium);width:28px;height:28px;line-height:28px;border-radius:var(--rounded-full);-webkit-user-select:none;user-select:none;cursor:pointer}.vc-day-content[data-v-4420d078]:hover{background-color:rgba(204,214,224,.3)}.vc-day-content[data-v-4420d078]:focus{font-weight:var(--font-bold);background-color:rgba(204,214,224,.4)}.vc-day-content.is-disabled[data-v-4420d078]{color:var(--gray-400)}.vc-is-dark .vc-day-content[data-v-4420d078]:hover{background-color:rgba(114,129,151,.3)}.vc-is-dark .vc-day-content[data-v-4420d078]:focus{background-color:rgba(114,129,151,.4)}.vc-is-dark .vc-day-content.is-disabled[data-v-4420d078]{color:var(--gray-600)}.vc-highlights[data-v-4420d078]{overflow:hidden;pointer-events:none;z-index:-1}.vc-highlight[data-v-4420d078]{width:28px;height:28px}.vc-highlight.vc-highlight-base-start[data-v-4420d078]{width:50%!important;border-radius:0!important;border-right-width:0!important}.vc-highlight.vc-highlight-base-end[data-v-4420d078]{width:50%!important;border-radius:0!important;border-left-width:0!important}.vc-highlight.vc-highlight-base-middle[data-v-4420d078]{width:100%;border-radius:0!important;border-left-width:0!important;border-right-width:0!important;margin:0 -1px}.vc-dots[data-v-4420d078]{display:flex;justify-content:center;align-items:center}.vc-dot[data-v-4420d078]{width:5px;height:5px;border-radius:50%;transition:all var(--day-content-transition-time)}.vc-dot[data-v-4420d078]:not(:last-child){margin-right:3px}.vc-bars[data-v-4420d078]{display:flex;justify-content:flex-start;align-items:center;width:75%}.vc-bar[data-v-4420d078]{flex-grow:1;height:3px;transition:all var(--day-content-transition-time)}",""]),a.exports=o},"39ff":function(a,o,n){var s=n("0b07"),i=n("2b3e"),c=s(i,"WeakMap");a.exports=c},"3a34":function(a,o,n){var s=n("83ab"),i=n("e8b5"),c=TypeError,u=Object.getOwnPropertyDescriptor,l=s&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();a.exports=l?function(f,m){if(i(f)&&!u(f,"length").writable)throw new c("Cannot set read only .length");return f.length=m}:function(f,m){return f.length=m}},"3a9b":function(a,o,n){var s=n("e330");a.exports=s({}.isPrototypeOf)},"3b4a":function(a,o,n){var s=n("0b07"),i=function(){try{var c=s(Object,"defineProperty");return c({},"",{}),c}catch{}}();a.exports=i},"3bb4":function(a,o,n){var s=n("08cc"),i=n("ec69");function c(u){for(var l=i(u),f=l.length;f--;){var m=l[f],p=u[m];l[f]=[m,p,s(p)]}return l}a.exports=c},"3bbe":function(a,o,n){var s=n("1626"),i=String,c=TypeError;a.exports=function(u){if(typeof u=="object"||s(u))return u;throw new c("Can't set "+i(u)+" as a prototype")}},"3c65":function(a,o,n){var s=n("23e7"),i=n("7b0b"),c=n("07fa"),u=n("3a34"),l=n("083a"),f=n("3511"),m=[].unshift(0)!==1,p=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(g){return g instanceof TypeError}},v=m||!p();s({target:"Array",proto:!0,arity:1,forced:v},{unshift:function(g){var _=i(this),A=c(_),O=arguments.length;if(O){f(A+O);for(var D=A;D--;){var $=D+O;D in _?_[$]=_[D]:l(_,$)}for(var L=0;L1),q}),l(O,p(O),$),L&&($=i($,v|g|_,f));for(var z=D.length;z--;)c($,D[z]);return $});a.exports=A},"3f84":function(a,o,n){var s=n("85e3"),i=n("100e"),c=n("e031"),u=n("2411"),l=i(function(f){return f.push(void 0,c),s(u,void 0,f)});a.exports=l},"40d5":function(a,o,n){var s=n("d039");a.exports=!s(function(){var i=(function(){}).bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},"41c3":function(a,o,n){var s=n("1a8c"),i=n("eac5"),c=n("ec8c"),u=Object.prototype,l=u.hasOwnProperty;function f(m){if(!s(m))return c(m);var p=i(m),v=[];for(var g in m)(g!="constructor"||!p&&l.call(m,g))&&v.push(g);return v}a.exports=f},4245:function(a,o,n){var s=n("1290");function i(c,u){var l=c.__data__;return s(u)?l[typeof u=="string"?"string":"hash"]:l.map}a.exports=i},4284:function(a,o){function n(s,i){for(var c=-1,u=s==null?0:s.length;++cP.parts.length&&(j.parts.length=P.parts.length)}else{var C=[];for(E=0;EA;)if(v=g[A++],v!==v)return!0}else for(;_>A;A++)if((l||A in g)&&g[A]===m)return l||A||0;return!l&&-1}};a.exports={includes:u(!0),indexOf:u(!1)}},"4d8c":function(a,o,n){var s=n("5c69");function i(c){var u=c==null?0:c.length;return u?s(c,1):[]}a.exports=i},"4f50":function(a,o,n){var s=n("b760"),i=n("e538"),c=n("c8fe"),u=n("4359"),l=n("fa21"),f=n("d370"),m=n("6747"),p=n("dcbe"),v=n("0d24"),g=n("9520"),_=n("1a8c"),A=n("60ed"),O=n("73ac"),D=n("8adb"),$=n("8de2");function L(z,q,U,H,P,j,E){var C=D(z,U),I=D(q,U),W=E.get(I);if(W)s(z,U,W);else{var Q=j?j(C,I,U+"",z,q,E):void 0,Z=Q===void 0;if(Z){var ee=m(I),ne=!ee&&v(I),ue=!ee&&!ne&&O(I);Q=I,ee||ne||ue?m(C)?Q=C:p(C)?Q=u(C):ne?(Z=!1,Q=i(I,!0)):ue?(Z=!1,Q=c(I,!0)):Q=[]:A(I)||f(I)?(Q=C,f(C)?Q=$(C):_(C)&&!g(C)||(Q=l(I))):Z=!1}Z&&(E.set(I,Q),P(Q,I,H,j,E),E.delete(I)),s(z,U,Q)}}a.exports=L},"501e":function(a,o,n){var s=n("3729"),i=n("1310"),c="[object Number]";function u(l){return typeof l=="number"||i(l)&&s(l)==c}a.exports=u},"50c4":function(a,o,n){var s=n("5926"),i=Math.min;a.exports=function(c){return c>0?i(s(c),9007199254740991):0}},"50d8":function(a,o){function n(s,i){for(var c=-1,u=Array(s);++c0&&f(_)?l>1?c(_,l-1,f,m,p):s(p,_):m||(p[p.length]=_)}return p}a.exports=c},"5c6c":function(a,o,n){a.exports=function(s,i){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:i}}},"5d89":function(a,o,n){var s=n("f8af");function i(c,u){var l=u?s(c.buffer):c.buffer;return new c.constructor(l,c.byteOffset,c.byteLength)}a.exports=i},"5e2e":function(a,o,n){var s=n("28c9"),i=n("69d5"),c=n("b4c0"),u=n("fba5"),l=n("67ca");function f(m){var p=-1,v=m==null?0:m.length;for(this.clear();++p=i?s:i)),s}a.exports=n},"83ab":function(a,o,n){var s=n("d039");a.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},8518:function(a,o,n){var s=n("b3ff");s.__esModule&&(s=s.default),typeof s=="string"&&(s=[[a.i,s,""]]),s.locals&&(a.exports=s.locals);var i=n("499e").default;i("22adb7aa",s,!0,{sourceMap:!1,shadowMode:!1})},"85a9":function(a){a.exports=JSON.parse('{"sm":"640px","md":"768px","lg":"1024px","xl":"1280px"}')},"85e3":function(a,o){function n(s,i,c){switch(c.length){case 0:return s.call(i);case 1:return s.call(i,c[0]);case 2:return s.call(i,c[0],c[1]);case 3:return s.call(i,c[0],c[1],c[2])}return s.apply(i,c)}a.exports=n},8604:function(a,o,n){var s=n("26e8"),i=n("e2c0");function c(u,l){return u!=null&&i(u,l,s)}a.exports=c},"861d":function(a,o,n){var s=n("1626"),i=n("8ea1"),c=i.all;a.exports=i.IS_HTMLDDA?function(u){return typeof u=="object"?u!==null:s(u)||u===c}:function(u){return typeof u=="object"?u!==null:s(u)}},"872a":function(a,o,n){var s=n("3b4a");function i(c,u,l){u=="__proto__"&&s?s(c,u,{configurable:!0,enumerable:!0,value:l,writable:!0}):c[u]=l}a.exports=i},8925:function(a,o,n){var s=n("e330"),i=n("1626"),c=n("c6cd"),u=s(Function.toString);i(c.inspectSource)||(c.inspectSource=function(l){return u(l)}),a.exports=c.inspectSource},"89d9":function(a,o,n){var s=n("656b"),i=n("159a"),c=n("e2e4");function u(l,f,m){for(var p=-1,v=f.length,g={};++p1?"s":"")+" required, but only "+c.length+" present")}n.d(o,"a",function(){return s})},"8d74":function(a,o,n){var s=n("4cef"),i=/^\s+/;function c(u){return u&&u.slice(0,s(u)+1).replace(i,"")}a.exports=c},"8de2":function(a,o,n){var s=n("8eeb"),i=n("9934");function c(u){return s(u,i(u))}a.exports=c},"8ea1":function(a,o,n){var s=typeof document=="object"&&document.all,i=typeof s>"u"&&s!==void 0;a.exports={all:s,IS_HTMLDDA:i}},"8eeb":function(a,o,n){var s=n("32b3"),i=n("872a");function c(u,l,f,m){var p=!f;f||(f={});for(var v=-1,g=l.length;++v2?v[2]:void 0;for(A&&c(v[0],v[1],A)&&(_=1);++g<_;)for(var O=v[g],D=u(O),$=-1,L=D.length;++$D))return!1;var L=A.get(m),z=A.get(p);if(L&&z)return L==p&&z==m;var q=-1,U=!0,H=v&l?new s:void 0;for(A.set(m,p),A.set(p,m);++q-1&&i%1==0&&i<=n}a.exports=s},b3ff:function(a,o,n){var s=n("24fb");o=s(!1),o.push([a.i,".vc-pane[data-v-74ad501d]{min-width:250px}.vc-header[data-v-74ad501d]{display:flex;justify-content:center;align-items:center;padding:10px 18px 0 18px}.vc-header.align-left[data-v-74ad501d]{justify-content:flex-start}.vc-header.align-right[data-v-74ad501d]{justify-content:flex-end}.vc-title[data-v-74ad501d]{font-size:var(--text-lg);color:var(--gray-800);font-weight:var(--font-semibold);line-height:28px;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.vc-title[data-v-74ad501d]:hover{opacity:.75}.vc-weeknumber[data-v-74ad501d]{position:relative}.vc-weeknumber[data-v-74ad501d],.vc-weeknumber-content[data-v-74ad501d]{display:flex;justify-content:center;align-items:center}.vc-weeknumber-content[data-v-74ad501d]{font-size:var(--text-xs);font-weight:var(--font-medium);font-style:italic;width:28px;height:28px;margin-top:2px;color:var(--gray-500);-webkit-user-select:none;user-select:none}.vc-weeknumber-content.is-left-outside[data-v-74ad501d]{position:absolute;left:var(--weeknumber-offset)}.vc-weeknumber-content.is-right-outside[data-v-74ad501d]{position:absolute;right:var(--weeknumber-offset)}.vc-weeks[data-v-74ad501d]{display:grid;grid-template-columns:repeat(7,1fr);position:relative;-webkit-overflow-scrolling:touch;padding:5px;min-width:250px}.vc-weeks.vc-show-weeknumbers[data-v-74ad501d]{grid-template-columns:auto repeat(7,1fr)}.vc-weeks.vc-show-weeknumbers.is-right[data-v-74ad501d]{grid-template-columns:repeat(7,1fr) auto}.vc-weekday[data-v-74ad501d]{text-align:center;color:var(--gray-500);font-size:var(--text-sm);font-weight:var(--font-bold);line-height:14px;padding-top:4px;padding-bottom:8px;cursor:default;-webkit-user-select:none;user-select:none}.vc-is-dark .vc-header[data-v-74ad501d]{color:var(--gray-200)}.vc-is-dark .vc-title[data-v-74ad501d]{color:var(--gray-100)}.vc-is-dark .vc-weekday[data-v-74ad501d]{color:var(--accent-200)}",""]),a.exports=o},b42e:function(a,o,n){var s=Math.ceil,i=Math.floor;a.exports=Math.trunc||function(c){var u=+c;return(u>0?i:s)(u)}},b4b0:function(a,o,n){var s=n("8d74"),i=n("1a8c"),c=n("ffd6"),u=NaN,l=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,m=/^0o[0-7]+$/i,p=parseInt;function v(g){if(typeof g=="number")return g;if(c(g))return u;if(i(g)){var _=typeof g.valueOf=="function"?g.valueOf():g;g=i(_)?_+"":_}if(typeof g!="string")return g===0?g:+g;g=s(g);var A=f.test(g);return A||m.test(g)?p(g.slice(2),A?2:8):l.test(g)?u:+g}a.exports=v},b4c0:function(a,o,n){var s=n("cb5a");function i(c){var u=this.__data__,l=s(u,c);return l<0?void 0:u[l][1]}a.exports=i},b5a7:function(a,o,n){var s=n("0b07"),i=n("2b3e"),c=s(i,"DataView");a.exports=c},b622:function(a,o,n){var s=n("da84"),i=n("5692"),c=n("1a2d"),u=n("90e3"),l=n("04f8"),f=n("fdbf"),m=s.Symbol,p=i("wks"),v=f?m.for||m:m&&m.withoutSetter||u;a.exports=function(g){return c(p,g)||(p[g]=l&&c(m,g)?m[g]:v("Symbol."+g)),p[g]}},b760:function(a,o,n){var s=n("872a"),i=n("9638");function c(u,l,f){(f!==void 0&&!i(u[l],f)||f===void 0&&!(l in u))&&s(u,l,f)}a.exports=c},b7f0:function(a,o,n){var s=n("24fb");o=s(!1),o.push([a.i,".vc-select[data-v-7b2eaf0a]{position:relative}.vc-select select[data-v-7b2eaf0a]{flex-grow:1;display:block;-webkit-appearance:none;appearance:none;width:52px;height:30px;font-size:var(--text-base);font-weight:var(--font-medium);text-align:left;background-color:var(--gray-200);border:2px solid;border-color:var(--gray-200);color:var(--gray-900);padding:0 20px 0 8px;border-radius:var(--rounded);line-height:var(--leading-tight);text-indent:0;cursor:pointer;-moz-padding-start:3px;background-image:none}.vc-select select[data-v-7b2eaf0a]:hover{color:var(--gray-600)}.vc-select select[data-v-7b2eaf0a]:focus{outline:0;border-color:var(--accent-400);background-color:var(--white)}.vc-select-arrow[data-v-7b2eaf0a]{display:flex;align-items:center;pointer-events:none;position:absolute;top:0;bottom:0;right:0;padding:0 4px 0 0;color:var(--gray-500)}.vc-select-arrow svg[data-v-7b2eaf0a]{width:16px;height:16px;fill:currentColor}.vc-is-dark select[data-v-7b2eaf0a]{background:var(--gray-700);color:var(--gray-100);border-color:var(--gray-700)}.vc-is-dark select[data-v-7b2eaf0a]:hover{color:var(--gray-400)}.vc-is-dark select[data-v-7b2eaf0a]:focus{border-color:var(--accent-500);background-color:var(--gray-800)}",""]),a.exports=o},b980:function(a,o,n){var s=n("d039"),i=n("5c6c");a.exports=!s(function(){var c=new Error("a");return!("stack"in c)||(Object.defineProperty(c,"stack",i(1,7)),c.stack!==7)})},badf:function(a,o,n){var s=n("642a"),i=n("1838"),c=n("cd9d"),u=n("6747"),l=n("f9ce");function f(m){return typeof m=="function"?m:m==null?c:typeof m=="object"?u(m)?i(m[0],m[1]):s(m):l(m)}a.exports=f},bbc0:function(a,o,n){var s=n("6044"),i="__lodash_hash_undefined__",c=Object.prototype,u=c.hasOwnProperty;function l(f){var m=this.__data__;if(s){var p=m[f];return p===i?void 0:p}return u.call(m,f)?m[f]:void 0}a.exports=l},bfb3:function(a,o,n){var s=n("0840");s.__esModule&&(s=s.default),typeof s=="string"&&(s=[[a.i,s,""]]),s.locals&&(a.exports=s.locals);var i=n("499e").default;i("1d8413e8",s,!0,{sourceMap:!1,shadowMode:!1})},c04e:function(a,o,n){var s=n("c65b"),i=n("861d"),c=n("d9b5"),u=n("dc4a"),l=n("485a"),f=n("b622"),m=TypeError,p=f("toPrimitive");a.exports=function(v,g){if(!i(v)||c(v))return v;var _,A=u(v,p);if(A){if(g===void 0&&(g="default"),_=s(A,v,g),!i(_)||c(_))return _;throw new m("Can't convert object to primitive value")}return g===void 0&&(g="number"),l(v,g)}},c05f:function(a,o,n){var s=n("7b97"),i=n("1310");function c(u,l,f,m,p){return u===l||(u==null||l==null||!i(u)&&!i(l)?u!==u&&l!==l:s(u,l,f,m,c,p))}a.exports=c},c098:function(a,o){var n=9007199254740991,s=/^(?:0|[1-9]\d*)$/;function i(c,u){var l=typeof c;return u=u??n,!!u&&(l=="number"||l!="symbol"&&s.test(c))&&c>-1&&c%1==0&&c_;)i(g,v=p[_++])&&(~u(A,v)||f(A,v));return A}},cb2d:function(a,o,n){var s=n("1626"),i=n("9bf2"),c=n("13d2"),u=n("6374");a.exports=function(l,f,m,p){p||(p={});var v=p.enumerable,g=p.name!==void 0?p.name:f;if(s(m)&&c(m,g,p),p.global)v?l[f]=m:u(f,m);else{try{p.unsafe?l[f]&&(v=!0):delete l[f]}catch{}v?l[f]=m:i.f(l,f,{value:m,enumerable:!1,configurable:!p.nonConfigurable,writable:!p.nonWritable})}return l}},cb5a:function(a,o,n){var s=n("9638");function i(c,u){for(var l=c.length;l--;)if(s(c[l][0],u))return l;return-1}a.exports=i},cc12:function(a,o,n){var s=n("da84"),i=n("861d"),c=s.document,u=i(c)&&i(c.createElement);a.exports=function(l){return u?c.createElement(l):{}}},cc45:function(a,o,n){var s=n("1a2d0"),i=n("b047"),c=n("99d3"),u=c&&c.isMap,l=u?i(u):s;a.exports=l},cd9d:function(a,o){function n(s){return s}a.exports=n},cdce:function(a,o,n){var s=n("da84"),i=n("1626"),c=s.WeakMap;a.exports=i(c)&&/native code/.test(String(c))},ce86:function(a,o,n){var s=n("9e69"),i=n("7948"),c=n("6747"),u=n("ffd6"),l=s?s.prototype:void 0,f=l?l.toString:void 0;function m(p){if(typeof p=="string")return p;if(c(p))return i(p,m)+"";if(u(p))return f?f.call(p):"";var v=p+"";return v=="0"&&1/p==-1/0?"-0":v}a.exports=m},cebd:function(a,o){function n(s){var i=-1,c=Array(s.size);return s.forEach(function(u){c[++i]=[u,u]}),c}a.exports=n},cfe5:function(a,o,n){n.d(o,"a",function(){return f}),n("13d5");var s=n("f7f1"),i=n("2fa3"),c=n("9404"),u=n("29ae");const l=864e5;class f{constructor(p,{order:v=0,locale:g,isFullDay:_}={}){if(this.isDateInfo=!0,this.order=v,this.locale=g instanceof u.b?g:new u.b(g),this.firstDayOfWeek=this.locale.firstDayOfWeek,!Object(c.m)(p)){const $=this.locale.normalizeDate(p);p=_?{start:$,end:$}:{startOn:$,endOn:$}}let A=null,O=null;if(p.start?A=this.locale.normalizeDate(p.start,{...this.opts,time:"00:00:00"}):p.startOn&&(A=this.locale.normalizeDate(p.startOn,this.opts)),p.end?O=this.locale.normalizeDate(p.end,{...this.opts,time:"23:59:59"}):p.endOn&&(O=this.locale.normalizeDate(p.endOn,this.opts)),A&&O&&A>O){const $=A;A=O,O=$}else A&&p.span>=1&&(O=Object(s.a)(A,p.span-1));this.start=A,this.startTime=A?A.getTime():NaN,this.end=O,this.endTime=O?O.getTime():NaN,this.isDate=this.startTime&&this.startTime===this.endTime,this.isRange=!this.isDate;const D=Object(i.i)(p,{},f.patternProps);if(D.assigned&&(this.on={and:D.target}),p.on){const $=(Object(c.h)(p.on)?p.on:[p.on]).map(function(L){if(Object(c.k)(L))return L;const z=Object(i.i)(L,{},f.patternProps);return z.assigned?z.target:null}).filter(function(L){return L});$.length&&(this.on={...this.on,or:$})}this.isComplex=!!this.on}get opts(){return{order:this.order,locale:this.locale}}toDateInfo(p){return p.isDateInfo?p:new f(p,this.opts)}startOfWeek(p){const v=p.getDay()+1,g=v>=this.firstDayOfWeek?this.firstDayOfWeek-v:-(7-(this.firstDayOfWeek-v));return Object(s.a)(p,g)}diffInDays(p,v){return Math.round((v-p)/l)}diffInWeeks(p,v){return this.diffInDays(this.startOfWeek(p),this.startOfWeek(v))}diffInYears(p,v){return v.getUTCFullYear()-p.getUTCFullYear()}diffInMonths(p,v){return 12*this.diffInYears(p,v)+(v.getMonth()-p.getMonth())}static get patterns(){return{dailyInterval:{test:function(p,v,g){return g.diffInDays(g.start||new Date,p.date)%v===0}},weeklyInterval:{test:function(p,v,g){return g.diffInWeeks(g.start||new Date,p.date)%v===0}},monthlyInterval:{test:function(p,v,g){return g.diffInMonths(g.start||new Date,p.date)%v===0}},yearlyInterval:{test:function(){return function(p,v,g){return g.diffInYears(g.start||new Date,p.date)%v===0}}},days:{validate:function(p){return Object(c.h)(p)?p:[parseInt(p,10)]},test:function(p,v){return v.includes(p.day)||v.includes(-p.dayFromEnd)}},weekdays:{validate:function(p){return Object(c.h)(p)?p:[parseInt(p,10)]},test:function(p,v){return v.includes(p.weekday)}},ordinalWeekdays:{validate:function(p){return Object.keys(p).reduce(function(v,g){const _=p[g];return _&&(v[g]=Object(c.h)(_)?_:[parseInt(_,10)]),v},{})},test:function(p,v){return Object.keys(v).map(function(g){return parseInt(g,10)}).find(function(g){return v[g].includes(p.weekday)&&(g===p.weekdayOrdinal||g===-p.weekdayOrdinalFromEnd)})}},weekends:{validate:function(p){return p},test:function(p){return p.weekday===1||p.weekday===7}},workweek:{validate:function(p){return p},test:function(p){return p.weekday>=2&&p.weekday<=6}},weeks:{validate:function(p){return Object(c.h)(p)?p:[parseInt(p,10)]},test:function(p,v){return v.includes(p.week)||v.includes(-p.weekFromEnd)}},months:{validate:function(p){return Object(c.h)(p)?p:[parseInt(p,10)]},test:function(p,v){return v.includes(p.month)}},years:{validate:function(p){return Object(c.h)(p)?p:[parseInt(p,10)]},test:function(p,v){return v.includes(p.year)}}}}static get patternProps(){return Object.keys(f.patterns).map(function(p){return{name:p,validate:f.patterns[p].validate}})}static testConfig(p,v,g){return Object(c.k)(p)?p(v):Object(c.m)(p)?Object.keys(p).every(function(_){return f.patterns[_].test(v,p[_],g)}):null}iterateDatesInRange({start:p,end:v},g){if(!p||!v||!Object(c.k)(g))return null;p=this.locale.normalizeDate(p,{...this.opts,time:"00:00:00"});const _={i:0,date:p,day:this.locale.getDateParts(p),finished:!1};let A=null;for(;!_.finished&&_.date<=v;_.i++)A=g(_),_.date=Object(s.a)(_.date,1),_.day=this.locale.getDateParts(_.date);return A}shallowIntersectingRange(p){return this.rangeShallowIntersectingRange(this,this.toDateInfo(p))}rangeShallowIntersectingRange(p,v){if(!this.dateShallowIntersectsDate(p,v))return null;const g=p.toRange(),_=v.toRange();let A=null,O=null;return g.start?A=_.start?g.start>_.start?g.start:_.start:g.start:_.start&&(A=_.start),g.end?O=_.end?g.end<_.end?g.end:_.end:g.end:_.end&&(O=_.end),{start:A,end:O}}intersectsDate(p){var v=this;const g=this.toDateInfo(p);if(!this.shallowIntersectsDate(g))return null;if(!this.on)return this;const _=this.rangeShallowIntersectingRange(this,g);let A=!1;return this.iterateDatesInRange(_,function(O){v.matchesDay(O.day)&&(A=A||g.matchesDay(O.day),O.finished=A)}),A}shallowIntersectsDate(p){return this.dateShallowIntersectsDate(this,this.toDateInfo(p))}dateShallowIntersectsDate(p,v){return p.isDate?v.isDate?p.startTime===v.startTime:this.dateShallowIncludesDate(v,p):v.isDate?this.dateShallowIncludesDate(p,v):!(p.start&&v.end&&p.start>v.end)&&!(p.end&&v.start&&p.endp.end):!(p.start&&(!v.start||v.startp.end))}intersectsDay(p){return this.shallowIntersectsDate(p.range)&&this.matchesDay(p)?this:null}matchesDay(p){var v=this;return!this.on||!(this.on.and&&!f.testConfig(this.on.and,p,this))&&!(this.on.or&&!this.on.or.some(function(g){return f.testConfig(g,p,v)}))}toRange(){return new f({start:this.start,end:this.end},this.opts)}compare(p){if(this.order!==p.order)return this.order-p.order;if(this.isDate!==p.isDate)return this.isDate?1:-1;if(this.isDate)return 0;const v=this.start-p.start;return v!==0?v:this.end-p.end}}},d012:function(a,o,n){a.exports={}},d02c:function(a,o,n){var s=n("5e2e"),i=n("79bc"),c=n("7b83"),u=200;function l(f,m){var p=this.__data__;if(p instanceof s){var v=p.__data__;if(!i||v.length=0:D>$;$+=L)$ in O&&(_=v(_,O[$],$,A));return _}};a.exports={left:f(!1),right:f(!0)}},d612:function(a,o,n){var s=n("7b83"),i=n("7ed2"),c=n("dc0f");function u(l){var f=-1,m=l==null?0:l.length;for(this.__data__=new s;++fU&&g(ee,arguments[U]),ee});if(I.prototype=E,P!=="Error"?l?l(I,C):f(I,C,{name:!0}):A&&q in j&&(m(I,j,q),m(I,j,"prepareStackTrace")),f(I,j),!O)try{E.name!==P&&c(E,"name",P),E.constructor=I}catch{}return I}}},e893:function(a,o,n){var s=n("1a2d"),i=n("56ef"),c=n("06cf"),u=n("9bf2");a.exports=function(l,f,m){for(var p=i(f),v=u.f,g=c.f,_=0;_0){if(++l>=n)return arguments[0]}else l=0;return u.apply(void 0,arguments)}}a.exports=c},f4d6:function(a,o,n){var s=n("ffd6");function i(c){if(typeof c=="string"||s(c))return c;var u=c+"";return u=="0"&&1/c==-1/0?"-0":u}a.exports=i},f542:function(a,o,n){var s=n("ec47"),i=n("ec69"),c=s(i);a.exports=c},f5df:function(a,o,n){var s=n("00ee"),i=n("1626"),c=n("c6b6"),u=n("b622"),l=u("toStringTag"),f=Object,m=c(function(){return arguments}())==="Arguments",p=function(v,g){try{return v[g]}catch{}};a.exports=s?c:function(v){var g,_,A;return v===void 0?"Undefined":v===null?"Null":typeof(_=p(g=f(v),l))=="string"?_:m?c(g):(A=c(g))==="Object"&&i(g.callee)?"Arguments":A}},f608:function(a,o,n){var s=n("6747"),i=n("ffd6"),c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;function l(f,m){if(s(f))return!1;var p=typeof f;return!(p!="number"&&p!="symbol"&&p!="boolean"&&f!=null&&!i(f))||u.test(f)||!c.test(f)||m!=null&&f in Object(m)}a.exports=l},f678:function(a,o,n){var s=n("8384"),i=n("b4b0");function c(u,l,f){return f===void 0&&(f=l,l=void 0),f!==void 0&&(f=i(f),f=f===f?f:0),l!==void 0&&(l=i(l),l=l===l?l:0),s(i(u),l,f)}a.exports=c},f772:function(a,o,n){var s=n("5692"),i=n("90e3"),c=s("keys");a.exports=function(u){return c[u]||(c[u]=i(u))}},f7f1:function(a,o,n){n.d(o,"a",function(){return u});var s=n("fe1f"),i=n("fd3a"),c=n("8c86");function u(l,f){Object(c.a)(2,arguments);var m=Object(i.a)(l),p=Object(s.a)(f);return isNaN(p)?new Date(NaN):(p&&m.setDate(m.getDate()+p),m)}},f8af:function(a,o,n){var s=n("2474");function i(c){var u=new c.constructor(c.byteLength);return new s(u).set(new s(c)),u}a.exports=i},f909:function(a,o,n){var s=n("7e64"),i=n("b760"),c=n("72af"),u=n("4f50"),l=n("1a8c"),f=n("9934"),m=n("8adb");function p(v,g,_,A,O){v!==g&&c(g,function(D,$){if(O||(O=new s),l(D))u(v,g,$,_,p,A,O);else{var L=A?A(m(v,$),D,$+"",v,g,O):void 0;L===void 0&&(L=D),i(v,$,L)}},f)}a.exports=p},f954:function(a,o,n){n("8518")},f9ce:function(a,o,n){var s=n("ef5d"),i=n("e3f8"),c=n("f608"),u=n("f4d6");function l(f){return c(f)?s(u(f)):i(f)}a.exports=l},fa21:function(a,o,n){var s=n("7530"),i=n("2dcb"),c=n("eac5");function u(l){return typeof l.constructor!="function"||c(l)?{}:s(i(l))}a.exports=u},fb15:function(a,o,n){if(n.r(o),n.d(o,"Calendar",function(){return c.c}),n.d(o,"CalendarNav",function(){return c.d}),n.d(o,"DatePicker",function(){return c.f}),n.d(o,"Popover",function(){return c.h}),n.d(o,"Locale",function(){return c.g}),n.d(o,"DateInfo",function(){return c.e}),n.d(o,"Attribute",function(){return c.a}),n.d(o,"AttributeStore",function(){return c.b}),n.d(o,"setupCalendar",function(){return c.D}),n.d(o,"pad",function(){return c.w}),n.d(o,"evalFn",function(){return c.p}),n.d(o,"mergeEvents",function(){return c.r}),n.d(o,"pageIsValid",function(){return c.B}),n.d(o,"pageIsBeforePage",function(){return c.y}),n.d(o,"pageIsAfterPage",function(){return c.x}),n.d(o,"pageIsBetweenPages",function(){return c.z}),n.d(o,"pageIsEqualToPage",function(){return c.A}),n.d(o,"addPages",function(){return c.j}),n.d(o,"pageRangeToArray",function(){return c.C}),n.d(o,"datesAreEqual",function(){return c.m}),n.d(o,"arrayHasItems",function(){return c.k}),n.d(o,"mixinOptionalProps",function(){return c.s}),n.d(o,"on",function(){return c.u}),n.d(o,"off",function(){return c.t}),n.d(o,"elementContains",function(){return c.o}),n.d(o,"onSpaceOrEnter",function(){return c.v}),n.d(o,"createGuid",function(){return c.l}),n.d(o,"hash",function(){return c.q}),n.d(o,"addHorizontalSwipeHandler",function(){return c.i}),typeof window<"u"){var s=window.document.currentScript,i=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var c=n("34e9");o.default=c.n},fba5:function(a,o,n){var s=n("cb5a");function i(c){return s(this.__data__,c)>-1}a.exports=i},fc6a:function(a,o,n){var s=n("44ad"),i=n("1d80");a.exports=function(c){return s(i(c))}},fd3a:function(a,o,n){n.d(o,"a",function(){return c});var s=n("53ca"),i=n("8c86");function c(u){Object(i.a)(1,arguments);var l=Object.prototype.toString.call(u);return u instanceof Date||Object(s.a)(u)==="object"&&l==="[object Date]"?new Date(u.getTime()):typeof u=="number"||l==="[object Number]"?new Date(u):(typeof u!="string"&&l!=="[object String]"||typeof console>"u"||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}},fdbf:function(a,o,n){var s=n("04f8");a.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},fe1f:function(a,o,n){function s(i){if(i===null||i===!0||i===!1)return NaN;var c=Number(i);return isNaN(c)?c:c<0?Math.ceil(c):Math.floor(c)}n.d(o,"a",function(){return s})},ffd6:function(a,o,n){var s=n("3729"),i=n("1310"),c="[object Symbol]";function u(l){return typeof l=="symbol"||i(l)&&s(l)==c}a.exports=u}})})})(tm);var lD=tm.exports;const dD=jh(lD);/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */function fD(t,e,r,a){function o(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function i(l){try{u(a.next(l))}catch(f){s(f)}}function c(l){try{u(a.throw(l))}catch(f){s(f)}}function u(l){l.done?n(l.value):o(l.value).then(i,c)}u((a=a.apply(t,[])).next())})}var qt;(function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning",t.INFO="info",t.DEFAULT="default"})(qt||(qt={}));var js;(function(t){t.TOP_LEFT="top-left",t.TOP_CENTER="top-center",t.TOP_RIGHT="top-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_CENTER="bottom-center",t.BOTTOM_RIGHT="bottom-right"})(js||(js={}));var Ht;(function(t){t.ADD="add",t.DISMISS="dismiss",t.UPDATE="update",t.CLEAR="clear",t.UPDATE_DEFAULTS="update_defaults"})(Ht||(Ht={}));const Vr="Vue-Toastification",fr={type:{type:String,default:qt.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},rm={type:fr.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},cs={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:fr.classNames,showOnHover:Boolean,ariaLabel:{type:String,default:"close"}},Fc={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:Boolean,isRunning:Boolean},jc={transition:{type:[Object,String],default:`${Vr}__bounce`},transitionDuration:{type:[Number,Object],default:750}},pD={position:{type:String,default:js.TOP_RIGHT},draggable:fr.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:fr.trueBoolean,pauseOnHover:fr.trueBoolean,closeOnClick:fr.trueBoolean,timeout:Fc.timeout,hideProgressBar:Fc.hideProgressBar,toastClassName:fr.classNames,bodyClassName:fr.classNames,icon:rm.customIcon,closeButton:cs.component,closeButtonClassName:cs.classNames,showCloseButtonOnHover:cs.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:Boolean,eventBus:Object},hD={id:{type:[String,Number],required:!0},type:fr.type,content:{type:[String,Object,Function],required:!0},onClick:Function,onClose:Function},mD={container:{type:void 0,default:()=>document.body},newestOnTop:fr.trueBoolean,maxToasts:{type:Number,default:20},transition:jc.transition,transitionDuration:jc.transitionDuration,toastDefaults:Object,filterBeforeCreate:{type:Function,default:t=>t},filterToasts:{type:Function,default:t=>t},containerClassName:fr.classNames,onMounted:Function};var Gr={CORE_TOAST:pD,TOAST:hD,CONTAINER:mD,PROGRESS_BAR:Fc,ICON:rm,TRANSITION:jc,CLOSE_BUTTON:cs};const Bu=t=>typeof t=="function",mo=t=>typeof t=="string",am=t=>mo(t)&&t.trim().length>0,ln=t=>typeof t=="number",Ma=t=>typeof t>"u",nm=t=>typeof t=="object"&&t!==null,om=t=>Ba(t,"tag")&&am(t.tag),sm=t=>window.TouchEvent&&t instanceof TouchEvent,im=t=>Ba(t,"component")&&cm(t.component),vD=t=>Bu(t)&&Ba(t,"cid"),gD=t=>vD(t)?!0:nm(t)?t.extends||t._Ctor||mo(t.template)?!0:um(t):!1,bD=t=>t instanceof se||gD(t),cm=t=>!Ma(t)&&(mo(t)||bD(t)||um(t)||om(t)||im(t)),sf=t=>nm(t)&&ln(t.height)&&ln(t.width)&&ln(t.right)&&ln(t.left)&&ln(t.top)&&ln(t.bottom),Ba=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),um=t=>Ba(t,"render")&&Bu(t.render),_D=(t=>()=>t++)(0);function Zi(t){return sm(t)?t.targetTouches[0].clientX:t.clientX}function cf(t){return sm(t)?t.targetTouches[0].clientY:t.clientY}const lm=t=>{Ma(t.remove)?t.parentNode&&t.parentNode.removeChild(t):t.remove()},mi=t=>im(t)?mi(t.component):om(t)?{render(){return t}}:t;var AD=se.extend({props:Gr.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${Vr}__progress-bar`:""}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeDestroy(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}}});function $r(t,e,r,a,o,n,s,i,c,u){const l=typeof r=="function"?r.options:r;return t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),r}const SD=AD;var dm=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.cpClass,style:t.style})},yD=[];dm._withStripped=!0;const OD=void 0,ED=$r({render:dm,staticRenderFns:yD},OD,SD);var CD=se.extend({props:Gr.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?mi(this.component):"button"},classes(){const t=[`${Vr}__close-button`];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}});const RD=CD;var fm=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r(t.buttonComponent,t._g({tag:"component",class:t.classes,attrs:{"aria-label":t.ariaLabel}},t.$listeners),[t._v(` × `)])},wD=[];fm._withStripped=!0;const TD=void 0,DD=$r({render:fm,staticRenderFns:wD},TD,RD);var xD={};const PD=xD;var pm=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"svg-inline--fa fa-check-circle fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[r("path",{attrs:{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}})])},ND=[];pm._withStripped=!0;const ID=void 0,$D=$r({render:pm,staticRenderFns:ND},ID,PD);var MD={};const kD=MD;var hm=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"svg-inline--fa fa-info-circle fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[r("path",{attrs:{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"}})])},UD=[];hm._withStripped=!0;const LD=void 0,uf=$r({render:hm,staticRenderFns:UD},LD,kD);var FD={};const jD=FD;var mm=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"svg-inline--fa fa-exclamation-circle fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[r("path",{attrs:{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}})])},VD=[];mm._withStripped=!0;const BD=void 0,zD=$r({render:mm,staticRenderFns:VD},BD,jD);var GD={};const qD=GD;var vm=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"svg-inline--fa fa-exclamation-triangle fa-w-18",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"}},[r("path",{attrs:{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}})])},HD=[];vm._withStripped=!0;const YD=void 0,WD=$r({render:vm,staticRenderFns:HD},YD,qD);var JD=se.extend({props:Gr.ICON,computed:{customIconChildren(){return Ba(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return mo(this.customIcon)?this.trimValue(this.customIcon):Ba(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return Ba(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:cm(this.customIcon)?mi(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[qt.DEFAULT]:uf,[qt.INFO]:uf,[qt.SUCCESS]:$D,[qt.ERROR]:WD,[qt.WARNING]:zD}[this.type]},iconClasses(){const t=[`${Vr}__icon`];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue(t,e=""){return am(t)?t.trim():e}}});const QD=JD;var gm=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r(t.component,{tag:"component",class:t.iconClasses},[t._v(t._s(t.customIconChildren))])},KD=[];gm._withStripped=!0;const ZD=void 0,XD=$r({render:gm,staticRenderFns:KD},ZD,QD);var e1=se.extend({components:{ProgressBar:ED,CloseButton:DD,Icon:XD},inheritAttrs:!1,props:Object.assign({},Gr.CORE_TOAST,Gr.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const t=[`${Vr}__toast`,`${Vr}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(`${Vr}__toast--rtl`),t},bodyClasses(){return[`${Vr}__toast-${mo(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return sf(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeDestroy(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},destroyed(){setTimeout(()=>{lm(this.$el)},1e3)},methods:{getVueComponentFromObj:mi,closeToast(){this.eventBus.$emit(Ht.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const t=this.$el;t.addEventListener("touchstart",this.onDragStart,{passive:!0}),t.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const t=this.$el;t.removeEventListener("touchstart",this.onDragStart),t.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(t){this.beingDragged=!0,this.dragPos={x:Zi(t),y:cf(t)},this.dragStart=Zi(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:Zi(t),y:cf(t)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,sf(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}});const t1=e1;var bm=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.classes,style:t.draggableStyle,on:{click:t.clickHandler,mouseenter:t.hoverPause,mouseleave:t.hoverPlay}},[t.icon?r("Icon",{attrs:{"custom-icon":t.icon,type:t.type}}):t._e(),t._v(" "),r("div",{class:t.bodyClasses,attrs:{role:t.accessibility.toastRole||"alert"}},[typeof t.content=="string"?[t._v(t._s(t.content))]:r(t.getVueComponentFromObj(t.content),t._g(t._b({tag:"component",attrs:{"toast-id":t.id},on:{"close-toast":t.closeToast}},"component",t.content.props,!1),t.content.listeners))],2),t._v(" "),t.closeButton?r("CloseButton",{attrs:{component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel},on:{click:function(a){return a.stopPropagation(),t.closeToast(a)}}}):t._e(),t._v(" "),t.timeout?r("ProgressBar",{attrs:{"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout},on:{"close-toast":t.timeoutHandler}}):t._e()],1)},r1=[];bm._withStripped=!0;const a1=void 0,n1=$r({render:bm,staticRenderFns:r1},a1,t1);var o1=se.extend({inheritAttrs:!1,props:Gr.TRANSITION,methods:{beforeEnter(t){const e=typeof this.transitionDuration=="number"?this.transitionDuration:this.transitionDuration.enter;t.style.animationDuration=`${e}ms`,t.style.animationFillMode="both",this.$emit("before-enter",t)},afterEnter(t){this.cleanUpStyles(t),this.$emit("after-enter",t)},afterLeave(t){this.cleanUpStyles(t),this.$emit("after-leave",t)},beforeLeave(t){const e=typeof this.transitionDuration=="number"?this.transitionDuration:this.transitionDuration.leave;t.style.animationDuration=`${e}ms`,t.style.animationFillMode="both",this.$emit("before-leave",t)},leave(t,e){this.setAbsolutePosition(t),this.$emit("leave",t,e)},setAbsolutePosition(t){t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.height=getComputedStyle(t).height,t.style.position="absolute"},cleanUpStyles(t){t.style.animationFillMode="",t.style.animationDuration=""}}});const s1=o1;var _m=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("transition-group",{attrs:{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:t.transition+"-enter-active","move-class":t.transition.move?t.transition.move:t.transition+"-move","leave-active-class":t.transition.leave?t.transition.leave:t.transition+"-leave-active"},on:{leave:t.leave,"before-enter":t.beforeEnter,"before-leave":t.beforeLeave,"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[t._t("default")],2)},i1=[];_m._withStripped=!0;const c1=void 0,u1=$r({render:_m,staticRenderFns:i1},c1,s1);var l1=se.extend({components:{Toast:n1,VtTransition:u1},props:Object.assign({},Gr.CORE_TOAST,Gr.CONTAINER,Gr.TRANSITION),data(){return{count:0,positions:Object.values(js),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){this.setup(this.container);const t=this.eventBus;t.$on(Ht.ADD,this.addToast),t.$on(Ht.CLEAR,this.clearToasts),t.$on(Ht.DISMISS,this.dismissToast),t.$on(Ht.UPDATE,this.updateToast),t.$on(Ht.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},methods:{setup(t){return fD(this,void 0,void 0,function*(){Bu(t)&&(t=yield t()),lm(this.$el),t.appendChild(this.$el)})},setToast(t){Ma(t.id)||this.$set(this.toasts,t.id,t)},addToast(t){const e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),r=this.defaults.filterBeforeCreate(e,this.toastArray);r&&this.setToast(r)},dismissToast(t){const e=this.toasts[t];!Ma(e)&&!Ma(e.onClose)&&e.onClose(),this.$delete(this.toasts,t)},clearToasts(){Object.keys(this.toasts).forEach(t=>{this.dismissToast(t)})},getPositionToasts(t){const e=this.filteredToasts.filter(r=>r.position===t).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults(t){Ma(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast({id:t,options:e,create:r}){this.toasts[t]?(e.timeout&&e.timeout===this.toasts[t].timeout&&e.timeout++,this.setToast(Object.assign({},this.toasts[t],e))):r&&this.addToast(Object.assign({},{id:t},e))},getClasses(t){return[`${Vr}__container`,t].concat(this.defaults.containerClassName)}}});const d1=l1;var Am=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",t._l(t.positions,function(a){return r("div",{key:a},[r("VtTransition",{class:t.getClasses(a),attrs:{transition:t.defaults.transition,"transition-duration":t.defaults.transitionDuration}},t._l(t.getPositionToasts(a),function(o){return r("Toast",t._b({key:o.id},"Toast",o,!1))}),1)],1)}),0)},f1=[];Am._withStripped=!0;const p1=void 0,h1=$r({render:Am,staticRenderFns:f1},p1,d1),lf=(t,e={},r=!0)=>{const a=e.eventBus=e.eventBus||new t;if(r){const s=new(t.extend(h1))({el:document.createElement("div"),propsData:e}),i=e.onMounted;Ma(i)||i(s)}const o=(s,i)=>{const c=Object.assign({},{id:_D(),type:qt.DEFAULT},i,{content:s});return a.$emit(Ht.ADD,c),c.id};o.clear=()=>a.$emit(Ht.CLEAR),o.updateDefaults=s=>{a.$emit(Ht.UPDATE_DEFAULTS,s)},o.dismiss=s=>{a.$emit(Ht.DISMISS,s)};function n(s,{content:i,options:c},u=!1){a.$emit(Ht.UPDATE,{id:s,options:Object.assign({},c,{content:i}),create:u})}return o.update=n,o.success=(s,i)=>o(s,Object.assign({},i,{type:qt.SUCCESS})),o.info=(s,i)=>o(s,Object.assign({},i,{type:qt.INFO})),o.error=(s,i)=>o(s,Object.assign({},i,{type:qt.ERROR})),o.warning=(s,i)=>o(s,Object.assign({},i,{type:qt.WARNING})),o};function m1(t,e=se){return(a=>a instanceof e)(t)?lf(e,{eventBus:t},!1):lf(e,t,!0)}const v1=(t,e)=>{const r=m1(e,t);t.$toast=r,t.prototype.$toast=r};var Sm={exports:{}};/*! For license information please see ckeditor.js.LICENSE.txt */(function(t,e){/*!* * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. */(function(r,a){t.exports=a()})(window,function(){return function(r){var a={};function o(n){if(a[n])return a[n].exports;var s=a[n]={i:n,l:!1,exports:{}};return r[n].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=r,o.c=a,o.d=function(n,s,i){o.o(n,s)||Object.defineProperty(n,s,{enumerable:!0,get:i})},o.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.t=function(n,s){if(1&s&&(n=o(n)),8&s||4&s&&typeof n=="object"&&n&&n.__esModule)return n;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&s&&typeof n!="string")for(var c in n)o.d(i,c,(function(u){return n[u]}).bind(null,c));return i},o.n=function(n){var s=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(s,"a",s),s},o.o=function(n,s){return Object.prototype.hasOwnProperty.call(n,s)},o.p="",o(o.s=0)}([function(r,a,o){r.exports=o(1)},function(r,a,o){function n(f,m){f.onload=function(){this.onerror=this.onload=null,m(null,f)},f.onerror=function(){this.onerror=this.onload=null,m(new Error("Failed to load "+this.src),f)}}function s(f,m){f.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,m(null,f))}}var i;function c(f,m){return"CKEDITOR"in window?Promise.resolve(CKEDITOR):typeof f!="string"||f.length<1?Promise.reject(new TypeError("CKEditor URL must be a non-empty string.")):(i||(i=c.scriptLoader(f).then(function(p){return m&&m(p),p})),i)}o.r(a),c.scriptLoader=function(f){return new Promise(function(m,p){(function(v,g,_){var A=document.head||document.getElementsByTagName("head")[0],O=document.createElement("script");typeof g=="function"&&(_=g,g={}),g=g||{},_=_||function(){},O.type=g.type||"text/javascript",O.charset=g.charset||"utf8",O.async=!("async"in g)||!!g.async,O.src=v,g.attrs&&function(D,$){for(var L in $)D.setAttribute(L,$[L])}(O,g.attrs),g.text&&(O.text=String(g.text)),("onload"in O?n:s)(O,_),O.onload||n(O,_),A.appendChild(O)})(f,function(v){return i=void 0,v?p(v):window.CKEDITOR?void m(CKEDITOR):p(new Error("Script loaded from editorUrl doesn't provide CKEDITOR namespace."))})})};var u={name:"ckeditor",render(f){return f("div",{},[f(this.tagName)])},props:{value:{type:String,default:""},type:{type:String,default:"classic",validator:f=>["classic","inline"].includes(f)},editorUrl:{type:String,default:"https://cdn.ckeditor.com/4.22.1/standard-all/ckeditor.js"},config:{type:Object,default:()=>{}},tagName:{type:String,default:"textarea"},readOnly:{type:Boolean,default:null},throttle:{type:Number,default:80}},mounted(){c(this.editorUrl,f=>{this.$emit("namespaceloaded",f)}).then(()=>{if(this.$_destroyed)return;const f=this.prepareConfig(),m=this.type==="inline"?"inline":"replace",p=this.$el.firstElementChild;CKEDITOR[m](p,f)})},beforeDestroy(){this.instance&&this.instance.destroy(),this.$_destroyed=!0},watch:{value(f){this.instance&&this.instance.getData()!==f&&this.instance.setData(f)},readOnly(f){this.instance&&this.instance.setReadOnly(f)}},methods:{prepareConfig(){const f=this.config||{};f.on=f.on||{},f.delayIfDetached===void 0&&(f.delayIfDetached=!0),this.readOnly!==null&&(f.readOnly=this.readOnly);const m=f.on.instanceReady;return f.on.instanceReady=p=>{this.instance=p.editor,this.$nextTick().then(()=>{this.prepareComponentData(),m&&m(p)})},f},prepareComponentData(){const f=this.value;this.instance.fire("lockSnapshot"),this.instance.setData(f,{callback:()=>{this.$_setUpEditorEvents();const m=this.instance.getData();f!==m?(this.$once("input",()=>{this.$emit("ready",this.instance)}),this.$emit("input",m)):this.$emit("ready",this.instance),this.instance.fire("unlockSnapshot")}})},$_setUpEditorEvents(){const f=this.instance,m=function(p,v){var g,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return function(){clearTimeout(g);for(var A=arguments.length,O=new Array(A),D=0;D{const v=f.getData();this.value!==v&&this.$emit("input",v,p,f)},this.throttle);f.on("change",m),f.on("focus",p=>{this.$emit("focus",p,f)}),f.on("blur",p=>{this.$emit("blur",p,f)})}}};const l={install(f){f.component("ckeditor",u)},component:u};a.default=l}]).default})})(Sm);var g1=Sm.exports;const b1=jh(g1);/*! maska v2.1.11 | (c) Alexander Shabunevich | Released under the MIT license */var _1=Object.defineProperty,A1=(t,e,r)=>e in t?_1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,zn=(t,e,r)=>(A1(t,typeof e!="symbol"?e+"":e,r),r);const df={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}};class ff{constructor(e={}){zn(this,"opts",{}),zn(this,"memo",new Map);const r={...e};if(r.tokens!=null){r.tokens=r.tokensReplace?{...r.tokens}:{...df,...r.tokens};for(const a of Object.values(r.tokens))typeof a.pattern=="string"&&(a.pattern=new RegExp(a.pattern))}else r.tokens=df;Array.isArray(r.mask)&&(r.mask.length>1?r.mask=[...r.mask].sort((a,o)=>a.length-o.length):r.mask=r.mask[0]??""),r.mask===""&&(r.mask=null),this.opts=r}masked(e){return this.process(e,this.findMask(e))}unmasked(e){return this.process(e,this.findMask(e),!1)}isEager(){return this.opts.eager===!0}isReversed(){return this.opts.reversed===!0}completed(e){const r=this.findMask(e);if(this.opts.mask==null||r==null)return!1;const a=this.process(e,r).length;return typeof this.opts.mask=="string"?a>=this.opts.mask.length:typeof this.opts.mask=="function"?a>=r.length:this.opts.mask.filter(o=>a>=o.length).length===this.opts.mask.length}findMask(e){const r=this.opts.mask;if(r==null)return null;if(typeof r=="string")return r;if(typeof r=="function")return r(e);const a=this.process(e,r.slice(-1).pop()??"",!1);return r.find(o=>this.process(e,o,!1).length>=a.length)??""}escapeMask(e){const r=[],a=[];return e.split("").forEach((o,n)=>{o==="!"&&e[n-1]!=="!"?a.push(n-a.length):r.push(o)}),{mask:r.join(""),escaped:a}}process(e,r,a=!0){if(r==null)return e;const o=`value=${e},mask=${r},masked=${a?1:0}`;if(this.memo.has(o))return this.memo.get(o);const{mask:n,escaped:s}=this.escapeMask(r),i=[],c=this.opts.tokens!=null?this.opts.tokens:{},u=this.isReversed()?-1:1,l=this.isReversed()?"unshift":"push",f=this.isReversed()?0:n.length-1,m=this.isReversed()?()=>_>-1&&A>-1:()=>_!this.isReversed()&&D<=f||this.isReversed()&&D>=f;let v,g=-1,_=this.isReversed()?n.length-1:0,A=this.isReversed()?e.length-1:0,O=!1;for(;m();){const D=n.charAt(_),$=c[D],L=($==null?void 0:$.transform)!=null?$.transform(e.charAt(A)):e.charAt(A);if(!s.includes(_)&&$!=null?(L.match($.pattern)!=null?(i[l](L),$.repeated?(g===-1?g=_:_===f&&_!==g&&(_=g-u),f===g&&(_-=u)):$.multiple&&(O=!0,_-=u),_+=u):$.multiple?O&&(_+=u,A-=u,O=!1):L===v?v=void 0:$.optional&&(_+=u,A-=u),A+=u):(a&&!this.isEager()&&i[l](D),L===D&&!this.isEager()?A+=u:v=D,this.isEager()||(_+=u)),this.isEager())for(;p(_)&&(c[n.charAt(_)]==null||s.includes(_));)a?i[l](n.charAt(_)):n.charAt(_)===e.charAt(A)&&(A+=u),_+=u}return this.memo.set(o,i.join("")),this.memo.get(o)}}const ym=t=>JSON.parse(t.replaceAll("'",'"')),pf=(t,e={})=>{const r={...e};return t.dataset.maska!=null&&t.dataset.maska!==""&&(r.mask=S1(t.dataset.maska)),t.dataset.maskaEager!=null&&(r.eager=Xi(t.dataset.maskaEager)),t.dataset.maskaReversed!=null&&(r.reversed=Xi(t.dataset.maskaReversed)),t.dataset.maskaTokensReplace!=null&&(r.tokensReplace=Xi(t.dataset.maskaTokensReplace)),t.dataset.maskaTokens!=null&&(r.tokens=y1(t.dataset.maskaTokens)),r},Xi=t=>t!==""?!!JSON.parse(t):!0,S1=t=>t.startsWith("[")&&t.endsWith("]")?ym(t):t,y1=t=>{if(t.startsWith("{")&&t.endsWith("}"))return ym(t);const e={};return t.split("|").forEach(r=>{const a=r.split(":");e[a[0]]={pattern:new RegExp(a[1]),optional:a[2]==="optional",multiple:a[2]==="multiple",repeated:a[2]==="repeated"}}),e};class O1{constructor(e,r={}){zn(this,"items",new Map),zn(this,"beforeinputEvent",a=>{const o=a.target,n=this.items.get(o);n.isEager()&&"inputType"in a&&a.inputType.startsWith("delete")&&n.unmasked(o.value).length<=1&&this.setMaskedValue(o,"")}),zn(this,"inputEvent",a=>{if(a instanceof CustomEvent&&a.type==="input"&&a.detail!=null&&typeof a.detail=="object"&&"masked"in a.detail)return;const o=a.target,n=this.items.get(o),s=o.value,i=o.selectionStart,c=o.selectionEnd;let u=s;if(n.isEager()){const l=n.masked(s),f=n.unmasked(s);f===""&&"data"in a&&a.data!=null?u=a.data:f!==n.unmasked(l)&&(u=f)}if(this.setMaskedValue(o,u),"inputType"in a&&(a.inputType.startsWith("delete")||i!=null&&ic(i)):this.options.onMaska(i)),e.dispatchEvent(new CustomEvent("maska",{detail:i})),e.dispatchEvent(new CustomEvent("input",{detail:i}))}}const Vc=new WeakMap,E1=t=>{setTimeout(()=>{var e;((e=Vc.get(t))==null?void 0:e.needUpdateValue(t))===!0&&t.dispatchEvent(new CustomEvent("input"))})},C1=(t,e)=>{const r=t instanceof HTMLInputElement?t:t.querySelector("input"),a={...e.arg};if(r==null||(r==null?void 0:r.type)==="file")return;E1(r);const o=Vc.get(r);if(o!=null){if(!o.needUpdateOptions(r,a))return;o.destroy()}if(e.value!=null){const n=e.value,s=i=>{n.masked=i.masked,n.unmasked=i.unmasked,n.completed=i.completed};a.onMaska=a.onMaska==null?s:Array.isArray(a.onMaska)?[...a.onMaska,s]:[a.onMaska,s]}Vc.set(r,new O1(r,a))},R1="USP-ID";let hf=1;class zu{static gerar(){return hf++,`${R1}-${hf}`}}const w1={name:"UspAbas",props:{itens:{type:Array,required:!0}},emits:["trocar-aba"],data(){return{abaAtiva:null}},created(){this.itens.forEach(t=>{let e=t.nome;t.id=zu.gerar(),t.key=`${t.id}_${t.nome}`,this.$options.components[e]=()=>t.componente}),this.abaAtiva=this.itens.findIndex(t=>!t.desabilitada)},methods:{trocarAba(t){let e=t;if(typeof t=="object"?e=this.itens.findIndex(r=>r===t):typeof t=="string"&&(e=this.itens.findIndex(r=>r.nome===t)),this.itens[e].desabilitada&&(e=this.abaAtiva),e==this.abaAtiva)return!1;this.$emit("trocar-aba",{de:this.abaAtiva,para:e}),this.abaAtiva=e}}};var T1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"usp-abas"},[r("ul",{staticClass:"nav nav-tabs"},e._l(e.itens,function(a,o){return r("li",{key:a.key,staticClass:"nav-item",attrs:{id:a.id},on:{click:function(n){return e.trocarAba(o)}}},[r("a",{staticClass:"nav-link",class:{active:e.abaAtiva==o,disabled:a.desabilitada}},[e._v(" "+e._s(a.titulo)+" ")])])}),0),e._l(e.itens,function(a,o){return r("div",{key:a.key,staticClass:"tab-container",attrs:{id:a.id}},[r(a.componente,{directives:[{name:"show",rawName:"v-show",value:e.abaAtiva==o,expression:"abaAtiva == index"}],tag:"component",attrs:{itens:a.itensDoComponente},on:{trocarAba:e.trocarAba}})],1)})],2)},D1=[],x1=ce(w1,T1,D1,!1,null,"7c09baed");const P1=x1.exports,N1={name:"UspAcordeao",props:{itens:{type:Array,required:!0},fechado:{type:Boolean,default:!1}},emits:["trocar-painel"],data(){return{tabAtiva:this.primeiraTabAtiva()}},methods:{icone(t){if(this.itens[t].desabilitado||this.tabAtiva!==t)return"fas fa-chevron-down";if(this.tabAtiva===t)return"fas fa-chevron-up"},mostrar(t){return this.itens[t].desabilitado?!1:this.tabAtiva===t},primeiraTabAtiva(){return this.fechado?null:this.itens.findIndex(t=>t.desabilitado!=!0)},trocarItem(t){let e;if(this.itens[t].desabilitado)return!1;this.tabAtiva!==t?e=t:e=null,this.$emit("trocar-painel",{de:this.tabAtiva,para:e}),this.tabAtiva=e}}};var I1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"accordion",attrs:{role:"tablist"}},e._l(e.itens,function(a,o){return r("div",{key:a.nome,staticClass:"card mb-2"},[r("div",{staticClass:"card-header",class:{desabilitado:a.desabilitado},on:{click:function(n){return e.trocarItem(o)}}},[r("a",{key:e.tabAtiva,staticClass:"card-collapser"},[r("em",{staticClass:"mr-2",class:e.icone(o)})]),r("h6",[a.icone?r("em",{class:a.icone}):e._e(),e._v(" "+e._s(a.titulo)+" ")])]),r("div",{staticClass:"collapse",class:{show:e.mostrar(o)}},[r("div",{staticClass:"card-body"},[r(a.componente,{tag:"component"})],1)])])}),0)},$1=[],M1=ce(N1,I1,$1,!1,null,null);const k1=M1.exports,tn=[{pt:"primario",en:"primary",nome:"Primário"},{pt:"secundario",en:"secondary",nome:"Secundário"},{pt:"sucesso",en:"success",nome:"Sucesso"},{pt:"perigo",en:"danger",nome:"Perigo"},{pt:"aviso",en:"warning",nome:"Aviso"},{pt:"info",en:"info",nome:"Informação"},{pt:"claro",en:"light",nome:"Claro"},{pt:"escuro",en:"dark",nome:"Escuro"}],mf=[...tn],U1={name:"UspAlerta",props:{fechavel:{type:Boolean,default:!1},variante:{type:String,default:"primario",validator:t=>mf.map(function(e){return e.pt}).indexOf(t)!==-1}},computed:{classeBS(){return mf.find(t=>t.pt==this.variante).en},estilo(){const t=["alert"];return t.push(`alert-${this.classeBS}`),this.classes&&t.push(this.classes),t}},methods:{fechar:function(){this.$emit("fechar")}}};var L1=function(){var e=this,r=e._self._c;return r("div",{class:e.estilo,attrs:{role:"alert"}},[e._t("default"),e.fechavel?r("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.fechar}},[r("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])]):e._e()],2)},F1=[],j1=ce(U1,L1,F1,!1,null,"7005f47c");const V1=j1.exports,B1={name:"UspAutocompletar",props:{abreNoFoco:{type:Boolean,default:!1},classesDiv:{type:String,default:""},classesTitulo:{type:String,default:""},desabilitado:{type:Boolean,default:!1},erroValidacao:{type:String,default:""},id:{type:String,required:!0},inicial:{type:String,default:""},itens:{type:Array,required:!0},quantidadeCaracteres:{type:Number,required:!1,default:0},titulo:{type:String,default:""},name:{type:String,required:!0},obrigatorio:{type:Boolean,default:!1},placeholder:{type:String,required:!0}},data(){return{atual:0,mostrar:!1,termo:this.inicial||""}},computed:{itensFiltrados(){const t=this;return t.itens.filter(e=>e.getTexto().toLowerCase().includes(t.termo.toLowerCase()))},temResultados:function(){return this.itensFiltrados.length>0&&this.mostrar?"resultados":""}},watch:{itens(){this.termo=this.inicial||""},inicial(t){t&&(this.termo=t)}},methods:{baixo(){this.atual0&&this.atual--},eAtivo(t){return t===this.atual},enter(){const t=this.itensFiltrados[this.atual];this.mostrar=!1,t&&(this.termo=t.getTexto(),this.$emit("input",t.getCodigo()),this.$emit("change",t.getCodigo()))},fechar(){this.mostrar=!1,this.atual=-1},foco(){this.abreNoFoco&&(this.mostrar=!0,this.atual=0)},trocar(){this.$emit("input",this.termo),!this.mostrar&&this.termo.length>=this.quantidadeCaracteres&&(this.mostrar=!0,this.atual=0)},selecionar(t){this.termo=t.getTexto(),this.mostrar=!1,this.$emit("input",t.getCodigo()),this.$emit("change",t.getCodigo())}}};var z1=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"clicar-fora",rawName:"v-clicar-fora",value:e.fechar,expression:"fechar"}],staticClass:"usp-autocompletar",class:e.classesDiv},[e.titulo?r("label",{class:e.classesTitulo,attrs:{for:e.id}},[e._v(" "+e._s(e.titulo)+" ")]):e._e(),r("input",{directives:[{name:"model",rawName:"v-model",value:e.termo,expression:"termo"}],staticClass:"form-control",class:e.temResultados,attrs:{id:e.id,name:e.name,placeholder:e.placeholder,type:"search",disabled:e.desabilitado,required:e.obrigatorio,autocomplete:"off"},domProps:{value:e.termo},on:{focus:e.foco,click:e.foco,keydown:[function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"esc",27,a.key,["Esc","Escape"])?null:(a.preventDefault(),e.fechar.apply(null,arguments))},function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:(a.preventDefault(),e.enter.apply(null,arguments))},function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"down",40,a.key,["Down","ArrowDown"])?null:(a.preventDefault(),e.baixo.apply(null,arguments))},function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"up",38,a.key,["Up","ArrowUp"])?null:(a.preventDefault(),e.cima.apply(null,arguments))}],input:[function(a){a.target.composing||(e.termo=a.target.value)},e.trocar]}}),r("div",{directives:[{name:"show",rawName:"v-show",value:e.mostrar,expression:"mostrar"}],staticClass:"list-group list-group-sm"},e._l(e.itensFiltrados,function(a,o){return r("a",{key:a.getCodigo(),staticClass:"list-group-item list-group-item-action flex-column align-items-start",class:{active:e.eAtivo(o)},attrs:{target:"_blank"},on:{click:function(n){return e.selecionar(a)}}},[r("div",{staticClass:"w-100 d-flex justify-content-between"},[e._v(" "+e._s(a.getTexto())+" ")])])}),0),r("span",{staticClass:"invalid-feedback"},[e._v(e._s(e.erroValidacao))])])},G1=[],q1=ce(B1,z1,G1,!1,null,"23d80903");const H1=q1.exports,Y1={name:"UspAvatar",props:{largura:{type:Number,default:100,validator:t=>Number.isInteger(t)},legenda:{type:String,required:!0},src:{type:String,required:!0}},computed:{tamanho(){return`max-width: ${this.largura}px;`}}};var W1=function(){var e=this,r=e._self._c;return r("img",{staticClass:"rounded-circle img-fluid",style:e.tamanho,attrs:{src:e.src,alt:e.legenda}})},J1=[],Q1=ce(Y1,W1,J1,!1,null,null);const K1=Q1.exports,vf=[...tn],Z1={name:"UspBadge",props:{texto:{type:String,required:!0},variante:{type:String,default:"primario",validator:t=>vf.map(function(e){return e.pt}).indexOf(t)!==-1}},computed:{classeBS(){return vf.find(t=>t.pt==this.variante).en},estilo(){return`badge badge-${this.classeBS}`}}};var X1=function(){var e=this,r=e._self._c;return r("span",{class:e.estilo},[e._t("default"),e._v(e._s(e.texto))],2)},ex=[],tx=ce(Z1,X1,ex,!1,null,null);const rx=tx.exports,gf=[...tn,{pt:"link",en:"link",nome:"Link"}],bf=[{pt:"pq",en:"sm",nome:"Pequeno"},{pt:"",en:"",nome:"Padrão"},{pt:"gd",en:"lg",nome:"Grande"},{pt:"bc",en:"block",nome:"Em Bloco"}],ax={name:"UspBotao",props:{carregando:{type:Boolean,default:!1},contorno:{type:Boolean,default:!1},desabilitado:{type:Boolean,default:!1},icone:{type:String,default:""},texto:{type:String,required:!0},variante:{type:String,default:"primario",validator:t=>gf.map(function(e){return e.pt}).indexOf(t)!==-1},tamanho:{type:String,default:"",validator:t=>bf.map(function(e){return e.pt}).indexOf(t)!==-1},textoCarregando:{type:String,default:""},toggle:{type:Boolean,default:!1}},computed:{estilo(){const t=gf.find(e=>e.pt==this.variante).en;return`btn btn${this.estiloContorno}-${t}${this.estiloTamanho?" "+this.estiloTamanho:""}`},estiloTamanho(){const t=bf.find(e=>e.pt==this.tamanho).en;return this.tamanho&&this.tamanho!="normal"?`btn-${t}`:""},estiloContorno(){return this.contorno?"-outline":""}},methods:{clicar:function(t){this.$emit("clicar",t)}}};var nx=function(){var e=this,r=e._self._c;return r("button",{class:e.estilo,attrs:{disabled:e.desabilitado||e.carregando,"data-toggle":e.toggle?"button":!1},on:{click:function(a){return e.clicar(a)}}},[e._t("default"),e.carregando?r("span",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}}):e._e(),e.icone&&!e.carregando?r("em",{class:e.icone}):e._e(),e._v(" "+e._s(e.carregando&&e.textoCarregando||e.texto)+" ")],2)},ox=[],sx=ce(ax,nx,ox,!1,null,null);const Om=sx.exports,ix={name:"UspCartao",props:{titulo:{type:String,required:!0},icone:{type:String,default:""},imprimir:{type:Boolean,default:!1},fechavel:{type:Boolean,default:!1},personalizado:{type:Boolean,default:!1},fechado:{type:Boolean,default:!1},removivel:{type:Boolean,default:!1},classes:{type:Object,default:()=>new Object},formatarImpressao:{type:Function,default:t=>t},textoImpressao:{type:String,default:"Imprimir Cartão"},funcaoPersonalizada:{type:Function,default:null}},data(){const t=this;return{abrirImprimir:!1,exibir:t.fechavel?!t.fechado:!0}},computed:{iconeColapsar(){return this.exibir?"fas fa-chevron-up":"fas fa-chevron-down"},cardClass(){var t;return"card "+(((t=this.classes)==null?void 0:t.card)||"")},cardHeaderClass(){var t;return"card-header "+(((t=this.classes)==null?void 0:t.cardHeader)||"")},cardBodyClass(){var t;return"card-body "+(((t=this.classes)==null?void 0:t.cardBody)||"")},cardFooterClass(){var t;return"card-footer text-muted "+(((t=this.classes)==null?void 0:t.cardFooter)||"")},tituloImpressao(){return this.$el.querySelector(".card-header h5").textContent.trim()}},methods:{colapsar(){this.exibir=!this.exibir,this.$emit("fechar",{exibir:this.exibir})},imprimirCartao(){let t=this.formataHtml(this.$el.outerHTML);this.$impressora.imprimirDiv(this.tituloImpressao,t)},formataHtml(t){let e=document.createElement("template");e.innerHTML=t;let r=e.content.firstChild;return r.querySelector(".card-header .text-right").remove(),r=this.formatarImpressao(r),r.outerHTML},remover(){this.$emit("remover")}}};var cx=function(){var e=this,r=e._self._c;return r("div",{class:e.cardClass},[r("div",{class:e.cardHeaderClass,staticStyle:{"flex-wrap":"nowrap"}},[r("h5",{staticClass:"w-100"},[e.icone?r("em",{class:e.icone}):e._e(),e._t("cabecalho",function(){return[e._v(" "+e._s(e.titulo)+" ")]})],2),r("div",{staticClass:"text-right"},[e.fechavel?r("a",{staticClass:"card-collapser",on:{click:function(a){return a.preventDefault(),e.colapsar.apply(null,arguments)}}},[r("em",{class:e.iconeColapsar})]):e._e(),e.removivel?r("a",{staticClass:"card-remove ml-3",on:{click:function(a){return a.preventDefault(),e.remover.apply(null,arguments)}}},[r("em",{staticClass:"fas fa-times"})]):e._e(),e.imprimir?r("a",{staticClass:"card-print btn btn-outline-primary ml-3",on:{click:function(a){return a.preventDefault(),e.imprimirCartao.apply(null,arguments)},mouseover:function(a){e.abrirImprimir=!0},mouseleave:function(a){e.abrirImprimir=!1}}},[r("em",{staticClass:"fas fa-print"}),r("span",{staticClass:"texto",class:{"mostrar-texto":e.abrirImprimir}},[e._v(" "+e._s(e.textoImpressao)+" ")])]):e._e(),e.personalizado?r("a",{staticClass:"card-personalizado btn btn-primary ml-3",on:{click:function(a){return a.preventDefault(),e.funcaoPersonalizada.apply(null,arguments)}}},[e._t("personalizado",function(){return[r("em",{staticClass:"fas fa-link"}),e._v(" Abrir ")]})],2):e._e()])]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.exibir,expression:"exibir"}],class:e.cardBodyClass},[e._t("corpo")],2),e.$slots.rodape||e.$slots.acoes?r("div",{directives:[{name:"show",rawName:"v-show",value:e.exibir,expression:"exibir"}],class:e.cardFooterClass},[e._t("rodape"),e.$slots.acoes?r("div",{staticClass:"acoes"},[e._t("acoes")],2):e._e()],2):e._e()])},ux=[],lx=ce(ix,cx,ux,!1,null,null);const dx=lx.exports,_f=[...tn,{pt:"link",en:"link",nome:"Link"}],Af=[{pt:"pq",en:"sm",nome:"pequeno"},{pt:"",en:"",nome:""},{pt:"gd",en:"lg",nome:"grande"}],fx={name:"UspDropdown",props:{contorno:{type:Boolean,required:!1},icone:{type:String,default:null},id:{type:String,default:null},opcoes:{type:Array,default:()=>[]},tamanho:{type:String,default:"",validator:t=>Af.map(function(e){return e.pt}).indexOf(t)!==-1},texto:{type:String,default:""},variante:{type:String,default:"",validator:t=>t?_f.map(function(e){return e.pt}).indexOf(t)!==-1:!0},alinhamento:{type:String,default:"direita"},fechavel:{type:Boolean,default:!0}},data(){return{idInterno:this.id||zu.gerar(),exibir:!1}},computed:{estilo(){return this.variante?["btn",`btn${this.contorno?"-outline":""}-${this.varianteBS}`,this.tamanhoBS?`btn-${this.tamanhoBS}`:""].join(" "):""},idLink(){return`${this.idInterno}-link`},tamanhoBS(){return Af.find(t=>t.pt==this.tamanho).en},varianteBS(){return _f.find(t=>t.pt==this.variante).en},alinharDireita(){return this.alinhamento==="direita"}},methods:{clicar(t){this.$emit("clicar",t)},fechar(){this.exibir=!1}}};var px=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"clicar-fora",rawName:"v-clicar-fora",value:e.fechar,expression:"fechar"}],staticClass:"dropdown",class:{show:e.exibir},attrs:{id:e.idInterno}},[r("a",{staticClass:"dropdown-toggle",class:e.estilo,attrs:{id:e.idLink,role:"button","aria-haspopup":"true","aria-expanded":`${e.exibir}`},on:{click:function(a){e.exibir=!e.exibir}}},[e._t("conteudo",function(){return[e.icone?r("em",{class:e.icone}):e._e(),e._v(" "+e._s(e.texto)+" ")]})],2),r("div",{staticClass:"dropdown-menu",class:{show:e.exibir,"dropdown-menu-right":e.alinharDireita,"dropdown-menu-md-left":e.alinharDireita,"dropdown-menu-md-right":!e.alinharDireita},attrs:{"aria-labelledby":e.idLink},on:{click:function(a){e.fechavel&&e.fechar()}}},[e._t("itens",function(){return e._l(e.opcoes,function(a){return r("a",{key:a.id,staticClass:"dropdown-item",class:{disabled:a.desabilitado},attrs:{"aria-disabled":a.desabilitado,disabled:a.desabilitado},on:{click:function(o){return e.clicar(a.dados)}}},[a.icone?r("em",{class:a.icone+" fa-sm mr-2"}):e._e(),e._v(" "+e._s(a.titulo)+" ")])})})],2)])},hx=[],mx=ce(fx,px,hx,!1,null,null);const vx=mx.exports,gx={name:"UspDropdownItem",props:{desabilitado:{type:Boolean,default:!1,required:!1},click:{type:Function,default:()=>{}}},methods:{clicou(){this.$emit("click")}}};var bx=function(){var e=this,r=e._self._c;return r("button",{staticClass:"dropdown-item",attrs:{disabled:e.desabilitado},on:{click:e.clicou}},[e._t("default")],2)},_x=[],Ax=ce(gx,bx,_x,!1,null,null);const Sx=Ax.exports,yx={name:"UspDropdownItemTitulo"};var Ox=function(){var e=this,r=e._self._c;return r("h6",{staticClass:"dropdown-header"},[e._t("default")],2)},Ex=[],Cx=ce(yx,Ox,Ex,!1,null,null);const Rx=Cx.exports,wx={name:"UspDropdownSeparador"};var Tx=function(){var e=this,r=e._self._c;return r("div",{staticClass:"dropdown-divider"})},Dx=[],xx=ce(wx,Tx,Dx,!1,null,null);const Px=xx.exports,Nx={name:"UspLista",props:{classes:{type:String,default:""},clicavel:{type:Boolean,required:!1,default:!1},espacamento:{type:Boolean,required:!1,default:!1},horizontal:{type:Boolean,required:!1,default:!1},lista:{type:Array,default:()=>[]},tagItem:{type:String,default:"li",validator:t=>["li","a","div"].includes(t)},tagMae:{type:String,default:"ul",validator:t=>["ul","div"].includes(t)}},computed:{estilo(){let t=this.espacamento===!0?"espacamento":"",e=this.horizontal?"list-group-horizontal":"";return"list-group "+(t||"")+` ${e} `+(this.classes||"")},estiloItem(){return"list-group-item "+((this.clicavel===!0?"list-group-item-action":"")||"")}},methods:{clicar(t){this.clicavel&&this.$emit("clicar",t)}}};var Ix=function(){var e=this,r=e._self._c;return r(e.tagMae,{tag:"component",class:e.estilo},[e._t("default"),e._l(e.lista,function(a){return r(e.tagItem,{key:a.id,tag:"component",class:e.estiloItem,attrs:{href:a.destino},on:{click:function(o){return e.clicar(a)}}},[e._t("conteudo",function(){return[e._v(" "+e._s(a.conteudo)+" ")]},{item:a})],2)})],2)},$x=[],Mx=ce(Nx,Ix,$x,!1,null,"9777e025");const kx=Mx.exports,Ux={name:"UspListaItem"};var Lx=function(){var e=this,r=e._self._c;return r("li",{staticClass:"list-group-item"},[e._t("default")],2)},Fx=[],jx=ce(Ux,Lx,Fx,!1,null,null);const Vx=jx.exports,Sf=[...tn,{pt:"link",en:"link",nome:"Link"}],yf=[{pt:"pq",en:"sm",nome:"Pequeno"},{pt:"",en:"",nome:"Padrão"},{pt:"gd",en:"lg",nome:"Grande"},{pt:"bc",en:"block",nome:"Em Bloco"}],Bx={name:"UspLink",props:{contorno:{type:Boolean},desabilitado:{type:Boolean,default:!1},destino:{type:[String,Object],required:!0},icone:{type:String,default:""},novaGuia:{type:Boolean,default:!1},tamanho:{type:String,default:"",validator:t=>yf.map(function(e){return e.pt}).indexOf(t)!==-1},texto:{type:String,required:!0},variante:{type:String,default:"primario",validator:t=>Sf.map(function(e){return e.pt}).indexOf(t)!==-1},roteador:{type:Boolean}},computed:{destinoProp(){return this.desabilitado?"":this.destino},estilo(){const t=Sf.find(e=>e.pt==this.variante).en;return`btn btn${this.estiloContorno}-${t}`+(this.estiloTamanho||"")+(this.desabilitado?" disabled":"")},estiloTamanho(){const t=yf.find(e=>e.pt==this.tamanho).en;return this.tamanho!=""?` btn-${t}`:""},estiloContorno(){return this.contorno?"-outline":""}}};var zx=function(){var e=this,r=e._self._c;return e.roteador?r(e.desabilitado?"span":"router-link",{tag:"component",class:e.estilo,attrs:{to:{name:e.destinoProp.name,params:e.destinoProp.params,query:e.destinoProp.query,hash:e.destinoProp.hash},target:e.novaGuia?"_blank":"","aria-disabled":e.desabilitado}},[e._t("default"),e.icone?r("em",{class:e.icone}):e._e(),e._v(" "+e._s(e.texto)+" ")],2):r(e.desabilitado?"span":"a",{tag:"component",class:e.estilo,attrs:{href:e.destinoProp,target:e.novaGuia?"_blank":"","aria-disabled":e.desabilitado}},[e._t("default"),e.icone?r("em",{class:e.icone}):e._e(),e._v(" "+e._s(e.texto)+" ")],2)},Gx=[],qx=ce(Bx,zx,Gx,!1,null,null);const Hx=qx.exports,Yx={name:"UspNusp",props:{buscar:{type:Boolean,default:!0},divClass:{type:String,default:"form-group"},erroValidacao:{type:String,default:""},label:{type:String,default:"NUSP"},labelClass:{type:String,default:""},inicial:{type:String|Number,default:""},nomeInicial:{type:String,default:""},inputClass:{type:String,default:"form-control"},inputId:{type:String,default:"codpes"},obrigatorio:{type:Boolean,default:!1}},data(){return{carregando:!1,codpes:this.inicial||"",nompes:this.nomeInicial||""}},computed:{classeSpan(){return"nome"+(this.erroValidacao&&!this.carregando&&!this.nompes?" invalid-feedback":"")},textoNome(){return this.carregando?"Carregando dados...":this.nompes?this.nompes:this.erroValidacao?this.erroValidacao:"Digite o NUSP"}},watch:{inicial(t){t&&(this.codpes=t)}},methods:{async obter(){const t=this;if(t.carregando=!0,t.buscar&&t.codpes){let e;try{e=await fetch(`/proxy/wsportal/owc/pessoas/${t.codpes}`,{headers:{"Usp-Key":localStorage.getItem(pr.AUTH.USUARIO_TOKEN)}})}catch(r){console.error(r)}if(e!=null&&e.ok){const r=await e.json();t.codpes=r.codpes,t.nompes=r.nompes,t.$emit("input",r.codpes)}else{const r=await e.json();t.codpes="",t.nompes=r.mensagem,t.$emit("input","")}}else t.$emit("input",t.codpes);t.carregando=!1}}};var Wx=function(){var e=this,r=e._self._c;return r("div",{class:e.divClass},[r("label",{class:e.labelClass,attrs:{for:e.inputId}},[e._v(" "+e._s(e.label)+" ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.codpes,expression:"codpes"}],class:e.inputClass,attrs:{id:e.inputId,type:"number",step:"1",min:"1",disabled:e.carregando,required:e.obrigatorio},domProps:{value:e.codpes},on:{change:e.obter,input:[function(a){a.target.composing||(e.codpes=a.target.value)},function(a){return e.$emit("input",e.codpes)}]}}),r("span",{class:e.classeSpan},[e._v(" "+e._s(e.textoNome)+" ")])])},Jx=[],Qx=ce(Yx,Wx,Jx,!1,null,"ee5bd33d");const Kx=Qx.exports,Of=[{pt:"pq",en:"sm"},{pt:"",en:""},{pt:"gd",en:"lg"},{pt:"bc",en:"block"}],aa={inicio:1,numPaginas:5,anteriorTxt:"Anterior",proximoTxt:"Próximo",iconeAnterior:"«",iconeProximo:"»"},Zx={name:"UspPaginacao",props:{icones:{type:Boolean,default:!0},paginas:{type:Number,required:!0},inicio:{type:Number,default:aa.inicio},numPaginas:{type:Number,default:aa.numPaginas},anteriorTxt:{type:String,default:aa.anteriorTxt},proximoTxt:{type:String,default:aa.proximoTxt},tamanho:{type:String,default:"",validator:t=>Of.map(function(e){return e.pt}).indexOf(t)!==-1}},data(){return{atual:this.inicio,iconeAnterior:aa.iconeAnterior,iconeProximo:aa.iconeProximo,anteriorTxtDefault:aa.anteriorTxt,proximoTxtDefault:aa.proximoTxt}},computed:{estiloTamanho(){const t=Of.find(e=>e.pt==this.tamanho).en;return this.tamanho!="normal"?`pagination-${t}`:""}},watch:{atual(t){this.$emit("paginar",t)}},methods:{trocarProximaPagina(){this.atual!==this.paginas&&this.atual++},trocarPaginaAnterior(){this.atual!==1&&this.atual--},trocarPagina(t){this.atual=t}}};var Xx=function(){var e=this,r=e._self._c;return r("ul",{staticClass:"pagination",class:e.estiloTamanho},[r("li",{staticClass:"page-item"},[r("a",{staticClass:"page-link pagina-anterior",attrs:{"aria-label":e.anteriorTxt},on:{click:function(a){return a.preventDefault(),e.trocarPaginaAnterior.apply(null,arguments)}}},[e.icones?r("span",{attrs:{"aria-hidden":"true"}},[e._v(" "+e._s(e.iconeAnterior)+" ")]):e.anteriorTxt?r("span",[e._v(" "+e._s(e.anteriorTxt)+" ")]):r("span",[e._v(" "+e._s(e.anteriorTxtDefault)+" ")])])]),e._l(e.paginas,function(a){return r("li",{directives:[{name:"show",rawName:"v-show",value:a>e.atual-Math.ceil(e.numPaginas/2)&&ae.paginas.length-e.numPaginas,expression:` (n > atual - (Math.ceil(numPaginas / 2)) && n < atual + Math.ceil(numPaginas / 2)) || (n <= numPaginas && atual < Math.ceil(numPaginas / 2)) || n > paginas.length - numPaginas `}],key:a,staticClass:"page-item pagina",class:{active:e.atual===a},attrs:{"aria-current":e.atual===a?"page":!1}},[r("a",{staticClass:"page-link",on:{click:function(o){return o.preventDefault(),e.trocarPagina(a)}}},[e._v(" "+e._s(a)+" "),e.atual===a?r("span",{staticClass:"sr-only"},[e._v(" (atual) ")]):e._e()])])}),r("li",{staticClass:"page-item"},[r("a",{staticClass:"page-link pagina-seguinte",attrs:{"aria-label":e.proximoTxt},on:{click:function(a){return a.preventDefault(),e.trocarProximaPagina.apply(null,arguments)}}},[e.icones?r("span",{attrs:{"aria-hidden":"true"}},[e._v(" "+e._s(e.iconeProximo)+" ")]):e.proximoTxt?r("span",[e._v(" "+e._s(e.proximoTxt)+" ")]):r("span",[e._v(" "+e._s(e.proximoTxtDefault)+" ")])])])],2)},eP=[],tP=ce(Zx,Xx,eP,!1,null,null);const Em=tP.exports,Ef=[...tn],rP={name:"UspProgresso",props:{valorAtual:{type:Number,required:!0,default:0,validator:t=>Number.isInteger(t)},valorMaximo:{type:Number,default:100,required:!1,validator:t=>Number.isInteger(t)},valorMinimo:{type:Number,default:0,required:!1,validator:t=>Number.isInteger(t)},variante:{type:String,default:"sucesso",validator:t=>Ef.map(function(e){return e.pt}).indexOf(t)!==-1}},computed:{classeBS(){return Ef.find(t=>t.pt==this.variante).en},preenchimento(){return`width:${100*this.valorAtual/(this.valorMaximo-this.valorMinimo)}%`},estilo(){return`bg-${this.classeBS} progress-bar`}}};var aP=function(){var e=this,r=e._self._c;return r("div",{staticClass:"progress"},[r("div",{class:e.estilo,style:e.preenchimento,attrs:{role:"progressbar","aria-valuenow":e.valorAtual,"aria-valuemin":e.valorMinimo,"aria-valuemax":e.valorMaximo}})])},nP=[],oP=ce(rP,aP,nP,!1,null,null);const sP=oP.exports,iP={name:"UspSkeleton",props:{quantidade:{type:Number,required:!1,default:5}}};var cP=function(){var e=this,r=e._self._c;return r("div",{staticClass:"usp-skeleton"},[e._t("default",function(){return e._l(e.quantidade,function(a){return r("div",{key:a,staticClass:"usp-skeleton-item"},[r("div")])})})],2)},uP=[],lP=ce(iP,cP,uP,!1,null,null);const dP=lP.exports,fP=["border","grow"],Cf=[...tn],pP={name:"UspSpinner",props:{texto:{type:String,default:"Carregando...",required:!1},formato:{type:String,default:"border",validator:t=>fP.indexOf(t)!==-1},variante:{type:String,default:"primario",validator:t=>Cf.map(function(e){return e.pt}).indexOf(t)!==-1}},computed:{classeBS(){return Cf.find(t=>t.pt==this.variante).en},estilo(){return`spinner-${this.formato} text-${this.classeBS}`}}};var hP=function(){var e=this,r=e._self._c;return r("div",{class:e.estilo,attrs:{role:"status"}},[r("span",{staticClass:"sr-only"},[e._v(e._s(e.texto))])])},mP=[],vP=ce(pP,hP,mP,!1,null,null);const gP=vP.exports,bP=[{pt:"esquerda",en:"left",nome:"Esquerda"},{pt:"centro",en:"center",nome:"Centro"},{pt:"direita",en:"right",nome:"Direita"}],_P={name:"UspTabela",components:{uspBotao:Om,uspPaginacao:Em},props:{acoes:{type:Array,default:()=>[]},alinhamento:{type:String,default:"esquerda",validator:t=>bP.map(function(e){return e.pt}).indexOf(t)!==-1},campos:{type:Array,required:!0},clicavel:{type:Boolean,default:!1},dados:{type:Array,required:!0},paginacao:{type:Boolean,default:!1,required:!1},porPagina:{type:Number,default:10,required:!1},responsivo:{type:Boolean,default:!0},titulo:{type:String,default:"Tabela Dinâmica"}},data(){return{ordemDir:"",ordemProp:"",numericoProp:"",id:"",paginaAtual:1,selecionada:!1}},computed:{dadosOrdenados(){const t=this;return t.ordemProp?t.dados.slice().sort((e,r)=>{const a=e[t.ordemProp]?t.formatarCampo(e[t.ordemProp]):null,o=r[t.ordemProp]?t.formatarCampo(r[t.ordemProp]):null;return ao||a===null?t.ordemDir==="ASC"?1:-1:0}):t.dados},dadosPaginados(){const t=this;return t.paginacao?t.dadosOrdenados.slice((t.paginaAtual-1)*t.porPagina,t.paginaAtual*t.porPagina):t.dadosOrdenados},camposTratados(){return this.campos.map(t=>({key:t.campo,label:t.nome,sortable:t.ordenavel,variant:t.variante,formatter:t.formato}))},paginas(){return Math.ceil(this.dados.length/this.porPagina)},alinhamentos:function(){return this.campos.map(function(t){return t.alinhamento})}},created(){const t=this;t.id||(t.id=zu.gerar())},methods:{formatarCampo(t){return this.numericoProp?parseFloat(t):Ed(t)},handleClick(t,e){this.clicavel&&(this.selecionada=this.selecionada===e?!1:e,this.$emit("cliqueSimples",{dado:t,idx:e}))},handleDblClick(t,e){this.clicavel&&this.$emit("cliqueDuplo",{dado:t,idx:e})},obterIconeOrdenavel(t){return t.campo===this.ordemProp?this.ordemDir==="ASC"?"fas fa-sort-up":"fas fa-sort-down":"fas fa-sort opaco"},ordenar({campo:t,ordenavel:e,numerico:r}){const a=this;console.log(arguments),e&&(console.log(`Trocando campo ${t} de ordem`),a.ordemProp=t,a.ordemDir=a.ordemDir==="ASC"?"DESC":"ASC",a.numericoProp=!!r)},tratarCondicao(t,e){return t?typeof t=="function"?t(e):!1:!0},selecionar(t,e){this.$emit("selecionar",{acao:t,dados:e})},paginar(t){this.paginaAtual=t},formataStringAcentuada:Ed}};var AP=function(){var e=this,r=e._self._c;return r("div",{class:{"table-container":!0,"table-responsive":e.responsivo}},[r("table",{class:{table:!0},attrs:{"aria-label":e.titulo}},[r("thead",[r("tr",e._l(e.campos,function(a,o){return r("th",{key:`${e.id}-${a.campo}`,attrs:{scope:"col"}},[r("div",{key:`${e.ordemProp}-${e.ordemDir}`,class:[{conteudo:!0,ordenavel:a.ordenavel},e.alinhamentos[o]],on:{click:function(n){return e.ordenar(a)}}},[e._v(" "+e._s(a.nome)+" "),a.ordenavel?r("em",{class:e.obterIconeOrdenavel(a)}):e._e()])])}),0)]),r("tbody",e._l(e.dadosPaginados,function(a,o){return r("tr",{key:`${e.id}-row-${o}`,class:{acionavel:e.clicavel,selecionada:e.selecionada===o},on:{click:function(n){return e.handleClick(a,o)},dblclick:function(n){return e.handleDblClick(a,o)}}},e._l(e.campos,function(n,s){return r("td",{key:`${e.id}-row-${o}-col-${s}`,class:e.alinhamentos[s]},[n.slot?e._t(n.slot,null,{data:a}):n.campo!=="acoes"?r("span",[e._v(" "+e._s(n.formato&&typeof n.formato=="function"?n.formato(a[n.campo]):a[n.campo])+" ")]):e._t("acoes",function(){return e._l(e.acoes,function(i){return r("span",{key:i.id,staticClass:"mr-1"},[r("uspBotao",{staticClass:"text-nowrap mb-1",attrs:{texto:i.titulo,icone:i.icone,variante:i.variante,tamanho:i.tamanho,desabilitado:!e.tratarCondicao(i.condicao,a)},on:{clicar:function(c){return e.selecionar(i.titulo,a)}}})],1)})},{data:a})],2)}),0)}),0)]),e.paginacao?r("div",{staticClass:"mt-4"},[r("div",{staticClass:"d-flex align-items-center justify-content-between"},[r("div",[r("uspPaginacao",{attrs:{icones:"",tamanho:"pq",paginas:e.paginas},on:{paginar:e.paginar}})],1)])]):e._e()])},SP=[],yP=ce(_P,AP,SP,!1,null,null);const OP=yP.exports,Rf=Object.freeze(Object.defineProperty({__proto__:null,uspAbas:P1,uspAcordeao:k1,uspAlerta:V1,uspAutocompletar:H1,uspAvatar:K1,uspBadge:rx,uspBotao:Om,uspCartao:dx,uspDropdown:vx,uspDropdownItem:Sx,uspDropdownItemTitulo:Rx,uspDropdownSeparador:Px,uspLink:Hx,uspLista:kx,uspListaItem:Vx,uspModal:Nh,uspNusp:Kx,uspPaginacao:Em,uspProgresso:sP,uspSidebar:HE,uspSidebarItemMenu:Ih,uspSkeleton:dP,uspSpinner:gP,uspTabela:OP},Symbol.toStringTag,{value:"Module"}));class EP{constructor(){this.setOptions()}_abrirJanelaImpressao(e,r,a){let o=null;return o=window.open(e,r,a),o.opener||(o.opener=this),o.focus(),o}_escreverNaJanela(e,r,a){const o=this._obterEstilosAtuais();e.document.documentElement.innerHTML=` ${r} ${o} ${a} `}_obterEstilosAtuais(){let e="";for(const r of[...document.querySelectorAll('link[rel="stylesheet"], style')])e+=r.outerHTML;return e}imprimirDiv(e,r,a=()=>!0){const n=this._abrirJanelaImpressao("",e,this.openOpts);return this._escreverNaJanela(n,e,r),setTimeout(()=>{n.document.close(),n.focus(),n.print(),setTimeout(function(){window.close()},1),a()},1e3),!0}setOptions(e={}){this.openOpts=e.openOpts||{}}install(e,r){this.setOptions(r),e.prototype.$impressora=this}}const CP=new EP,Cm={install(t){for(const e in Rf){const r=Rf[e];t.component(r.name,r)}}};typeof window<"u"&&window.Vue&&window.Vue.use(Cm);const RP={papeis:{A:"Assinante",G:"Gestor",O:"Observador"},situacoes:{CRI:"Criado",ENV:"Para assinar",ASS:"Assinado",REJ:"Rejeitado"}},wP={install(t){t.prototype.$uassConst=e=>RP[e]}},TP={bind(t,e,r){t.clickOutsideEvent=a=>{t==a.target||t.contains(a.target)||r.context[e.expression](a)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind:t=>document.body.removeEventListener("click",t.clickOutsideEvent)};se.config.devtools=!0;se.config.performance=!0;se.use(Cm);se.use(v1,{});se.use(CP);se.directive("clicar-fora",TP);se.directive("maska",C1);se.use(dD,{componentPrefix:"vc"});se.use(em,{name:"portal"});se.use(MT,{siteKey:"6LfsVq4UAAAAALGvYCDllwImhuycVqirjthOnu4S"});se.use(wP);se.use(aD,{config:{id:"G-FFHJ1KTMV2"}},Uh);se.use(Ze,{});se.use(b1);se.prototype.$baseUrl="https://uspdigital.usp.br/";new se({router:Uh,store:wT,render:t=>t(Z0)}).$mount("#app");export{de as A,WP as B,YP as C,JP as D,Ed as E,aw as F,we as G,nw as H,bg as I,wu as J,H1 as K,oR as L,K as M,qs as N,mr as O,Ir as P,lw as Q,$a as S,eo as T,zu as U,pi as V,pC as _,Ze as a,TT as b,br as c,St as d,Mh as e,QP as f,jh as g,B0 as h,Za as i,ii as j,KP as k,Pu as l,nr as m,ce as n,ZP as o,pu as p,fT as q,nt as r,Gt as s,Uu as t,Nh as u,ku as v,pr as w,_T as x,fi as y,po as z};