avo 4.0.15 → 4.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '01554083dc081f4aea4eeecbab46a1f91105ac325d72beffa818b77fbfe0e4b3'
4
- data.tar.gz: 3d1ba3087db42bdc5d25a805be2b3428d876d1b24a953cb732a18d91e176be57
3
+ metadata.gz: 3bd70f17a2cd8516de1064fbf4dcc6090433d27ad2d464860d4472739c49b8a4
4
+ data.tar.gz: 1b813e6007c7dd229c740823fb72a408e7fd086b04942328e695afa8c84cfc12
5
5
  SHA512:
6
- metadata.gz: 970bc3a389f504eff093458f2387edbaf6d0fade696d6e9e7af7c99632682fd9f67333e46972b19dffe421b525ce446cfee968fc4574864b333be693695b9fbc
7
- data.tar.gz: e19481d7cf66db62584d03ab963e422b4013e75b79dd479d8b573719c169b6427860663899a874ebed3a1c0e6dbb9d3cb49a4e9c6b59a5c536e9e16b18a6abba
6
+ metadata.gz: 685df2d8f97d2b9bb2c422dcfcb7ee465c9377e5c60f77925b7905570343da83ffa014ff6f8a16d2ad19945b2615f85ce78bccde8b976fef07a5efc1fee1b706
7
+ data.tar.gz: 68531ff0f684d9c9d88ba08a72b3088a316a09849b9ec295296bf41818b527dde82e5ea4ff80717ba90ab9982c45b08eecfb7b169eee7034fc7077802c736770
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (4.0.15)
4
+ avo (4.0.16)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
@@ -6619,6 +6619,11 @@ tag.tagify__tag {
6619
6619
  .card--full-width {
6620
6620
  width: 100%;
6621
6621
  }
6622
+ .card--padded {
6623
+ .card__body {
6624
+ padding: calc(var(--spacing) * 4);
6625
+ }
6626
+ }
6622
6627
  .card__wrapper {
6623
6628
  display: flex;
6624
6629
  width: 100%;
@@ -644,7 +644,7 @@ function print() { __p += __j.call(arguments, '') }
644
644
 
645
645
  ——
646
646
  Suppress this warning by adding a "data-turbo-suppress-warning" attribute to: %s
647
- `,r.outerHTML);e=e.parentElement}})();window.Turbo={...l2t,StreamActions:Ev};T$();var Mke;async function f2t(){return Mke||Oke(d2t().then(Oke))}function Oke(r){return Mke=r}async function d2t(){let{createConsumer:r}=await Promise.resolve().then(()=>(Ike(),Dke));return r()}async function Lke(r,e){let{subscriptions:t}=await f2t();return t.create(r,e)}function BA(r){return!r||typeof r!="object"||r instanceof Date||r instanceof RegExp?r:Array.isArray(r)?r.map(BA):Object.keys(r).reduce(function(e,t){var n=t[0].toLowerCase()+t.slice(1).replace(/([A-Z]+)/g,function(i,o){return"_"+o.toLowerCase()});return e[n]=BA(r[t]),e},{})}var P$=class extends HTMLElement{static observedAttributes=["channel","signed-stream-name"];async connectedCallback(){MA(this),this.subscription=await Lke(this.channel,{received:this.dispatchMessageEvent.bind(this),connected:this.subscriptionConnected.bind(this),disconnected:this.subscriptionDisconnected.bind(this)})}disconnectedCallback(){LA(this),this.subscription&&this.subscription.unsubscribe(),this.subscriptionDisconnected()}attributeChangedCallback(){this.subscription&&(this.disconnectedCallback(),this.connectedCallback())}dispatchMessageEvent(e){let t=new MessageEvent("message",{data:e});return this.dispatchEvent(t)}subscriptionConnected(){this.setAttribute("connected","")}subscriptionDisconnected(){this.removeAttribute("connected")}get channel(){let e=this.getAttribute("channel"),t=this.getAttribute("signed-stream-name");return{channel:e,signed_stream_name:t,...BA({...this.dataset})}}};customElements.get("turbo-cable-stream-source")===void 0&&customElements.define("turbo-cable-stream-source",P$);function Pke(r){if(r.target instanceof HTMLFormElement){let{target:e,detail:{fetchOptions:t}}=r;e.addEventListener("turbo:submit-start",({detail:{formSubmission:{submitter:n}}})=>{let i=v2t(t.body)?t.body:new URLSearchParams,o=m2t(n,i,e);/get/i.test(o)||(/post/i.test(o)?i.delete("_method"):i.set("_method",o),t.method="post")},{once:!0})}}function m2t(r,e,t){let n=g2t(r),i=e.get("_method"),o=t.getAttribute("method")||"get";return typeof n=="string"?n:typeof i=="string"?i:o}function g2t(r){return r instanceof HTMLButtonElement||r instanceof HTMLInputElement?r.name==="_method"?r.value:r.hasAttribute("formmethod")?r.formMethod:null:null}function v2t(r){return r instanceof FormData||r instanceof URLSearchParams}window.Turbo=Fx;addEventListener("turbo:before-fetch-request",Pke);var zA=class{constructor(e){this.children=[],this.parent=e}delete(e){let t=this.children.indexOf(e);return t===-1?!1:(this.children=this.children.slice(0,t).concat(this.children.slice(t+1)),this.children.length===0&&this.parent.delete(this),!0)}add(e){return this.children.push(e),this}},R$=class r{constructor(e){this.parent=null,this.children={},this.parent=e||null}get(e){return this.children[e]}insert(e){let t=this;for(let n=0;n<e.length;n+=1){let i=e[n],o=t.get(i);if(n===e.length-1)return o instanceof r&&(t.delete(o),o=null),o||(o=new zA(t),t.children[i]=o),o;o instanceof zA&&(o=null),o||(o=new r(t),t.children[i]=o),t=o}return t}delete(e){for(let t in this.children)if(this.children[t]===e){let i=delete this.children[t];return Object.keys(this.children).length===0&&this.parent&&this.parent.delete(this),i}return!1}},y2t={"\xA1":"1","\u2122":"2","\xA3":"3","\xA2":"4","\u221E":"5","\xA7":"6","\xB6":"7","\u2022":"8",\u00AA:"9",\u00BA:"0","\u2013":"-","\u2260":"=","\u2044":"!","\u20AC":"@","\u2039":"#","\u203A":"$",\uFB01:"%",\uFB02:"^","\u2021":"&","\xB0":"*","\xB7":"(","\u201A":")","\u2014":"_","\xB1":"+",\u0153:"q","\u2211":"w","\xAE":"r","\u2020":"t","\xA5":"y",\u00F8:"o",\u03C0:"p","\u201C":"[","\u2018":"]","\xAB":"\\",\u0152:"Q","\u201E":"W","\xB4":"E","\u2030":"R","\u02C7":"T",\u00C1:"Y","\xA8":"U","\u02C6":"I",\u00D8:"O","\u220F":"P","\u201D":"{","\u2019":"}","\xBB":"|",\u00E5:"a",\u00DF:"s","\u2202":"d",\u0192:"f","\xA9":"g","\u02D9":"h","\u2206":"j","\u02DA":"k","\xAC":"l","\u2026":";",\u00E6:"'",\u00C5:"A",\u00CD:"S",\u00CE:"D",\u00CF:"F","\u02DD":"G",\u00D3:"H",\u00D4:"J","\uF8FF":"K",\u00D2:"L",\u00DA:":",\u00C6:'"',\u03A9:"z","\u2248":"x",\u00E7:"c","\u221A":"v","\u222B":"b",\u00B5:"m","\u2264":",","\u2265":".","\xF7":"/","\xB8":"Z","\u02DB":"X",\u00C7:"C","\u25CA":"V",\u0131:"B","\u02DC":"N",\u00C2:"M","\xAF":"<","\u02D8":">","\xBF":"?"},b2t={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+","[":"{","]":"}","\\":"|",";":":","'":'"',",":"<",".":">","/":"?",q:"Q",w:"W",e:"E",r:"R",t:"T",y:"Y",u:"U",i:"I",o:"O",p:"P",a:"A",s:"S",d:"D",f:"F",g:"G",h:"H",j:"J",k:"K",l:"L",z:"Z",x:"X",c:"C",v:"V",b:"B",n:"N",m:"M"},x2t={" ":"Space","+":"Plus"};function Fke(r,e=navigator.platform){var t,n,i;let{ctrlKey:o,altKey:a,metaKey:l,shiftKey:u,key:f}=r,p=[],x=[o,a,l,u];for(let[T,C]of x.entries())C&&p.push(Rke[T]);if(!Rke.includes(f)){let T=p.includes("Alt")&&q$.test(e)&&(t=y2t[f])!==null&&t!==void 0?t:f,C=p.includes("Shift")&&q$.test(e)&&(n=b2t[T])!==null&&n!==void 0?n:T,M=(i=x2t[C])!==null&&i!==void 0?i:C;p.push(M)}return p.join("+")}var Rke=["Control","Alt","Meta","Shift"];function _2t(r,e){let t;return t=w2t(r,e),t=S2t(t),t}var q$=/Mac|iPod|iPhone|iPad/i;function w2t(r,e){var t;let n=typeof window>"u"?void 0:window,i=(t=e??n?.navigator.platform)!==null&&t!==void 0?t:"",o=q$.test(i)?"Meta":"Control";return r.replace("Mod",o)}var qke={Control:0,Alt:1,Meta:2,Shift:3};function S2t(r){return r.split("+").sort((e,t)=>{var n,i;return((n=qke[e])!==null&&n!==void 0?n:1/0)-((i=qke[t])!==null&&i!==void 0?i:1/0)}).join("+")}var Nke=" ",o2=class r{constructor({onReset:e}={}){this._path=[],this.timer=null,this.onReset=e}get path(){return this._path}get sequence(){return this._path.join(Nke)}registerKeypress(e){this._path=[...this._path,Fke(e)],this.startTimer()}reset(){var e;this.killTimer(),this._path=[],(e=this.onReset)===null||e===void 0||e.call(this)}killTimer(){this.timer!=null&&window.clearTimeout(this.timer),this.timer=null}startTimer(){this.killTimer(),this.timer=window.setTimeout(()=>this.reset(),r.CHORD_TIMEOUT)}};o2.CHORD_TIMEOUT=1500;function F$(r){if(!(r instanceof HTMLElement))return!1;let e=r.nodeName.toLowerCase(),t=(r.getAttribute("type")||"").toLowerCase();return e==="select"||e==="textarea"||e==="input"&&t!=="submit"&&t!=="reset"&&t!=="checkbox"&&t!=="radio"&&t!=="file"||r.isContentEditable}function T2t(r,e){let t=new CustomEvent("hotkey-fire",{cancelable:!0,detail:{path:e}});r.dispatchEvent(t)&&(F$(r)?r.focus():r.click())}function k2t(r){let e=[],t=[""],n=!1;for(let i=0;i<r.length;i++){if(n&&r[i]===","){e.push(t),t=[""],n=!1;continue}if(r[i]===Nke){t.push(""),n=!1;continue}else r[i]==="+"?n=!1:n=!0;t[t.length-1]+=r[i]}return e.push(t),e.map(i=>i.map(o=>_2t(o)).filter(o=>o!=="")).filter(i=>i.length>0)}var a2=new R$,E2t=new WeakMap,N$=a2,i2=new o2({onReset(){N$=a2}});function A2t(r){if(r.defaultPrevented||!(r.target instanceof Node))return;if(F$(r.target)){let t=r.target;if(!t.id||!t.ownerDocument.querySelector(`[data-hotkey-scope="${t.id}"]`))return}let e=N$.get(Fke(r));if(!e){i2.reset();return}if(i2.registerKeypress(r),N$=e,e instanceof zA){let t=r.target,n=!1,i,o=F$(t);for(let a=e.children.length-1;a>=0;a-=1){i=e.children[a];let l=i.getAttribute("data-hotkey-scope");if(!o&&!l||o&&t.id===l){n=!0;break}}i&&n&&(T2t(i,i2.path),r.preventDefault()),i2.reset()}}function s2(r,e){Object.keys(a2.children).length===0&&document.addEventListener("keydown",A2t);let n=k2t(e||r.getAttribute("data-hotkey")||"").map(i=>a2.insert(i).add(r));E2t.set(r,n)}var Xs="top",pu="bottom",Ul="right",vl="left",l2="auto",Cb=[Xs,pu,Ul,vl],Av="start",zx="end",Bke="clippingParents",u2="viewport",Z1="popper",zke="reference",B$=Cb.reduce(function(r,e){return r.concat([e+"-"+Av,e+"-"+zx])},[]),c2=[].concat(Cb,[l2]).reduce(function(r,e){return r.concat([e,e+"-"+Av,e+"-"+zx])},[]),C2t="beforeRead",D2t="read",I2t="afterRead",O2t="beforeMain",M2t="main",L2t="afterMain",P2t="beforeWrite",R2t="write",q2t="afterWrite",Uke=[C2t,D2t,I2t,O2t,M2t,L2t,P2t,R2t,q2t];function Iu(r){return r?(r.nodeName||"").toLowerCase():null}function Ss(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var e=r.ownerDocument;return e&&e.defaultView||window}return r}function op(r){var e=Ss(r).Element;return r instanceof e||r instanceof Element}function mu(r){var e=Ss(r).HTMLElement;return r instanceof e||r instanceof HTMLElement}function X1(r){if(typeof ShadowRoot>"u")return!1;var e=Ss(r).ShadowRoot;return r instanceof e||r instanceof ShadowRoot}function F2t(r){var e=r.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];!mu(o)||!Iu(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function N2t(r){var e=r.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],o=e.attributes[n]||{},a=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]),l=a.reduce(function(u,f){return u[f]="",u},{});!mu(i)||!Iu(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(u){i.removeAttribute(u)}))})}}var UA={name:"applyStyles",enabled:!0,phase:"write",fn:F2t,effect:N2t,requires:["computeStyles"]};function Ou(r){return r.split("-")[0]}var cm=Math.max,Ux=Math.min,Cv=Math.round;function J1(){var r=navigator.userAgentData;return r!=null&&r.brands&&Array.isArray(r.brands)?r.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function jA(){return!/^((?!chrome|android).)*safari/i.test(J1())}function ap(r,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var n=r.getBoundingClientRect(),i=1,o=1;e&&mu(r)&&(i=r.offsetWidth>0&&Cv(n.width)/r.offsetWidth||1,o=r.offsetHeight>0&&Cv(n.height)/r.offsetHeight||1);var a=op(r)?Ss(r):window,l=a.visualViewport,u=!jA()&&t,f=(n.left+(u&&l?l.offsetLeft:0))/i,p=(n.top+(u&&l?l.offsetTop:0))/o,x=n.width/i,T=n.height/o;return{width:x,height:T,top:p,right:f+x,bottom:p+T,left:f,x:f,y:p}}function jx(r){var e=ap(r),t=r.offsetWidth,n=r.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:r.offsetLeft,y:r.offsetTop,width:t,height:n}}function VA(r,e){var t=e.getRootNode&&e.getRootNode();if(r.contains(e))return!0;if(t&&X1(t)){var n=e;do{if(n&&r.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Th(r){return Ss(r).getComputedStyle(r)}function z$(r){return["table","td","th"].indexOf(Iu(r))>=0}function cc(r){return((op(r)?r.ownerDocument:r.document)||window.document).documentElement}function Dv(r){return Iu(r)==="html"?r:r.assignedSlot||r.parentNode||(X1(r)?r.host:null)||cc(r)}function jke(r){return!mu(r)||Th(r).position==="fixed"?null:r.offsetParent}function B2t(r){var e=/firefox/i.test(J1()),t=/Trident/i.test(J1());if(t&&mu(r)){var n=Th(r);if(n.position==="fixed")return null}var i=Dv(r);for(X1(i)&&(i=i.host);mu(i)&&["html","body"].indexOf(Iu(i))<0;){var o=Th(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function hm(r){for(var e=Ss(r),t=jke(r);t&&z$(t)&&Th(t).position==="static";)t=jke(t);return t&&(Iu(t)==="html"||Iu(t)==="body"&&Th(t).position==="static")?e:t||B2t(r)||e}function Vx(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function Hx(r,e,t){return cm(r,Ux(e,t))}function Vke(r,e,t){var n=Hx(r,e,t);return n>t?t:n}function HA(){return{top:0,right:0,bottom:0,left:0}}function WA(r){return Object.assign({},HA(),r)}function $A(r,e){return e.reduce(function(t,n){return t[n]=r,t},{})}var z2t=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,WA(typeof e!="number"?e:$A(e,Cb))};function U2t(r){var e,t=r.state,n=r.name,i=r.options,o=t.elements.arrow,a=t.modifiersData.popperOffsets,l=Ou(t.placement),u=Vx(l),f=[vl,Ul].indexOf(l)>=0,p=f?"height":"width";if(!(!o||!a)){var x=z2t(i.padding,t),T=jx(o),C=u==="y"?Xs:vl,M=u==="y"?pu:Ul,L=t.rects.reference[p]+t.rects.reference[u]-a[u]-t.rects.popper[p],R=a[u]-t.rects.reference[u],H=hm(o),$=H?u==="y"?H.clientHeight||0:H.clientWidth||0:0,Q=L/2-R/2,G=x[C],te=$-T[p]-x[M],fe=$/2-T[p]/2+Q,re=Hx(G,fe,te),ve=u;t.modifiersData[n]=(e={},e[ve]=re,e.centerOffset=re-fe,e)}}function j2t(r){var e=r.state,t=r.options,n=t.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||VA(e.elements.popper,i)&&(e.elements.arrow=i))}var Hke={name:"arrow",enabled:!0,phase:"main",fn:U2t,effect:j2t,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function sp(r){return r.split("-")[1]}var V2t={top:"auto",right:"auto",bottom:"auto",left:"auto"};function H2t(r,e){var t=r.x,n=r.y,i=e.devicePixelRatio||1;return{x:Cv(t*i)/i||0,y:Cv(n*i)/i||0}}function Wke(r){var e,t=r.popper,n=r.popperRect,i=r.placement,o=r.variation,a=r.offsets,l=r.position,u=r.gpuAcceleration,f=r.adaptive,p=r.roundOffsets,x=r.isFixed,T=a.x,C=T===void 0?0:T,M=a.y,L=M===void 0?0:M,R=typeof p=="function"?p({x:C,y:L}):{x:C,y:L};C=R.x,L=R.y;var H=a.hasOwnProperty("x"),$=a.hasOwnProperty("y"),Q=vl,G=Xs,te=window;if(f){var fe=hm(t),re="clientHeight",ve="clientWidth";if(fe===Ss(t)&&(fe=cc(t),Th(fe).position!=="static"&&l==="absolute"&&(re="scrollHeight",ve="scrollWidth")),fe=fe,i===Xs||(i===vl||i===Ul)&&o===zx){G=pu;var _e=x&&fe===te&&te.visualViewport?te.visualViewport.height:fe[re];L-=_e-n.height,L*=u?1:-1}if(i===vl||(i===Xs||i===pu)&&o===zx){Q=Ul;var qe=x&&fe===te&&te.visualViewport?te.visualViewport.width:fe[ve];C-=qe-n.width,C*=u?1:-1}}var Ee=Object.assign({position:l},f&&V2t),U=p===!0?H2t({x:C,y:L},Ss(t)):{x:C,y:L};if(C=U.x,L=U.y,u){var j;return Object.assign({},Ee,(j={},j[G]=$?"0":"",j[Q]=H?"0":"",j.transform=(te.devicePixelRatio||1)<=1?"translate("+C+"px, "+L+"px)":"translate3d("+C+"px, "+L+"px, 0)",j))}return Object.assign({},Ee,(e={},e[G]=$?L+"px":"",e[Q]=H?C+"px":"",e.transform="",e))}function W2t(r){var e=r.state,t=r.options,n=t.gpuAcceleration,i=n===void 0?!0:n,o=t.adaptive,a=o===void 0?!0:o,l=t.roundOffsets,u=l===void 0?!0:l,f={placement:Ou(e.placement),variation:sp(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Wke(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Wke(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var $ke={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:W2t,data:{}};var h2={passive:!0};function $2t(r){var e=r.state,t=r.instance,n=r.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,l=a===void 0?!0:a,u=Ss(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&f.forEach(function(p){p.addEventListener("scroll",t.update,h2)}),l&&u.addEventListener("resize",t.update,h2),function(){o&&f.forEach(function(p){p.removeEventListener("scroll",t.update,h2)}),l&&u.removeEventListener("resize",t.update,h2)}}var Gke={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$2t,data:{}};var G2t={left:"right",right:"left",bottom:"top",top:"bottom"};function Q1(r){return r.replace(/left|right|bottom|top/g,function(e){return G2t[e]})}var K2t={start:"end",end:"start"};function f2(r){return r.replace(/start|end/g,function(e){return K2t[e]})}function Wx(r){var e=Ss(r),t=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:t,scrollTop:n}}function $x(r){return ap(cc(r)).left+Wx(r).scrollLeft}function U$(r,e){var t=Ss(r),n=cc(r),i=t.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,u=0;if(i){o=i.width,a=i.height;var f=jA();(f||!f&&e==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:l+$x(r),y:u}}function j$(r){var e,t=cc(r),n=Wx(r),i=(e=r.ownerDocument)==null?void 0:e.body,o=cm(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=cm(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+$x(r),u=-n.scrollTop;return Th(i||t).direction==="rtl"&&(l+=cm(t.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:u}}function Gx(r){var e=Th(r),t=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+i+n)}function d2(r){return["html","body","#document"].indexOf(Iu(r))>=0?r.ownerDocument.body:mu(r)&&Gx(r)?r:d2(Dv(r))}function Db(r,e){var t;e===void 0&&(e=[]);var n=d2(r),i=n===((t=r.ownerDocument)==null?void 0:t.body),o=Ss(n),a=i?[o].concat(o.visualViewport||[],Gx(n)?n:[]):n,l=e.concat(a);return i?l:l.concat(Db(Dv(a)))}function eS(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function Y2t(r,e){var t=ap(r,!1,e==="fixed");return t.top=t.top+r.clientTop,t.left=t.left+r.clientLeft,t.bottom=t.top+r.clientHeight,t.right=t.left+r.clientWidth,t.width=r.clientWidth,t.height=r.clientHeight,t.x=t.left,t.y=t.top,t}function Kke(r,e,t){return e===u2?eS(U$(r,t)):op(e)?Y2t(e,t):eS(j$(cc(r)))}function Z2t(r){var e=Db(Dv(r)),t=["absolute","fixed"].indexOf(Th(r).position)>=0,n=t&&mu(r)?hm(r):r;return op(n)?e.filter(function(i){return op(i)&&VA(i,n)&&Iu(i)!=="body"}):[]}function V$(r,e,t,n){var i=e==="clippingParents"?Z2t(r):[].concat(e),o=[].concat(i,[t]),a=o[0],l=o.reduce(function(u,f){var p=Kke(r,f,n);return u.top=cm(p.top,u.top),u.right=Ux(p.right,u.right),u.bottom=Ux(p.bottom,u.bottom),u.left=cm(p.left,u.left),u},Kke(r,a,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function GA(r){var e=r.reference,t=r.element,n=r.placement,i=n?Ou(n):null,o=n?sp(n):null,a=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,u;switch(i){case Xs:u={x:a,y:e.y-t.height};break;case pu:u={x:a,y:e.y+e.height};break;case Ul:u={x:e.x+e.width,y:l};break;case vl:u={x:e.x-t.width,y:l};break;default:u={x:e.x,y:e.y}}var f=i?Vx(i):null;if(f!=null){var p=f==="y"?"height":"width";switch(o){case Av:u[f]=u[f]-(e[p]/2-t[p]/2);break;case zx:u[f]=u[f]+(e[p]/2-t[p]/2);break;default:}}return u}function fm(r,e){e===void 0&&(e={});var t=e,n=t.placement,i=n===void 0?r.placement:n,o=t.strategy,a=o===void 0?r.strategy:o,l=t.boundary,u=l===void 0?Bke:l,f=t.rootBoundary,p=f===void 0?u2:f,x=t.elementContext,T=x===void 0?Z1:x,C=t.altBoundary,M=C===void 0?!1:C,L=t.padding,R=L===void 0?0:L,H=WA(typeof R!="number"?R:$A(R,Cb)),$=T===Z1?zke:Z1,Q=r.rects.popper,G=r.elements[M?$:T],te=V$(op(G)?G:G.contextElement||cc(r.elements.popper),u,p,a),fe=ap(r.elements.reference),re=GA({reference:fe,element:Q,strategy:"absolute",placement:i}),ve=eS(Object.assign({},Q,re)),_e=T===Z1?ve:fe,qe={top:te.top-_e.top+H.top,bottom:_e.bottom-te.bottom+H.bottom,left:te.left-_e.left+H.left,right:_e.right-te.right+H.right},Ee=r.modifiersData.offset;if(T===Z1&&Ee){var U=Ee[i];Object.keys(qe).forEach(function(j){var xe=[Ul,pu].indexOf(j)>=0?1:-1,Ie=[Xs,pu].indexOf(j)>=0?"y":"x";qe[j]+=U[Ie]*xe})}return qe}function H$(r,e){e===void 0&&(e={});var t=e,n=t.placement,i=t.boundary,o=t.rootBoundary,a=t.padding,l=t.flipVariations,u=t.allowedAutoPlacements,f=u===void 0?c2:u,p=sp(n),x=p?l?B$:B$.filter(function(M){return sp(M)===p}):Cb,T=x.filter(function(M){return f.indexOf(M)>=0});T.length===0&&(T=x);var C=T.reduce(function(M,L){return M[L]=fm(r,{placement:L,boundary:i,rootBoundary:o,padding:a})[Ou(L)],M},{});return Object.keys(C).sort(function(M,L){return C[M]-C[L]})}function X2t(r){if(Ou(r)===l2)return[];var e=Q1(r);return[f2(r),e,f2(e)]}function J2t(r){var e=r.state,t=r.options,n=r.name;if(!e.modifiersData[n]._skip){for(var i=t.mainAxis,o=i===void 0?!0:i,a=t.altAxis,l=a===void 0?!0:a,u=t.fallbackPlacements,f=t.padding,p=t.boundary,x=t.rootBoundary,T=t.altBoundary,C=t.flipVariations,M=C===void 0?!0:C,L=t.allowedAutoPlacements,R=e.options.placement,H=Ou(R),$=H===R,Q=u||($||!M?[Q1(R)]:X2t(R)),G=[R].concat(Q).reduce(function(it,_t){return it.concat(Ou(_t)===l2?H$(e,{placement:_t,boundary:p,rootBoundary:x,padding:f,flipVariations:M,allowedAutoPlacements:L}):_t)},[]),te=e.rects.reference,fe=e.rects.popper,re=new Map,ve=!0,_e=G[0],qe=0;qe<G.length;qe++){var Ee=G[qe],U=Ou(Ee),j=sp(Ee)===Av,xe=[Xs,pu].indexOf(U)>=0,Ie=xe?"width":"height",he=fm(e,{placement:Ee,boundary:p,rootBoundary:x,altBoundary:T,padding:f}),ie=xe?j?Ul:vl:j?pu:Xs;te[Ie]>fe[Ie]&&(ie=Q1(ie));var ce=Q1(ie),Me=[];if(o&&Me.push(he[U]<=0),l&&Me.push(he[ie]<=0,he[ce]<=0),Me.every(function(it){return it})){_e=Ee,ve=!1;break}re.set(Ee,Me)}if(ve)for(var ge=M?3:1,se=function(_t){var ct=G.find(function(Mt){var Ht=re.get(Mt);if(Ht)return Ht.slice(0,_t).every(function(Nt){return Nt})});if(ct)return _e=ct,"break"},Ge=ge;Ge>0;Ge--){var xt=se(Ge);if(xt==="break")break}e.placement!==_e&&(e.modifiersData[n]._skip=!0,e.placement=_e,e.reset=!0)}}var Yke={name:"flip",enabled:!0,phase:"main",fn:J2t,requiresIfExists:["offset"],data:{_skip:!1}};function Zke(r,e,t){return t===void 0&&(t={x:0,y:0}),{top:r.top-e.height-t.y,right:r.right-e.width+t.x,bottom:r.bottom-e.height+t.y,left:r.left-e.width-t.x}}function Xke(r){return[Xs,Ul,pu,vl].some(function(e){return r[e]>=0})}function Q2t(r){var e=r.state,t=r.name,n=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=fm(e,{elementContext:"reference"}),l=fm(e,{altBoundary:!0}),u=Zke(a,n),f=Zke(l,i,o),p=Xke(u),x=Xke(f);e.modifiersData[t]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:x},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":x})}var Jke={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Q2t};function eqt(r,e,t){var n=Ou(r),i=[vl,Xs].indexOf(n)>=0?-1:1,o=typeof t=="function"?t(Object.assign({},e,{placement:r})):t,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[vl,Ul].indexOf(n)>=0?{x:l,y:a}:{x:a,y:l}}function tqt(r){var e=r.state,t=r.options,n=r.name,i=t.offset,o=i===void 0?[0,0]:i,a=c2.reduce(function(p,x){return p[x]=eqt(x,e.rects,o),p},{}),l=a[e.placement],u=l.x,f=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=f),e.modifiersData[n]=a}var Qke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tqt};function rqt(r){var e=r.state,t=r.name;e.modifiersData[t]=GA({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var eEe={name:"popperOffsets",enabled:!0,phase:"read",fn:rqt,data:{}};function W$(r){return r==="x"?"y":"x"}function nqt(r){var e=r.state,t=r.options,n=r.name,i=t.mainAxis,o=i===void 0?!0:i,a=t.altAxis,l=a===void 0?!1:a,u=t.boundary,f=t.rootBoundary,p=t.altBoundary,x=t.padding,T=t.tether,C=T===void 0?!0:T,M=t.tetherOffset,L=M===void 0?0:M,R=fm(e,{boundary:u,rootBoundary:f,padding:x,altBoundary:p}),H=Ou(e.placement),$=sp(e.placement),Q=!$,G=Vx(H),te=W$(G),fe=e.modifiersData.popperOffsets,re=e.rects.reference,ve=e.rects.popper,_e=typeof L=="function"?L(Object.assign({},e.rects,{placement:e.placement})):L,qe=typeof _e=="number"?{mainAxis:_e,altAxis:_e}:Object.assign({mainAxis:0,altAxis:0},_e),Ee=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,U={x:0,y:0};if(fe){if(o){var j,xe=G==="y"?Xs:vl,Ie=G==="y"?pu:Ul,he=G==="y"?"height":"width",ie=fe[G],ce=ie+R[xe],Me=ie-R[Ie],ge=C?-ve[he]/2:0,se=$===Av?re[he]:ve[he],Ge=$===Av?-ve[he]:-re[he],xt=e.elements.arrow,it=C&&xt?jx(xt):{width:0,height:0},_t=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:HA(),ct=_t[xe],Mt=_t[Ie],Ht=Hx(0,re[he],it[he]),Nt=Q?re[he]/2-ge-Ht-ct-qe.mainAxis:se-Ht-ct-qe.mainAxis,fr=Q?-re[he]/2+ge+Ht+Mt+qe.mainAxis:Ge+Ht+Mt+qe.mainAxis,Kt=e.elements.arrow&&hm(e.elements.arrow),Xt=Kt?G==="y"?Kt.clientTop||0:Kt.clientLeft||0:0,vt=(j=Ee?.[G])!=null?j:0,yt=ie+Nt-vt-Xt,Ye=ie+fr-vt,me=Hx(C?Ux(ce,yt):ce,ie,C?cm(Me,Ye):Me);fe[G]=me,U[G]=me-ie}if(l){var De,ze=G==="x"?Xs:vl,dr=G==="x"?pu:Ul,lt=fe[te],Ut=te==="y"?"height":"width",kt=lt+R[ze],zr=lt-R[dr],or=[Xs,vl].indexOf(H)!==-1,kr=(De=Ee?.[te])!=null?De:0,Sr=or?kt:lt-re[Ut]-ve[Ut]-kr+qe.altAxis,at=or?lt+re[Ut]+ve[Ut]-kr-qe.altAxis:zr,rt=C&&or?Vke(Sr,lt,at):Hx(C?Sr:kt,lt,C?at:zr);fe[te]=rt,U[te]=rt-lt}e.modifiersData[n]=U}}var tEe={name:"preventOverflow",enabled:!0,phase:"main",fn:nqt,requiresIfExists:["offset"]};function $$(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function G$(r){return r===Ss(r)||!mu(r)?Wx(r):$$(r)}function iqt(r){var e=r.getBoundingClientRect(),t=Cv(e.width)/r.offsetWidth||1,n=Cv(e.height)/r.offsetHeight||1;return t!==1||n!==1}function K$(r,e,t){t===void 0&&(t=!1);var n=mu(e),i=mu(e)&&iqt(e),o=cc(e),a=ap(r,i,t),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!t)&&((Iu(e)!=="body"||Gx(o))&&(l=G$(e)),mu(e)?(u=ap(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):o&&(u.x=$x(o))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function oqt(r){var e=new Map,t=new Set,n=[];r.forEach(function(o){e.set(o.name,o)});function i(o){t.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!t.has(l)){var u=e.get(l);u&&i(u)}}),n.push(o)}return r.forEach(function(o){t.has(o.name)||i(o)}),n}function Y$(r){var e=oqt(r);return Uke.reduce(function(t,n){return t.concat(e.filter(function(i){return i.phase===n}))},[])}function Z$(r){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(r())})})),e}}function X$(r){var e=r.reduce(function(t,n){var i=t[n.name];return t[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,t},{});return Object.keys(e).map(function(t){return e[t]})}var rEe={placement:"bottom",modifiers:[],strategy:"absolute"};function nEe(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function iEe(r){r===void 0&&(r={});var e=r,t=e.defaultModifiers,n=t===void 0?[]:t,i=e.defaultOptions,o=i===void 0?rEe:i;return function(l,u,f){f===void 0&&(f=o);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},rEe,o),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},x=[],T=!1,C={state:p,setOptions:function(H){var $=typeof H=="function"?H(p.options):H;L(),p.options=Object.assign({},o,p.options,$),p.scrollParents={reference:op(l)?Db(l):l.contextElement?Db(l.contextElement):[],popper:Db(u)};var Q=Y$(X$([].concat(n,p.options.modifiers)));return p.orderedModifiers=Q.filter(function(G){return G.enabled}),M(),C.update()},forceUpdate:function(){if(!T){var H=p.elements,$=H.reference,Q=H.popper;if(nEe($,Q)){p.rects={reference:K$($,hm(Q),p.options.strategy==="fixed"),popper:jx(Q)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(qe){return p.modifiersData[qe.name]=Object.assign({},qe.data)});for(var G=0;G<p.orderedModifiers.length;G++){if(p.reset===!0){p.reset=!1,G=-1;continue}var te=p.orderedModifiers[G],fe=te.fn,re=te.options,ve=re===void 0?{}:re,_e=te.name;typeof fe=="function"&&(p=fe({state:p,options:ve,name:_e,instance:C})||p)}}}},update:Z$(function(){return new Promise(function(R){C.forceUpdate(),R(p)})}),destroy:function(){L(),T=!0}};if(!nEe(l,u))return C;C.setOptions(f).then(function(R){!T&&f.onFirstUpdate&&f.onFirstUpdate(R)});function M(){p.orderedModifiers.forEach(function(R){var H=R.name,$=R.options,Q=$===void 0?{}:$,G=R.effect;if(typeof G=="function"){var te=G({state:p,name:H,instance:C,options:Q}),fe=function(){};x.push(te||fe)}})}function L(){x.forEach(function(R){return R()}),x=[]}return C}}var aqt=[Gke,eEe,$ke,UA,Qke,Yke,tEe,Hke,Jke],J$=iEe({defaultModifiers:aqt});var sqt="tippy-box",pEe="tippy-content",lqt="tippy-backdrop",mEe="tippy-arrow",gEe="tippy-svg-arrow",Kx={passive:!0,capture:!0},vEe=function(){return document.body};function Q$(r,e,t){if(Array.isArray(r)){var n=r[e];return n??(Array.isArray(t)?t[e]:t)}return r}function o9(r,e){var t={}.toString.call(r);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function yEe(r,e){return typeof r=="function"?r.apply(void 0,e):r}function oEe(r,e){if(e===0)return r;var t;return function(n){clearTimeout(t),t=setTimeout(function(){r(n)},e)}}function uqt(r){return r.split(/\s+/).filter(Boolean)}function tS(r){return[].concat(r)}function aEe(r,e){r.indexOf(e)===-1&&r.push(e)}function cqt(r){return r.filter(function(e,t){return r.indexOf(e)===t})}function hqt(r){return r.split("-")[0]}function m2(r){return[].slice.call(r)}function sEe(r){return Object.keys(r).reduce(function(e,t){return r[t]!==void 0&&(e[t]=r[t]),e},{})}function KA(){return document.createElement("div")}function g2(r){return["Element","Fragment"].some(function(e){return o9(r,e)})}function fqt(r){return o9(r,"NodeList")}function dqt(r){return o9(r,"MouseEvent")}function pqt(r){return!!(r&&r._tippy&&r._tippy.reference===r)}function mqt(r){return g2(r)?[r]:fqt(r)?m2(r):Array.isArray(r)?r:m2(document.querySelectorAll(r))}function e9(r,e){r.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function lEe(r,e){r.forEach(function(t){t&&t.setAttribute("data-state",e)})}function gqt(r){var e,t=tS(r),n=t[0];return n!=null&&(e=n.ownerDocument)!=null&&e.body?n.ownerDocument:document}function vqt(r,e){var t=e.clientX,n=e.clientY;return r.every(function(i){var o=i.popperRect,a=i.popperState,l=i.props,u=l.interactiveBorder,f=hqt(a.placement),p=a.modifiersData.offset;if(!p)return!0;var x=f==="bottom"?p.top.y:0,T=f==="top"?p.bottom.y:0,C=f==="right"?p.left.x:0,M=f==="left"?p.right.x:0,L=o.top-n+x>u,R=n-o.bottom-T>u,H=o.left-t+C>u,$=t-o.right-M>u;return L||R||H||$})}function t9(r,e,t){var n=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){r[n](i,t)})}function uEe(r,e){for(var t=e;t;){var n;if(r.contains(t))return!0;t=t.getRootNode==null||(n=t.getRootNode())==null?void 0:n.host}return!1}var yg={isTouch:!1},cEe=0;function yqt(){yg.isTouch||(yg.isTouch=!0,window.performance&&document.addEventListener("mousemove",bEe))}function bEe(){var r=performance.now();r-cEe<20&&(yg.isTouch=!1,document.removeEventListener("mousemove",bEe)),cEe=r}function bqt(){var r=document.activeElement;if(pqt(r)){var e=r._tippy;r.blur&&!e.state.isVisible&&r.blur()}}function xqt(){document.addEventListener("touchstart",yqt,Kx),window.addEventListener("blur",bqt)}var _qt=typeof window<"u"&&typeof document<"u",wqt=_qt?!!window.msCrypto:!1;var Sqt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Tqt={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},dm=Object.assign({appendTo:vEe,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Sqt,Tqt),kqt=Object.keys(dm),Eqt=function(e){var t=Object.keys(e);t.forEach(function(n){dm[n]=e[n]})};function xEe(r){var e=r.plugins||[],t=e.reduce(function(n,i){var o=i.name,a=i.defaultValue;if(o){var l;n[o]=r[o]!==void 0?r[o]:(l=dm[o])!=null?l:a}return n},{});return Object.assign({},r,t)}function Aqt(r,e){var t=e?Object.keys(xEe(Object.assign({},dm,{plugins:e}))):kqt,n=t.reduce(function(i,o){var a=(r.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return n}function hEe(r,e){var t=Object.assign({},e,{content:yEe(e.content,[r])},e.ignoreAttributes?{}:Aqt(r,e.plugins));return t.aria=Object.assign({},dm.aria,t.aria),t.aria={expanded:t.aria.expanded==="auto"?e.interactive:t.aria.expanded,content:t.aria.content==="auto"?e.interactive?null:"describedby":t.aria.content},t}var Cqt=function(){return"innerHTML"};function n9(r,e){r[Cqt()]=e}function fEe(r){var e=KA();return r===!0?e.className=mEe:(e.className=gEe,g2(r)?e.appendChild(r):n9(e,r)),e}function dEe(r,e){g2(e.content)?(n9(r,""),r.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?n9(r,e.content):r.textContent=e.content)}function i9(r){var e=r.firstElementChild,t=m2(e.children);return{box:e,content:t.find(function(n){return n.classList.contains(pEe)}),arrow:t.find(function(n){return n.classList.contains(mEe)||n.classList.contains(gEe)}),backdrop:t.find(function(n){return n.classList.contains(lqt)})}}function _Ee(r){var e=KA(),t=KA();t.className=sqt,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var n=KA();n.className=pEe,n.setAttribute("data-state","hidden"),dEe(n,r.props),e.appendChild(t),t.appendChild(n),i(r.props,r.props);function i(o,a){var l=i9(e),u=l.box,f=l.content,p=l.arrow;a.theme?u.setAttribute("data-theme",a.theme):u.removeAttribute("data-theme"),typeof a.animation=="string"?u.setAttribute("data-animation",a.animation):u.removeAttribute("data-animation"),a.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?u.setAttribute("role",a.role):u.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&dEe(f,r.props),a.arrow?p?o.arrow!==a.arrow&&(u.removeChild(p),u.appendChild(fEe(a.arrow))):u.appendChild(fEe(a.arrow)):p&&u.removeChild(p)}return{popper:e,onUpdate:i}}_Ee.$$tippy=!0;var Dqt=1,p2=[],r9=[];function Iqt(r,e){var t=hEe(r,Object.assign({},dm,xEe(sEe(e)))),n,i,o,a=!1,l=!1,u=!1,f=!1,p,x,T,C=[],M=oEe(yt,t.interactiveDebounce),L,R=Dqt++,H=null,$=cqt(t.plugins),Q={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},G={id:R,reference:r,popper:KA(),popperInstance:H,props:t,state:Q,plugins:$,clearDelayTimeouts:Sr,setProps:at,setContent:rt,show:Yt,hide:Yr,hideWithInteractivity:hi,enable:or,disable:kr,unmount:vi,destroy:Fi};if(!t.render)return G;var te=t.render(G),fe=te.popper,re=te.onUpdate;fe.setAttribute("data-tippy-root",""),fe.id="tippy-"+G.id,G.popper=fe,r._tippy=G,fe._tippy=G;var ve=$.map(function(Wt){return Wt.fn(G)}),_e=r.hasAttribute("aria-expanded");return Kt(),ge(),ie(),ce("onCreate",[G]),t.showOnCreate&&kt(),fe.addEventListener("mouseenter",function(){G.props.interactive&&G.state.isVisible&&G.clearDelayTimeouts()}),fe.addEventListener("mouseleave",function(){G.props.interactive&&G.props.trigger.indexOf("mouseenter")>=0&&xe().addEventListener("mousemove",M)}),G;function qe(){var Wt=G.props.touch;return Array.isArray(Wt)?Wt:[Wt,0]}function Ee(){return qe()[0]==="hold"}function U(){var Wt;return!!((Wt=G.props.render)!=null&&Wt.$$tippy)}function j(){return L||r}function xe(){var Wt=j().parentNode;return Wt?gqt(Wt):document}function Ie(){return i9(fe)}function he(Wt){return G.state.isMounted&&!G.state.isVisible||yg.isTouch||p&&p.type==="focus"?0:Q$(G.props.delay,Wt?0:1,dm.delay)}function ie(Wt){Wt===void 0&&(Wt=!1),fe.style.pointerEvents=G.props.interactive&&!Wt?"":"none",fe.style.zIndex=""+G.props.zIndex}function ce(Wt,Ft,Pr){if(Pr===void 0&&(Pr=!0),ve.forEach(function(wn){wn[Wt]&&wn[Wt].apply(wn,Ft)}),Pr){var xr;(xr=G.props)[Wt].apply(xr,Ft)}}function Me(){var Wt=G.props.aria;if(Wt.content){var Ft="aria-"+Wt.content,Pr=fe.id,xr=tS(G.props.triggerTarget||r);xr.forEach(function(wn){var Dn=wn.getAttribute(Ft);if(G.state.isVisible)wn.setAttribute(Ft,Dn?Dn+" "+Pr:Pr);else{var On=Dn&&Dn.replace(Pr,"").trim();On?wn.setAttribute(Ft,On):wn.removeAttribute(Ft)}})}}function ge(){if(!(_e||!G.props.aria.expanded)){var Wt=tS(G.props.triggerTarget||r);Wt.forEach(function(Ft){G.props.interactive?Ft.setAttribute("aria-expanded",G.state.isVisible&&Ft===j()?"true":"false"):Ft.removeAttribute("aria-expanded")})}}function se(){xe().removeEventListener("mousemove",M),p2=p2.filter(function(Wt){return Wt!==M})}function Ge(Wt){if(!(yg.isTouch&&(u||Wt.type==="mousedown"))){var Ft=Wt.composedPath&&Wt.composedPath()[0]||Wt.target;if(!(G.props.interactive&&uEe(fe,Ft))){if(tS(G.props.triggerTarget||r).some(function(Pr){return uEe(Pr,Ft)})){if(yg.isTouch||G.state.isVisible&&G.props.trigger.indexOf("click")>=0)return}else ce("onClickOutside",[G,Wt]);G.props.hideOnClick===!0&&(G.clearDelayTimeouts(),G.hide(),l=!0,setTimeout(function(){l=!1}),G.state.isMounted||ct())}}}function xt(){u=!0}function it(){u=!1}function _t(){var Wt=xe();Wt.addEventListener("mousedown",Ge,!0),Wt.addEventListener("touchend",Ge,Kx),Wt.addEventListener("touchstart",it,Kx),Wt.addEventListener("touchmove",xt,Kx)}function ct(){var Wt=xe();Wt.removeEventListener("mousedown",Ge,!0),Wt.removeEventListener("touchend",Ge,Kx),Wt.removeEventListener("touchstart",it,Kx),Wt.removeEventListener("touchmove",xt,Kx)}function Mt(Wt,Ft){Nt(Wt,function(){!G.state.isVisible&&fe.parentNode&&fe.parentNode.contains(fe)&&Ft()})}function Ht(Wt,Ft){Nt(Wt,Ft)}function Nt(Wt,Ft){var Pr=Ie().box;function xr(wn){wn.target===Pr&&(t9(Pr,"remove",xr),Ft())}if(Wt===0)return Ft();t9(Pr,"remove",x),t9(Pr,"add",xr),x=xr}function fr(Wt,Ft,Pr){Pr===void 0&&(Pr=!1);var xr=tS(G.props.triggerTarget||r);xr.forEach(function(wn){wn.addEventListener(Wt,Ft,Pr),C.push({node:wn,eventType:Wt,handler:Ft,options:Pr})})}function Kt(){Ee()&&(fr("touchstart",vt,{passive:!0}),fr("touchend",Ye,{passive:!0})),uqt(G.props.trigger).forEach(function(Wt){if(Wt!=="manual")switch(fr(Wt,vt),Wt){case"mouseenter":fr("mouseleave",Ye);break;case"focus":fr(wqt?"focusout":"blur",me);break;case"focusin":fr("focusout",me);break}})}function Xt(){C.forEach(function(Wt){var Ft=Wt.node,Pr=Wt.eventType,xr=Wt.handler,wn=Wt.options;Ft.removeEventListener(Pr,xr,wn)}),C=[]}function vt(Wt){var Ft,Pr=!1;if(!(!G.state.isEnabled||De(Wt)||l)){var xr=((Ft=p)==null?void 0:Ft.type)==="focus";p=Wt,L=Wt.currentTarget,ge(),!G.state.isVisible&&dqt(Wt)&&p2.forEach(function(wn){return wn(Wt)}),Wt.type==="click"&&(G.props.trigger.indexOf("mouseenter")<0||a)&&G.props.hideOnClick!==!1&&G.state.isVisible?Pr=!0:kt(Wt),Wt.type==="click"&&(a=!Pr),Pr&&!xr&&zr(Wt)}}function yt(Wt){var Ft=Wt.target,Pr=j().contains(Ft)||fe.contains(Ft);if(!(Wt.type==="mousemove"&&Pr)){var xr=Ut().concat(fe).map(function(wn){var Dn,On=wn._tippy,$n=(Dn=On.popperInstance)==null?void 0:Dn.state;return $n?{popperRect:wn.getBoundingClientRect(),popperState:$n,props:t}:null}).filter(Boolean);vqt(xr,Wt)&&(se(),zr(Wt))}}function Ye(Wt){var Ft=De(Wt)||G.props.trigger.indexOf("click")>=0&&a;if(!Ft){if(G.props.interactive){G.hideWithInteractivity(Wt);return}zr(Wt)}}function me(Wt){G.props.trigger.indexOf("focusin")<0&&Wt.target!==j()||G.props.interactive&&Wt.relatedTarget&&fe.contains(Wt.relatedTarget)||zr(Wt)}function De(Wt){return yg.isTouch?Ee()!==Wt.type.indexOf("touch")>=0:!1}function ze(){dr();var Wt=G.props,Ft=Wt.popperOptions,Pr=Wt.placement,xr=Wt.offset,wn=Wt.getReferenceClientRect,Dn=Wt.moveTransition,On=U()?i9(fe).arrow:null,$n=wn?{getBoundingClientRect:wn,contextElement:wn.contextElement||j()}:r,co={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Z){var oe=Z.state;if(U()){var ye=Ie(),Oe=ye.box;["placement","reference-hidden","escaped"].forEach(function(je){je==="placement"?Oe.setAttribute("data-placement",oe.placement):oe.attributes.popper["data-popper-"+je]?Oe.setAttribute("data-"+je,""):Oe.removeAttribute("data-"+je)}),oe.attributes.popper={}}}},Yn=[{name:"offset",options:{offset:xr}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Dn}},co];U()&&On&&Yn.push({name:"arrow",options:{element:On,padding:3}}),Yn.push.apply(Yn,Ft?.modifiers||[]),G.popperInstance=J$($n,fe,Object.assign({},Ft,{placement:Pr,onFirstUpdate:T,modifiers:Yn}))}function dr(){G.popperInstance&&(G.popperInstance.destroy(),G.popperInstance=null)}function lt(){var Wt=G.props.appendTo,Ft,Pr=j();G.props.interactive&&Wt===vEe||Wt==="parent"?Ft=Pr.parentNode:Ft=yEe(Wt,[Pr]),Ft.contains(fe)||Ft.appendChild(fe),G.state.isMounted=!0,ze()}function Ut(){return m2(fe.querySelectorAll("[data-tippy-root]"))}function kt(Wt){G.clearDelayTimeouts(),Wt&&ce("onTrigger",[G,Wt]),_t();var Ft=he(!0),Pr=qe(),xr=Pr[0],wn=Pr[1];yg.isTouch&&xr==="hold"&&wn&&(Ft=wn),Ft?n=setTimeout(function(){G.show()},Ft):G.show()}function zr(Wt){if(G.clearDelayTimeouts(),ce("onUntrigger",[G,Wt]),!G.state.isVisible){ct();return}if(!(G.props.trigger.indexOf("mouseenter")>=0&&G.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(Wt.type)>=0&&a)){var Ft=he(!1);Ft?i=setTimeout(function(){G.state.isVisible&&G.hide()},Ft):o=requestAnimationFrame(function(){G.hide()})}}function or(){G.state.isEnabled=!0}function kr(){G.hide(),G.state.isEnabled=!1}function Sr(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(o)}function at(Wt){if(!G.state.isDestroyed){ce("onBeforeUpdate",[G,Wt]),Xt();var Ft=G.props,Pr=hEe(r,Object.assign({},Ft,sEe(Wt),{ignoreAttributes:!0}));G.props=Pr,Kt(),Ft.interactiveDebounce!==Pr.interactiveDebounce&&(se(),M=oEe(yt,Pr.interactiveDebounce)),Ft.triggerTarget&&!Pr.triggerTarget?tS(Ft.triggerTarget).forEach(function(xr){xr.removeAttribute("aria-expanded")}):Pr.triggerTarget&&r.removeAttribute("aria-expanded"),ge(),ie(),re&&re(Ft,Pr),G.popperInstance&&(ze(),Ut().forEach(function(xr){requestAnimationFrame(xr._tippy.popperInstance.forceUpdate)})),ce("onAfterUpdate",[G,Wt])}}function rt(Wt){G.setProps({content:Wt})}function Yt(){var Wt=G.state.isVisible,Ft=G.state.isDestroyed,Pr=!G.state.isEnabled,xr=yg.isTouch&&!G.props.touch,wn=Q$(G.props.duration,0,dm.duration);if(!(Wt||Ft||Pr||xr)&&!j().hasAttribute("disabled")&&(ce("onShow",[G],!1),G.props.onShow(G)!==!1)){if(G.state.isVisible=!0,U()&&(fe.style.visibility="visible"),ie(),_t(),G.state.isMounted||(fe.style.transition="none"),U()){var Dn=Ie(),On=Dn.box,$n=Dn.content;e9([On,$n],0)}T=function(){var Yn;if(!(!G.state.isVisible||f)){if(f=!0,fe.offsetHeight,fe.style.transition=G.props.moveTransition,U()&&G.props.animation){var K=Ie(),Z=K.box,oe=K.content;e9([Z,oe],wn),lEe([Z,oe],"visible")}Me(),ge(),aEe(r9,G),(Yn=G.popperInstance)==null||Yn.forceUpdate(),ce("onMount",[G]),G.props.animation&&U()&&Ht(wn,function(){G.state.isShown=!0,ce("onShown",[G])})}},lt()}}function Yr(){var Wt=!G.state.isVisible,Ft=G.state.isDestroyed,Pr=!G.state.isEnabled,xr=Q$(G.props.duration,1,dm.duration);if(!(Wt||Ft||Pr)&&(ce("onHide",[G],!1),G.props.onHide(G)!==!1)){if(G.state.isVisible=!1,G.state.isShown=!1,f=!1,a=!1,U()&&(fe.style.visibility="hidden"),se(),ct(),ie(!0),U()){var wn=Ie(),Dn=wn.box,On=wn.content;G.props.animation&&(e9([Dn,On],xr),lEe([Dn,On],"hidden"))}Me(),ge(),G.props.animation?U()&&Mt(xr,G.unmount):G.unmount()}}function hi(Wt){xe().addEventListener("mousemove",M),aEe(p2,M),M(Wt)}function vi(){G.state.isVisible&&G.hide(),G.state.isMounted&&(dr(),Ut().forEach(function(Wt){Wt._tippy.unmount()}),fe.parentNode&&fe.parentNode.removeChild(fe),r9=r9.filter(function(Wt){return Wt!==G}),G.state.isMounted=!1,ce("onHidden",[G]))}function Fi(){G.state.isDestroyed||(G.clearDelayTimeouts(),G.unmount(),Xt(),delete r._tippy,G.state.isDestroyed=!0,ce("onDestroy",[G]))}}function YA(r,e){e===void 0&&(e={});var t=dm.plugins.concat(e.plugins||[]);xqt();var n=Object.assign({},e,{plugins:t}),i=mqt(r);if(0)var o,a;var l=i.reduce(function(u,f){var p=f&&Iqt(f,n);return p&&u.push(p),u},[]);return g2(r)?l[0]:l}YA.defaultProps=dm;YA.setDefaultProps=Eqt;YA.currentInput=yg;var _1r=Object.assign({},UA,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});YA.setDefaultProps({render:_Ee});var rS=YA;var v2=class{prefix="avo";prefixedKey(e){return`${this.prefix}.${e}`}get(e){return window.localStorage.getItem(this.prefixedKey(e))}set(e,t){return window.localStorage.setItem(this.prefixedKey(e),t)}remove(e){return window.localStorage.removeItem(this.prefixedKey(e))}};var Oqt='[data-resource-search-target="input"]',wEe=()=>document.querySelector(Oqt),Mqt='[data-index-row-navigator-target="table"]',y2=()=>document.querySelector(Mqt),SEe=()=>{let r=document.querySelector('meta[name="avo:resources-index-path"]')?.getAttribute("content");return r&&r.length?r:null},Lqt="[data-content-focus]",Pqt=r=>!r||r.closest("[hidden], .hidden")?!1:r.getClientRects().length>0,EEe=()=>document.body.classList.contains("modal-open"),TEe=()=>EEe()?null:Array.from(document.querySelectorAll(Lqt)).find(Pqt)??null;function a9(r){let e=document.querySelector('[data-controller~="appearance"]');if(!e)return;window.Stimulus?.getControllerForElementAndIdentifier(e,"appearance")?.[r]?.()}var Rqt=[{hotkey:"r r r",handle:()=>{window.reloadScrollTop=document.querySelector(".scrollable-wrapper")?.scrollTop,window.StreamActions.turbo_reload()}}],qqt=[{match:r=>r.key==="?"||r.shiftKey&&r.code==="Slash",handle:()=>document.dispatchEvent(new Event("persistent-modal:toggle"))},{match:r=>r.key==="/"&&!r.shiftKey&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&!!wEe(),handle:()=>{let r=wEe();r&&r.focus()}},{match:r=>r.key==="i"&&!r.shiftKey&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&!EEe()&&!!SEe(),handle:()=>{let r=SEe();r&&(window.Turbo?window.Turbo.visit(r):window.location.assign(r))}},{match:r=>r.shiftKey&&r.key==="M",handle:()=>a9("cycleScheme")},{match:r=>r.shiftKey&&r.key==="N",handle:()=>a9("cycleNeutral")},{match:r=>r.shiftKey&&r.key==="A",handle:()=>a9("cycleAccent")},{match:r=>r.shiftKey&&r.key==="T"&&!!TEe(),handle:()=>TEe()?.focus({preventScroll:!0})},{match:r=>r.key==="j"&&!r.shiftKey&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&!!y2(),handle:()=>{y2()?.focus({preventScroll:!0}),document.dispatchEvent(new CustomEvent("avo:advance-resource-table",{detail:{direction:"next"}}))}},{match:r=>r.key==="k"&&!r.shiftKey&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&!!y2(),handle:()=>{y2()?.focus({preventScroll:!0}),document.dispatchEvent(new CustomEvent("avo:advance-resource-table",{detail:{direction:"previous"}}))}},{match:r=>r.shiftKey&&r.key==="K"&&window.Avo?.configuration?.hotkeys?.showKeyBadges!==!1,handle:()=>{document.documentElement.classList.toggle("hotkeys-hide-badges");let r=document.documentElement.classList.contains("hotkeys-hide-badges");try{r?localStorage.setItem("avo:hotkeys:hide_badges","1"):localStorage.removeItem("avo:hotkeys:hide_badges")}catch{}}}],Fqt="input, textarea, select, [contenteditable]";function kEe(r){let e=r.currentTarget,t=e.getAttribute("data-hotkey"),n=t?document.querySelectorAll(`[data-hotkey="${CSS.escape(t)}"] kbd`):e.querySelectorAll("kbd");n.length&&(r.preventDefault(),n.forEach(i=>{i.classList.add("kbd--called"),i.addEventListener("transitionend",()=>i.classList.remove("kbd--called"),{once:!0})}),requestAnimationFrame(()=>{requestAnimationFrame(()=>e.click())}))}function AEe(r){r.removeEventListener("hotkey-fire",kEe),r.addEventListener("hotkey-fire",kEe)}function CEe(){window.Avo?.configuration?.hotkeys?.enabled!==!1&&(document.addEventListener("turbo:load",()=>{document.querySelectorAll("kbd.kbd--called").forEach(r=>r.classList.remove("kbd--called")),window.reloadScrollTop&&setTimeout(()=>{document.querySelector(".scrollable-wrapper")?.scrollTo(0,window.reloadScrollTop),window.reloadScrollTop=null},50)}),Rqt.forEach(({hotkey:r,handle:e})=>{let t=document.createElement("span");t.addEventListener("hotkey-fire",n=>{n.preventDefault(),e()}),s2(t,r)}),document.addEventListener("keydown",r=>{if(r.defaultPrevented||r.repeat||r.target instanceof Element&&r.target.closest(Fqt))return;let e=qqt.find(({match:t})=>t(r));e&&(r.preventDefault(),e.handle())}))}function pm(r){return r?.closest("[popover], dialog")??null}document.addEventListener("direct-upload:initialize",r=>{let{target:e,detail:t}=r,{id:n,file:i}=t;e.insertAdjacentHTML("beforebegin",`
647
+ `,r.outerHTML);e=e.parentElement}})();window.Turbo={...l2t,StreamActions:Ev};T$();var Mke;async function f2t(){return Mke||Oke(d2t().then(Oke))}function Oke(r){return Mke=r}async function d2t(){let{createConsumer:r}=await Promise.resolve().then(()=>(Ike(),Dke));return r()}async function Lke(r,e){let{subscriptions:t}=await f2t();return t.create(r,e)}function BA(r){return!r||typeof r!="object"||r instanceof Date||r instanceof RegExp?r:Array.isArray(r)?r.map(BA):Object.keys(r).reduce(function(e,t){var n=t[0].toLowerCase()+t.slice(1).replace(/([A-Z]+)/g,function(i,o){return"_"+o.toLowerCase()});return e[n]=BA(r[t]),e},{})}var P$=class extends HTMLElement{static observedAttributes=["channel","signed-stream-name"];async connectedCallback(){MA(this),this.subscription=await Lke(this.channel,{received:this.dispatchMessageEvent.bind(this),connected:this.subscriptionConnected.bind(this),disconnected:this.subscriptionDisconnected.bind(this)})}disconnectedCallback(){LA(this),this.subscription&&this.subscription.unsubscribe(),this.subscriptionDisconnected()}attributeChangedCallback(){this.subscription&&(this.disconnectedCallback(),this.connectedCallback())}dispatchMessageEvent(e){let t=new MessageEvent("message",{data:e});return this.dispatchEvent(t)}subscriptionConnected(){this.setAttribute("connected","")}subscriptionDisconnected(){this.removeAttribute("connected")}get channel(){let e=this.getAttribute("channel"),t=this.getAttribute("signed-stream-name");return{channel:e,signed_stream_name:t,...BA({...this.dataset})}}};customElements.get("turbo-cable-stream-source")===void 0&&customElements.define("turbo-cable-stream-source",P$);function Pke(r){if(r.target instanceof HTMLFormElement){let{target:e,detail:{fetchOptions:t}}=r;e.addEventListener("turbo:submit-start",({detail:{formSubmission:{submitter:n}}})=>{let i=v2t(t.body)?t.body:new URLSearchParams,o=m2t(n,i,e);/get/i.test(o)||(/post/i.test(o)?i.delete("_method"):i.set("_method",o),t.method="post")},{once:!0})}}function m2t(r,e,t){let n=g2t(r),i=e.get("_method"),o=t.getAttribute("method")||"get";return typeof n=="string"?n:typeof i=="string"?i:o}function g2t(r){return r instanceof HTMLButtonElement||r instanceof HTMLInputElement?r.name==="_method"?r.value:r.hasAttribute("formmethod")?r.formMethod:null:null}function v2t(r){return r instanceof FormData||r instanceof URLSearchParams}window.Turbo=Fx;addEventListener("turbo:before-fetch-request",Pke);var zA=class{constructor(e){this.children=[],this.parent=e}delete(e){let t=this.children.indexOf(e);return t===-1?!1:(this.children=this.children.slice(0,t).concat(this.children.slice(t+1)),this.children.length===0&&this.parent.delete(this),!0)}add(e){return this.children.push(e),this}},R$=class r{constructor(e){this.parent=null,this.children={},this.parent=e||null}get(e){return this.children[e]}insert(e){let t=this;for(let n=0;n<e.length;n+=1){let i=e[n],o=t.get(i);if(n===e.length-1)return o instanceof r&&(t.delete(o),o=null),o||(o=new zA(t),t.children[i]=o),o;o instanceof zA&&(o=null),o||(o=new r(t),t.children[i]=o),t=o}return t}delete(e){for(let t in this.children)if(this.children[t]===e){let i=delete this.children[t];return Object.keys(this.children).length===0&&this.parent&&this.parent.delete(this),i}return!1}},y2t={"\xA1":"1","\u2122":"2","\xA3":"3","\xA2":"4","\u221E":"5","\xA7":"6","\xB6":"7","\u2022":"8",\u00AA:"9",\u00BA:"0","\u2013":"-","\u2260":"=","\u2044":"!","\u20AC":"@","\u2039":"#","\u203A":"$",\uFB01:"%",\uFB02:"^","\u2021":"&","\xB0":"*","\xB7":"(","\u201A":")","\u2014":"_","\xB1":"+",\u0153:"q","\u2211":"w","\xAE":"r","\u2020":"t","\xA5":"y",\u00F8:"o",\u03C0:"p","\u201C":"[","\u2018":"]","\xAB":"\\",\u0152:"Q","\u201E":"W","\xB4":"E","\u2030":"R","\u02C7":"T",\u00C1:"Y","\xA8":"U","\u02C6":"I",\u00D8:"O","\u220F":"P","\u201D":"{","\u2019":"}","\xBB":"|",\u00E5:"a",\u00DF:"s","\u2202":"d",\u0192:"f","\xA9":"g","\u02D9":"h","\u2206":"j","\u02DA":"k","\xAC":"l","\u2026":";",\u00E6:"'",\u00C5:"A",\u00CD:"S",\u00CE:"D",\u00CF:"F","\u02DD":"G",\u00D3:"H",\u00D4:"J","\uF8FF":"K",\u00D2:"L",\u00DA:":",\u00C6:'"',\u03A9:"z","\u2248":"x",\u00E7:"c","\u221A":"v","\u222B":"b",\u00B5:"m","\u2264":",","\u2265":".","\xF7":"/","\xB8":"Z","\u02DB":"X",\u00C7:"C","\u25CA":"V",\u0131:"B","\u02DC":"N",\u00C2:"M","\xAF":"<","\u02D8":">","\xBF":"?"},b2t={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+","[":"{","]":"}","\\":"|",";":":","'":'"',",":"<",".":">","/":"?",q:"Q",w:"W",e:"E",r:"R",t:"T",y:"Y",u:"U",i:"I",o:"O",p:"P",a:"A",s:"S",d:"D",f:"F",g:"G",h:"H",j:"J",k:"K",l:"L",z:"Z",x:"X",c:"C",v:"V",b:"B",n:"N",m:"M"},x2t={" ":"Space","+":"Plus"};function Fke(r,e=navigator.platform){var t,n,i;let{ctrlKey:o,altKey:a,metaKey:l,shiftKey:u,key:f}=r,p=[],x=[o,a,l,u];for(let[T,C]of x.entries())C&&p.push(Rke[T]);if(!Rke.includes(f)){let T=p.includes("Alt")&&q$.test(e)&&(t=y2t[f])!==null&&t!==void 0?t:f,C=p.includes("Shift")&&q$.test(e)&&(n=b2t[T])!==null&&n!==void 0?n:T,M=(i=x2t[C])!==null&&i!==void 0?i:C;p.push(M)}return p.join("+")}var Rke=["Control","Alt","Meta","Shift"];function _2t(r,e){let t;return t=w2t(r,e),t=S2t(t),t}var q$=/Mac|iPod|iPhone|iPad/i;function w2t(r,e){var t;let n=typeof window>"u"?void 0:window,i=(t=e??n?.navigator.platform)!==null&&t!==void 0?t:"",o=q$.test(i)?"Meta":"Control";return r.replace("Mod",o)}var qke={Control:0,Alt:1,Meta:2,Shift:3};function S2t(r){return r.split("+").sort((e,t)=>{var n,i;return((n=qke[e])!==null&&n!==void 0?n:1/0)-((i=qke[t])!==null&&i!==void 0?i:1/0)}).join("+")}var Nke=" ",o2=class r{constructor({onReset:e}={}){this._path=[],this.timer=null,this.onReset=e}get path(){return this._path}get sequence(){return this._path.join(Nke)}registerKeypress(e){this._path=[...this._path,Fke(e)],this.startTimer()}reset(){var e;this.killTimer(),this._path=[],(e=this.onReset)===null||e===void 0||e.call(this)}killTimer(){this.timer!=null&&window.clearTimeout(this.timer),this.timer=null}startTimer(){this.killTimer(),this.timer=window.setTimeout(()=>this.reset(),r.CHORD_TIMEOUT)}};o2.CHORD_TIMEOUT=1500;function F$(r){if(!(r instanceof HTMLElement))return!1;let e=r.nodeName.toLowerCase(),t=(r.getAttribute("type")||"").toLowerCase();return e==="select"||e==="textarea"||e==="input"&&t!=="submit"&&t!=="reset"&&t!=="checkbox"&&t!=="radio"&&t!=="file"||r.isContentEditable}function T2t(r,e){let t=new CustomEvent("hotkey-fire",{cancelable:!0,detail:{path:e}});r.dispatchEvent(t)&&(F$(r)?r.focus():r.click())}function k2t(r){let e=[],t=[""],n=!1;for(let i=0;i<r.length;i++){if(n&&r[i]===","){e.push(t),t=[""],n=!1;continue}if(r[i]===Nke){t.push(""),n=!1;continue}else r[i]==="+"?n=!1:n=!0;t[t.length-1]+=r[i]}return e.push(t),e.map(i=>i.map(o=>_2t(o)).filter(o=>o!=="")).filter(i=>i.length>0)}var a2=new R$,E2t=new WeakMap,N$=a2,i2=new o2({onReset(){N$=a2}});function A2t(r){if(r.defaultPrevented||!(r.target instanceof Node))return;if(F$(r.target)){let t=r.target;if(!t.id||!t.ownerDocument.querySelector(`[data-hotkey-scope="${t.id}"]`))return}let e=N$.get(Fke(r));if(!e){i2.reset();return}if(i2.registerKeypress(r),N$=e,e instanceof zA){let t=r.target,n=!1,i,o=F$(t);for(let a=e.children.length-1;a>=0;a-=1){i=e.children[a];let l=i.getAttribute("data-hotkey-scope");if(!o&&!l||o&&t.id===l){n=!0;break}}i&&n&&(T2t(i,i2.path),r.preventDefault()),i2.reset()}}function s2(r,e){Object.keys(a2.children).length===0&&document.addEventListener("keydown",A2t);let n=k2t(e||r.getAttribute("data-hotkey")||"").map(i=>a2.insert(i).add(r));E2t.set(r,n)}var Xs="top",pu="bottom",Ul="right",vl="left",l2="auto",Cb=[Xs,pu,Ul,vl],Av="start",zx="end",Bke="clippingParents",u2="viewport",Z1="popper",zke="reference",B$=Cb.reduce(function(r,e){return r.concat([e+"-"+Av,e+"-"+zx])},[]),c2=[].concat(Cb,[l2]).reduce(function(r,e){return r.concat([e,e+"-"+Av,e+"-"+zx])},[]),C2t="beforeRead",D2t="read",I2t="afterRead",O2t="beforeMain",M2t="main",L2t="afterMain",P2t="beforeWrite",R2t="write",q2t="afterWrite",Uke=[C2t,D2t,I2t,O2t,M2t,L2t,P2t,R2t,q2t];function Iu(r){return r?(r.nodeName||"").toLowerCase():null}function Ss(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var e=r.ownerDocument;return e&&e.defaultView||window}return r}function op(r){var e=Ss(r).Element;return r instanceof e||r instanceof Element}function mu(r){var e=Ss(r).HTMLElement;return r instanceof e||r instanceof HTMLElement}function X1(r){if(typeof ShadowRoot>"u")return!1;var e=Ss(r).ShadowRoot;return r instanceof e||r instanceof ShadowRoot}function F2t(r){var e=r.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];!mu(o)||!Iu(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function N2t(r){var e=r.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],o=e.attributes[n]||{},a=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]),l=a.reduce(function(u,f){return u[f]="",u},{});!mu(i)||!Iu(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(u){i.removeAttribute(u)}))})}}var UA={name:"applyStyles",enabled:!0,phase:"write",fn:F2t,effect:N2t,requires:["computeStyles"]};function Ou(r){return r.split("-")[0]}var cm=Math.max,Ux=Math.min,Cv=Math.round;function J1(){var r=navigator.userAgentData;return r!=null&&r.brands&&Array.isArray(r.brands)?r.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function jA(){return!/^((?!chrome|android).)*safari/i.test(J1())}function ap(r,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var n=r.getBoundingClientRect(),i=1,o=1;e&&mu(r)&&(i=r.offsetWidth>0&&Cv(n.width)/r.offsetWidth||1,o=r.offsetHeight>0&&Cv(n.height)/r.offsetHeight||1);var a=op(r)?Ss(r):window,l=a.visualViewport,u=!jA()&&t,f=(n.left+(u&&l?l.offsetLeft:0))/i,p=(n.top+(u&&l?l.offsetTop:0))/o,x=n.width/i,T=n.height/o;return{width:x,height:T,top:p,right:f+x,bottom:p+T,left:f,x:f,y:p}}function jx(r){var e=ap(r),t=r.offsetWidth,n=r.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:r.offsetLeft,y:r.offsetTop,width:t,height:n}}function VA(r,e){var t=e.getRootNode&&e.getRootNode();if(r.contains(e))return!0;if(t&&X1(t)){var n=e;do{if(n&&r.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Th(r){return Ss(r).getComputedStyle(r)}function z$(r){return["table","td","th"].indexOf(Iu(r))>=0}function cc(r){return((op(r)?r.ownerDocument:r.document)||window.document).documentElement}function Dv(r){return Iu(r)==="html"?r:r.assignedSlot||r.parentNode||(X1(r)?r.host:null)||cc(r)}function jke(r){return!mu(r)||Th(r).position==="fixed"?null:r.offsetParent}function B2t(r){var e=/firefox/i.test(J1()),t=/Trident/i.test(J1());if(t&&mu(r)){var n=Th(r);if(n.position==="fixed")return null}var i=Dv(r);for(X1(i)&&(i=i.host);mu(i)&&["html","body"].indexOf(Iu(i))<0;){var o=Th(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function hm(r){for(var e=Ss(r),t=jke(r);t&&z$(t)&&Th(t).position==="static";)t=jke(t);return t&&(Iu(t)==="html"||Iu(t)==="body"&&Th(t).position==="static")?e:t||B2t(r)||e}function Vx(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function Hx(r,e,t){return cm(r,Ux(e,t))}function Vke(r,e,t){var n=Hx(r,e,t);return n>t?t:n}function HA(){return{top:0,right:0,bottom:0,left:0}}function WA(r){return Object.assign({},HA(),r)}function $A(r,e){return e.reduce(function(t,n){return t[n]=r,t},{})}var z2t=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,WA(typeof e!="number"?e:$A(e,Cb))};function U2t(r){var e,t=r.state,n=r.name,i=r.options,o=t.elements.arrow,a=t.modifiersData.popperOffsets,l=Ou(t.placement),u=Vx(l),f=[vl,Ul].indexOf(l)>=0,p=f?"height":"width";if(!(!o||!a)){var x=z2t(i.padding,t),T=jx(o),C=u==="y"?Xs:vl,M=u==="y"?pu:Ul,L=t.rects.reference[p]+t.rects.reference[u]-a[u]-t.rects.popper[p],R=a[u]-t.rects.reference[u],H=hm(o),$=H?u==="y"?H.clientHeight||0:H.clientWidth||0:0,Q=L/2-R/2,G=x[C],te=$-T[p]-x[M],fe=$/2-T[p]/2+Q,re=Hx(G,fe,te),ve=u;t.modifiersData[n]=(e={},e[ve]=re,e.centerOffset=re-fe,e)}}function j2t(r){var e=r.state,t=r.options,n=t.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||VA(e.elements.popper,i)&&(e.elements.arrow=i))}var Hke={name:"arrow",enabled:!0,phase:"main",fn:U2t,effect:j2t,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function sp(r){return r.split("-")[1]}var V2t={top:"auto",right:"auto",bottom:"auto",left:"auto"};function H2t(r,e){var t=r.x,n=r.y,i=e.devicePixelRatio||1;return{x:Cv(t*i)/i||0,y:Cv(n*i)/i||0}}function Wke(r){var e,t=r.popper,n=r.popperRect,i=r.placement,o=r.variation,a=r.offsets,l=r.position,u=r.gpuAcceleration,f=r.adaptive,p=r.roundOffsets,x=r.isFixed,T=a.x,C=T===void 0?0:T,M=a.y,L=M===void 0?0:M,R=typeof p=="function"?p({x:C,y:L}):{x:C,y:L};C=R.x,L=R.y;var H=a.hasOwnProperty("x"),$=a.hasOwnProperty("y"),Q=vl,G=Xs,te=window;if(f){var fe=hm(t),re="clientHeight",ve="clientWidth";if(fe===Ss(t)&&(fe=cc(t),Th(fe).position!=="static"&&l==="absolute"&&(re="scrollHeight",ve="scrollWidth")),fe=fe,i===Xs||(i===vl||i===Ul)&&o===zx){G=pu;var _e=x&&fe===te&&te.visualViewport?te.visualViewport.height:fe[re];L-=_e-n.height,L*=u?1:-1}if(i===vl||(i===Xs||i===pu)&&o===zx){Q=Ul;var qe=x&&fe===te&&te.visualViewport?te.visualViewport.width:fe[ve];C-=qe-n.width,C*=u?1:-1}}var Ee=Object.assign({position:l},f&&V2t),U=p===!0?H2t({x:C,y:L},Ss(t)):{x:C,y:L};if(C=U.x,L=U.y,u){var j;return Object.assign({},Ee,(j={},j[G]=$?"0":"",j[Q]=H?"0":"",j.transform=(te.devicePixelRatio||1)<=1?"translate("+C+"px, "+L+"px)":"translate3d("+C+"px, "+L+"px, 0)",j))}return Object.assign({},Ee,(e={},e[G]=$?L+"px":"",e[Q]=H?C+"px":"",e.transform="",e))}function W2t(r){var e=r.state,t=r.options,n=t.gpuAcceleration,i=n===void 0?!0:n,o=t.adaptive,a=o===void 0?!0:o,l=t.roundOffsets,u=l===void 0?!0:l,f={placement:Ou(e.placement),variation:sp(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Wke(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Wke(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var $ke={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:W2t,data:{}};var h2={passive:!0};function $2t(r){var e=r.state,t=r.instance,n=r.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,l=a===void 0?!0:a,u=Ss(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&f.forEach(function(p){p.addEventListener("scroll",t.update,h2)}),l&&u.addEventListener("resize",t.update,h2),function(){o&&f.forEach(function(p){p.removeEventListener("scroll",t.update,h2)}),l&&u.removeEventListener("resize",t.update,h2)}}var Gke={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$2t,data:{}};var G2t={left:"right",right:"left",bottom:"top",top:"bottom"};function Q1(r){return r.replace(/left|right|bottom|top/g,function(e){return G2t[e]})}var K2t={start:"end",end:"start"};function f2(r){return r.replace(/start|end/g,function(e){return K2t[e]})}function Wx(r){var e=Ss(r),t=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:t,scrollTop:n}}function $x(r){return ap(cc(r)).left+Wx(r).scrollLeft}function U$(r,e){var t=Ss(r),n=cc(r),i=t.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,u=0;if(i){o=i.width,a=i.height;var f=jA();(f||!f&&e==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:l+$x(r),y:u}}function j$(r){var e,t=cc(r),n=Wx(r),i=(e=r.ownerDocument)==null?void 0:e.body,o=cm(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=cm(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+$x(r),u=-n.scrollTop;return Th(i||t).direction==="rtl"&&(l+=cm(t.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:u}}function Gx(r){var e=Th(r),t=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+i+n)}function d2(r){return["html","body","#document"].indexOf(Iu(r))>=0?r.ownerDocument.body:mu(r)&&Gx(r)?r:d2(Dv(r))}function Db(r,e){var t;e===void 0&&(e=[]);var n=d2(r),i=n===((t=r.ownerDocument)==null?void 0:t.body),o=Ss(n),a=i?[o].concat(o.visualViewport||[],Gx(n)?n:[]):n,l=e.concat(a);return i?l:l.concat(Db(Dv(a)))}function eS(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function Y2t(r,e){var t=ap(r,!1,e==="fixed");return t.top=t.top+r.clientTop,t.left=t.left+r.clientLeft,t.bottom=t.top+r.clientHeight,t.right=t.left+r.clientWidth,t.width=r.clientWidth,t.height=r.clientHeight,t.x=t.left,t.y=t.top,t}function Kke(r,e,t){return e===u2?eS(U$(r,t)):op(e)?Y2t(e,t):eS(j$(cc(r)))}function Z2t(r){var e=Db(Dv(r)),t=["absolute","fixed"].indexOf(Th(r).position)>=0,n=t&&mu(r)?hm(r):r;return op(n)?e.filter(function(i){return op(i)&&VA(i,n)&&Iu(i)!=="body"}):[]}function V$(r,e,t,n){var i=e==="clippingParents"?Z2t(r):[].concat(e),o=[].concat(i,[t]),a=o[0],l=o.reduce(function(u,f){var p=Kke(r,f,n);return u.top=cm(p.top,u.top),u.right=Ux(p.right,u.right),u.bottom=Ux(p.bottom,u.bottom),u.left=cm(p.left,u.left),u},Kke(r,a,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function GA(r){var e=r.reference,t=r.element,n=r.placement,i=n?Ou(n):null,o=n?sp(n):null,a=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,u;switch(i){case Xs:u={x:a,y:e.y-t.height};break;case pu:u={x:a,y:e.y+e.height};break;case Ul:u={x:e.x+e.width,y:l};break;case vl:u={x:e.x-t.width,y:l};break;default:u={x:e.x,y:e.y}}var f=i?Vx(i):null;if(f!=null){var p=f==="y"?"height":"width";switch(o){case Av:u[f]=u[f]-(e[p]/2-t[p]/2);break;case zx:u[f]=u[f]+(e[p]/2-t[p]/2);break;default:}}return u}function fm(r,e){e===void 0&&(e={});var t=e,n=t.placement,i=n===void 0?r.placement:n,o=t.strategy,a=o===void 0?r.strategy:o,l=t.boundary,u=l===void 0?Bke:l,f=t.rootBoundary,p=f===void 0?u2:f,x=t.elementContext,T=x===void 0?Z1:x,C=t.altBoundary,M=C===void 0?!1:C,L=t.padding,R=L===void 0?0:L,H=WA(typeof R!="number"?R:$A(R,Cb)),$=T===Z1?zke:Z1,Q=r.rects.popper,G=r.elements[M?$:T],te=V$(op(G)?G:G.contextElement||cc(r.elements.popper),u,p,a),fe=ap(r.elements.reference),re=GA({reference:fe,element:Q,strategy:"absolute",placement:i}),ve=eS(Object.assign({},Q,re)),_e=T===Z1?ve:fe,qe={top:te.top-_e.top+H.top,bottom:_e.bottom-te.bottom+H.bottom,left:te.left-_e.left+H.left,right:_e.right-te.right+H.right},Ee=r.modifiersData.offset;if(T===Z1&&Ee){var U=Ee[i];Object.keys(qe).forEach(function(j){var xe=[Ul,pu].indexOf(j)>=0?1:-1,Ie=[Xs,pu].indexOf(j)>=0?"y":"x";qe[j]+=U[Ie]*xe})}return qe}function H$(r,e){e===void 0&&(e={});var t=e,n=t.placement,i=t.boundary,o=t.rootBoundary,a=t.padding,l=t.flipVariations,u=t.allowedAutoPlacements,f=u===void 0?c2:u,p=sp(n),x=p?l?B$:B$.filter(function(M){return sp(M)===p}):Cb,T=x.filter(function(M){return f.indexOf(M)>=0});T.length===0&&(T=x);var C=T.reduce(function(M,L){return M[L]=fm(r,{placement:L,boundary:i,rootBoundary:o,padding:a})[Ou(L)],M},{});return Object.keys(C).sort(function(M,L){return C[M]-C[L]})}function X2t(r){if(Ou(r)===l2)return[];var e=Q1(r);return[f2(r),e,f2(e)]}function J2t(r){var e=r.state,t=r.options,n=r.name;if(!e.modifiersData[n]._skip){for(var i=t.mainAxis,o=i===void 0?!0:i,a=t.altAxis,l=a===void 0?!0:a,u=t.fallbackPlacements,f=t.padding,p=t.boundary,x=t.rootBoundary,T=t.altBoundary,C=t.flipVariations,M=C===void 0?!0:C,L=t.allowedAutoPlacements,R=e.options.placement,H=Ou(R),$=H===R,Q=u||($||!M?[Q1(R)]:X2t(R)),G=[R].concat(Q).reduce(function(it,_t){return it.concat(Ou(_t)===l2?H$(e,{placement:_t,boundary:p,rootBoundary:x,padding:f,flipVariations:M,allowedAutoPlacements:L}):_t)},[]),te=e.rects.reference,fe=e.rects.popper,re=new Map,ve=!0,_e=G[0],qe=0;qe<G.length;qe++){var Ee=G[qe],U=Ou(Ee),j=sp(Ee)===Av,xe=[Xs,pu].indexOf(U)>=0,Ie=xe?"width":"height",he=fm(e,{placement:Ee,boundary:p,rootBoundary:x,altBoundary:T,padding:f}),ie=xe?j?Ul:vl:j?pu:Xs;te[Ie]>fe[Ie]&&(ie=Q1(ie));var ce=Q1(ie),Me=[];if(o&&Me.push(he[U]<=0),l&&Me.push(he[ie]<=0,he[ce]<=0),Me.every(function(it){return it})){_e=Ee,ve=!1;break}re.set(Ee,Me)}if(ve)for(var ge=M?3:1,se=function(_t){var ct=G.find(function(Mt){var Ht=re.get(Mt);if(Ht)return Ht.slice(0,_t).every(function(Nt){return Nt})});if(ct)return _e=ct,"break"},Ge=ge;Ge>0;Ge--){var xt=se(Ge);if(xt==="break")break}e.placement!==_e&&(e.modifiersData[n]._skip=!0,e.placement=_e,e.reset=!0)}}var Yke={name:"flip",enabled:!0,phase:"main",fn:J2t,requiresIfExists:["offset"],data:{_skip:!1}};function Zke(r,e,t){return t===void 0&&(t={x:0,y:0}),{top:r.top-e.height-t.y,right:r.right-e.width+t.x,bottom:r.bottom-e.height+t.y,left:r.left-e.width-t.x}}function Xke(r){return[Xs,Ul,pu,vl].some(function(e){return r[e]>=0})}function Q2t(r){var e=r.state,t=r.name,n=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=fm(e,{elementContext:"reference"}),l=fm(e,{altBoundary:!0}),u=Zke(a,n),f=Zke(l,i,o),p=Xke(u),x=Xke(f);e.modifiersData[t]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:x},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":x})}var Jke={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Q2t};function eqt(r,e,t){var n=Ou(r),i=[vl,Xs].indexOf(n)>=0?-1:1,o=typeof t=="function"?t(Object.assign({},e,{placement:r})):t,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[vl,Ul].indexOf(n)>=0?{x:l,y:a}:{x:a,y:l}}function tqt(r){var e=r.state,t=r.options,n=r.name,i=t.offset,o=i===void 0?[0,0]:i,a=c2.reduce(function(p,x){return p[x]=eqt(x,e.rects,o),p},{}),l=a[e.placement],u=l.x,f=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=f),e.modifiersData[n]=a}var Qke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tqt};function rqt(r){var e=r.state,t=r.name;e.modifiersData[t]=GA({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var eEe={name:"popperOffsets",enabled:!0,phase:"read",fn:rqt,data:{}};function W$(r){return r==="x"?"y":"x"}function nqt(r){var e=r.state,t=r.options,n=r.name,i=t.mainAxis,o=i===void 0?!0:i,a=t.altAxis,l=a===void 0?!1:a,u=t.boundary,f=t.rootBoundary,p=t.altBoundary,x=t.padding,T=t.tether,C=T===void 0?!0:T,M=t.tetherOffset,L=M===void 0?0:M,R=fm(e,{boundary:u,rootBoundary:f,padding:x,altBoundary:p}),H=Ou(e.placement),$=sp(e.placement),Q=!$,G=Vx(H),te=W$(G),fe=e.modifiersData.popperOffsets,re=e.rects.reference,ve=e.rects.popper,_e=typeof L=="function"?L(Object.assign({},e.rects,{placement:e.placement})):L,qe=typeof _e=="number"?{mainAxis:_e,altAxis:_e}:Object.assign({mainAxis:0,altAxis:0},_e),Ee=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,U={x:0,y:0};if(fe){if(o){var j,xe=G==="y"?Xs:vl,Ie=G==="y"?pu:Ul,he=G==="y"?"height":"width",ie=fe[G],ce=ie+R[xe],Me=ie-R[Ie],ge=C?-ve[he]/2:0,se=$===Av?re[he]:ve[he],Ge=$===Av?-ve[he]:-re[he],xt=e.elements.arrow,it=C&&xt?jx(xt):{width:0,height:0},_t=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:HA(),ct=_t[xe],Mt=_t[Ie],Ht=Hx(0,re[he],it[he]),Nt=Q?re[he]/2-ge-Ht-ct-qe.mainAxis:se-Ht-ct-qe.mainAxis,fr=Q?-re[he]/2+ge+Ht+Mt+qe.mainAxis:Ge+Ht+Mt+qe.mainAxis,Kt=e.elements.arrow&&hm(e.elements.arrow),Xt=Kt?G==="y"?Kt.clientTop||0:Kt.clientLeft||0:0,vt=(j=Ee?.[G])!=null?j:0,yt=ie+Nt-vt-Xt,Ye=ie+fr-vt,me=Hx(C?Ux(ce,yt):ce,ie,C?cm(Me,Ye):Me);fe[G]=me,U[G]=me-ie}if(l){var De,ze=G==="x"?Xs:vl,dr=G==="x"?pu:Ul,lt=fe[te],Ut=te==="y"?"height":"width",kt=lt+R[ze],zr=lt-R[dr],or=[Xs,vl].indexOf(H)!==-1,kr=(De=Ee?.[te])!=null?De:0,Sr=or?kt:lt-re[Ut]-ve[Ut]-kr+qe.altAxis,at=or?lt+re[Ut]+ve[Ut]-kr-qe.altAxis:zr,rt=C&&or?Vke(Sr,lt,at):Hx(C?Sr:kt,lt,C?at:zr);fe[te]=rt,U[te]=rt-lt}e.modifiersData[n]=U}}var tEe={name:"preventOverflow",enabled:!0,phase:"main",fn:nqt,requiresIfExists:["offset"]};function $$(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function G$(r){return r===Ss(r)||!mu(r)?Wx(r):$$(r)}function iqt(r){var e=r.getBoundingClientRect(),t=Cv(e.width)/r.offsetWidth||1,n=Cv(e.height)/r.offsetHeight||1;return t!==1||n!==1}function K$(r,e,t){t===void 0&&(t=!1);var n=mu(e),i=mu(e)&&iqt(e),o=cc(e),a=ap(r,i,t),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!t)&&((Iu(e)!=="body"||Gx(o))&&(l=G$(e)),mu(e)?(u=ap(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):o&&(u.x=$x(o))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function oqt(r){var e=new Map,t=new Set,n=[];r.forEach(function(o){e.set(o.name,o)});function i(o){t.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!t.has(l)){var u=e.get(l);u&&i(u)}}),n.push(o)}return r.forEach(function(o){t.has(o.name)||i(o)}),n}function Y$(r){var e=oqt(r);return Uke.reduce(function(t,n){return t.concat(e.filter(function(i){return i.phase===n}))},[])}function Z$(r){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(r())})})),e}}function X$(r){var e=r.reduce(function(t,n){var i=t[n.name];return t[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,t},{});return Object.keys(e).map(function(t){return e[t]})}var rEe={placement:"bottom",modifiers:[],strategy:"absolute"};function nEe(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function iEe(r){r===void 0&&(r={});var e=r,t=e.defaultModifiers,n=t===void 0?[]:t,i=e.defaultOptions,o=i===void 0?rEe:i;return function(l,u,f){f===void 0&&(f=o);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},rEe,o),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},x=[],T=!1,C={state:p,setOptions:function(H){var $=typeof H=="function"?H(p.options):H;L(),p.options=Object.assign({},o,p.options,$),p.scrollParents={reference:op(l)?Db(l):l.contextElement?Db(l.contextElement):[],popper:Db(u)};var Q=Y$(X$([].concat(n,p.options.modifiers)));return p.orderedModifiers=Q.filter(function(G){return G.enabled}),M(),C.update()},forceUpdate:function(){if(!T){var H=p.elements,$=H.reference,Q=H.popper;if(nEe($,Q)){p.rects={reference:K$($,hm(Q),p.options.strategy==="fixed"),popper:jx(Q)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(qe){return p.modifiersData[qe.name]=Object.assign({},qe.data)});for(var G=0;G<p.orderedModifiers.length;G++){if(p.reset===!0){p.reset=!1,G=-1;continue}var te=p.orderedModifiers[G],fe=te.fn,re=te.options,ve=re===void 0?{}:re,_e=te.name;typeof fe=="function"&&(p=fe({state:p,options:ve,name:_e,instance:C})||p)}}}},update:Z$(function(){return new Promise(function(R){C.forceUpdate(),R(p)})}),destroy:function(){L(),T=!0}};if(!nEe(l,u))return C;C.setOptions(f).then(function(R){!T&&f.onFirstUpdate&&f.onFirstUpdate(R)});function M(){p.orderedModifiers.forEach(function(R){var H=R.name,$=R.options,Q=$===void 0?{}:$,G=R.effect;if(typeof G=="function"){var te=G({state:p,name:H,instance:C,options:Q}),fe=function(){};x.push(te||fe)}})}function L(){x.forEach(function(R){return R()}),x=[]}return C}}var aqt=[Gke,eEe,$ke,UA,Qke,Yke,tEe,Hke,Jke],J$=iEe({defaultModifiers:aqt});var sqt="tippy-box",pEe="tippy-content",lqt="tippy-backdrop",mEe="tippy-arrow",gEe="tippy-svg-arrow",Kx={passive:!0,capture:!0},vEe=function(){return document.body};function Q$(r,e,t){if(Array.isArray(r)){var n=r[e];return n??(Array.isArray(t)?t[e]:t)}return r}function o9(r,e){var t={}.toString.call(r);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function yEe(r,e){return typeof r=="function"?r.apply(void 0,e):r}function oEe(r,e){if(e===0)return r;var t;return function(n){clearTimeout(t),t=setTimeout(function(){r(n)},e)}}function uqt(r){return r.split(/\s+/).filter(Boolean)}function tS(r){return[].concat(r)}function aEe(r,e){r.indexOf(e)===-1&&r.push(e)}function cqt(r){return r.filter(function(e,t){return r.indexOf(e)===t})}function hqt(r){return r.split("-")[0]}function m2(r){return[].slice.call(r)}function sEe(r){return Object.keys(r).reduce(function(e,t){return r[t]!==void 0&&(e[t]=r[t]),e},{})}function KA(){return document.createElement("div")}function g2(r){return["Element","Fragment"].some(function(e){return o9(r,e)})}function fqt(r){return o9(r,"NodeList")}function dqt(r){return o9(r,"MouseEvent")}function pqt(r){return!!(r&&r._tippy&&r._tippy.reference===r)}function mqt(r){return g2(r)?[r]:fqt(r)?m2(r):Array.isArray(r)?r:m2(document.querySelectorAll(r))}function e9(r,e){r.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function lEe(r,e){r.forEach(function(t){t&&t.setAttribute("data-state",e)})}function gqt(r){var e,t=tS(r),n=t[0];return n!=null&&(e=n.ownerDocument)!=null&&e.body?n.ownerDocument:document}function vqt(r,e){var t=e.clientX,n=e.clientY;return r.every(function(i){var o=i.popperRect,a=i.popperState,l=i.props,u=l.interactiveBorder,f=hqt(a.placement),p=a.modifiersData.offset;if(!p)return!0;var x=f==="bottom"?p.top.y:0,T=f==="top"?p.bottom.y:0,C=f==="right"?p.left.x:0,M=f==="left"?p.right.x:0,L=o.top-n+x>u,R=n-o.bottom-T>u,H=o.left-t+C>u,$=t-o.right-M>u;return L||R||H||$})}function t9(r,e,t){var n=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){r[n](i,t)})}function uEe(r,e){for(var t=e;t;){var n;if(r.contains(t))return!0;t=t.getRootNode==null||(n=t.getRootNode())==null?void 0:n.host}return!1}var yg={isTouch:!1},cEe=0;function yqt(){yg.isTouch||(yg.isTouch=!0,window.performance&&document.addEventListener("mousemove",bEe))}function bEe(){var r=performance.now();r-cEe<20&&(yg.isTouch=!1,document.removeEventListener("mousemove",bEe)),cEe=r}function bqt(){var r=document.activeElement;if(pqt(r)){var e=r._tippy;r.blur&&!e.state.isVisible&&r.blur()}}function xqt(){document.addEventListener("touchstart",yqt,Kx),window.addEventListener("blur",bqt)}var _qt=typeof window<"u"&&typeof document<"u",wqt=_qt?!!window.msCrypto:!1;var Sqt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Tqt={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},dm=Object.assign({appendTo:vEe,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Sqt,Tqt),kqt=Object.keys(dm),Eqt=function(e){var t=Object.keys(e);t.forEach(function(n){dm[n]=e[n]})};function xEe(r){var e=r.plugins||[],t=e.reduce(function(n,i){var o=i.name,a=i.defaultValue;if(o){var l;n[o]=r[o]!==void 0?r[o]:(l=dm[o])!=null?l:a}return n},{});return Object.assign({},r,t)}function Aqt(r,e){var t=e?Object.keys(xEe(Object.assign({},dm,{plugins:e}))):kqt,n=t.reduce(function(i,o){var a=(r.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return n}function hEe(r,e){var t=Object.assign({},e,{content:yEe(e.content,[r])},e.ignoreAttributes?{}:Aqt(r,e.plugins));return t.aria=Object.assign({},dm.aria,t.aria),t.aria={expanded:t.aria.expanded==="auto"?e.interactive:t.aria.expanded,content:t.aria.content==="auto"?e.interactive?null:"describedby":t.aria.content},t}var Cqt=function(){return"innerHTML"};function n9(r,e){r[Cqt()]=e}function fEe(r){var e=KA();return r===!0?e.className=mEe:(e.className=gEe,g2(r)?e.appendChild(r):n9(e,r)),e}function dEe(r,e){g2(e.content)?(n9(r,""),r.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?n9(r,e.content):r.textContent=e.content)}function i9(r){var e=r.firstElementChild,t=m2(e.children);return{box:e,content:t.find(function(n){return n.classList.contains(pEe)}),arrow:t.find(function(n){return n.classList.contains(mEe)||n.classList.contains(gEe)}),backdrop:t.find(function(n){return n.classList.contains(lqt)})}}function _Ee(r){var e=KA(),t=KA();t.className=sqt,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var n=KA();n.className=pEe,n.setAttribute("data-state","hidden"),dEe(n,r.props),e.appendChild(t),t.appendChild(n),i(r.props,r.props);function i(o,a){var l=i9(e),u=l.box,f=l.content,p=l.arrow;a.theme?u.setAttribute("data-theme",a.theme):u.removeAttribute("data-theme"),typeof a.animation=="string"?u.setAttribute("data-animation",a.animation):u.removeAttribute("data-animation"),a.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?u.setAttribute("role",a.role):u.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&dEe(f,r.props),a.arrow?p?o.arrow!==a.arrow&&(u.removeChild(p),u.appendChild(fEe(a.arrow))):u.appendChild(fEe(a.arrow)):p&&u.removeChild(p)}return{popper:e,onUpdate:i}}_Ee.$$tippy=!0;var Dqt=1,p2=[],r9=[];function Iqt(r,e){var t=hEe(r,Object.assign({},dm,xEe(sEe(e)))),n,i,o,a=!1,l=!1,u=!1,f=!1,p,x,T,C=[],M=oEe(yt,t.interactiveDebounce),L,R=Dqt++,H=null,$=cqt(t.plugins),Q={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},G={id:R,reference:r,popper:KA(),popperInstance:H,props:t,state:Q,plugins:$,clearDelayTimeouts:Sr,setProps:at,setContent:rt,show:Yt,hide:Yr,hideWithInteractivity:hi,enable:or,disable:kr,unmount:vi,destroy:Fi};if(!t.render)return G;var te=t.render(G),fe=te.popper,re=te.onUpdate;fe.setAttribute("data-tippy-root",""),fe.id="tippy-"+G.id,G.popper=fe,r._tippy=G,fe._tippy=G;var ve=$.map(function(Wt){return Wt.fn(G)}),_e=r.hasAttribute("aria-expanded");return Kt(),ge(),ie(),ce("onCreate",[G]),t.showOnCreate&&kt(),fe.addEventListener("mouseenter",function(){G.props.interactive&&G.state.isVisible&&G.clearDelayTimeouts()}),fe.addEventListener("mouseleave",function(){G.props.interactive&&G.props.trigger.indexOf("mouseenter")>=0&&xe().addEventListener("mousemove",M)}),G;function qe(){var Wt=G.props.touch;return Array.isArray(Wt)?Wt:[Wt,0]}function Ee(){return qe()[0]==="hold"}function U(){var Wt;return!!((Wt=G.props.render)!=null&&Wt.$$tippy)}function j(){return L||r}function xe(){var Wt=j().parentNode;return Wt?gqt(Wt):document}function Ie(){return i9(fe)}function he(Wt){return G.state.isMounted&&!G.state.isVisible||yg.isTouch||p&&p.type==="focus"?0:Q$(G.props.delay,Wt?0:1,dm.delay)}function ie(Wt){Wt===void 0&&(Wt=!1),fe.style.pointerEvents=G.props.interactive&&!Wt?"":"none",fe.style.zIndex=""+G.props.zIndex}function ce(Wt,Ft,Pr){if(Pr===void 0&&(Pr=!0),ve.forEach(function(wn){wn[Wt]&&wn[Wt].apply(wn,Ft)}),Pr){var xr;(xr=G.props)[Wt].apply(xr,Ft)}}function Me(){var Wt=G.props.aria;if(Wt.content){var Ft="aria-"+Wt.content,Pr=fe.id,xr=tS(G.props.triggerTarget||r);xr.forEach(function(wn){var Dn=wn.getAttribute(Ft);if(G.state.isVisible)wn.setAttribute(Ft,Dn?Dn+" "+Pr:Pr);else{var On=Dn&&Dn.replace(Pr,"").trim();On?wn.setAttribute(Ft,On):wn.removeAttribute(Ft)}})}}function ge(){if(!(_e||!G.props.aria.expanded)){var Wt=tS(G.props.triggerTarget||r);Wt.forEach(function(Ft){G.props.interactive?Ft.setAttribute("aria-expanded",G.state.isVisible&&Ft===j()?"true":"false"):Ft.removeAttribute("aria-expanded")})}}function se(){xe().removeEventListener("mousemove",M),p2=p2.filter(function(Wt){return Wt!==M})}function Ge(Wt){if(!(yg.isTouch&&(u||Wt.type==="mousedown"))){var Ft=Wt.composedPath&&Wt.composedPath()[0]||Wt.target;if(!(G.props.interactive&&uEe(fe,Ft))){if(tS(G.props.triggerTarget||r).some(function(Pr){return uEe(Pr,Ft)})){if(yg.isTouch||G.state.isVisible&&G.props.trigger.indexOf("click")>=0)return}else ce("onClickOutside",[G,Wt]);G.props.hideOnClick===!0&&(G.clearDelayTimeouts(),G.hide(),l=!0,setTimeout(function(){l=!1}),G.state.isMounted||ct())}}}function xt(){u=!0}function it(){u=!1}function _t(){var Wt=xe();Wt.addEventListener("mousedown",Ge,!0),Wt.addEventListener("touchend",Ge,Kx),Wt.addEventListener("touchstart",it,Kx),Wt.addEventListener("touchmove",xt,Kx)}function ct(){var Wt=xe();Wt.removeEventListener("mousedown",Ge,!0),Wt.removeEventListener("touchend",Ge,Kx),Wt.removeEventListener("touchstart",it,Kx),Wt.removeEventListener("touchmove",xt,Kx)}function Mt(Wt,Ft){Nt(Wt,function(){!G.state.isVisible&&fe.parentNode&&fe.parentNode.contains(fe)&&Ft()})}function Ht(Wt,Ft){Nt(Wt,Ft)}function Nt(Wt,Ft){var Pr=Ie().box;function xr(wn){wn.target===Pr&&(t9(Pr,"remove",xr),Ft())}if(Wt===0)return Ft();t9(Pr,"remove",x),t9(Pr,"add",xr),x=xr}function fr(Wt,Ft,Pr){Pr===void 0&&(Pr=!1);var xr=tS(G.props.triggerTarget||r);xr.forEach(function(wn){wn.addEventListener(Wt,Ft,Pr),C.push({node:wn,eventType:Wt,handler:Ft,options:Pr})})}function Kt(){Ee()&&(fr("touchstart",vt,{passive:!0}),fr("touchend",Ye,{passive:!0})),uqt(G.props.trigger).forEach(function(Wt){if(Wt!=="manual")switch(fr(Wt,vt),Wt){case"mouseenter":fr("mouseleave",Ye);break;case"focus":fr(wqt?"focusout":"blur",me);break;case"focusin":fr("focusout",me);break}})}function Xt(){C.forEach(function(Wt){var Ft=Wt.node,Pr=Wt.eventType,xr=Wt.handler,wn=Wt.options;Ft.removeEventListener(Pr,xr,wn)}),C=[]}function vt(Wt){var Ft,Pr=!1;if(!(!G.state.isEnabled||De(Wt)||l)){var xr=((Ft=p)==null?void 0:Ft.type)==="focus";p=Wt,L=Wt.currentTarget,ge(),!G.state.isVisible&&dqt(Wt)&&p2.forEach(function(wn){return wn(Wt)}),Wt.type==="click"&&(G.props.trigger.indexOf("mouseenter")<0||a)&&G.props.hideOnClick!==!1&&G.state.isVisible?Pr=!0:kt(Wt),Wt.type==="click"&&(a=!Pr),Pr&&!xr&&zr(Wt)}}function yt(Wt){var Ft=Wt.target,Pr=j().contains(Ft)||fe.contains(Ft);if(!(Wt.type==="mousemove"&&Pr)){var xr=Ut().concat(fe).map(function(wn){var Dn,On=wn._tippy,$n=(Dn=On.popperInstance)==null?void 0:Dn.state;return $n?{popperRect:wn.getBoundingClientRect(),popperState:$n,props:t}:null}).filter(Boolean);vqt(xr,Wt)&&(se(),zr(Wt))}}function Ye(Wt){var Ft=De(Wt)||G.props.trigger.indexOf("click")>=0&&a;if(!Ft){if(G.props.interactive){G.hideWithInteractivity(Wt);return}zr(Wt)}}function me(Wt){G.props.trigger.indexOf("focusin")<0&&Wt.target!==j()||G.props.interactive&&Wt.relatedTarget&&fe.contains(Wt.relatedTarget)||zr(Wt)}function De(Wt){return yg.isTouch?Ee()!==Wt.type.indexOf("touch")>=0:!1}function ze(){dr();var Wt=G.props,Ft=Wt.popperOptions,Pr=Wt.placement,xr=Wt.offset,wn=Wt.getReferenceClientRect,Dn=Wt.moveTransition,On=U()?i9(fe).arrow:null,$n=wn?{getBoundingClientRect:wn,contextElement:wn.contextElement||j()}:r,co={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Z){var oe=Z.state;if(U()){var ye=Ie(),Oe=ye.box;["placement","reference-hidden","escaped"].forEach(function(je){je==="placement"?Oe.setAttribute("data-placement",oe.placement):oe.attributes.popper["data-popper-"+je]?Oe.setAttribute("data-"+je,""):Oe.removeAttribute("data-"+je)}),oe.attributes.popper={}}}},Yn=[{name:"offset",options:{offset:xr}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Dn}},co];U()&&On&&Yn.push({name:"arrow",options:{element:On,padding:3}}),Yn.push.apply(Yn,Ft?.modifiers||[]),G.popperInstance=J$($n,fe,Object.assign({},Ft,{placement:Pr,onFirstUpdate:T,modifiers:Yn}))}function dr(){G.popperInstance&&(G.popperInstance.destroy(),G.popperInstance=null)}function lt(){var Wt=G.props.appendTo,Ft,Pr=j();G.props.interactive&&Wt===vEe||Wt==="parent"?Ft=Pr.parentNode:Ft=yEe(Wt,[Pr]),Ft.contains(fe)||Ft.appendChild(fe),G.state.isMounted=!0,ze()}function Ut(){return m2(fe.querySelectorAll("[data-tippy-root]"))}function kt(Wt){G.clearDelayTimeouts(),Wt&&ce("onTrigger",[G,Wt]),_t();var Ft=he(!0),Pr=qe(),xr=Pr[0],wn=Pr[1];yg.isTouch&&xr==="hold"&&wn&&(Ft=wn),Ft?n=setTimeout(function(){G.show()},Ft):G.show()}function zr(Wt){if(G.clearDelayTimeouts(),ce("onUntrigger",[G,Wt]),!G.state.isVisible){ct();return}if(!(G.props.trigger.indexOf("mouseenter")>=0&&G.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(Wt.type)>=0&&a)){var Ft=he(!1);Ft?i=setTimeout(function(){G.state.isVisible&&G.hide()},Ft):o=requestAnimationFrame(function(){G.hide()})}}function or(){G.state.isEnabled=!0}function kr(){G.hide(),G.state.isEnabled=!1}function Sr(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(o)}function at(Wt){if(!G.state.isDestroyed){ce("onBeforeUpdate",[G,Wt]),Xt();var Ft=G.props,Pr=hEe(r,Object.assign({},Ft,sEe(Wt),{ignoreAttributes:!0}));G.props=Pr,Kt(),Ft.interactiveDebounce!==Pr.interactiveDebounce&&(se(),M=oEe(yt,Pr.interactiveDebounce)),Ft.triggerTarget&&!Pr.triggerTarget?tS(Ft.triggerTarget).forEach(function(xr){xr.removeAttribute("aria-expanded")}):Pr.triggerTarget&&r.removeAttribute("aria-expanded"),ge(),ie(),re&&re(Ft,Pr),G.popperInstance&&(ze(),Ut().forEach(function(xr){requestAnimationFrame(xr._tippy.popperInstance.forceUpdate)})),ce("onAfterUpdate",[G,Wt])}}function rt(Wt){G.setProps({content:Wt})}function Yt(){var Wt=G.state.isVisible,Ft=G.state.isDestroyed,Pr=!G.state.isEnabled,xr=yg.isTouch&&!G.props.touch,wn=Q$(G.props.duration,0,dm.duration);if(!(Wt||Ft||Pr||xr)&&!j().hasAttribute("disabled")&&(ce("onShow",[G],!1),G.props.onShow(G)!==!1)){if(G.state.isVisible=!0,U()&&(fe.style.visibility="visible"),ie(),_t(),G.state.isMounted||(fe.style.transition="none"),U()){var Dn=Ie(),On=Dn.box,$n=Dn.content;e9([On,$n],0)}T=function(){var Yn;if(!(!G.state.isVisible||f)){if(f=!0,fe.offsetHeight,fe.style.transition=G.props.moveTransition,U()&&G.props.animation){var K=Ie(),Z=K.box,oe=K.content;e9([Z,oe],wn),lEe([Z,oe],"visible")}Me(),ge(),aEe(r9,G),(Yn=G.popperInstance)==null||Yn.forceUpdate(),ce("onMount",[G]),G.props.animation&&U()&&Ht(wn,function(){G.state.isShown=!0,ce("onShown",[G])})}},lt()}}function Yr(){var Wt=!G.state.isVisible,Ft=G.state.isDestroyed,Pr=!G.state.isEnabled,xr=Q$(G.props.duration,1,dm.duration);if(!(Wt||Ft||Pr)&&(ce("onHide",[G],!1),G.props.onHide(G)!==!1)){if(G.state.isVisible=!1,G.state.isShown=!1,f=!1,a=!1,U()&&(fe.style.visibility="hidden"),se(),ct(),ie(!0),U()){var wn=Ie(),Dn=wn.box,On=wn.content;G.props.animation&&(e9([Dn,On],xr),lEe([Dn,On],"hidden"))}Me(),ge(),G.props.animation?U()&&Mt(xr,G.unmount):G.unmount()}}function hi(Wt){xe().addEventListener("mousemove",M),aEe(p2,M),M(Wt)}function vi(){G.state.isVisible&&G.hide(),G.state.isMounted&&(dr(),Ut().forEach(function(Wt){Wt._tippy.unmount()}),fe.parentNode&&fe.parentNode.removeChild(fe),r9=r9.filter(function(Wt){return Wt!==G}),G.state.isMounted=!1,ce("onHidden",[G]))}function Fi(){G.state.isDestroyed||(G.clearDelayTimeouts(),G.unmount(),Xt(),delete r._tippy,G.state.isDestroyed=!0,ce("onDestroy",[G]))}}function YA(r,e){e===void 0&&(e={});var t=dm.plugins.concat(e.plugins||[]);xqt();var n=Object.assign({},e,{plugins:t}),i=mqt(r);if(0)var o,a;var l=i.reduce(function(u,f){var p=f&&Iqt(f,n);return p&&u.push(p),u},[]);return g2(r)?l[0]:l}YA.defaultProps=dm;YA.setDefaultProps=Eqt;YA.currentInput=yg;var _1r=Object.assign({},UA,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});YA.setDefaultProps({render:_Ee});var rS=YA;var v2=class{prefix="avo";prefixedKey(e){return`${this.prefix}.${e}`}get(e){return window.localStorage.getItem(this.prefixedKey(e))}set(e,t){return window.localStorage.setItem(this.prefixedKey(e),t)}remove(e){return window.localStorage.removeItem(this.prefixedKey(e))}};var Oqt='[data-resource-search-target="input"]',wEe=()=>document.querySelector(Oqt),Mqt='[data-index-row-navigator-target="table"]',y2=()=>document.querySelector(Mqt),SEe=()=>{let r=document.querySelector('meta[name="avo:resources-index-path"]')?.getAttribute("content");return r&&r.length?r:null},Lqt="[data-content-focus]",Pqt=r=>!r||r.closest("[hidden], .hidden")?!1:r.getClientRects().length>0,EEe=()=>document.body.classList.contains("modal-open"),TEe=()=>EEe()?null:Array.from(document.querySelectorAll(Lqt)).find(Pqt)??null;function a9(r){let e=document.querySelector('[data-controller~="appearance"]');if(!e)return;window.Stimulus?.getControllerForElementAndIdentifier(e,"appearance")?.[r]?.()}var Rqt=[{hotkey:"r r r",handle:()=>{window.reloadScrollTop=document.querySelector(".scrollable-wrapper")?.scrollTop,window.StreamActions.turbo_reload()}}],qqt=[{match:r=>r.key==="?"||r.shiftKey&&r.code==="Slash",handle:()=>document.dispatchEvent(new Event("persistent-modal:toggle"))},{match:r=>r.key==="/"&&!r.shiftKey&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&!!wEe(),handle:()=>{let r=wEe();r&&r.focus()}},{match:r=>r.key==="i"&&!r.shiftKey&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&!EEe()&&!!SEe(),handle:()=>{let r=SEe();r&&(window.Turbo?window.Turbo.visit(r):window.location.assign(r))}},{match:r=>r.shiftKey&&r.key==="M",handle:()=>a9("cycleScheme")},{match:r=>r.shiftKey&&r.key==="N",handle:()=>a9("cycleNeutral")},{match:r=>r.shiftKey&&r.key==="A",handle:()=>a9("cycleAccent")},{match:r=>r.shiftKey&&r.key==="T"&&!!TEe(),handle:()=>TEe()?.focus({preventScroll:!0})},{match:r=>r.key==="j"&&!r.shiftKey&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&!!y2(),handle:()=>{y2()?.focus({preventScroll:!0}),document.dispatchEvent(new CustomEvent("avo:advance-resource-table",{detail:{direction:"next"}}))}},{match:r=>r.key==="k"&&!r.shiftKey&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&!!y2(),handle:()=>{y2()?.focus({preventScroll:!0}),document.dispatchEvent(new CustomEvent("avo:advance-resource-table",{detail:{direction:"previous"}}))}},{match:r=>r.shiftKey&&r.key==="K"&&window.Avo?.configuration?.hotkeys?.showKeyBadges!==!1,handle:()=>{document.documentElement.classList.toggle("hotkeys-hide-badges");let r=document.documentElement.classList.contains("hotkeys-hide-badges");try{r?localStorage.setItem("avo:hotkeys:hide_badges","1"):localStorage.removeItem("avo:hotkeys:hide_badges")}catch{}}}],Fqt="input, textarea, select, [contenteditable]";function kEe(r){let e=r.currentTarget;if(!e.isConnected){r.preventDefault();return}let t=e.getAttribute("data-hotkey"),n=t?document.querySelectorAll(`[data-hotkey="${CSS.escape(t)}"] kbd`):e.querySelectorAll("kbd");n.length&&(r.preventDefault(),n.forEach(i=>{i.classList.add("kbd--called"),i.addEventListener("transitionend",()=>i.classList.remove("kbd--called"),{once:!0})}),requestAnimationFrame(()=>{requestAnimationFrame(()=>e.click())}))}function AEe(r){r.removeEventListener("hotkey-fire",kEe),r.addEventListener("hotkey-fire",kEe)}function CEe(){window.Avo?.configuration?.hotkeys?.enabled!==!1&&(document.addEventListener("turbo:load",()=>{document.querySelectorAll("kbd.kbd--called").forEach(r=>r.classList.remove("kbd--called")),window.reloadScrollTop&&setTimeout(()=>{document.querySelector(".scrollable-wrapper")?.scrollTo(0,window.reloadScrollTop),window.reloadScrollTop=null},50)}),Rqt.forEach(({hotkey:r,handle:e})=>{let t=document.createElement("span");t.addEventListener("hotkey-fire",n=>{n.preventDefault(),e()}),s2(t,r)}),document.addEventListener("keydown",r=>{if(r.defaultPrevented||r.repeat||r.target instanceof Element&&r.target.closest(Fqt))return;let e=qqt.find(({match:t})=>t(r));e&&(r.preventDefault(),e.handle())}))}function pm(r){return r?.closest("[popover], dialog")??null}document.addEventListener("direct-upload:initialize",r=>{let{target:e,detail:t}=r,{id:n,file:i}=t;e.insertAdjacentHTML("beforebegin",`
648
648
  <div id="direct-upload-${n}" class="direct-upload direct-upload--pending">
649
649
  <div id="direct-upload-progress-${n}" class="direct-upload__progress" style="width: 0%"></div>
650
650
  <span class="direct-upload__filename"></span>