61 lines
239 KiB
JavaScript
61 lines
239 KiB
JavaScript
(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))a(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const o of d.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function i(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function a(c){if(c.ep)return;c.ep=!0;const d=i(c);fetch(c.href,d)}})();function qe(){}function Pt(t,n){for(const i in n)t[i]=n[i];return t}function Pa(t){return t()}function Fo(){return Object.create(null)}function yt(t){t.forEach(Pa)}function Bi(t){return typeof t=="function"}function Ke(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}let yr;function qi(t,n){return yr||(yr=document.createElement("a")),yr.href=n,t===yr.href}function Bs(t){return Object.keys(t).length===0}function mo(t,...n){if(t==null)return qe;const i=t.subscribe(...n);return i.unsubscribe?()=>i.unsubscribe():i}function di(t){let n;return mo(t,i=>n=i)(),n}function Ct(t,n,i){t.$$.on_destroy.push(mo(n,i))}function Mn(t,n,i,a){if(t){const c=Oa(t,n,i,a);return t[0](c)}}function Oa(t,n,i,a){return t[1]&&a?Pt(i.ctx.slice(),t[1](a(n))):i.ctx}function qn(t,n,i,a){if(t[2]&&a){const c=t[2](a(i));if(n.dirty===void 0)return c;if(typeof c=="object"){const d=[],o=Math.max(n.dirty.length,c.length);for(let v=0;v<o;v+=1)d[v]=n.dirty[v]|c[v];return d}return n.dirty|c}return n.dirty}function Fn(t,n,i,a,c,d){if(c){const o=Oa(n,i,a,d);t.p(o,c)}}function Bn(t){if(t.ctx.length>32){const n=[],i=t.ctx.length/32;for(let a=0;a<i;a++)n[a]=-1;return n}return-1}function Cr(t){const n={};for(const i in t)i[0]!=="$"&&(n[i]=t[i]);return n}function Er(t,n){const i={};n=new Set(n);for(const a in t)!n.has(a)&&a[0]!=="$"&&(i[a]=t[a]);return i}function zt(t){return t??""}function Ws(t,n,i){return t.set(i),n}const Us=["",!0,1,"true","contenteditable"],Vs=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function R(t,n){t.appendChild(n)}function ae(t,n,i){t.insertBefore(n,i||null)}function re(t){t.parentNode&&t.parentNode.removeChild(t)}function xr(t,n){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(n)}function V(t){return document.createElement(t)}function Ie(t){return document.createTextNode(t)}function fe(){return Ie(" ")}function Vn(){return Ie("")}function Xe(t,n,i,a){return t.addEventListener(n,i,a),()=>t.removeEventListener(n,i,a)}function Lt(t){return function(n){return n.preventDefault(),t.call(this,n)}}function N(t,n,i){i==null?t.removeAttribute(n):t.getAttribute(n)!==i&&t.setAttribute(n,i)}const zs=["width","height"];function hi(t,n){const i=Object.getOwnPropertyDescriptors(t.__proto__);for(const a in n)n[a]==null?t.removeAttribute(a):a==="style"?t.style.cssText=n[a]:a==="__value"?t.value=t[a]=n[a]:i[a]&&i[a].set&&zs.indexOf(a)===-1?t[a]=n[a]:N(t,a,n[a])}function Ia(t){return t===""?null:+t}function Qs(t){return Array.from(t.childNodes)}function mt(t,n){n=""+n,t.data!==n&&(t.data=n)}function Xs(t,n){n=""+n,t.wholeText!==n&&(t.data=n)}function Ys(t,n,i){~Us.indexOf(i)?Xs(t,n):mt(t,n)}function _n(t,n){t.value=n??""}function yn(t,n,i,a){i==null?t.style.removeProperty(n):t.style.setProperty(n,i,a?"important":"")}function Ks(t,n,{bubbles:i=!1,cancelable:a=!1}={}){const c=document.createEvent("CustomEvent");return c.initCustomEvent(t,i,a,n),c}function pi(t,n){return new t(n)}let Fi;function Hi(t){Fi=t}function Wi(){if(!Fi)throw new Error("Function called outside component initialization");return Fi}function ja(t){Wi().$$.on_mount.push(t)}function Gs(t){Wi().$$.on_destroy.push(t)}function Ui(){const t=Wi();return(n,i,{cancelable:a=!1}={})=>{const c=t.$$.callbacks[n];if(c){const d=Ks(n,i,{cancelable:a});return c.slice().forEach(o=>{o.call(t,d)}),!d.defaultPrevented}return!0}}function Mi(t,n){return Wi().$$.context.set(t,n),n}function ln(t){return Wi().$$.context.get(t)}function Ra(t,n){const i=t.$$.callbacks[n.type];i&&i.slice().forEach(a=>a.call(this,n))}const ui=[],Bo=[];let ci=[];const Wo=[],Ha=Promise.resolve();let ro=!1;function Ma(){ro||(ro=!0,Ha.then(qa))}function Js(){return Ma(),Ha}function oo(t){ci.push(t)}const Xr=new Set;let si=0;function qa(){if(si!==0)return;const t=Fi;do{try{for(;si<ui.length;){const n=ui[si];si++,Hi(n),Zs(n.$$)}}catch(n){throw ui.length=0,si=0,n}for(Hi(null),ui.length=0,si=0;Bo.length;)Bo.pop()();for(let n=0;n<ci.length;n+=1){const i=ci[n];Xr.has(i)||(Xr.add(i),i())}ci.length=0}while(ui.length);for(;Wo.length;)Wo.pop()();ro=!1,Xr.clear(),Hi(t)}function Zs(t){if(t.fragment!==null){t.update(),yt(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(oo)}}function $s(t){const n=[],i=[];ci.forEach(a=>t.indexOf(a)===-1?n.push(a):i.push(a)),i.forEach(a=>a()),ci=n}const wr=new Set;let Hn;function Xt(){Hn={r:0,c:[],p:Hn}}function Yt(){Hn.r||yt(Hn.c),Hn=Hn.p}function _e(t,n){t&&t.i&&(wr.delete(t),t.i(n))}function we(t,n,i,a){if(t&&t.o){if(wr.has(t))return;wr.add(t),Hn.c.push(()=>{wr.delete(t),a&&(i&&t.d(1),a())}),t.o(n)}else a&&a()}function Fa(t,n){const i={},a={},c={$$scope:1};let d=t.length;for(;d--;){const o=t[d],v=n[d];if(v){for(const g in o)g in v||(a[g]=1);for(const g in v)c[g]||(i[g]=v[g],c[g]=1);t[d]=v}else for(const g in o)c[g]=1}for(const o in a)o in i||(i[o]=void 0);return i}function Uo(t){return typeof t=="object"&&t!==null?t:{}}function Ve(t){t&&t.c()}function Fe(t,n,i,a){const{fragment:c,after_update:d}=t.$$;c&&c.m(n,i),a||oo(()=>{const o=t.$$.on_mount.map(Pa).filter(Bi);t.$$.on_destroy?t.$$.on_destroy.push(...o):yt(o),t.$$.on_mount=[]}),d.forEach(oo)}function Be(t,n){const i=t.$$;i.fragment!==null&&($s(i.after_update),yt(i.on_destroy),i.fragment&&i.fragment.d(n),i.on_destroy=i.fragment=null,i.ctx=[])}function el(t,n){t.$$.dirty[0]===-1&&(ui.push(t),Ma(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31}function Ze(t,n,i,a,c,d,o,v=[-1]){const g=Fi;Hi(t);const m=t.$$={fragment:null,ctx:[],props:d,update:qe,not_equal:c,bound:Fo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(g?g.$$.context:[])),callbacks:Fo(),dirty:v,skip_bound:!1,root:n.target||g.$$.root};o&&o(m.root);let y=!1;if(m.ctx=i?i(t,n.props||{},(C,P,...k)=>{const D=k.length?k[0]:P;return m.ctx&&c(m.ctx[C],m.ctx[C]=D)&&(!m.skip_bound&&m.bound[C]&&m.bound[C](D),y&&el(t,C)),P}):[],m.update(),y=!0,yt(m.before_update),m.fragment=a?a(m.ctx):!1,n.target){if(n.hydrate){const C=Qs(n.target);m.fragment&&m.fragment.l(C),C.forEach(re)}else m.fragment&&m.fragment.c();n.intro&&_e(t.$$.fragment),Fe(t,n.target,n.anchor,n.customElement),qa()}Hi(g)}class $e{$destroy(){Be(this,1),this.$destroy=qe}$on(n,i){if(!Bi(i))return qe;const a=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return a.push(i),()=>{const c=a.indexOf(i);c!==-1&&a.splice(c,1)}}$set(n){this.$$set&&!Bs(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}var Ba=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function tl(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var i=function a(){if(this instanceof a){var c=[null];c.push.apply(c,arguments);var d=Function.bind.apply(n,c);return new d}return n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(a){var c=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(i,a,c.get?c:{enumerable:!0,get:function(){return t[a]}})}),i}var Vo={exports:{}},Yr={exports:{}};/*!
|
||
* jQuery JavaScript Library v3.7.0
|
||
* https://jquery.com/
|
||
*
|
||
* Copyright OpenJS Foundation and other contributors
|
||
* Released under the MIT license
|
||
* https://jquery.org/license
|
||
*
|
||
* Date: 2023-05-11T18:29Z
|
||
*/var zo;function nl(){return zo||(zo=1,function(t){(function(n,i){t.exports=n.document?i(n,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return i(a)}})(typeof window<"u"?window:Ba,function(n,i){var a=[],c=Object.getPrototypeOf,d=a.slice,o=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},v=a.push,g=a.indexOf,m={},y=m.toString,C=m.hasOwnProperty,P=C.toString,k=P.call(Object),D={},I=function(r){return typeof r=="function"&&typeof r.nodeType!="number"&&typeof r.item!="function"},B=function(r){return r!=null&&r===r.window},H=n.document,K={type:!0,src:!0,nonce:!0,noModule:!0};function J(e,r,s){s=s||H;var u,h,p=s.createElement("script");if(p.text=e,r)for(u in K)h=r[u]||r.getAttribute&&r.getAttribute(u),h&&p.setAttribute(u,h);s.head.appendChild(p).parentNode.removeChild(p)}function oe(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?m[y.call(e)]||"object":typeof e}var Y="3.7.0",$=/HTML$/i,l=function(e,r){return new l.fn.init(e,r)};l.fn=l.prototype={jquery:Y,constructor:l,length:0,toArray:function(){return d.call(this)},get:function(e){return e==null?d.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var r=l.merge(this.constructor(),e);return r.prevObject=this,r},each:function(e){return l.each(this,e)},map:function(e){return this.pushStack(l.map(this,function(r,s){return e.call(r,s,r)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(l.grep(this,function(e,r){return(r+1)%2}))},odd:function(){return this.pushStack(l.grep(this,function(e,r){return r%2}))},eq:function(e){var r=this.length,s=+e+(e<0?r:0);return this.pushStack(s>=0&&s<r?[this[s]]:[])},end:function(){return this.prevObject||this.constructor()},push:v,sort:a.sort,splice:a.splice},l.extend=l.fn.extend=function(){var e,r,s,u,h,p,b=arguments[0]||{},S=1,T=arguments.length,L=!1;for(typeof b=="boolean"&&(L=b,b=arguments[S]||{},S++),typeof b!="object"&&!I(b)&&(b={}),S===T&&(b=this,S--);S<T;S++)if((e=arguments[S])!=null)for(r in e)u=e[r],!(r==="__proto__"||b===u)&&(L&&u&&(l.isPlainObject(u)||(h=Array.isArray(u)))?(s=b[r],h&&!Array.isArray(s)?p=[]:!h&&!l.isPlainObject(s)?p={}:p=s,h=!1,b[r]=l.extend(L,p,u)):u!==void 0&&(b[r]=u));return b},l.extend({expando:"jQuery"+(Y+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var r,s;return!e||y.call(e)!=="[object Object]"?!1:(r=c(e),r?(s=C.call(r,"constructor")&&r.constructor,typeof s=="function"&&P.call(s)===k):!0)},isEmptyObject:function(e){var r;for(r in e)return!1;return!0},globalEval:function(e,r,s){J(e,{nonce:r&&r.nonce},s)},each:function(e,r){var s,u=0;if(ee(e))for(s=e.length;u<s&&r.call(e[u],u,e[u])!==!1;u++);else for(u in e)if(r.call(e[u],u,e[u])===!1)break;return e},text:function(e){var r,s="",u=0,h=e.nodeType;if(h){if(h===1||h===9||h===11)return e.textContent;if(h===3||h===4)return e.nodeValue}else for(;r=e[u++];)s+=l.text(r);return s},makeArray:function(e,r){var s=r||[];return e!=null&&(ee(Object(e))?l.merge(s,typeof e=="string"?[e]:e):v.call(s,e)),s},inArray:function(e,r,s){return r==null?-1:g.call(r,e,s)},isXMLDoc:function(e){var r=e&&e.namespaceURI,s=e&&(e.ownerDocument||e).documentElement;return!$.test(r||s&&s.nodeName||"HTML")},merge:function(e,r){for(var s=+r.length,u=0,h=e.length;u<s;u++)e[h++]=r[u];return e.length=h,e},grep:function(e,r,s){for(var u,h=[],p=0,b=e.length,S=!s;p<b;p++)u=!r(e[p],p),u!==S&&h.push(e[p]);return h},map:function(e,r,s){var u,h,p=0,b=[];if(ee(e))for(u=e.length;p<u;p++)h=r(e[p],p,s),h!=null&&b.push(h);else for(p in e)h=r(e[p],p,s),h!=null&&b.push(h);return o(b)},guid:1,support:D}),typeof Symbol=="function"&&(l.fn[Symbol.iterator]=a[Symbol.iterator]),l.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,r){m["[object "+r+"]"]=r.toLowerCase()});function ee(e){var r=!!e&&"length"in e&&e.length,s=oe(e);return I(e)||B(e)?!1:s==="array"||r===0||typeof r=="number"&&r>0&&r-1 in e}function G(e,r){return e.nodeName&&e.nodeName.toLowerCase()===r.toLowerCase()}var he=a.pop,ce=a.sort,ne=a.splice,te="[\\x20\\t\\r\\n\\f]",ge=new RegExp("^"+te+"+|((?:^|[^\\\\])(?:\\\\.)*)"+te+"+$","g");l.contains=function(e,r){var s=r&&r.parentNode;return e===s||!!(s&&s.nodeType===1&&(e.contains?e.contains(s):e.compareDocumentPosition&&e.compareDocumentPosition(s)&16))};var xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function it(e,r){return r?e==="\0"?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}l.escapeSelector=function(e){return(e+"").replace(xe,it)};var Ye=H,ht=v;(function(){var e,r,s,u,h,p=ht,b,S,T,L,z,X=l.expando,F=0,Z=0,Ee=gr(),Le=gr(),ke=gr(),st=gr(),at=function(w,A){return w===A&&(h=!0),0},Ft="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Bt="(?:\\\\[\\da-fA-F]{1,6}"+te+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ae="\\["+te+"*("+Bt+")(?:"+te+"*([*^$|!~]?=)"+te+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Bt+"))|)"+te+"*\\]",jn=":("+Bt+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ae+")*)|.*)\\)|)",Oe=new RegExp(te+"+","g"),nt=new RegExp("^"+te+"*,"+te+"*"),Ii=new RegExp("^"+te+"*([>+~]|"+te+")"+te+"*"),Fr=new RegExp(te+"|>"),Wt=new RegExp(jn),ji=new RegExp("^"+Bt+"$"),Ut={ID:new RegExp("^#("+Bt+")"),CLASS:new RegExp("^\\.("+Bt+")"),TAG:new RegExp("^("+Bt+"|[*])"),ATTR:new RegExp("^"+Ae),PSEUDO:new RegExp("^"+jn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),bool:new RegExp("^(?:"+Ft+")$","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},mn=/^(?:input|select|textarea|button)$/i,vn=/^h\d$/i,kt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Br=/[+~]/,on=new RegExp("\\\\[\\da-fA-F]{1,6}"+te+"?|\\\\([^\\r\\n\\f])","g"),an=function(w,A){var M="0x"+w.slice(1)-65536;return A||(M<0?String.fromCharCode(M+65536):String.fromCharCode(M>>10|55296,M&1023|56320))},Is=function(){bn()},js=br(function(w){return w.disabled===!0&&G(w,"fieldset")},{dir:"parentNode",next:"legend"});function Rs(){try{return b.activeElement}catch{}}try{p.apply(a=d.call(Ye.childNodes),Ye.childNodes),a[Ye.childNodes.length].nodeType}catch{p={apply:function(A,M){ht.apply(A,d.call(M))},call:function(A){ht.apply(A,d.call(arguments,1))}}}function Ue(w,A,M,U){var Q,ie,le,me,ue,Se,Ce,Te=A&&A.ownerDocument,Ne=A?A.nodeType:9;if(M=M||[],typeof w!="string"||!w||Ne!==1&&Ne!==9&&Ne!==11)return M;if(!U&&(bn(A),A=A||b,T)){if(Ne!==11&&(ue=kt.exec(w)))if(Q=ue[1]){if(Ne===9)if(le=A.getElementById(Q)){if(le.id===Q)return p.call(M,le),M}else return M;else if(Te&&(le=Te.getElementById(Q))&&Ue.contains(A,le)&&le.id===Q)return p.call(M,le),M}else{if(ue[2])return p.apply(M,A.getElementsByTagName(w)),M;if((Q=ue[3])&&A.getElementsByClassName)return p.apply(M,A.getElementsByClassName(Q)),M}if(!st[w+" "]&&(!L||!L.test(w))){if(Ce=w,Te=A,Ne===1&&(Fr.test(w)||Ii.test(w))){for(Te=Br.test(w)&&Wr(A.parentNode)||A,(Te!=A||!D.scope)&&((me=A.getAttribute("id"))?me=l.escapeSelector(me):A.setAttribute("id",me=X)),Se=mr(w),ie=Se.length;ie--;)Se[ie]=(me?"#"+me:":scope")+" "+vr(Se[ie]);Ce=Se.join(",")}try{return p.apply(M,Te.querySelectorAll(Ce)),M}catch{st(w,!0)}finally{me===X&&A.removeAttribute("id")}}}return qo(w.replace(ge,"$1"),A,M,U)}function gr(){var w=[];function A(M,U){return w.push(M+" ")>r.cacheLength&&delete A[w.shift()],A[M+" "]=U}return A}function At(w){return w[X]=!0,w}function oi(w){var A=b.createElement("fieldset");try{return!!w(A)}catch{return!1}finally{A.parentNode&&A.parentNode.removeChild(A),A=null}}function Hs(w){return function(A){return G(A,"input")&&A.type===w}}function Ms(w){return function(A){return(G(A,"input")||G(A,"button"))&&A.type===w}}function Ho(w){return function(A){return"form"in A?A.parentNode&&A.disabled===!1?"label"in A?"label"in A.parentNode?A.parentNode.disabled===w:A.disabled===w:A.isDisabled===w||A.isDisabled!==!w&&js(A)===w:A.disabled===w:"label"in A?A.disabled===w:!1}}function Rn(w){return At(function(A){return A=+A,At(function(M,U){for(var Q,ie=w([],M.length,A),le=ie.length;le--;)M[Q=ie[le]]&&(M[Q]=!(U[Q]=M[Q]))})})}function Wr(w){return w&&typeof w.getElementsByTagName<"u"&&w}function bn(w){var A,M=w?w.ownerDocument||w:Ye;return M==b||M.nodeType!==9||!M.documentElement||(b=M,S=b.documentElement,T=!l.isXMLDoc(b),z=S.matches||S.webkitMatchesSelector||S.msMatchesSelector,Ye!=b&&(A=b.defaultView)&&A.top!==A&&A.addEventListener("unload",Is),D.getById=oi(function(U){return S.appendChild(U).id=l.expando,!b.getElementsByName||!b.getElementsByName(l.expando).length}),D.disconnectedMatch=oi(function(U){return z.call(U,"*")}),D.scope=oi(function(){return b.querySelectorAll(":scope")}),D.cssHas=oi(function(){try{return b.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),D.getById?(r.filter.ID=function(U){var Q=U.replace(on,an);return function(ie){return ie.getAttribute("id")===Q}},r.find.ID=function(U,Q){if(typeof Q.getElementById<"u"&&T){var ie=Q.getElementById(U);return ie?[ie]:[]}}):(r.filter.ID=function(U){var Q=U.replace(on,an);return function(ie){var le=typeof ie.getAttributeNode<"u"&&ie.getAttributeNode("id");return le&&le.value===Q}},r.find.ID=function(U,Q){if(typeof Q.getElementById<"u"&&T){var ie,le,me,ue=Q.getElementById(U);if(ue){if(ie=ue.getAttributeNode("id"),ie&&ie.value===U)return[ue];for(me=Q.getElementsByName(U),le=0;ue=me[le++];)if(ie=ue.getAttributeNode("id"),ie&&ie.value===U)return[ue]}return[]}}),r.find.TAG=function(U,Q){return typeof Q.getElementsByTagName<"u"?Q.getElementsByTagName(U):Q.querySelectorAll(U)},r.find.CLASS=function(U,Q){if(typeof Q.getElementsByClassName<"u"&&T)return Q.getElementsByClassName(U)},L=[],oi(function(U){var Q;S.appendChild(U).innerHTML="<a id='"+X+"' href='' disabled='disabled'></a><select id='"+X+"-\r\\' disabled='disabled'><option selected=''></option></select>",U.querySelectorAll("[selected]").length||L.push("\\["+te+"*(?:value|"+Ft+")"),U.querySelectorAll("[id~="+X+"-]").length||L.push("~="),U.querySelectorAll("a#"+X+"+*").length||L.push(".#.+[+~]"),U.querySelectorAll(":checked").length||L.push(":checked"),Q=b.createElement("input"),Q.setAttribute("type","hidden"),U.appendChild(Q).setAttribute("name","D"),S.appendChild(U).disabled=!0,U.querySelectorAll(":disabled").length!==2&&L.push(":enabled",":disabled"),Q=b.createElement("input"),Q.setAttribute("name",""),U.appendChild(Q),U.querySelectorAll("[name='']").length||L.push("\\["+te+"*name"+te+"*="+te+`*(?:''|"")`)}),D.cssHas||L.push(":has"),L=L.length&&new RegExp(L.join("|")),at=function(U,Q){if(U===Q)return h=!0,0;var ie=!U.compareDocumentPosition-!Q.compareDocumentPosition;return ie||(ie=(U.ownerDocument||U)==(Q.ownerDocument||Q)?U.compareDocumentPosition(Q):1,ie&1||!D.sortDetached&&Q.compareDocumentPosition(U)===ie?U===b||U.ownerDocument==Ye&&Ue.contains(Ye,U)?-1:Q===b||Q.ownerDocument==Ye&&Ue.contains(Ye,Q)?1:u?g.call(u,U)-g.call(u,Q):0:ie&4?-1:1)}),b}Ue.matches=function(w,A){return Ue(w,null,null,A)},Ue.matchesSelector=function(w,A){if(bn(w),T&&!st[A+" "]&&(!L||!L.test(A)))try{var M=z.call(w,A);if(M||D.disconnectedMatch||w.document&&w.document.nodeType!==11)return M}catch{st(A,!0)}return Ue(A,b,null,[w]).length>0},Ue.contains=function(w,A){return(w.ownerDocument||w)!=b&&bn(w),l.contains(w,A)},Ue.attr=function(w,A){(w.ownerDocument||w)!=b&&bn(w);var M=r.attrHandle[A.toLowerCase()],U=M&&C.call(r.attrHandle,A.toLowerCase())?M(w,A,!T):void 0;return U!==void 0?U:w.getAttribute(A)},Ue.error=function(w){throw new Error("Syntax error, unrecognized expression: "+w)},l.uniqueSort=function(w){var A,M=[],U=0,Q=0;if(h=!D.sortStable,u=!D.sortStable&&d.call(w,0),ce.call(w,at),h){for(;A=w[Q++];)A===w[Q]&&(U=M.push(Q));for(;U--;)ne.call(w,M[U],1)}return u=null,w},l.fn.uniqueSort=function(){return this.pushStack(l.uniqueSort(d.apply(this)))},r=l.expr={cacheLength:50,createPseudo:At,match:Ut,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(w){return w[1]=w[1].replace(on,an),w[3]=(w[3]||w[4]||w[5]||"").replace(on,an),w[2]==="~="&&(w[3]=" "+w[3]+" "),w.slice(0,4)},CHILD:function(w){return w[1]=w[1].toLowerCase(),w[1].slice(0,3)==="nth"?(w[3]||Ue.error(w[0]),w[4]=+(w[4]?w[5]+(w[6]||1):2*(w[3]==="even"||w[3]==="odd")),w[5]=+(w[7]+w[8]||w[3]==="odd")):w[3]&&Ue.error(w[0]),w},PSEUDO:function(w){var A,M=!w[6]&&w[2];return Ut.CHILD.test(w[0])?null:(w[3]?w[2]=w[4]||w[5]||"":M&&Wt.test(M)&&(A=mr(M,!0))&&(A=M.indexOf(")",M.length-A)-M.length)&&(w[0]=w[0].slice(0,A),w[2]=M.slice(0,A)),w.slice(0,3))}},filter:{TAG:function(w){var A=w.replace(on,an).toLowerCase();return w==="*"?function(){return!0}:function(M){return G(M,A)}},CLASS:function(w){var A=Ee[w+" "];return A||(A=new RegExp("(^|"+te+")"+w+"("+te+"|$)"))&&Ee(w,function(M){return A.test(typeof M.className=="string"&&M.className||typeof M.getAttribute<"u"&&M.getAttribute("class")||"")})},ATTR:function(w,A,M){return function(U){var Q=Ue.attr(U,w);return Q==null?A==="!=":A?(Q+="",A==="="?Q===M:A==="!="?Q!==M:A==="^="?M&&Q.indexOf(M)===0:A==="*="?M&&Q.indexOf(M)>-1:A==="$="?M&&Q.slice(-M.length)===M:A==="~="?(" "+Q.replace(Oe," ")+" ").indexOf(M)>-1:A==="|="?Q===M||Q.slice(0,M.length+1)===M+"-":!1):!0}},CHILD:function(w,A,M,U,Q){var ie=w.slice(0,3)!=="nth",le=w.slice(-4)!=="last",me=A==="of-type";return U===1&&Q===0?function(ue){return!!ue.parentNode}:function(ue,Se,Ce){var Te,Ne,ye,ze,_t,dt=ie!==le?"nextSibling":"previousSibling",St=ue.parentNode,Vt=me&&ue.nodeName.toLowerCase(),ai=!Ce&&!me,gt=!1;if(St){if(ie){for(;dt;){for(ye=ue;ye=ye[dt];)if(me?G(ye,Vt):ye.nodeType===1)return!1;_t=dt=w==="only"&&!_t&&"nextSibling"}return!0}if(_t=[le?St.firstChild:St.lastChild],le&&ai){for(Ne=St[X]||(St[X]={}),Te=Ne[w]||[],ze=Te[0]===F&&Te[1],gt=ze&&Te[2],ye=ze&&St.childNodes[ze];ye=++ze&&ye&&ye[dt]||(gt=ze=0)||_t.pop();)if(ye.nodeType===1&&++gt&&ye===ue){Ne[w]=[F,ze,gt];break}}else if(ai&&(Ne=ue[X]||(ue[X]={}),Te=Ne[w]||[],ze=Te[0]===F&&Te[1],gt=ze),gt===!1)for(;(ye=++ze&&ye&&ye[dt]||(gt=ze=0)||_t.pop())&&!((me?G(ye,Vt):ye.nodeType===1)&&++gt&&(ai&&(Ne=ye[X]||(ye[X]={}),Ne[w]=[F,gt]),ye===ue)););return gt-=Q,gt===U||gt%U===0&>/U>=0}}},PSEUDO:function(w,A){var M,U=r.pseudos[w]||r.setFilters[w.toLowerCase()]||Ue.error("unsupported pseudo: "+w);return U[X]?U(A):U.length>1?(M=[w,w,"",A],r.setFilters.hasOwnProperty(w.toLowerCase())?At(function(Q,ie){for(var le,me=U(Q,A),ue=me.length;ue--;)le=g.call(Q,me[ue]),Q[le]=!(ie[le]=me[ue])}):function(Q){return U(Q,0,M)}):U}},pseudos:{not:At(function(w){var A=[],M=[],U=Qr(w.replace(ge,"$1"));return U[X]?At(function(Q,ie,le,me){for(var ue,Se=U(Q,null,me,[]),Ce=Q.length;Ce--;)(ue=Se[Ce])&&(Q[Ce]=!(ie[Ce]=ue))}):function(Q,ie,le){return A[0]=Q,U(A,null,le,M),A[0]=null,!M.pop()}}),has:At(function(w){return function(A){return Ue(w,A).length>0}}),contains:At(function(w){return w=w.replace(on,an),function(A){return(A.textContent||l.text(A)).indexOf(w)>-1}}),lang:At(function(w){return ji.test(w||"")||Ue.error("unsupported lang: "+w),w=w.replace(on,an).toLowerCase(),function(A){var M;do if(M=T?A.lang:A.getAttribute("xml:lang")||A.getAttribute("lang"))return M=M.toLowerCase(),M===w||M.indexOf(w+"-")===0;while((A=A.parentNode)&&A.nodeType===1);return!1}}),target:function(w){var A=n.location&&n.location.hash;return A&&A.slice(1)===w.id},root:function(w){return w===S},focus:function(w){return w===Rs()&&b.hasFocus()&&!!(w.type||w.href||~w.tabIndex)},enabled:Ho(!1),disabled:Ho(!0),checked:function(w){return G(w,"input")&&!!w.checked||G(w,"option")&&!!w.selected},selected:function(w){return w.parentNode&&w.parentNode.selectedIndex,w.selected===!0},empty:function(w){for(w=w.firstChild;w;w=w.nextSibling)if(w.nodeType<6)return!1;return!0},parent:function(w){return!r.pseudos.empty(w)},header:function(w){return vn.test(w.nodeName)},input:function(w){return mn.test(w.nodeName)},button:function(w){return G(w,"input")&&w.type==="button"||G(w,"button")},text:function(w){var A;return G(w,"input")&&w.type==="text"&&((A=w.getAttribute("type"))==null||A.toLowerCase()==="text")},first:Rn(function(){return[0]}),last:Rn(function(w,A){return[A-1]}),eq:Rn(function(w,A,M){return[M<0?M+A:M]}),even:Rn(function(w,A){for(var M=0;M<A;M+=2)w.push(M);return w}),odd:Rn(function(w,A){for(var M=1;M<A;M+=2)w.push(M);return w}),lt:Rn(function(w,A,M){var U;for(M<0?U=M+A:M>A?U=A:U=M;--U>=0;)w.push(U);return w}),gt:Rn(function(w,A,M){for(var U=M<0?M+A:M;++U<A;)w.push(U);return w})}},r.pseudos.nth=r.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=Hs(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=Ms(e);function Mo(){}Mo.prototype=r.filters=r.pseudos,r.setFilters=new Mo;function mr(w,A){var M,U,Q,ie,le,me,ue,Se=Le[w+" "];if(Se)return A?0:Se.slice(0);for(le=w,me=[],ue=r.preFilter;le;){(!M||(U=nt.exec(le)))&&(U&&(le=le.slice(U[0].length)||le),me.push(Q=[])),M=!1,(U=Ii.exec(le))&&(M=U.shift(),Q.push({value:M,type:U[0].replace(ge," ")}),le=le.slice(M.length));for(ie in r.filter)(U=Ut[ie].exec(le))&&(!ue[ie]||(U=ue[ie](U)))&&(M=U.shift(),Q.push({value:M,type:ie,matches:U}),le=le.slice(M.length));if(!M)break}return A?le.length:le?Ue.error(w):Le(w,me).slice(0)}function vr(w){for(var A=0,M=w.length,U="";A<M;A++)U+=w[A].value;return U}function br(w,A,M){var U=A.dir,Q=A.next,ie=Q||U,le=M&&ie==="parentNode",me=Z++;return A.first?function(ue,Se,Ce){for(;ue=ue[U];)if(ue.nodeType===1||le)return w(ue,Se,Ce);return!1}:function(ue,Se,Ce){var Te,Ne,ye=[F,me];if(Ce){for(;ue=ue[U];)if((ue.nodeType===1||le)&&w(ue,Se,Ce))return!0}else for(;ue=ue[U];)if(ue.nodeType===1||le)if(Ne=ue[X]||(ue[X]={}),Q&&G(ue,Q))ue=ue[U]||ue;else{if((Te=Ne[ie])&&Te[0]===F&&Te[1]===me)return ye[2]=Te[2];if(Ne[ie]=ye,ye[2]=w(ue,Se,Ce))return!0}return!1}}function Ur(w){return w.length>1?function(A,M,U){for(var Q=w.length;Q--;)if(!w[Q](A,M,U))return!1;return!0}:w[0]}function qs(w,A,M){for(var U=0,Q=A.length;U<Q;U++)Ue(w,A[U],M);return M}function _r(w,A,M,U,Q){for(var ie,le=[],me=0,ue=w.length,Se=A!=null;me<ue;me++)(ie=w[me])&&(!M||M(ie,U,Q))&&(le.push(ie),Se&&A.push(me));return le}function Vr(w,A,M,U,Q,ie){return U&&!U[X]&&(U=Vr(U)),Q&&!Q[X]&&(Q=Vr(Q,ie)),At(function(le,me,ue,Se){var Ce,Te,Ne,ye,ze=[],_t=[],dt=me.length,St=le||qs(A||"*",ue.nodeType?[ue]:ue,[]),Vt=w&&(le||!A)?_r(St,ze,w,ue,Se):St;if(M?(ye=Q||(le?w:dt||U)?[]:me,M(Vt,ye,ue,Se)):ye=Vt,U)for(Ce=_r(ye,_t),U(Ce,[],ue,Se),Te=Ce.length;Te--;)(Ne=Ce[Te])&&(ye[_t[Te]]=!(Vt[_t[Te]]=Ne));if(le){if(Q||w){if(Q){for(Ce=[],Te=ye.length;Te--;)(Ne=ye[Te])&&Ce.push(Vt[Te]=Ne);Q(null,ye=[],Ce,Se)}for(Te=ye.length;Te--;)(Ne=ye[Te])&&(Ce=Q?g.call(le,Ne):ze[Te])>-1&&(le[Ce]=!(me[Ce]=Ne))}}else ye=_r(ye===me?ye.splice(dt,ye.length):ye),Q?Q(null,me,ye,Se):p.apply(me,ye)})}function zr(w){for(var A,M,U,Q=w.length,ie=r.relative[w[0].type],le=ie||r.relative[" "],me=ie?1:0,ue=br(function(Te){return Te===A},le,!0),Se=br(function(Te){return g.call(A,Te)>-1},le,!0),Ce=[function(Te,Ne,ye){var ze=!ie&&(ye||Ne!=s)||((A=Ne).nodeType?ue(Te,Ne,ye):Se(Te,Ne,ye));return A=null,ze}];me<Q;me++)if(M=r.relative[w[me].type])Ce=[br(Ur(Ce),M)];else{if(M=r.filter[w[me].type].apply(null,w[me].matches),M[X]){for(U=++me;U<Q&&!r.relative[w[U].type];U++);return Vr(me>1&&Ur(Ce),me>1&&vr(w.slice(0,me-1).concat({value:w[me-2].type===" "?"*":""})).replace(ge,"$1"),M,me<U&&zr(w.slice(me,U)),U<Q&&zr(w=w.slice(U)),U<Q&&vr(w))}Ce.push(M)}return Ur(Ce)}function Fs(w,A){var M=A.length>0,U=w.length>0,Q=function(ie,le,me,ue,Se){var Ce,Te,Ne,ye=0,ze="0",_t=ie&&[],dt=[],St=s,Vt=ie||U&&r.find.TAG("*",Se),ai=F+=St==null?1:Math.random()||.1,gt=Vt.length;for(Se&&(s=le==b||le||Se);ze!==gt&&(Ce=Vt[ze])!=null;ze++){if(U&&Ce){for(Te=0,!le&&Ce.ownerDocument!=b&&(bn(Ce),me=!T);Ne=w[Te++];)if(Ne(Ce,le||b,me)){p.call(ue,Ce);break}Se&&(F=ai)}M&&((Ce=!Ne&&Ce)&&ye--,ie&&_t.push(Ce))}if(ye+=ze,M&&ze!==ye){for(Te=0;Ne=A[Te++];)Ne(_t,dt,le,me);if(ie){if(ye>0)for(;ze--;)_t[ze]||dt[ze]||(dt[ze]=he.call(ue));dt=_r(dt)}p.apply(ue,dt),Se&&!ie&&dt.length>0&&ye+A.length>1&&l.uniqueSort(ue)}return Se&&(F=ai,s=St),_t};return M?At(Q):Q}function Qr(w,A){var M,U=[],Q=[],ie=ke[w+" "];if(!ie){for(A||(A=mr(w)),M=A.length;M--;)ie=zr(A[M]),ie[X]?U.push(ie):Q.push(ie);ie=ke(w,Fs(Q,U)),ie.selector=w}return ie}function qo(w,A,M,U){var Q,ie,le,me,ue,Se=typeof w=="function"&&w,Ce=!U&&mr(w=Se.selector||w);if(M=M||[],Ce.length===1){if(ie=Ce[0]=Ce[0].slice(0),ie.length>2&&(le=ie[0]).type==="ID"&&A.nodeType===9&&T&&r.relative[ie[1].type]){if(A=(r.find.ID(le.matches[0].replace(on,an),A)||[])[0],A)Se&&(A=A.parentNode);else return M;w=w.slice(ie.shift().value.length)}for(Q=Ut.needsContext.test(w)?0:ie.length;Q--&&(le=ie[Q],!r.relative[me=le.type]);)if((ue=r.find[me])&&(U=ue(le.matches[0].replace(on,an),Br.test(ie[0].type)&&Wr(A.parentNode)||A))){if(ie.splice(Q,1),w=U.length&&vr(ie),!w)return p.apply(M,U),M;break}}return(Se||Qr(w,Ce))(U,A,!T,M,!A||Br.test(w)&&Wr(A.parentNode)||A),M}D.sortStable=X.split("").sort(at).join("")===X,bn(),D.sortDetached=oi(function(w){return w.compareDocumentPosition(b.createElement("fieldset"))&1}),l.find=Ue,l.expr[":"]=l.expr.pseudos,l.unique=l.uniqueSort,Ue.compile=Qr,Ue.select=qo,Ue.setDocument=bn,Ue.escape=l.escapeSelector,Ue.getText=l.text,Ue.isXML=l.isXMLDoc,Ue.selectors=l.expr,Ue.support=l.support,Ue.uniqueSort=l.uniqueSort})();var rt=function(e,r,s){for(var u=[],h=s!==void 0;(e=e[r])&&e.nodeType!==9;)if(e.nodeType===1){if(h&&l(e).is(s))break;u.push(e)}return u},We=function(e,r){for(var s=[];e;e=e.nextSibling)e.nodeType===1&&e!==r&&s.push(e);return s},pe=l.expr.match.needsContext,je=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function De(e,r,s){return I(r)?l.grep(e,function(u,h){return!!r.call(u,h,u)!==s}):r.nodeType?l.grep(e,function(u){return u===r!==s}):typeof r!="string"?l.grep(e,function(u){return g.call(r,u)>-1!==s}):l.filter(r,e,s)}l.filter=function(e,r,s){var u=r[0];return s&&(e=":not("+e+")"),r.length===1&&u.nodeType===1?l.find.matchesSelector(u,e)?[u]:[]:l.find.matches(e,l.grep(r,function(h){return h.nodeType===1}))},l.fn.extend({find:function(e){var r,s,u=this.length,h=this;if(typeof e!="string")return this.pushStack(l(e).filter(function(){for(r=0;r<u;r++)if(l.contains(h[r],this))return!0}));for(s=this.pushStack([]),r=0;r<u;r++)l.find(e,h[r],s);return u>1?l.uniqueSort(s):s},filter:function(e){return this.pushStack(De(this,e||[],!1))},not:function(e){return this.pushStack(De(this,e||[],!0))},is:function(e){return!!De(this,typeof e=="string"&&pe.test(e)?l(e):e||[],!1).length}});var Ge,Je=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,pt=l.fn.init=function(e,r,s){var u,h;if(!e)return this;if(s=s||Ge,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?u=[null,e,null]:u=Je.exec(e),u&&(u[1]||!r))if(u[1]){if(r=r instanceof l?r[0]:r,l.merge(this,l.parseHTML(u[1],r&&r.nodeType?r.ownerDocument||r:H,!0)),je.test(u[1])&&l.isPlainObject(r))for(u in r)I(this[u])?this[u](r[u]):this.attr(u,r[u]);return this}else return h=H.getElementById(u[2]),h&&(this[0]=h,this.length=1),this;else return!r||r.jquery?(r||s).find(e):this.constructor(r).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(I(e))return s.ready!==void 0?s.ready(e):e(l)}return l.makeArray(e,this)};pt.prototype=l.fn,Ge=l(H);var et=/^(?:parents|prev(?:Until|All))/,Qe={children:!0,contents:!0,next:!0,prev:!0};l.fn.extend({has:function(e){var r=l(e,this),s=r.length;return this.filter(function(){for(var u=0;u<s;u++)if(l.contains(this,r[u]))return!0})},closest:function(e,r){var s,u=0,h=this.length,p=[],b=typeof e!="string"&&l(e);if(!pe.test(e)){for(;u<h;u++)for(s=this[u];s&&s!==r;s=s.parentNode)if(s.nodeType<11&&(b?b.index(s)>-1:s.nodeType===1&&l.find.matchesSelector(s,e))){p.push(s);break}}return this.pushStack(p.length>1?l.uniqueSort(p):p)},index:function(e){return e?typeof e=="string"?g.call(l(e),this[0]):g.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,r){return this.pushStack(l.uniqueSort(l.merge(this.get(),l(e,r))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function q(e,r){for(;(e=e[r])&&e.nodeType!==1;);return e}l.each({parent:function(e){var r=e.parentNode;return r&&r.nodeType!==11?r:null},parents:function(e){return rt(e,"parentNode")},parentsUntil:function(e,r,s){return rt(e,"parentNode",s)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return rt(e,"nextSibling")},prevAll:function(e){return rt(e,"previousSibling")},nextUntil:function(e,r,s){return rt(e,"nextSibling",s)},prevUntil:function(e,r,s){return rt(e,"previousSibling",s)},siblings:function(e){return We((e.parentNode||{}).firstChild,e)},children:function(e){return We(e.firstChild)},contents:function(e){return e.contentDocument!=null&&c(e.contentDocument)?e.contentDocument:(G(e,"template")&&(e=e.content||e),l.merge([],e.childNodes))}},function(e,r){l.fn[e]=function(s,u){var h=l.map(this,r,s);return e.slice(-5)!=="Until"&&(u=s),u&&typeof u=="string"&&(h=l.filter(u,h)),this.length>1&&(Qe[e]||l.uniqueSort(h),et.test(e)&&h.reverse()),this.pushStack(h)}});var de=/[^\x20\t\r\n\f]+/g;function Re(e){var r={};return l.each(e.match(de)||[],function(s,u){r[u]=!0}),r}l.Callbacks=function(e){e=typeof e=="string"?Re(e):l.extend({},e);var r,s,u,h,p=[],b=[],S=-1,T=function(){for(h=h||e.once,u=r=!0;b.length;S=-1)for(s=b.shift();++S<p.length;)p[S].apply(s[0],s[1])===!1&&e.stopOnFalse&&(S=p.length,s=!1);e.memory||(s=!1),r=!1,h&&(s?p=[]:p="")},L={add:function(){return p&&(s&&!r&&(S=p.length-1,b.push(s)),function z(X){l.each(X,function(F,Z){I(Z)?(!e.unique||!L.has(Z))&&p.push(Z):Z&&Z.length&&oe(Z)!=="string"&&z(Z)})}(arguments),s&&!r&&T()),this},remove:function(){return l.each(arguments,function(z,X){for(var F;(F=l.inArray(X,p,F))>-1;)p.splice(F,1),F<=S&&S--}),this},has:function(z){return z?l.inArray(z,p)>-1:p.length>0},empty:function(){return p&&(p=[]),this},disable:function(){return h=b=[],p=s="",this},disabled:function(){return!p},lock:function(){return h=b=[],!s&&!r&&(p=s=""),this},locked:function(){return!!h},fireWith:function(z,X){return h||(X=X||[],X=[z,X.slice?X.slice():X],b.push(X),r||T()),this},fire:function(){return L.fireWith(this,arguments),this},fired:function(){return!!u}};return L};function tt(e){return e}function Pe(e){throw e}function xt(e,r,s,u){var h;try{e&&I(h=e.promise)?h.call(e).done(r).fail(s):e&&I(h=e.then)?h.call(e,r,s):r.apply(void 0,[e].slice(u))}catch(p){s.apply(void 0,[p])}}l.extend({Deferred:function(e){var r=[["notify","progress",l.Callbacks("memory"),l.Callbacks("memory"),2],["resolve","done",l.Callbacks("once memory"),l.Callbacks("once memory"),0,"resolved"],["reject","fail",l.Callbacks("once memory"),l.Callbacks("once memory"),1,"rejected"]],s="pending",u={state:function(){return s},always:function(){return h.done(arguments).fail(arguments),this},catch:function(p){return u.then(null,p)},pipe:function(){var p=arguments;return l.Deferred(function(b){l.each(r,function(S,T){var L=I(p[T[4]])&&p[T[4]];h[T[1]](function(){var z=L&&L.apply(this,arguments);z&&I(z.promise)?z.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[T[0]+"With"](this,L?[z]:arguments)})}),p=null}).promise()},then:function(p,b,S){var T=0;function L(z,X,F,Z){return function(){var Ee=this,Le=arguments,ke=function(){var at,Ft;if(!(z<T)){if(at=F.apply(Ee,Le),at===X.promise())throw new TypeError("Thenable self-resolution");Ft=at&&(typeof at=="object"||typeof at=="function")&&at.then,I(Ft)?Z?Ft.call(at,L(T,X,tt,Z),L(T,X,Pe,Z)):(T++,Ft.call(at,L(T,X,tt,Z),L(T,X,Pe,Z),L(T,X,tt,X.notifyWith))):(F!==tt&&(Ee=void 0,Le=[at]),(Z||X.resolveWith)(Ee,Le))}},st=Z?ke:function(){try{ke()}catch(at){l.Deferred.exceptionHook&&l.Deferred.exceptionHook(at,st.error),z+1>=T&&(F!==Pe&&(Ee=void 0,Le=[at]),X.rejectWith(Ee,Le))}};z?st():(l.Deferred.getErrorHook?st.error=l.Deferred.getErrorHook():l.Deferred.getStackHook&&(st.error=l.Deferred.getStackHook()),n.setTimeout(st))}}return l.Deferred(function(z){r[0][3].add(L(0,z,I(S)?S:tt,z.notifyWith)),r[1][3].add(L(0,z,I(p)?p:tt)),r[2][3].add(L(0,z,I(b)?b:Pe))}).promise()},promise:function(p){return p!=null?l.extend(p,u):u}},h={};return l.each(r,function(p,b){var S=b[2],T=b[5];u[b[1]]=S.add,T&&S.add(function(){s=T},r[3-p][2].disable,r[3-p][3].disable,r[0][2].lock,r[0][3].lock),S.add(b[3].fire),h[b[0]]=function(){return h[b[0]+"With"](this===h?void 0:this,arguments),this},h[b[0]+"With"]=S.fireWith}),u.promise(h),e&&e.call(h,h),h},when:function(e){var r=arguments.length,s=r,u=Array(s),h=d.call(arguments),p=l.Deferred(),b=function(S){return function(T){u[S]=this,h[S]=arguments.length>1?d.call(arguments):T,--r||p.resolveWith(u,h)}};if(r<=1&&(xt(e,p.done(b(s)).resolve,p.reject,!r),p.state()==="pending"||I(h[s]&&h[s].then)))return p.then();for(;s--;)xt(h[s],b(s),p.reject);return p.promise()}});var En=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;l.Deferred.exceptionHook=function(e,r){n.console&&n.console.warn&&e&&En.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,r)},l.readyException=function(e){n.setTimeout(function(){throw e})};var un=l.Deferred();l.fn.ready=function(e){return un.then(e).catch(function(r){l.readyException(r)}),this},l.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--l.readyWait:l.isReady)||(l.isReady=!0,!(e!==!0&&--l.readyWait>0)&&un.resolveWith(H,[l]))}}),l.ready.then=un.then;function lt(){H.removeEventListener("DOMContentLoaded",lt),n.removeEventListener("load",lt),l.ready()}H.readyState==="complete"||H.readyState!=="loading"&&!H.documentElement.doScroll?n.setTimeout(l.ready):(H.addEventListener("DOMContentLoaded",lt),n.addEventListener("load",lt));var Et=function(e,r,s,u,h,p,b){var S=0,T=e.length,L=s==null;if(oe(s)==="object"){h=!0;for(S in s)Et(e,r,S,s[S],!0,p,b)}else if(u!==void 0&&(h=!0,I(u)||(b=!0),L&&(b?(r.call(e,u),r=null):(L=r,r=function(z,X,F){return L.call(l(z),F)})),r))for(;S<T;S++)r(e[S],s,b?u:u.call(e[S],S,r(e[S],s)));return h?e:L?r.call(e):T?r(e[0],s):p},Ki=/^-ms-/,Gi=/-([a-z])/g;function yi(e,r){return r.toUpperCase()}function wt(e){return e.replace(Ki,"ms-").replace(Gi,yi)}var Ot=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function Kt(){this.expando=l.expando+Kt.uid++}Kt.uid=1,Kt.prototype={cache:function(e){var r=e[this.expando];return r||(r={},Ot(e)&&(e.nodeType?e[this.expando]=r:Object.defineProperty(e,this.expando,{value:r,configurable:!0}))),r},set:function(e,r,s){var u,h=this.cache(e);if(typeof r=="string")h[wt(r)]=s;else for(u in r)h[wt(u)]=r[u];return h},get:function(e,r){return r===void 0?this.cache(e):e[this.expando]&&e[this.expando][wt(r)]},access:function(e,r,s){return r===void 0||r&&typeof r=="string"&&s===void 0?this.get(e,r):(this.set(e,r,s),s!==void 0?s:r)},remove:function(e,r){var s,u=e[this.expando];if(u!==void 0){if(r!==void 0)for(Array.isArray(r)?r=r.map(wt):(r=wt(r),r=r in u?[r]:r.match(de)||[]),s=r.length;s--;)delete u[r[s]];(r===void 0||l.isEmptyObject(u))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var r=e[this.expando];return r!==void 0&&!l.isEmptyObject(r)}};var ve=new Kt,ut=new Kt,It=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Yn=/[A-Z]/g;function Lr(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:It.test(e)?JSON.parse(e):e}function wi(e,r,s){var u;if(s===void 0&&e.nodeType===1)if(u="data-"+r.replace(Yn,"-$&").toLowerCase(),s=e.getAttribute(u),typeof s=="string"){try{s=Lr(s)}catch{}ut.set(e,r,s)}else s=void 0;return s}l.extend({hasData:function(e){return ut.hasData(e)||ve.hasData(e)},data:function(e,r,s){return ut.access(e,r,s)},removeData:function(e,r){ut.remove(e,r)},_data:function(e,r,s){return ve.access(e,r,s)},_removeData:function(e,r){ve.remove(e,r)}}),l.fn.extend({data:function(e,r){var s,u,h,p=this[0],b=p&&p.attributes;if(e===void 0){if(this.length&&(h=ut.get(p),p.nodeType===1&&!ve.get(p,"hasDataAttrs"))){for(s=b.length;s--;)b[s]&&(u=b[s].name,u.indexOf("data-")===0&&(u=wt(u.slice(5)),wi(p,u,h[u])));ve.set(p,"hasDataAttrs",!0)}return h}return typeof e=="object"?this.each(function(){ut.set(this,e)}):Et(this,function(S){var T;if(p&&S===void 0)return T=ut.get(p,e),T!==void 0||(T=wi(p,e),T!==void 0)?T:void 0;this.each(function(){ut.set(this,e,S)})},null,r,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ut.remove(this,e)})}}),l.extend({queue:function(e,r,s){var u;if(e)return r=(r||"fx")+"queue",u=ve.get(e,r),s&&(!u||Array.isArray(s)?u=ve.access(e,r,l.makeArray(s)):u.push(s)),u||[]},dequeue:function(e,r){r=r||"fx";var s=l.queue(e,r),u=s.length,h=s.shift(),p=l._queueHooks(e,r),b=function(){l.dequeue(e,r)};h==="inprogress"&&(h=s.shift(),u--),h&&(r==="fx"&&s.unshift("inprogress"),delete p.stop,h.call(e,b,p)),!u&&p&&p.empty.fire()},_queueHooks:function(e,r){var s=r+"queueHooks";return ve.get(e,s)||ve.access(e,s,{empty:l.Callbacks("once memory").add(function(){ve.remove(e,[r+"queue",s])})})}}),l.fn.extend({queue:function(e,r){var s=2;return typeof e!="string"&&(r=e,e="fx",s--),arguments.length<s?l.queue(this[0],e):r===void 0?this:this.each(function(){var u=l.queue(this,e,r);l._queueHooks(this,e),e==="fx"&&u[0]!=="inprogress"&&l.dequeue(this,e)})},dequeue:function(e){return this.each(function(){l.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,r){var s,u=1,h=l.Deferred(),p=this,b=this.length,S=function(){--u||h.resolveWith(p,[p])};for(typeof e!="string"&&(r=e,e=void 0),e=e||"fx";b--;)s=ve.get(p[b],e+"queueHooks"),s&&s.empty&&(u++,s.empty.add(S));return S(),h.promise(r)}});var Gt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,jt=new RegExp("^(?:([+-])=|)("+Gt+")([a-z%]*)$","i"),Tt=["Top","Right","Bottom","Left"],Rt=H.documentElement,Jt=function(e){return l.contains(e.ownerDocument,e)},Kn={composed:!0};Rt.getRootNode&&(Jt=function(e){return l.contains(e.ownerDocument,e)||e.getRootNode(Kn)===e.ownerDocument});var Tn=function(e,r){return e=r||e,e.style.display==="none"||e.style.display===""&&Jt(e)&&l.css(e,"display")==="none"};function Gn(e,r,s,u){var h,p,b=20,S=u?function(){return u.cur()}:function(){return l.css(e,r,"")},T=S(),L=s&&s[3]||(l.cssNumber[r]?"":"px"),z=e.nodeType&&(l.cssNumber[r]||L!=="px"&&+T)&&jt.exec(l.css(e,r));if(z&&z[3]!==L){for(T=T/2,L=L||z[3],z=+T||1;b--;)l.style(e,r,z+L),(1-p)*(1-(p=S()/T||.5))<=0&&(b=0),z=z/p;z=z*2,l.style(e,r,z+L),s=s||[]}return s&&(z=+z||+T||0,h=s[1]?z+(s[1]+1)*s[2]:+s[2],u&&(u.unit=L,u.start=z,u.end=h)),h}var Ci={};function Ji(e){var r,s=e.ownerDocument,u=e.nodeName,h=Ci[u];return h||(r=s.body.appendChild(s.createElement(u)),h=l.css(r,"display"),r.parentNode.removeChild(r),h==="none"&&(h="block"),Ci[u]=h,h)}function Zt(e,r){for(var s,u,h=[],p=0,b=e.length;p<b;p++)u=e[p],u.style&&(s=u.style.display,r?(s==="none"&&(h[p]=ve.get(u,"display")||null,h[p]||(u.style.display="")),u.style.display===""&&Tn(u)&&(h[p]=Ji(u))):s!=="none"&&(h[p]="none",ve.set(u,"display",s)));for(p=0;p<b;p++)h[p]!=null&&(e[p].style.display=h[p]);return e}l.fn.extend({show:function(){return Zt(this,!0)},hide:function(){return Zt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Tn(this)?l(this).show():l(this).hide()})}});var $t=/^(?:checkbox|radio)$/i,Zi=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,fn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=H.createDocumentFragment(),r=e.appendChild(H.createElement("div")),s=H.createElement("input");s.setAttribute("type","radio"),s.setAttribute("checked","checked"),s.setAttribute("name","t"),r.appendChild(s),D.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,r.innerHTML="<textarea>x</textarea>",D.noCloneChecked=!!r.cloneNode(!0).lastChild.defaultValue,r.innerHTML="<option></option>",D.option=!!r.lastChild})();var vt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};vt.tbody=vt.tfoot=vt.colgroup=vt.caption=vt.thead,vt.th=vt.td,D.option||(vt.optgroup=vt.option=[1,"<select multiple='multiple'>","</select>"]);function ft(e,r){var s;return typeof e.getElementsByTagName<"u"?s=e.getElementsByTagName(r||"*"):typeof e.querySelectorAll<"u"?s=e.querySelectorAll(r||"*"):s=[],r===void 0||r&&G(e,r)?l.merge([e],s):s}function Ei(e,r){for(var s=0,u=e.length;s<u;s++)ve.set(e[s],"globalEval",!r||ve.get(r[s],"globalEval"))}var $i=/<|&#?\w+;/;function Ti(e,r,s,u,h){for(var p,b,S,T,L,z,X=r.createDocumentFragment(),F=[],Z=0,Ee=e.length;Z<Ee;Z++)if(p=e[Z],p||p===0)if(oe(p)==="object")l.merge(F,p.nodeType?[p]:p);else if(!$i.test(p))F.push(r.createTextNode(p));else{for(b=b||X.appendChild(r.createElement("div")),S=(Zi.exec(p)||["",""])[1].toLowerCase(),T=vt[S]||vt._default,b.innerHTML=T[1]+l.htmlPrefilter(p)+T[2],z=T[0];z--;)b=b.lastChild;l.merge(F,b.childNodes),b=X.firstChild,b.textContent=""}for(X.textContent="",Z=0;p=F[Z++];){if(u&&l.inArray(p,u)>-1){h&&h.push(p);continue}if(L=Jt(p),b=ft(X.appendChild(p),"script"),L&&Ei(b),s)for(z=0;p=b[z++];)fn.test(p.type||"")&&s.push(p)}return X}var Jn=/^([^.]*)(?:\.(.+)|)/;function cn(){return!0}function dn(){return!1}function ki(e,r,s,u,h,p){var b,S;if(typeof r=="object"){typeof s!="string"&&(u=u||s,s=void 0);for(S in r)ki(e,S,s,u,r[S],p);return e}if(u==null&&h==null?(h=s,u=s=void 0):h==null&&(typeof s=="string"?(h=u,u=void 0):(h=u,u=s,s=void 0)),h===!1)h=dn;else if(!h)return e;return p===1&&(b=h,h=function(T){return l().off(T),b.apply(this,arguments)},h.guid=b.guid||(b.guid=l.guid++)),e.each(function(){l.event.add(this,r,h,u,s)})}l.event={global:{},add:function(e,r,s,u,h){var p,b,S,T,L,z,X,F,Z,Ee,Le,ke=ve.get(e);if(Ot(e))for(s.handler&&(p=s,s=p.handler,h=p.selector),h&&l.find.matchesSelector(Rt,h),s.guid||(s.guid=l.guid++),(T=ke.events)||(T=ke.events=Object.create(null)),(b=ke.handle)||(b=ke.handle=function(st){return typeof l<"u"&&l.event.triggered!==st.type?l.event.dispatch.apply(e,arguments):void 0}),r=(r||"").match(de)||[""],L=r.length;L--;)S=Jn.exec(r[L])||[],Z=Le=S[1],Ee=(S[2]||"").split(".").sort(),Z&&(X=l.event.special[Z]||{},Z=(h?X.delegateType:X.bindType)||Z,X=l.event.special[Z]||{},z=l.extend({type:Z,origType:Le,data:u,handler:s,guid:s.guid,selector:h,needsContext:h&&l.expr.match.needsContext.test(h),namespace:Ee.join(".")},p),(F=T[Z])||(F=T[Z]=[],F.delegateCount=0,(!X.setup||X.setup.call(e,u,Ee,b)===!1)&&e.addEventListener&&e.addEventListener(Z,b)),X.add&&(X.add.call(e,z),z.handler.guid||(z.handler.guid=s.guid)),h?F.splice(F.delegateCount++,0,z):F.push(z),l.event.global[Z]=!0)},remove:function(e,r,s,u,h){var p,b,S,T,L,z,X,F,Z,Ee,Le,ke=ve.hasData(e)&&ve.get(e);if(!(!ke||!(T=ke.events))){for(r=(r||"").match(de)||[""],L=r.length;L--;){if(S=Jn.exec(r[L])||[],Z=Le=S[1],Ee=(S[2]||"").split(".").sort(),!Z){for(Z in T)l.event.remove(e,Z+r[L],s,u,!0);continue}for(X=l.event.special[Z]||{},Z=(u?X.delegateType:X.bindType)||Z,F=T[Z]||[],S=S[2]&&new RegExp("(^|\\.)"+Ee.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=p=F.length;p--;)z=F[p],(h||Le===z.origType)&&(!s||s.guid===z.guid)&&(!S||S.test(z.namespace))&&(!u||u===z.selector||u==="**"&&z.selector)&&(F.splice(p,1),z.selector&&F.delegateCount--,X.remove&&X.remove.call(e,z));b&&!F.length&&((!X.teardown||X.teardown.call(e,Ee,ke.handle)===!1)&&l.removeEvent(e,Z,ke.handle),delete T[Z])}l.isEmptyObject(T)&&ve.remove(e,"handle events")}},dispatch:function(e){var r,s,u,h,p,b,S=new Array(arguments.length),T=l.event.fix(e),L=(ve.get(this,"events")||Object.create(null))[T.type]||[],z=l.event.special[T.type]||{};for(S[0]=T,r=1;r<arguments.length;r++)S[r]=arguments[r];if(T.delegateTarget=this,!(z.preDispatch&&z.preDispatch.call(this,T)===!1)){for(b=l.event.handlers.call(this,T,L),r=0;(h=b[r++])&&!T.isPropagationStopped();)for(T.currentTarget=h.elem,s=0;(p=h.handlers[s++])&&!T.isImmediatePropagationStopped();)(!T.rnamespace||p.namespace===!1||T.rnamespace.test(p.namespace))&&(T.handleObj=p,T.data=p.data,u=((l.event.special[p.origType]||{}).handle||p.handler).apply(h.elem,S),u!==void 0&&(T.result=u)===!1&&(T.preventDefault(),T.stopPropagation()));return z.postDispatch&&z.postDispatch.call(this,T),T.result}},handlers:function(e,r){var s,u,h,p,b,S=[],T=r.delegateCount,L=e.target;if(T&&L.nodeType&&!(e.type==="click"&&e.button>=1)){for(;L!==this;L=L.parentNode||this)if(L.nodeType===1&&!(e.type==="click"&&L.disabled===!0)){for(p=[],b={},s=0;s<T;s++)u=r[s],h=u.selector+" ",b[h]===void 0&&(b[h]=u.needsContext?l(h,this).index(L)>-1:l.find(h,this,null,[L]).length),b[h]&&p.push(u);p.length&&S.push({elem:L,handlers:p})}}return L=this,T<r.length&&S.push({elem:L,handlers:r.slice(T)}),S},addProp:function(e,r){Object.defineProperty(l.Event.prototype,e,{enumerable:!0,configurable:!0,get:I(r)?function(){if(this.originalEvent)return r(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(s){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:s})}})},fix:function(e){return e[l.expando]?e:new l.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var r=this||e;return $t.test(r.type)&&r.click&&G(r,"input")&&en(r,"click",!0),!1},trigger:function(e){var r=this||e;return $t.test(r.type)&&r.click&&G(r,"input")&&en(r,"click"),!0},_default:function(e){var r=e.target;return $t.test(r.type)&&r.click&&G(r,"input")&&ve.get(r,"click")||G(r,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function en(e,r,s){if(!s){ve.get(e,r)===void 0&&l.event.add(e,r,cn);return}ve.set(e,r,!1),l.event.add(e,r,{namespace:!1,handler:function(u){var h,p=ve.get(this,r);if(u.isTrigger&1&&this[r]){if(p)(l.event.special[r]||{}).delegateType&&u.stopPropagation();else if(p=d.call(arguments),ve.set(this,r,p),this[r](),h=ve.get(this,r),ve.set(this,r,!1),p!==h)return u.stopImmediatePropagation(),u.preventDefault(),h}else p&&(ve.set(this,r,l.event.trigger(p[0],p.slice(1),this)),u.stopPropagation(),u.isImmediatePropagationStopped=cn)}})}l.removeEvent=function(e,r,s){e.removeEventListener&&e.removeEventListener(r,s)},l.Event=function(e,r){if(!(this instanceof l.Event))return new l.Event(e,r);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?cn:dn,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,r&&l.extend(this,r),this.timeStamp=e&&e.timeStamp||Date.now(),this[l.expando]=!0},l.Event.prototype={constructor:l.Event,isDefaultPrevented:dn,isPropagationStopped:dn,isImmediatePropagationStopped:dn,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=cn,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=cn,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=cn,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},l.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},l.event.addProp),l.each({focus:"focusin",blur:"focusout"},function(e,r){function s(u){if(H.documentMode){var h=ve.get(this,"handle"),p=l.event.fix(u);p.type=u.type==="focusin"?"focus":"blur",p.isSimulated=!0,h(u),p.target===p.currentTarget&&h(p)}else l.event.simulate(r,u.target,l.event.fix(u))}l.event.special[e]={setup:function(){var u;if(en(this,e,!0),H.documentMode)u=ve.get(this,r),u||this.addEventListener(r,s),ve.set(this,r,(u||0)+1);else return!1},trigger:function(){return en(this,e),!0},teardown:function(){var u;if(H.documentMode)u=ve.get(this,r)-1,u?ve.set(this,r,u):(this.removeEventListener(r,s),ve.remove(this,r));else return!1},_default:function(u){return ve.get(u.target,e)},delegateType:r},l.event.special[r]={setup:function(){var u=this.ownerDocument||this.document||this,h=H.documentMode?this:u,p=ve.get(h,r);p||(H.documentMode?this.addEventListener(r,s):u.addEventListener(e,s,!0)),ve.set(h,r,(p||0)+1)},teardown:function(){var u=this.ownerDocument||this.document||this,h=H.documentMode?this:u,p=ve.get(h,r)-1;p?ve.set(h,r,p):(H.documentMode?this.removeEventListener(r,s):u.removeEventListener(e,s,!0),ve.remove(h,r))}}}),l.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){l.event.special[e]={delegateType:r,bindType:r,handle:function(s){var u,h=this,p=s.relatedTarget,b=s.handleObj;return(!p||p!==h&&!l.contains(h,p))&&(s.type=b.origType,u=b.handler.apply(this,arguments),s.type=r),u}}}),l.fn.extend({on:function(e,r,s,u){return ki(this,e,r,s,u)},one:function(e,r,s,u){return ki(this,e,r,s,u,1)},off:function(e,r,s){var u,h;if(e&&e.preventDefault&&e.handleObj)return u=e.handleObj,l(e.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof e=="object"){for(h in e)this.off(h,r,e[h]);return this}return(r===!1||typeof r=="function")&&(s=r,r=void 0),s===!1&&(s=dn),this.each(function(){l.event.remove(this,e,s,r)})}});var Zn=/<script|<style|<link/i,kn=/checked\s*(?:[^=]|=\s*.checked.)/i,Si=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Sn(e,r){return G(e,"table")&&G(r.nodeType!==11?r:r.firstChild,"tr")&&l(e).children("tbody")[0]||e}function er(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function Pr(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function tr(e,r){var s,u,h,p,b,S,T;if(r.nodeType===1){if(ve.hasData(e)&&(p=ve.get(e),T=p.events,T)){ve.remove(r,"handle events");for(h in T)for(s=0,u=T[h].length;s<u;s++)l.event.add(r,h,T[h][s])}ut.hasData(e)&&(b=ut.access(e),S=l.extend({},b),ut.set(r,S))}}function Or(e,r){var s=r.nodeName.toLowerCase();s==="input"&&$t.test(e.type)?r.checked=e.checked:(s==="input"||s==="textarea")&&(r.defaultValue=e.defaultValue)}function hn(e,r,s,u){r=o(r);var h,p,b,S,T,L,z=0,X=e.length,F=X-1,Z=r[0],Ee=I(Z);if(Ee||X>1&&typeof Z=="string"&&!D.checkClone&&kn.test(Z))return e.each(function(Le){var ke=e.eq(Le);Ee&&(r[0]=Z.call(this,Le,ke.html())),hn(ke,r,s,u)});if(X&&(h=Ti(r,e[0].ownerDocument,!1,e,u),p=h.firstChild,h.childNodes.length===1&&(h=p),p||u)){for(b=l.map(ft(h,"script"),er),S=b.length;z<X;z++)T=h,z!==F&&(T=l.clone(T,!0,!0),S&&l.merge(b,ft(T,"script"))),s.call(e[z],T,z);if(S)for(L=b[b.length-1].ownerDocument,l.map(b,Pr),z=0;z<S;z++)T=b[z],fn.test(T.type||"")&&!ve.access(T,"globalEval")&&l.contains(L,T)&&(T.src&&(T.type||"").toLowerCase()!=="module"?l._evalUrl&&!T.noModule&&l._evalUrl(T.src,{nonce:T.nonce||T.getAttribute("nonce")},L):J(T.textContent.replace(Si,""),T,L))}return e}function Ht(e,r,s){for(var u,h=r?l.filter(r,e):e,p=0;(u=h[p])!=null;p++)!s&&u.nodeType===1&&l.cleanData(ft(u)),u.parentNode&&(s&&Jt(u)&&Ei(ft(u,"script")),u.parentNode.removeChild(u));return e}l.extend({htmlPrefilter:function(e){return e},clone:function(e,r,s){var u,h,p,b,S=e.cloneNode(!0),T=Jt(e);if(!D.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!l.isXMLDoc(e))for(b=ft(S),p=ft(e),u=0,h=p.length;u<h;u++)Or(p[u],b[u]);if(r)if(s)for(p=p||ft(e),b=b||ft(S),u=0,h=p.length;u<h;u++)tr(p[u],b[u]);else tr(e,S);return b=ft(S,"script"),b.length>0&&Ei(b,!T&&ft(e,"script")),S},cleanData:function(e){for(var r,s,u,h=l.event.special,p=0;(s=e[p])!==void 0;p++)if(Ot(s)){if(r=s[ve.expando]){if(r.events)for(u in r.events)h[u]?l.event.remove(s,u):l.removeEvent(s,u,r.handle);s[ve.expando]=void 0}s[ut.expando]&&(s[ut.expando]=void 0)}}}),l.fn.extend({detach:function(e){return Ht(this,e,!0)},remove:function(e){return Ht(this,e)},text:function(e){return Et(this,function(r){return r===void 0?l.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=r)})},null,e,arguments.length)},append:function(){return hn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var r=Sn(this,e);r.appendChild(e)}})},prepend:function(){return hn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var r=Sn(this,e);r.insertBefore(e,r.firstChild)}})},before:function(){return hn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return hn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,r=0;(e=this[r])!=null;r++)e.nodeType===1&&(l.cleanData(ft(e,!1)),e.textContent="");return this},clone:function(e,r){return e=e??!1,r=r??e,this.map(function(){return l.clone(this,e,r)})},html:function(e){return Et(this,function(r){var s=this[0]||{},u=0,h=this.length;if(r===void 0&&s.nodeType===1)return s.innerHTML;if(typeof r=="string"&&!Zn.test(r)&&!vt[(Zi.exec(r)||["",""])[1].toLowerCase()]){r=l.htmlPrefilter(r);try{for(;u<h;u++)s=this[u]||{},s.nodeType===1&&(l.cleanData(ft(s,!1)),s.innerHTML=r);s=0}catch{}}s&&this.empty().append(r)},null,e,arguments.length)},replaceWith:function(){var e=[];return hn(this,arguments,function(r){var s=this.parentNode;l.inArray(this,e)<0&&(l.cleanData(ft(this)),s&&s.replaceChild(r,this))},e)}}),l.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,r){l.fn[e]=function(s){for(var u,h=[],p=l(s),b=p.length-1,S=0;S<=b;S++)u=S===b?this:this.clone(!0),l(p[S])[r](u),v.apply(h,u.get());return this.pushStack(h)}});var Nn=new RegExp("^("+Gt+")(?!px)[a-z%]+$","i"),Ni=/^--/,$n=function(e){var r=e.ownerDocument.defaultView;return(!r||!r.opener)&&(r=n),r.getComputedStyle(e)},nr=function(e,r,s){var u,h,p={};for(h in r)p[h]=e.style[h],e.style[h]=r[h];u=s.call(e);for(h in r)e.style[h]=p[h];return u},Ir=new RegExp(Tt.join("|"),"i");(function(){function e(){if(L){T.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",L.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Rt.appendChild(T).appendChild(L);var z=n.getComputedStyle(L);s=z.top!=="1%",S=r(z.marginLeft)===12,L.style.right="60%",p=r(z.right)===36,u=r(z.width)===36,L.style.position="absolute",h=r(L.offsetWidth/3)===12,Rt.removeChild(T),L=null}}function r(z){return Math.round(parseFloat(z))}var s,u,h,p,b,S,T=H.createElement("div"),L=H.createElement("div");L.style&&(L.style.backgroundClip="content-box",L.cloneNode(!0).style.backgroundClip="",D.clearCloneStyle=L.style.backgroundClip==="content-box",l.extend(D,{boxSizingReliable:function(){return e(),u},pixelBoxStyles:function(){return e(),p},pixelPosition:function(){return e(),s},reliableMarginLeft:function(){return e(),S},scrollboxSize:function(){return e(),h},reliableTrDimensions:function(){var z,X,F,Z;return b==null&&(z=H.createElement("table"),X=H.createElement("tr"),F=H.createElement("div"),z.style.cssText="position:absolute;left:-11111px;border-collapse:separate",X.style.cssText="border:1px solid",X.style.height="1px",F.style.height="9px",F.style.display="block",Rt.appendChild(z).appendChild(X).appendChild(F),Z=n.getComputedStyle(X),b=parseInt(Z.height,10)+parseInt(Z.borderTopWidth,10)+parseInt(Z.borderBottomWidth,10)===X.offsetHeight,Rt.removeChild(z)),b}}))})();function xn(e,r,s){var u,h,p,b,S=Ni.test(r),T=e.style;return s=s||$n(e),s&&(b=s.getPropertyValue(r)||s[r],S&&b&&(b=b.replace(ge,"$1")||void 0),b===""&&!Jt(e)&&(b=l.style(e,r)),!D.pixelBoxStyles()&&Nn.test(b)&&Ir.test(r)&&(u=T.width,h=T.minWidth,p=T.maxWidth,T.minWidth=T.maxWidth=T.width=b,b=s.width,T.width=u,T.minWidth=h,T.maxWidth=p)),b!==void 0?b+"":b}function An(e,r){return{get:function(){if(e()){delete this.get;return}return(this.get=r).apply(this,arguments)}}}var Mt=["Webkit","Moz","ms"],ei=H.createElement("div").style,ir={};function tn(e){for(var r=e[0].toUpperCase()+e.slice(1),s=Mt.length;s--;)if(e=Mt[s]+r,e in ei)return e}function ti(e){var r=l.cssProps[e]||ir[e];return r||(e in ei?e:ir[e]=tn(e)||e)}var rr=/^(none|table(?!-c[ea]).+)/,or={position:"absolute",visibility:"hidden",display:"block"},ar={letterSpacing:"0",fontWeight:"400"};function pn(e,r,s){var u=jt.exec(r);return u?Math.max(0,u[2]-(s||0))+(u[3]||"px"):r}function Dn(e,r,s,u,h,p){var b=r==="width"?1:0,S=0,T=0,L=0;if(s===(u?"border":"content"))return 0;for(;b<4;b+=2)s==="margin"&&(L+=l.css(e,s+Tt[b],!0,h)),u?(s==="content"&&(T-=l.css(e,"padding"+Tt[b],!0,h)),s!=="margin"&&(T-=l.css(e,"border"+Tt[b]+"Width",!0,h))):(T+=l.css(e,"padding"+Tt[b],!0,h),s!=="padding"?T+=l.css(e,"border"+Tt[b]+"Width",!0,h):S+=l.css(e,"border"+Tt[b]+"Width",!0,h));return!u&&p>=0&&(T+=Math.max(0,Math.ceil(e["offset"+r[0].toUpperCase()+r.slice(1)]-p-T-S-.5))||0),T+L}function sr(e,r,s){var u=$n(e),h=!D.boxSizingReliable()||s,p=h&&l.css(e,"boxSizing",!1,u)==="border-box",b=p,S=xn(e,r,u),T="offset"+r[0].toUpperCase()+r.slice(1);if(Nn.test(S)){if(!s)return S;S="auto"}return(!D.boxSizingReliable()&&p||!D.reliableTrDimensions()&&G(e,"tr")||S==="auto"||!parseFloat(S)&&l.css(e,"display",!1,u)==="inline")&&e.getClientRects().length&&(p=l.css(e,"boxSizing",!1,u)==="border-box",b=T in e,b&&(S=e[T])),S=parseFloat(S)||0,S+Dn(e,r,s||(p?"border":"content"),b,u,S)+"px"}l.extend({cssHooks:{opacity:{get:function(e,r){if(r){var s=xn(e,"opacity");return s===""?"1":s}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,r,s,u){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var h,p,b,S=wt(r),T=Ni.test(r),L=e.style;if(T||(r=ti(S)),b=l.cssHooks[r]||l.cssHooks[S],s!==void 0){if(p=typeof s,p==="string"&&(h=jt.exec(s))&&h[1]&&(s=Gn(e,r,h),p="number"),s==null||s!==s)return;p==="number"&&!T&&(s+=h&&h[3]||(l.cssNumber[S]?"":"px")),!D.clearCloneStyle&&s===""&&r.indexOf("background")===0&&(L[r]="inherit"),(!b||!("set"in b)||(s=b.set(e,s,u))!==void 0)&&(T?L.setProperty(r,s):L[r]=s)}else return b&&"get"in b&&(h=b.get(e,!1,u))!==void 0?h:L[r]}},css:function(e,r,s,u){var h,p,b,S=wt(r),T=Ni.test(r);return T||(r=ti(S)),b=l.cssHooks[r]||l.cssHooks[S],b&&"get"in b&&(h=b.get(e,!0,s)),h===void 0&&(h=xn(e,r,u)),h==="normal"&&r in ar&&(h=ar[r]),s===""||s?(p=parseFloat(h),s===!0||isFinite(p)?p||0:h):h}}),l.each(["height","width"],function(e,r){l.cssHooks[r]={get:function(s,u,h){if(u)return rr.test(l.css(s,"display"))&&(!s.getClientRects().length||!s.getBoundingClientRect().width)?nr(s,or,function(){return sr(s,r,h)}):sr(s,r,h)},set:function(s,u,h){var p,b=$n(s),S=!D.scrollboxSize()&&b.position==="absolute",T=S||h,L=T&&l.css(s,"boxSizing",!1,b)==="border-box",z=h?Dn(s,r,h,L,b):0;return L&&S&&(z-=Math.ceil(s["offset"+r[0].toUpperCase()+r.slice(1)]-parseFloat(b[r])-Dn(s,r,"border",!1,b)-.5)),z&&(p=jt.exec(u))&&(p[3]||"px")!=="px"&&(s.style[r]=u,u=l.css(s,r)),pn(s,u,z)}}}),l.cssHooks.marginLeft=An(D.reliableMarginLeft,function(e,r){if(r)return(parseFloat(xn(e,"marginLeft"))||e.getBoundingClientRect().left-nr(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),l.each({margin:"",padding:"",border:"Width"},function(e,r){l.cssHooks[e+r]={expand:function(s){for(var u=0,h={},p=typeof s=="string"?s.split(" "):[s];u<4;u++)h[e+Tt[u]+r]=p[u]||p[u-2]||p[0];return h}},e!=="margin"&&(l.cssHooks[e+r].set=pn)}),l.fn.extend({css:function(e,r){return Et(this,function(s,u,h){var p,b,S={},T=0;if(Array.isArray(u)){for(p=$n(s),b=u.length;T<b;T++)S[u[T]]=l.css(s,u[T],!1,p);return S}return h!==void 0?l.style(s,u,h):l.css(s,u)},e,r,arguments.length>1)}});function ot(e,r,s,u,h){return new ot.prototype.init(e,r,s,u,h)}l.Tween=ot,ot.prototype={constructor:ot,init:function(e,r,s,u,h,p){this.elem=e,this.prop=s,this.easing=h||l.easing._default,this.options=r,this.start=this.now=this.cur(),this.end=u,this.unit=p||(l.cssNumber[s]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var r,s=ot.propHooks[this.prop];return this.options.duration?this.pos=r=l.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=r=e,this.now=(this.end-this.start)*r+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),s&&s.set?s.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(e){var r;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(r=l.css(e.elem,e.prop,""),!r||r==="auto"?0:r)},set:function(e){l.fx.step[e.prop]?l.fx.step[e.prop](e):e.elem.nodeType===1&&(l.cssHooks[e.prop]||e.elem.style[ti(e.prop)]!=null)?l.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},l.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},l.fx=ot.prototype.init,l.fx.step={};var nn,Ln,lr=/^(?:toggle|show|hide)$/,ur=/queueHooks$/;function rn(){Ln&&(H.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(rn):n.setTimeout(rn,l.fx.interval),l.fx.tick())}function ni(){return n.setTimeout(function(){nn=void 0}),nn=Date.now()}function ii(e,r){var s,u=0,h={height:e};for(r=r?1:0;u<4;u+=2-r)s=Tt[u],h["margin"+s]=h["padding"+s]=e;return r&&(h.opacity=h.width=e),h}function xi(e,r,s){for(var u,h=(bt.tweeners[r]||[]).concat(bt.tweeners["*"]),p=0,b=h.length;p<b;p++)if(u=h[p].call(s,r,e))return u}function Pn(e,r,s){var u,h,p,b,S,T,L,z,X="width"in r||"height"in r,F=this,Z={},Ee=e.style,Le=e.nodeType&&Tn(e),ke=ve.get(e,"fxshow");s.queue||(b=l._queueHooks(e,"fx"),b.unqueued==null&&(b.unqueued=0,S=b.empty.fire,b.empty.fire=function(){b.unqueued||S()}),b.unqueued++,F.always(function(){F.always(function(){b.unqueued--,l.queue(e,"fx").length||b.empty.fire()})}));for(u in r)if(h=r[u],lr.test(h)){if(delete r[u],p=p||h==="toggle",h===(Le?"hide":"show"))if(h==="show"&&ke&&ke[u]!==void 0)Le=!0;else continue;Z[u]=ke&&ke[u]||l.style(e,u)}if(T=!l.isEmptyObject(r),!(!T&&l.isEmptyObject(Z))){X&&e.nodeType===1&&(s.overflow=[Ee.overflow,Ee.overflowX,Ee.overflowY],L=ke&&ke.display,L==null&&(L=ve.get(e,"display")),z=l.css(e,"display"),z==="none"&&(L?z=L:(Zt([e],!0),L=e.style.display||L,z=l.css(e,"display"),Zt([e]))),(z==="inline"||z==="inline-block"&&L!=null)&&l.css(e,"float")==="none"&&(T||(F.done(function(){Ee.display=L}),L==null&&(z=Ee.display,L=z==="none"?"":z)),Ee.display="inline-block")),s.overflow&&(Ee.overflow="hidden",F.always(function(){Ee.overflow=s.overflow[0],Ee.overflowX=s.overflow[1],Ee.overflowY=s.overflow[2]})),T=!1;for(u in Z)T||(ke?"hidden"in ke&&(Le=ke.hidden):ke=ve.access(e,"fxshow",{display:L}),p&&(ke.hidden=!Le),Le&&Zt([e],!0),F.done(function(){Le||Zt([e]),ve.remove(e,"fxshow");for(u in Z)l.style(e,u,Z[u])})),T=xi(Le?ke[u]:0,u,F),u in ke||(ke[u]=T.start,Le&&(T.end=T.start,T.start=0))}}function fr(e,r){var s,u,h,p,b;for(s in e)if(u=wt(s),h=r[u],p=e[s],Array.isArray(p)&&(h=p[1],p=e[s]=p[0]),s!==u&&(e[u]=p,delete e[s]),b=l.cssHooks[u],b&&"expand"in b){p=b.expand(p),delete e[u];for(s in p)s in e||(e[s]=p[s],r[s]=h)}else r[u]=h}function bt(e,r,s){var u,h,p=0,b=bt.prefilters.length,S=l.Deferred().always(function(){delete T.elem}),T=function(){if(h)return!1;for(var X=nn||ni(),F=Math.max(0,L.startTime+L.duration-X),Z=F/L.duration||0,Ee=1-Z,Le=0,ke=L.tweens.length;Le<ke;Le++)L.tweens[Le].run(Ee);return S.notifyWith(e,[L,Ee,F]),Ee<1&&ke?F:(ke||S.notifyWith(e,[L,1,0]),S.resolveWith(e,[L]),!1)},L=S.promise({elem:e,props:l.extend({},r),opts:l.extend(!0,{specialEasing:{},easing:l.easing._default},s),originalProperties:r,originalOptions:s,startTime:nn||ni(),duration:s.duration,tweens:[],createTween:function(X,F){var Z=l.Tween(e,L.opts,X,F,L.opts.specialEasing[X]||L.opts.easing);return L.tweens.push(Z),Z},stop:function(X){var F=0,Z=X?L.tweens.length:0;if(h)return this;for(h=!0;F<Z;F++)L.tweens[F].run(1);return X?(S.notifyWith(e,[L,1,0]),S.resolveWith(e,[L,X])):S.rejectWith(e,[L,X]),this}}),z=L.props;for(fr(z,L.opts.specialEasing);p<b;p++)if(u=bt.prefilters[p].call(L,e,z,L.opts),u)return I(u.stop)&&(l._queueHooks(L.elem,L.opts.queue).stop=u.stop.bind(u)),u;return l.map(z,xi,L),I(L.opts.start)&&L.opts.start.call(e,L),L.progress(L.opts.progress).done(L.opts.done,L.opts.complete).fail(L.opts.fail).always(L.opts.always),l.fx.timer(l.extend(T,{elem:e,anim:L,queue:L.opts.queue})),L}l.Animation=l.extend(bt,{tweeners:{"*":[function(e,r){var s=this.createTween(e,r);return Gn(s.elem,e,jt.exec(r),s),s}]},tweener:function(e,r){I(e)?(r=e,e=["*"]):e=e.match(de);for(var s,u=0,h=e.length;u<h;u++)s=e[u],bt.tweeners[s]=bt.tweeners[s]||[],bt.tweeners[s].unshift(r)},prefilters:[Pn],prefilter:function(e,r){r?bt.prefilters.unshift(e):bt.prefilters.push(e)}}),l.speed=function(e,r,s){var u=e&&typeof e=="object"?l.extend({},e):{complete:s||!s&&r||I(e)&&e,duration:e,easing:s&&r||r&&!I(r)&&r};return l.fx.off?u.duration=0:typeof u.duration!="number"&&(u.duration in l.fx.speeds?u.duration=l.fx.speeds[u.duration]:u.duration=l.fx.speeds._default),(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){I(u.old)&&u.old.call(this),u.queue&&l.dequeue(this,u.queue)},u},l.fn.extend({fadeTo:function(e,r,s,u){return this.filter(Tn).css("opacity",0).show().end().animate({opacity:r},e,s,u)},animate:function(e,r,s,u){var h=l.isEmptyObject(e),p=l.speed(r,s,u),b=function(){var S=bt(this,l.extend({},e),p);(h||ve.get(this,"finish"))&&S.stop(!0)};return b.finish=b,h||p.queue===!1?this.each(b):this.queue(p.queue,b)},stop:function(e,r,s){var u=function(h){var p=h.stop;delete h.stop,p(s)};return typeof e!="string"&&(s=r,r=e,e=void 0),r&&this.queue(e||"fx",[]),this.each(function(){var h=!0,p=e!=null&&e+"queueHooks",b=l.timers,S=ve.get(this);if(p)S[p]&&S[p].stop&&u(S[p]);else for(p in S)S[p]&&S[p].stop&&ur.test(p)&&u(S[p]);for(p=b.length;p--;)b[p].elem===this&&(e==null||b[p].queue===e)&&(b[p].anim.stop(s),h=!1,b.splice(p,1));(h||!s)&&l.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var r,s=ve.get(this),u=s[e+"queue"],h=s[e+"queueHooks"],p=l.timers,b=u?u.length:0;for(s.finish=!0,l.queue(this,e,[]),h&&h.stop&&h.stop.call(this,!0),r=p.length;r--;)p[r].elem===this&&p[r].queue===e&&(p[r].anim.stop(!0),p.splice(r,1));for(r=0;r<b;r++)u[r]&&u[r].finish&&u[r].finish.call(this);delete s.finish})}}),l.each(["toggle","show","hide"],function(e,r){var s=l.fn[r];l.fn[r]=function(u,h,p){return u==null||typeof u=="boolean"?s.apply(this,arguments):this.animate(ii(r,!0),u,h,p)}}),l.each({slideDown:ii("show"),slideUp:ii("hide"),slideToggle:ii("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){l.fn[e]=function(s,u,h){return this.animate(r,s,u,h)}}),l.timers=[],l.fx.tick=function(){var e,r=0,s=l.timers;for(nn=Date.now();r<s.length;r++)e=s[r],!e()&&s[r]===e&&s.splice(r--,1);s.length||l.fx.stop(),nn=void 0},l.fx.timer=function(e){l.timers.push(e),l.fx.start()},l.fx.interval=13,l.fx.start=function(){Ln||(Ln=!0,rn())},l.fx.stop=function(){Ln=null},l.fx.speeds={slow:600,fast:200,_default:400},l.fn.delay=function(e,r){return e=l.fx&&l.fx.speeds[e]||e,r=r||"fx",this.queue(r,function(s,u){var h=n.setTimeout(s,e);u.stop=function(){n.clearTimeout(h)}})},function(){var e=H.createElement("input"),r=H.createElement("select"),s=r.appendChild(H.createElement("option"));e.type="checkbox",D.checkOn=e.value!=="",D.optSelected=s.selected,e=H.createElement("input"),e.value="t",e.type="radio",D.radioValue=e.value==="t"}();var Ai,On=l.expr.attrHandle;l.fn.extend({attr:function(e,r){return Et(this,l.attr,e,r,arguments.length>1)},removeAttr:function(e){return this.each(function(){l.removeAttr(this,e)})}}),l.extend({attr:function(e,r,s){var u,h,p=e.nodeType;if(!(p===3||p===8||p===2)){if(typeof e.getAttribute>"u")return l.prop(e,r,s);if((p!==1||!l.isXMLDoc(e))&&(h=l.attrHooks[r.toLowerCase()]||(l.expr.match.bool.test(r)?Ai:void 0)),s!==void 0){if(s===null){l.removeAttr(e,r);return}return h&&"set"in h&&(u=h.set(e,s,r))!==void 0?u:(e.setAttribute(r,s+""),s)}return h&&"get"in h&&(u=h.get(e,r))!==null?u:(u=l.find.attr(e,r),u??void 0)}},attrHooks:{type:{set:function(e,r){if(!D.radioValue&&r==="radio"&&G(e,"input")){var s=e.value;return e.setAttribute("type",r),s&&(e.value=s),r}}}},removeAttr:function(e,r){var s,u=0,h=r&&r.match(de);if(h&&e.nodeType===1)for(;s=h[u++];)e.removeAttribute(s)}}),Ai={set:function(e,r,s){return r===!1?l.removeAttr(e,s):e.setAttribute(s,s),s}},l.each(l.expr.match.bool.source.match(/\w+/g),function(e,r){var s=On[r]||l.find.attr;On[r]=function(u,h,p){var b,S,T=h.toLowerCase();return p||(S=On[T],On[T]=b,b=s(u,h,p)!=null?T:null,On[T]=S),b}});var ri=/^(?:input|select|textarea|button)$/i,j=/^(?:a|area)$/i;l.fn.extend({prop:function(e,r){return Et(this,l.prop,e,r,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[l.propFix[e]||e]})}}),l.extend({prop:function(e,r,s){var u,h,p=e.nodeType;if(!(p===3||p===8||p===2))return(p!==1||!l.isXMLDoc(e))&&(r=l.propFix[r]||r,h=l.propHooks[r]),s!==void 0?h&&"set"in h&&(u=h.set(e,s,r))!==void 0?u:e[r]=s:h&&"get"in h&&(u=h.get(e,r))!==null?u:e[r]},propHooks:{tabIndex:{get:function(e){var r=l.find.attr(e,"tabindex");return r?parseInt(r,10):ri.test(e.nodeName)||j.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),D.optSelected||(l.propHooks.selected={get:function(e){var r=e.parentNode;return r&&r.parentNode&&r.parentNode.selectedIndex,null},set:function(e){var r=e.parentNode;r&&(r.selectedIndex,r.parentNode&&r.parentNode.selectedIndex)}}),l.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){l.propFix[this.toLowerCase()]=this});function x(e){var r=e.match(de)||[];return r.join(" ")}function f(e){return e.getAttribute&&e.getAttribute("class")||""}function _(e){return Array.isArray(e)?e:typeof e=="string"?e.match(de)||[]:[]}l.fn.extend({addClass:function(e){var r,s,u,h,p,b;return I(e)?this.each(function(S){l(this).addClass(e.call(this,S,f(this)))}):(r=_(e),r.length?this.each(function(){if(u=f(this),s=this.nodeType===1&&" "+x(u)+" ",s){for(p=0;p<r.length;p++)h=r[p],s.indexOf(" "+h+" ")<0&&(s+=h+" ");b=x(s),u!==b&&this.setAttribute("class",b)}}):this)},removeClass:function(e){var r,s,u,h,p,b;return I(e)?this.each(function(S){l(this).removeClass(e.call(this,S,f(this)))}):arguments.length?(r=_(e),r.length?this.each(function(){if(u=f(this),s=this.nodeType===1&&" "+x(u)+" ",s){for(p=0;p<r.length;p++)for(h=r[p];s.indexOf(" "+h+" ")>-1;)s=s.replace(" "+h+" "," ");b=x(s),u!==b&&this.setAttribute("class",b)}}):this):this.attr("class","")},toggleClass:function(e,r){var s,u,h,p,b=typeof e,S=b==="string"||Array.isArray(e);return I(e)?this.each(function(T){l(this).toggleClass(e.call(this,T,f(this),r),r)}):typeof r=="boolean"&&S?r?this.addClass(e):this.removeClass(e):(s=_(e),this.each(function(){if(S)for(p=l(this),h=0;h<s.length;h++)u=s[h],p.hasClass(u)?p.removeClass(u):p.addClass(u);else(e===void 0||b==="boolean")&&(u=f(this),u&&ve.set(this,"__className__",u),this.setAttribute&&this.setAttribute("class",u||e===!1?"":ve.get(this,"__className__")||""))}))},hasClass:function(e){var r,s,u=0;for(r=" "+e+" ";s=this[u++];)if(s.nodeType===1&&(" "+x(f(s))+" ").indexOf(r)>-1)return!0;return!1}});var E=/\r/g;l.fn.extend({val:function(e){var r,s,u,h=this[0];return arguments.length?(u=I(e),this.each(function(p){var b;this.nodeType===1&&(u?b=e.call(this,p,l(this).val()):b=e,b==null?b="":typeof b=="number"?b+="":Array.isArray(b)&&(b=l.map(b,function(S){return S==null?"":S+""})),r=l.valHooks[this.type]||l.valHooks[this.nodeName.toLowerCase()],(!r||!("set"in r)||r.set(this,b,"value")===void 0)&&(this.value=b))})):h?(r=l.valHooks[h.type]||l.valHooks[h.nodeName.toLowerCase()],r&&"get"in r&&(s=r.get(h,"value"))!==void 0?s:(s=h.value,typeof s=="string"?s.replace(E,""):s??"")):void 0}}),l.extend({valHooks:{option:{get:function(e){var r=l.find.attr(e,"value");return r??x(l.text(e))}},select:{get:function(e){var r,s,u,h=e.options,p=e.selectedIndex,b=e.type==="select-one",S=b?null:[],T=b?p+1:h.length;for(p<0?u=T:u=b?p:0;u<T;u++)if(s=h[u],(s.selected||u===p)&&!s.disabled&&(!s.parentNode.disabled||!G(s.parentNode,"optgroup"))){if(r=l(s).val(),b)return r;S.push(r)}return S},set:function(e,r){for(var s,u,h=e.options,p=l.makeArray(r),b=h.length;b--;)u=h[b],(u.selected=l.inArray(l.valHooks.option.get(u),p)>-1)&&(s=!0);return s||(e.selectedIndex=-1),p}}}}),l.each(["radio","checkbox"],function(){l.valHooks[this]={set:function(e,r){if(Array.isArray(r))return e.checked=l.inArray(l(e).val(),r)>-1}},D.checkOn||(l.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var O=n.location,W={guid:Date.now()},se=/\?/;l.parseXML=function(e){var r,s;if(!e||typeof e!="string")return null;try{r=new n.DOMParser().parseFromString(e,"text/xml")}catch{}return s=r&&r.getElementsByTagName("parsererror")[0],(!r||s)&&l.error("Invalid XML: "+(s?l.map(s.childNodes,function(u){return u.textContent}).join(`
|
||
`):e)),r};var be=/^(?:focusinfocus|focusoutblur)$/,He=function(e){e.stopPropagation()};l.extend(l.event,{trigger:function(e,r,s,u){var h,p,b,S,T,L,z,X,F=[s||H],Z=C.call(e,"type")?e.type:e,Ee=C.call(e,"namespace")?e.namespace.split("."):[];if(p=X=b=s=s||H,!(s.nodeType===3||s.nodeType===8)&&!be.test(Z+l.event.triggered)&&(Z.indexOf(".")>-1&&(Ee=Z.split("."),Z=Ee.shift(),Ee.sort()),T=Z.indexOf(":")<0&&"on"+Z,e=e[l.expando]?e:new l.Event(Z,typeof e=="object"&&e),e.isTrigger=u?2:3,e.namespace=Ee.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+Ee.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=s),r=r==null?[e]:l.makeArray(r,[e]),z=l.event.special[Z]||{},!(!u&&z.trigger&&z.trigger.apply(s,r)===!1))){if(!u&&!z.noBubble&&!B(s)){for(S=z.delegateType||Z,be.test(S+Z)||(p=p.parentNode);p;p=p.parentNode)F.push(p),b=p;b===(s.ownerDocument||H)&&F.push(b.defaultView||b.parentWindow||n)}for(h=0;(p=F[h++])&&!e.isPropagationStopped();)X=p,e.type=h>1?S:z.bindType||Z,L=(ve.get(p,"events")||Object.create(null))[e.type]&&ve.get(p,"handle"),L&&L.apply(p,r),L=T&&p[T],L&&L.apply&&Ot(p)&&(e.result=L.apply(p,r),e.result===!1&&e.preventDefault());return e.type=Z,!u&&!e.isDefaultPrevented()&&(!z._default||z._default.apply(F.pop(),r)===!1)&&Ot(s)&&T&&I(s[Z])&&!B(s)&&(b=s[T],b&&(s[T]=null),l.event.triggered=Z,e.isPropagationStopped()&&X.addEventListener(Z,He),s[Z](),e.isPropagationStopped()&&X.removeEventListener(Z,He),l.event.triggered=void 0,b&&(s[T]=b)),e.result}},simulate:function(e,r,s){var u=l.extend(new l.Event,s,{type:e,isSimulated:!0});l.event.trigger(u,null,r)}}),l.fn.extend({trigger:function(e,r){return this.each(function(){l.event.trigger(e,r,this)})},triggerHandler:function(e,r){var s=this[0];if(s)return l.event.trigger(e,r,s,!0)}});var Me=/\[\]$/,ct=/\r?\n/g,qt=/^(?:submit|button|image|reset|file)$/i,gn=/^(?:input|select|textarea|keygen)/i;function In(e,r,s,u){var h;if(Array.isArray(r))l.each(r,function(p,b){s||Me.test(e)?u(e,b):In(e+"["+(typeof b=="object"&&b!=null?p:"")+"]",b,s,u)});else if(!s&&oe(r)==="object")for(h in r)In(e+"["+h+"]",r[h],s,u);else u(e,r)}l.param=function(e,r){var s,u=[],h=function(p,b){var S=I(b)?b():b;u[u.length]=encodeURIComponent(p)+"="+encodeURIComponent(S??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!l.isPlainObject(e))l.each(e,function(){h(this.name,this.value)});else for(s in e)In(s,e[s],r,h);return u.join("&")},l.fn.extend({serialize:function(){return l.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=l.prop(this,"elements");return e?l.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!l(this).is(":disabled")&&gn.test(this.nodeName)&&!qt.test(e)&&(this.checked||!$t.test(e))}).map(function(e,r){var s=l(this).val();return s==null?null:Array.isArray(s)?l.map(s,function(u){return{name:r.name,value:u.replace(ct,`\r
|
||
`)}}):{name:r.name,value:s.replace(ct,`\r
|
||
`)}}).get()}});var cr=/%20/g,Di=/#.*$/,dr=/([?&])_=[^&]*/,Li=/^(.*?):[ \t]*([^\r\n]*)$/mg,hr=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Pi=/^(?:GET|HEAD)$/,jr=/^\/\//,pr={},Rr={},Oo="*/".concat("*"),Hr=H.createElement("a");Hr.href=O.href;function Io(e){return function(r,s){typeof r!="string"&&(s=r,r="*");var u,h=0,p=r.toLowerCase().match(de)||[];if(I(s))for(;u=p[h++];)u[0]==="+"?(u=u.slice(1)||"*",(e[u]=e[u]||[]).unshift(s)):(e[u]=e[u]||[]).push(s)}}function jo(e,r,s,u){var h={},p=e===Rr;function b(S){var T;return h[S]=!0,l.each(e[S]||[],function(L,z){var X=z(r,s,u);if(typeof X=="string"&&!p&&!h[X])return r.dataTypes.unshift(X),b(X),!1;if(p)return!(T=X)}),T}return b(r.dataTypes[0])||!h["*"]&&b("*")}function Mr(e,r){var s,u,h=l.ajaxSettings.flatOptions||{};for(s in r)r[s]!==void 0&&((h[s]?e:u||(u={}))[s]=r[s]);return u&&l.extend(!0,e,u),e}function xs(e,r,s){for(var u,h,p,b,S=e.contents,T=e.dataTypes;T[0]==="*";)T.shift(),u===void 0&&(u=e.mimeType||r.getResponseHeader("Content-Type"));if(u){for(h in S)if(S[h]&&S[h].test(u)){T.unshift(h);break}}if(T[0]in s)p=T[0];else{for(h in s){if(!T[0]||e.converters[h+" "+T[0]]){p=h;break}b||(b=h)}p=p||b}if(p)return p!==T[0]&&T.unshift(p),s[p]}function As(e,r,s,u){var h,p,b,S,T,L={},z=e.dataTypes.slice();if(z[1])for(b in e.converters)L[b.toLowerCase()]=e.converters[b];for(p=z.shift();p;)if(e.responseFields[p]&&(s[e.responseFields[p]]=r),!T&&u&&e.dataFilter&&(r=e.dataFilter(r,e.dataType)),T=p,p=z.shift(),p){if(p==="*")p=T;else if(T!=="*"&&T!==p){if(b=L[T+" "+p]||L["* "+p],!b){for(h in L)if(S=h.split(" "),S[1]===p&&(b=L[T+" "+S[0]]||L["* "+S[0]],b)){b===!0?b=L[h]:L[h]!==!0&&(p=S[0],z.unshift(S[1]));break}}if(b!==!0)if(b&&e.throws)r=b(r);else try{r=b(r)}catch(X){return{state:"parsererror",error:b?X:"No conversion from "+T+" to "+p}}}}return{state:"success",data:r}}l.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:O.href,type:"GET",isLocal:hr.test(O.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Oo,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":l.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,r){return r?Mr(Mr(e,l.ajaxSettings),r):Mr(l.ajaxSettings,e)},ajaxPrefilter:Io(pr),ajaxTransport:Io(Rr),ajax:function(e,r){typeof e=="object"&&(r=e,e=void 0),r=r||{};var s,u,h,p,b,S,T,L,z,X,F=l.ajaxSetup({},r),Z=F.context||F,Ee=F.context&&(Z.nodeType||Z.jquery)?l(Z):l.event,Le=l.Deferred(),ke=l.Callbacks("once memory"),st=F.statusCode||{},at={},Ft={},Bt="canceled",Ae={readyState:0,getResponseHeader:function(Oe){var nt;if(T){if(!p)for(p={};nt=Li.exec(h);)p[nt[1].toLowerCase()+" "]=(p[nt[1].toLowerCase()+" "]||[]).concat(nt[2]);nt=p[Oe.toLowerCase()+" "]}return nt==null?null:nt.join(", ")},getAllResponseHeaders:function(){return T?h:null},setRequestHeader:function(Oe,nt){return T==null&&(Oe=Ft[Oe.toLowerCase()]=Ft[Oe.toLowerCase()]||Oe,at[Oe]=nt),this},overrideMimeType:function(Oe){return T==null&&(F.mimeType=Oe),this},statusCode:function(Oe){var nt;if(Oe)if(T)Ae.always(Oe[Ae.status]);else for(nt in Oe)st[nt]=[st[nt],Oe[nt]];return this},abort:function(Oe){var nt=Oe||Bt;return s&&s.abort(nt),jn(0,nt),this}};if(Le.promise(Ae),F.url=((e||F.url||O.href)+"").replace(jr,O.protocol+"//"),F.type=r.method||r.type||F.method||F.type,F.dataTypes=(F.dataType||"*").toLowerCase().match(de)||[""],F.crossDomain==null){S=H.createElement("a");try{S.href=F.url,S.href=S.href,F.crossDomain=Hr.protocol+"//"+Hr.host!=S.protocol+"//"+S.host}catch{F.crossDomain=!0}}if(F.data&&F.processData&&typeof F.data!="string"&&(F.data=l.param(F.data,F.traditional)),jo(pr,F,r,Ae),T)return Ae;L=l.event&&F.global,L&&l.active++===0&&l.event.trigger("ajaxStart"),F.type=F.type.toUpperCase(),F.hasContent=!Pi.test(F.type),u=F.url.replace(Di,""),F.hasContent?F.data&&F.processData&&(F.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(F.data=F.data.replace(cr,"+")):(X=F.url.slice(u.length),F.data&&(F.processData||typeof F.data=="string")&&(u+=(se.test(u)?"&":"?")+F.data,delete F.data),F.cache===!1&&(u=u.replace(dr,"$1"),X=(se.test(u)?"&":"?")+"_="+W.guid+++X),F.url=u+X),F.ifModified&&(l.lastModified[u]&&Ae.setRequestHeader("If-Modified-Since",l.lastModified[u]),l.etag[u]&&Ae.setRequestHeader("If-None-Match",l.etag[u])),(F.data&&F.hasContent&&F.contentType!==!1||r.contentType)&&Ae.setRequestHeader("Content-Type",F.contentType),Ae.setRequestHeader("Accept",F.dataTypes[0]&&F.accepts[F.dataTypes[0]]?F.accepts[F.dataTypes[0]]+(F.dataTypes[0]!=="*"?", "+Oo+"; q=0.01":""):F.accepts["*"]);for(z in F.headers)Ae.setRequestHeader(z,F.headers[z]);if(F.beforeSend&&(F.beforeSend.call(Z,Ae,F)===!1||T))return Ae.abort();if(Bt="abort",ke.add(F.complete),Ae.done(F.success),Ae.fail(F.error),s=jo(Rr,F,r,Ae),!s)jn(-1,"No Transport");else{if(Ae.readyState=1,L&&Ee.trigger("ajaxSend",[Ae,F]),T)return Ae;F.async&&F.timeout>0&&(b=n.setTimeout(function(){Ae.abort("timeout")},F.timeout));try{T=!1,s.send(at,jn)}catch(Oe){if(T)throw Oe;jn(-1,Oe)}}function jn(Oe,nt,Ii,Fr){var Wt,ji,Ut,mn,vn,kt=nt;T||(T=!0,b&&n.clearTimeout(b),s=void 0,h=Fr||"",Ae.readyState=Oe>0?4:0,Wt=Oe>=200&&Oe<300||Oe===304,Ii&&(mn=xs(F,Ae,Ii)),!Wt&&l.inArray("script",F.dataTypes)>-1&&l.inArray("json",F.dataTypes)<0&&(F.converters["text script"]=function(){}),mn=As(F,mn,Ae,Wt),Wt?(F.ifModified&&(vn=Ae.getResponseHeader("Last-Modified"),vn&&(l.lastModified[u]=vn),vn=Ae.getResponseHeader("etag"),vn&&(l.etag[u]=vn)),Oe===204||F.type==="HEAD"?kt="nocontent":Oe===304?kt="notmodified":(kt=mn.state,ji=mn.data,Ut=mn.error,Wt=!Ut)):(Ut=kt,(Oe||!kt)&&(kt="error",Oe<0&&(Oe=0))),Ae.status=Oe,Ae.statusText=(nt||kt)+"",Wt?Le.resolveWith(Z,[ji,kt,Ae]):Le.rejectWith(Z,[Ae,kt,Ut]),Ae.statusCode(st),st=void 0,L&&Ee.trigger(Wt?"ajaxSuccess":"ajaxError",[Ae,F,Wt?ji:Ut]),ke.fireWith(Z,[Ae,kt]),L&&(Ee.trigger("ajaxComplete",[Ae,F]),--l.active||l.event.trigger("ajaxStop")))}return Ae},getJSON:function(e,r,s){return l.get(e,r,s,"json")},getScript:function(e,r){return l.get(e,void 0,r,"script")}}),l.each(["get","post"],function(e,r){l[r]=function(s,u,h,p){return I(u)&&(p=p||h,h=u,u=void 0),l.ajax(l.extend({url:s,type:r,dataType:p,data:u,success:h},l.isPlainObject(s)&&s))}}),l.ajaxPrefilter(function(e){var r;for(r in e.headers)r.toLowerCase()==="content-type"&&(e.contentType=e.headers[r]||"")}),l._evalUrl=function(e,r,s){return l.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(u){l.globalEval(u,r,s)}})},l.fn.extend({wrapAll:function(e){var r;return this[0]&&(I(e)&&(e=e.call(this[0])),r=l(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&r.insertBefore(this[0]),r.map(function(){for(var s=this;s.firstElementChild;)s=s.firstElementChild;return s}).append(this)),this},wrapInner:function(e){return I(e)?this.each(function(r){l(this).wrapInner(e.call(this,r))}):this.each(function(){var r=l(this),s=r.contents();s.length?s.wrapAll(e):r.append(e)})},wrap:function(e){var r=I(e);return this.each(function(s){l(this).wrapAll(r?e.call(this,s):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){l(this).replaceWith(this.childNodes)}),this}}),l.expr.pseudos.hidden=function(e){return!l.expr.pseudos.visible(e)},l.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},l.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch{}};var Ds={0:200,1223:204},Oi=l.ajaxSettings.xhr();D.cors=!!Oi&&"withCredentials"in Oi,D.ajax=Oi=!!Oi,l.ajaxTransport(function(e){var r,s;if(D.cors||Oi&&!e.crossDomain)return{send:function(u,h){var p,b=e.xhr();if(b.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(p in e.xhrFields)b[p]=e.xhrFields[p];e.mimeType&&b.overrideMimeType&&b.overrideMimeType(e.mimeType),!e.crossDomain&&!u["X-Requested-With"]&&(u["X-Requested-With"]="XMLHttpRequest");for(p in u)b.setRequestHeader(p,u[p]);r=function(S){return function(){r&&(r=s=b.onload=b.onerror=b.onabort=b.ontimeout=b.onreadystatechange=null,S==="abort"?b.abort():S==="error"?typeof b.status!="number"?h(0,"error"):h(b.status,b.statusText):h(Ds[b.status]||b.status,b.statusText,(b.responseType||"text")!=="text"||typeof b.responseText!="string"?{binary:b.response}:{text:b.responseText},b.getAllResponseHeaders()))}},b.onload=r(),s=b.onerror=b.ontimeout=r("error"),b.onabort!==void 0?b.onabort=s:b.onreadystatechange=function(){b.readyState===4&&n.setTimeout(function(){r&&s()})},r=r("abort");try{b.send(e.hasContent&&e.data||null)}catch(S){if(r)throw S}},abort:function(){r&&r()}}}),l.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),l.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return l.globalEval(e),e}}}),l.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),l.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var r,s;return{send:function(u,h){r=l("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",s=function(p){r.remove(),s=null,p&&h(p.type==="error"?404:200,p.type)}),H.head.appendChild(r[0])},abort:function(){s&&s()}}}});var Ro=[],qr=/(=)\?(?=&|$)|\?\?/;l.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ro.pop()||l.expando+"_"+W.guid++;return this[e]=!0,e}}),l.ajaxPrefilter("json jsonp",function(e,r,s){var u,h,p,b=e.jsonp!==!1&&(qr.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&qr.test(e.data)&&"data");if(b||e.dataTypes[0]==="jsonp")return u=e.jsonpCallback=I(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,b?e[b]=e[b].replace(qr,"$1"+u):e.jsonp!==!1&&(e.url+=(se.test(e.url)?"&":"?")+e.jsonp+"="+u),e.converters["script json"]=function(){return p||l.error(u+" was not called"),p[0]},e.dataTypes[0]="json",h=n[u],n[u]=function(){p=arguments},s.always(function(){h===void 0?l(n).removeProp(u):n[u]=h,e[u]&&(e.jsonpCallback=r.jsonpCallback,Ro.push(u)),p&&I(h)&&h(p[0]),p=h=void 0}),"script"}),D.createHTMLDocument=function(){var e=H.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2}(),l.parseHTML=function(e,r,s){if(typeof e!="string")return[];typeof r=="boolean"&&(s=r,r=!1);var u,h,p;return r||(D.createHTMLDocument?(r=H.implementation.createHTMLDocument(""),u=r.createElement("base"),u.href=H.location.href,r.head.appendChild(u)):r=H),h=je.exec(e),p=!s&&[],h?[r.createElement(h[1])]:(h=Ti([e],r,p),p&&p.length&&l(p).remove(),l.merge([],h.childNodes))},l.fn.load=function(e,r,s){var u,h,p,b=this,S=e.indexOf(" ");return S>-1&&(u=x(e.slice(S)),e=e.slice(0,S)),I(r)?(s=r,r=void 0):r&&typeof r=="object"&&(h="POST"),b.length>0&&l.ajax({url:e,type:h||"GET",dataType:"html",data:r}).done(function(T){p=arguments,b.html(u?l("<div>").append(l.parseHTML(T)).find(u):T)}).always(s&&function(T,L){b.each(function(){s.apply(this,p||[T.responseText,L,T])})}),this},l.expr.pseudos.animated=function(e){return l.grep(l.timers,function(r){return e===r.elem}).length},l.offset={setOffset:function(e,r,s){var u,h,p,b,S,T,L,z=l.css(e,"position"),X=l(e),F={};z==="static"&&(e.style.position="relative"),S=X.offset(),p=l.css(e,"top"),T=l.css(e,"left"),L=(z==="absolute"||z==="fixed")&&(p+T).indexOf("auto")>-1,L?(u=X.position(),b=u.top,h=u.left):(b=parseFloat(p)||0,h=parseFloat(T)||0),I(r)&&(r=r.call(e,s,l.extend({},S))),r.top!=null&&(F.top=r.top-S.top+b),r.left!=null&&(F.left=r.left-S.left+h),"using"in r?r.using.call(e,F):X.css(F)}},l.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(h){l.offset.setOffset(this,e,h)});var r,s,u=this[0];if(u)return u.getClientRects().length?(r=u.getBoundingClientRect(),s=u.ownerDocument.defaultView,{top:r.top+s.pageYOffset,left:r.left+s.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,r,s,u=this[0],h={top:0,left:0};if(l.css(u,"position")==="fixed")r=u.getBoundingClientRect();else{for(r=this.offset(),s=u.ownerDocument,e=u.offsetParent||s.documentElement;e&&(e===s.body||e===s.documentElement)&&l.css(e,"position")==="static";)e=e.parentNode;e&&e!==u&&e.nodeType===1&&(h=l(e).offset(),h.top+=l.css(e,"borderTopWidth",!0),h.left+=l.css(e,"borderLeftWidth",!0))}return{top:r.top-h.top-l.css(u,"marginTop",!0),left:r.left-h.left-l.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&l.css(e,"position")==="static";)e=e.offsetParent;return e||Rt})}}),l.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var s=r==="pageYOffset";l.fn[e]=function(u){return Et(this,function(h,p,b){var S;if(B(h)?S=h:h.nodeType===9&&(S=h.defaultView),b===void 0)return S?S[r]:h[p];S?S.scrollTo(s?S.pageXOffset:b,s?b:S.pageYOffset):h[p]=b},e,u,arguments.length)}}),l.each(["top","left"],function(e,r){l.cssHooks[r]=An(D.pixelPosition,function(s,u){if(u)return u=xn(s,r),Nn.test(u)?l(s).position()[r]+"px":u})}),l.each({Height:"height",Width:"width"},function(e,r){l.each({padding:"inner"+e,content:r,"":"outer"+e},function(s,u){l.fn[u]=function(h,p){var b=arguments.length&&(s||typeof h!="boolean"),S=s||(h===!0||p===!0?"margin":"border");return Et(this,function(T,L,z){var X;return B(T)?u.indexOf("outer")===0?T["inner"+e]:T.document.documentElement["client"+e]:T.nodeType===9?(X=T.documentElement,Math.max(T.body["scroll"+e],X["scroll"+e],T.body["offset"+e],X["offset"+e],X["client"+e])):z===void 0?l.css(T,L,S):l.style(T,L,z,S)},r,b?h:void 0,b)}})}),l.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,r){l.fn[r]=function(s){return this.on(r,s)}}),l.fn.extend({bind:function(e,r,s){return this.on(e,null,r,s)},unbind:function(e,r){return this.off(e,null,r)},delegate:function(e,r,s,u){return this.on(r,e,s,u)},undelegate:function(e,r,s){return arguments.length===1?this.off(e,"**"):this.off(r,e||"**",s)},hover:function(e,r){return this.mouseenter(e).mouseleave(r||e)}}),l.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){l.fn[r]=function(s,u){return arguments.length>0?this.on(r,null,s,u):this.trigger(r)}});var Ls=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;l.proxy=function(e,r){var s,u,h;if(typeof r=="string"&&(s=e[r],r=e,e=s),!!I(e))return u=d.call(arguments,2),h=function(){return e.apply(r||this,u.concat(d.call(arguments)))},h.guid=e.guid=e.guid||l.guid++,h},l.holdReady=function(e){e?l.readyWait++:l.ready(!0)},l.isArray=Array.isArray,l.parseJSON=JSON.parse,l.nodeName=G,l.isFunction=I,l.isWindow=B,l.camelCase=wt,l.type=oe,l.now=Date.now,l.isNumeric=function(e){var r=l.type(e);return(r==="number"||r==="string")&&!isNaN(e-parseFloat(e))},l.trim=function(e){return e==null?"":(e+"").replace(Ls,"$1")};var Ps=n.jQuery,Os=n.$;return l.noConflict=function(e){return n.$===l&&(n.$=Os),e&&n.jQuery===l&&(n.jQuery=Ps),l},typeof i>"u"&&(n.jQuery=n.$=l),l})}(Yr)),Yr.exports}/**!
|
||
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
||
* @version 1.16.1
|
||
* @license
|
||
* Copyright (c) 2016 Federico Zivolo and contributors
|
||
*
|
||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||
* of this software and associated documentation files (the "Software"), to deal
|
||
* in the Software without restriction, including without limitation the rights
|
||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||
* copies of the Software, and to permit persons to whom the Software is
|
||
* furnished to do so, subject to the following conditions:
|
||
*
|
||
* The above copyright notice and this permission notice shall be included in all
|
||
* copies or substantial portions of the Software.
|
||
*
|
||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||
* SOFTWARE.
|
||
*/var Vi=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",il=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(Vi&&navigator.userAgent.indexOf(t[n])>=0)return 1;return 0}();function rl(t){var n=!1;return function(){n||(n=!0,window.Promise.resolve().then(function(){n=!1,t()}))}}function ol(t){var n=!1;return function(){n||(n=!0,setTimeout(function(){n=!1,t()},il))}}var al=Vi&&window.Promise,sl=al?rl:ol;function Wa(t){var n={};return t&&n.toString.call(t)==="[object Function]"}function zn(t,n){if(t.nodeType!==1)return[];var i=t.ownerDocument.defaultView,a=i.getComputedStyle(t,null);return n?a[n]:a}function vo(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function zi(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var n=zn(t),i=n.overflow,a=n.overflowX,c=n.overflowY;return/(auto|scroll|overlay)/.test(i+c+a)?t:zi(vo(t))}function Ua(t){return t&&t.referenceNode?t.referenceNode:t}var Qo=Vi&&!!(window.MSInputMethodContext&&document.documentMode),Xo=Vi&&/MSIE 10/.test(navigator.userAgent);function bi(t){return t===11?Qo:t===10?Xo:Qo||Xo}function gi(t){if(!t)return document.documentElement;for(var n=bi(10)?document.body:null,i=t.offsetParent||null;i===n&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var a=i&&i.nodeName;return!a||a==="BODY"||a==="HTML"?t?t.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(i.nodeName)!==-1&&zn(i,"position")==="static"?gi(i):i}function ll(t){var n=t.nodeName;return n==="BODY"?!1:n==="HTML"||gi(t.firstElementChild)===t}function ao(t){return t.parentNode!==null?ao(t.parentNode):t}function Tr(t,n){if(!t||!t.nodeType||!n||!n.nodeType)return document.documentElement;var i=t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING,a=i?t:n,c=i?n:t,d=document.createRange();d.setStart(a,0),d.setEnd(c,0);var o=d.commonAncestorContainer;if(t!==o&&n!==o||a.contains(c))return ll(o)?o:gi(o);var v=ao(t);return v.host?Tr(v.host,n):Tr(t,ao(n).host)}function mi(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",i=n==="top"?"scrollTop":"scrollLeft",a=t.nodeName;if(a==="BODY"||a==="HTML"){var c=t.ownerDocument.documentElement,d=t.ownerDocument.scrollingElement||c;return d[i]}return t[i]}function ul(t,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=mi(n,"top"),c=mi(n,"left"),d=i?-1:1;return t.top+=a*d,t.bottom+=a*d,t.left+=c*d,t.right+=c*d,t}function Yo(t,n){var i=n==="x"?"Left":"Top",a=i==="Left"?"Right":"Bottom";return parseFloat(t["border"+i+"Width"])+parseFloat(t["border"+a+"Width"])}function Ko(t,n,i,a){return Math.max(n["offset"+t],n["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],bi(10)?parseInt(i["offset"+t])+parseInt(a["margin"+(t==="Height"?"Top":"Left")])+parseInt(a["margin"+(t==="Height"?"Bottom":"Right")]):0)}function Va(t){var n=t.body,i=t.documentElement,a=bi(10)&&getComputedStyle(i);return{height:Ko("Height",n,i,a),width:Ko("Width",n,i,a)}}var fl=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")},cl=function(){function t(n,i){for(var a=0;a<i.length;a++){var c=i[a];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,c.key,c)}}return function(n,i,a){return i&&t(n.prototype,i),a&&t(n,a),n}}(),vi=function(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t},Nt=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t};function wn(t){return Nt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function so(t){var n={};try{if(bi(10)){n=t.getBoundingClientRect();var i=mi(t,"top"),a=mi(t,"left");n.top+=i,n.left+=a,n.bottom+=i,n.right+=a}else n=t.getBoundingClientRect()}catch{}var c={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},d=t.nodeName==="HTML"?Va(t.ownerDocument):{},o=d.width||t.clientWidth||c.width,v=d.height||t.clientHeight||c.height,g=t.offsetWidth-o,m=t.offsetHeight-v;if(g||m){var y=zn(t);g-=Yo(y,"x"),m-=Yo(y,"y"),c.width-=g,c.height-=m}return wn(c)}function bo(t,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=bi(10),c=n.nodeName==="HTML",d=so(t),o=so(n),v=zi(t),g=zn(n),m=parseFloat(g.borderTopWidth),y=parseFloat(g.borderLeftWidth);i&&c&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var C=wn({top:d.top-o.top-m,left:d.left-o.left-y,width:d.width,height:d.height});if(C.marginTop=0,C.marginLeft=0,!a&&c){var P=parseFloat(g.marginTop),k=parseFloat(g.marginLeft);C.top-=m-P,C.bottom-=m-P,C.left-=y-k,C.right-=y-k,C.marginTop=P,C.marginLeft=k}return(a&&!i?n.contains(v):n===v&&v.nodeName!=="BODY")&&(C=ul(C,n)),C}function dl(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=t.ownerDocument.documentElement,a=bo(t,i),c=Math.max(i.clientWidth,window.innerWidth||0),d=Math.max(i.clientHeight,window.innerHeight||0),o=n?0:mi(i),v=n?0:mi(i,"left"),g={top:o-a.top+a.marginTop,left:v-a.left+a.marginLeft,width:c,height:d};return wn(g)}function za(t){var n=t.nodeName;if(n==="BODY"||n==="HTML")return!1;if(zn(t,"position")==="fixed")return!0;var i=vo(t);return i?za(i):!1}function Qa(t){if(!t||!t.parentElement||bi())return document.documentElement;for(var n=t.parentElement;n&&zn(n,"transform")==="none";)n=n.parentElement;return n||document.documentElement}function _o(t,n,i,a){var c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,d={top:0,left:0},o=c?Qa(t):Tr(t,Ua(n));if(a==="viewport")d=dl(o,c);else{var v=void 0;a==="scrollParent"?(v=zi(vo(n)),v.nodeName==="BODY"&&(v=t.ownerDocument.documentElement)):a==="window"?v=t.ownerDocument.documentElement:v=a;var g=bo(v,o,c);if(v.nodeName==="HTML"&&!za(o)){var m=Va(t.ownerDocument),y=m.height,C=m.width;d.top+=g.top-g.marginTop,d.bottom=y+g.top,d.left+=g.left-g.marginLeft,d.right=C+g.left}else d=g}i=i||0;var P=typeof i=="number";return d.left+=P?i:i.left||0,d.top+=P?i:i.top||0,d.right-=P?i:i.right||0,d.bottom-=P?i:i.bottom||0,d}function hl(t){var n=t.width,i=t.height;return n*i}function Xa(t,n,i,a,c){var d=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(t.indexOf("auto")===-1)return t;var o=_o(i,a,d,c),v={top:{width:o.width,height:n.top-o.top},right:{width:o.right-n.right,height:o.height},bottom:{width:o.width,height:o.bottom-n.bottom},left:{width:n.left-o.left,height:o.height}},g=Object.keys(v).map(function(P){return Nt({key:P},v[P],{area:hl(v[P])})}).sort(function(P,k){return k.area-P.area}),m=g.filter(function(P){var k=P.width,D=P.height;return k>=i.clientWidth&&D>=i.clientHeight}),y=m.length>0?m[0].key:g[0].key,C=t.split("-")[1];return y+(C?"-"+C:"")}function Ya(t,n,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,c=a?Qa(n):Tr(n,Ua(i));return bo(i,c,a)}function Ka(t){var n=t.ownerDocument.defaultView,i=n.getComputedStyle(t),a=parseFloat(i.marginTop||0)+parseFloat(i.marginBottom||0),c=parseFloat(i.marginLeft||0)+parseFloat(i.marginRight||0),d={width:t.offsetWidth+c,height:t.offsetHeight+a};return d}function kr(t){var n={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(i){return n[i]})}function Ga(t,n,i){i=i.split("-")[0];var a=Ka(t),c={width:a.width,height:a.height},d=["right","left"].indexOf(i)!==-1,o=d?"top":"left",v=d?"left":"top",g=d?"height":"width",m=d?"width":"height";return c[o]=n[o]+n[g]/2-a[g]/2,i===v?c[v]=n[v]-a[m]:c[v]=n[kr(v)],c}function Qi(t,n){return Array.prototype.find?t.find(n):t.filter(n)[0]}function pl(t,n,i){if(Array.prototype.findIndex)return t.findIndex(function(c){return c[n]===i});var a=Qi(t,function(c){return c[n]===i});return t.indexOf(a)}function Ja(t,n,i){var a=i===void 0?t:t.slice(0,pl(t,"name",i));return a.forEach(function(c){c.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var d=c.function||c.fn;c.enabled&&Wa(d)&&(n.offsets.popper=wn(n.offsets.popper),n.offsets.reference=wn(n.offsets.reference),n=d(n,c))}),n}function gl(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Ya(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=Xa(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Ga(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Ja(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Za(t,n){return t.some(function(i){var a=i.name,c=i.enabled;return c&&a===n})}function yo(t){for(var n=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),a=0;a<n.length;a++){var c=n[a],d=c?""+c+i:t;if(typeof document.body.style[d]<"u")return d}return null}function ml(){return this.state.isDestroyed=!0,Za(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[yo("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function $a(t){var n=t.ownerDocument;return n?n.defaultView:window}function es(t,n,i,a){var c=t.nodeName==="BODY",d=c?t.ownerDocument.defaultView:t;d.addEventListener(n,i,{passive:!0}),c||es(zi(d.parentNode),n,i,a),a.push(d)}function vl(t,n,i,a){i.updateBound=a,$a(t).addEventListener("resize",i.updateBound,{passive:!0});var c=zi(t);return es(c,"scroll",i.updateBound,i.scrollParents),i.scrollElement=c,i.eventsEnabled=!0,i}function bl(){this.state.eventsEnabled||(this.state=vl(this.reference,this.options,this.state,this.scheduleUpdate))}function _l(t,n){return $a(t).removeEventListener("resize",n.updateBound),n.scrollParents.forEach(function(i){i.removeEventListener("scroll",n.updateBound)}),n.updateBound=null,n.scrollParents=[],n.scrollElement=null,n.eventsEnabled=!1,n}function yl(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=_l(this.reference,this.state))}function wo(t){return t!==""&&!isNaN(parseFloat(t))&&isFinite(t)}function lo(t,n){Object.keys(n).forEach(function(i){var a="";["width","height","top","right","bottom","left"].indexOf(i)!==-1&&wo(n[i])&&(a="px"),t.style[i]=n[i]+a})}function wl(t,n){Object.keys(n).forEach(function(i){var a=n[i];a!==!1?t.setAttribute(i,n[i]):t.removeAttribute(i)})}function Cl(t){return lo(t.instance.popper,t.styles),wl(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&lo(t.arrowElement,t.arrowStyles),t}function El(t,n,i,a,c){var d=Ya(c,n,t,i.positionFixed),o=Xa(i.placement,d,n,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return n.setAttribute("x-placement",o),lo(n,{position:i.positionFixed?"fixed":"absolute"}),i}function Tl(t,n){var i=t.offsets,a=i.popper,c=i.reference,d=Math.round,o=Math.floor,v=function(H){return H},g=d(c.width),m=d(a.width),y=["left","right"].indexOf(t.placement)!==-1,C=t.placement.indexOf("-")!==-1,P=g%2===m%2,k=g%2===1&&m%2===1,D=n?y||C||P?d:o:v,I=n?d:v;return{left:D(k&&!C&&n?a.left-1:a.left),top:I(a.top),bottom:I(a.bottom),right:D(a.right)}}var kl=Vi&&/Firefox/i.test(navigator.userAgent);function Sl(t,n){var i=n.x,a=n.y,c=t.offsets.popper,d=Qi(t.instance.modifiers,function(J){return J.name==="applyStyle"}).gpuAcceleration;d!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=d!==void 0?d:n.gpuAcceleration,v=gi(t.instance.popper),g=so(v),m={position:c.position},y=Tl(t,window.devicePixelRatio<2||!kl),C=i==="bottom"?"top":"bottom",P=a==="right"?"left":"right",k=yo("transform"),D=void 0,I=void 0;if(C==="bottom"?v.nodeName==="HTML"?I=-v.clientHeight+y.bottom:I=-g.height+y.bottom:I=y.top,P==="right"?v.nodeName==="HTML"?D=-v.clientWidth+y.right:D=-g.width+y.right:D=y.left,o&&k)m[k]="translate3d("+D+"px, "+I+"px, 0)",m[C]=0,m[P]=0,m.willChange="transform";else{var B=C==="bottom"?-1:1,H=P==="right"?-1:1;m[C]=I*B,m[P]=D*H,m.willChange=C+", "+P}var K={"x-placement":t.placement};return t.attributes=Nt({},K,t.attributes),t.styles=Nt({},m,t.styles),t.arrowStyles=Nt({},t.offsets.arrow,t.arrowStyles),t}function ts(t,n,i){var a=Qi(t,function(v){var g=v.name;return g===n}),c=!!a&&t.some(function(v){return v.name===i&&v.enabled&&v.order<a.order});if(!c){var d="`"+n+"`",o="`"+i+"`";console.warn(o+" modifier is required by "+d+" modifier in order to work, be sure to include it before "+d+"!")}return c}function Nl(t,n){var i;if(!ts(t.instance.modifiers,"arrow","keepTogether"))return t;var a=n.element;if(typeof a=="string"){if(a=t.instance.popper.querySelector(a),!a)return t}else if(!t.instance.popper.contains(a))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var c=t.placement.split("-")[0],d=t.offsets,o=d.popper,v=d.reference,g=["left","right"].indexOf(c)!==-1,m=g?"height":"width",y=g?"Top":"Left",C=y.toLowerCase(),P=g?"left":"top",k=g?"bottom":"right",D=Ka(a)[m];v[k]-D<o[C]&&(t.offsets.popper[C]-=o[C]-(v[k]-D)),v[C]+D>o[k]&&(t.offsets.popper[C]+=v[C]+D-o[k]),t.offsets.popper=wn(t.offsets.popper);var I=v[C]+v[m]/2-D/2,B=zn(t.instance.popper),H=parseFloat(B["margin"+y]),K=parseFloat(B["border"+y+"Width"]),J=I-t.offsets.popper[C]-H-K;return J=Math.max(Math.min(o[m]-D,J),0),t.arrowElement=a,t.offsets.arrow=(i={},vi(i,C,Math.round(J)),vi(i,P,""),i),t}function xl(t){return t==="end"?"start":t==="start"?"end":t}var ns=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Kr=ns.slice(3);function Go(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=Kr.indexOf(t),a=Kr.slice(i+1).concat(Kr.slice(0,i));return n?a.reverse():a}var Gr={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Al(t,n){if(Za(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var i=_o(t.instance.popper,t.instance.reference,n.padding,n.boundariesElement,t.positionFixed),a=t.placement.split("-")[0],c=kr(a),d=t.placement.split("-")[1]||"",o=[];switch(n.behavior){case Gr.FLIP:o=[a,c];break;case Gr.CLOCKWISE:o=Go(a);break;case Gr.COUNTERCLOCKWISE:o=Go(a,!0);break;default:o=n.behavior}return o.forEach(function(v,g){if(a!==v||o.length===g+1)return t;a=t.placement.split("-")[0],c=kr(a);var m=t.offsets.popper,y=t.offsets.reference,C=Math.floor,P=a==="left"&&C(m.right)>C(y.left)||a==="right"&&C(m.left)<C(y.right)||a==="top"&&C(m.bottom)>C(y.top)||a==="bottom"&&C(m.top)<C(y.bottom),k=C(m.left)<C(i.left),D=C(m.right)>C(i.right),I=C(m.top)<C(i.top),B=C(m.bottom)>C(i.bottom),H=a==="left"&&k||a==="right"&&D||a==="top"&&I||a==="bottom"&&B,K=["top","bottom"].indexOf(a)!==-1,J=!!n.flipVariations&&(K&&d==="start"&&k||K&&d==="end"&&D||!K&&d==="start"&&I||!K&&d==="end"&&B),oe=!!n.flipVariationsByContent&&(K&&d==="start"&&D||K&&d==="end"&&k||!K&&d==="start"&&B||!K&&d==="end"&&I),Y=J||oe;(P||H||Y)&&(t.flipped=!0,(P||H)&&(a=o[g+1]),Y&&(d=xl(d)),t.placement=a+(d?"-"+d:""),t.offsets.popper=Nt({},t.offsets.popper,Ga(t.instance.popper,t.offsets.reference,t.placement)),t=Ja(t.instance.modifiers,t,"flip"))}),t}function Dl(t){var n=t.offsets,i=n.popper,a=n.reference,c=t.placement.split("-")[0],d=Math.floor,o=["top","bottom"].indexOf(c)!==-1,v=o?"right":"bottom",g=o?"left":"top",m=o?"width":"height";return i[v]<d(a[g])&&(t.offsets.popper[g]=d(a[g])-i[m]),i[g]>d(a[v])&&(t.offsets.popper[g]=d(a[v])),t}function Ll(t,n,i,a){var c=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),d=+c[1],o=c[2];if(!d)return t;if(o.indexOf("%")===0){var v=void 0;switch(o){case"%p":v=i;break;case"%":case"%r":default:v=a}var g=wn(v);return g[n]/100*d}else if(o==="vh"||o==="vw"){var m=void 0;return o==="vh"?m=Math.max(document.documentElement.clientHeight,window.innerHeight||0):m=Math.max(document.documentElement.clientWidth,window.innerWidth||0),m/100*d}else return d}function Pl(t,n,i,a){var c=[0,0],d=["right","left"].indexOf(a)!==-1,o=t.split(/(\+|\-)/).map(function(y){return y.trim()}),v=o.indexOf(Qi(o,function(y){return y.search(/,|\s/)!==-1}));o[v]&&o[v].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var g=/\s*,\s*|\s+/,m=v!==-1?[o.slice(0,v).concat([o[v].split(g)[0]]),[o[v].split(g)[1]].concat(o.slice(v+1))]:[o];return m=m.map(function(y,C){var P=(C===1?!d:d)?"height":"width",k=!1;return y.reduce(function(D,I){return D[D.length-1]===""&&["+","-"].indexOf(I)!==-1?(D[D.length-1]=I,k=!0,D):k?(D[D.length-1]+=I,k=!1,D):D.concat(I)},[]).map(function(D){return Ll(D,P,n,i)})}),m.forEach(function(y,C){y.forEach(function(P,k){wo(P)&&(c[C]+=P*(y[k-1]==="-"?-1:1))})}),c}function Ol(t,n){var i=n.offset,a=t.placement,c=t.offsets,d=c.popper,o=c.reference,v=a.split("-")[0],g=void 0;return wo(+i)?g=[+i,0]:g=Pl(i,d,o,v),v==="left"?(d.top+=g[0],d.left-=g[1]):v==="right"?(d.top+=g[0],d.left+=g[1]):v==="top"?(d.left+=g[0],d.top-=g[1]):v==="bottom"&&(d.left+=g[0],d.top+=g[1]),t.popper=d,t}function Il(t,n){var i=n.boundariesElement||gi(t.instance.popper);t.instance.reference===i&&(i=gi(i));var a=yo("transform"),c=t.instance.popper.style,d=c.top,o=c.left,v=c[a];c.top="",c.left="",c[a]="";var g=_o(t.instance.popper,t.instance.reference,n.padding,i,t.positionFixed);c.top=d,c.left=o,c[a]=v,n.boundaries=g;var m=n.priority,y=t.offsets.popper,C={primary:function(k){var D=y[k];return y[k]<g[k]&&!n.escapeWithReference&&(D=Math.max(y[k],g[k])),vi({},k,D)},secondary:function(k){var D=k==="right"?"left":"top",I=y[D];return y[k]>g[k]&&!n.escapeWithReference&&(I=Math.min(y[D],g[k]-(k==="right"?y.width:y.height))),vi({},D,I)}};return m.forEach(function(P){var k=["left","top"].indexOf(P)!==-1?"primary":"secondary";y=Nt({},y,C[k](P))}),t.offsets.popper=y,t}function jl(t){var n=t.placement,i=n.split("-")[0],a=n.split("-")[1];if(a){var c=t.offsets,d=c.reference,o=c.popper,v=["bottom","top"].indexOf(i)!==-1,g=v?"left":"top",m=v?"width":"height",y={start:vi({},g,d[g]),end:vi({},g,d[g]+d[m]-o[m])};t.offsets.popper=Nt({},o,y[a])}return t}function Rl(t){if(!ts(t.instance.modifiers,"hide","preventOverflow"))return t;var n=t.offsets.reference,i=Qi(t.instance.modifiers,function(a){return a.name==="preventOverflow"}).boundaries;if(n.bottom<i.top||n.left>i.right||n.top>i.bottom||n.right<i.left){if(t.hide===!0)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(t.hide===!1)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function Hl(t){var n=t.placement,i=n.split("-")[0],a=t.offsets,c=a.popper,d=a.reference,o=["left","right"].indexOf(i)!==-1,v=["top","left"].indexOf(i)===-1;return c[o?"left":"top"]=d[i]-(v?c[o?"width":"height"]:0),t.placement=kr(n),t.offsets.popper=wn(c),t}var Ml={shift:{order:100,enabled:!0,fn:jl},offset:{order:200,enabled:!0,fn:Ol,offset:0},preventOverflow:{order:300,enabled:!0,fn:Il,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:Dl},arrow:{order:500,enabled:!0,fn:Nl,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:Al,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:Hl},hide:{order:800,enabled:!0,fn:Rl},computeStyle:{order:850,enabled:!0,fn:Sl,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:Cl,onLoad:El,gpuAcceleration:void 0}},ql={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Ml},Ar=function(){function t(n,i){var a=this,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};fl(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(a.update)},this.update=sl(this.update.bind(this)),this.options=Nt({},t.Defaults,c),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(Nt({},t.Defaults.modifiers,c.modifiers)).forEach(function(o){a.options.modifiers[o]=Nt({},t.Defaults.modifiers[o]||{},c.modifiers?c.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return Nt({name:o},a.options.modifiers[o])}).sort(function(o,v){return o.order-v.order}),this.modifiers.forEach(function(o){o.enabled&&Wa(o.onLoad)&&o.onLoad(a.reference,a.popper,a.options,o,a.state)}),this.update();var d=this.options.eventsEnabled;d&&this.enableEventListeners(),this.state.eventsEnabled=d}return cl(t,[{key:"update",value:function(){return gl.call(this)}},{key:"destroy",value:function(){return ml.call(this)}},{key:"enableEventListeners",value:function(){return bl.call(this)}},{key:"disableEventListeners",value:function(){return yl.call(this)}}]),t}();Ar.Utils=(typeof window<"u"?window:global).PopperUtils;Ar.placements=ns;Ar.Defaults=ql;const Fl=Object.freeze(Object.defineProperty({__proto__:null,default:Ar},Symbol.toStringTag,{value:"Module"})),Bl=tl(Fl);/*!
|
||
* Bootstrap v4.6.2 (https://getbootstrap.com/)
|
||
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||
*/(function(t,n){(function(i,a){a(n,nl(),Bl)})(Ba,function(i,a,c){function d(j){return j&&typeof j=="object"&&"default"in j?j:{default:j}}var o=d(a),v=d(c);function g(j,x){for(var f=0;f<x.length;f++){var _=x[f];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(j,_.key,_)}}function m(j,x,f){return x&&g(j.prototype,x),f&&g(j,f),Object.defineProperty(j,"prototype",{writable:!1}),j}function y(){return y=Object.assign?Object.assign.bind():function(j){for(var x=1;x<arguments.length;x++){var f=arguments[x];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(j[_]=f[_])}return j},y.apply(this,arguments)}function C(j,x){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,_){return f.__proto__=_,f},C(j,x)}var P="transitionend",k={TRANSITION_END:"bsTransitionEnd",getUID:function(j){do j+=~~(1e6*Math.random());while(document.getElementById(j));return j},getSelectorFromElement:function(j){var x=j.getAttribute("data-target");if(!x||x==="#"){var f=j.getAttribute("href");x=f&&f!=="#"?f.trim():""}try{return document.querySelector(x)?x:null}catch{return null}},getTransitionDurationFromElement:function(j){if(!j)return 0;var x=o.default(j).css("transition-duration"),f=o.default(j).css("transition-delay"),_=parseFloat(x),E=parseFloat(f);return _||E?(x=x.split(",")[0],f=f.split(",")[0],1e3*(parseFloat(x)+parseFloat(f))):0},reflow:function(j){return j.offsetHeight},triggerTransitionEnd:function(j){o.default(j).trigger(P)},supportsTransitionEnd:function(){return!!P},isElement:function(j){return(j[0]||j).nodeType},typeCheckConfig:function(j,x,f){for(var _ in f)if(Object.prototype.hasOwnProperty.call(f,_)){var E=f[_],O=x[_],W=O&&k.isElement(O)?"element":(se=O)===null||typeof se>"u"?""+se:{}.toString.call(se).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(E).test(W))throw new Error(j.toUpperCase()+': Option "'+_+'" provided type "'+W+'" but expected type "'+E+'".')}var se},findShadowRoot:function(j){if(!document.documentElement.attachShadow)return null;if(typeof j.getRootNode=="function"){var x=j.getRootNode();return x instanceof ShadowRoot?x:null}return j instanceof ShadowRoot?j:j.parentNode?k.findShadowRoot(j.parentNode):null},jQueryDetection:function(){if(typeof o.default>"u")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var j=o.default.fn.jquery.split(" ")[0].split(".");if(j[0]<2&&j[1]<9||j[0]===1&&j[1]===9&&j[2]<1||j[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};k.jQueryDetection(),o.default.fn.emulateTransitionEnd=function(j){var x=this,f=!1;return o.default(this).one(k.TRANSITION_END,function(){f=!0}),setTimeout(function(){f||k.triggerTransitionEnd(x)},j),this},o.default.event.special[k.TRANSITION_END]={bindType:P,delegateType:P,handle:function(j){if(o.default(j.target).is(this))return j.handleObj.handler.apply(this,arguments)}};var D="bs.alert",I=o.default.fn.alert,B=function(){function j(f){this._element=f}var x=j.prototype;return x.close=function(f){var _=this._element;f&&(_=this._getRootElement(f)),this._triggerCloseEvent(_).isDefaultPrevented()||this._removeElement(_)},x.dispose=function(){o.default.removeData(this._element,D),this._element=null},x._getRootElement=function(f){var _=k.getSelectorFromElement(f),E=!1;return _&&(E=document.querySelector(_)),E||(E=o.default(f).closest(".alert")[0]),E},x._triggerCloseEvent=function(f){var _=o.default.Event("close.bs.alert");return o.default(f).trigger(_),_},x._removeElement=function(f){var _=this;if(o.default(f).removeClass("show"),o.default(f).hasClass("fade")){var E=k.getTransitionDurationFromElement(f);o.default(f).one(k.TRANSITION_END,function(O){return _._destroyElement(f,O)}).emulateTransitionEnd(E)}else this._destroyElement(f)},x._destroyElement=function(f){o.default(f).detach().trigger("closed.bs.alert").remove()},j._jQueryInterface=function(f){return this.each(function(){var _=o.default(this),E=_.data(D);E||(E=new j(this),_.data(D,E)),f==="close"&&E[f](this)})},j._handleDismiss=function(f){return function(_){_&&_.preventDefault(),f.close(this)}},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),j}();o.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',B._handleDismiss(new B)),o.default.fn.alert=B._jQueryInterface,o.default.fn.alert.Constructor=B,o.default.fn.alert.noConflict=function(){return o.default.fn.alert=I,B._jQueryInterface};var H="bs.button",K=o.default.fn.button,J="active",oe='[data-toggle^="button"]',Y='input:not([type="hidden"])',$=".btn",l=function(){function j(f){this._element=f,this.shouldAvoidTriggerChange=!1}var x=j.prototype;return x.toggle=function(){var f=!0,_=!0,E=o.default(this._element).closest('[data-toggle="buttons"]')[0];if(E){var O=this._element.querySelector(Y);if(O){if(O.type==="radio")if(O.checked&&this._element.classList.contains(J))f=!1;else{var W=E.querySelector(".active");W&&o.default(W).removeClass(J)}f&&(O.type!=="checkbox"&&O.type!=="radio"||(O.checked=!this._element.classList.contains(J)),this.shouldAvoidTriggerChange||o.default(O).trigger("change")),O.focus(),_=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(_&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(J)),f&&o.default(this._element).toggleClass(J))},x.dispose=function(){o.default.removeData(this._element,H),this._element=null},j._jQueryInterface=function(f,_){return this.each(function(){var E=o.default(this),O=E.data(H);O||(O=new j(this),E.data(H,O)),O.shouldAvoidTriggerChange=_,f==="toggle"&&O[f]()})},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),j}();o.default(document).on("click.bs.button.data-api",oe,function(j){var x=j.target,f=x;if(o.default(x).hasClass("btn")||(x=o.default(x).closest($)[0]),!x||x.hasAttribute("disabled")||x.classList.contains("disabled"))j.preventDefault();else{var _=x.querySelector(Y);if(_&&(_.hasAttribute("disabled")||_.classList.contains("disabled")))return void j.preventDefault();f.tagName!=="INPUT"&&x.tagName==="LABEL"||l._jQueryInterface.call(o.default(x),"toggle",f.tagName==="INPUT")}}).on("focus.bs.button.data-api blur.bs.button.data-api",oe,function(j){var x=o.default(j.target).closest($)[0];o.default(x).toggleClass("focus",/^focus(in)?$/.test(j.type))}),o.default(window).on("load.bs.button.data-api",function(){for(var j=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),x=0,f=j.length;x<f;x++){var _=j[x],E=_.querySelector(Y);E.checked||E.hasAttribute("checked")?_.classList.add(J):_.classList.remove(J)}for(var O=0,W=(j=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;O<W;O++){var se=j[O];se.getAttribute("aria-pressed")==="true"?se.classList.add(J):se.classList.remove(J)}}),o.default.fn.button=l._jQueryInterface,o.default.fn.button.Constructor=l,o.default.fn.button.noConflict=function(){return o.default.fn.button=K,l._jQueryInterface};var ee="carousel",G="bs.carousel",he=o.default.fn[ee],ce="active",ne="next",te="prev",ge="slid.bs.carousel",xe=".active.carousel-item",it={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Ye={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},ht={TOUCH:"touch",PEN:"pen"},rt=function(){function j(f,_){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(_),this._element=f,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=!!(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var x=j.prototype;return x.next=function(){this._isSliding||this._slide(ne)},x.nextWhenVisible=function(){var f=o.default(this._element);!document.hidden&&f.is(":visible")&&f.css("visibility")!=="hidden"&&this.next()},x.prev=function(){this._isSliding||this._slide(te)},x.pause=function(f){f||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(k.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},x.cycle=function(f){f||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},x.to=function(f){var _=this;this._activeElement=this._element.querySelector(xe);var E=this._getItemIndex(this._activeElement);if(!(f>this._items.length-1||f<0))if(this._isSliding)o.default(this._element).one(ge,function(){return _.to(f)});else{if(E===f)return this.pause(),void this.cycle();var O=f>E?ne:te;this._slide(O,this._items[f])}},x.dispose=function(){o.default(this._element).off(".bs.carousel"),o.default.removeData(this._element,G),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},x._getConfig=function(f){return f=y({},it,f),k.typeCheckConfig(ee,f,Ye),f},x._handleSwipe=function(){var f=Math.abs(this.touchDeltaX);if(!(f<=40)){var _=f/this.touchDeltaX;this.touchDeltaX=0,_>0&&this.prev(),_<0&&this.next()}},x._addEventListeners=function(){var f=this;this._config.keyboard&&o.default(this._element).on("keydown.bs.carousel",function(_){return f._keydown(_)}),this._config.pause==="hover"&&o.default(this._element).on("mouseenter.bs.carousel",function(_){return f.pause(_)}).on("mouseleave.bs.carousel",function(_){return f.cycle(_)}),this._config.touch&&this._addTouchEventListeners()},x._addTouchEventListeners=function(){var f=this;if(this._touchSupported){var _=function(O){f._pointerEvent&&ht[O.originalEvent.pointerType.toUpperCase()]?f.touchStartX=O.originalEvent.clientX:f._pointerEvent||(f.touchStartX=O.originalEvent.touches[0].clientX)},E=function(O){f._pointerEvent&&ht[O.originalEvent.pointerType.toUpperCase()]&&(f.touchDeltaX=O.originalEvent.clientX-f.touchStartX),f._handleSwipe(),f._config.pause==="hover"&&(f.pause(),f.touchTimeout&&clearTimeout(f.touchTimeout),f.touchTimeout=setTimeout(function(W){return f.cycle(W)},500+f._config.interval))};o.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(O){return O.preventDefault()}),this._pointerEvent?(o.default(this._element).on("pointerdown.bs.carousel",function(O){return _(O)}),o.default(this._element).on("pointerup.bs.carousel",function(O){return E(O)}),this._element.classList.add("pointer-event")):(o.default(this._element).on("touchstart.bs.carousel",function(O){return _(O)}),o.default(this._element).on("touchmove.bs.carousel",function(O){return function(W){f.touchDeltaX=W.originalEvent.touches&&W.originalEvent.touches.length>1?0:W.originalEvent.touches[0].clientX-f.touchStartX}(O)}),o.default(this._element).on("touchend.bs.carousel",function(O){return E(O)}))}},x._keydown=function(f){if(!/input|textarea/i.test(f.target.tagName))switch(f.which){case 37:f.preventDefault(),this.prev();break;case 39:f.preventDefault(),this.next()}},x._getItemIndex=function(f){return this._items=f&&f.parentNode?[].slice.call(f.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(f)},x._getItemByDirection=function(f,_){var E=f===ne,O=f===te,W=this._getItemIndex(_),se=this._items.length-1;if((O&&W===0||E&&W===se)&&!this._config.wrap)return _;var be=(W+(f===te?-1:1))%this._items.length;return be===-1?this._items[this._items.length-1]:this._items[be]},x._triggerSlideEvent=function(f,_){var E=this._getItemIndex(f),O=this._getItemIndex(this._element.querySelector(xe)),W=o.default.Event("slide.bs.carousel",{relatedTarget:f,direction:_,from:O,to:E});return o.default(this._element).trigger(W),W},x._setActiveIndicatorElement=function(f){if(this._indicatorsElement){var _=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));o.default(_).removeClass(ce);var E=this._indicatorsElement.children[this._getItemIndex(f)];E&&o.default(E).addClass(ce)}},x._updateInterval=function(){var f=this._activeElement||this._element.querySelector(xe);if(f){var _=parseInt(f.getAttribute("data-interval"),10);_?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=_):this._config.interval=this._config.defaultInterval||this._config.interval}},x._slide=function(f,_){var E,O,W,se=this,be=this._element.querySelector(xe),He=this._getItemIndex(be),Me=_||be&&this._getItemByDirection(f,be),ct=this._getItemIndex(Me),qt=!!this._interval;if(f===ne?(E="carousel-item-left",O="carousel-item-next",W="left"):(E="carousel-item-right",O="carousel-item-prev",W="right"),Me&&o.default(Me).hasClass(ce))this._isSliding=!1;else if(!this._triggerSlideEvent(Me,W).isDefaultPrevented()&&be&&Me){this._isSliding=!0,qt&&this.pause(),this._setActiveIndicatorElement(Me),this._activeElement=Me;var gn=o.default.Event(ge,{relatedTarget:Me,direction:W,from:He,to:ct});if(o.default(this._element).hasClass("slide")){o.default(Me).addClass(O),k.reflow(Me),o.default(be).addClass(E),o.default(Me).addClass(E);var In=k.getTransitionDurationFromElement(be);o.default(be).one(k.TRANSITION_END,function(){o.default(Me).removeClass(E+" "+O).addClass(ce),o.default(be).removeClass("active "+O+" "+E),se._isSliding=!1,setTimeout(function(){return o.default(se._element).trigger(gn)},0)}).emulateTransitionEnd(In)}else o.default(be).removeClass(ce),o.default(Me).addClass(ce),this._isSliding=!1,o.default(this._element).trigger(gn);qt&&this.cycle()}},j._jQueryInterface=function(f){return this.each(function(){var _=o.default(this).data(G),E=y({},it,o.default(this).data());typeof f=="object"&&(E=y({},E,f));var O=typeof f=="string"?f:E.slide;if(_||(_=new j(this,E),o.default(this).data(G,_)),typeof f=="number")_.to(f);else if(typeof O=="string"){if(typeof _[O]>"u")throw new TypeError('No method named "'+O+'"');_[O]()}else E.interval&&E.ride&&(_.pause(),_.cycle())})},j._dataApiClickHandler=function(f){var _=k.getSelectorFromElement(this);if(_){var E=o.default(_)[0];if(E&&o.default(E).hasClass("carousel")){var O=y({},o.default(E).data(),o.default(this).data()),W=this.getAttribute("data-slide-to");W&&(O.interval=!1),j._jQueryInterface.call(o.default(E),O),W&&o.default(E).data(G).to(W),f.preventDefault()}}},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return it}}]),j}();o.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",rt._dataApiClickHandler),o.default(window).on("load.bs.carousel.data-api",function(){for(var j=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),x=0,f=j.length;x<f;x++){var _=o.default(j[x]);rt._jQueryInterface.call(_,_.data())}}),o.default.fn[ee]=rt._jQueryInterface,o.default.fn[ee].Constructor=rt,o.default.fn[ee].noConflict=function(){return o.default.fn[ee]=he,rt._jQueryInterface};var We="collapse",pe="bs.collapse",je=o.default.fn[We],De="show",Ge="collapse",Je="collapsing",pt="collapsed",et="width",Qe='[data-toggle="collapse"]',q={toggle:!0,parent:""},de={toggle:"boolean",parent:"(string|element)"},Re=function(){function j(f,_){this._isTransitioning=!1,this._element=f,this._config=this._getConfig(_),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+f.id+'"],[data-toggle="collapse"][data-target="#'+f.id+'"]'));for(var E=[].slice.call(document.querySelectorAll(Qe)),O=0,W=E.length;O<W;O++){var se=E[O],be=k.getSelectorFromElement(se),He=[].slice.call(document.querySelectorAll(be)).filter(function(Me){return Me===f});be!==null&&He.length>0&&(this._selector=be,this._triggerArray.push(se))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var x=j.prototype;return x.toggle=function(){o.default(this._element).hasClass(De)?this.hide():this.show()},x.show=function(){var f,_,E=this;if(!(this._isTransitioning||o.default(this._element).hasClass(De)||(this._parent&&(f=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(He){return typeof E._config.parent=="string"?He.getAttribute("data-parent")===E._config.parent:He.classList.contains(Ge)})).length===0&&(f=null),f&&(_=o.default(f).not(this._selector).data(pe))&&_._isTransitioning))){var O=o.default.Event("show.bs.collapse");if(o.default(this._element).trigger(O),!O.isDefaultPrevented()){f&&(j._jQueryInterface.call(o.default(f).not(this._selector),"hide"),_||o.default(f).data(pe,null));var W=this._getDimension();o.default(this._element).removeClass(Ge).addClass(Je),this._element.style[W]=0,this._triggerArray.length&&o.default(this._triggerArray).removeClass(pt).attr("aria-expanded",!0),this.setTransitioning(!0);var se="scroll"+(W[0].toUpperCase()+W.slice(1)),be=k.getTransitionDurationFromElement(this._element);o.default(this._element).one(k.TRANSITION_END,function(){o.default(E._element).removeClass(Je).addClass("collapse show"),E._element.style[W]="",E.setTransitioning(!1),o.default(E._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(be),this._element.style[W]=this._element[se]+"px"}}},x.hide=function(){var f=this;if(!this._isTransitioning&&o.default(this._element).hasClass(De)){var _=o.default.Event("hide.bs.collapse");if(o.default(this._element).trigger(_),!_.isDefaultPrevented()){var E=this._getDimension();this._element.style[E]=this._element.getBoundingClientRect()[E]+"px",k.reflow(this._element),o.default(this._element).addClass(Je).removeClass("collapse show");var O=this._triggerArray.length;if(O>0)for(var W=0;W<O;W++){var se=this._triggerArray[W],be=k.getSelectorFromElement(se);be!==null&&(o.default([].slice.call(document.querySelectorAll(be))).hasClass(De)||o.default(se).addClass(pt).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[E]="";var He=k.getTransitionDurationFromElement(this._element);o.default(this._element).one(k.TRANSITION_END,function(){f.setTransitioning(!1),o.default(f._element).removeClass(Je).addClass(Ge).trigger("hidden.bs.collapse")}).emulateTransitionEnd(He)}}},x.setTransitioning=function(f){this._isTransitioning=f},x.dispose=function(){o.default.removeData(this._element,pe),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},x._getConfig=function(f){return(f=y({},q,f)).toggle=!!f.toggle,k.typeCheckConfig(We,f,de),f},x._getDimension=function(){return o.default(this._element).hasClass(et)?et:"height"},x._getParent=function(){var f,_=this;k.isElement(this._config.parent)?(f=this._config.parent,typeof this._config.parent.jquery<"u"&&(f=this._config.parent[0])):f=document.querySelector(this._config.parent);var E='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',O=[].slice.call(f.querySelectorAll(E));return o.default(O).each(function(W,se){_._addAriaAndCollapsedClass(j._getTargetFromElement(se),[se])}),f},x._addAriaAndCollapsedClass=function(f,_){var E=o.default(f).hasClass(De);_.length&&o.default(_).toggleClass(pt,!E).attr("aria-expanded",E)},j._getTargetFromElement=function(f){var _=k.getSelectorFromElement(f);return _?document.querySelector(_):null},j._jQueryInterface=function(f){return this.each(function(){var _=o.default(this),E=_.data(pe),O=y({},q,_.data(),typeof f=="object"&&f?f:{});if(!E&&O.toggle&&typeof f=="string"&&/show|hide/.test(f)&&(O.toggle=!1),E||(E=new j(this,O),_.data(pe,E)),typeof f=="string"){if(typeof E[f]>"u")throw new TypeError('No method named "'+f+'"');E[f]()}})},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return q}}]),j}();o.default(document).on("click.bs.collapse.data-api",Qe,function(j){j.currentTarget.tagName==="A"&&j.preventDefault();var x=o.default(this),f=k.getSelectorFromElement(this),_=[].slice.call(document.querySelectorAll(f));o.default(_).each(function(){var E=o.default(this),O=E.data(pe)?"toggle":x.data();Re._jQueryInterface.call(E,O)})}),o.default.fn[We]=Re._jQueryInterface,o.default.fn[We].Constructor=Re,o.default.fn[We].noConflict=function(){return o.default.fn[We]=je,Re._jQueryInterface};var tt="dropdown",Pe="bs.dropdown",xt=o.default.fn[tt],En=new RegExp("38|40|27"),un="disabled",lt="show",Et="dropdown-menu-right",Ki="hide.bs.dropdown",Gi="hidden.bs.dropdown",yi="click.bs.dropdown.data-api",wt="keydown.bs.dropdown.data-api",Ot='[data-toggle="dropdown"]',Kt=".dropdown-menu",ve={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},ut={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},It=function(){function j(f,_){this._element=f,this._popper=null,this._config=this._getConfig(_),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var x=j.prototype;return x.toggle=function(){if(!this._element.disabled&&!o.default(this._element).hasClass(un)){var f=o.default(this._menu).hasClass(lt);j._clearMenus(),f||this.show(!0)}},x.show=function(f){if(f===void 0&&(f=!1),!(this._element.disabled||o.default(this._element).hasClass(un)||o.default(this._menu).hasClass(lt))){var _={relatedTarget:this._element},E=o.default.Event("show.bs.dropdown",_),O=j._getParentFromElement(this._element);if(o.default(O).trigger(E),!E.isDefaultPrevented()){if(!this._inNavbar&&f){if(typeof v.default>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var W=this._element;this._config.reference==="parent"?W=O:k.isElement(this._config.reference)&&(W=this._config.reference,typeof this._config.reference.jquery<"u"&&(W=this._config.reference[0])),this._config.boundary!=="scrollParent"&&o.default(O).addClass("position-static"),this._popper=new v.default(W,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&o.default(O).closest(".navbar-nav").length===0&&o.default(document.body).children().on("mouseover",null,o.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),o.default(this._menu).toggleClass(lt),o.default(O).toggleClass(lt).trigger(o.default.Event("shown.bs.dropdown",_))}}},x.hide=function(){if(!this._element.disabled&&!o.default(this._element).hasClass(un)&&o.default(this._menu).hasClass(lt)){var f={relatedTarget:this._element},_=o.default.Event(Ki,f),E=j._getParentFromElement(this._element);o.default(E).trigger(_),_.isDefaultPrevented()||(this._popper&&this._popper.destroy(),o.default(this._menu).toggleClass(lt),o.default(E).toggleClass(lt).trigger(o.default.Event(Gi,f)))}},x.dispose=function(){o.default.removeData(this._element,Pe),o.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,this._popper!==null&&(this._popper.destroy(),this._popper=null)},x.update=function(){this._inNavbar=this._detectNavbar(),this._popper!==null&&this._popper.scheduleUpdate()},x._addEventListeners=function(){var f=this;o.default(this._element).on("click.bs.dropdown",function(_){_.preventDefault(),_.stopPropagation(),f.toggle()})},x._getConfig=function(f){return f=y({},this.constructor.Default,o.default(this._element).data(),f),k.typeCheckConfig(tt,f,this.constructor.DefaultType),f},x._getMenuElement=function(){if(!this._menu){var f=j._getParentFromElement(this._element);f&&(this._menu=f.querySelector(Kt))}return this._menu},x._getPlacement=function(){var f=o.default(this._element.parentNode),_="bottom-start";return f.hasClass("dropup")?_=o.default(this._menu).hasClass(Et)?"top-end":"top-start":f.hasClass("dropright")?_="right-start":f.hasClass("dropleft")?_="left-start":o.default(this._menu).hasClass(Et)&&(_="bottom-end"),_},x._detectNavbar=function(){return o.default(this._element).closest(".navbar").length>0},x._getOffset=function(){var f=this,_={};return typeof this._config.offset=="function"?_.fn=function(E){return E.offsets=y({},E.offsets,f._config.offset(E.offsets,f._element)),E}:_.offset=this._config.offset,_},x._getPopperConfig=function(){var f={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return this._config.display==="static"&&(f.modifiers.applyStyle={enabled:!1}),y({},f,this._config.popperConfig)},j._jQueryInterface=function(f){return this.each(function(){var _=o.default(this).data(Pe);if(_||(_=new j(this,typeof f=="object"?f:null),o.default(this).data(Pe,_)),typeof f=="string"){if(typeof _[f]>"u")throw new TypeError('No method named "'+f+'"');_[f]()}})},j._clearMenus=function(f){if(!f||f.which!==3&&(f.type!=="keyup"||f.which===9))for(var _=[].slice.call(document.querySelectorAll(Ot)),E=0,O=_.length;E<O;E++){var W=j._getParentFromElement(_[E]),se=o.default(_[E]).data(Pe),be={relatedTarget:_[E]};if(f&&f.type==="click"&&(be.clickEvent=f),se){var He=se._menu;if(o.default(W).hasClass(lt)&&!(f&&(f.type==="click"&&/input|textarea/i.test(f.target.tagName)||f.type==="keyup"&&f.which===9)&&o.default.contains(W,f.target))){var Me=o.default.Event(Ki,be);o.default(W).trigger(Me),Me.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),_[E].setAttribute("aria-expanded","false"),se._popper&&se._popper.destroy(),o.default(He).removeClass(lt),o.default(W).removeClass(lt).trigger(o.default.Event(Gi,be)))}}}},j._getParentFromElement=function(f){var _,E=k.getSelectorFromElement(f);return E&&(_=document.querySelector(E)),_||f.parentNode},j._dataApiKeydownHandler=function(f){if(!(/input|textarea/i.test(f.target.tagName)?f.which===32||f.which!==27&&(f.which!==40&&f.which!==38||o.default(f.target).closest(Kt).length):!En.test(f.which))&&!this.disabled&&!o.default(this).hasClass(un)){var _=j._getParentFromElement(this),E=o.default(_).hasClass(lt);if(E||f.which!==27){if(f.preventDefault(),f.stopPropagation(),!E||f.which===27||f.which===32)return f.which===27&&o.default(_.querySelector(Ot)).trigger("focus"),void o.default(this).trigger("click");var O=[].slice.call(_.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(se){return o.default(se).is(":visible")});if(O.length!==0){var W=O.indexOf(f.target);f.which===38&&W>0&&W--,f.which===40&&W<O.length-1&&W++,W<0&&(W=0),O[W].focus()}}}},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return ve}},{key:"DefaultType",get:function(){return ut}}]),j}();o.default(document).on(wt,Ot,It._dataApiKeydownHandler).on(wt,Kt,It._dataApiKeydownHandler).on(yi+" keyup.bs.dropdown.data-api",It._clearMenus).on(yi,Ot,function(j){j.preventDefault(),j.stopPropagation(),It._jQueryInterface.call(o.default(this),"toggle")}).on(yi,".dropdown form",function(j){j.stopPropagation()}),o.default.fn[tt]=It._jQueryInterface,o.default.fn[tt].Constructor=It,o.default.fn[tt].noConflict=function(){return o.default.fn[tt]=xt,It._jQueryInterface};var Yn="bs.modal",Lr=o.default.fn.modal,wi="modal-open",Gt="fade",jt="show",Tt="modal-static",Rt="hidden.bs.modal",Jt="show.bs.modal",Kn="focusin.bs.modal",Tn="resize.bs.modal",Gn="click.dismiss.bs.modal",Ci="keydown.dismiss.bs.modal",Ji="mousedown.dismiss.bs.modal",Zt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",$t={backdrop:!0,keyboard:!0,focus:!0,show:!0},Zi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},fn=function(){function j(f,_){this._config=this._getConfig(_),this._element=f,this._dialog=f.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var x=j.prototype;return x.toggle=function(f){return this._isShown?this.hide():this.show(f)},x.show=function(f){var _=this;if(!this._isShown&&!this._isTransitioning){var E=o.default.Event(Jt,{relatedTarget:f});o.default(this._element).trigger(E),E.isDefaultPrevented()||(this._isShown=!0,o.default(this._element).hasClass(Gt)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o.default(this._element).on(Gn,'[data-dismiss="modal"]',function(O){return _.hide(O)}),o.default(this._dialog).on(Ji,function(){o.default(_._element).one("mouseup.dismiss.bs.modal",function(O){o.default(O.target).is(_._element)&&(_._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return _._showElement(f)}))}},x.hide=function(f){var _=this;if(f&&f.preventDefault(),this._isShown&&!this._isTransitioning){var E=o.default.Event("hide.bs.modal");if(o.default(this._element).trigger(E),this._isShown&&!E.isDefaultPrevented()){this._isShown=!1;var O=o.default(this._element).hasClass(Gt);if(O&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o.default(document).off(Kn),o.default(this._element).removeClass(jt),o.default(this._element).off(Gn),o.default(this._dialog).off(Ji),O){var W=k.getTransitionDurationFromElement(this._element);o.default(this._element).one(k.TRANSITION_END,function(se){return _._hideModal(se)}).emulateTransitionEnd(W)}else this._hideModal()}}},x.dispose=function(){[window,this._element,this._dialog].forEach(function(f){return o.default(f).off(".bs.modal")}),o.default(document).off(Kn),o.default.removeData(this._element,Yn),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},x.handleUpdate=function(){this._adjustDialog()},x._getConfig=function(f){return f=y({},$t,f),k.typeCheckConfig("modal",f,Zi),f},x._triggerBackdropTransition=function(){var f=this,_=o.default.Event("hidePrevented.bs.modal");if(o.default(this._element).trigger(_),!_.isDefaultPrevented()){var E=this._element.scrollHeight>document.documentElement.clientHeight;E||(this._element.style.overflowY="hidden"),this._element.classList.add(Tt);var O=k.getTransitionDurationFromElement(this._dialog);o.default(this._element).off(k.TRANSITION_END),o.default(this._element).one(k.TRANSITION_END,function(){f._element.classList.remove(Tt),E||o.default(f._element).one(k.TRANSITION_END,function(){f._element.style.overflowY=""}).emulateTransitionEnd(f._element,O)}).emulateTransitionEnd(O),this._element.focus()}},x._showElement=function(f){var _=this,E=o.default(this._element).hasClass(Gt),O=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),o.default(this._dialog).hasClass("modal-dialog-scrollable")&&O?O.scrollTop=0:this._element.scrollTop=0,E&&k.reflow(this._element),o.default(this._element).addClass(jt),this._config.focus&&this._enforceFocus();var W=o.default.Event("shown.bs.modal",{relatedTarget:f}),se=function(){_._config.focus&&_._element.focus(),_._isTransitioning=!1,o.default(_._element).trigger(W)};if(E){var be=k.getTransitionDurationFromElement(this._dialog);o.default(this._dialog).one(k.TRANSITION_END,se).emulateTransitionEnd(be)}else se()},x._enforceFocus=function(){var f=this;o.default(document).off(Kn).on(Kn,function(_){document!==_.target&&f._element!==_.target&&o.default(f._element).has(_.target).length===0&&f._element.focus()})},x._setEscapeEvent=function(){var f=this;this._isShown?o.default(this._element).on(Ci,function(_){f._config.keyboard&&_.which===27?(_.preventDefault(),f.hide()):f._config.keyboard||_.which!==27||f._triggerBackdropTransition()}):this._isShown||o.default(this._element).off(Ci)},x._setResizeEvent=function(){var f=this;this._isShown?o.default(window).on(Tn,function(_){return f.handleUpdate(_)}):o.default(window).off(Tn)},x._hideModal=function(){var f=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){o.default(document.body).removeClass(wi),f._resetAdjustments(),f._resetScrollbar(),o.default(f._element).trigger(Rt)})},x._removeBackdrop=function(){this._backdrop&&(o.default(this._backdrop).remove(),this._backdrop=null)},x._showBackdrop=function(f){var _=this,E=o.default(this._element).hasClass(Gt)?Gt:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",E&&this._backdrop.classList.add(E),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on(Gn,function(be){_._ignoreBackdropClick?_._ignoreBackdropClick=!1:be.target===be.currentTarget&&(_._config.backdrop==="static"?_._triggerBackdropTransition():_.hide())}),E&&k.reflow(this._backdrop),o.default(this._backdrop).addClass(jt),!f)return;if(!E)return void f();var O=k.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(k.TRANSITION_END,f).emulateTransitionEnd(O)}else if(!this._isShown&&this._backdrop){o.default(this._backdrop).removeClass(jt);var W=function(){_._removeBackdrop(),f&&f()};if(o.default(this._element).hasClass(Gt)){var se=k.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(k.TRANSITION_END,W).emulateTransitionEnd(se)}else W()}else f&&f()},x._adjustDialog=function(){var f=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&f&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!f&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},x._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},x._checkScrollbar=function(){var f=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(f.left+f.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},x._setScrollbar=function(){var f=this;if(this._isBodyOverflowing){var _=[].slice.call(document.querySelectorAll(Zt)),E=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(_).each(function(se,be){var He=be.style.paddingRight,Me=o.default(be).css("padding-right");o.default(be).data("padding-right",He).css("padding-right",parseFloat(Me)+f._scrollbarWidth+"px")}),o.default(E).each(function(se,be){var He=be.style.marginRight,Me=o.default(be).css("margin-right");o.default(be).data("margin-right",He).css("margin-right",parseFloat(Me)-f._scrollbarWidth+"px")});var O=document.body.style.paddingRight,W=o.default(document.body).css("padding-right");o.default(document.body).data("padding-right",O).css("padding-right",parseFloat(W)+this._scrollbarWidth+"px")}o.default(document.body).addClass(wi)},x._resetScrollbar=function(){var f=[].slice.call(document.querySelectorAll(Zt));o.default(f).each(function(O,W){var se=o.default(W).data("padding-right");o.default(W).removeData("padding-right"),W.style.paddingRight=se||""});var _=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(_).each(function(O,W){var se=o.default(W).data("margin-right");typeof se<"u"&&o.default(W).css("margin-right",se).removeData("margin-right")});var E=o.default(document.body).data("padding-right");o.default(document.body).removeData("padding-right"),document.body.style.paddingRight=E||""},x._getScrollbarWidth=function(){var f=document.createElement("div");f.className="modal-scrollbar-measure",document.body.appendChild(f);var _=f.getBoundingClientRect().width-f.clientWidth;return document.body.removeChild(f),_},j._jQueryInterface=function(f,_){return this.each(function(){var E=o.default(this).data(Yn),O=y({},$t,o.default(this).data(),typeof f=="object"&&f?f:{});if(E||(E=new j(this,O),o.default(this).data(Yn,E)),typeof f=="string"){if(typeof E[f]>"u")throw new TypeError('No method named "'+f+'"');E[f](_)}else O.show&&E.show(_)})},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return $t}}]),j}();o.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(j){var x,f=this,_=k.getSelectorFromElement(this);_&&(x=document.querySelector(_));var E=o.default(x).data(Yn)?"toggle":y({},o.default(x).data(),o.default(this).data());this.tagName!=="A"&&this.tagName!=="AREA"||j.preventDefault();var O=o.default(x).one(Jt,function(W){W.isDefaultPrevented()||O.one(Rt,function(){o.default(f).is(":visible")&&f.focus()})});fn._jQueryInterface.call(o.default(x),E,this)}),o.default.fn.modal=fn._jQueryInterface,o.default.fn.modal.Constructor=fn,o.default.fn.modal.noConflict=function(){return o.default.fn.modal=Lr,fn._jQueryInterface};var vt=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ft=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ei=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function $i(j,x,f){if(j.length===0)return j;if(f&&typeof f=="function")return f(j);for(var _=new window.DOMParser().parseFromString(j,"text/html"),E=Object.keys(x),O=[].slice.call(_.body.querySelectorAll("*")),W=function(He,Me){var ct=O[He],qt=ct.nodeName.toLowerCase();if(E.indexOf(ct.nodeName.toLowerCase())===-1)return ct.parentNode.removeChild(ct),"continue";var gn=[].slice.call(ct.attributes),In=[].concat(x["*"]||[],x[qt]||[]);gn.forEach(function(cr){(function(Di,dr){var Li=Di.nodeName.toLowerCase();if(dr.indexOf(Li)!==-1)return vt.indexOf(Li)===-1||!!(ft.test(Di.nodeValue)||Ei.test(Di.nodeValue));for(var hr=dr.filter(function(pr){return pr instanceof RegExp}),Pi=0,jr=hr.length;Pi<jr;Pi++)if(hr[Pi].test(Li))return!0;return!1})(cr,In)||ct.removeAttribute(cr.nodeName)})},se=0,be=O.length;se<be;se++)W(se);return _.body.innerHTML}var Ti="tooltip",Jn="bs.tooltip",cn=o.default.fn.tooltip,dn=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ki=["sanitize","whiteList","sanitizeFn"],en="fade",Zn="show",kn="show",Si="out",Sn="hover",er="focus",Pr={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},tr={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Or={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},hn={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Ht=function(){function j(f,_){if(typeof v.default>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=f,this.config=this._getConfig(_),this.tip=null,this._setListeners()}var x=j.prototype;return x.enable=function(){this._isEnabled=!0},x.disable=function(){this._isEnabled=!1},x.toggleEnabled=function(){this._isEnabled=!this._isEnabled},x.toggle=function(f){if(this._isEnabled)if(f){var _=this.constructor.DATA_KEY,E=o.default(f.currentTarget).data(_);E||(E=new this.constructor(f.currentTarget,this._getDelegateConfig()),o.default(f.currentTarget).data(_,E)),E._activeTrigger.click=!E._activeTrigger.click,E._isWithActiveTrigger()?E._enter(null,E):E._leave(null,E)}else{if(o.default(this.getTipElement()).hasClass(Zn))return void this._leave(null,this);this._enter(null,this)}},x.dispose=function(){clearTimeout(this._timeout),o.default.removeData(this.element,this.constructor.DATA_KEY),o.default(this.element).off(this.constructor.EVENT_KEY),o.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&o.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},x.show=function(){var f=this;if(o.default(this.element).css("display")==="none")throw new Error("Please use show on visible elements");var _=o.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o.default(this.element).trigger(_);var E=k.findShadowRoot(this.element),O=o.default.contains(E!==null?E:this.element.ownerDocument.documentElement,this.element);if(_.isDefaultPrevented()||!O)return;var W=this.getTipElement(),se=k.getUID(this.constructor.NAME);W.setAttribute("id",se),this.element.setAttribute("aria-describedby",se),this.setContent(),this.config.animation&&o.default(W).addClass(en);var be=typeof this.config.placement=="function"?this.config.placement.call(this,W,this.element):this.config.placement,He=this._getAttachment(be);this.addAttachmentClass(He);var Me=this._getContainer();o.default(W).data(this.constructor.DATA_KEY,this),o.default.contains(this.element.ownerDocument.documentElement,this.tip)||o.default(W).appendTo(Me),o.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new v.default(this.element,W,this._getPopperConfig(He)),o.default(W).addClass(Zn),o.default(W).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&o.default(document.body).children().on("mouseover",null,o.default.noop);var ct=function(){f.config.animation&&f._fixTransition();var gn=f._hoverState;f._hoverState=null,o.default(f.element).trigger(f.constructor.Event.SHOWN),gn===Si&&f._leave(null,f)};if(o.default(this.tip).hasClass(en)){var qt=k.getTransitionDurationFromElement(this.tip);o.default(this.tip).one(k.TRANSITION_END,ct).emulateTransitionEnd(qt)}else ct()}},x.hide=function(f){var _=this,E=this.getTipElement(),O=o.default.Event(this.constructor.Event.HIDE),W=function(){_._hoverState!==kn&&E.parentNode&&E.parentNode.removeChild(E),_._cleanTipClass(),_.element.removeAttribute("aria-describedby"),o.default(_.element).trigger(_.constructor.Event.HIDDEN),_._popper!==null&&_._popper.destroy(),f&&f()};if(o.default(this.element).trigger(O),!O.isDefaultPrevented()){if(o.default(E).removeClass(Zn),"ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,o.default(this.tip).hasClass(en)){var se=k.getTransitionDurationFromElement(E);o.default(E).one(k.TRANSITION_END,W).emulateTransitionEnd(se)}else W();this._hoverState=""}},x.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},x.isWithContent=function(){return!!this.getTitle()},x.addAttachmentClass=function(f){o.default(this.getTipElement()).addClass("bs-tooltip-"+f)},x.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},x.setContent=function(){var f=this.getTipElement();this.setElementContent(o.default(f.querySelectorAll(".tooltip-inner")),this.getTitle()),o.default(f).removeClass("fade show")},x.setElementContent=function(f,_){typeof _!="object"||!_.nodeType&&!_.jquery?this.config.html?(this.config.sanitize&&(_=$i(_,this.config.whiteList,this.config.sanitizeFn)),f.html(_)):f.text(_):this.config.html?o.default(_).parent().is(f)||f.empty().append(_):f.text(o.default(_).text())},x.getTitle=function(){var f=this.element.getAttribute("data-original-title");return f||(f=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),f},x._getPopperConfig=function(f){var _=this;return y({},{placement:f,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(E){E.originalPlacement!==E.placement&&_._handlePopperPlacementChange(E)},onUpdate:function(E){return _._handlePopperPlacementChange(E)}},this.config.popperConfig)},x._getOffset=function(){var f=this,_={};return typeof this.config.offset=="function"?_.fn=function(E){return E.offsets=y({},E.offsets,f.config.offset(E.offsets,f.element)),E}:_.offset=this.config.offset,_},x._getContainer=function(){return this.config.container===!1?document.body:k.isElement(this.config.container)?o.default(this.config.container):o.default(document).find(this.config.container)},x._getAttachment=function(f){return Pr[f.toUpperCase()]},x._setListeners=function(){var f=this;this.config.trigger.split(" ").forEach(function(_){if(_==="click")o.default(f.element).on(f.constructor.Event.CLICK,f.config.selector,function(W){return f.toggle(W)});else if(_!=="manual"){var E=_===Sn?f.constructor.Event.MOUSEENTER:f.constructor.Event.FOCUSIN,O=_===Sn?f.constructor.Event.MOUSELEAVE:f.constructor.Event.FOCUSOUT;o.default(f.element).on(E,f.config.selector,function(W){return f._enter(W)}).on(O,f.config.selector,function(W){return f._leave(W)})}}),this._hideModalHandler=function(){f.element&&f.hide()},o.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=y({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},x._fixTitle=function(){var f=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||f!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},x._enter=function(f,_){var E=this.constructor.DATA_KEY;(_=_||o.default(f.currentTarget).data(E))||(_=new this.constructor(f.currentTarget,this._getDelegateConfig()),o.default(f.currentTarget).data(E,_)),f&&(_._activeTrigger[f.type==="focusin"?er:Sn]=!0),o.default(_.getTipElement()).hasClass(Zn)||_._hoverState===kn?_._hoverState=kn:(clearTimeout(_._timeout),_._hoverState=kn,_.config.delay&&_.config.delay.show?_._timeout=setTimeout(function(){_._hoverState===kn&&_.show()},_.config.delay.show):_.show())},x._leave=function(f,_){var E=this.constructor.DATA_KEY;(_=_||o.default(f.currentTarget).data(E))||(_=new this.constructor(f.currentTarget,this._getDelegateConfig()),o.default(f.currentTarget).data(E,_)),f&&(_._activeTrigger[f.type==="focusout"?er:Sn]=!1),_._isWithActiveTrigger()||(clearTimeout(_._timeout),_._hoverState=Si,_.config.delay&&_.config.delay.hide?_._timeout=setTimeout(function(){_._hoverState===Si&&_.hide()},_.config.delay.hide):_.hide())},x._isWithActiveTrigger=function(){for(var f in this._activeTrigger)if(this._activeTrigger[f])return!0;return!1},x._getConfig=function(f){var _=o.default(this.element).data();return Object.keys(_).forEach(function(E){ki.indexOf(E)!==-1&&delete _[E]}),typeof(f=y({},this.constructor.Default,_,typeof f=="object"&&f?f:{})).delay=="number"&&(f.delay={show:f.delay,hide:f.delay}),typeof f.title=="number"&&(f.title=f.title.toString()),typeof f.content=="number"&&(f.content=f.content.toString()),k.typeCheckConfig(Ti,f,this.constructor.DefaultType),f.sanitize&&(f.template=$i(f.template,f.whiteList,f.sanitizeFn)),f},x._getDelegateConfig=function(){var f={};if(this.config)for(var _ in this.config)this.constructor.Default[_]!==this.config[_]&&(f[_]=this.config[_]);return f},x._cleanTipClass=function(){var f=o.default(this.getTipElement()),_=f.attr("class").match(dn);_!==null&&_.length&&f.removeClass(_.join(""))},x._handlePopperPlacementChange=function(f){this.tip=f.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(f.placement))},x._fixTransition=function(){var f=this.getTipElement(),_=this.config.animation;f.getAttribute("x-placement")===null&&(o.default(f).removeClass(en),this.config.animation=!1,this.hide(),this.show(),this.config.animation=_)},j._jQueryInterface=function(f){return this.each(function(){var _=o.default(this),E=_.data(Jn),O=typeof f=="object"&&f;if((E||!/dispose|hide/.test(f))&&(E||(E=new j(this,O),_.data(Jn,E)),typeof f=="string")){if(typeof E[f]>"u")throw new TypeError('No method named "'+f+'"');E[f]()}})},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return tr}},{key:"NAME",get:function(){return Ti}},{key:"DATA_KEY",get:function(){return Jn}},{key:"Event",get:function(){return hn}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Or}}]),j}();o.default.fn.tooltip=Ht._jQueryInterface,o.default.fn.tooltip.Constructor=Ht,o.default.fn.tooltip.noConflict=function(){return o.default.fn.tooltip=cn,Ht._jQueryInterface};var Nn="bs.popover",Ni=o.default.fn.popover,$n=new RegExp("(^|\\s)bs-popover\\S+","g"),nr=y({},Ht.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Ir=y({},Ht.DefaultType,{content:"(string|element|function)"}),xn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},An=function(j){var x,f;function _(){return j.apply(this,arguments)||this}f=j,(x=_).prototype=Object.create(f.prototype),x.prototype.constructor=x,C(x,f);var E=_.prototype;return E.isWithContent=function(){return this.getTitle()||this._getContent()},E.addAttachmentClass=function(O){o.default(this.getTipElement()).addClass("bs-popover-"+O)},E.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},E.setContent=function(){var O=o.default(this.getTipElement());this.setElementContent(O.find(".popover-header"),this.getTitle());var W=this._getContent();typeof W=="function"&&(W=W.call(this.element)),this.setElementContent(O.find(".popover-body"),W),O.removeClass("fade show")},E._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},E._cleanTipClass=function(){var O=o.default(this.getTipElement()),W=O.attr("class").match($n);W!==null&&W.length>0&&O.removeClass(W.join(""))},_._jQueryInterface=function(O){return this.each(function(){var W=o.default(this).data(Nn),se=typeof O=="object"?O:null;if((W||!/dispose|hide/.test(O))&&(W||(W=new _(this,se),o.default(this).data(Nn,W)),typeof O=="string")){if(typeof W[O]>"u")throw new TypeError('No method named "'+O+'"');W[O]()}})},m(_,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return nr}},{key:"NAME",get:function(){return"popover"}},{key:"DATA_KEY",get:function(){return Nn}},{key:"Event",get:function(){return xn}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Ir}}]),_}(Ht);o.default.fn.popover=An._jQueryInterface,o.default.fn.popover.Constructor=An,o.default.fn.popover.noConflict=function(){return o.default.fn.popover=Ni,An._jQueryInterface};var Mt="scrollspy",ei="bs.scrollspy",ir=o.default.fn[Mt],tn="active",ti="position",rr=".nav, .list-group",or={offset:10,method:"auto",target:""},ar={offset:"number",method:"string",target:"(string|element)"},pn=function(){function j(f,_){var E=this;this._element=f,this._scrollElement=f.tagName==="BODY"?window:f,this._config=this._getConfig(_),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o.default(this._scrollElement).on("scroll.bs.scrollspy",function(O){return E._process(O)}),this.refresh(),this._process()}var x=j.prototype;return x.refresh=function(){var f=this,_=this._scrollElement===this._scrollElement.window?"offset":ti,E=this._config.method==="auto"?_:this._config.method,O=E===ti?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(W){var se,be=k.getSelectorFromElement(W);if(be&&(se=document.querySelector(be)),se){var He=se.getBoundingClientRect();if(He.width||He.height)return[o.default(se)[E]().top+O,be]}return null}).filter(Boolean).sort(function(W,se){return W[0]-se[0]}).forEach(function(W){f._offsets.push(W[0]),f._targets.push(W[1])})},x.dispose=function(){o.default.removeData(this._element,ei),o.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},x._getConfig=function(f){if(typeof(f=y({},or,typeof f=="object"&&f?f:{})).target!="string"&&k.isElement(f.target)){var _=o.default(f.target).attr("id");_||(_=k.getUID(Mt),o.default(f.target).attr("id",_)),f.target="#"+_}return k.typeCheckConfig(Mt,f,ar),f},x._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},x._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},x._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},x._process=function(){var f=this._getScrollTop()+this._config.offset,_=this._getScrollHeight(),E=this._config.offset+_-this._getOffsetHeight();if(this._scrollHeight!==_&&this.refresh(),f>=E){var O=this._targets[this._targets.length-1];this._activeTarget!==O&&this._activate(O)}else{if(this._activeTarget&&f<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var W=this._offsets.length;W--;)this._activeTarget!==this._targets[W]&&f>=this._offsets[W]&&(typeof this._offsets[W+1]>"u"||f<this._offsets[W+1])&&this._activate(this._targets[W])}},x._activate=function(f){this._activeTarget=f,this._clear();var _=this._selector.split(",").map(function(O){return O+'[data-target="'+f+'"],'+O+'[href="'+f+'"]'}),E=o.default([].slice.call(document.querySelectorAll(_.join(","))));E.hasClass("dropdown-item")?(E.closest(".dropdown").find(".dropdown-toggle").addClass(tn),E.addClass(tn)):(E.addClass(tn),E.parents(rr).prev(".nav-link, .list-group-item").addClass(tn),E.parents(rr).prev(".nav-item").children(".nav-link").addClass(tn)),o.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:f})},x._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(f){return f.classList.contains(tn)}).forEach(function(f){return f.classList.remove(tn)})},j._jQueryInterface=function(f){return this.each(function(){var _=o.default(this).data(ei);if(_||(_=new j(this,typeof f=="object"&&f),o.default(this).data(ei,_)),typeof f=="string"){if(typeof _[f]>"u")throw new TypeError('No method named "'+f+'"');_[f]()}})},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return or}}]),j}();o.default(window).on("load.bs.scrollspy.data-api",function(){for(var j=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),x=j.length;x--;){var f=o.default(j[x]);pn._jQueryInterface.call(f,f.data())}}),o.default.fn[Mt]=pn._jQueryInterface,o.default.fn[Mt].Constructor=pn,o.default.fn[Mt].noConflict=function(){return o.default.fn[Mt]=ir,pn._jQueryInterface};var Dn="bs.tab",sr=o.default.fn.tab,ot="active",nn="fade",Ln="show",lr=".active",ur="> li > .active",rn=function(){function j(f){this._element=f}var x=j.prototype;return x.show=function(){var f=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&o.default(this._element).hasClass(ot)||o.default(this._element).hasClass("disabled")||this._element.hasAttribute("disabled"))){var _,E,O=o.default(this._element).closest(".nav, .list-group")[0],W=k.getSelectorFromElement(this._element);if(O){var se=O.nodeName==="UL"||O.nodeName==="OL"?ur:lr;E=(E=o.default.makeArray(o.default(O).find(se)))[E.length-1]}var be=o.default.Event("hide.bs.tab",{relatedTarget:this._element}),He=o.default.Event("show.bs.tab",{relatedTarget:E});if(E&&o.default(E).trigger(be),o.default(this._element).trigger(He),!He.isDefaultPrevented()&&!be.isDefaultPrevented()){W&&(_=document.querySelector(W)),this._activate(this._element,O);var Me=function(){var ct=o.default.Event("hidden.bs.tab",{relatedTarget:f._element}),qt=o.default.Event("shown.bs.tab",{relatedTarget:E});o.default(E).trigger(ct),o.default(f._element).trigger(qt)};_?this._activate(_,_.parentNode,Me):Me()}}},x.dispose=function(){o.default.removeData(this._element,Dn),this._element=null},x._activate=function(f,_,E){var O=this,W=(!_||_.nodeName!=="UL"&&_.nodeName!=="OL"?o.default(_).children(lr):o.default(_).find(ur))[0],se=E&&W&&o.default(W).hasClass(nn),be=function(){return O._transitionComplete(f,W,E)};if(W&&se){var He=k.getTransitionDurationFromElement(W);o.default(W).removeClass(Ln).one(k.TRANSITION_END,be).emulateTransitionEnd(He)}else be()},x._transitionComplete=function(f,_,E){if(_){o.default(_).removeClass(ot);var O=o.default(_.parentNode).find("> .dropdown-menu .active")[0];O&&o.default(O).removeClass(ot),_.getAttribute("role")==="tab"&&_.setAttribute("aria-selected",!1)}o.default(f).addClass(ot),f.getAttribute("role")==="tab"&&f.setAttribute("aria-selected",!0),k.reflow(f),f.classList.contains(nn)&&f.classList.add(Ln);var W=f.parentNode;if(W&&W.nodeName==="LI"&&(W=W.parentNode),W&&o.default(W).hasClass("dropdown-menu")){var se=o.default(f).closest(".dropdown")[0];if(se){var be=[].slice.call(se.querySelectorAll(".dropdown-toggle"));o.default(be).addClass(ot)}f.setAttribute("aria-expanded",!0)}E&&E()},j._jQueryInterface=function(f){return this.each(function(){var _=o.default(this),E=_.data(Dn);if(E||(E=new j(this),_.data(Dn,E)),typeof f=="string"){if(typeof E[f]>"u")throw new TypeError('No method named "'+f+'"');E[f]()}})},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),j}();o.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(j){j.preventDefault(),rn._jQueryInterface.call(o.default(this),"show")}),o.default.fn.tab=rn._jQueryInterface,o.default.fn.tab.Constructor=rn,o.default.fn.tab.noConflict=function(){return o.default.fn.tab=sr,rn._jQueryInterface};var ni="bs.toast",ii=o.default.fn.toast,xi="hide",Pn="show",fr="showing",bt="click.dismiss.bs.toast",Ai={animation:!0,autohide:!0,delay:500},On={animation:"boolean",autohide:"boolean",delay:"number"},ri=function(){function j(f,_){this._element=f,this._config=this._getConfig(_),this._timeout=null,this._setListeners()}var x=j.prototype;return x.show=function(){var f=this,_=o.default.Event("show.bs.toast");if(o.default(this._element).trigger(_),!_.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var E=function(){f._element.classList.remove(fr),f._element.classList.add(Pn),o.default(f._element).trigger("shown.bs.toast"),f._config.autohide&&(f._timeout=setTimeout(function(){f.hide()},f._config.delay))};if(this._element.classList.remove(xi),k.reflow(this._element),this._element.classList.add(fr),this._config.animation){var O=k.getTransitionDurationFromElement(this._element);o.default(this._element).one(k.TRANSITION_END,E).emulateTransitionEnd(O)}else E()}},x.hide=function(){if(this._element.classList.contains(Pn)){var f=o.default.Event("hide.bs.toast");o.default(this._element).trigger(f),f.isDefaultPrevented()||this._close()}},x.dispose=function(){this._clearTimeout(),this._element.classList.contains(Pn)&&this._element.classList.remove(Pn),o.default(this._element).off(bt),o.default.removeData(this._element,ni),this._element=null,this._config=null},x._getConfig=function(f){return f=y({},Ai,o.default(this._element).data(),typeof f=="object"&&f?f:{}),k.typeCheckConfig("toast",f,this.constructor.DefaultType),f},x._setListeners=function(){var f=this;o.default(this._element).on(bt,'[data-dismiss="toast"]',function(){return f.hide()})},x._close=function(){var f=this,_=function(){f._element.classList.add(xi),o.default(f._element).trigger("hidden.bs.toast")};if(this._element.classList.remove(Pn),this._config.animation){var E=k.getTransitionDurationFromElement(this._element);o.default(this._element).one(k.TRANSITION_END,_).emulateTransitionEnd(E)}else _()},x._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},j._jQueryInterface=function(f){return this.each(function(){var _=o.default(this),E=_.data(ni);if(E||(E=new j(this,typeof f=="object"&&f),_.data(ni,E)),typeof f=="string"){if(typeof E[f]>"u")throw new TypeError('No method named "'+f+'"');E[f](this)}})},m(j,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"DefaultType",get:function(){return On}},{key:"Default",get:function(){return Ai}}]),j}();o.default.fn.toast=ri._jQueryInterface,o.default.fn.toast.Constructor=ri,o.default.fn.toast.noConflict=function(){return o.default.fn.toast=ii,ri._jQueryInterface},i.Alert=B,i.Button=l,i.Carousel=rt,i.Collapse=Re,i.Dropdown=It,i.Modal=fn,i.Popover=An,i.Scrollspy=pn,i.Tab=rn,i.Toast=ri,i.Tooltip=Ht,i.Util=k,Object.defineProperty(i,"__esModule",{value:!0})})})(Vo,Vo.exports);const is="/assets/gob-header-117c52e7.svg",Jo=t=>typeof t>"u",rs=t=>typeof t=="function",os=t=>typeof t=="number";function Wl(t){return!t.defaultPrevented&&t.button===0&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function as(){let t=0;return()=>t++}function Ul(){return Math.random().toString(36).substring(2)}const Cn=typeof window>"u";function ss(t,n,i){return t.addEventListener(n,i),()=>t.removeEventListener(n,i)}const ls=(t,n)=>t?{}:{style:n},uo=t=>({"aria-hidden":"true",...ls(t,"display:none;")}),li=[];function Vl(t,n){return{subscribe:Dt(t,n).subscribe}}function Dt(t,n=qe){let i;const a=new Set;function c(v){if(Ke(t,v)&&(t=v,i)){const g=!li.length;for(const m of a)m[1](),li.push(m,t);if(g){for(let m=0;m<li.length;m+=2)li[m][0](li[m+1]);li.length=0}}}function d(v){c(v(t))}function o(v,g=qe){const m=[v,g];return a.add(m),a.size===1&&(i=n(c)||qe),v(t),()=>{a.delete(m),a.size===0&&i&&(i(),i=null)}}return{set:c,update:d,subscribe:o}}function us(t,n,i){const a=!Array.isArray(t),c=a?[t]:t,d=n.length<2;return Vl(i,o=>{let v=!1;const g=[];let m=0,y=qe;const C=()=>{if(m)return;y();const k=n(a?g[0]:g,o);d?o(k):y=Bi(k)?k:qe},P=c.map((k,D)=>mo(k,I=>{g[D]=I,m&=~(1<<D),v&&C()},()=>{m|=1<<D}));return v=!0,C(),function(){yt(P),y(),v=!1}})}const Xi=t=>`@@svnav-ctx__${t}`,fo=Xi("LOCATION"),Wn=Xi("ROUTER"),fs=Xi("ROUTE"),zl=Xi("ROUTE_PARAMS"),Ql=Xi("FOCUS_ELEM"),cs=/^:(.+)/,Ri=(t,n,i)=>t.substr(n,i),co=(t,n)=>Ri(t,0,n.length)===n,Xl=t=>t==="",Yl=t=>cs.test(t),ds=t=>t[0]==="*",Kl=t=>t.replace(/\*.*$/,""),hs=t=>t.replace(/(^\/+|\/+$)/g,"");function Qt(t,n=!1){const i=hs(t).split("/");return n?i.filter(Boolean):i}const Jr=(t,n)=>t+(n?`?${n}`:""),Co=t=>`/${hs(t)}`;function Yi(...t){const n=a=>Qt(a,!0).join("/"),i=t.map(n).join("/");return Co(i)}const Eo=1,Dr=2,Un=3,Gl=4,ps=5,gs=6,ms=7,Jl=8,Zl=9,vs=10,bs=11,$l={[Eo]:"Link",[Dr]:"Route",[Un]:"Router",[Gl]:"useFocus",[ps]:"useLocation",[gs]:"useMatch",[ms]:"useNavigate",[Jl]:"useParams",[Zl]:"useResolvable",[vs]:"useResolve",[bs]:"navigate"},To=t=>$l[t];function eu(t,n){let i;return t===Dr?i=n.path?`path="${n.path}"`:"default":t===Eo?i=`to="${n.to}"`:t===Un&&(i=`basepath="${n.basepath||""}"`),`<${To(t)} ${i||""} />`}function tu(t,n,i,a){const c=i&&eu(a||t,i),d=c?`
|
||
|
||
Occurred in: ${c}`:"",o=To(t),v=rs(n)?n(o):n;return`<${o}> ${v}${d}`}const _s=t=>(...n)=>t(tu(...n)),ys=_s(t=>{throw new Error(t)}),Sr=_s(console.warn),Zo=4,nu=3,iu=2,ru=1,ou=1;function au(t,n){const i=t.default?0:Qt(t.fullPath).reduce((a,c)=>{let d=a;return d+=Zo,Xl(c)?d+=ou:Yl(c)?d+=iu:ds(c)?d-=Zo+ru:d+=nu,d},0);return{route:t,score:i,index:n}}function su(t){return t.map(au).sort((n,i)=>n.score<i.score?1:n.score>i.score?-1:n.index-i.index)}function ws(t,n){let i,a;const[c]=n.split("?"),d=Qt(c),o=d[0]==="",v=su(t);for(let g=0,m=v.length;g<m;g++){const{route:y}=v[g];let C=!1;const P={},k=H=>({...y,params:P,uri:H});if(y.default){a=k(n);continue}const D=Qt(y.fullPath),I=Math.max(d.length,D.length);let B=0;for(;B<I;B++){const H=D[B],K=d[B];if(!Jo(H)&&ds(H)){const oe=H==="*"?"*":H.slice(1);P[oe]=d.slice(B).map(decodeURIComponent).join("/");break}if(Jo(K)){C=!0;break}const J=cs.exec(H);if(J&&!o){const oe=decodeURIComponent(K);P[J[1]]=oe}else if(H!==K){C=!0;break}}if(!C){i=k(Yi(...d.slice(0,B)));break}}return i||a||null}function ko(t,n){return ws([t],n)}function lu(t,n){if(co(t,"/"))return t;const[i,a]=t.split("?"),[c]=n.split("?"),d=Qt(i),o=Qt(c);if(d[0]==="")return Jr(c,a);if(!co(d[0],".")){const m=o.concat(d).join("/");return Jr((c==="/"?"":"/")+m,a)}const v=o.concat(d),g=[];return v.forEach(m=>{m===".."?g.pop():m!=="."&&g.push(m)}),Jr(`/${g.join("/")}`,a)}function ho(t,n){const{pathname:i,hash:a="",search:c="",state:d}=t,o=Qt(n,!0),v=Qt(i,!0);for(;o.length;)o[0]!==v[0]&&ys(Un,`Invalid state: All locations must begin with the basepath "${n}", found "${i}"`),o.shift(),v.shift();return{pathname:Yi(...v),hash:a,search:c,state:d}}const $o=t=>t.length===1?"":t,So=t=>{const n=t.indexOf("?"),i=t.indexOf("#"),a=n!==-1,c=i!==-1,d=c?$o(Ri(t,i)):"",o=c?Ri(t,0,i):t,v=a?$o(Ri(o,n)):"";return{pathname:(a?Ri(o,0,n):o)||"/",search:v,hash:d}},uu=t=>{const{pathname:n,search:i,hash:a}=t;return n+i+a};function fu(t,n,i){return Yi(i,lu(t,n))}function cu(t,n){const i=Co(Kl(t)),a=Qt(i,!0),c=Qt(n,!0).slice(0,a.length),d=ko({fullPath:i},Yi(...c));return d&&d.uri}const Zr="POP",du="PUSH",hu="REPLACE";function $r(t){return{...t.location,pathname:encodeURI(decodeURI(t.location.pathname)),state:t.history.state,_key:t.history.state&&t.history.state._key||"initial"}}function No(t){let n=[],i=$r(t),a=Zr;const c=(d=n)=>d.forEach(o=>o({location:i,action:a}));return{get location(){return i},listen(d){n.push(d);const o=()=>{i=$r(t),a=Zr,c([d])};c([d]);const v=ss(t,"popstate",o);return()=>{v(),n=n.filter(g=>g!==d)}},navigate(d,o){const{state:v={},replace:g=!1}=o||{};if(a=g?hu:du,os(d))o&&Sr(bs,"Navigation options (state or replace) are not supported, when passing a number as the first argument to navigate. They are ignored."),a=Zr,t.history.go(d);else{const m={...v,_key:Ul()};try{t.history[g?"replaceState":"pushState"](m,"",d)}catch{t.location[g?"replace":"assign"](d)}}i=$r(t),c()}}}function eo(t,n){return{...So(n),state:t}}function pu(t="/"){let n=0,i=[eo(null,t)];return{get entries(){return i},get location(){return i[n]},addEventListener(){},removeEventListener(){},history:{get state(){return i[n].state},pushState(a,c,d){n++,i=i.slice(0,n),i.push(eo(a,d))},replaceState(a,c,d){i[n]=eo(a,d)},go(a){const c=n+a;c<0||c>i.length-1||(n=c)}}}}const gu=!!(!Cn&&window.document&&window.document.createElement),mu=!Cn&&window.location.origin==="null",vu=No(gu&&!mu?window:pu());let sn=null,Cs=!0;function bu(t,n){const i=document.querySelectorAll("[data-svnav-router]");for(let a=0;a<i.length;a++){const c=i[a],d=Number(c.dataset.svnavRouter);if(d===t)return!0;if(d===n)return!1}return!1}function _u(t){(!sn||t.level>sn.level||t.level===sn.level&&bu(t.routerId,sn.routerId))&&(sn=t)}function yu(){sn=null}function wu(){Cs=!1}function ea(t){if(!t)return!1;const n="tabindex";try{if(!t.hasAttribute(n)){t.setAttribute(n,"-1");let i;i=ss(t,"blur",()=>{t.removeAttribute(n),i()})}return t.focus(),document.activeElement===t}catch{return!1}}function Cu(t,n){return Number(t.dataset.svnavRouteEnd)===n}function Eu(t){return/^H[1-6]$/i.test(t.tagName)}function ta(t,n=document){return n.querySelector(t)}function Tu(t){let i=ta(`[data-svnav-route-start="${t}"]`).nextElementSibling;for(;!Cu(i,t);){if(Eu(i))return i;const a=ta("h1,h2,h3,h4,h5,h6",i);if(a)return a;i=i.nextElementSibling}return null}function ku(t){Promise.resolve(di(t.focusElement)).then(n=>{const i=n||Tu(t.id);i||Sr(Un,`Could not find an element to focus. You should always render a header for accessibility reasons, or set a custom focus element via the "useFocus" hook. If you don't want this Route or Router to manage focus, pass "primary={false}" to it.`,t,Dr),!ea(i)&&ea(document.documentElement)})}const Su=(t,n,i)=>(a,c)=>Js().then(()=>{if(!sn||Cs){wu();return}if(a&&ku(sn.route),t.announcements&&c){const{path:d,fullPath:o,meta:v,params:g,uri:m}=sn.route,y=t.createAnnouncement({path:d,fullPath:o,meta:v,params:g,uri:m},di(i));Promise.resolve(y).then(C=>{n.set(C)})}yu()}),Nu="position:fixed;top:-1px;left:0;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;";function xu(t){let n,i,a=[{role:"status"},{"aria-atomic":"true"},{"aria-live":"polite"},{"data-svnav-announcer":""},ls(t[6],Nu)],c={};for(let d=0;d<a.length;d+=1)c=Pt(c,a[d]);return{c(){n=V("div"),i=Ie(t[0]),hi(n,c)},m(d,o){ae(d,n,o),R(n,i)},p(d,o){o[0]&1&&Ys(i,d[0],c.contenteditable)},d(d){d&&re(n)}}}function Au(t){let n,i,a,c,d,o=[uo(t[6]),{"data-svnav-router":t[3]}],v={};for(let C=0;C<o.length;C+=1)v=Pt(v,o[C]);const g=t[22].default,m=Mn(g,t,t[21],null);let y=t[2]&&t[4]&&t[1].announcements&&xu(t);return{c(){n=V("div"),i=fe(),m&&m.c(),a=fe(),y&&y.c(),c=Vn(),hi(n,v)},m(C,P){ae(C,n,P),ae(C,i,P),m&&m.m(C,P),ae(C,a,P),y&&y.m(C,P),ae(C,c,P),d=!0},p(C,P){m&&m.p&&(!d||P[0]&2097152)&&Fn(m,g,C,C[21],d?qn(g,C[21],P,null):Bn(C[21]),null),C[2]&&C[4]&&C[1].announcements&&y.p(C,P)},i(C){d||(_e(m,C),d=!0)},o(C){we(m,C),d=!1},d(C){C&&re(n),C&&re(i),m&&m.d(C),C&&re(a),y&&y.d(C),C&&re(c)}}}const Du=as(),na="/";function Lu(t,n,i){let a,c,d,o,v,{$$slots:g={},$$scope:m}=n,{basepath:y=na}=n,{url:C=null}=n,{history:P=vu}=n,{primary:k=!0}=n,{a11y:D={}}=n,{disableInlineStyles:I=!1}=n;const B={createAnnouncement:pe=>`Navigated to ${pe.uri}`,announcements:!0,...D},H=y,K=Co(y),J=ln(fo),oe=ln(Wn),Y=!J,$=Du(),l=k&&!(oe&&!oe.manageFocus),ee=Dt("");Ct(t,ee,pe=>i(0,v=pe));const G=oe?oe.disableInlineStyles:I,he=Dt([]);Ct(t,he,pe=>i(20,o=pe));const ce=Dt(null);Ct(t,ce,pe=>i(18,c=pe));let ne=!1;const te=Y?0:oe.level+1,xe=Y?Dt((()=>ho(Cn?So(C):P.location,K))()):J;Ct(t,xe,pe=>i(17,a=pe));const it=Dt(a);Ct(t,it,pe=>i(19,d=pe));const Ye=Su(B,ee,xe),ht=pe=>je=>je.filter(De=>De.id!==pe);function rt(pe){if(Cn){if(ne)return;const je=ko(pe,a.pathname);if(je)return ne=!0,je}else he.update(je=>{const De=ht(pe.id)(je);return De.push(pe),De})}function We(pe){he.update(ht(pe))}return!Y&&y!==na&&Sr(Un,'Only top-level Routers can have a "basepath" prop. It is ignored.',{basepath:y}),Y&&(ja(()=>P.listen(je=>{const De=ho(je.location,K);it.set(a),xe.set(De)})),Mi(fo,xe)),Mi(Wn,{activeRoute:ce,registerRoute:rt,unregisterRoute:We,manageFocus:l,level:te,id:$,history:Y?P:oe.history,basepath:Y?K:oe.basepath,disableInlineStyles:G}),t.$$set=pe=>{"basepath"in pe&&i(11,y=pe.basepath),"url"in pe&&i(12,C=pe.url),"history"in pe&&i(13,P=pe.history),"primary"in pe&&i(14,k=pe.primary),"a11y"in pe&&i(15,D=pe.a11y),"disableInlineStyles"in pe&&i(16,I=pe.disableInlineStyles),"$$scope"in pe&&i(21,m=pe.$$scope)},t.$$.update=()=>{if(t.$$.dirty[0]&2048&&y!==H&&Sr(Un,'You cannot change the "basepath" prop. It is ignored.'),t.$$.dirty[0]&1179648){const pe=ws(o,a.pathname);ce.set(pe)}if(t.$$.dirty[0]&655360&&Y){const pe=!!a.hash,je=!pe&&l,De=!pe||a.pathname!==d.pathname;Ye(je,De)}t.$$.dirty[0]&262144&&l&&c&&c.primary&&_u({level:te,routerId:$,route:c})},[v,B,Y,$,l,ee,G,he,ce,xe,it,y,C,P,k,D,I,a,c,d,o,m,g]}class Pu extends $e{constructor(n){super(),Ze(this,n,Lu,Au,Ke,{basepath:11,url:12,history:13,primary:14,a11y:15,disableInlineStyles:16},null,[-1,-1])}}const xo=Pu;function _i(t,n,i=Wn,a=Un){ln(i)||ys(t,d=>`You cannot use ${d} outside of a ${To(a)}.`,n)}const Ou=t=>{const{subscribe:n}=ln(t);return{subscribe:n}};function Ao(){return _i(ps),Ou(fo)}function Es(){const{history:t}=ln(Wn);return t}function Ts(){const t=ln(fs);return t?us(t,n=>n.base):Dt("/")}function Do(){_i(vs);const t=Ts(),{basepath:n}=ln(Wn);return a=>fu(a,di(t),n)}function Iu(){_i(ms);const t=Do(),{navigate:n}=Es();return(a,c)=>{const d=os(a)?a:t(a);return n(d,c)}}function ju(t){_i(gs);const n=Ao(),i=Do(),{basepath:a}=ln(Wn),c=i(t),{pathname:d}=ho({pathname:c},a);return us(n,o=>ko({fullPath:d,path:t},o.pathname))}const Ru=t=>({params:t&16,location:t&8}),ia=t=>({params:Cn?di(t[10]):t[4],location:t[3],navigate:t[11]});function ra(t){let n,i;return n=new xo({props:{primary:t[1],$$slots:{default:[qu]},$$scope:{ctx:t}}}),{c(){Ve(n.$$.fragment)},m(a,c){Fe(n,a,c),i=!0},p(a,c){const d={};c&2&&(d.primary=a[1]),c&528409&&(d.$$scope={dirty:c,ctx:a}),n.$set(d)},i(a){i||(_e(n.$$.fragment,a),i=!0)},o(a){we(n.$$.fragment,a),i=!1},d(a){Be(n,a)}}}function Hu(t){let n;const i=t[18].default,a=Mn(i,t,t[19],ia);return{c(){a&&a.c()},m(c,d){a&&a.m(c,d),n=!0},p(c,d){a&&a.p&&(!n||d&524312)&&Fn(a,i,c,c[19],n?qn(i,c[19],d,Ru):Bn(c[19]),ia)},i(c){n||(_e(a,c),n=!0)},o(c){we(a,c),n=!1},d(c){a&&a.d(c)}}}function Mu(t){let n,i,a;const c=[{location:t[3]},{navigate:t[11]},Cn?di(t[10]):t[4],t[12]];var d=t[0];function o(v){let g={};for(let m=0;m<c.length;m+=1)g=Pt(g,c[m]);return{props:g}}return d&&(n=pi(d,o())),{c(){n&&Ve(n.$$.fragment),i=Vn()},m(v,g){n&&Fe(n,v,g),ae(v,i,g),a=!0},p(v,g){const m=g&7192?Fa(c,[g&8&&{location:v[3]},g&2048&&{navigate:v[11]},g&1040&&Uo(Cn?di(v[10]):v[4]),g&4096&&Uo(v[12])]):{};if(g&1&&d!==(d=v[0])){if(n){Xt();const y=n;we(y.$$.fragment,1,0,()=>{Be(y,1)}),Yt()}d?(n=pi(d,o()),Ve(n.$$.fragment),_e(n.$$.fragment,1),Fe(n,i.parentNode,i)):n=null}else d&&n.$set(m)},i(v){a||(n&&_e(n.$$.fragment,v),a=!0)},o(v){n&&we(n.$$.fragment,v),a=!1},d(v){v&&re(i),n&&Be(n,v)}}}function qu(t){let n,i,a,c;const d=[Mu,Hu],o=[];function v(g,m){return g[0]!==null?0:1}return n=v(t),i=o[n]=d[n](t),{c(){i.c(),a=Vn()},m(g,m){o[n].m(g,m),ae(g,a,m),c=!0},p(g,m){let y=n;n=v(g),n===y?o[n].p(g,m):(Xt(),we(o[y],1,1,()=>{o[y]=null}),Yt(),i=o[n],i?i.p(g,m):(i=o[n]=d[n](g),i.c()),_e(i,1),i.m(a.parentNode,a))},i(g){c||(_e(i),c=!0)},o(g){we(i),c=!1},d(g){o[n].d(g),g&&re(a)}}}function Fu(t){let n,i,a,c,d,o=[uo(t[7]),{"data-svnav-route-start":t[5]}],v={};for(let C=0;C<o.length;C+=1)v=Pt(v,o[C]);let g=t[2]&&ra(t),m=[uo(t[7]),{"data-svnav-route-end":t[5]}],y={};for(let C=0;C<m.length;C+=1)y=Pt(y,m[C]);return{c(){n=V("div"),i=fe(),g&&g.c(),a=fe(),c=V("div"),hi(n,v),hi(c,y)},m(C,P){ae(C,n,P),ae(C,i,P),g&&g.m(C,P),ae(C,a,P),ae(C,c,P),d=!0},p(C,[P]){C[2]?g?(g.p(C,P),P&4&&_e(g,1)):(g=ra(C),g.c(),_e(g,1),g.m(a.parentNode,a)):g&&(Xt(),we(g,1,1,()=>{g=null}),Yt())},i(C){d||(_e(g),d=!0)},o(C){we(g),d=!1},d(C){C&&re(n),C&&re(i),g&&g.d(C),C&&re(a),C&&re(c)}}}const Bu=as();function Wu(t,n,i){let a;const c=["path","component","meta","primary"];let d=Er(n,c),o,v,g,m,{$$slots:y={},$$scope:C}=n,{path:P=""}=n,{component:k=null}=n,{meta:D={}}=n,{primary:I=!0}=n;_i(Dr,n);const B=Bu(),{registerRoute:H,unregisterRoute:K,activeRoute:J,disableInlineStyles:oe}=ln(Wn);Ct(t,J,ne=>i(16,o=ne));const Y=Ts();Ct(t,Y,ne=>i(17,g=ne));const $=Ao();Ct(t,$,ne=>i(3,v=ne));const l=Dt(null);let ee;const G=Dt(),he=Dt({});Ct(t,he,ne=>i(4,m=ne)),Mi(fs,G),Mi(zl,he),Mi(Ql,l);const ce=Iu();return Cn||Gs(()=>K(B)),t.$$set=ne=>{i(24,n=Pt(Pt({},n),Cr(ne))),i(12,d=Er(n,c)),"path"in ne&&i(13,P=ne.path),"component"in ne&&i(0,k=ne.component),"meta"in ne&&i(14,D=ne.meta),"primary"in ne&&i(1,I=ne.primary),"$$scope"in ne&&i(19,C=ne.$$scope)},t.$$.update=()=>{if(t.$$.dirty&155658){const ne=P==="",te=Yi(g,P),ge={id:B,path:P,meta:D,default:ne,fullPath:ne?"":te,base:ne?g:cu(te,v.pathname),primary:I,focusElement:l};G.set(ge),i(15,ee=H(ge))}if(t.$$.dirty&98304&&i(2,a=!!(ee||o&&o.id===B)),t.$$.dirty&98308&&a){const{params:ne}=ee||o;he.set(ne)}},n=Cr(n),[k,I,a,v,m,B,J,oe,Y,$,he,ce,d,P,D,ee,o,g,y,C]}class Uu extends $e{constructor(n){super(),Ze(this,n,Wu,Fu,Ke,{path:13,component:0,meta:14,primary:1})}}const ks=Uu;function Vu(t){let n,i,a,c;const d=t[13].default,o=Mn(d,t,t[12],null);let v=[{href:t[0]},t[2],t[1]],g={};for(let m=0;m<v.length;m+=1)g=Pt(g,v[m]);return{c(){n=V("a"),o&&o.c(),hi(n,g)},m(m,y){ae(m,n,y),o&&o.m(n,null),i=!0,a||(c=Xe(n,"click",t[4]),a=!0)},p(m,[y]){o&&o.p&&(!i||y&4096)&&Fn(o,d,m,m[12],i?qn(d,m[12],y,null):Bn(m[12]),null),hi(n,g=Fa(v,[(!i||y&1)&&{href:m[0]},y&4&&m[2],y&2&&m[1]]))},i(m){i||(_e(o,m),i=!0)},o(m){we(o,m),i=!1},d(m){m&&re(n),o&&o.d(m),a=!1,c()}}}function zu(t,n,i){let a,c,d,o,v,g;const m=["to","replace","state","getProps"];let y=Er(n,m),C,{$$slots:P={},$$scope:k}=n,{to:D}=n,{replace:I=!1}=n,{state:B={}}=n,{getProps:H=null}=n;_i(Eo,n);const K=Ao();Ct(t,K,l=>i(11,C=l));const J=Ui(),oe=Do(),{navigate:Y}=Es();function $(l){J("click",l),Wl(l)&&(l.preventDefault(),Y(a,{state:B,replace:o||I}))}return t.$$set=l=>{i(19,n=Pt(Pt({},n),Cr(l))),i(18,y=Er(n,m)),"to"in l&&i(5,D=l.to),"replace"in l&&i(6,I=l.replace),"state"in l&&i(7,B=l.state),"getProps"in l&&i(8,H=l.getProps),"$$scope"in l&&i(12,k=l.$$scope)},t.$$.update=()=>{t.$$.dirty&2080&&i(0,a=oe(D,C)),t.$$.dirty&2049&&i(10,c=co(C.pathname,a)),t.$$.dirty&2049&&i(9,d=a===C.pathname),t.$$.dirty&2049&&(o=So(a)===uu(C)),t.$$.dirty&512&&i(2,v=d?{"aria-current":"page"}:{}),i(1,g=(()=>{if(rs(H)){const l=H({location:C,href:a,isPartiallyCurrent:c,isCurrent:d});return{...y,...l}}return y})())},n=Cr(n),[a,g,v,K,$,D,I,B,H,d,c,C,k,P]}class Qu extends $e{constructor(n){super(),Ze(this,n,zu,Vu,Ke,{to:5,replace:6,state:7,getProps:8})}}const Lo=Qu,Qn="http://transporte.hz.kursor.cl/api",Xn=()=>sessionStorage.getItem("token")||null;async function Xu({username:t,password:n}){const i=await fetch(`${Qn}/auth/`,{method:"POST",body:JSON.stringify({username:t,password:n}),headers:{"Content-Type":"application/json"}});if(!i.ok)throw await i.text();return i.json()}async function Yu(){const t=await fetch(`${Qn}/auth/`,{headers:{Authorization:`Bearer ${Xn()}`,"Content-Type":"application/json"}});if(!t.ok)throw await t.text();return t.json()}function oa(t){let n,i;return{c(){n=V("div"),i=Ie(t[1]),N(n,"class","mb-3 text-danger")},m(a,c){ae(a,n,c),R(n,i)},p(a,c){c&2&&mt(i,a[1])},d(a){a&&re(n)}}}function Ku(t){let n;return{c(){n=Ie("Olvido su contraseña?")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function Gu(t){let n,i,a,c,d,o,v,g,m,y,C,P,k,D,I,B,H,K,J,oe,Y,$,l,ee,G,he,ce,ne,te=t[1]&&oa(t);return oe=new Lo({props:{to:"/recovery",$$slots:{default:[Ku]},$$scope:{ctx:t}}}),{c(){n=V("div"),i=V("div"),a=fe(),c=V("div"),d=V("div"),d.innerHTML='<h2 class="text-light">Acceso</h2>',o=fe(),v=V("div"),g=V("form"),m=V("div"),y=V("label"),y.textContent="Cuenta",C=fe(),P=V("input"),k=fe(),D=V("div"),I=V("label"),I.textContent="Contraseña",B=fe(),H=V("input"),K=fe(),te&&te.c(),J=fe(),Ve(oe.$$.fragment),Y=fe(),$=V("div"),l=V("button"),ee=V("span"),G=Ie(`
|
||
Ingresar al sistema`),yn(i,"margin-top","100px"),N(d,"class","card-detail-header bg-tertiary text-center p-3"),N(y,"class","form-label"),N(y,"for",null),N(P,"class","form-control form-control-lg"),N(P,"type","text"),P.required=!0,N(P,"placeholder","Ingrese su cuenta de usuario"),N(m,"class","mb-3"),N(I,"class","form-label"),N(I,"for",null),N(H,"class","form-control form-control-lg"),N(H,"type","password"),H.required=!0,N(H,"placeholder","Ingrese su contraseña"),N(D,"class","mb-3"),N(ee,"class","fa fa-key mr-3"),N(l,"type","submit"),N(l,"class","btn btn-tertiary"),l.disabled=t[2],N($,"class","text-center mt-3"),N(v,"class","card-detail-body"),N(c,"class","card-detail mb-4 m-auto"),yn(c,"width","400px"),N(n,"class","container p-4 bg-neutral"),yn(n,"height","100vh"),yn(n,"max-width","inherit")},m(ge,xe){ae(ge,n,xe),R(n,i),R(n,a),R(n,c),R(c,d),R(c,o),R(c,v),R(v,g),R(g,m),R(m,y),R(m,C),R(m,P),_n(P,t[0].username),R(g,k),R(g,D),R(D,I),R(D,B),R(D,H),_n(H,t[0].password),R(g,K),te&&te.m(g,null),R(g,J),Fe(oe,g,null),R(g,Y),R(g,$),R($,l),R(l,ee),R(l,G),he=!0,ce||(ne=[Xe(P,"input",t[4]),Xe(H,"input",t[5]),Xe(g,"submit",Lt(t[3]))],ce=!0)},p(ge,[xe]){xe&1&&P.value!==ge[0].username&&_n(P,ge[0].username),xe&1&&H.value!==ge[0].password&&_n(H,ge[0].password),ge[1]?te?te.p(ge,xe):(te=oa(ge),te.c(),te.m(g,J)):te&&(te.d(1),te=null);const it={};xe&64&&(it.$$scope={dirty:xe,ctx:ge}),oe.$set(it),(!he||xe&4)&&(l.disabled=ge[2])},i(ge){he||(_e(oe.$$.fragment,ge),he=!0)},o(ge){we(oe.$$.fragment,ge),he=!1},d(ge){ge&&re(n),te&&te.d(),Be(oe),ce=!1,yt(ne)}}}function Ju(t,n,i){let a={username:"",pass:""},c="",d=!1;async function o(){try{i(2,d=!0),i(1,c="");const{token:m}=await Xu(a);sessionStorage.setItem("token",m),document.location.reload()}catch(m){i(1,c=m.message||m),setTimeout(()=>i(1,c=""),3e3)}finally{i(2,d=!1)}}function v(){a.username=this.value,i(0,a)}function g(){a.password=this.value,i(0,a)}return[a,c,d,o,v,g]}class aa extends $e{constructor(n){super(),Ze(this,n,Ju,Gu,Ke,{})}}function Zu(t){let n;return{c(){n=Ie("En desarrollo")},m(i,a){ae(i,n,a)},p:qe,i:qe,o:qe,d(i){i&&re(n)}}}class $u extends $e{constructor(n){super(),Ze(this,n,null,Zu,Ke,{})}}function ef(t){let n;return{c(){n=Ie("En desarrollo")},m(i,a){ae(i,n,a)},p:qe,i:qe,o:qe,d(i){i&&re(n)}}}class tf extends $e{constructor(n){super(),Ze(this,n,null,ef,Ke,{})}}const sa=[{path:"/",component:aa},{path:"/recovery",component:$u},{path:"/new-password",component:tf},{path:"*",component:aa}];function Nr(){return Nr=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},Nr.apply(this,arguments)}var fi;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(fi||(fi={}));var la=function(t){return t},ua="beforeunload",nf="hashchange",rf="popstate";function of(t){t===void 0&&(t={});var n=t,i=n.window,a=i===void 0?document.defaultView:i,c=a.history;function d(){var ee=da(a.location.hash.substr(1)),G=ee.pathname,he=G===void 0?"/":G,ce=ee.search,ne=ce===void 0?"":ce,te=ee.hash,ge=te===void 0?"":te,xe=c.state||{};return[xe.idx,la({pathname:he,search:ne,hash:ge,state:xe.usr||null,key:xe.key||"default"})]}var o=null;function v(){if(o)k.call(o),o=null;else{var ee=fi.Pop,G=d(),he=G[0],ce=G[1];if(k.length){if(he!=null){var ne=y-he;ne&&(o={action:ee,location:ce,retry:function(){$(ne*-1)}},$(ne))}}else J(ee)}}a.addEventListener(rf,v),a.addEventListener(nf,function(){var ee=d(),G=ee[1];to(G)!==to(C)&&v()});var g=fi.Pop,m=d(),y=m[0],C=m[1],P=ca(),k=ca();y==null&&(y=0,c.replaceState(Nr({},c.state,{idx:y}),""));function D(){var ee=document.querySelector("base"),G="";if(ee&&ee.getAttribute("href")){var he=a.location.href,ce=he.indexOf("#");G=ce===-1?he:he.slice(0,ce)}return G}function I(ee){return D()+"#"+(typeof ee=="string"?ee:to(ee))}function B(ee,G){return G===void 0&&(G=null),la(Nr({pathname:C.pathname,hash:"",search:""},typeof ee=="string"?da(ee):ee,{state:G,key:af()}))}function H(ee,G){return[{usr:ee.state,key:ee.key,idx:G},I(ee)]}function K(ee,G,he){return!k.length||(k.call({action:ee,location:G,retry:he}),!1)}function J(ee){g=ee;var G=d();y=G[0],C=G[1],P.call({action:g,location:C})}function oe(ee,G){var he=fi.Push,ce=B(ee,G);function ne(){oe(ee,G)}if(K(he,ce,ne)){var te=H(ce,y+1),ge=te[0],xe=te[1];try{c.pushState(ge,"",xe)}catch{a.location.assign(xe)}J(he)}}function Y(ee,G){var he=fi.Replace,ce=B(ee,G);function ne(){Y(ee,G)}if(K(he,ce,ne)){var te=H(ce,y),ge=te[0],xe=te[1];c.replaceState(ge,"",xe),J(he)}}function $(ee){c.go(ee)}var l={get action(){return g},get location(){return C},createHref:I,push:oe,replace:Y,go:$,back:function(){$(-1)},forward:function(){$(1)},listen:function(G){return P.push(G)},block:function(G){var he=k.push(G);return k.length===1&&a.addEventListener(ua,fa),function(){he(),k.length||a.removeEventListener(ua,fa)}}};return l}function fa(t){t.preventDefault(),t.returnValue=""}function ca(){var t=[];return{get length(){return t.length},push:function(i){return t.push(i),function(){t=t.filter(function(a){return a!==i})}},call:function(i){t.forEach(function(a){return a&&a(i)})}}}function af(){return Math.random().toString(36).substr(2,8)}function to(t){var n=t.pathname,i=n===void 0?"/":n,a=t.search,c=a===void 0?"":a,d=t.hash,o=d===void 0?"":d;return c&&c!=="?"&&(i+=c.charAt(0)==="?"?c:"?"+c),o&&o!=="#"&&(i+=o.charAt(0)==="#"?o:"#"+o),i}function da(t){var n={};if(t){var i=t.indexOf("#");i>=0&&(n.hash=t.substr(i),t=t.substr(0,i));var a=t.indexOf("?");a>=0&&(n.search=t.substr(a),t=t.substr(0,a)),t&&(n.pathname=t)}return n}function Ss(){const t=of();let n=[];return t.listen(i=>{t.action==="POP"&&n.forEach(a=>a(i))}),{get location(){return t.location},addEventListener(i,a){i==="popstate"&&n.push(a)},removeEventListener(i,a){i==="popstate"&&(n=n.filter(c=>c!==a))},history:{get state(){return t.location.state},pushState(i,a,c){t.push(c,i)},replaceState(i,a,c){t.replace(c,i)},go(i){t.go(i)}}}}const sf="/assets/gob-footer-add35cf6.svg",lf="/assets/gob-footer-mobile-5c4f352d.svg";function uf(t){let n,i,a,c,d,o,v,g,m,y;return{c(){n=V("footer"),i=V("div"),a=V("a"),c=V("img"),o=fe(),v=V("img"),m=fe(),y=V("div"),y.innerHTML=`<div class="col-xl-8"><div class="row footer-links"><div class="col-md-6"><a href="#">Link 1</a></div>
|
||
<div class="col-md-6"><a href="#">Link 2</a></div>
|
||
<div class="col-md-6"><a href="#">Link 3</a></div>
|
||
<div class="col-md-6"><a href="#">Link 4</a></div>
|
||
<div class="col-md-6"><a href="#">Link 5</a></div>
|
||
<div class="col-md-6"><a href="#">Link 6</a></div></div></div>
|
||
<div class="col-xl-4 align-self-center"><a class="btn btn-primary btn-block" href="http://visitasguiadas.presidencia.cl/" target="_blank">Visita a La Moneda</a></div>`,N(c,"alt",""),N(c,"class","footer-default-logo"),qi(c.src,d=sf)||N(c,"src",d),N(v,"alt",""),N(v,"class","footer-mobile-logo"),qi(v.src,g=lf)||N(v,"src",g),N(a,"class","footer-logo"),N(a,"href","#"),N(y,"class","row"),N(i,"class","container")},m(C,P){ae(C,n,P),R(n,i),R(i,a),R(a,c),R(a,o),R(a,v),R(i,m),R(i,y)},p:qe,i:qe,o:qe,d(C){C&&re(n)}}}class Ns extends $e{constructor(n){super(),Ze(this,n,null,uf,Ke,{})}}function ha(t,n,i){const a=t.slice();return a[1]=n[i],a}function pa(t){let n,i;return n=new ks({props:{path:t[1].path,component:t[1].component}}),{c(){Ve(n.$$.fragment)},m(a,c){Fe(n,a,c),i=!0},p:qe,i(a){i||(_e(n.$$.fragment,a),i=!0)},o(a){we(n.$$.fragment,a),i=!1},d(a){Be(n,a)}}}function ff(t){let n,i,a,c,d,o,v,g,m,y,C,P=sa,k=[];for(let I=0;I<P.length;I+=1)k[I]=pa(ha(t,P,I));const D=I=>we(k[I],1,1,()=>{k[I]=null});return{c(){n=V("header"),i=V("nav"),a=V("div"),c=V("a"),d=V("img"),v=fe(),g=V("main"),m=V("div"),y=V("section");for(let I=0;I<k.length;I+=1)k[I].c();N(d,"alt",""),qi(d.src,o=is)||N(d,"src",o),N(c,"class","navbar-brand"),N(c,"href","/"),N(a,"class","container"),N(i,"class","navbar navbar-dark navbar-expand-lg navbar-lg"),N(y,"class","doc-section"),N(m,"class","container p-0 m-0"),yn(m,"max-width","inherit"),N(g,"class","m-0 p-0")},m(I,B){ae(I,n,B),R(n,i),R(i,a),R(a,c),R(c,d),ae(I,v,B),ae(I,g,B),R(g,m),R(m,y);for(let H=0;H<k.length;H+=1)k[H]&&k[H].m(y,null);C=!0},p(I,B){if(B&0){P=sa;let H;for(H=0;H<P.length;H+=1){const K=ha(I,P,H);k[H]?(k[H].p(K,B),_e(k[H],1)):(k[H]=pa(K),k[H].c(),_e(k[H],1),k[H].m(y,null))}for(Xt(),H=P.length;H<k.length;H+=1)D(H);Yt()}},i(I){if(!C){for(let B=0;B<P.length;B+=1)_e(k[B]);C=!0}},o(I){k=k.filter(Boolean);for(let B=0;B<k.length;B+=1)we(k[B]);C=!1},d(I){I&&re(n),I&&re(v),I&&re(g),xr(k,I)}}}function cf(t){let n,i,a,c,d,o,v,g;return d=new xo({props:{history:t[0],primary:!1,$$slots:{default:[ff]},$$scope:{ctx:t}}}),v=new Ns({}),{c(){n=V("link"),i=V("link"),a=V("link"),c=fe(),Ve(d.$$.fragment),o=fe(),Ve(v.$$.fragment),document.title="Gestión Transporte",N(n,"type","text/css"),N(n,"rel","stylesheet"),N(n,"href","https://fonts.googleapis.com/css?family=Roboto:300,400"),N(i,"type","text/css"),N(i,"rel","stylesheet"),N(i,"href","https://fonts.googleapis.com/css?family=Roboto+Slab:300,400"),N(a,"rel","stylesheet"),N(a,"href","/fontawesome/css/all.min.css")},m(m,y){R(document.head,n),R(document.head,i),R(document.head,a),ae(m,c,y),Fe(d,m,y),ae(m,o,y),Fe(v,m,y),g=!0},p(m,[y]){const C={};y&16&&(C.$$scope={dirty:y,ctx:m}),d.$set(C)},i(m){g||(_e(d.$$.fragment,m),_e(v.$$.fragment,m),g=!0)},o(m){we(d.$$.fragment,m),we(v.$$.fragment,m),g=!1},d(m){re(n),re(i),re(a),m&&re(c),Be(d,m),m&&re(o),Be(v,m)}}}function df(t){return[No(Ss())]}class hf extends $e{constructor(n){super(),Ze(this,n,df,cf,Ke,{})}}const pf="/assets/gob-icon-4248147a.svg";function gf(t){let n,i,a,c,d,o,v;const g=t[1].default,m=Mn(g,t,t[0],null);return{c(){n=V("header"),i=V("div"),a=V("img"),d=fe(),o=V("h2"),m&&m.c(),qi(a.src,c=pf)||N(a,"src",c),N(a,"alt",""),N(a,"class","d-absolute svelte-166chh5"),N(o,"class","svelte-166chh5"),N(i,"class","svelte-166chh5"),N(n,"class","doc-section-header")},m(y,C){ae(y,n,C),R(n,i),R(i,a),R(i,d),R(i,o),m&&m.m(o,null),v=!0},p(y,[C]){m&&m.p&&(!v||C&1)&&Fn(m,g,y,y[0],v?qn(g,y[0],C,null):Bn(y[0]),null)},i(y){v||(_e(m,y),v=!0)},o(y){we(m,y),v=!1},d(y){y&&re(n),m&&m.d(y)}}}function mf(t,n,i){let{$$slots:a={},$$scope:c}=n;return t.$$set=d=>{"$$scope"in d&&i(0,c=d.$$scope)},[c,a]}class Po extends $e{constructor(n){super(),Ze(this,n,mf,gf,Ke,{})}}function vf(t){let n;return{c(){n=Ie("Inicio")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function bf(t){let n,i,a,c;return n=new Po({props:{$$slots:{default:[vf]},$$scope:{ctx:t}}}),{c(){Ve(n.$$.fragment),i=fe(),a=V("div"),a.innerHTML=`<div class="col-12"><div class="card"><div class="card-header"><h5 class="card-title mb-0">Empty card</h5></div>
|
||
<div class="card-body"></div></div></div>`,N(a,"class","row")},m(d,o){Fe(n,d,o),ae(d,i,o),ae(d,a,o),c=!0},p(d,[o]){const v={};o&1&&(v.$$scope={dirty:o,ctx:d}),n.$set(v)},i(d){c||(_e(n.$$.fragment,d),c=!0)},o(d){we(n.$$.fragment,d),c=!1},d(d){Be(n,d),d&&re(i),d&&re(a)}}}class _f extends $e{constructor(n){super(),Ze(this,n,null,bf,Ke,{})}}const po=Dt({});function yf(t){let n;return{c(){n=Ie("Perfil de usuario")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function wf(t){let n,i,a,c,d,o,v,g,m,y=t[0].nombres+"",C,P,k,D,I,B=t[0].apellido_a+"",H,K,J=t[0].apellido_b+"",oe,Y,$,l,ee,G;return n=new Po({props:{$$slots:{default:[yf]},$$scope:{ctx:t}}}),{c(){Ve(n.$$.fragment),i=fe(),a=V("div"),c=V("div"),c.innerHTML=`<img class="profile-image" alt="" src="https://via.placeholder.com/112x117.jpg?text=Foto"/>
|
||
<section class="section"><div class="section-body"><p>Twitter del perfil: <br/>
|
||
@twitter</p></div></section>`,d=fe(),o=V("div"),v=V("section"),g=V("div"),m=V("h3"),C=Ie(y),P=fe(),k=V("div"),k.innerHTML='<a class="link-icon" href="#"><i class="cl cl-facebook"></i></a><a class="link-icon" href="#"><i class="cl cl-twitter"></i></a>',D=fe(),I=V("div"),H=Ie(B),K=fe(),oe=Ie(J),Y=fe(),$=V("div"),$.innerHTML=`<p>Vestibulum
|
||
volutpat lacus ac magna ullamcorper, id semper sem aliquam. Donec
|
||
vestibulum turpis mi, sed ullamcorper lorem feugiat sed. Praesent
|
||
ut fringilla dolor. Sed viverra posuere felis eu ullamcorper.</p>
|
||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>`,l=fe(),ee=V("div"),ee.innerHTML=`<section class="section"><div class="section-header"><h6 class="pb-2 border-bottom border-accent">Información de contacto:</h6></div>
|
||
<div class="section-body"><p class="mb-1">Sitio Web: <a href="http://wwww.example.com">http://wwww.example.com</a></p>
|
||
<p class="mb-1">Twitter: @twitter</p>
|
||
<p class="mb-2">Facebook: facebook/ejemplo</p><a class="btn btn-primary btn-block" href="#">Ir al
|
||
sitio</a></div></section>`,N(c,"class","profile-header"),N(m,"class","pb-2 border-bottom border-accent"),N(k,"class","section-icons"),N(I,"class","profile-charge"),N(g,"class","section-header with-profile-charge"),N($,"class","section-body"),N(v,"class","section"),N(o,"class","profile-body"),N(ee,"class","profile-footer"),N(a,"class","profile-section")},m(he,ce){Fe(n,he,ce),ae(he,i,ce),ae(he,a,ce),R(a,c),R(a,d),R(a,o),R(o,v),R(v,g),R(g,m),R(m,C),R(g,P),R(g,k),R(g,D),R(g,I),R(I,H),R(I,K),R(I,oe),R(v,Y),R(v,$),R(a,l),R(a,ee),G=!0},p(he,[ce]){const ne={};ce&4&&(ne.$$scope={dirty:ce,ctx:he}),n.$set(ne),(!G||ce&1)&&y!==(y=he[0].nombres+"")&&mt(C,y),(!G||ce&1)&&B!==(B=he[0].apellido_a+"")&&mt(H,B),(!G||ce&1)&&J!==(J=he[0].apellido_b+"")&&mt(oe,J)},i(he){G||(_e(n.$$.fragment,he),G=!0)},o(he){we(n.$$.fragment,he),G=!1},d(he){Be(n,he),he&&re(i),he&&re(a)}}}function Cf(t,n,i){let a;Ct(t,po,d=>i(1,a=d));let c={};return t.$$.update=()=>{t.$$.dirty&2&&i(0,c=a.persona||{}),t.$$.dirty&1&&console.log({persona:c})},[c,a]}class Ef extends $e{constructor(n){super(),Ze(this,n,Cf,wf,Ke,{})}}function Tf(t){let n;return{c(){n=Ie("NO EXISTE")},m(i,a){ae(i,n,a)},p:qe,i:qe,o:qe,d(i){i&&re(n)}}}let kf=class extends $e{constructor(n){super(),Ze(this,n,null,Tf,Ke,{})}};function Sf(t){let n,i,a,c,d,o;return{c(){n=V("li"),i=V("a"),a=Ie(t[5]),N(i,"role","button"),N(i,"class",t[1]),N(i,"href",t[4]),N(i,"tabindex","0"),N(i,"aria-label",t[2]),N(i,"aria-current",t[6]),N(n,"class",c=zt(t[0])+" svelte-5wvubo")},m(v,g){ae(v,n,g),R(n,i),R(i,a),d||(o=[Xe(i,"click",t[11]),Xe(i,"keypress",function(){Bi(t[3])&&t[3].apply(this,arguments)})],d=!0)},p(v,[g]){t=v,g&32&&mt(a,t[5]),g&2&&N(i,"class",t[1]),g&16&&N(i,"href",t[4]),g&4&&N(i,"aria-label",t[2]),g&64&&N(i,"aria-current",t[6]),g&1&&c!==(c=zt(t[0])+" svelte-5wvubo")&&N(n,"class",c)},i:qe,o:qe,d(v){v&&re(n),d=!1,yt(o)}}}function Nf(t,n,i){let{onClick:a=null}=n,{selected:c=!1}=n,{pageClassName:d=""}=n,{pageLinkClassName:o=""}=n,{activeClassName:v=""}=n,{activeLinkClassName:g=""}=n,{extraAriaContext:m=""}=n,{href:y=""}=n,{ariaLabel:C=""}=n,{page:P=0}=n,k={pageClassName:d,pageLinkClassName:o,activeClassName:v,activeLinkClassName:g},D=null;function I(B){Ra.call(this,t,B)}return t.$$set=B=>{"onClick"in B&&i(3,a=B.onClick),"selected"in B&&i(9,c=B.selected),"pageClassName"in B&&i(0,d=B.pageClassName),"pageLinkClassName"in B&&i(1,o=B.pageLinkClassName),"activeClassName"in B&&i(7,v=B.activeClassName),"activeLinkClassName"in B&&i(8,g=B.activeLinkClassName),"extraAriaContext"in B&&i(10,m=B.extraAriaContext),"href"in B&&i(4,y=B.href),"ariaLabel"in B&&i(2,C=B.ariaLabel),"page"in B&&i(5,P=B.page)},t.$$.update=()=>{t.$$.dirty&1060&&i(2,C=C||"Page "+P+(m?" "+m:"")),t.$$.dirty&512&&(c||(i(1,o=k.pageLinkClassName),i(0,d=k.pageClassName),i(7,v=k.activeClassName),i(8,g=k.activeLinkClassName))),t.$$.dirty&935&&c&&(i(6,D="page"),i(2,C=C||"Page "+P+" is your current page"),typeof d<"u"?i(0,d=d+" "+v):i(0,d=v),typeof o<"u"?typeof g<"u"&&i(1,o=o+" "+g):i(1,o=g))},[d,o,C,a,y,P,D,v,g,c,m,I]}class ga extends $e{constructor(n){super(),Ze(this,n,Nf,Sf,Ke,{onClick:3,selected:9,pageClassName:0,pageLinkClassName:1,activeClassName:7,activeLinkClassName:8,extraAriaContext:10,href:4,ariaLabel:2,page:5})}}function xf(t){let n,i,a,c,d,o;return{c(){n=V("li"),i=V("a"),a=Ie(t[0]),N(i,"class",t[1]),N(i,"role","button"),N(i,"tabindex","0"),N(n,"class",c=zt(t[3])+" svelte-5wvubo")},m(v,g){ae(v,n,g),R(n,i),R(i,a),d||(o=[Xe(i,"click",t[5]),Xe(i,"keypress",function(){Bi(t[2])&&t[2].apply(this,arguments)})],d=!0)},p(v,[g]){t=v,g&1&&mt(a,t[0]),g&2&&N(i,"class",t[1]),g&8&&c!==(c=zt(t[3])+" svelte-5wvubo")&&N(n,"class",c)},i:qe,o:qe,d(v){v&&re(n),d=!1,yt(o)}}}function Af(t,n,i){let{breakLabel:a=""}=n,{breakClassName:c=""}=n,{breakLinkClassName:d=""}=n,{onClick:o=null}=n,v="";function g(m){Ra.call(this,t,m)}return t.$$set=m=>{"breakLabel"in m&&i(0,a=m.breakLabel),"breakClassName"in m&&i(4,c=m.breakClassName),"breakLinkClassName"in m&&i(1,d=m.breakLinkClassName),"onClick"in m&&i(2,o=m.onClick)},t.$$.update=()=>{t.$$.dirty&16&&i(3,v=c||"break")},[a,d,o,v,c,g]}class ma extends $e{constructor(n){super(),Ze(this,n,Af,xf,Ke,{breakLabel:0,breakClassName:4,breakLinkClassName:1,onClick:2})}}function va(t,n,i){const a=t.slice();return a[42]=n[i].itemIndex,a[43]=n[i].type,a[45]=i,a}function Df(t){let n,i,a;function c(...v){return t[37](t[42],...v)}var d=ma;function o(v){return{props:{key:v[42],breakLabel:v[2],breakClassName:v[10],breakLinkClassName:v[11]}}}return d&&(n=pi(d,o(t)),n.$on("click",c)),{c(){n&&Ve(n.$$.fragment),i=Vn()},m(v,g){n&&Fe(n,v,g),ae(v,i,g),a=!0},p(v,g){t=v;const m={};if(g[0]&8192&&(m.key=t[42]),g[0]&4&&(m.breakLabel=t[2]),g[0]&1024&&(m.breakClassName=t[10]),g[0]&2048&&(m.breakLinkClassName=t[11]),d!==(d=ma)){if(n){Xt();const y=n;we(y.$$.fragment,1,0,()=>{Be(y,1)}),Yt()}d?(n=pi(d,o(t)),n.$on("click",c),Ve(n.$$.fragment),_e(n.$$.fragment,1),Fe(n,i.parentNode,i)):n=null}else d&&n.$set(m)},i(v){a||(n&&_e(n.$$.fragment,v),a=!0)},o(v){n&&we(n.$$.fragment,v),a=!1},d(v){v&&re(i),n&&Be(n,v)}}}function Lf(t){let n,i,a;function c(...v){return t[36](t[42],...v)}var d=ga;function o(v){return{props:{key:v[42],selected:v[13].selected===v[42],pageClassName:v[4],pageLinkClassName:v[5],activeClassName:v[6],activeLinkClassName:v[7],extraAriaContext:v[12],href:v[22](v[42]),ariaLabel:v[23](v[42]),page:v[42]}}}return d&&(n=pi(d,o(t)),n.$on("click",c)),{c(){n&&Ve(n.$$.fragment),i=Vn()},m(v,g){n&&Fe(n,v,g),ae(v,i,g),a=!0},p(v,g){t=v;const m={};if(g[0]&8192&&(m.key=t[42]),g[0]&8192&&(m.selected=t[13].selected===t[42]),g[0]&16&&(m.pageClassName=t[4]),g[0]&32&&(m.pageLinkClassName=t[5]),g[0]&64&&(m.activeClassName=t[6]),g[0]&128&&(m.activeLinkClassName=t[7]),g[0]&4096&&(m.extraAriaContext=t[12]),g[0]&8192&&(m.href=t[22](t[42])),g[0]&8192&&(m.ariaLabel=t[23](t[42])),g[0]&8192&&(m.page=t[42]),d!==(d=ga)){if(n){Xt();const y=n;we(y.$$.fragment,1,0,()=>{Be(y,1)}),Yt()}d?(n=pi(d,o(t)),n.$on("click",c),Ve(n.$$.fragment),_e(n.$$.fragment,1),Fe(n,i.parentNode,i)):n=null}else d&&n.$set(m)},i(v){a||(n&&_e(n.$$.fragment,v),a=!0)},o(v){n&&we(n.$$.fragment,v),a=!1},d(v){v&&re(i),n&&Be(n,v)}}}function ba(t){let n,i,a,c;const d=[Lf,Df],o=[];function v(g,m){return g[43]==="PageView"?0:1}return n=v(t),i=o[n]=d[n](t),{c(){i.c(),a=Vn()},m(g,m){o[n].m(g,m),ae(g,a,m),c=!0},p(g,m){let y=n;n=v(g),n===y?o[n].p(g,m):(Xt(),we(o[y],1,1,()=>{o[y]=null}),Yt(),i=o[n],i?i.p(g,m):(i=o[n]=d[n](g),i.c()),_e(i,1),i.m(a.parentNode,a))},i(g){c||(_e(i),c=!0)},o(g){we(i),c=!1},d(g){o[n].d(g),g&&re(a)}}}function Pf(t){let n,i,a,c,d,o,v,g,m,y,C,P,k,D,I,B,H,K=t[13].items,J=[];for(let Y=0;Y<K.length;Y+=1)J[Y]=ba(va(t,K,Y));const oe=Y=>we(J[Y],1,1,()=>{J[Y]=null});return{c(){n=V("ul"),i=V("li"),a=V("a"),c=Ie(t[0]),v=fe();for(let Y=0;Y<J.length;Y+=1)J[Y].c();g=fe(),m=V("li"),y=V("a"),C=Ie(t[1]),N(a,"class",t[8]),N(a,"href",d=t[22](t[13].selected-1)),N(a,"tabindex","0"),N(a,"role","button"),N(a,"aria-disabled",t[16]),N(i,"class",o=zt(t[14])+" svelte-1jmteg6"),N(y,"class",t[9]),N(y,"href",P=t[22](t[13].selected+1)),N(y,"tabindex","0"),N(y,"role","button"),N(y,"aria-disabled",t[17]),N(m,"class",k=zt(t[15])+" svelte-1jmteg6"),N(n,"class",D=zt(t[3])+" svelte-1jmteg6")},m(Y,$){ae(Y,n,$),R(n,i),R(i,a),R(a,c),R(n,v);for(let l=0;l<J.length;l+=1)J[l]&&J[l].m(n,null);R(n,g),R(n,m),R(m,y),R(y,C),I=!0,B||(H=[Xe(a,"click",t[18]),Xe(a,"keypress",t[18]),Xe(y,"click",t[19]),Xe(y,"keypress",t[19])],B=!0)},p(Y,$){if((!I||$[0]&1)&&mt(c,Y[0]),(!I||$[0]&256)&&N(a,"class",Y[8]),(!I||$[0]&8192&&d!==(d=Y[22](Y[13].selected-1)))&&N(a,"href",d),(!I||$[0]&65536)&&N(a,"aria-disabled",Y[16]),(!I||$[0]&16384&&o!==(o=zt(Y[14])+" svelte-1jmteg6"))&&N(i,"class",o),$[0]&15744244){K=Y[13].items;let l;for(l=0;l<K.length;l+=1){const ee=va(Y,K,l);J[l]?(J[l].p(ee,$),_e(J[l],1)):(J[l]=ba(ee),J[l].c(),_e(J[l],1),J[l].m(n,g))}for(Xt(),l=K.length;l<J.length;l+=1)oe(l);Yt()}(!I||$[0]&2)&&mt(C,Y[1]),(!I||$[0]&512)&&N(y,"class",Y[9]),(!I||$[0]&8192&&P!==(P=Y[22](Y[13].selected+1)))&&N(y,"href",P),(!I||$[0]&131072)&&N(y,"aria-disabled",Y[17]),(!I||$[0]&32768&&k!==(k=zt(Y[15])+" svelte-1jmteg6"))&&N(m,"class",k),(!I||$[0]&8&&D!==(D=zt(Y[3])+" svelte-1jmteg6"))&&N(n,"class",D)},i(Y){if(!I){for(let $=0;$<K.length;$+=1)_e(J[$]);I=!0}},o(Y){J=J.filter(Boolean);for(let $=0;$<J.length;$+=1)we(J[$]);I=!1},d(Y){Y&&re(n),xr(J,Y),B=!1,yt(H)}}}function Of(t,n,i){let{pageCount:a=10}=n,{pageRangeDisplayed:c=2}=n,{marginPagesDisplayed:d=3}=n,{previousLabel:o="Previous"}=n,{nextLabel:v="Next"}=n,{breakLabel:g="..."}=n,{hrefBuilder:m}=n,{initialPage:y}=n,{forcePage:C}=n,{disableInitialCallback:P=!1}=n,{containerClassName:k}=n,{pageClassName:D}=n,{pageLinkClassName:I}=n,{activeClassName:B="selected"}=n,{activeLinkClassName:H}=n,{previousClassName:K="previous"}=n,{nextClassName:J="next"}=n,{previousLinkClassName:oe}=n,{nextLinkClassName:Y}=n,{disabledClassName:$="disabled"}=n,{breakClassName:l}=n,{breakLinkClassName:ee}=n,{extraAriaContext:G}=n,{ariaLabelBuilder:he}=n,{startPageIndex:ce=1}=n;const ne=Ui();let te;y?te=y:C?te=C:te=1;let ge={selected:te};function xe(q){const{selected:de}=ge;q.preventDefault?q.preventDefault():q.returnValue=!1,de>0&&Ye(de-1,q)}function it(q){const{selected:de}=ge;q.preventDefault?q.preventDefault():q.returnValue=!1,de<a-1&&Ye(de+1,q)}function Ye(q,de){de.preventDefault?de.preventDefault():de.returnValue=!1,ge.selected!==q&&(i(13,ge.selected=q,ge),ne("change",{selected:q,event:de}))}function ht(){const{selected:q}=ge,de=q+c;return de>=a?a-1:de}function rt(){const{selected:q}=ge,de=q-c;return de<0?0:de}function We(q,de){de.preventDefault?de.preventDefault():de.returnValue=!1;const{selected:Re}=ge;Ye(Re<q?ht():rt(),de)}function pe(q){if(m&&q!==ge.selected&&q>=ce&&q<a)return m(q+1)}function je(q){const de=q===ge.selected;if(he&&q>=0&&q<a){let Re=he(q+1,de);return G&&!de&&(Re=Re+" "+G),Re}}let De="",Ge="",Je="",pt="";const et=(q,de)=>Ye(q,de),Qe=(q,de)=>We(q,de);return t.$$set=q=>{"pageCount"in q&&i(24,a=q.pageCount),"pageRangeDisplayed"in q&&i(25,c=q.pageRangeDisplayed),"marginPagesDisplayed"in q&&i(26,d=q.marginPagesDisplayed),"previousLabel"in q&&i(0,o=q.previousLabel),"nextLabel"in q&&i(1,v=q.nextLabel),"breakLabel"in q&&i(2,g=q.breakLabel),"hrefBuilder"in q&&i(27,m=q.hrefBuilder),"initialPage"in q&&i(28,y=q.initialPage),"forcePage"in q&&i(29,C=q.forcePage),"disableInitialCallback"in q&&i(30,P=q.disableInitialCallback),"containerClassName"in q&&i(3,k=q.containerClassName),"pageClassName"in q&&i(4,D=q.pageClassName),"pageLinkClassName"in q&&i(5,I=q.pageLinkClassName),"activeClassName"in q&&i(6,B=q.activeClassName),"activeLinkClassName"in q&&i(7,H=q.activeLinkClassName),"previousClassName"in q&&i(31,K=q.previousClassName),"nextClassName"in q&&i(32,J=q.nextClassName),"previousLinkClassName"in q&&i(8,oe=q.previousLinkClassName),"nextLinkClassName"in q&&i(9,Y=q.nextLinkClassName),"disabledClassName"in q&&i(33,$=q.disabledClassName),"breakClassName"in q&&i(10,l=q.breakClassName),"breakLinkClassName"in q&&i(11,ee=q.breakLinkClassName),"extraAriaContext"in q&&i(12,G=q.extraAriaContext),"ariaLabelBuilder"in q&&i(34,he=q.ariaLabelBuilder),"startPageIndex"in q&&i(35,ce=q.startPageIndex)},t.$$.update=()=>{if(t.$$.dirty[0]&117448708|t.$$.dirty[1]&16){const q=[],{selected:de}=ge;if(a<=c)for(let Re=ce;Re<a;Re++)q.push({itemIndex:Re,type:"PageView"});else{let Re=c/2,tt=c-Re;de>a-c/2?(tt=a-de,Re=c-tt):de<c/2&&(Re=de,tt=c-Re);let Pe,xt,En;for(Pe=ce;Pe<a;Pe++){if(xt=Pe,xt<=d){q.push({itemIndex:Pe,type:"PageView"});continue}if(xt>a-d){q.push({itemIndex:Pe,type:"PageView"});continue}if(Pe>=de-Re&&Pe<=de+tt){q.push({itemIndex:Pe,type:"PageView"});continue}g&&q[q.length-1]!==En&&(En=q.push({itemIndex:Pe,type:"BreakView"}),q.push(En))}}i(13,ge.items=q,ge)}t.$$.dirty[0]&8192|t.$$.dirty[1]&21&&i(14,De=K+(ge.selected===ce?` ${$}`:"")),t.$$.dirty[0]&16785408|t.$$.dirty[1]&6&&i(15,Ge=J+(ge.selected===a-1?` ${$}`:"")),t.$$.dirty[0]&8192|t.$$.dirty[1]&16&&i(16,Je=ge.selected===ce?"true":"false"),t.$$.dirty[0]&16785408&&i(17,pt=ge.selected===a-1?"true":"false")},[o,v,g,k,D,I,B,H,oe,Y,l,ee,G,ge,De,Ge,Je,pt,xe,it,Ye,We,pe,je,a,c,d,m,y,C,P,K,J,$,he,ce,et,Qe]}class If extends $e{constructor(n){super(),Ze(this,n,Of,Pf,Ke,{pageCount:24,pageRangeDisplayed:25,marginPagesDisplayed:26,previousLabel:0,nextLabel:1,breakLabel:2,hrefBuilder:27,initialPage:28,forcePage:29,disableInitialCallback:30,containerClassName:3,pageClassName:4,pageLinkClassName:5,activeClassName:6,activeLinkClassName:7,previousClassName:31,nextClassName:32,previousLinkClassName:8,nextLinkClassName:9,disabledClassName:33,breakClassName:10,breakLinkClassName:11,extraAriaContext:12,ariaLabelBuilder:34,startPageIndex:35},null,[-1,-1])}}function jf(t){let n;return{c(){n=Ie("Sin registros")},m(i,a){ae(i,n,a)},p:qe,d(i){i&&re(n)}}}function Rf(t){let n,i;return{c(){n=Ie(t[2]),i=Ie(" registros")},m(a,c){ae(a,n,c),ae(a,i,c)},p(a,c){c&4&&mt(n,a[2])},d(a){a&&re(n),a&&re(i)}}}function Hf(t){let n,i,a,c,d;i=new If({props:{pageCount:Math.ceil(t[2]/t[1])+1,marginPagesDisplayed:2,pageRangeDisplayed:5,previousLabel:"«",nextLabel:"»",containerClassName:"pagination px-0 mb-0",pageClassName:"page-item"+(t[3]?" disabled":""),previousClassName:"page-item"+(t[3]?" disabled":""),nextClassName:"page-item"+(t[3]?" disabled":""),breakClassName:"page-item"+(t[3]?" disabled":""),pageLinkClassName:"page-link",previousLinkClassName:"page-link",nextLinkClassName:"page-link",breakLinkClassName:"page-link",activeClassName:"active",activeLinkClassName:"active",hrefBuilder:Mf,ariaLabelBuilder:null,extraAriaContext:null,initialPage:t[0]||1,forcePage:t[0]}}),i.$on("change",t[4]);function o(m,y){return m[2]?Rf:jf}let v=o(t),g=v(t);return{c(){n=V("div"),Ve(i.$$.fragment),a=fe(),c=V("span"),g.c(),N(c,"class","page-link d-inline-block bg-light text-info"),N(n,"class","pagination-container")},m(m,y){ae(m,n,y),Fe(i,n,null),R(n,a),R(n,c),g.m(c,null),d=!0},p(m,[y]){const C={};y&6&&(C.pageCount=Math.ceil(m[2]/m[1])+1),y&8&&(C.pageClassName="page-item"+(m[3]?" disabled":"")),y&8&&(C.previousClassName="page-item"+(m[3]?" disabled":"")),y&8&&(C.nextClassName="page-item"+(m[3]?" disabled":"")),y&8&&(C.breakClassName="page-item"+(m[3]?" disabled":"")),y&1&&(C.initialPage=m[0]||1),y&1&&(C.forcePage=m[0]),i.$set(C),v===(v=o(m))&&g?g.p(m,y):(g.d(1),g=v(m),g&&(g.c(),g.m(c,null)))},i(m){d||(_e(i.$$.fragment,m),d=!0)},o(m){we(i.$$.fragment,m),d=!1},d(m){m&&re(n),Be(i),g.d()}}}const Mf=()=>{};function qf(t,n,i){const a=Ui();let{forcePage:c=1}=n,{limit:d=15}=n,{count:o=0}=n,{disabled:v=!1}=n;function g(m){const{selected:y=1}=m.detail;a("page",y)}return t.$$set=m=>{"forcePage"in m&&i(0,c=m.forcePage),"limit"in m&&i(1,d=m.limit),"count"in m&&i(2,o=m.count),"disabled"in m&&i(3,v=m.disabled)},[c,d,o,v,g]}class Ff extends $e{constructor(n){super(),Ze(this,n,qf,Hf,Ke,{forcePage:0,limit:1,count:2,disabled:3})}}async function Bf(t){const n=t?"?"+new URLSearchParams(t).toString():"",i=await fetch(`${Qn}/aplicaciones/${n}`,{headers:{Authorization:`Bearer ${Xn()}`,"Content-Type":"application/json"}});if(!i.ok)throw await i.json();return i.json()}async function Wf(t){const n=await fetch(`${Qn}/aplicaciones/${t}/`,{headers:{Authorization:`Bearer ${Xn()}`,"Content-Type":"application/json"}});if(!n.ok)throw await n.json();return n.json()}async function Uf(t){const n=await fetch(`${Qn}/aplicaciones/`,{method:"POST",body:JSON.stringify(t),headers:{Authorization:`Bearer ${Xn()}`,"Content-Type":"application/json"}});if(!n.ok)throw await n.json();return n.json()}async function Vf({id_aplicacion:t,...n}){const i=await fetch(`${Qn}/aplicaciones/${t}/`,{method:"PATCH",body:JSON.stringify(n),headers:{Authorization:`Bearer ${Xn()}`,"Content-Type":"application/json"}});if(!i.ok)throw await i.json();return i.json()}async function zf(t){const n=await fetch(`${Qn}/aplicaciones/${t}/`,{method:"DELETE",headers:{Authorization:`Bearer ${Xn()}`,"Content-Type":"application/json"}});if(!n.ok)throw await n.json();return n.text()}const Qf=t=>({}),_a=t=>({});function Xf(t){let n,i,a,c,d,o,v,g,m,y,C,P,k,D,I,B,H,K,J,oe,Y,$,l;const ee=t[7].default,G=Mn(ee,t,t[6],null),he=t[7].buttons,ce=Mn(he,t,t[6],_a);return{c(){n=V("div"),i=V("div"),a=V("div"),c=V("div"),d=V("h5"),o=Ie(t[0]),g=fe(),m=V("button"),m.innerHTML='<span aria-hidden="true">×</span>',C=fe(),P=V("div"),G&&G.c(),k=fe(),D=V("div"),ce&&ce.c(),I=fe(),B=V("div"),H=fe(),K=V("button"),K.textContent="Cerrar",N(d,"class",v="modal-title "+t[2]),N(m,"type","button"),N(m,"class","close"),N(m,"aria-label","Close"),N(c,"class",y="modal-header "+t[3]),N(P,"class","modal-body"),N(B,"class","me-auto"),N(K,"type","button"),N(K,"class","btn btn-outline-dark"),N(D,"class","modal-footer"),N(a,"class","modal-content"),N(i,"class",J="modal-dialog "+(t[4]?" modal-"+t[4]:"")),N(n,"class",oe="modal show "+t[1]),N(n,"tabindex","-1"),N(n,"aria-hidden","true"),yn(n,"display","block"),yn(n,"background-color","rgb(0 0 0 / 30%)")},m(ne,te){ae(ne,n,te),R(n,i),R(i,a),R(a,c),R(c,d),R(d,o),R(c,g),R(c,m),R(a,C),R(a,P),G&&G.m(P,null),R(a,k),R(a,D),ce&&ce.m(D,null),R(D,I),R(D,B),R(D,H),R(D,K),Y=!0,$||(l=[Xe(m,"click",Lt(t[8])),Xe(K,"click",Lt(t[9]))],$=!0)},p(ne,[te]){(!Y||te&1)&&mt(o,ne[0]),(!Y||te&4&&v!==(v="modal-title "+ne[2]))&&N(d,"class",v),(!Y||te&8&&y!==(y="modal-header "+ne[3]))&&N(c,"class",y),G&&G.p&&(!Y||te&64)&&Fn(G,ee,ne,ne[6],Y?qn(ee,ne[6],te,null):Bn(ne[6]),null),ce&&ce.p&&(!Y||te&64)&&Fn(ce,he,ne,ne[6],Y?qn(he,ne[6],te,Qf):Bn(ne[6]),_a),(!Y||te&16&&J!==(J="modal-dialog "+(ne[4]?" modal-"+ne[4]:"")))&&N(i,"class",J),(!Y||te&2&&oe!==(oe="modal show "+ne[1]))&&N(n,"class",oe)},i(ne){Y||(_e(G,ne),_e(ce,ne),Y=!0)},o(ne){we(G,ne),we(ce,ne),Y=!1},d(ne){ne&&re(n),G&&G.d(ne),ce&&ce.d(ne),$=!1,yt(l)}}}function Yf(t,n,i){let{$$slots:a={},$$scope:c}=n;const d=Ui();let{title:o="modal title"}=n,{className:v=""}=n,{classTitle:g=""}=n,{classHeader:m=""}=n,{size:y=""}=n;const C=()=>d("close"),P=()=>d("close");return t.$$set=k=>{"title"in k&&i(0,o=k.title),"className"in k&&i(1,v=k.className),"classTitle"in k&&i(2,g=k.classTitle),"classHeader"in k&&i(3,m=k.classHeader),"size"in k&&i(4,y=k.size),"$$scope"in k&&i(6,c=k.$$scope)},[o,v,g,m,y,d,c,a,C,P]}class Kf extends $e{constructor(n){super(),Ze(this,n,Yf,Xf,Ke,{title:0,className:1,classTitle:2,classHeader:3,size:4})}}function Gf(t){let n,i,a;return{c(){n=V("input"),N(n,"type","number"),n.required=!0,N(n,"class","form-control")},m(c,d){ae(c,n,d),_n(n,t[1].id_aplicacion),i||(a=Xe(n,"input",t[6]),i=!0)},p(c,d){d&2&&Ia(n.value)!==c[1].id_aplicacion&&_n(n,c[1].id_aplicacion)},d(c){c&&re(n),i=!1,a()}}}function Jf(t){let n,i;return{c(){n=V("input"),N(n,"type","number"),n.value=i=t[1].id_aplicacion,n.disabled=!0,N(n,"class","form-control")},m(a,c){ae(a,n,c)},p(a,c){c&2&&i!==(i=a[1].id_aplicacion)&&n.value!==i&&(n.value=i)},d(a){a&&re(n)}}}function Zf(t){let n,i,a,c,d,o,v,g,m,y,C,P,k,D,I,B,H,K,J;function oe(l,ee){return l[0].id_aplicacion?Jf:Gf}let Y=oe(t),$=Y(t);return{c(){n=V("div"),i=V("div"),a=V("div"),a.textContent="ID",c=fe(),d=V("div"),$.c(),o=fe(),v=V("div"),g=V("div"),g.textContent="Nombre",m=fe(),y=V("div"),C=V("input"),P=fe(),k=V("div"),D=V("div"),I=V("input"),B=fe(),H=V("label"),H.textContent="Vigente",N(a,"class","col-md-3"),N(d,"class","col-md"),N(i,"class","row mb-3"),N(g,"class","col-md-3"),N(C,"type","text"),C.required=!0,N(C,"class","form-control"),N(y,"class","col-md"),N(v,"class","row mb-3"),N(I,"class","form-check-input"),N(I,"type","checkbox"),N(I,"role","switch"),N(I,"id","vigente"),N(H,"class","form-check-label"),N(H,"for","vigente"),N(D,"class","form-check form-switch"),N(k,"class","mb-3"),N(n,"class","form")},m(l,ee){ae(l,n,ee),R(n,i),R(i,a),R(i,c),R(i,d),$.m(d,null),R(n,o),R(n,v),R(v,g),R(v,m),R(v,y),R(y,C),_n(C,t[1].app),R(n,P),R(n,k),R(k,D),R(D,I),I.checked=t[1].vigente,R(D,B),R(D,H),K||(J=[Xe(C,"input",t[7]),Xe(I,"change",t[8])],K=!0)},p(l,ee){Y===(Y=oe(l))&&$?$.p(l,ee):($.d(1),$=Y(l),$&&($.c(),$.m(d,null))),ee&2&&C.value!==l[1].app&&_n(C,l[1].app),ee&2&&(I.checked=l[1].vigente)},d(l){l&&re(n),$.d(),K=!1,yt(J)}}}function $f(t){let n,i,a,c,d,o,v;return{c(){n=V("button"),i=Ie("Guardar"),a=fe(),c=V("button"),d=Ie("Eliminar"),N(n,"class","btn btn-primary"),n.disabled=t[2],N(c,"class","btn btn-danger"),c.disabled=t[2]},m(g,m){ae(g,n,m),R(n,i),ae(g,a,m),ae(g,c,m),R(c,d),o||(v=[Xe(n,"click",Lt(t[4])),Xe(c,"click",Lt(t[5]))],o=!0)},p(g,m){m&4&&(n.disabled=g[2]),m&4&&(c.disabled=g[2])},d(g){g&&re(n),g&&re(a),g&&re(c),o=!1,yt(v)}}}function ec(t){let n,i;return n=new Kf({props:{title:"Aplicacion #"+(t[0].id_aplicacion||"Nuevo"),size:"lg",$$slots:{buttons:[$f],default:[Zf]},$$scope:{ctx:t}}}),n.$on("close",t[9]),{c(){Ve(n.$$.fragment)},m(a,c){Fe(n,a,c),i=!0},p(a,[c]){const d={};c&1&&(d.title="Aplicacion #"+(a[0].id_aplicacion||"Nuevo")),c&2055&&(d.$$scope={dirty:c,ctx:a}),n.$set(d)},i(a){i||(_e(n.$$.fragment,a),i=!0)},o(a){we(n.$$.fragment,a),i=!1},d(a){Be(n,a)}}}function tc(t,n,i){const a=Ui();let{aplicacion:c={}}=n,d={},o=!1;async function v(D){try{if(!D)return;i(1,d=await Wf(D)||{})}catch(I){alert(I.detail||I)}}async function g(){try{i(2,o=!0),c.id_aplicacion?i(1,d=await Vf(d)):i(1,d=await Uf(d)),alert("Se ha guardado la aplicación"),a("refresh"),a("close")}catch(D){D.detail?alert(D.detail):alert(JSON.stringify(D))}finally{i(2,o=!1)}}async function m(){try{if(!confirm("Eliminará el registro?"))return;i(2,o=!0),await zf(d.id_aplicacion),alert("Se ha eliminado la aplicación"),a("refresh"),a("close")}catch(D){alert(D.detail||D)}finally{i(2,o=!1)}}function y(){d.id_aplicacion=Ia(this.value),i(1,d)}function C(){d.app=this.value,i(1,d)}function P(){d.vigente=this.checked,i(1,d)}const k=()=>a("close");return t.$$set=D=>{"aplicacion"in D&&i(0,c=D.aplicacion)},t.$$.update=()=>{t.$$.dirty&1&&v(c.id_aplicacion)},[c,d,o,a,g,m,y,C,P,k]}class nc extends $e{constructor(n){super(),Ze(this,n,tc,ec,Ke,{aplicacion:0})}}function ya(t,n,i){const a=t.slice();return a[17]=n[i],a[19]=i,a}function ic(t){let n;return{c(){n=Ie("Aplicaciones")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function wa(t){let n;return{c(){n=V("i"),N(n,"class","bi bi-caret-up-fill")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function Ca(t){let n;return{c(){n=V("i"),N(n,"class","bi bi-caret-down-fill")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function Ea(t){let n;return{c(){n=V("i"),N(n,"class","bi bi-caret-up-fill")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function Ta(t){let n;return{c(){n=V("i"),N(n,"class","bi bi-caret-down-fill")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function ka(t){let n;return{c(){n=V("i"),N(n,"class","bi bi-caret-up-fill")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function Sa(t){let n;return{c(){n=V("i"),N(n,"class","bi bi-caret-down-fill")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function Na(t){let n,i,a=t[1]+t[19]+1+"",c,d,o,v=t[17].id_aplicacion+"",g,m,y,C,P=t[17].app+"",k,D,I,B=t[17].vigente+"",H,K,J,oe;function Y(){return t[13](t[17])}return{c(){n=V("tr"),i=V("td"),c=Ie(a),d=fe(),o=V("td"),g=Ie(v),m=fe(),y=V("td"),C=V("a"),k=Ie(P),D=fe(),I=V("td"),H=Ie(B),K=fe(),N(i,"class","table-accent"),N(C,"href","#")},m($,l){ae($,n,l),R(n,i),R(i,c),R(n,d),R(n,o),R(o,g),R(n,m),R(n,y),R(y,C),R(C,k),R(n,D),R(n,I),R(I,H),R(n,K),J||(oe=Xe(C,"click",Lt(Y)),J=!0)},p($,l){t=$,l&2&&a!==(a=t[1]+t[19]+1+"")&&mt(c,a),l&16&&v!==(v=t[17].id_aplicacion+"")&&mt(g,v),l&16&&P!==(P=t[17].app+"")&&mt(k,P),l&16&&B!==(B=t[17].vigente+"")&&mt(H,B)},d($){$&&re(n),J=!1,oe()}}}function xa(t){let n,i;return n=new nc({props:{aplicacion:t[5]}}),n.$on("close",t[15]),n.$on("refresh",t[16]),{c(){Ve(n.$$.fragment)},m(a,c){Fe(n,a,c),i=!0},p(a,c){const d={};c&32&&(d.aplicacion=a[5]),n.$set(d)},i(a){i||(_e(n.$$.fragment,a),i=!0)},o(a){we(n.$$.fragment,a),i=!1},d(a){Be(n,a)}}}function rc(t){let n,i,a,c,d,o,v,g,m,y,C,P,k,D,I,B,H,K,J,oe,Y,$,l,ee,G,he,ce,ne,te,ge,xe,it,Ye,ht,rt;n=new Po({props:{$$slots:{default:[ic]},$$scope:{ctx:t}}});let We=t[3]==="id_aplicacion"&&wa(),pe=t[3]==="-id_aplicacion"&&Ca(),je=t[3]==="app"&&Ea(),De=t[3]==="-app"&&Ta(),Ge=t[3]==="vigente"&&ka(),Je=t[3]==="-vigente"&&Sa(),pt=t[4],et=[];for(let q=0;q<pt.length;q+=1)et[q]=Na(ya(t,pt,q));ge=new Ff({props:{offset:t[1],limit:go,count:t[2]}}),ge.$on("page",t[14]);let Qe=t[5]&&xa(t);return{c(){Ve(n.$$.fragment),i=fe(),a=V("div"),c=V("button"),c.textContent="Nuevo",d=fe(),o=V("div"),v=V("table"),g=V("thead"),m=V("tr"),y=V("th"),y.textContent="Nro",C=fe(),P=V("th"),k=V("a"),k.textContent="ID",D=fe(),We&&We.c(),I=fe(),pe&&pe.c(),B=fe(),H=V("th"),K=V("a"),K.textContent="Nombre",J=fe(),je&&je.c(),oe=fe(),De&&De.c(),Y=fe(),$=V("th"),l=V("a"),l.textContent="Vigente",ee=fe(),Ge&&Ge.c(),G=fe(),Je&&Je.c(),he=fe(),ce=V("tbody");for(let q=0;q<et.length;q+=1)et[q].c();ne=fe(),te=V("div"),Ve(ge.$$.fragment),xe=fe(),Qe&&Qe.c(),it=Vn(),N(c,"class","btn btn-pill-primary"),N(a,"class","mb-3"),yn(y,"width","5%"),N(k,"href","#"),N(K,"href","#"),N(l,"href","#"),N(m,"class","table-accent"),N(v,"class","table table-sm table-bordered"),N(o,"class","table-responsive svelte-4zkp90")},m(q,de){Fe(n,q,de),ae(q,i,de),ae(q,a,de),R(a,c),ae(q,d,de),ae(q,o,de),R(o,v),R(v,g),R(g,m),R(m,y),R(m,C),R(m,P),R(P,k),R(P,D),We&&We.m(P,null),R(P,I),pe&&pe.m(P,null),R(m,B),R(m,H),R(H,K),R(H,J),je&&je.m(H,null),R(H,oe),De&&De.m(H,null),R(m,Y),R(m,$),R($,l),R($,ee),Ge&&Ge.m($,null),R($,G),Je&&Je.m($,null),R(v,he),R(v,ce);for(let Re=0;Re<et.length;Re+=1)et[Re]&&et[Re].m(ce,null);ae(q,ne,de),ae(q,te,de),Fe(ge,te,null),ae(q,xe,de),Qe&&Qe.m(q,de),ae(q,it,de),Ye=!0,ht||(rt=[Xe(c,"click",Lt(t[8])),Xe(k,"click",Lt(t[10])),Xe(K,"click",Lt(t[11])),Xe(l,"click",Lt(t[12]))],ht=!0)},p(q,[de]){const Re={};if(de&1048576&&(Re.$$scope={dirty:de,ctx:q}),n.$set(Re),q[3]==="id_aplicacion"?We||(We=wa(),We.c(),We.m(P,I)):We&&(We.d(1),We=null),q[3]==="-id_aplicacion"?pe||(pe=Ca(),pe.c(),pe.m(P,null)):pe&&(pe.d(1),pe=null),q[3]==="app"?je||(je=Ea(),je.c(),je.m(H,oe)):je&&(je.d(1),je=null),q[3]==="-app"?De||(De=Ta(),De.c(),De.m(H,null)):De&&(De.d(1),De=null),q[3]==="vigente"?Ge||(Ge=ka(),Ge.c(),Ge.m($,G)):Ge&&(Ge.d(1),Ge=null),q[3]==="-vigente"?Je||(Je=Sa(),Je.c(),Je.m($,null)):Je&&(Je.d(1),Je=null),de&146){pt=q[4];let Pe;for(Pe=0;Pe<pt.length;Pe+=1){const xt=ya(q,pt,Pe);et[Pe]?et[Pe].p(xt,de):(et[Pe]=Na(xt),et[Pe].c(),et[Pe].m(ce,null))}for(;Pe<et.length;Pe+=1)et[Pe].d(1);et.length=pt.length}const tt={};de&2&&(tt.offset=q[1]),de&4&&(tt.count=q[2]),ge.$set(tt),q[5]?Qe?(Qe.p(q,de),de&32&&_e(Qe,1)):(Qe=xa(q),Qe.c(),_e(Qe,1),Qe.m(it.parentNode,it)):Qe&&(Xt(),we(Qe,1,1,()=>{Qe=null}),Yt())},i(q){Ye||(_e(n.$$.fragment,q),_e(ge.$$.fragment,q),_e(Qe),Ye=!0)},o(q){we(n.$$.fragment,q),we(ge.$$.fragment,q),we(Qe),Ye=!1},d(q){Be(n,q),q&&re(i),q&&re(a),q&&re(d),q&&re(o),We&&We.d(),pe&&pe.d(),je&&je.d(),De&&De.d(),Ge&&Ge.d(),Je&&Je.d(),xr(et,q),q&&re(ne),q&&re(te),Be(ge),q&&re(xe),Qe&&Qe.d(q),q&&re(it),ht=!1,yt(rt)}}}const go=15;function oc(t,n,i){let a=1,c=0,d=0,o="id_aplicacion",v=[],g=null;async function m(oe){try{i(1,c=(oe-1)*go);const Y=await Bf({offset:c,limit:go,ordering:o});i(4,v=Y.results),i(2,d=Y.count)}catch(Y){alert(Y)}}function y(oe){i(5,g=oe)}function C(){i(5,g={})}function P(oe){i(3,o=o===oe?"-"+oe:oe),m(a)}const k=()=>P("id_aplicacion"),D=()=>P("app"),I=()=>P("vigente"),B=oe=>y(oe),H=oe=>i(0,a=oe.detail),K=()=>i(5,g=null),J=()=>m(a);return t.$$.update=()=>{t.$$.dirty&1&&m(a)},[a,c,d,o,v,g,m,y,C,P,k,D,I,B,H,K,J]}class ac extends $e{constructor(n){super(),Ze(this,n,oc,rc,Ke,{})}}const Aa=[{path:"/",component:_f},{path:"/perfil",component:Ef},{path:"/aplicaciones",component:ac},{path:"*",component:kf}];function sc(t){let n;const i=t[4].default,a=Mn(i,t,t[5],null);return{c(){a&&a.c()},m(c,d){a&&a.m(c,d),n=!0},p(c,d){a&&a.p&&(!n||d&32)&&Fn(a,i,c,c[5],n?qn(i,c[5],d,null):Bn(c[5]),null)},i(c){n||(_e(a,c),n=!0)},o(c){we(a,c),n=!1},d(c){a&&a.d(c)}}}function lc(t){let n,i,a,c;return i=new Lo({props:{to:t[0],class:"bd-toc-link",$$slots:{default:[sc]},$$scope:{ctx:t}}}),{c(){n=V("div"),Ve(i.$$.fragment),N(n,"class",a="bd-toc-item"+(t[1]?" active":""))},m(d,o){ae(d,n,o),Fe(i,n,null),c=!0},p(d,[o]){const v={};o&1&&(v.to=d[0]),o&32&&(v.$$scope={dirty:o,ctx:d}),i.$set(v),(!c||o&2&&a!==(a="bd-toc-item"+(d[1]?" active":"")))&&N(n,"class",a)},i(d){c||(_e(i.$$.fragment,d),c=!0)},o(d){we(i.$$.fragment,d),c=!1},d(d){d&&re(n),Be(i)}}}function uc(t,n,i){let a,{$$slots:c={},$$scope:d}=n,{to:o="#"}=n;const v=ju(o);Ct(t,v,m=>i(3,a=m));let g;return t.$$set=m=>{"to"in m&&i(0,o=m.to),"$$scope"in m&&i(5,d=m.$$scope)},t.$$.update=()=>{t.$$.dirty&9&&i(1,g=(a==null?void 0:a.fullPath)===o)},[o,g,v,a,c,d]}class no extends $e{constructor(n){super(),Ze(this,n,uc,lc,Ke,{to:0})}}function fc(t){let n;return{c(){n=Ie("Inicio")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function cc(t){let n;return{c(){n=Ie("Perfil")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function dc(t){let n;return{c(){n=Ie("Aplicaciones")},m(i,a){ae(i,n,a)},d(i){i&&re(n)}}}function hc(t){let n,i,a,c,d,o,v,g,m;return i=new no({props:{to:"/",$$slots:{default:[fc]},$$scope:{ctx:t}}}),c=new no({props:{to:"/perfil",$$slots:{default:[cc]},$$scope:{ctx:t}}}),g=new no({props:{to:"/aplicaciones",$$slots:{default:[dc]},$$scope:{ctx:t}}}),{c(){n=V("nav"),Ve(i.$$.fragment),a=fe(),Ve(c.$$.fragment),d=fe(),o=V("div"),o.textContent="Mantenedores",v=fe(),Ve(g.$$.fragment),N(o,"class","sidebar-header text-red mt-3"),N(n,"id","sidebar"),N(n,"class","bd-links")},m(y,C){ae(y,n,C),Fe(i,n,null),R(n,a),Fe(c,n,null),R(n,d),R(n,o),R(n,v),Fe(g,n,null),m=!0},p(y,[C]){const P={};C&1&&(P.$$scope={dirty:C,ctx:y}),i.$set(P);const k={};C&1&&(k.$$scope={dirty:C,ctx:y}),c.$set(k);const D={};C&1&&(D.$$scope={dirty:C,ctx:y}),g.$set(D)},i(y){m||(_e(i.$$.fragment,y),_e(c.$$.fragment,y),_e(g.$$.fragment,y),m=!0)},o(y){we(i.$$.fragment,y),we(c.$$.fragment,y),we(g.$$.fragment,y),m=!1},d(y){y&&re(n),Be(i),Be(c),Be(g)}}}class pc extends $e{constructor(n){super(),Ze(this,n,null,hc,Ke,{})}}function gc(t){let n;return{c(){n=V("i"),N(n,"class","cl cl-login")},m(i,a){ae(i,n,a)},p:qe,d(i){i&&re(n)}}}function mc(t){let n,i,a,c,d,o,v,g,m,y,C,P,k,D,I,B,H,K,J,oe;return P=new Lo({props:{to:"/perfil",class:"nav-link",$$slots:{default:[gc]},$$scope:{ctx:t}}}),{c(){n=V("nav"),i=V("div"),a=V("a"),c=V("img"),o=fe(),v=V("button"),v.innerHTML='<span class="navbar-toggler-icon"></span>',g=fe(),m=V("div"),y=V("ul"),C=V("li"),Ve(P.$$.fragment),k=fe(),D=V("li"),I=fe(),B=V("li"),H=V("a"),H.textContent="Cerrar sesión",N(c,"alt",""),qi(c.src,d=is)||N(c,"src",d),N(a,"class","navbar-brand"),N(a,"href","/"),N(v,"class","navbar-toggler collapsed"),N(v,"type","button"),N(v,"data-toggle","collapse"),N(v,"data-target","#navbarLgDarkExampleCollapse"),N(v,"aria-controls","navbarCollapse"),N(v,"aria-expanded","false"),N(v,"aria-label","Toggle navigation"),N(C,"class","nav-item"),N(D,"class","nav-separator mr-3"),N(H,"class","btn btn-block btn-primary"),N(H,"href","#"),N(B,"class","nav-item"),N(y,"class","navbar-nav ml-auto"),N(m,"class","navbar-collapse collapse"),N(m,"id","navbarLgDarkExampleCollapse"),N(i,"class","container"),N(n,"class","navbar navbar-dark navbar-expand-lg navbar-lg")},m(Y,$){ae(Y,n,$),R(n,i),R(i,a),R(a,c),R(i,o),R(i,v),R(i,g),R(i,m),R(m,y),R(y,C),Fe(P,C,null),R(y,k),R(y,D),R(y,I),R(y,B),R(B,H),K=!0,J||(oe=Xe(H,"click",Lt(vc)),J=!0)},p(Y,[$]){const l={};$&1&&(l.$$scope={dirty:$,ctx:Y}),P.$set(l)},i(Y){K||(_e(P.$$.fragment,Y),K=!0)},o(Y){we(P.$$.fragment,Y),K=!1},d(Y){Y&&re(n),Be(P),J=!1,oe()}}}function vc(){sessionStorage.clear(),document.location.href="/"}class bc extends $e{constructor(n){super(),Ze(this,n,null,mc,Ke,{})}}const{document:io}=Vs;function Da(t,n,i){const a=t.slice();return a[3]=n[i],a}function La(t){let n,i;return n=new ks({props:{path:t[3].path,component:t[3].component}}),{c(){Ve(n.$$.fragment)},m(a,c){Fe(n,a,c),i=!0},p:qe,i(a){i||(_e(n.$$.fragment,a),i=!0)},o(a){we(n.$$.fragment,a),i=!1},d(a){Be(n,a)}}}function _c(t){let n,i,a,c,d,o,v,g,m,y,C,P;i=new bc({}),g=new pc({});let k=Aa,D=[];for(let B=0;B<k.length;B+=1)D[B]=La(Da(t,k,B));const I=B=>we(D[B],1,1,()=>{D[B]=null});return{c(){n=V("header"),Ve(i.$$.fragment),a=fe(),c=V("main"),d=V("div"),o=V("div"),v=V("div"),Ve(g.$$.fragment),m=fe(),y=V("div"),C=V("section");for(let B=0;B<D.length;B+=1)D[B].c();N(v,"class","col-12 col-md-3 bd-sidebar d none d-md-block d-lg-block"),N(C,"class","doc-section"),N(y,"class","col-12 col-md-9"),N(o,"class","row"),N(d,"class","container")},m(B,H){ae(B,n,H),Fe(i,n,null),ae(B,a,H),ae(B,c,H),R(c,d),R(d,o),R(o,v),Fe(g,v,null),R(o,m),R(o,y),R(y,C);for(let K=0;K<D.length;K+=1)D[K]&&D[K].m(C,null);P=!0},p(B,H){if(H&0){k=Aa;let K;for(K=0;K<k.length;K+=1){const J=Da(B,k,K);D[K]?(D[K].p(J,H),_e(D[K],1)):(D[K]=La(J),D[K].c(),_e(D[K],1),D[K].m(C,null))}for(Xt(),K=k.length;K<D.length;K+=1)I(K);Yt()}},i(B){if(!P){_e(i.$$.fragment,B),_e(g.$$.fragment,B);for(let H=0;H<k.length;H+=1)_e(D[H]);P=!0}},o(B){we(i.$$.fragment,B),we(g.$$.fragment,B),D=D.filter(Boolean);for(let H=0;H<D.length;H+=1)we(D[H]);P=!1},d(B){B&&re(n),Be(i),B&&re(a),B&&re(c),Be(g),xr(D,B)}}}function yc(t){let n,i,a,c,d,o,v;return c=new xo({props:{history:t[0],primary:!1,$$slots:{default:[_c]},$$scope:{ctx:t}}}),o=new Ns({}),{c(){n=V("link"),i=V("link"),a=fe(),Ve(c.$$.fragment),d=fe(),Ve(o.$$.fragment),io.title="Gestión Transporte",N(n,"type","text/css"),N(n,"rel","stylesheet"),N(n,"href","https://fonts.googleapis.com/css?family=Roboto:300,400"),N(i,"type","text/css"),N(i,"rel","stylesheet"),N(i,"href","https://fonts.googleapis.com/css?family=Roboto+Slab:300,400")},m(g,m){R(io.head,n),R(io.head,i),ae(g,a,m),Fe(c,g,m),ae(g,d,m),Fe(o,g,m),v=!0},p(g,[m]){const y={};m&64&&(y.$$scope={dirty:m,ctx:g}),c.$set(y)},i(g){v||(_e(c.$$.fragment,g),_e(o.$$.fragment,g),v=!0)},o(g){we(c.$$.fragment,g),we(o.$$.fragment,g),v=!1},d(g){re(n),re(i),g&&re(a),Be(c,g),g&&re(d),Be(o,g)}}}function wc(t,n,i){let a;Ct(t,po,o=>i(1,a=o));const c=No(Ss());ja(()=>{document.dispatchEvent(new Event("DOMContentLoaded"))});async function d(){try{Ws(po,a=await Yu(),a)}catch(o){alert(o.message||o)}}return d(),[c]}class Cc extends $e{constructor(n){super(),Ze(this,n,wc,yc,Ke,{})}}Xn()?new Cc({target:document.getElementById("app")}):new hf({target:document.getElementById("app")});
|