@teipublisher/pb-components 3.0.0-next-4.1 → 3.0.0-next-4.2
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.
- package/.github/workflows/docker-cypress.yml +1 -2
- package/.github/workflows/node.js.yml +18 -4
- package/.releaserc.json +6 -1
- package/CHANGELOG.md +17 -0
- package/dist/pb-components-bundle.js +1 -1
- package/package.json +2 -2
- package/.github/workflows/main.yml +0 -26
- package/.github/workflows/release.js.yml +0 -36
|
@@ -6,7 +6,6 @@ on:
|
|
|
6
6
|
push:
|
|
7
7
|
branches:
|
|
8
8
|
- next*
|
|
9
|
-
- '**consolidate-lit**'
|
|
10
9
|
workflow_dispatch:
|
|
11
10
|
|
|
12
11
|
jobs:
|
|
@@ -18,7 +17,7 @@ jobs:
|
|
|
18
17
|
- name: Use Node.js
|
|
19
18
|
uses: actions/setup-node@v5
|
|
20
19
|
with:
|
|
21
|
-
node-version: "
|
|
20
|
+
node-version: "24"
|
|
22
21
|
cache: npm
|
|
23
22
|
cache-dependency-path: package-lock.json
|
|
24
23
|
- name: Install dependencies
|
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
- name: Use Node.js
|
|
20
20
|
uses: actions/setup-node@v5
|
|
21
21
|
with:
|
|
22
|
-
node-version: "
|
|
22
|
+
node-version: "24"
|
|
23
23
|
cache: npm
|
|
24
24
|
cache-dependency-path: package-lock.json
|
|
25
25
|
- name: Install dependencies
|
|
@@ -35,7 +35,7 @@ jobs:
|
|
|
35
35
|
- name: Use Node.js
|
|
36
36
|
uses: actions/setup-node@v5
|
|
37
37
|
with:
|
|
38
|
-
node-version: "
|
|
38
|
+
node-version: "24"
|
|
39
39
|
cache: npm
|
|
40
40
|
cache-dependency-path: package-lock.json
|
|
41
41
|
- name: Install dependencies
|
|
@@ -53,13 +53,14 @@ jobs:
|
|
|
53
53
|
contents: write
|
|
54
54
|
issues: write
|
|
55
55
|
pull-requests: write
|
|
56
|
+
pages: write
|
|
56
57
|
steps:
|
|
57
58
|
- uses: actions/checkout@v5
|
|
58
59
|
with:
|
|
59
60
|
fetch-depth: 0
|
|
60
61
|
- uses: actions/setup-node@v5
|
|
61
62
|
with:
|
|
62
|
-
node-version: "
|
|
63
|
+
node-version: "24"
|
|
63
64
|
cache: npm
|
|
64
65
|
cache-dependency-path: package-lock.json
|
|
65
66
|
- name: npm install
|
|
@@ -67,4 +68,17 @@ jobs:
|
|
|
67
68
|
- run: npx semantic-release
|
|
68
69
|
env:
|
|
69
70
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
70
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
71
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
72
|
+
|
|
73
|
+
- name: Build docs
|
|
74
|
+
run: npm run gh-pages
|
|
75
|
+
if: success()
|
|
76
|
+
|
|
77
|
+
- name: Deploy to GitHub Pages
|
|
78
|
+
uses: peaceiris/actions-gh-pages@v4
|
|
79
|
+
with:
|
|
80
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
81
|
+
publish_dir: ./docs
|
|
82
|
+
keep_files: true
|
|
83
|
+
cname: cdn.tei-publisher.com
|
|
84
|
+
if: success()
|
package/.releaserc.json
CHANGED
|
@@ -13,7 +13,12 @@
|
|
|
13
13
|
"@semantic-release/commit-analyzer",
|
|
14
14
|
"@semantic-release/release-notes-generator",
|
|
15
15
|
"@semantic-release/npm",
|
|
16
|
-
|
|
16
|
+
[
|
|
17
|
+
"@semantic-release/github",
|
|
18
|
+
{
|
|
19
|
+
"repositoryUrl": "https://github.com/eeditiones/tei-publisher-components"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
17
22
|
[
|
|
18
23
|
"@semantic-release/changelog",
|
|
19
24
|
{
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# [3.0.0-next-4.2](https://github.com/eeditiones/tei-publisher-components/compare/v3.0.0-next-4.1...v3.0.0-next-4.2) (2025-12-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workflows:** reliably deploy GitHub Pages deploy on release ([89b1cc8](https://github.com/eeditiones/tei-publisher-components/commit/89b1cc806a85a44c96771df12de9382f9628bb79))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### chore
|
|
10
|
+
|
|
11
|
+
* update Node.js version requirement to 24 ([76dc908](https://github.com/eeditiones/tei-publisher-components/commit/76dc9084fca2dd064a71311e12a71deb95700f97))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* - `"node": ">=24"`
|
|
17
|
+
|
|
1
18
|
# [3.0.0-next-4.1](https://github.com/eeditiones/tei-publisher-components/compare/v2.25.7...v3.0.0-next-4.1) (2025-12-22)
|
|
2
19
|
|
|
3
20
|
|
|
@@ -130,7 +130,7 @@ import{g as e,x as t,i as n,a as s,r,p as o,w as a,c as l,b as c,E as d,m as h}f
|
|
|
130
130
|
border-color: #999;
|
|
131
131
|
color: #999;
|
|
132
132
|
}
|
|
133
|
-
`}customElements.define("pb-demo-snippet",ge);const me="3.0.0-next-4.1";class fe extends s{static get properties(){return Object.assign({version:{type:String,reflect:!0}},super.properties)}constructor(){super(),this.version=me}render(){return t`<span>${this.version?this.version:"unknown"}</span>`}createRenderRoot(){return this}}customElements.define("pb-version",fe);var be="top",ye="bottom",ve="right",_e="left",we="auto",xe=[be,ye,ve,_e],ke="start",Ae="end",Se="clippingParents",Ce="viewport",Ee="popper",Oe="reference",$e=xe.reduce(function(e,t){return e.concat([t+"-"+ke,t+"-"+Ae])},[]),Te=[].concat(xe,[we]).reduce(function(e,t){return e.concat([t,t+"-"+ke,t+"-"+Ae])},[]),Ie=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Le(e){return e?(e.nodeName||"").toLowerCase():null}function Re(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pe(e){return e instanceof Re(e).Element||e instanceof Element}function Ne(e){return e instanceof Re(e).HTMLElement||e instanceof HTMLElement}function je(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Re(e).ShadowRoot||e instanceof ShadowRoot)}function De(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},s=t.elements[e];Ne(s)&&Le(s)&&(Object.assign(s.style,i),Object.keys(n).forEach(function(e){var t=n[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)}))})}function Fe(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],s=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});Ne(n)&&Le(n)&&(Object.assign(n.style,r),Object.keys(s).forEach(function(e){n.removeAttribute(e)}))})}}var Me={name:"applyStyles",enabled:!0,phase:"write",fn:De,effect:Fe,requires:["computeStyles"]};function Be(e){return e.split("-")[0]}var ze=Math.max,qe=Math.min,Ue=Math.round;function He(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Ve(){return!/^((?!chrome|android).)*safari/i.test(He())}function We(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,r=1;t&&Ne(e)&&(s=e.offsetWidth>0&&Ue(n.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Ue(n.height)/e.offsetHeight||1);var o=(Pe(e)?Re(e):window).visualViewport,a=!Ve()&&i,l=(n.left+(a&&o?o.offsetLeft:0))/s,c=(n.top+(a&&o?o.offsetTop:0))/r,d=n.width/s,h=n.height/r;return{width:d,height:h,top:c,right:l+d,bottom:c+h,left:l,x:l,y:c}}function Ye(e){var t=We(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function Ge(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&je(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Qe(e){return Re(e).getComputedStyle(e)}function Ke(e){return["table","td","th"].indexOf(Le(e))>=0}function Je(e){return((Pe(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ze(e){return"html"===Le(e)?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||Je(e)}function Xe(e){return Ne(e)&&"fixed"!==Qe(e).position?e.offsetParent:null}function et(e){var t=/firefox/i.test(He());if(/Trident/i.test(He())&&Ne(e)&&"fixed"===Qe(e).position)return null;var i=Ze(e);for(je(i)&&(i=i.host);Ne(i)&&["html","body"].indexOf(Le(i))<0;){var n=Qe(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}function tt(e){for(var t=Re(e),i=Xe(e);i&&Ke(i)&&"static"===Qe(i).position;)i=Xe(i);return i&&("html"===Le(i)||"body"===Le(i)&&"static"===Qe(i).position)?t:i||et(e)||t}function it(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function nt(e,t,i){return ze(e,qe(t,i))}function st(e,t,i){var n=nt(e,t,i);return n>i?i:n}function rt(){return{top:0,right:0,bottom:0,left:0}}function ot(e){return Object.assign({},rt(),e)}function at(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}var lt=function(e,t){return ot("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:at(e,xe))};function ct(e){var t,i=e.state,n=e.name,s=e.options,r=i.elements.arrow,o=i.modifiersData.popperOffsets,a=Be(i.placement),l=it(a),c=[_e,ve].indexOf(a)>=0?"height":"width";if(r&&o){var d=lt(s.padding,i),h=Ye(r),p="y"===l?be:_e,u="y"===l?ye:ve,g=i.rects.reference[c]+i.rects.reference[l]-o[l]-i.rects.popper[c],m=o[l]-i.rects.reference[l],f=tt(r),b=f?"y"===l?f.clientHeight||0:f.clientWidth||0:0,y=g/2-m/2,v=d[p],_=b-h[c]-d[u],w=b/2-h[c]/2+y,x=nt(v,w,_),k=l;i.modifiersData[n]=((t={})[k]=x,t.centerOffset=x-w,t)}}function dt(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Ge(t.elements.popper,n)&&(t.elements.arrow=n)}function ht(e){return e.split("-")[1]}var pt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ut(e,t){var i=e.x,n=e.y,s=t.devicePixelRatio||1;return{x:Ue(i*s)/s||0,y:Ue(n*s)/s||0}}function gt(e){var t,i=e.popper,n=e.popperRect,s=e.placement,r=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,p=o.x,u=void 0===p?0:p,g=o.y,m=void 0===g?0:g,f="function"==typeof d?d({x:u,y:m}):{x:u,y:m};u=f.x,m=f.y;var b=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),v=_e,_=be,w=window;if(c){var x=tt(i),k="clientHeight",A="clientWidth";if(x===Re(i)&&"static"!==Qe(x=Je(i)).position&&"absolute"===a&&(k="scrollHeight",A="scrollWidth"),s===be||(s===_e||s===ve)&&r===Ae)_=ye,m-=(h&&x===w&&w.visualViewport?w.visualViewport.height:x[k])-n.height,m*=l?1:-1;if(s===_e||(s===be||s===ye)&&r===Ae)v=ve,u-=(h&&x===w&&w.visualViewport?w.visualViewport.width:x[A])-n.width,u*=l?1:-1}var S,C=Object.assign({position:a},c&&pt),E=!0===d?ut({x:u,y:m},Re(i)):{x:u,y:m};return u=E.x,m=E.y,l?Object.assign({},C,((S={})[_]=y?"0":"",S[v]=b?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+u+"px, "+m+"px)":"translate3d("+u+"px, "+m+"px, 0)",S)):Object.assign({},C,((t={})[_]=y?m+"px":"",t[v]=b?u+"px":"",t.transform="",t))}function mt(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=void 0===n||n,r=i.adaptive,o=void 0===r||r,a=i.roundOffsets,l=void 0===a||a,c={placement:Be(t.placement),variation:ht(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,gt(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,gt(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ft={passive:!0};function bt(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,r=void 0===s||s,o=n.resize,a=void 0===o||o,l=Re(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach(function(e){e.addEventListener("scroll",i.update,ft)}),a&&l.addEventListener("resize",i.update,ft),function(){r&&c.forEach(function(e){e.removeEventListener("scroll",i.update,ft)}),a&&l.removeEventListener("resize",i.update,ft)}}var yt={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(e){return e.replace(/left|right|bottom|top/g,function(e){return yt[e]})}var _t={start:"end",end:"start"};function wt(e){return e.replace(/start|end/g,function(e){return _t[e]})}function xt(e){var t=Re(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function kt(e){return We(Je(e)).left+xt(e).scrollLeft}function At(e,t){var i=Re(e),n=Je(e),s=i.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,l=0;if(s){r=s.width,o=s.height;var c=Ve();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:r,height:o,x:a+kt(e),y:l}}function St(e){var t,i=Je(e),n=xt(e),s=null==(t=e.ownerDocument)?void 0:t.body,r=ze(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=ze(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+kt(e),l=-n.scrollTop;return"rtl"===Qe(s||i).direction&&(a+=ze(i.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}function Ct(e){var t=Qe(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Et(e){return["html","body","#document"].indexOf(Le(e))>=0?e.ownerDocument.body:Ne(e)&&Ct(e)?e:Et(Ze(e))}function Ot(e,t){var i;void 0===t&&(t=[]);var n=Et(e),s=n===(null==(i=e.ownerDocument)?void 0:i.body),r=Re(n),o=s?[r].concat(r.visualViewport||[],Ct(n)?n:[]):n,a=t.concat(o);return s?a:a.concat(Ot(Ze(o)))}function $t(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Tt(e,t){var i=We(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}function It(e,t,i){return t===Ce?$t(At(e,i)):Pe(t)?Tt(t,i):$t(St(Je(e)))}function Lt(e){var t=Ot(Ze(e)),i=["absolute","fixed"].indexOf(Qe(e).position)>=0&&Ne(e)?tt(e):e;return Pe(i)?t.filter(function(e){return Pe(e)&&Ge(e,i)&&"body"!==Le(e)}):[]}function Rt(e,t,i,n){var s="clippingParents"===t?Lt(e):[].concat(t),r=[].concat(s,[i]),o=r[0],a=r.reduce(function(t,i){var s=It(e,i,n);return t.top=ze(s.top,t.top),t.right=qe(s.right,t.right),t.bottom=qe(s.bottom,t.bottom),t.left=ze(s.left,t.left),t},It(e,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Pt(e){var t,i=e.reference,n=e.element,s=e.placement,r=s?Be(s):null,o=s?ht(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(r){case be:t={x:a,y:i.y-n.height};break;case ye:t={x:a,y:i.y+i.height};break;case ve:t={x:i.x+i.width,y:l};break;case _e:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=r?it(r):null;if(null!=c){var d="y"===c?"height":"width";switch(o){case ke:t[c]=t[c]-(i[d]/2-n[d]/2);break;case Ae:t[c]=t[c]+(i[d]/2-n[d]/2)}}return t}function Nt(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,r=i.strategy,o=void 0===r?e.strategy:r,a=i.boundary,l=void 0===a?Se:a,c=i.rootBoundary,d=void 0===c?Ce:c,h=i.elementContext,p=void 0===h?Ee:h,u=i.altBoundary,g=void 0!==u&&u,m=i.padding,f=void 0===m?0:m,b=ot("number"!=typeof f?f:at(f,xe)),y=p===Ee?Oe:Ee,v=e.rects.popper,_=e.elements[g?y:p],w=Rt(Pe(_)?_:_.contextElement||Je(e.elements.popper),l,d,o),x=We(e.elements.reference),k=Pt({reference:x,element:v,placement:s}),A=$t(Object.assign({},v,k)),S=p===Ee?A:x,C={top:w.top-S.top+b.top,bottom:S.bottom-w.bottom+b.bottom,left:w.left-S.left+b.left,right:S.right-w.right+b.right},E=e.modifiersData.offset;if(p===Ee&&E){var O=E[s];Object.keys(C).forEach(function(e){var t=[ve,ye].indexOf(e)>=0?1:-1,i=[be,ye].indexOf(e)>=0?"y":"x";C[e]+=O[i]*t})}return C}function jt(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,r=i.rootBoundary,o=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?Te:l,d=ht(n),h=d?a?$e:$e.filter(function(e){return ht(e)===d}):xe,p=h.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=h);var u=p.reduce(function(t,i){return t[i]=Nt(e,{placement:i,boundary:s,rootBoundary:r,padding:o})[Be(i)],t},{});return Object.keys(u).sort(function(e,t){return u[e]-u[t]})}function Dt(e){if(Be(e)===we)return[];var t=vt(e);return[wt(e),t,wt(t)]}function Ft(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var s=i.mainAxis,r=void 0===s||s,o=i.altAxis,a=void 0===o||o,l=i.fallbackPlacements,c=i.padding,d=i.boundary,h=i.rootBoundary,p=i.altBoundary,u=i.flipVariations,g=void 0===u||u,m=i.allowedAutoPlacements,f=t.options.placement,b=Be(f),y=l||(b===f||!g?[vt(f)]:Dt(f)),v=[f].concat(y).reduce(function(e,i){return e.concat(Be(i)===we?jt(t,{placement:i,boundary:d,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:m}):i)},[]),_=t.rects.reference,w=t.rects.popper,x=new Map,k=!0,A=v[0],S=0;S<v.length;S++){var C=v[S],E=Be(C),O=ht(C)===ke,$=[be,ye].indexOf(E)>=0,T=$?"width":"height",I=Nt(t,{placement:C,boundary:d,rootBoundary:h,altBoundary:p,padding:c}),L=$?O?ve:_e:O?ye:be;_[T]>w[T]&&(L=vt(L));var R=vt(L),P=[];if(r&&P.push(I[E]<=0),a&&P.push(I[L]<=0,I[R]<=0),P.every(function(e){return e})){A=C,k=!1;break}x.set(C,P)}if(k)for(var N=function(e){var t=v.find(function(t){var i=x.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return A=t,"break"},j=g?3:1;j>0;j--){if("break"===N(j))break}t.placement!==A&&(t.modifiersData[n]._skip=!0,t.placement=A,t.reset=!0)}}function Mt(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Bt(e){return[be,ve,ye,_e].some(function(t){return e[t]>=0})}function zt(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,r=t.modifiersData.preventOverflow,o=Nt(t,{elementContext:"reference"}),a=Nt(t,{altBoundary:!0}),l=Mt(o,n),c=Mt(a,s,r),d=Bt(l),h=Bt(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}function qt(e,t,i){var n=Be(e),s=[_e,be].indexOf(n)>=0?-1:1,r="function"==typeof i?i(Object.assign({},t,{placement:e})):i,o=r[0],a=r[1];return o=o||0,a=(a||0)*s,[_e,ve].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function Ut(e){var t=e.state,i=e.options,n=e.name,s=i.offset,r=void 0===s?[0,0]:s,o=Te.reduce(function(e,i){return e[i]=qt(i,t.rects,r),e},{}),a=o[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}function Ht(e){var t=e.state,i=e.name;t.modifiersData[i]=Pt({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}function Vt(e){return"x"===e?"y":"x"}function Wt(e){var t=e.state,i=e.options,n=e.name,s=i.mainAxis,r=void 0===s||s,o=i.altAxis,a=void 0!==o&&o,l=i.boundary,c=i.rootBoundary,d=i.altBoundary,h=i.padding,p=i.tether,u=void 0===p||p,g=i.tetherOffset,m=void 0===g?0:g,f=Nt(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:d}),b=Be(t.placement),y=ht(t.placement),v=!y,_=it(b),w=Vt(_),x=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(x){if(r){var $,T="y"===_?be:_e,I="y"===_?ye:ve,L="y"===_?"height":"width",R=x[_],P=R+f[T],N=R-f[I],j=u?-A[L]/2:0,D=y===ke?k[L]:A[L],F=y===ke?-A[L]:-k[L],M=t.elements.arrow,B=u&&M?Ye(M):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:rt(),q=z[T],U=z[I],H=nt(0,k[L],B[L]),V=v?k[L]/2-j-H-q-C.mainAxis:D-H-q-C.mainAxis,W=v?-k[L]/2+j+H+U+C.mainAxis:F+H+U+C.mainAxis,Y=t.elements.arrow&&tt(t.elements.arrow),G=Y?"y"===_?Y.clientTop||0:Y.clientLeft||0:0,Q=null!=($=null==E?void 0:E[_])?$:0,K=R+W-Q,J=nt(u?qe(P,R+V-Q-G):P,R,u?ze(N,K):N);x[_]=J,O[_]=J-R}if(a){var Z,X="x"===_?be:_e,ee="x"===_?ye:ve,te=x[w],ie="y"===w?"height":"width",ne=te+f[X],se=te-f[ee],re=-1!==[be,_e].indexOf(b),oe=null!=(Z=null==E?void 0:E[w])?Z:0,ae=re?ne:te-k[ie]-A[ie]-oe+C.altAxis,le=re?te+k[ie]+A[ie]-oe-C.altAxis:se,ce=u&&re?st(ae,te,le):nt(u?ae:ne,te,u?le:se);x[w]=ce,O[w]=ce-te}t.modifiersData[n]=O}}function Yt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Gt(e){return e!==Re(e)&&Ne(e)?Yt(e):xt(e)}function Qt(e){var t=e.getBoundingClientRect(),i=Ue(t.width)/e.offsetWidth||1,n=Ue(t.height)/e.offsetHeight||1;return 1!==i||1!==n}function Kt(e,t,i){void 0===i&&(i=!1);var n=Ne(t),s=Ne(t)&&Qt(t),r=Je(t),o=We(e,s,i),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!i)&&(("body"!==Le(t)||Ct(r))&&(a=Gt(t)),Ne(t)?((l=We(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=kt(r))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Jt(e){var t=new Map,i=new Set,n=[];function s(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!i.has(e)){var n=t.get(e);n&&s(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||s(e)}),n}function Zt(e){var t=Jt(e);return Ie.reduce(function(e,i){return e.concat(t.filter(function(e){return e.phase===i}))},[])}function Xt(e){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(e())})})),t}}function ei(e){var t=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var ti={placement:"bottom",modifiers:[],strategy:"absolute"};function ii(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function ni(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,s=t.defaultOptions,r=void 0===s?ti:s;return function(e,t,i){void 0===i&&(i=r);var s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ti,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],a=!1,l={state:s,setOptions:function(i){var o="function"==typeof i?i(s.options):i;d(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:Pe(e)?Ot(e):e.contextElement?Ot(e.contextElement):[],popper:Ot(t)};var a=Zt(ei([].concat(n,s.options.modifiers)));return s.orderedModifiers=a.filter(function(e){return e.enabled}),c(),l.update()},forceUpdate:function(){if(!a){var e=s.elements,t=e.reference,i=e.popper;if(ii(t,i)){s.rects={reference:Kt(t,tt(i),"fixed"===s.options.strategy),popper:Ye(i)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var r=s.orderedModifiers[n],o=r.fn,c=r.options,d=void 0===c?{}:c,h=r.name;"function"==typeof o&&(s=o({state:s,options:d,name:h,instance:l})||s)}else s.reset=!1,n=-1}}},update:Xt(function(){return new Promise(function(e){l.forceUpdate(),e(s)})}),destroy:function(){d(),a=!0}};if(!ii(e,t))return l;function c(){s.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,r=e.effect;if("function"==typeof r){var a=r({state:s,name:t,instance:l,options:n}),c=function(){};o.push(a||c)}})}function d(){o.forEach(function(e){return e()}),o=[]}return l.setOptions(i).then(function(e){!a&&i.onFirstUpdate&&i.onFirstUpdate(e)}),l}}var si=ni({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bt,data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:Ht,data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mt,data:{}},Me,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ut},{name:"flip",enabled:!0,phase:"main",fn:Ft,requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:Wt,requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:ct,effect:dt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:zt}]}),ri="tippy-box",oi="tippy-content",ai="tippy-backdrop",li="tippy-arrow",ci="tippy-svg-arrow",di={passive:!0,capture:!0},hi=function(){return document.body};function pi(e,t,i){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(i)?i[t]:i)}return e}function ui(e,t){var i={}.toString.call(e);return 0===i.indexOf("[object")&&i.indexOf(t+"]")>-1}function gi(e,t){return"function"==typeof e?e.apply(void 0,t):e}function mi(e,t){return 0===t?e:function(n){clearTimeout(i),i=setTimeout(function(){e(n)},t)};var i}function fi(e){return e.split(/\s+/).filter(Boolean)}function bi(e){return[].concat(e)}function yi(e,t){-1===e.indexOf(t)&&e.push(t)}function vi(e){return e.filter(function(t,i){return e.indexOf(t)===i})}function _i(e){return e.split("-")[0]}function wi(e){return[].slice.call(e)}function xi(e){return Object.keys(e).reduce(function(t,i){return void 0!==e[i]&&(t[i]=e[i]),t},{})}function ki(){return document.createElement("div")}function Ai(e){return["Element","Fragment"].some(function(t){return ui(e,t)})}function Si(e){return ui(e,"NodeList")}function Ci(e){return ui(e,"MouseEvent")}function Ei(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Oi(e){return Ai(e)?[e]:Si(e)?wi(e):Array.isArray(e)?e:wi(document.querySelectorAll(e))}function $i(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Ti(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ii(e){var t,i=bi(e)[0];return null!=i&&null!=(t=i.ownerDocument)&&t.body?i.ownerDocument:document}function Li(e,t){var i=t.clientX,n=t.clientY;return e.every(function(e){var t=e.popperRect,s=e.popperState,r=e.props.interactiveBorder,o=_i(s.placement),a=s.modifiersData.offset;if(!a)return!0;var l="bottom"===o?a.top.y:0,c="top"===o?a.bottom.y:0,d="right"===o?a.left.x:0,h="left"===o?a.right.x:0,p=t.top-n+l>r,u=n-t.bottom-c>r,g=t.left-i+d>r,m=i-t.right-h>r;return p||u||g||m})}function Ri(e,t,i){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[n](t,i)})}function Pi(e,t){for(var i=t;i;){var n;if(e.contains(i))return!0;i=null==i.getRootNode||null==(n=i.getRootNode())?void 0:n.host}return!1}var Ni={isTouch:!1},ji=0;function Di(){Ni.isTouch||(Ni.isTouch=!0,window.performance&&document.addEventListener("mousemove",Fi))}function Fi(){var e=performance.now();e-ji<20&&(Ni.isTouch=!1,document.removeEventListener("mousemove",Fi)),ji=e}function Mi(){var e=document.activeElement;if(Ei(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Bi(){document.addEventListener("touchstart",Di,di),window.addEventListener("blur",Mi)}var zi=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,qi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ui={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Hi=Object.assign({appendTo:hi,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},qi,Ui),Vi=Object.keys(Hi),Wi=function(e){Object.keys(e).forEach(function(t){Hi[t]=e[t]})};function Yi(e){var t=(e.plugins||[]).reduce(function(t,i){var n,s=i.name,r=i.defaultValue;s&&(t[s]=void 0!==e[s]?e[s]:null!=(n=Hi[s])?n:r);return t},{});return Object.assign({},e,t)}function Gi(e,t){var i=(t?Object.keys(Yi(Object.assign({},Hi,{plugins:t}))):Vi).reduce(function(t,i){var n=(e.getAttribute("data-tippy-"+i)||"").trim();if(!n)return t;if("content"===i)t[i]=n;else try{t[i]=JSON.parse(n)}catch(e){t[i]=n}return t},{});return i}function Qi(e,t){var i=Object.assign({},t,{content:gi(t.content,[e])},t.ignoreAttributes?{}:Gi(e,t.plugins));return i.aria=Object.assign({},Hi.aria,i.aria),i.aria={expanded:"auto"===i.aria.expanded?t.interactive:i.aria.expanded,content:"auto"===i.aria.content?t.interactive?null:"describedby":i.aria.content},i}var Ki=function(){return"innerHTML"};function Ji(e,t){e[Ki()]=t}function Zi(e){var t=ki();return!0===e?t.className=li:(t.className=ci,Ai(e)?t.appendChild(e):Ji(t,e)),t}function Xi(e,t){Ai(t.content)?(Ji(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ji(e,t.content):e.textContent=t.content)}function en(e){var t=e.firstElementChild,i=wi(t.children);return{box:t,content:i.find(function(e){return e.classList.contains(oi)}),arrow:i.find(function(e){return e.classList.contains(li)||e.classList.contains(ci)}),backdrop:i.find(function(e){return e.classList.contains(ai)})}}function tn(e){var t=ki(),i=ki();i.className=ri,i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var n=ki();function s(i,n){var s=en(t),r=s.box,o=s.content,a=s.arrow;n.theme?r.setAttribute("data-theme",n.theme):r.removeAttribute("data-theme"),"string"==typeof n.animation?r.setAttribute("data-animation",n.animation):r.removeAttribute("data-animation"),n.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof n.maxWidth?n.maxWidth+"px":n.maxWidth,n.role?r.setAttribute("role",n.role):r.removeAttribute("role"),i.content===n.content&&i.allowHTML===n.allowHTML||Xi(o,e.props),n.arrow?a?i.arrow!==n.arrow&&(r.removeChild(a),r.appendChild(Zi(n.arrow))):r.appendChild(Zi(n.arrow)):a&&r.removeChild(a)}return n.className=oi,n.setAttribute("data-state","hidden"),Xi(n,e.props),t.appendChild(i),i.appendChild(n),s(e.props,e.props),{popper:t,onUpdate:s}}tn.$$tippy=!0;var nn=1,sn=[],rn=[];function on(e,t){var i,n,s,r,o,a,l,c=Qi(e,Object.assign({},Hi,Yi(xi(t)))),d=!1,h=!1,p=!1,u=!1,g=[],m=mi(K,c.interactiveDebounce),f=nn++,b=null,y=vi(c.plugins),v={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:f,reference:e,popper:ki(),popperInstance:b,props:c,state:v,plugins:y,clearDelayTimeouts:le,setProps:ce,setContent:de,show:he,hide:pe,hideWithInteractivity:ue,enable:oe,disable:ae,unmount:ge,destroy:me};if(!c.render)return _;var w=c.render(_),x=w.popper,k=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,e._tippy=_,x._tippy=_;var A=y.map(function(e){return e.fn(_)}),S=e.hasAttribute("aria-expanded");return Y(),j(),R(),P("onCreate",[_]),c.showOnCreate&&se(),x.addEventListener("mouseenter",function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",m)}),_;function C(){var e=_.props.touch;return Array.isArray(e)?e:[e,0]}function E(){return"hold"===C()[0]}function O(){var e;return!(null==(e=_.props.render)||!e.$$tippy)}function $(){return l||e}function T(){var e=$().parentNode;return e?Ii(e):document}function I(){return en(x)}function L(e){return _.state.isMounted&&!_.state.isVisible||Ni.isTouch||r&&"focus"===r.type?0:pi(_.props.delay,e?0:1,Hi.delay)}function R(e){void 0===e&&(e=!1),x.style.pointerEvents=_.props.interactive&&!e?"":"none",x.style.zIndex=""+_.props.zIndex}function P(e,t,i){var n;(void 0===i&&(i=!0),A.forEach(function(i){i[e]&&i[e].apply(i,t)}),i)&&(n=_.props)[e].apply(n,t)}function N(){var t=_.props.aria;if(t.content){var i="aria-"+t.content,n=x.id;bi(_.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(i);if(_.state.isVisible)e.setAttribute(i,t?t+" "+n:n);else{var s=t&&t.replace(n,"").trim();s?e.setAttribute(i,s):e.removeAttribute(i)}})}}function j(){!S&&_.props.aria.expanded&&bi(_.props.triggerTarget||e).forEach(function(e){_.props.interactive?e.setAttribute("aria-expanded",_.state.isVisible&&e===$()?"true":"false"):e.removeAttribute("aria-expanded")})}function D(){T().removeEventListener("mousemove",m),sn=sn.filter(function(e){return e!==m})}function F(t){if(!Ni.isTouch||!p&&"mousedown"!==t.type){var i=t.composedPath&&t.composedPath()[0]||t.target;if(!_.props.interactive||!Pi(x,i)){if(bi(_.props.triggerTarget||e).some(function(e){return Pi(e,i)})){if(Ni.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[_,t]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),h=!0,setTimeout(function(){h=!1}),_.state.isMounted||q())}}}function M(){p=!0}function B(){p=!1}function z(){var e=T();e.addEventListener("mousedown",F,!0),e.addEventListener("touchend",F,di),e.addEventListener("touchstart",B,di),e.addEventListener("touchmove",M,di)}function q(){var e=T();e.removeEventListener("mousedown",F,!0),e.removeEventListener("touchend",F,di),e.removeEventListener("touchstart",B,di),e.removeEventListener("touchmove",M,di)}function U(e,t){V(e,function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}function H(e,t){V(e,t)}function V(e,t){var i=I().box;function n(e){e.target===i&&(Ri(i,"remove",n),t())}if(0===e)return t();Ri(i,"remove",o),Ri(i,"add",n),o=n}function W(t,i,n){void 0===n&&(n=!1),bi(_.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,i,n),g.push({node:e,eventType:t,handler:i,options:n})})}function Y(){E()&&(W("touchstart",Q,{passive:!0}),W("touchend",J,{passive:!0})),fi(_.props.trigger).forEach(function(e){if("manual"!==e)switch(W(e,Q),e){case"mouseenter":W("mouseleave",J);break;case"focus":W(zi?"focusout":"blur",Z);break;case"focusin":W("focusout",Z)}})}function G(){g.forEach(function(e){var t=e.node,i=e.eventType,n=e.handler,s=e.options;t.removeEventListener(i,n,s)}),g=[]}function Q(e){var t,i=!1;if(_.state.isEnabled&&!X(e)&&!h){var n="focus"===(null==(t=r)?void 0:t.type);r=e,l=e.currentTarget,j(),!_.state.isVisible&&Ci(e)&&sn.forEach(function(t){return t(e)}),"click"===e.type&&(_.props.trigger.indexOf("mouseenter")<0||d)&&!1!==_.props.hideOnClick&&_.state.isVisible?i=!0:se(e),"click"===e.type&&(d=!i),i&&!n&&re(e)}}function K(e){var t=e.target,i=$().contains(t)||x.contains(t);if("mousemove"!==e.type||!i){var n=ne().concat(x).map(function(e){var t,i=null==(t=e._tippy.popperInstance)?void 0:t.state;return i?{popperRect:e.getBoundingClientRect(),popperState:i,props:c}:null}).filter(Boolean);Li(n,e)&&(D(),re(e))}}function J(e){X(e)||_.props.trigger.indexOf("click")>=0&&d||(_.props.interactive?_.hideWithInteractivity(e):re(e))}function Z(e){_.props.trigger.indexOf("focusin")<0&&e.target!==$()||_.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||re(e)}function X(e){return!!Ni.isTouch&&E()!==e.type.indexOf("touch")>=0}function ee(){te();var t=_.props,i=t.popperOptions,n=t.placement,s=t.offset,r=t.getReferenceClientRect,o=t.moveTransition,l=O()?en(x).arrow:null,c=r?{getBoundingClientRect:r,contextElement:r.contextElement||$()}:e,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(O()){var i=I().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?i.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?i.setAttribute("data-"+e,""):i.removeAttribute("data-"+e)}),t.attributes.popper={}}}},h=[{name:"offset",options:{offset:s}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},d];O()&&l&&h.push({name:"arrow",options:{element:l,padding:3}}),h.push.apply(h,(null==i?void 0:i.modifiers)||[]),_.popperInstance=si(c,x,Object.assign({},i,{placement:n,onFirstUpdate:a,modifiers:h}))}function te(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function ie(){var e,t=_.props.appendTo,i=$();(e=_.props.interactive&&t===hi||"parent"===t?i.parentNode:gi(t,[i])).contains(x)||e.appendChild(x),_.state.isMounted=!0,ee()}function ne(){return wi(x.querySelectorAll("[data-tippy-root]"))}function se(e){_.clearDelayTimeouts(),e&&P("onTrigger",[_,e]),z();var t=L(!0),n=C(),s=n[0],r=n[1];Ni.isTouch&&"hold"===s&&r&&(t=r),t?i=setTimeout(function(){_.show()},t):_.show()}function re(e){if(_.clearDelayTimeouts(),P("onUntrigger",[_,e]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=L(!1);t?n=setTimeout(function(){_.state.isVisible&&_.hide()},t):s=requestAnimationFrame(function(){_.hide()})}}else q()}function oe(){_.state.isEnabled=!0}function ae(){_.hide(),_.state.isEnabled=!1}function le(){clearTimeout(i),clearTimeout(n),cancelAnimationFrame(s)}function ce(t){if(!_.state.isDestroyed){P("onBeforeUpdate",[_,t]),G();var i=_.props,n=Qi(e,Object.assign({},i,xi(t),{ignoreAttributes:!0}));_.props=n,Y(),i.interactiveDebounce!==n.interactiveDebounce&&(D(),m=mi(K,n.interactiveDebounce)),i.triggerTarget&&!n.triggerTarget?bi(i.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):n.triggerTarget&&e.removeAttribute("aria-expanded"),j(),R(),k&&k(i,n),_.popperInstance&&(ee(),ne().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),P("onAfterUpdate",[_,t])}}function de(e){_.setProps({content:e})}function he(){var e=_.state.isVisible,t=_.state.isDestroyed,i=!_.state.isEnabled,n=Ni.isTouch&&!_.props.touch,s=pi(_.props.duration,0,Hi.duration);if(!(e||t||i||n||$().hasAttribute("disabled")||(P("onShow",[_],!1),!1===_.props.onShow(_)))){if(_.state.isVisible=!0,O()&&(x.style.visibility="visible"),R(),z(),_.state.isMounted||(x.style.transition="none"),O()){var r=I();$i([r.box,r.content],0)}a=function(){var e;if(_.state.isVisible&&!u){if(u=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,O()&&_.props.animation){var t=I(),i=t.box,n=t.content;$i([i,n],s),Ti([i,n],"visible")}N(),j(),yi(rn,_),null==(e=_.popperInstance)||e.forceUpdate(),P("onMount",[_]),_.props.animation&&O()&&H(s,function(){_.state.isShown=!0,P("onShown",[_])})}},ie()}}function pe(){var e=!_.state.isVisible,t=_.state.isDestroyed,i=!_.state.isEnabled,n=pi(_.props.duration,1,Hi.duration);if(!(e||t||i)&&(P("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,u=!1,d=!1,O()&&(x.style.visibility="hidden"),D(),q(),R(!0),O()){var s=I(),r=s.box,o=s.content;_.props.animation&&($i([r,o],n),Ti([r,o],"hidden"))}N(),j(),_.props.animation?O()&&U(n,_.unmount):_.unmount()}}function ue(e){T().addEventListener("mousemove",m),yi(sn,m),m(e)}function ge(){_.state.isVisible&&_.hide(),_.state.isMounted&&(te(),ne().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),rn=rn.filter(function(e){return e!==_}),_.state.isMounted=!1,P("onHidden",[_]))}function me(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),G(),delete e._tippy,_.state.isDestroyed=!0,P("onDestroy",[_]))}}function an(e,t){void 0===t&&(t={});var i=Hi.plugins.concat(t.plugins||[]);Bi();var n=Object.assign({},t,{plugins:i}),s=Oi(e).reduce(function(e,t){var i=t&&on(t,n);return i&&e.push(i),e},[]);return Ai(e)?s[0]:s}function ln(e){return e.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,t)=>0===+e?"":0===t?e.toLowerCase():e.toUpperCase()).replace("-","")}an.defaultProps=Hi,an.setDefaultProps=Wi,an.currentInput=Ni,Object.assign({},Me,{effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow)}}),an.setDefaultProps({render:tn});const cn='\n .tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n }\n\n .tippy-iOS {\n cursor: pointer!important;\n -webkit-tap-highlight-color: transparent\n }\n\n [data-tippy-root] {\n max-width: calc(100vw - 10px)\n }\n\n .tippy-box {\n position: relative;\n background-color: #333;\n color: #fff;\n border-radius: 4px;\n font-size: clamp(\n calc(var(--pb-popover-font-size, 1rem) * var(--pb-min-zoom, 0.5)), \n calc(var(--pb-popover-font-size, 1rem) * var(--pb-zoom-factor)), \n calc(var(--pb-popover-font-size, 1rem) * var(--pb-max-zoom, 3.0))\n );\n line-height: calc(var(--pb-popover-line-height, 1.5) * var(--pb-zoom-factor));\n\n text-align: left;\n font-style: normal;\n font-weight: normal;\n outline: 0;\n transition-property: transform, visibility, opacity;\n }\n\n .tippy-box[data-placement^=top]>.tippy-arrow {\n bottom: 0\n }\n\n .tippy-box[data-placement^=top]>.tippy-arrow:before {\n bottom: -7px;\n left: 0;\n border-width: 8px 8px 0;\n border-top-color: initial;\n transform-origin: center top\n }\n\n .tippy-box[data-placement^=bottom]>.tippy-arrow {\n top: 0\n }\n\n .tippy-box[data-placement^=bottom]>.tippy-arrow:before {\n top: -7px;\n left: 0;\n border-width: 0 8px 8px;\n border-bottom-color: initial;\n transform-origin: center bottom\n }\n\n .tippy-box[data-placement^=left]>.tippy-arrow {\n right: 0\n }\n\n .tippy-box[data-placement^=left]>.tippy-arrow:before {\n border-width: 8px 0 8px 8px;\n border-left-color: initial;\n right: -7px;\n transform-origin: center left\n }\n\n .tippy-box[data-placement^=right]>.tippy-arrow {\n left: 0\n }\n\n .tippy-box[data-placement^=right]>.tippy-arrow:before {\n left: -7px;\n border-width: 8px 8px 8px 0;\n border-right-color: initial;\n transform-origin: center right\n }\n\n .tippy-box[data-inertia][data-state=visible] {\n transition-timing-function: cubic-bezier(.54, 1.5, .38, 1.11)\n }\n\n .tippy-arrow {\n width: 16px;\n height: 16px;\n color: #333\n }\n\n .tippy-arrow:before {\n content: "";\n position: absolute;\n border-color: transparent;\n border-style: solid\n }\n\n .tippy-content {\n position: relative;\n padding: 5px 9px;\n z-index: 1;\n overflow: auto;\n max-height: var(--pb-popover-max-height, calc(100vh - 60px));\n min-height: var(--pb-popover-min-height, auto);\n max-width: var(--pb-popover-max-width, auto);\n min-width: var(--pb-popover-min-width, auto);\n color: var(--pb-popover-color);\n }\n',dn='\n .tippy-box[data-theme~=light-border] {\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid rgba(0, 8, 16, .15);\n color: #333;\n box-shadow: 0 4px 14px -2px rgba(0, 8, 16, .08)\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-backdrop {\n background-color: #fff\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-arrow:after, .tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after {\n content: "";\n position: absolute;\n z-index: -1\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-arrow:after {\n border-color: transparent;\n border-style: solid\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:before {\n border-top-color: #fff\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:after {\n border-top-color: rgba(0, 8, 16, .2);\n border-width: 7px 7px 0;\n top: 17px;\n left: 1px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow>svg {\n top: 16px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow:after {\n top: 17px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:before {\n border-bottom-color: #fff;\n bottom: 16px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:after {\n border-bottom-color: rgba(0, 8, 16, .2);\n border-width: 0 7px 7px;\n bottom: 17px;\n left: 1px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow>svg {\n bottom: 16px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow:after {\n bottom: 17px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:before {\n border-left-color: #fff\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:after {\n border-left-color: rgba(0, 8, 16, .2);\n border-width: 7px 0 7px 7px;\n left: 17px;\n top: 1px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow>svg {\n left: 11px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow:after {\n left: 12px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:before {\n border-right-color: #fff;\n right: 16px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:after {\n border-width: 7px 7px 7px 0;\n right: 17px;\n top: 1px;\n border-right-color: rgba(0, 8, 16, .2)\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow>svg {\n right: 11px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow:after {\n right: 12px\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-svg-arrow {\n fill: #fff\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA2czEuNzk2LS4wMTMgNC42Ny0zLjYxNUM1Ljg1MS45IDYuOTMuMDA2IDggMGMxLjA3LS4wMDYgMi4xNDguODg3IDMuMzQzIDIuMzg1QzE0LjIzMyA2LjAwNSAxNiA2IDE2IDZIMHoiIGZpbGw9InJnYmEoMCwgOCwgMTYsIDAuMikiLz48L3N2Zz4=);\n background-size: 16px 6px;\n width: 16px;\n height: 6px\n }\n',hn="\n .tippy-box[data-theme~=light] {\n color: #26323d;\n box-shadow: 0 0 20px 4px rgba(154, 161, 177, .15), 0 4px 80px -8px rgba(36, 40, 47, .25), 0 4px 4px -2px rgba(91, 94, 105, .15);\n background-color: #fff\n }\n\n .tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before {\n border-top-color: #fff\n }\n\n .tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before {\n border-bottom-color: #fff\n }\n\n .tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before {\n border-left-color: #fff\n }\n\n .tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before {\n border-right-color: #fff\n }\n\n .tippy-box[data-theme~=light]>.tippy-backdrop {\n background-color: #fff\n }\n\n .tippy-box[data-theme~=light]>.tippy-svg-arrow {\n fill: #fff\n }",pn="\n .tippy-box[data-theme~=material] {\n background-color: #505355;\n font-weight: 600\n }\n\n .tippy-box[data-theme~=material][data-placement^=top]>.tippy-arrow:before {\n border-top-color: #505355\n }\n\n .tippy-box[data-theme~=material][data-placement^=bottom]>.tippy-arrow:before {\n border-bottom-color: #505355\n }\n\n .tippy-box[data-theme~=material][data-placement^=left]>.tippy-arrow:before {\n border-left-color: #505355\n }\n\n .tippy-box[data-theme~=material][data-placement^=right]>.tippy-arrow:before {\n border-right-color: #505355\n }\n\n .tippy-box[data-theme~=material]>.tippy-backdrop {\n background-color: #505355\n }\n\n .tippy-box[data-theme~=material]>.tippy-svg-arrow {\n fill: #505355\n }\n",un="\n .tippy-box[data-theme~=translucent] {\n background-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent]>.tippy-arrow {\n width: 14px;\n height: 14px\n }\n\n .tippy-box[data-theme~=translucent][data-placement^=top]>.tippy-arrow:before {\n border-width: 7px 7px 0;\n border-top-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent][data-placement^=bottom]>.tippy-arrow:before {\n border-width: 0 7px 7px;\n border-bottom-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent][data-placement^=left]>.tippy-arrow:before {\n border-width: 7px 0 7px 7px;\n border-left-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent][data-placement^=right]>.tippy-arrow:before {\n border-width: 7px 7px 7px 0;\n border-right-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent]>.tippy-backdrop {\n background-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent]>.tippy-svg-arrow {\n fill: rgba(0, 0, 0, .7)\n }\n";var gn=Object.freeze({__proto__:null,base:cn,camelize:ln,light:hn,lightBorder:dn,material:pn,translucent:un});function mn(e,t,i){if(!e.querySelector(`#pb-popover-${t}`)){const n=e.nodeType===Node.DOCUMENT_NODE?document.head:e;console.log("Loading tippy styles for theme %s into %o",t,n);const s=document.createElement("style");s.type="text/css",s.id=`pb-popover-${t}`,s.innerHTML=i,n.appendChild(s)}}function fn(e,t){if(mn(e,"base",cn),t&&"none"!==t){const i=ln(t),n=gn[i];n&&mn(e,i,n)}}class bn extends(o(s)){static get properties(){return Object.assign(Object.assign({},super.properties),{},{for:{type:String},theme:{type:String},placement:{type:String},fallbackPlacement:{type:String,attribute:"fallback-placement"},persistent:{type:Boolean},trigger:{type:String},touch:{type:String},popupClass:{type:String,attribute:"popup-class"},remote:{type:String},stopPropagation:{type:Boolean,attribute:"stop-propagation"}})}constructor(){super(),this.persistent=!1,this.trigger=null,this.for=null,this.theme=null,this.placement=null,this.touch=null,this.fallbackPlacement=null,this.popupClass=null,this.stopPropagation=!1,this._tippy=null,this._content=null}render(){return this.for?t`<div class="hidden"><slot></slot></div>`:t`<span id="link" part="trigger" class="${this.persistent?"persistent":""}"
|
|
133
|
+
`}customElements.define("pb-demo-snippet",ge);const me="3.0.0-next-4.2";class fe extends s{static get properties(){return Object.assign({version:{type:String,reflect:!0}},super.properties)}constructor(){super(),this.version=me}render(){return t`<span>${this.version?this.version:"unknown"}</span>`}createRenderRoot(){return this}}customElements.define("pb-version",fe);var be="top",ye="bottom",ve="right",_e="left",we="auto",xe=[be,ye,ve,_e],ke="start",Ae="end",Se="clippingParents",Ce="viewport",Ee="popper",Oe="reference",$e=xe.reduce(function(e,t){return e.concat([t+"-"+ke,t+"-"+Ae])},[]),Te=[].concat(xe,[we]).reduce(function(e,t){return e.concat([t,t+"-"+ke,t+"-"+Ae])},[]),Ie=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Le(e){return e?(e.nodeName||"").toLowerCase():null}function Re(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pe(e){return e instanceof Re(e).Element||e instanceof Element}function Ne(e){return e instanceof Re(e).HTMLElement||e instanceof HTMLElement}function je(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Re(e).ShadowRoot||e instanceof ShadowRoot)}function De(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},s=t.elements[e];Ne(s)&&Le(s)&&(Object.assign(s.style,i),Object.keys(n).forEach(function(e){var t=n[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)}))})}function Fe(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],s=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});Ne(n)&&Le(n)&&(Object.assign(n.style,r),Object.keys(s).forEach(function(e){n.removeAttribute(e)}))})}}var Me={name:"applyStyles",enabled:!0,phase:"write",fn:De,effect:Fe,requires:["computeStyles"]};function Be(e){return e.split("-")[0]}var ze=Math.max,qe=Math.min,Ue=Math.round;function He(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Ve(){return!/^((?!chrome|android).)*safari/i.test(He())}function We(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,r=1;t&&Ne(e)&&(s=e.offsetWidth>0&&Ue(n.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Ue(n.height)/e.offsetHeight||1);var o=(Pe(e)?Re(e):window).visualViewport,a=!Ve()&&i,l=(n.left+(a&&o?o.offsetLeft:0))/s,c=(n.top+(a&&o?o.offsetTop:0))/r,d=n.width/s,h=n.height/r;return{width:d,height:h,top:c,right:l+d,bottom:c+h,left:l,x:l,y:c}}function Ye(e){var t=We(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function Ge(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&je(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Qe(e){return Re(e).getComputedStyle(e)}function Ke(e){return["table","td","th"].indexOf(Le(e))>=0}function Je(e){return((Pe(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ze(e){return"html"===Le(e)?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||Je(e)}function Xe(e){return Ne(e)&&"fixed"!==Qe(e).position?e.offsetParent:null}function et(e){var t=/firefox/i.test(He());if(/Trident/i.test(He())&&Ne(e)&&"fixed"===Qe(e).position)return null;var i=Ze(e);for(je(i)&&(i=i.host);Ne(i)&&["html","body"].indexOf(Le(i))<0;){var n=Qe(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}function tt(e){for(var t=Re(e),i=Xe(e);i&&Ke(i)&&"static"===Qe(i).position;)i=Xe(i);return i&&("html"===Le(i)||"body"===Le(i)&&"static"===Qe(i).position)?t:i||et(e)||t}function it(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function nt(e,t,i){return ze(e,qe(t,i))}function st(e,t,i){var n=nt(e,t,i);return n>i?i:n}function rt(){return{top:0,right:0,bottom:0,left:0}}function ot(e){return Object.assign({},rt(),e)}function at(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}var lt=function(e,t){return ot("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:at(e,xe))};function ct(e){var t,i=e.state,n=e.name,s=e.options,r=i.elements.arrow,o=i.modifiersData.popperOffsets,a=Be(i.placement),l=it(a),c=[_e,ve].indexOf(a)>=0?"height":"width";if(r&&o){var d=lt(s.padding,i),h=Ye(r),p="y"===l?be:_e,u="y"===l?ye:ve,g=i.rects.reference[c]+i.rects.reference[l]-o[l]-i.rects.popper[c],m=o[l]-i.rects.reference[l],f=tt(r),b=f?"y"===l?f.clientHeight||0:f.clientWidth||0:0,y=g/2-m/2,v=d[p],_=b-h[c]-d[u],w=b/2-h[c]/2+y,x=nt(v,w,_),k=l;i.modifiersData[n]=((t={})[k]=x,t.centerOffset=x-w,t)}}function dt(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Ge(t.elements.popper,n)&&(t.elements.arrow=n)}function ht(e){return e.split("-")[1]}var pt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ut(e,t){var i=e.x,n=e.y,s=t.devicePixelRatio||1;return{x:Ue(i*s)/s||0,y:Ue(n*s)/s||0}}function gt(e){var t,i=e.popper,n=e.popperRect,s=e.placement,r=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,p=o.x,u=void 0===p?0:p,g=o.y,m=void 0===g?0:g,f="function"==typeof d?d({x:u,y:m}):{x:u,y:m};u=f.x,m=f.y;var b=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),v=_e,_=be,w=window;if(c){var x=tt(i),k="clientHeight",A="clientWidth";if(x===Re(i)&&"static"!==Qe(x=Je(i)).position&&"absolute"===a&&(k="scrollHeight",A="scrollWidth"),s===be||(s===_e||s===ve)&&r===Ae)_=ye,m-=(h&&x===w&&w.visualViewport?w.visualViewport.height:x[k])-n.height,m*=l?1:-1;if(s===_e||(s===be||s===ye)&&r===Ae)v=ve,u-=(h&&x===w&&w.visualViewport?w.visualViewport.width:x[A])-n.width,u*=l?1:-1}var S,C=Object.assign({position:a},c&&pt),E=!0===d?ut({x:u,y:m},Re(i)):{x:u,y:m};return u=E.x,m=E.y,l?Object.assign({},C,((S={})[_]=y?"0":"",S[v]=b?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+u+"px, "+m+"px)":"translate3d("+u+"px, "+m+"px, 0)",S)):Object.assign({},C,((t={})[_]=y?m+"px":"",t[v]=b?u+"px":"",t.transform="",t))}function mt(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=void 0===n||n,r=i.adaptive,o=void 0===r||r,a=i.roundOffsets,l=void 0===a||a,c={placement:Be(t.placement),variation:ht(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,gt(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,gt(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ft={passive:!0};function bt(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,r=void 0===s||s,o=n.resize,a=void 0===o||o,l=Re(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach(function(e){e.addEventListener("scroll",i.update,ft)}),a&&l.addEventListener("resize",i.update,ft),function(){r&&c.forEach(function(e){e.removeEventListener("scroll",i.update,ft)}),a&&l.removeEventListener("resize",i.update,ft)}}var yt={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(e){return e.replace(/left|right|bottom|top/g,function(e){return yt[e]})}var _t={start:"end",end:"start"};function wt(e){return e.replace(/start|end/g,function(e){return _t[e]})}function xt(e){var t=Re(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function kt(e){return We(Je(e)).left+xt(e).scrollLeft}function At(e,t){var i=Re(e),n=Je(e),s=i.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,l=0;if(s){r=s.width,o=s.height;var c=Ve();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:r,height:o,x:a+kt(e),y:l}}function St(e){var t,i=Je(e),n=xt(e),s=null==(t=e.ownerDocument)?void 0:t.body,r=ze(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=ze(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+kt(e),l=-n.scrollTop;return"rtl"===Qe(s||i).direction&&(a+=ze(i.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}function Ct(e){var t=Qe(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Et(e){return["html","body","#document"].indexOf(Le(e))>=0?e.ownerDocument.body:Ne(e)&&Ct(e)?e:Et(Ze(e))}function Ot(e,t){var i;void 0===t&&(t=[]);var n=Et(e),s=n===(null==(i=e.ownerDocument)?void 0:i.body),r=Re(n),o=s?[r].concat(r.visualViewport||[],Ct(n)?n:[]):n,a=t.concat(o);return s?a:a.concat(Ot(Ze(o)))}function $t(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Tt(e,t){var i=We(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}function It(e,t,i){return t===Ce?$t(At(e,i)):Pe(t)?Tt(t,i):$t(St(Je(e)))}function Lt(e){var t=Ot(Ze(e)),i=["absolute","fixed"].indexOf(Qe(e).position)>=0&&Ne(e)?tt(e):e;return Pe(i)?t.filter(function(e){return Pe(e)&&Ge(e,i)&&"body"!==Le(e)}):[]}function Rt(e,t,i,n){var s="clippingParents"===t?Lt(e):[].concat(t),r=[].concat(s,[i]),o=r[0],a=r.reduce(function(t,i){var s=It(e,i,n);return t.top=ze(s.top,t.top),t.right=qe(s.right,t.right),t.bottom=qe(s.bottom,t.bottom),t.left=ze(s.left,t.left),t},It(e,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Pt(e){var t,i=e.reference,n=e.element,s=e.placement,r=s?Be(s):null,o=s?ht(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(r){case be:t={x:a,y:i.y-n.height};break;case ye:t={x:a,y:i.y+i.height};break;case ve:t={x:i.x+i.width,y:l};break;case _e:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=r?it(r):null;if(null!=c){var d="y"===c?"height":"width";switch(o){case ke:t[c]=t[c]-(i[d]/2-n[d]/2);break;case Ae:t[c]=t[c]+(i[d]/2-n[d]/2)}}return t}function Nt(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,r=i.strategy,o=void 0===r?e.strategy:r,a=i.boundary,l=void 0===a?Se:a,c=i.rootBoundary,d=void 0===c?Ce:c,h=i.elementContext,p=void 0===h?Ee:h,u=i.altBoundary,g=void 0!==u&&u,m=i.padding,f=void 0===m?0:m,b=ot("number"!=typeof f?f:at(f,xe)),y=p===Ee?Oe:Ee,v=e.rects.popper,_=e.elements[g?y:p],w=Rt(Pe(_)?_:_.contextElement||Je(e.elements.popper),l,d,o),x=We(e.elements.reference),k=Pt({reference:x,element:v,placement:s}),A=$t(Object.assign({},v,k)),S=p===Ee?A:x,C={top:w.top-S.top+b.top,bottom:S.bottom-w.bottom+b.bottom,left:w.left-S.left+b.left,right:S.right-w.right+b.right},E=e.modifiersData.offset;if(p===Ee&&E){var O=E[s];Object.keys(C).forEach(function(e){var t=[ve,ye].indexOf(e)>=0?1:-1,i=[be,ye].indexOf(e)>=0?"y":"x";C[e]+=O[i]*t})}return C}function jt(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,r=i.rootBoundary,o=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?Te:l,d=ht(n),h=d?a?$e:$e.filter(function(e){return ht(e)===d}):xe,p=h.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=h);var u=p.reduce(function(t,i){return t[i]=Nt(e,{placement:i,boundary:s,rootBoundary:r,padding:o})[Be(i)],t},{});return Object.keys(u).sort(function(e,t){return u[e]-u[t]})}function Dt(e){if(Be(e)===we)return[];var t=vt(e);return[wt(e),t,wt(t)]}function Ft(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var s=i.mainAxis,r=void 0===s||s,o=i.altAxis,a=void 0===o||o,l=i.fallbackPlacements,c=i.padding,d=i.boundary,h=i.rootBoundary,p=i.altBoundary,u=i.flipVariations,g=void 0===u||u,m=i.allowedAutoPlacements,f=t.options.placement,b=Be(f),y=l||(b===f||!g?[vt(f)]:Dt(f)),v=[f].concat(y).reduce(function(e,i){return e.concat(Be(i)===we?jt(t,{placement:i,boundary:d,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:m}):i)},[]),_=t.rects.reference,w=t.rects.popper,x=new Map,k=!0,A=v[0],S=0;S<v.length;S++){var C=v[S],E=Be(C),O=ht(C)===ke,$=[be,ye].indexOf(E)>=0,T=$?"width":"height",I=Nt(t,{placement:C,boundary:d,rootBoundary:h,altBoundary:p,padding:c}),L=$?O?ve:_e:O?ye:be;_[T]>w[T]&&(L=vt(L));var R=vt(L),P=[];if(r&&P.push(I[E]<=0),a&&P.push(I[L]<=0,I[R]<=0),P.every(function(e){return e})){A=C,k=!1;break}x.set(C,P)}if(k)for(var N=function(e){var t=v.find(function(t){var i=x.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return A=t,"break"},j=g?3:1;j>0;j--){if("break"===N(j))break}t.placement!==A&&(t.modifiersData[n]._skip=!0,t.placement=A,t.reset=!0)}}function Mt(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Bt(e){return[be,ve,ye,_e].some(function(t){return e[t]>=0})}function zt(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,r=t.modifiersData.preventOverflow,o=Nt(t,{elementContext:"reference"}),a=Nt(t,{altBoundary:!0}),l=Mt(o,n),c=Mt(a,s,r),d=Bt(l),h=Bt(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}function qt(e,t,i){var n=Be(e),s=[_e,be].indexOf(n)>=0?-1:1,r="function"==typeof i?i(Object.assign({},t,{placement:e})):i,o=r[0],a=r[1];return o=o||0,a=(a||0)*s,[_e,ve].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function Ut(e){var t=e.state,i=e.options,n=e.name,s=i.offset,r=void 0===s?[0,0]:s,o=Te.reduce(function(e,i){return e[i]=qt(i,t.rects,r),e},{}),a=o[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}function Ht(e){var t=e.state,i=e.name;t.modifiersData[i]=Pt({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}function Vt(e){return"x"===e?"y":"x"}function Wt(e){var t=e.state,i=e.options,n=e.name,s=i.mainAxis,r=void 0===s||s,o=i.altAxis,a=void 0!==o&&o,l=i.boundary,c=i.rootBoundary,d=i.altBoundary,h=i.padding,p=i.tether,u=void 0===p||p,g=i.tetherOffset,m=void 0===g?0:g,f=Nt(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:d}),b=Be(t.placement),y=ht(t.placement),v=!y,_=it(b),w=Vt(_),x=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(x){if(r){var $,T="y"===_?be:_e,I="y"===_?ye:ve,L="y"===_?"height":"width",R=x[_],P=R+f[T],N=R-f[I],j=u?-A[L]/2:0,D=y===ke?k[L]:A[L],F=y===ke?-A[L]:-k[L],M=t.elements.arrow,B=u&&M?Ye(M):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:rt(),q=z[T],U=z[I],H=nt(0,k[L],B[L]),V=v?k[L]/2-j-H-q-C.mainAxis:D-H-q-C.mainAxis,W=v?-k[L]/2+j+H+U+C.mainAxis:F+H+U+C.mainAxis,Y=t.elements.arrow&&tt(t.elements.arrow),G=Y?"y"===_?Y.clientTop||0:Y.clientLeft||0:0,Q=null!=($=null==E?void 0:E[_])?$:0,K=R+W-Q,J=nt(u?qe(P,R+V-Q-G):P,R,u?ze(N,K):N);x[_]=J,O[_]=J-R}if(a){var Z,X="x"===_?be:_e,ee="x"===_?ye:ve,te=x[w],ie="y"===w?"height":"width",ne=te+f[X],se=te-f[ee],re=-1!==[be,_e].indexOf(b),oe=null!=(Z=null==E?void 0:E[w])?Z:0,ae=re?ne:te-k[ie]-A[ie]-oe+C.altAxis,le=re?te+k[ie]+A[ie]-oe-C.altAxis:se,ce=u&&re?st(ae,te,le):nt(u?ae:ne,te,u?le:se);x[w]=ce,O[w]=ce-te}t.modifiersData[n]=O}}function Yt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Gt(e){return e!==Re(e)&&Ne(e)?Yt(e):xt(e)}function Qt(e){var t=e.getBoundingClientRect(),i=Ue(t.width)/e.offsetWidth||1,n=Ue(t.height)/e.offsetHeight||1;return 1!==i||1!==n}function Kt(e,t,i){void 0===i&&(i=!1);var n=Ne(t),s=Ne(t)&&Qt(t),r=Je(t),o=We(e,s,i),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!i)&&(("body"!==Le(t)||Ct(r))&&(a=Gt(t)),Ne(t)?((l=We(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=kt(r))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Jt(e){var t=new Map,i=new Set,n=[];function s(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!i.has(e)){var n=t.get(e);n&&s(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||s(e)}),n}function Zt(e){var t=Jt(e);return Ie.reduce(function(e,i){return e.concat(t.filter(function(e){return e.phase===i}))},[])}function Xt(e){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(e())})})),t}}function ei(e){var t=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var ti={placement:"bottom",modifiers:[],strategy:"absolute"};function ii(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function ni(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,s=t.defaultOptions,r=void 0===s?ti:s;return function(e,t,i){void 0===i&&(i=r);var s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ti,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],a=!1,l={state:s,setOptions:function(i){var o="function"==typeof i?i(s.options):i;d(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:Pe(e)?Ot(e):e.contextElement?Ot(e.contextElement):[],popper:Ot(t)};var a=Zt(ei([].concat(n,s.options.modifiers)));return s.orderedModifiers=a.filter(function(e){return e.enabled}),c(),l.update()},forceUpdate:function(){if(!a){var e=s.elements,t=e.reference,i=e.popper;if(ii(t,i)){s.rects={reference:Kt(t,tt(i),"fixed"===s.options.strategy),popper:Ye(i)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var r=s.orderedModifiers[n],o=r.fn,c=r.options,d=void 0===c?{}:c,h=r.name;"function"==typeof o&&(s=o({state:s,options:d,name:h,instance:l})||s)}else s.reset=!1,n=-1}}},update:Xt(function(){return new Promise(function(e){l.forceUpdate(),e(s)})}),destroy:function(){d(),a=!0}};if(!ii(e,t))return l;function c(){s.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,r=e.effect;if("function"==typeof r){var a=r({state:s,name:t,instance:l,options:n}),c=function(){};o.push(a||c)}})}function d(){o.forEach(function(e){return e()}),o=[]}return l.setOptions(i).then(function(e){!a&&i.onFirstUpdate&&i.onFirstUpdate(e)}),l}}var si=ni({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bt,data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:Ht,data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mt,data:{}},Me,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ut},{name:"flip",enabled:!0,phase:"main",fn:Ft,requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:Wt,requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:ct,effect:dt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:zt}]}),ri="tippy-box",oi="tippy-content",ai="tippy-backdrop",li="tippy-arrow",ci="tippy-svg-arrow",di={passive:!0,capture:!0},hi=function(){return document.body};function pi(e,t,i){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(i)?i[t]:i)}return e}function ui(e,t){var i={}.toString.call(e);return 0===i.indexOf("[object")&&i.indexOf(t+"]")>-1}function gi(e,t){return"function"==typeof e?e.apply(void 0,t):e}function mi(e,t){return 0===t?e:function(n){clearTimeout(i),i=setTimeout(function(){e(n)},t)};var i}function fi(e){return e.split(/\s+/).filter(Boolean)}function bi(e){return[].concat(e)}function yi(e,t){-1===e.indexOf(t)&&e.push(t)}function vi(e){return e.filter(function(t,i){return e.indexOf(t)===i})}function _i(e){return e.split("-")[0]}function wi(e){return[].slice.call(e)}function xi(e){return Object.keys(e).reduce(function(t,i){return void 0!==e[i]&&(t[i]=e[i]),t},{})}function ki(){return document.createElement("div")}function Ai(e){return["Element","Fragment"].some(function(t){return ui(e,t)})}function Si(e){return ui(e,"NodeList")}function Ci(e){return ui(e,"MouseEvent")}function Ei(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Oi(e){return Ai(e)?[e]:Si(e)?wi(e):Array.isArray(e)?e:wi(document.querySelectorAll(e))}function $i(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Ti(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ii(e){var t,i=bi(e)[0];return null!=i&&null!=(t=i.ownerDocument)&&t.body?i.ownerDocument:document}function Li(e,t){var i=t.clientX,n=t.clientY;return e.every(function(e){var t=e.popperRect,s=e.popperState,r=e.props.interactiveBorder,o=_i(s.placement),a=s.modifiersData.offset;if(!a)return!0;var l="bottom"===o?a.top.y:0,c="top"===o?a.bottom.y:0,d="right"===o?a.left.x:0,h="left"===o?a.right.x:0,p=t.top-n+l>r,u=n-t.bottom-c>r,g=t.left-i+d>r,m=i-t.right-h>r;return p||u||g||m})}function Ri(e,t,i){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[n](t,i)})}function Pi(e,t){for(var i=t;i;){var n;if(e.contains(i))return!0;i=null==i.getRootNode||null==(n=i.getRootNode())?void 0:n.host}return!1}var Ni={isTouch:!1},ji=0;function Di(){Ni.isTouch||(Ni.isTouch=!0,window.performance&&document.addEventListener("mousemove",Fi))}function Fi(){var e=performance.now();e-ji<20&&(Ni.isTouch=!1,document.removeEventListener("mousemove",Fi)),ji=e}function Mi(){var e=document.activeElement;if(Ei(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Bi(){document.addEventListener("touchstart",Di,di),window.addEventListener("blur",Mi)}var zi=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,qi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ui={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Hi=Object.assign({appendTo:hi,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},qi,Ui),Vi=Object.keys(Hi),Wi=function(e){Object.keys(e).forEach(function(t){Hi[t]=e[t]})};function Yi(e){var t=(e.plugins||[]).reduce(function(t,i){var n,s=i.name,r=i.defaultValue;s&&(t[s]=void 0!==e[s]?e[s]:null!=(n=Hi[s])?n:r);return t},{});return Object.assign({},e,t)}function Gi(e,t){var i=(t?Object.keys(Yi(Object.assign({},Hi,{plugins:t}))):Vi).reduce(function(t,i){var n=(e.getAttribute("data-tippy-"+i)||"").trim();if(!n)return t;if("content"===i)t[i]=n;else try{t[i]=JSON.parse(n)}catch(e){t[i]=n}return t},{});return i}function Qi(e,t){var i=Object.assign({},t,{content:gi(t.content,[e])},t.ignoreAttributes?{}:Gi(e,t.plugins));return i.aria=Object.assign({},Hi.aria,i.aria),i.aria={expanded:"auto"===i.aria.expanded?t.interactive:i.aria.expanded,content:"auto"===i.aria.content?t.interactive?null:"describedby":i.aria.content},i}var Ki=function(){return"innerHTML"};function Ji(e,t){e[Ki()]=t}function Zi(e){var t=ki();return!0===e?t.className=li:(t.className=ci,Ai(e)?t.appendChild(e):Ji(t,e)),t}function Xi(e,t){Ai(t.content)?(Ji(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ji(e,t.content):e.textContent=t.content)}function en(e){var t=e.firstElementChild,i=wi(t.children);return{box:t,content:i.find(function(e){return e.classList.contains(oi)}),arrow:i.find(function(e){return e.classList.contains(li)||e.classList.contains(ci)}),backdrop:i.find(function(e){return e.classList.contains(ai)})}}function tn(e){var t=ki(),i=ki();i.className=ri,i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var n=ki();function s(i,n){var s=en(t),r=s.box,o=s.content,a=s.arrow;n.theme?r.setAttribute("data-theme",n.theme):r.removeAttribute("data-theme"),"string"==typeof n.animation?r.setAttribute("data-animation",n.animation):r.removeAttribute("data-animation"),n.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof n.maxWidth?n.maxWidth+"px":n.maxWidth,n.role?r.setAttribute("role",n.role):r.removeAttribute("role"),i.content===n.content&&i.allowHTML===n.allowHTML||Xi(o,e.props),n.arrow?a?i.arrow!==n.arrow&&(r.removeChild(a),r.appendChild(Zi(n.arrow))):r.appendChild(Zi(n.arrow)):a&&r.removeChild(a)}return n.className=oi,n.setAttribute("data-state","hidden"),Xi(n,e.props),t.appendChild(i),i.appendChild(n),s(e.props,e.props),{popper:t,onUpdate:s}}tn.$$tippy=!0;var nn=1,sn=[],rn=[];function on(e,t){var i,n,s,r,o,a,l,c=Qi(e,Object.assign({},Hi,Yi(xi(t)))),d=!1,h=!1,p=!1,u=!1,g=[],m=mi(K,c.interactiveDebounce),f=nn++,b=null,y=vi(c.plugins),v={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:f,reference:e,popper:ki(),popperInstance:b,props:c,state:v,plugins:y,clearDelayTimeouts:le,setProps:ce,setContent:de,show:he,hide:pe,hideWithInteractivity:ue,enable:oe,disable:ae,unmount:ge,destroy:me};if(!c.render)return _;var w=c.render(_),x=w.popper,k=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,e._tippy=_,x._tippy=_;var A=y.map(function(e){return e.fn(_)}),S=e.hasAttribute("aria-expanded");return Y(),j(),R(),P("onCreate",[_]),c.showOnCreate&&se(),x.addEventListener("mouseenter",function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",m)}),_;function C(){var e=_.props.touch;return Array.isArray(e)?e:[e,0]}function E(){return"hold"===C()[0]}function O(){var e;return!(null==(e=_.props.render)||!e.$$tippy)}function $(){return l||e}function T(){var e=$().parentNode;return e?Ii(e):document}function I(){return en(x)}function L(e){return _.state.isMounted&&!_.state.isVisible||Ni.isTouch||r&&"focus"===r.type?0:pi(_.props.delay,e?0:1,Hi.delay)}function R(e){void 0===e&&(e=!1),x.style.pointerEvents=_.props.interactive&&!e?"":"none",x.style.zIndex=""+_.props.zIndex}function P(e,t,i){var n;(void 0===i&&(i=!0),A.forEach(function(i){i[e]&&i[e].apply(i,t)}),i)&&(n=_.props)[e].apply(n,t)}function N(){var t=_.props.aria;if(t.content){var i="aria-"+t.content,n=x.id;bi(_.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(i);if(_.state.isVisible)e.setAttribute(i,t?t+" "+n:n);else{var s=t&&t.replace(n,"").trim();s?e.setAttribute(i,s):e.removeAttribute(i)}})}}function j(){!S&&_.props.aria.expanded&&bi(_.props.triggerTarget||e).forEach(function(e){_.props.interactive?e.setAttribute("aria-expanded",_.state.isVisible&&e===$()?"true":"false"):e.removeAttribute("aria-expanded")})}function D(){T().removeEventListener("mousemove",m),sn=sn.filter(function(e){return e!==m})}function F(t){if(!Ni.isTouch||!p&&"mousedown"!==t.type){var i=t.composedPath&&t.composedPath()[0]||t.target;if(!_.props.interactive||!Pi(x,i)){if(bi(_.props.triggerTarget||e).some(function(e){return Pi(e,i)})){if(Ni.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[_,t]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),h=!0,setTimeout(function(){h=!1}),_.state.isMounted||q())}}}function M(){p=!0}function B(){p=!1}function z(){var e=T();e.addEventListener("mousedown",F,!0),e.addEventListener("touchend",F,di),e.addEventListener("touchstart",B,di),e.addEventListener("touchmove",M,di)}function q(){var e=T();e.removeEventListener("mousedown",F,!0),e.removeEventListener("touchend",F,di),e.removeEventListener("touchstart",B,di),e.removeEventListener("touchmove",M,di)}function U(e,t){V(e,function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}function H(e,t){V(e,t)}function V(e,t){var i=I().box;function n(e){e.target===i&&(Ri(i,"remove",n),t())}if(0===e)return t();Ri(i,"remove",o),Ri(i,"add",n),o=n}function W(t,i,n){void 0===n&&(n=!1),bi(_.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,i,n),g.push({node:e,eventType:t,handler:i,options:n})})}function Y(){E()&&(W("touchstart",Q,{passive:!0}),W("touchend",J,{passive:!0})),fi(_.props.trigger).forEach(function(e){if("manual"!==e)switch(W(e,Q),e){case"mouseenter":W("mouseleave",J);break;case"focus":W(zi?"focusout":"blur",Z);break;case"focusin":W("focusout",Z)}})}function G(){g.forEach(function(e){var t=e.node,i=e.eventType,n=e.handler,s=e.options;t.removeEventListener(i,n,s)}),g=[]}function Q(e){var t,i=!1;if(_.state.isEnabled&&!X(e)&&!h){var n="focus"===(null==(t=r)?void 0:t.type);r=e,l=e.currentTarget,j(),!_.state.isVisible&&Ci(e)&&sn.forEach(function(t){return t(e)}),"click"===e.type&&(_.props.trigger.indexOf("mouseenter")<0||d)&&!1!==_.props.hideOnClick&&_.state.isVisible?i=!0:se(e),"click"===e.type&&(d=!i),i&&!n&&re(e)}}function K(e){var t=e.target,i=$().contains(t)||x.contains(t);if("mousemove"!==e.type||!i){var n=ne().concat(x).map(function(e){var t,i=null==(t=e._tippy.popperInstance)?void 0:t.state;return i?{popperRect:e.getBoundingClientRect(),popperState:i,props:c}:null}).filter(Boolean);Li(n,e)&&(D(),re(e))}}function J(e){X(e)||_.props.trigger.indexOf("click")>=0&&d||(_.props.interactive?_.hideWithInteractivity(e):re(e))}function Z(e){_.props.trigger.indexOf("focusin")<0&&e.target!==$()||_.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||re(e)}function X(e){return!!Ni.isTouch&&E()!==e.type.indexOf("touch")>=0}function ee(){te();var t=_.props,i=t.popperOptions,n=t.placement,s=t.offset,r=t.getReferenceClientRect,o=t.moveTransition,l=O()?en(x).arrow:null,c=r?{getBoundingClientRect:r,contextElement:r.contextElement||$()}:e,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(O()){var i=I().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?i.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?i.setAttribute("data-"+e,""):i.removeAttribute("data-"+e)}),t.attributes.popper={}}}},h=[{name:"offset",options:{offset:s}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},d];O()&&l&&h.push({name:"arrow",options:{element:l,padding:3}}),h.push.apply(h,(null==i?void 0:i.modifiers)||[]),_.popperInstance=si(c,x,Object.assign({},i,{placement:n,onFirstUpdate:a,modifiers:h}))}function te(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function ie(){var e,t=_.props.appendTo,i=$();(e=_.props.interactive&&t===hi||"parent"===t?i.parentNode:gi(t,[i])).contains(x)||e.appendChild(x),_.state.isMounted=!0,ee()}function ne(){return wi(x.querySelectorAll("[data-tippy-root]"))}function se(e){_.clearDelayTimeouts(),e&&P("onTrigger",[_,e]),z();var t=L(!0),n=C(),s=n[0],r=n[1];Ni.isTouch&&"hold"===s&&r&&(t=r),t?i=setTimeout(function(){_.show()},t):_.show()}function re(e){if(_.clearDelayTimeouts(),P("onUntrigger",[_,e]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=L(!1);t?n=setTimeout(function(){_.state.isVisible&&_.hide()},t):s=requestAnimationFrame(function(){_.hide()})}}else q()}function oe(){_.state.isEnabled=!0}function ae(){_.hide(),_.state.isEnabled=!1}function le(){clearTimeout(i),clearTimeout(n),cancelAnimationFrame(s)}function ce(t){if(!_.state.isDestroyed){P("onBeforeUpdate",[_,t]),G();var i=_.props,n=Qi(e,Object.assign({},i,xi(t),{ignoreAttributes:!0}));_.props=n,Y(),i.interactiveDebounce!==n.interactiveDebounce&&(D(),m=mi(K,n.interactiveDebounce)),i.triggerTarget&&!n.triggerTarget?bi(i.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):n.triggerTarget&&e.removeAttribute("aria-expanded"),j(),R(),k&&k(i,n),_.popperInstance&&(ee(),ne().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),P("onAfterUpdate",[_,t])}}function de(e){_.setProps({content:e})}function he(){var e=_.state.isVisible,t=_.state.isDestroyed,i=!_.state.isEnabled,n=Ni.isTouch&&!_.props.touch,s=pi(_.props.duration,0,Hi.duration);if(!(e||t||i||n||$().hasAttribute("disabled")||(P("onShow",[_],!1),!1===_.props.onShow(_)))){if(_.state.isVisible=!0,O()&&(x.style.visibility="visible"),R(),z(),_.state.isMounted||(x.style.transition="none"),O()){var r=I();$i([r.box,r.content],0)}a=function(){var e;if(_.state.isVisible&&!u){if(u=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,O()&&_.props.animation){var t=I(),i=t.box,n=t.content;$i([i,n],s),Ti([i,n],"visible")}N(),j(),yi(rn,_),null==(e=_.popperInstance)||e.forceUpdate(),P("onMount",[_]),_.props.animation&&O()&&H(s,function(){_.state.isShown=!0,P("onShown",[_])})}},ie()}}function pe(){var e=!_.state.isVisible,t=_.state.isDestroyed,i=!_.state.isEnabled,n=pi(_.props.duration,1,Hi.duration);if(!(e||t||i)&&(P("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,u=!1,d=!1,O()&&(x.style.visibility="hidden"),D(),q(),R(!0),O()){var s=I(),r=s.box,o=s.content;_.props.animation&&($i([r,o],n),Ti([r,o],"hidden"))}N(),j(),_.props.animation?O()&&U(n,_.unmount):_.unmount()}}function ue(e){T().addEventListener("mousemove",m),yi(sn,m),m(e)}function ge(){_.state.isVisible&&_.hide(),_.state.isMounted&&(te(),ne().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),rn=rn.filter(function(e){return e!==_}),_.state.isMounted=!1,P("onHidden",[_]))}function me(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),G(),delete e._tippy,_.state.isDestroyed=!0,P("onDestroy",[_]))}}function an(e,t){void 0===t&&(t={});var i=Hi.plugins.concat(t.plugins||[]);Bi();var n=Object.assign({},t,{plugins:i}),s=Oi(e).reduce(function(e,t){var i=t&&on(t,n);return i&&e.push(i),e},[]);return Ai(e)?s[0]:s}function ln(e){return e.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,t)=>0===+e?"":0===t?e.toLowerCase():e.toUpperCase()).replace("-","")}an.defaultProps=Hi,an.setDefaultProps=Wi,an.currentInput=Ni,Object.assign({},Me,{effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow)}}),an.setDefaultProps({render:tn});const cn='\n .tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n }\n\n .tippy-iOS {\n cursor: pointer!important;\n -webkit-tap-highlight-color: transparent\n }\n\n [data-tippy-root] {\n max-width: calc(100vw - 10px)\n }\n\n .tippy-box {\n position: relative;\n background-color: #333;\n color: #fff;\n border-radius: 4px;\n font-size: clamp(\n calc(var(--pb-popover-font-size, 1rem) * var(--pb-min-zoom, 0.5)), \n calc(var(--pb-popover-font-size, 1rem) * var(--pb-zoom-factor)), \n calc(var(--pb-popover-font-size, 1rem) * var(--pb-max-zoom, 3.0))\n );\n line-height: calc(var(--pb-popover-line-height, 1.5) * var(--pb-zoom-factor));\n\n text-align: left;\n font-style: normal;\n font-weight: normal;\n outline: 0;\n transition-property: transform, visibility, opacity;\n }\n\n .tippy-box[data-placement^=top]>.tippy-arrow {\n bottom: 0\n }\n\n .tippy-box[data-placement^=top]>.tippy-arrow:before {\n bottom: -7px;\n left: 0;\n border-width: 8px 8px 0;\n border-top-color: initial;\n transform-origin: center top\n }\n\n .tippy-box[data-placement^=bottom]>.tippy-arrow {\n top: 0\n }\n\n .tippy-box[data-placement^=bottom]>.tippy-arrow:before {\n top: -7px;\n left: 0;\n border-width: 0 8px 8px;\n border-bottom-color: initial;\n transform-origin: center bottom\n }\n\n .tippy-box[data-placement^=left]>.tippy-arrow {\n right: 0\n }\n\n .tippy-box[data-placement^=left]>.tippy-arrow:before {\n border-width: 8px 0 8px 8px;\n border-left-color: initial;\n right: -7px;\n transform-origin: center left\n }\n\n .tippy-box[data-placement^=right]>.tippy-arrow {\n left: 0\n }\n\n .tippy-box[data-placement^=right]>.tippy-arrow:before {\n left: -7px;\n border-width: 8px 8px 8px 0;\n border-right-color: initial;\n transform-origin: center right\n }\n\n .tippy-box[data-inertia][data-state=visible] {\n transition-timing-function: cubic-bezier(.54, 1.5, .38, 1.11)\n }\n\n .tippy-arrow {\n width: 16px;\n height: 16px;\n color: #333\n }\n\n .tippy-arrow:before {\n content: "";\n position: absolute;\n border-color: transparent;\n border-style: solid\n }\n\n .tippy-content {\n position: relative;\n padding: 5px 9px;\n z-index: 1;\n overflow: auto;\n max-height: var(--pb-popover-max-height, calc(100vh - 60px));\n min-height: var(--pb-popover-min-height, auto);\n max-width: var(--pb-popover-max-width, auto);\n min-width: var(--pb-popover-min-width, auto);\n color: var(--pb-popover-color);\n }\n',dn='\n .tippy-box[data-theme~=light-border] {\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid rgba(0, 8, 16, .15);\n color: #333;\n box-shadow: 0 4px 14px -2px rgba(0, 8, 16, .08)\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-backdrop {\n background-color: #fff\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-arrow:after, .tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after {\n content: "";\n position: absolute;\n z-index: -1\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-arrow:after {\n border-color: transparent;\n border-style: solid\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:before {\n border-top-color: #fff\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:after {\n border-top-color: rgba(0, 8, 16, .2);\n border-width: 7px 7px 0;\n top: 17px;\n left: 1px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow>svg {\n top: 16px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow:after {\n top: 17px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:before {\n border-bottom-color: #fff;\n bottom: 16px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:after {\n border-bottom-color: rgba(0, 8, 16, .2);\n border-width: 0 7px 7px;\n bottom: 17px;\n left: 1px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow>svg {\n bottom: 16px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow:after {\n bottom: 17px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:before {\n border-left-color: #fff\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:after {\n border-left-color: rgba(0, 8, 16, .2);\n border-width: 7px 0 7px 7px;\n left: 17px;\n top: 1px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow>svg {\n left: 11px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow:after {\n left: 12px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:before {\n border-right-color: #fff;\n right: 16px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:after {\n border-width: 7px 7px 7px 0;\n right: 17px;\n top: 1px;\n border-right-color: rgba(0, 8, 16, .2)\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow>svg {\n right: 11px\n }\n\n .tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow:after {\n right: 12px\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-svg-arrow {\n fill: #fff\n }\n\n .tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA2czEuNzk2LS4wMTMgNC42Ny0zLjYxNUM1Ljg1MS45IDYuOTMuMDA2IDggMGMxLjA3LS4wMDYgMi4xNDguODg3IDMuMzQzIDIuMzg1QzE0LjIzMyA2LjAwNSAxNiA2IDE2IDZIMHoiIGZpbGw9InJnYmEoMCwgOCwgMTYsIDAuMikiLz48L3N2Zz4=);\n background-size: 16px 6px;\n width: 16px;\n height: 6px\n }\n',hn="\n .tippy-box[data-theme~=light] {\n color: #26323d;\n box-shadow: 0 0 20px 4px rgba(154, 161, 177, .15), 0 4px 80px -8px rgba(36, 40, 47, .25), 0 4px 4px -2px rgba(91, 94, 105, .15);\n background-color: #fff\n }\n\n .tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before {\n border-top-color: #fff\n }\n\n .tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before {\n border-bottom-color: #fff\n }\n\n .tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before {\n border-left-color: #fff\n }\n\n .tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before {\n border-right-color: #fff\n }\n\n .tippy-box[data-theme~=light]>.tippy-backdrop {\n background-color: #fff\n }\n\n .tippy-box[data-theme~=light]>.tippy-svg-arrow {\n fill: #fff\n }",pn="\n .tippy-box[data-theme~=material] {\n background-color: #505355;\n font-weight: 600\n }\n\n .tippy-box[data-theme~=material][data-placement^=top]>.tippy-arrow:before {\n border-top-color: #505355\n }\n\n .tippy-box[data-theme~=material][data-placement^=bottom]>.tippy-arrow:before {\n border-bottom-color: #505355\n }\n\n .tippy-box[data-theme~=material][data-placement^=left]>.tippy-arrow:before {\n border-left-color: #505355\n }\n\n .tippy-box[data-theme~=material][data-placement^=right]>.tippy-arrow:before {\n border-right-color: #505355\n }\n\n .tippy-box[data-theme~=material]>.tippy-backdrop {\n background-color: #505355\n }\n\n .tippy-box[data-theme~=material]>.tippy-svg-arrow {\n fill: #505355\n }\n",un="\n .tippy-box[data-theme~=translucent] {\n background-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent]>.tippy-arrow {\n width: 14px;\n height: 14px\n }\n\n .tippy-box[data-theme~=translucent][data-placement^=top]>.tippy-arrow:before {\n border-width: 7px 7px 0;\n border-top-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent][data-placement^=bottom]>.tippy-arrow:before {\n border-width: 0 7px 7px;\n border-bottom-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent][data-placement^=left]>.tippy-arrow:before {\n border-width: 7px 0 7px 7px;\n border-left-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent][data-placement^=right]>.tippy-arrow:before {\n border-width: 7px 7px 7px 0;\n border-right-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent]>.tippy-backdrop {\n background-color: rgba(0, 0, 0, .7)\n }\n\n .tippy-box[data-theme~=translucent]>.tippy-svg-arrow {\n fill: rgba(0, 0, 0, .7)\n }\n";var gn=Object.freeze({__proto__:null,base:cn,camelize:ln,light:hn,lightBorder:dn,material:pn,translucent:un});function mn(e,t,i){if(!e.querySelector(`#pb-popover-${t}`)){const n=e.nodeType===Node.DOCUMENT_NODE?document.head:e;console.log("Loading tippy styles for theme %s into %o",t,n);const s=document.createElement("style");s.type="text/css",s.id=`pb-popover-${t}`,s.innerHTML=i,n.appendChild(s)}}function fn(e,t){if(mn(e,"base",cn),t&&"none"!==t){const i=ln(t),n=gn[i];n&&mn(e,i,n)}}class bn extends(o(s)){static get properties(){return Object.assign(Object.assign({},super.properties),{},{for:{type:String},theme:{type:String},placement:{type:String},fallbackPlacement:{type:String,attribute:"fallback-placement"},persistent:{type:Boolean},trigger:{type:String},touch:{type:String},popupClass:{type:String,attribute:"popup-class"},remote:{type:String},stopPropagation:{type:Boolean,attribute:"stop-propagation"}})}constructor(){super(),this.persistent=!1,this.trigger=null,this.for=null,this.theme=null,this.placement=null,this.touch=null,this.fallbackPlacement=null,this.popupClass=null,this.stopPropagation=!1,this._tippy=null,this._content=null}render(){return this.for?t`<div class="hidden"><slot></slot></div>`:t`<span id="link" part="trigger" class="${this.persistent?"persistent":""}"
|
|
134
134
|
><slot name="default"><slot></slot></slot></span
|
|
135
135
|
><span class="hidden"><slot name="alternate"></slot></span>`}disconnectedCallback(){super.disconnectedCallback(),this._tippy&&this._tippy.destroy(),this._observer&&this._observer.disconnect()}_checkCSSProperties(){if(this.theme||"none"===this.theme||(this.theme=e(this,"--pb-popover-theme","none")),this.placement||(this.placement=e(this,"--pb-popover-placement","auto")),this.fallbackPlacement||(this.fallbackPlacement=e(this,"--pb-popover-fallback-placement",null)),this.persistent||(this.persistent=e(this,"--pb-popover-persistent",!1)),this.trigger||(this.trigger=e(this,"--pb-popover-trigger",null)),!this.touch){const t=e(this,"--pb-popover-touch","hold");this.touch="true"===t||t}}_injectStyles(){this._checkCSSProperties(),fn(this.getRootNode(),this.theme)}_getContent(){if(this._content)return this._content;const e=this._getSlot();if(e){const t=document.createElement("div");return e.assignedNodes().forEach(e=>{t.appendChild(e.content?e.content.cloneNode(!0):e.cloneNode(!0))}),this._content=t,t}return null}_getSlot(){return this.for?this.shadowRoot.querySelector("slot"):this.shadowRoot.querySelector("[name=alternate]")}_registerMutationObserver(){const e=this._getSlot();this._observer=new MutationObserver(()=>{this.alternate=this._getContent(),console.log("alternate changed"),this.emitTo("pb-popover-changed",this.alternate)}),this._observer.observe(this,{subtree:!0,childList:!0,characterData:!0}),e&&e.assignedNodes().forEach(e=>{this._observer.observe(e.content?e.content:e,{subtree:!0,childList:!0,characterData:!0})})}get alternate(){return this._getContent()}set alternate(e){this._content=e,this._tippy&&this._tippy.setContent(this._content)}command(e,t){"disable"===e&&(this.disabled=t,this._tippy&&(t?this._tippy.disable():this._tippy.enable()))}firstUpdated(){super.firstUpdated(),this._injectStyles(),this._registerMutationObserver(),this.trigger||(this.trigger=this.persistent?"click":"mouseenter");const e=this.getRootNode();let t;if(this.for?(t=e.getElementById(this.for),t||console.error("<pb-popover> target element %s not found",this.for)):t=this.shadowRoot.getElementById("link"),t){const i={allowHTML:!0,appendTo:e.nodeType===Node.DOCUMENT_NODE?document.body:e,placement:this.placement,interactive:!0,ignoreAttributes:!0,boundary:"viewport",maxWidth:"none",touch:this.touch,hideOnClick:!1,trigger:this.trigger};if(this.stopPropagation&&(i.onTrigger=(e,t)=>{t.stopPropagation()}),this.persistent&&(i.onClickOutside=(e,t)=>{e.hideWithInteractivity(t)}),this.theme&&"none"!==this.theme&&(i.theme=this.theme),this.fallbackPlacement){const e=this.fallbackPlacement.split(" ");i.popperOptions={modifiers:[{name:"flip",options:{fallbackPlacements:e}}]}}this.popupClass&&(i.onCreate=e=>{e.popper.classList.add(this.popupClass)}),i.onShow=e=>{this.remote?this._loadRemoteContent():e.setContent(this._getContent()),this.emitTo("pb-popover-show",{source:this,popup:e})},this._tippy=an(t,i)}}_loadRemoteContent(){const e=this.toAbsoluteURL(this.remote);fetch(e,{method:"GET",mode:"cors",credentials:"same-origin"}).then(e=>e.text()).then(e=>{this.alternate=e}).catch(e=>{console.error("<pb-popover> Error retrieving remote content: %o",e)})}static get styles(){return[n`
|
|
136
136
|
:host {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teipublisher/pb-components",
|
|
3
|
-
"version": "3.0.0-next-4.
|
|
3
|
+
"version": "3.0.0-next-4.2",
|
|
4
4
|
"description": "Collection of webcomponents underlying TEI Publisher",
|
|
5
5
|
"repository": "https://github.com/eeditiones/tei-publisher-components.git",
|
|
6
6
|
"main": "index.html",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"litelement"
|
|
14
14
|
],
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": ">=
|
|
16
|
+
"node": ">=24"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"build": "npm run clean && rollup -c rollup.config.mjs",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
on:
|
|
2
|
-
push:
|
|
3
|
-
tags:
|
|
4
|
-
- 'v*'
|
|
5
|
-
workflow_dispatch:
|
|
6
|
-
name: Deploy to GitHub Pages
|
|
7
|
-
jobs:
|
|
8
|
-
build:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- uses: actions/checkout@v5
|
|
12
|
-
- name: Setup Node.js environment
|
|
13
|
-
uses: actions/setup-node@v5
|
|
14
|
-
with:
|
|
15
|
-
node-version: "22"
|
|
16
|
-
cache: npm
|
|
17
|
-
cache-dependency-path: package-lock.json
|
|
18
|
-
- run: npm ci
|
|
19
|
-
- run: npm run gh-pages
|
|
20
|
-
- name: Deploy to gh-pages
|
|
21
|
-
uses: peaceiris/actions-gh-pages@v4
|
|
22
|
-
with:
|
|
23
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
24
|
-
publish_dir: ./docs
|
|
25
|
-
keep_files: true
|
|
26
|
-
cname: cdn.tei-publisher.com
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
name: Release npm package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_run:
|
|
5
|
-
workflows: ["Build and Test"]
|
|
6
|
-
types:
|
|
7
|
-
- completed
|
|
8
|
-
branches:
|
|
9
|
-
- master
|
|
10
|
-
- next-4
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
release:
|
|
14
|
-
# Only release if Build and Test workflow succeeded
|
|
15
|
-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
16
|
-
name: Release
|
|
17
|
-
runs-on: ubuntu-latest
|
|
18
|
-
permissions:
|
|
19
|
-
contents: write # to be able to publish a GitHub release
|
|
20
|
-
issues: write # to be able to comment on released issues
|
|
21
|
-
pull-requests: write # to be able to comment on released pull requests
|
|
22
|
-
steps:
|
|
23
|
-
- uses: actions/checkout@v5
|
|
24
|
-
with:
|
|
25
|
-
fetch-depth: 0
|
|
26
|
-
- uses: actions/setup-node@v5
|
|
27
|
-
with:
|
|
28
|
-
node-version: "22"
|
|
29
|
-
cache: npm
|
|
30
|
-
cache-dependency-path: package-lock.json
|
|
31
|
-
- name: npm install
|
|
32
|
-
run: npm ci --omit=optional
|
|
33
|
-
- run: npx semantic-release
|
|
34
|
-
env:
|
|
35
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
36
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|