/*! For license information please see 8378.b89f73b416851ec56e20.js.LICENSE.txt */ (self.webpackChunklibreriasiglo_theme=self.webpackChunklibreriasiglo_theme||[]).push([[8378],{9492:(e,t,n)=>{"use strict";n.r(t),n.d(t,{afterMain:()=>x,afterRead:()=>y,afterWrite:()=>C,applyStyles:()=>T,arrow:()=>G,auto:()=>a,basePlacements:()=>l,beforeMain:()=>_,beforeRead:()=>v,beforeWrite:()=>O,bottom:()=>r,clippingParents:()=>d,computeStyles:()=>ne,createPopper:()=>Pe,createPopperBase:()=>je,createPopperLite:()=>Te,detectOverflow:()=>ve,end:()=>f,eventListeners:()=>re,flip:()=>be,hide:()=>we,left:()=>s,main:()=>w,modifierPhases:()=>k,offset:()=>xe,placements:()=>g,popper:()=>u,popperGenerator:()=>De,popperOffsets:()=>Oe,preventOverflow:()=>Ae,read:()=>b,reference:()=>h,right:()=>o,start:()=>c,top:()=>i,variationPlacements:()=>m,viewport:()=>p,write:()=>A});var i="top",r="bottom",o="right",s="left",a="auto",l=[i,r,o,s],c="start",f="end",d="clippingParents",p="viewport",u="popper",h="reference",m=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+f])}),[]),g=[].concat(l,[a]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+f])}),[]),v="beforeRead",b="read",y="afterRead",_="beforeMain",w="main",x="afterMain",O="beforeWrite",A="write",C="afterWrite",k=[v,b,y,_,w,x,O,A,C];function E(e){return e?(e.nodeName||"").toLowerCase():null}function L(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function D(e){return e instanceof L(e).Element||e instanceof Element}function j(e){return e instanceof L(e).HTMLElement||e instanceof HTMLElement}function P(e){return"undefined"!=typeof ShadowRoot&&(e instanceof L(e).ShadowRoot||e instanceof ShadowRoot)}const T={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];j(r)&&E(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});j(i)&&E(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function S(e){return e.split("-")[0]}var M=Math.max,N=Math.min,R=Math.round;function B(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function H(){return!/^((?!chrome|android).)*safari/i.test(B())}function I(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),r=1,o=1;t&&j(e)&&(r=e.offsetWidth>0&&R(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&R(i.height)/e.offsetHeight||1);var s=(D(e)?L(e):window).visualViewport,a=!H()&&n,l=(i.left+(a&&s?s.offsetLeft:0))/r,c=(i.top+(a&&s?s.offsetTop:0))/o,f=i.width/r,d=i.height/o;return{width:f,height:d,top:c,right:l+f,bottom:c+d,left:l,x:l,y:c}}function W(e){var t=I(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function $(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&P(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function q(e){return L(e).getComputedStyle(e)}function V(e){return["table","td","th"].indexOf(E(e))>=0}function F(e){return((D(e)?e.ownerDocument:e.document)||window.document).documentElement}function z(e){return"html"===E(e)?e:e.assignedSlot||e.parentNode||(P(e)?e.host:null)||F(e)}function U(e){return j(e)&&"fixed"!==q(e).position?e.offsetParent:null}function Q(e){for(var t=L(e),n=U(e);n&&V(n)&&"static"===q(n).position;)n=U(n);return n&&("html"===E(n)||"body"===E(n)&&"static"===q(n).position)?t:n||function(e){var t=/firefox/i.test(B());if(/Trident/i.test(B())&&j(e)&&"fixed"===q(e).position)return null;var n=z(e);for(P(n)&&(n=n.host);j(n)&&["html","body"].indexOf(E(n))<0;){var i=q(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function J(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function K(e,t,n){return M(e,N(t,n))}function X(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Y(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const G={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,a=e.name,c=e.options,f=n.elements.arrow,d=n.modifiersData.popperOffsets,p=S(n.placement),u=J(p),h=[s,o].indexOf(p)>=0?"height":"width";if(f&&d){var m=function(e,t){return X("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Y(e,l))}(c.padding,n),g=W(f),v="y"===u?i:s,b="y"===u?r:o,y=n.rects.reference[h]+n.rects.reference[u]-d[u]-n.rects.popper[h],_=d[u]-n.rects.reference[u],w=Q(f),x=w?"y"===u?w.clientHeight||0:w.clientWidth||0:0,O=y/2-_/2,A=m[v],C=x-g[h]-m[b],k=x/2-g[h]/2+O,E=K(A,k,C),L=u;n.modifiersData[a]=((t={})[L]=E,t.centerOffset=E-k,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&$(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,a=e.popperRect,l=e.placement,c=e.variation,d=e.offsets,p=e.position,u=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,g=e.isFixed,v=d.x,b=void 0===v?0:v,y=d.y,_=void 0===y?0:y,w="function"==typeof m?m({x:b,y:_}):{x:b,y:_};b=w.x,_=w.y;var x=d.hasOwnProperty("x"),O=d.hasOwnProperty("y"),A=s,C=i,k=window;if(h){var E=Q(n),D="clientHeight",j="clientWidth";E===L(n)&&"static"!==q(E=F(n)).position&&"absolute"===p&&(D="scrollHeight",j="scrollWidth"),(l===i||(l===s||l===o)&&c===f)&&(C=r,_-=(g&&E===k&&k.visualViewport?k.visualViewport.height:E[D])-a.height,_*=u?1:-1),l!==s&&(l!==i&&l!==r||c!==f)||(A=o,b-=(g&&E===k&&k.visualViewport?k.visualViewport.width:E[j])-a.width,b*=u?1:-1)}var P,T=Object.assign({position:p},h&&ee),S=!0===m?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:R(t*i)/i||0,y:R(n*i)/i||0}}({x:b,y:_}):{x:b,y:_};return b=S.x,_=S.y,u?Object.assign({},T,((P={})[C]=O?"0":"",P[A]=x?"0":"",P.transform=(k.devicePixelRatio||1)<=1?"translate("+b+"px, "+_+"px)":"translate3d("+b+"px, "+_+"px, 0)",P)):Object.assign({},T,((t={})[C]=O?_+"px":"",t[A]=x?b+"px":"",t.transform="",t))}const ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:S(t.placement),variation:Z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ie={passive:!0};const re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,l=L(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,ie)})),a&&l.addEventListener("resize",n.update,ie),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ie)})),a&&l.removeEventListener("resize",n.update,ie)}},data:{}};var oe={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return oe[e]}))}var ae={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return ae[e]}))}function ce(e){var t=L(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fe(e){return I(F(e)).left+ce(e).scrollLeft}function de(e){var t=q(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function pe(e){return["html","body","#document"].indexOf(E(e))>=0?e.ownerDocument.body:j(e)&&de(e)?e:pe(z(e))}function ue(e,t){var n;void 0===t&&(t=[]);var i=pe(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),o=L(i),s=r?[o].concat(o.visualViewport||[],de(i)?i:[]):i,a=t.concat(s);return r?a:a.concat(ue(z(s)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,n){return t===p?he(function(e,t){var n=L(e),i=F(e),r=n.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;var c=H();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a+fe(e),y:l}}(e,n)):D(t)?function(e,t){var n=I(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):he(function(e){var t,n=F(e),i=ce(e),r=null==(t=e.ownerDocument)?void 0:t.body,o=M(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=M(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+fe(e),l=-i.scrollTop;return"rtl"===q(r||n).direction&&(a+=M(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(F(e)))}function ge(e){var t,n=e.reference,a=e.element,l=e.placement,d=l?S(l):null,p=l?Z(l):null,u=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2;switch(d){case i:t={x:u,y:n.y-a.height};break;case r:t={x:u,y:n.y+n.height};break;case o:t={x:n.x+n.width,y:h};break;case s:t={x:n.x-a.width,y:h};break;default:t={x:n.x,y:n.y}}var m=d?J(d):null;if(null!=m){var g="y"===m?"height":"width";switch(p){case c:t[m]=t[m]-(n[g]/2-a[g]/2);break;case f:t[m]=t[m]+(n[g]/2-a[g]/2)}}return t}function ve(e,t){void 0===t&&(t={});var n=t,s=n.placement,a=void 0===s?e.placement:s,c=n.strategy,f=void 0===c?e.strategy:c,m=n.boundary,g=void 0===m?d:m,v=n.rootBoundary,b=void 0===v?p:v,y=n.elementContext,_=void 0===y?u:y,w=n.altBoundary,x=void 0!==w&&w,O=n.padding,A=void 0===O?0:O,C=X("number"!=typeof A?A:Y(A,l)),k=_===u?h:u,L=e.rects.popper,P=e.elements[x?k:_],T=function(e,t,n,i){var r="clippingParents"===t?function(e){var t=ue(z(e)),n=["absolute","fixed"].indexOf(q(e).position)>=0&&j(e)?Q(e):e;return D(n)?t.filter((function(e){return D(e)&&$(e,n)&&"body"!==E(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),s=o[0],a=o.reduce((function(t,n){var r=me(e,n,i);return t.top=M(r.top,t.top),t.right=N(r.right,t.right),t.bottom=N(r.bottom,t.bottom),t.left=M(r.left,t.left),t}),me(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(D(P)?P:P.contextElement||F(e.elements.popper),g,b,f),S=I(e.elements.reference),R=ge({reference:S,element:L,strategy:"absolute",placement:a}),B=he(Object.assign({},L,R)),H=_===u?B:S,W={top:T.top-H.top+C.top,bottom:H.bottom-T.bottom+C.bottom,left:T.left-H.left+C.left,right:H.right-T.right+C.right},V=e.modifiersData.offset;if(_===u&&V){var U=V[a];Object.keys(W).forEach((function(e){var t=[o,r].indexOf(e)>=0?1:-1,n=[i,r].indexOf(e)>=0?"y":"x";W[e]+=U[n]*t}))}return W}const be={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,f=e.name;if(!t.modifiersData[f]._skip){for(var d=n.mainAxis,p=void 0===d||d,u=n.altAxis,h=void 0===u||u,v=n.fallbackPlacements,b=n.padding,y=n.boundary,_=n.rootBoundary,w=n.altBoundary,x=n.flipVariations,O=void 0===x||x,A=n.allowedAutoPlacements,C=t.options.placement,k=S(C),E=v||(k!==C&&O?function(e){if(S(e)===a)return[];var t=se(e);return[le(e),t,le(t)]}(C):[se(C)]),L=[C].concat(E).reduce((function(e,n){return e.concat(S(n)===a?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,f=void 0===c?g:c,d=Z(i),p=d?a?m:m.filter((function(e){return Z(e)===d})):l,u=p.filter((function(e){return f.indexOf(e)>=0}));0===u.length&&(u=p);var h=u.reduce((function(t,n){return t[n]=ve(e,{placement:n,boundary:r,rootBoundary:o,padding:s})[S(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:y,rootBoundary:_,padding:b,flipVariations:O,allowedAutoPlacements:A}):n)}),[]),D=t.rects.reference,j=t.rects.popper,P=new Map,T=!0,M=L[0],N=0;N=0,W=I?"width":"height",$=ve(t,{placement:R,boundary:y,rootBoundary:_,altBoundary:w,padding:b}),q=I?H?o:s:H?r:i;D[W]>j[W]&&(q=se(q));var V=se(q),F=[];if(p&&F.push($[B]<=0),h&&F.push($[q]<=0,$[V]<=0),F.every((function(e){return e}))){M=R,T=!1;break}P.set(R,F)}if(T)for(var z=function(e){var t=L.find((function(t){var n=P.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},U=O?3:1;U>0&&"break"!==z(U);U--);t.placement!==M&&(t.modifiersData[f]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ye(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(e){return[i,o,r,s].some((function(t){return e[t]>=0}))}const we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=ve(t,{elementContext:"reference"}),a=ve(t,{altBoundary:!0}),l=ye(s,i),c=ye(a,r,o),f=_e(l),d=_e(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":d})}},xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,l=void 0===a?[0,0]:a,c=g.reduce((function(e,n){return e[n]=function(e,t,n){var r=S(e),a=[s,i].indexOf(r)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],f=l[1];return c=c||0,f=(f||0)*a,[s,o].indexOf(r)>=0?{x:f,y:c}:{x:c,y:f}}(n,t.rects,l),e}),{}),f=c[t.placement],d=f.x,p=f.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=c}},Oe={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ae={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name,l=n.mainAxis,f=void 0===l||l,d=n.altAxis,p=void 0!==d&&d,u=n.boundary,h=n.rootBoundary,m=n.altBoundary,g=n.padding,v=n.tether,b=void 0===v||v,y=n.tetherOffset,_=void 0===y?0:y,w=ve(t,{boundary:u,rootBoundary:h,padding:g,altBoundary:m}),x=S(t.placement),O=Z(t.placement),A=!O,C=J(x),k="x"===C?"y":"x",E=t.modifiersData.popperOffsets,L=t.rects.reference,D=t.rects.popper,j="function"==typeof _?_(Object.assign({},t.rects,{placement:t.placement})):_,P="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(E){if(f){var B,H="y"===C?i:s,I="y"===C?r:o,$="y"===C?"height":"width",q=E[C],V=q+w[H],F=q-w[I],z=b?-D[$]/2:0,U=O===c?L[$]:D[$],X=O===c?-D[$]:-L[$],Y=t.elements.arrow,G=b&&Y?W(Y):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[H],ne=ee[I],ie=K(0,L[$],G[$]),re=A?L[$]/2-z-ie-te-P.mainAxis:U-ie-te-P.mainAxis,oe=A?-L[$]/2+z+ie+ne+P.mainAxis:X+ie+ne+P.mainAxis,se=t.elements.arrow&&Q(t.elements.arrow),ae=se?"y"===C?se.clientTop||0:se.clientLeft||0:0,le=null!=(B=null==T?void 0:T[C])?B:0,ce=q+oe-le,fe=K(b?N(V,q+re-le-ae):V,q,b?M(F,ce):F);E[C]=fe,R[C]=fe-q}if(p){var de,pe="x"===C?i:s,ue="x"===C?r:o,he=E[k],me="y"===k?"height":"width",ge=he+w[pe],be=he-w[ue],ye=-1!==[i,s].indexOf(x),_e=null!=(de=null==T?void 0:T[k])?de:0,we=ye?ge:he-L[me]-D[me]-_e+P.altAxis,xe=ye?he+L[me]+D[me]-_e-P.altAxis:be,Oe=b&&ye?function(e,t,n){var i=K(e,t,n);return i>n?n:i}(we,he,xe):K(b?we:ge,he,b?xe:be);E[k]=Oe,R[k]=Oe-he}t.modifiersData[a]=R}},requiresIfExists:["offset"]};function Ce(e,t,n){void 0===n&&(n=!1);var i,r,o=j(t),s=j(t)&&function(e){var t=e.getBoundingClientRect(),n=R(t.width)/e.offsetWidth||1,i=R(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=F(t),l=I(e,s,n),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!n)&&(("body"!==E(t)||de(a))&&(c=(i=t)!==L(i)&&j(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:ce(i)),j(t)?((f=I(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=fe(a))),{x:l.left+c.scrollLeft-f.x,y:l.top+c.scrollTop-f.y,width:l.width,height:l.height}}function ke(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}var Ee={placement:"bottom",modifiers:[],strategy:"absolute"};function Le(){for(var e=arguments.length,t=new Array(e),n=0;ne&&"object"==typeof e&&"default"in e?e:{default:e},o=r(t),s=r(n),a=r(i),l="show",c="collapse",f="collapsing",d='[data-bs-toggle="collapse"]',p={parent:null,toggle:!0},u={parent:"(null|element)",toggle:"boolean"};class h extends a.default{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const i=s.default.find(d);for(const t of i){const n=e.getSelectorFromElement(t),i=s.default.find(n).filter((e=>e===this._element));null!==n&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return p}static get DefaultType(){return u}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>h.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(o.default.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(c),this._element.classList.add(f),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(c,l),this._element.style[t]="",o.default.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(o.default.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,e.reflow(this._element),this._element.classList.add(f),this._element.classList.remove(c,l);for(const t of this._triggerArray){const n=e.getElementFromSelector(t);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(c),o.default.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(l)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=e.getElement(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(d);for(const n of t){const t=e.getElementFromSelector(n);t&&this._addAriaAndCollapsedClass([n],this._isShown(t))}}_getFirstLevelChildren(e){const t=s.default.find(":scope .collapse .collapse",this._config.parent);return s.default.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=h.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}return o.default.on(document,"click.bs.collapse.data-api",d,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const n=e.getSelectorFromElement(this),i=s.default.find(n);for(const e of i)h.getOrCreateInstance(e,{toggle:!1}).toggle()})),e.defineJQueryPlugin(h),h}(n(4072),n(9286),n(8737),n(5695))},9872:function(e,t,n){e.exports=function(e,t,n,i,r,o){"use strict";const s=e=>e&&"object"==typeof e&&"default"in e?e:{default:e};function a(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const l=a(e),c=s(n),f=s(i),d=s(r),p=s(o),u="dropdown",h="ArrowUp",m="ArrowDown",g="click.bs.dropdown.data-api",v="keydown.bs.dropdown.data-api",b="show",y='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',_=`${y}.show`,w=".dropdown-menu",x=t.isRTL()?"top-end":"top-start",O=t.isRTL()?"top-start":"top-end",A=t.isRTL()?"bottom-end":"bottom-start",C=t.isRTL()?"bottom-start":"bottom-end",k=t.isRTL()?"left-start":"right-start",E=t.isRTL()?"right-start":"left-start",L={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},D={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class j extends p.default{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=d.default.findOne(w,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return L}static get DefaultType(){return D}static get NAME(){return u}toggle(){return this._isShown()?this.hide():this.show()}show(){if(t.isDisabled(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!c.default.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))c.default.on(e,"mouseover",t.noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(b),this._element.classList.add(b),c.default.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(t.isDisabled(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!c.default.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))c.default.off(e,"mouseover",t.noop);this._popper&&this._popper.destroy(),this._menu.classList.remove(b),this._element.classList.remove(b),this._element.setAttribute("aria-expanded","false"),f.default.removeDataAttribute(this._menu,"popper"),c.default.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!t.isElement(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${u.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===l)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:t.isElement(this._config.reference)?e=t.getElement(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=l.createPopper(e,this._menu,n)}_isShown(){return this._menu.classList.contains(b)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return k;if(e.classList.contains("dropstart"))return E;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?O:x:t?C:A}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(f.default.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:n}){const i=d.default.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>t.isVisible(e)));i.length&&t.getNextActiveElement(i,n,e===m,!i.includes(n)).focus()}static jQueryInterface(e){return this.each((function(){const t=j.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=d.default.find(_);for(const n of t){const t=j.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),r=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!r||"outside"===t._config.autoClose&&r)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const o={relatedTarget:t._element};"click"===e.type&&(o.clickEvent=e),t._completeHide(o)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,i=[h,m].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const r=d.default.findOne(y,e.delegateTarget.parentNode),o=j.getOrCreateInstance(r);if(i)return e.stopPropagation(),o.show(),void o._selectMenuItem(e);o._isShown()&&(e.stopPropagation(),o.hide(),r.focus())}}return c.default.on(document,v,y,j.dataApiKeydownHandler),c.default.on(document,v,w,j.dataApiKeydownHandler),c.default.on(document,g,j.clearMenus),c.default.on(document,"keyup.bs.dropdown.data-api",j.clearMenus),c.default.on(document,g,y,(function(e){e.preventDefault(),j.getOrCreateInstance(this).toggle()})),t.defineJQueryPlugin(j),j}(n(9492),n(4072),n(9286),n(3175),n(8737),n(5695))},6169:function(e,t,n){e.exports=function(e,t,n,i,r,o,s,a){"use strict";const l=e=>e&&"object"==typeof e&&"default"in e?e:{default:e},c=l(t),f=l(n),d=l(i),p=l(r),u=l(o),h=l(s),m=".bs.offcanvas",g=`load${m}.data-api`,v="show",b="showing",y="hiding",_=".offcanvas.show",w=`show${m}`,x=`shown${m}`,O=`hide${m}`,A=`hidePrevented${m}`,C=`hidden${m}`,k=`resize${m}`,E=`click${m}.data-api`,L=`keydown.dismiss${m}`,D={backdrop:!0,keyboard:!0,scroll:!1},j={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class P extends d.default{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return D}static get DefaultType(){return j}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(f.default.trigger(this._element,w,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new c.default).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(b);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(v),this._element.classList.remove(b),f.default.trigger(this._element,x,{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(f.default.trigger(this._element,O).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(y),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(v,y),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new c.default).reset(),f.default.trigger(this._element,C)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new u.default({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():f.default.trigger(this._element,A)}:null})}_initializeFocusTrap(){return new h.default({trapElement:this._element})}_addEventListeners(){f.default.on(this._element,L,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():f.default.trigger(this._element,A))}))}static jQueryInterface(e){return this.each((function(){const t=P.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return f.default.on(document,E,'[data-bs-toggle="offcanvas"]',(function(t){const n=e.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),e.isDisabled(this))return;f.default.one(n,C,(()=>{e.isVisible(this)&&this.focus()}));const i=p.default.findOne(_);i&&i!==n&&P.getInstance(i).hide(),P.getOrCreateInstance(n).toggle(this)})),f.default.on(window,g,(()=>{for(const e of p.default.find(_))P.getOrCreateInstance(e).show()})),f.default.on(window,k,(()=>{for(const e of p.default.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&P.getOrCreateInstance(e).hide()})),a.enableDismissTrigger(P),e.defineJQueryPlugin(P),P}(n(4072),n(1810),n(9286),n(5695),n(8737),n(1358),n(744),n(1127))}}]);