| 1 |
- var Popper=(function(p){"use strict";var M="top",W="bottom",R="right",k="left",le="auto",Q=[M,W,R,k],U="start",Z="end",qe="clippingParents",xe="viewport",ee="popper",Ie="reference",$e=Q.reduce(function(e,t){return e.concat([t+"-"+U,t+"-"+Z])},[]),je=[].concat(Q,[le]).reduce(function(e,t){return e.concat([t,t+"-"+U,t+"-"+Z])},[]),Ne="beforeRead",Fe="read",Ue="afterRead",_e="beforeMain",ze="main",Ge="afterMain",Xe="beforeWrite",Ye="write",Je="afterWrite",Ke=[Ne,Fe,Ue,_e,ze,Ge,Xe,Ye,Je];function C(e){return e?(e.nodeName||"").toLowerCase():null}function T(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _(e){var t=T(e).Element;return e instanceof t||e instanceof Element}function H(e){var t=T(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function De(e){if(typeof ShadowRoot=="undefined")return!1;var t=T(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Pt(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!H(a)||!C(a)||(Object.assign(a.style,r),Object.keys(i).forEach(function(c){var f=i[c];f===!1?a.removeAttribute(c):a.setAttribute(c,f===!0?"":f)}))})}function At(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(r){var i=t.elements[r],a=t.attributes[r]||{},c=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),f=c.reduce(function(o,s){return o[s]="",o},{});!H(i)||!C(i)||(Object.assign(i.style,f),Object.keys(a).forEach(function(o){i.removeAttribute(o)}))})}}var Ee={name:"applyStyles",enabled:!0,phase:"write",fn:Pt,effect:At,requires:["computeStyles"]};function q(e){return e.split("-")[0]}var z=Math.max,pe=Math.min,te=Math.round;function Pe(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Qe(){return!/^((?!chrome|android).)*safari/i.test(Pe())}function ne(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&H(e)&&(i=e.offsetWidth>0&&te(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&te(r.height)/e.offsetHeight||1);var c=_(e)?T(e):window,f=c.visualViewport,o=!Qe()&&n,s=(r.left+(o&&f?f.offsetLeft:0))/i,u=(r.top+(o&&f?f.offsetTop:0))/a,v=r.width/i,h=r.height/a;return{width:v,height:h,top:u,right:s+v,bottom:u+h,left:s,x:s,y:u}}function Ae(e){var t=ne(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ze(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&De(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function I(e){return T(e).getComputedStyle(e)}function Mt(e){return["table","td","th"].indexOf(C(e))>=0}function F(e){return((_(e)?e.ownerDocument:e.document)||window.document).documentElement}function de(e){return C(e)==="html"?e:e.assignedSlot||e.parentNode||(De(e)?e.host:null)||F(e)}function et(e){return!H(e)||I(e).position==="fixed"?null:e.offsetParent}function kt(e){var t=/firefox/i.test(Pe()),n=/Trident/i.test(Pe());if(n&&H(e)){var r=I(e);if(r.position==="fixed")return null}var i=de(e);for(De(i)&&(i=i.host);H(i)&&["html","body"].indexOf(C(i))<0;){var a=I(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function ae(e){for(var t=T(e),n=et(e);n&&Mt(n)&&I(n).position==="static";)n=et(n);return n&&(C(n)==="html"||C(n)==="body"&&I(n).position==="static")?t:n||kt(e)||t}function Me(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function fe(e,t,n){return z(e,pe(t,n))}function Lt(e,t,n){var r=fe(e,t,n);return r>n?n:r}function tt(){return{top:0,right:0,bottom:0,left:0}}function nt(e){return Object.assign({},tt(),e)}function rt(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Wt=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,nt(typeof e!="number"?e:rt(e,Q))};function Rt(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,c=n.modifiersData.popperOffsets,f=q(n.placement),o=Me(f),s=[k,R].indexOf(f)>=0,u=s?"height":"width";if(!(!a||!c)){var v=Wt(i.padding,n),h=Ae(a),d=o==="y"?M:k,b=o==="y"?W:R,l=n.rects.reference[u]+n.rects.reference[o]-c[o]-n.rects.popper[u],g=c[o]-n.rects.reference[o],w=ae(a),x=w?o==="y"?w.clientHeight||0:w.clientWidth||0:0,$=l/2-g/2,m=v[d],y=x-h[u]-v[b],O=x/2-h[u]/2+$,j=fe(m,O,y),D=o;n.modifiersData[r]=(t={},t[D]=j,t.centerOffset=j-O,t)}}function Tt(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Ze(t.elements.popper,i)&&(t.elements.arrow=i))}var it={name:"arrow",enabled:!0,phase:"main",fn:Rt,effect:Tt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function re(e){return e.split("-")[1]}var Bt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ht(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:te(n*i)/i||0,y:te(r*i)/i||0}}function ot(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,c=e.offsets,f=e.position,o=e.gpuAcceleration,s=e.adaptive,u=e.roundOffsets,v=e.isFixed,h=c.x,d=h===void 0?0:h,b=c.y,l=b===void 0?0:b,g=typeof u=="function"?u({x:d,y:l}):{x:d,y:l};d=g.x,l=g.y;var w=c.hasOwnProperty("x"),x=c.hasOwnProperty("y"),$=k,m=M,y=window;if(s){var O=ae(n),j="clientHeight",D="clientWidth";if(O===T(n)&&(O=F(n),I(O).position!=="static"&&f==="absolute"&&(j="scrollHeight",D="scrollWidth")),O=O,i===M||(i===k||i===R)&&a===Z){m=W;var E=v&&O===y&&y.visualViewport?y.visualViewport.height:O[j];l-=E-r.height,l*=o?1:-1}if(i===k||(i===M||i===W)&&a===Z){$=R;var P=v&&O===y&&y.visualViewport?y.visualViewport.width:O[D];d-=P-r.width,d*=o?1:-1}}var A=Object.assign({position:f},s&&Bt),S=u===!0?Ht({x:d,y:l},T(n)):{x:d,y:l};if(d=S.x,l=S.y,o){var L;return Object.assign({},A,(L={},L[m]=x?"0":"",L[$]=w?"0":"",L.transform=(y.devicePixelRatio||1)<=1?"translate("+d+"px, "+l+"px)":"translate3d("+d+"px, "+l+"px, 0)",L))}return Object.assign({},A,(t={},t[m]=x?l+"px":"",t[$]=w?d+"px":"",t.transform="",t))}function St(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,c=a===void 0?!0:a,f=n.roundOffsets,o=f===void 0?!0:f,s={placement:q(t.placement),variation:re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ot(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:o})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ot(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:o})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ke={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:St,data:{}},me={passive:!0};function Vt(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,c=r.resize,f=c===void 0?!0:c,o=T(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&s.forEach(function(u){u.addEventListener("scroll",n.update,me)}),f&&o.addEventListener("resize",n.update,me),function(){a&&s.forEach(function(u){u.removeEventListener("scroll",n.update,me)}),f&&o.removeEventListener("resize",n.update,me)}}var Le={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Vt,data:{}},Ct={left:"right",right:"left",bottom:"top",top:"bottom"};function he(e){return e.replace(/left|right|bottom|top/g,function(t){return Ct[t]})}var qt={start:"end",end:"start"};function at(e){return e.replace(/start|end/g,function(t){return qt[t]})}function We(e){var t=T(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Re(e){return ne(F(e)).left+We(e).scrollLeft}function It(e,t){var n=T(e),r=F(e),i=n.visualViewport,a=r.clientWidth,c=r.clientHeight,f=0,o=0;if(i){a=i.width,c=i.height;var s=Qe();(s||!s&&t==="fixed")&&(f=i.offsetLeft,o=i.offsetTop)}return{width:a,height:c,x:f+Re(e),y:o}}function Nt(e){var t,n=F(e),r=We(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=z(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),c=z(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),f=-r.scrollLeft+Re(e),o=-r.scrollTop;return I(i||n).direction==="rtl"&&(f+=z(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:c,x:f,y:o}}function Te(e){var t=I(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function ft(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:H(e)&&Te(e)?e:ft(de(e))}function se(e,t){var n;t===void 0&&(t=[]);var r=ft(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=T(r),c=i?[a].concat(a.visualViewport||[],Te(r)?r:[]):r,f=t.concat(c);return i?f:f.concat(se(de(c)))}function Be(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ft(e,t){var n=ne(e,!1,t==="fixed");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}function st(e,t,n){return t===xe?Be(It(e,n)):_(t)?Ft(t,n):Be(Nt(F(e)))}function Ut(e){var t=se(de(e)),n=["absolute","fixed"].indexOf(I(e).position)>=0,r=n&&H(e)?ae(e):e;return _(r)?t.filter(function(i){return _(i)&&Ze(i,r)&&C(i)!=="body"}):[]}function _t(e,t,n,r){var i=t==="clippingParents"?Ut(e):[].concat(t),a=[].concat(i,[n]),c=a[0],f=a.reduce(function(o,s){var u=st(e,s,r);return o.top=z(u.top,o.top),o.right=pe(u.right,o.right),o.bottom=pe(u.bottom,o.bottom),o.left=z(u.left,o.left),o},st(e,c,r));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function ct(e){var t=e.reference,n=e.element,r=e.placement,i=r?q(r):null,a=r?re(r):null,c=t.x+t.width/2-n.width/2,f=t.y+t.height/2-n.height/2,o;switch(i){case M:o={x:c,y:t.y-n.height};break;case W:o={x:c,y:t.y+t.height};break;case R:o={x:t.x+t.width,y:f};break;case k:o={x:t.x-n.width,y:f};break;default:o={x:t.x,y:t.y}}var s=i?Me(i):null;if(s!=null){var u=s==="y"?"height":"width";switch(a){case U:o[s]=o[s]-(t[u]/2-n[u]/2);break;case Z:o[s]=o[s]+(t[u]/2-n[u]/2);break}}return o}function ie(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,c=a===void 0?e.strategy:a,f=n.boundary,o=f===void 0?qe:f,s=n.rootBoundary,u=s===void 0?xe:s,v=n.elementContext,h=v===void 0?ee:v,d=n.altBoundary,b=d===void 0?!1:d,l=n.padding,g=l===void 0?0:l,w=nt(typeof g!="number"?g:rt(g,Q)),x=h===ee?Ie:ee,$=e.rects.popper,m=e.elements[b?x:h],y=_t(_(m)?m:m.contextElement||F(e.elements.popper),o,u,c),O=ne(e.elements.reference),j=ct({reference:O,element:$,placement:i}),D=Be(Object.assign({},$,j)),E=h===ee?D:O,P={top:y.top-E.top+w.top,bottom:E.bottom-y.bottom+w.bottom,left:y.left-E.left+w.left,right:E.right-y.right+w.right},A=e.modifiersData.offset;if(h===ee&&A){var S=A[i];Object.keys(P).forEach(function(L){var G=[R,W].indexOf(L)>=0?1:-1,X=[M,W].indexOf(L)>=0?"y":"x";P[L]+=S[X]*G})}return P}function zt(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,c=n.padding,f=n.flipVariations,o=n.allowedAutoPlacements,s=o===void 0?je:o,u=re(r),v=u?f?$e:$e.filter(function(b){return re(b)===u}):Q,h=v.filter(function(b){return s.indexOf(b)>=0});h.length===0&&(h=v);var d=h.reduce(function(b,l){return b[l]=ie(e,{placement:l,boundary:i,rootBoundary:a,padding:c})[q(l)],b},{});return Object.keys(d).sort(function(b,l){return d[b]-d[l]})}function Gt(e){if(q(e)===le)return[];var t=he(e);return[at(e),t,at(t)]}function Xt(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,c=n.altAxis,f=c===void 0?!0:c,o=n.fallbackPlacements,s=n.padding,u=n.boundary,v=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,b=d===void 0?!0:d,l=n.allowedAutoPlacements,g=t.options.placement,w=q(g),x=w===g,$=o||(x||!b?[he(g)]:Gt(g)),m=[g].concat($).reduce(function(J,N){return J.concat(q(N)===le?zt(t,{placement:N,boundary:u,rootBoundary:v,padding:s,flipVariations:b,allowedAutoPlacements:l}):N)},[]),y=t.rects.reference,O=t.rects.popper,j=new Map,D=!0,E=m[0],P=0;P<m.length;P++){var A=m[P],S=q(A),L=re(A)===U,G=[M,W].indexOf(S)>=0,X=G?"width":"height",B=ie(t,{placement:A,boundary:u,rootBoundary:v,altBoundary:h,padding:s}),V=G?L?R:k:L?W:M;y[X]>O[X]&&(V=he(V));var ye=he(V),Y=[];if(a&&Y.push(B[S]<=0),f&&Y.push(B[V]<=0,B[ye]<=0),Y.every(function(J){return J})){E=A,D=!1;break}j.set(A,Y)}if(D)for(var ge=b?3:1,Se=function(J){var N=m.find(function(we){var ue=j.get(we);if(ue)return ue.slice(0,J).every(function(oe){return oe})});if(N)return E=N,"break"},ce=ge;ce>0;ce--){var be=Se(ce);if(be==="break")break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}}var ut={name:"flip",enabled:!0,phase:"main",fn:Xt,requiresIfExists:["offset"],data:{_skip:!1}};function lt(e,t,n){return n===void 0&&(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 pt(e){return[M,R,W,k].some(function(t){return e[t]>=0})}function Yt(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,c=ie(t,{elementContext:"reference"}),f=ie(t,{altBoundary:!0}),o=lt(c,r),s=lt(f,i,a),u=pt(o),v=pt(s);t.modifiersData[n]={referenceClippingOffsets:o,popperEscapeOffsets:s,isReferenceHidden:u,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":v})}var dt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Yt};function Jt(e,t,n){var r=q(e),i=[k,M].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=a[0],f=a[1];return c=c||0,f=(f||0)*i,[k,R].indexOf(r)>=0?{x:f,y:c}:{x:c,y:f}}function Kt(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,c=je.reduce(function(u,v){return u[v]=Jt(v,t.rects,a),u},{}),f=c[t.placement],o=f.x,s=f.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=o,t.modifiersData.popperOffsets.y+=s),t.modifiersData[r]=c}var mt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Kt};function Qt(e){var t=e.state,n=e.name;t.modifiersData[n]=ct({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:Qt,data:{}};function Zt(e){return e==="x"?"y":"x"}function en(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,c=n.altAxis,f=c===void 0?!1:c,o=n.boundary,s=n.rootBoundary,u=n.altBoundary,v=n.padding,h=n.tether,d=h===void 0?!0:h,b=n.tetherOffset,l=b===void 0?0:b,g=ie(t,{boundary:o,rootBoundary:s,padding:v,altBoundary:u}),w=q(t.placement),x=re(t.placement),$=!x,m=Me(w),y=Zt(m),O=t.modifiersData.popperOffsets,j=t.rects.reference,D=t.rects.popper,E=typeof l=="function"?l(Object.assign({},t.rects,{placement:t.placement})):l,P=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(O){if(a){var L,G=m==="y"?M:k,X=m==="y"?W:R,B=m==="y"?"height":"width",V=O[m],ye=V+g[G],Y=V-g[X],ge=d?-D[B]/2:0,Se=x===U?j[B]:D[B],ce=x===U?-D[B]:-j[B],be=t.elements.arrow,J=d&&be?Ae(be):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:tt(),we=N[G],ue=N[X],oe=fe(0,j[B],J[B]),hn=$?j[B]/2-ge-oe-we-P.mainAxis:Se-oe-we-P.mainAxis,vn=$?-j[B]/2+ge+oe+ue+P.mainAxis:ce+oe+ue+P.mainAxis,Ve=t.elements.arrow&&ae(t.elements.arrow),yn=Ve?m==="y"?Ve.clientTop||0:Ve.clientLeft||0:0,gt=(L=A==null?void 0:A[m])!=null?L:0,gn=V+hn-gt-yn,bn=V+vn-gt,bt=fe(d?pe(ye,gn):ye,V,d?z(Y,bn):Y);O[m]=bt,S[m]=bt-V}if(f){var wt,wn=m==="x"?M:k,On=m==="x"?W:R,K=O[y],Oe=y==="y"?"height":"width",Ot=K+g[wn],xt=K-g[On],Ce=[M,k].indexOf(w)!==-1,$t=(wt=A==null?void 0:A[y])!=null?wt:0,jt=Ce?Ot:K-j[Oe]-D[Oe]-$t+P.altAxis,Dt=Ce?K+j[Oe]+D[Oe]-$t-P.altAxis:xt,Et=d&&Ce?Lt(jt,K,Dt):fe(d?jt:Ot,K,d?Dt:xt);O[y]=Et,S[y]=Et-K}t.modifiersData[r]=S}}var ht={name:"preventOverflow",enabled:!0,phase:"main",fn:en,requiresIfExists:["offset"]};function tn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function nn(e){return e===T(e)||!H(e)?We(e):tn(e)}function rn(e){var t=e.getBoundingClientRect(),n=te(t.width)/e.offsetWidth||1,r=te(t.height)/e.offsetHeight||1;return n!==1||r!==1}function on(e,t,n){n===void 0&&(n=!1);var r=H(t),i=H(t)&&rn(t),a=F(t),c=ne(e,i,n),f={scrollLeft:0,scrollTop:0},o={x:0,y:0};return(r||!r&&!n)&&((C(t)!=="body"||Te(a))&&(f=nn(t)),H(t)?(o=ne(t,!0),o.x+=t.clientLeft,o.y+=t.clientTop):a&&(o.x=Re(a))),{x:c.left+f.scrollLeft-o.x,y:c.top+f.scrollTop-o.y,width:c.width,height:c.height}}function an(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var c=[].concat(a.requires||[],a.requiresIfExists||[]);c.forEach(function(f){if(!n.has(f)){var o=t.get(f);o&&i(o)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function fn(e){var t=an(e);return Ke.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function sn(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function cn(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var vt={placement:"bottom",modifiers:[],strategy:"absolute"};function yt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function ve(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?vt:i;return function(c,f,o){o===void 0&&(o=a);var s={placement:"bottom",orderedModifiers:[],options:Object.assign({},vt,a),modifiersData:{},elements:{reference:c,popper:f},attributes:{},styles:{}},u=[],v=!1,h={state:s,setOptions:function(l){var g=typeof l=="function"?l(s.options):l;b(),s.options=Object.assign({},a,s.options,g),s.scrollParents={reference:_(c)?se(c):c.contextElement?se(c.contextElement):[],popper:se(f)};var w=fn(cn([].concat(r,s.options.modifiers)));return s.orderedModifiers=w.filter(function(x){return x.enabled}),d(),h.update()},forceUpdate:function(){if(!v){var l=s.elements,g=l.reference,w=l.popper;if(yt(g,w)){s.rects={reference:on(g,ae(w),s.options.strategy==="fixed"),popper:Ae(w)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(D){return s.modifiersData[D.name]=Object.assign({},D.data)});for(var x=0;x<s.orderedModifiers.length;x++){if(s.reset===!0){s.reset=!1,x=-1;continue}var $=s.orderedModifiers[x],m=$.fn,y=$.options,O=y===void 0?{}:y,j=$.name;typeof m=="function"&&(s=m({state:s,options:O,name:j,instance:h})||s)}}}},update:sn(function(){return new Promise(function(l){h.forceUpdate(),l(s)})}),destroy:function(){b(),v=!0}};if(!yt(c,f))return h;h.setOptions(o).then(function(l){!v&&o.onFirstUpdate&&o.onFirstUpdate(l)});function d(){s.orderedModifiers.forEach(function(l){var g=l.name,w=l.options,x=w===void 0?{}:w,$=l.effect;if(typeof $=="function"){var m=$({state:s,name:g,instance:h,options:x}),y=function(){};u.push(m||y)}})}function b(){u.forEach(function(l){return l()}),u=[]}return h}}var un=ve(),ln=[Le,He,ke,Ee],pn=ve({defaultModifiers:ln}),dn=[Le,He,ke,Ee,mt,ut,ht,it,dt],mn=ve({defaultModifiers:dn});return p.afterMain=Ge,p.afterRead=Ue,p.afterWrite=Je,p.applyStyles=Ee,p.arrow=it,p.auto=le,p.basePlacements=Q,p.beforeMain=_e,p.beforeRead=Ne,p.beforeWrite=Xe,p.bottom=W,p.clippingParents=qe,p.computeStyles=ke,p.createPopper=mn,p.createPopperBase=un,p.createPopperLite=pn,p.detectOverflow=ie,p.end=Z,p.eventListeners=Le,p.flip=ut,p.hide=dt,p.left=k,p.main=ze,p.modifierPhases=Ke,p.offset=mt,p.placements=je,p.popper=ee,p.popperGenerator=ve,p.popperOffsets=He,p.preventOverflow=ht,p.read=Fe,p.reference=Ie,p.right=R,p.start=U,p.top=M,p.variationPlacements=$e,p.viewport=xe,p.write=Ye,p})({});
|