@eui/eds 21.3.4-snapshot-1783677674979
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/docs/classes/EdsChipModel.html +606 -0
- package/docs/classes/EuiChipTooltip.html +425 -0
- package/docs/components/EdsBadge.html +810 -0
- package/docs/components/EdsButton.html +793 -0
- package/docs/components/EdsChip.html +911 -0
- package/docs/components/EdsIcon.html +675 -0
- package/docs/components/EdsIconImage.html +604 -0
- package/docs/directives/EuiBaseColorVariantsDirective.html +1165 -0
- package/docs/directives/EuiBaseSizeVariantsDirective.html +1402 -0
- package/docs/fonts/ionicons.eot +0 -0
- package/docs/fonts/ionicons.svg +2090 -0
- package/docs/fonts/ionicons.ttf +0 -0
- package/docs/fonts/ionicons.woff +0 -0
- package/docs/fonts/ionicons.woff2 +0 -0
- package/docs/fonts/roboto-v15-latin-300.eot +0 -0
- package/docs/fonts/roboto-v15-latin-300.svg +314 -0
- package/docs/fonts/roboto-v15-latin-300.ttf +0 -0
- package/docs/fonts/roboto-v15-latin-300.woff +0 -0
- package/docs/fonts/roboto-v15-latin-300.woff2 +0 -0
- package/docs/fonts/roboto-v15-latin-700.eot +0 -0
- package/docs/fonts/roboto-v15-latin-700.svg +310 -0
- package/docs/fonts/roboto-v15-latin-700.ttf +0 -0
- package/docs/fonts/roboto-v15-latin-700.woff +0 -0
- package/docs/fonts/roboto-v15-latin-700.woff2 +0 -0
- package/docs/fonts/roboto-v15-latin-italic.eot +0 -0
- package/docs/fonts/roboto-v15-latin-italic.svg +323 -0
- package/docs/fonts/roboto-v15-latin-italic.ttf +0 -0
- package/docs/fonts/roboto-v15-latin-italic.woff +0 -0
- package/docs/fonts/roboto-v15-latin-italic.woff2 +0 -0
- package/docs/fonts/roboto-v15-latin-regular.eot +0 -0
- package/docs/fonts/roboto-v15-latin-regular.svg +308 -0
- package/docs/fonts/roboto-v15-latin-regular.ttf +0 -0
- package/docs/fonts/roboto-v15-latin-regular.woff +0 -0
- package/docs/fonts/roboto-v15-latin-regular.woff2 +0 -0
- package/docs/images/compodoc-vectorise-inverted.png +0 -0
- package/docs/images/compodoc-vectorise-inverted.svg +201 -0
- package/docs/images/compodoc-vectorise.png +0 -0
- package/docs/images/compodoc-vectorise.svg +201 -0
- package/docs/images/favicon.ico +0 -0
- package/docs/index.html +2264 -0
- package/docs/js/compodoc.js +14 -0
- package/docs/js/lazy-load-graphs.js +44 -0
- package/docs/js/libs/EventDispatcher.js +5 -0
- package/docs/js/libs/bootstrap-native.js +2 -0
- package/docs/js/libs/clipboard.min.js +7 -0
- package/docs/js/libs/custom-elements-es5-adapter.js +15 -0
- package/docs/js/libs/custom-elements.min.js +38 -0
- package/docs/js/libs/d3.v3.min.js +2 -0
- package/docs/js/libs/deep-iterator.js +2 -0
- package/docs/js/libs/es6-shim.min.js +12 -0
- package/docs/js/libs/htmlparser.js +23 -0
- package/docs/js/libs/innersvg.js +9 -0
- package/docs/js/libs/jszip.min.js +13 -0
- package/docs/js/libs/lit-html.js +1 -0
- package/docs/js/libs/prism.js +46 -0
- package/docs/js/libs/promise.min.js +6 -0
- package/docs/js/libs/svg-pan-zoom.min.js +3 -0
- package/docs/js/libs/tablesort.min.js +6 -0
- package/docs/js/libs/tablesort.number.min.js +6 -0
- package/docs/js/libs/vis-network.min.js +78 -0
- package/docs/js/libs/zepto.min.js +2 -0
- package/docs/js/menu-wc.js +119 -0
- package/docs/js/menu-wc_es5.js +40 -0
- package/docs/js/menu.js +269 -0
- package/docs/js/routes/routes_index.js +1 -0
- package/docs/js/routes.js +308 -0
- package/docs/js/search/lunr.min.js +6 -0
- package/docs/js/search/search-lunr.js +65 -0
- package/docs/js/search/search.js +273 -0
- package/docs/js/search/search_index.js +4 -0
- package/docs/js/sourceCode.js +58 -0
- package/docs/js/svg-pan-zoom.controls.js +53 -0
- package/docs/js/tabs.js +21 -0
- package/docs/js/tree.js +147 -0
- package/docs/json/EdsBadge.md +28 -0
- package/docs/json/EdsButton.md +31 -0
- package/docs/json/EdsChip.md +30 -0
- package/docs/json/EdsIcon.md +32 -0
- package/docs/json/EdsIconImage.md +13 -0
- package/docs/json/EuiBaseColorVariantsDirective.md +20 -0
- package/docs/json/EuiBaseSizeVariantsDirective.md +23 -0
- package/docs/json/HbsRenderService.md +6 -0
- package/docs/json/TemplateEditorService.md +6 -0
- package/docs/json/TemplatePlaygroundComponent.md +8 -0
- package/docs/json/ZipExportService.md +6 -0
- package/docs/json/documentation.json +5209 -0
- package/docs/miscellaneous/variables.html +415 -0
- package/docs/modules.html +201 -0
- package/docs/overview.html +236 -0
- package/docs/routes.html +204 -0
- package/docs/styles/bootstrap-card.css +219 -0
- package/docs/styles/bootstrap.min.css +6 -0
- package/docs/styles/compodoc.css +1124 -0
- package/docs/styles/dark.css +121 -0
- package/docs/styles/ionicons.min.css +11 -0
- package/docs/styles/laravel.css +113 -0
- package/docs/styles/material.css +131 -0
- package/docs/styles/original.css +51 -0
- package/docs/styles/postmark.css +238 -0
- package/docs/styles/prism.css +301 -0
- package/docs/styles/readthedocs.css +117 -0
- package/docs/styles/reset.css +129 -0
- package/docs/styles/stripe.css +106 -0
- package/docs/styles/style.css +7 -0
- package/docs/styles/tablesort.css +33 -0
- package/docs/styles/vagrant.css +130 -0
- package/docs/template-playground/default-templates.json +192 -0
- package/docs/template-playground/hbs-render.service.ts +212 -0
- package/docs/template-playground/main.ts +9 -0
- package/docs/template-playground/template-editor.service.ts +173 -0
- package/docs/template-playground/template-playground.component.ts +614 -0
- package/docs/template-playground/template-playground.module.ts +29 -0
- package/docs/template-playground/zip-export.service.ts +86 -0
- package/docs/template-playground-app/app.js +1389 -0
- package/docs/template-playground-app/index.html +462 -0
- package/fesm2022/eui-eds-eds-badge.mjs +175 -0
- package/fesm2022/eui-eds-eds-badge.mjs.map +1 -0
- package/fesm2022/eui-eds-eds-button.mjs +169 -0
- package/fesm2022/eui-eds-eds-button.mjs.map +1 -0
- package/fesm2022/eui-eds-eds-chip.mjs +196 -0
- package/fesm2022/eui-eds-eds-chip.mjs.map +1 -0
- package/fesm2022/eui-eds-eds-icon-image.mjs +65 -0
- package/fesm2022/eui-eds-eds-icon-image.mjs.map +1 -0
- package/fesm2022/eui-eds-eds-icon.mjs +136 -0
- package/fesm2022/eui-eds-eds-icon.mjs.map +1 -0
- package/fesm2022/eui-eds-shared.mjs +322 -0
- package/fesm2022/eui-eds-shared.mjs.map +1 -0
- package/fesm2022/eui-eds.mjs +6 -0
- package/fesm2022/eui-eds.mjs.map +1 -0
- package/package.json +72 -0
- package/types/eui-eds-eds-badge.d.ts +74 -0
- package/types/eui-eds-eds-badge.d.ts.map +1 -0
- package/types/eui-eds-eds-button.d.ts +75 -0
- package/types/eui-eds-eds-button.d.ts.map +1 -0
- package/types/eui-eds-eds-chip.d.ts +105 -0
- package/types/eui-eds-eds-chip.d.ts.map +1 -0
- package/types/eui-eds-eds-icon-image.d.ts +34 -0
- package/types/eui-eds-eds-icon-image.d.ts.map +1 -0
- package/types/eui-eds-eds-icon.d.ts +50 -0
- package/types/eui-eds-eds-icon.d.ts.map +1 -0
- package/types/eui-eds-shared.d.ts +86 -0
- package/types/eui-eds-shared.d.ts.map +1 -0
- package/types/eui-eds.d.ts +3 -0
- package/types/eui-eds.d.ts.map +1 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var compodoc = {
|
|
2
|
+
EVENTS: {
|
|
3
|
+
READY: 'compodoc.ready',
|
|
4
|
+
SEARCH_READY: 'compodoc.search.ready'
|
|
5
|
+
}
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
Object.assign( compodoc, EventDispatcher.prototype );
|
|
9
|
+
|
|
10
|
+
document.addEventListener('DOMContentLoaded', function() {
|
|
11
|
+
compodoc.dispatchEvent({
|
|
12
|
+
type: compodoc.EVENTS.READY
|
|
13
|
+
});
|
|
14
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
document.addEventListener('DOMContentLoaded', function() {
|
|
2
|
+
var lazyGraphs = [].slice.call(document.querySelectorAll('[lazy]'));
|
|
3
|
+
var active = false;
|
|
4
|
+
|
|
5
|
+
var lazyLoad = function() {
|
|
6
|
+
if (active === false) {
|
|
7
|
+
active = true;
|
|
8
|
+
|
|
9
|
+
setTimeout(function() {
|
|
10
|
+
lazyGraphs.forEach(function(lazyGraph) {
|
|
11
|
+
if (
|
|
12
|
+
lazyGraph.getBoundingClientRect().top <= window.innerHeight &&
|
|
13
|
+
lazyGraph.getBoundingClientRect().bottom >= 0 &&
|
|
14
|
+
getComputedStyle(lazyGraph).display !== 'none'
|
|
15
|
+
) {
|
|
16
|
+
lazyGraph.data = lazyGraph.getAttribute('lazy');
|
|
17
|
+
lazyGraph.removeAttribute('lazy');
|
|
18
|
+
|
|
19
|
+
lazyGraphs = lazyGraphs.filter(function(image) { return image !== lazyGraph});
|
|
20
|
+
|
|
21
|
+
if (lazyGraphs.length === 0) {
|
|
22
|
+
document.removeEventListener('scroll', lazyLoad);
|
|
23
|
+
window.removeEventListener('resize', lazyLoad);
|
|
24
|
+
window.removeEventListener('orientationchange', lazyLoad);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
active = false;
|
|
30
|
+
}, 200);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
// initial load
|
|
35
|
+
lazyLoad();
|
|
36
|
+
|
|
37
|
+
var container = document.querySelector('.container-fluid.modules');
|
|
38
|
+
if (container) {
|
|
39
|
+
container.addEventListener('scroll', lazyLoad);
|
|
40
|
+
window.addEventListener('resize', lazyLoad);
|
|
41
|
+
window.addEventListener('orientationchange', lazyLoad);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
});
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author mrdoob / http://mrdoob.com/
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
var EventDispatcher=function(){};Object.assign(EventDispatcher.prototype,{addEventListener:function(i,t){void 0===this._listeners&&(this._listeners={});var e=this._listeners;void 0===e[i]&&(e[i]=[]),-1===e[i].indexOf(t)&&e[i].push(t)},hasEventListener:function(i,t){if(void 0===this._listeners)return!1;var e=this._listeners;return void 0!==e[i]&&-1!==e[i].indexOf(t)},removeEventListener:function(i,t){if(void 0!==this._listeners){var e=this._listeners[i];if(void 0!==e){var s=e.indexOf(t);-1!==s&&e.splice(s,1)}}},dispatchEvent:function(i){if(void 0!==this._listeners){var t=this._listeners[i.type];if(void 0!==t){i.target=this;var e=[],s=0,n=t.length;for(s=0;s<n;s++)e[s]=t[s];for(s=0;s<n;s++)e[s].call(this,i)}}}});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var BSN=(function(N){"use strict";const Ms="aria-describedby",ue="aria-expanded",qt="aria-hidden",ge="aria-modal",Bs="aria-pressed",Le="aria-selected",Oe="focus",ke="focusin",Rs="focusout",pe="keydown",Wo="keyup",D="click",Fs="mousedown",jo="hover",me="mouseenter",Ne="mouseleave",Ws="pointerdown",zo="pointermove",Ko="pointerup",ve="touchstart",Vo="dragstart",Xo='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]',Me="ArrowDown",Be="ArrowUp",js="ArrowLeft",zs="ArrowRight",Re="Escape",qo="transitionDuration",Uo="transitionDelay",Fe="transitionend",Ks="transitionProperty",Vs=()=>{const e=/iPhone|iPad|iPod|Android/i;return navigator?.userAgentData?.brands.some(t=>e.test(t.brand))||e.test(navigator?.userAgent)||!1},Yo=()=>{const e=/(iPhone|iPod|iPad)/;return navigator?.userAgentData?.brands.some(t=>e.test(t.brand))||e.test(navigator?.userAgent)||!1},be=()=>{},Zo=(e,t,s,n)=>{e.addEventListener(t,s,!1)},Qo=(e,t,s,n)=>{e.removeEventListener(t,s,!1)},U=(e,t)=>e.getAttribute(t),Ut=(e,t)=>e.hasAttribute(t),I=(e,t,s)=>e.setAttribute(t,s),yt=(e,t)=>e.removeAttribute(t),d=(e,...t)=>{e.classList.add(...t)},v=(e,...t)=>{e.classList.remove(...t)},h=(e,t)=>e.classList.contains(t),Yt=e=>e!=null&&typeof e=="object"||!1,P=e=>Yt(e)&&typeof e.nodeType=="number"&&[1,2,3,4,5,6,7,8,9,10,11].some(t=>e.nodeType===t)||!1,j=e=>P(e)&&e.nodeType===1||!1,Rt=new Map,Ct={data:Rt,set:(e,t,s)=>{j(e)&&(Rt.has(t)||Rt.set(t,new Map),Rt.get(t).set(e,s))},getAllFor:e=>Rt.get(e)||null,get:(e,t)=>{if(!j(e)||!t)return null;const s=Ct.getAllFor(t);return e&&s&&s.get(e)||null},remove:(e,t)=>{const s=Ct.getAllFor(t);!s||!j(e)||(s.delete(e),s.size===0&&Rt.delete(t))}},R=(e,t)=>Ct.get(e,t),Xs=e=>e?.trim().replace(/(?:^\w|[A-Z]|\b\w)/g,(t,s)=>s===0?t.toLowerCase():t.toUpperCase()).replace(/\s+/g,""),Zt=e=>typeof e=="string"||!1,qs=e=>Yt(e)&&e.constructor.name==="Window"||!1,Us=e=>P(e)&&e.nodeType===9||!1,b=e=>Us(e)?e:P(e)?e.ownerDocument:qs(e)?e.document:globalThis.document,rt=(e,...t)=>Object.assign(e,...t),ut=e=>{if(!e)return;if(Zt(e))return b().createElement(e);const{tagName:t}=e,s=ut(t);if(!s)return;const n={...e};return delete n.tagName,rt(s,n)},w=(e,t)=>e.dispatchEvent(t),F=(e,t,s)=>{const n=getComputedStyle(e,s),o=t.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return n.getPropertyValue(o)},Go=e=>{const t=F(e,Ks),s=F(e,Uo),n=s.includes("ms")?1:1e3,o=t&&t!=="none"?parseFloat(s)*n:0;return Number.isNaN(o)?0:o},Qt=e=>{const t=F(e,Ks),s=F(e,qo),n=s.includes("ms")?1:1e3,o=t&&t!=="none"?parseFloat(s)*n:0;return Number.isNaN(o)?0:o},_=(e,t)=>{let s=0;const n=new Event(Fe),o=Qt(e),i=Go(e);if(o){const r=a=>{a.target===e&&(t.apply(e,[a]),e.removeEventListener(Fe,r),s=1)};e.addEventListener(Fe,r),setTimeout(()=>{s||w(e,n)},o+i+17)}else t.apply(e,[n])},at=(e,t)=>e.focus(t),Ys=e=>["true",!0].includes(e)?!0:["false",!1].includes(e)?!1:["null","",null,void 0].includes(e)?null:e!==""&&!Number.isNaN(+e)?+e:e,we=e=>Object.entries(e),Jo=(e,t,s,n)=>{if(!j(e))return t;const o={...s},i={...e.dataset},r={...t},a={},c="title";return we(i).forEach(([l,f])=>{const p=typeof l=="string"&&l.includes(n)?Xs(l.replace(n,"")):Xs(l);a[p]=Ys(f)}),we(o).forEach(([l,f])=>{o[l]=Ys(f)}),we(t).forEach(([l,f])=>{l in o?r[l]=o[l]:l in a?r[l]=a[l]:r[l]=l===c?U(e,c):f}),r},Zs=e=>Object.keys(e),E=(e,t)=>{const s=new CustomEvent(e,{cancelable:!0,bubbles:!0});return Yt(t)&&rt(s,t),s},Gt={passive:!0},_t=e=>e.offsetHeight,S=(e,t)=>{we(t).forEach(([s,n])=>{if(n&&Zt(s)&&s.includes("--"))e.style.setProperty(s,n);else{const o={};o[s]=n,rt(e.style,o)}})},We=e=>Yt(e)&&e.constructor.name==="Map"||!1,ti=e=>typeof e=="number"||!1,gt=new Map,u={set:(e,t,s,n)=>{j(e)&&(n&&n.length?(gt.has(e)||gt.set(e,new Map),gt.get(e).set(n,setTimeout(t,s))):gt.set(e,setTimeout(t,s)))},get:(e,t)=>{if(!j(e))return null;const s=gt.get(e);return t&&s&&We(s)?s.get(t)||null:ti(s)?s:null},clear:(e,t)=>{if(!j(e))return;const s=gt.get(e);t&&t.length&&We(s)?(clearTimeout(s.get(t)),s.delete(t),s.size===0&>.delete(e)):(clearTimeout(s),gt.delete(e))}},Jt=e=>e.toLowerCase(),Y=(e,t)=>(P(t)?t:b()).querySelectorAll(e),je=new Map;function Qs(e){const{shiftKey:t,code:s}=e,n=b(this),o=[...Y(Xo,this)].filter(a=>!Ut(a,"disabled")&&!U(a,qt));if(!o.length)return;const i=o[0],r=o[o.length-1];s==="Tab"&&(t&&n.activeElement===i?(r.focus(),e.preventDefault()):!t&&n.activeElement===r&&(i.focus(),e.preventDefault()))}const ze=e=>je.has(e)===!0,ei=e=>{ze(e)||(Zo(e,"keydown",Qs),je.set(e,!0))},si=e=>{ze(e)&&(Qo(e,"keydown",Qs),je.delete(e))},Ee=e=>{ze(e)?si(e):ei(e)},H=e=>j(e)&&"offsetWidth"in e||!1,St=(e,t)=>{const{width:s,height:n,top:o,right:i,bottom:r,left:a}=e.getBoundingClientRect();let c=1,l=1;if(t&&H(e)){const{offsetWidth:f,offsetHeight:p}=e;c=f>0?Math.round(s)/f:1,l=p>0?Math.round(n)/p:1}return{width:s/c,height:n/l,top:o/l,right:i/c,bottom:r/l,left:a/c,x:a/c,y:o/l}},At=e=>b(e).body,ct=e=>b(e).documentElement,ni=e=>{const t=qs(e),s=t?e.scrollX:e.scrollLeft,n=t?e.scrollY:e.scrollTop;return{x:s,y:n}},Gs=e=>P(e)&&e.constructor.name==="ShadowRoot"||!1,oi=e=>e.nodeName==="HTML"?e:j(e)&&e.assignedSlot||P(e)&&e.parentNode||Gs(e)&&e.host||ct(e),Js=e=>e?Us(e)?e.defaultView:P(e)?e?.ownerDocument?.defaultView:e:window,ii=e=>P(e)&&["TABLE","TD","TH"].includes(e.nodeName)||!1,tn=(e,t)=>e.matches(t),ri=e=>{if(!H(e))return!1;const{width:t,height:s}=St(e),{offsetWidth:n,offsetHeight:o}=e;return Math.round(t)!==n||Math.round(s)!==o},ai=(e,t,s)=>{const n=H(t),o=St(e,n&&ri(t)),i={x:0,y:0};if(n){const r=St(t,!0);i.x=r.x+t.clientLeft,i.y=r.y+t.clientTop}return{x:o.left+s.x-i.x,y:o.top+s.y-i.y,width:o.width,height:o.height}};let en=0,sn=0;const Ft=new Map,nn=(e,t)=>{let s=t?en:sn;if(t){const n=nn(e),o=Ft.get(n)||new Map;Ft.has(n)||Ft.set(n,o),We(o)&&!o.has(t)?(o.set(t,s),en+=1):s=o.get(t)}else{const n=e.id||e;Ft.has(n)?s=Ft.get(n):(Ft.set(n,s),sn+=1)}return s},ci=e=>Array.isArray(e)||!1,on=e=>{if(!P(e))return!1;const{top:t,bottom:s}=St(e),{clientHeight:n}=ct(e);return t<=n&&s>=0},rn=e=>typeof e=="function"||!1,li=e=>Yt(e)&&e.constructor.name==="NodeList"||!1,pt=e=>ct(e).dir==="rtl",M=(e,t)=>!e||!t?null:e.closest(t)||M(e.getRootNode().host,t)||null,A=(e,t)=>j(e)?e:(j(t)?t:b()).querySelector(e),Ke=(e,t)=>(P(t)?t:b()).getElementsByTagName(e),di=(e,t)=>b(t).getElementById(e),lt=(e,t)=>(t&&P(t)?t:b()).getElementsByClassName(e),Wt={},an=e=>{const{type:t,currentTarget:s}=e;Wt[t].forEach((n,o)=>{s===o&&n.forEach((i,r)=>{r.apply(o,[e]),typeof i=="object"&&i.once&&O(o,t,r,i)})})},L=(e,t,s,n)=>{Wt[t]||(Wt[t]=new Map);const o=Wt[t];o.has(e)||o.set(e,new Map);const i=o.get(e),{size:r}=i;i.set(s,n),r||e.addEventListener(t,an,n)},O=(e,t,s,n)=>{const o=Wt[t],i=o&&o.get(e),r=i&&i.get(s),a=r!==void 0?r:n;i&&i.has(s)&&i.delete(s),o&&(!i||!i.size)&&o.delete(e),(!o||!o.size)&&delete Wt[t],(!i||!i.size)&&e.removeEventListener(t,an,a)},k="fade",g="show",Te="data-bs-dismiss",$e="alert",cn="Alert",ot=e=>h(e,"disabled")||U(e,"disabled")==="true",hi="5.1.6";class J{constructor(t,s){let n;try{if(j(t))n=t;else if(Zt(t)){if(n=A(t),!n)throw Error(`"${t}" is not a valid selector.`)}else throw Error("your target is not an instance of HTMLElement.")}catch(i){throw Error(`${this.name} Error: ${i.message}`)}const o=Ct.get(n,this.name);o&&o._toggleEventListeners(),this.element=n,this.options=this.defaults&&Zs(this.defaults).length?Jo(n,this.defaults,s||{},"bs"):{},Ct.set(n,this.name,this)}get version(){return hi}get name(){return"BaseComponent"}get defaults(){return{}}_toggleEventListeners=()=>{};dispose(){Ct.remove(this.element,this.name),Zs(this).forEach(t=>{delete this[t]})}}const fi=`.${$e}`,ui=`[${Te}="${$e}"]`,gi=e=>R(e,cn),pi=e=>new Ve(e),ln=E(`close.bs.${$e}`),mi=E(`closed.bs.${$e}`),dn=e=>{const{element:t}=e;w(t,mi),e._toggleEventListeners(),e.dispose(),t.remove()};class Ve extends J{static selector=fi;static init=pi;static getInstance=gi;dismiss;constructor(t){super(t),this.dismiss=A(ui,this.element),this._toggleEventListeners(!0)}get name(){return cn}close=t=>{const{element:s,dismiss:n}=this;!s||!h(s,g)||t&&n&&ot(n)||(w(s,ln),!ln.defaultPrevented&&(v(s,g),h(s,k)?_(s,()=>dn(this)):dn(this)))};_toggleEventListeners=t=>{const s=t?L:O,{dismiss:n,close:o}=this;n&&s(n,D,o)};dispose(){this._toggleEventListeners(),super.dispose()}}const T="active",it="data-bs-toggle",vi="button",hn="Button",bi=`[${it}="${vi}"]`,wi=e=>R(e,hn),Ei=e=>new Xe(e);class Xe extends J{static selector=bi;static init=Ei;static getInstance=wi;constructor(t){super(t);const{element:s}=this;this.isActive=h(s,T),I(s,Bs,String(!!this.isActive)),this._toggleEventListeners(!0)}get name(){return hn}toggle=t=>{t&&t.preventDefault();const{element:s,isActive:n}=this;if(ot(s))return;(n?v:d)(s,T),I(s,Bs,n?"false":"true"),this.isActive=h(s,T)};_toggleEventListeners=t=>{(t?L:O)(this.element,D,this.toggle)};dispose(){this._toggleEventListeners(),super.dispose()}}const qe="data-bs-target",Pt="carousel",fn="Carousel",un="data-bs-parent",Ti="data-bs-container",z=e=>{const t=[qe,un,Ti,"href"],s=b(e);return t.map(n=>{const o=U(e,n);return o?n===un?M(e,o):A(o,s):null}).filter(n=>n)[0]},te=`[data-bs-ride="${Pt}"]`,tt=`${Pt}-item`,Ue="data-bs-slide-to",mt="data-bs-slide",vt="paused",$i=Vs()?ve:Ws;console.log({isMobile:Vs(),touchEvent:$i});const gn={pause:"hover",keyboard:!1,touch:!0,interval:5e3},dt=e=>R(e,fn),yi=e=>new ts(e);let ee=0,ye=0,Ye=0;const Ze=E(`slide.bs.${Pt}`),Qe=E(`slid.bs.${Pt}`),pn=e=>{const{index:t,direction:s,element:n,slides:o,options:i}=e;if(e.isAnimating){const r=Je(e),a=s==="left"?"next":"prev",c=s==="left"?"start":"end";d(o[t],T),v(o[t],`${tt}-${a}`),v(o[t],`${tt}-${c}`),v(o[r],T),v(o[r],`${tt}-${c}`),w(n,Qe),u.clear(n,mt),e.cycle&&!b(n).hidden&&i.interval&&!e.isPaused&&e.cycle()}};function Ci(){const e=dt(this);e&&!e.isPaused&&!u.get(this,vt)&&d(this,vt)}function _i(){const e=dt(this);e&&e.isPaused&&!u.get(this,vt)&&e.cycle()}function Si(e){e.preventDefault();const t=M(this,te)||z(this),s=t&&dt(t);if(ot(this)||!s||s.isAnimating)return;const n=+(U(this,Ue)||0);this&&!h(this,T)&&!Number.isNaN(n)&&s.to(n)}function Ai(e){e.preventDefault();const t=M(this,te)||z(this),s=t&&dt(t);if(ot(this)||!s||s.isAnimating)return;const n=U(this,mt);n==="next"?s.next():n==="prev"&&s.prev()}const Pi=({code:e,target:t})=>{const s=b(t),[n]=[...Y(te,s)].filter(c=>on(c)),o=dt(n);if(!o||o.isAnimating||/textarea|input|select/i.test(t.nodeName))return;const i=pt(n);e===(i?zs:js)?o.prev():e===(i?js:zs)&&o.next()};function mn(e){const{target:t}=e,s=dt(this);s&&s.isTouch&&!s.controls.includes(t)&&!s.controls.includes(t?.parentElement)&&(!s.indicator||!s.indicator.contains(t))&&e.preventDefault()}function Hi(e){const{target:t}=e,s=dt(this);if(!s||s.isAnimating||s.isTouch)return;const{controls:n,indicator:o}=s;![...n,o].every(i=>i&&(i===t||i.contains(t)))&&this.contains(t)&&(ee=e.pageX,s.isTouch=!0,vn(s,!0))}const xi=e=>{ye=e.pageX},Di=e=>{const{target:t}=e,s=b(t),n=[...Y(te,s)].map(a=>dt(a)).find(a=>a.isTouch);if(!n)return;const{element:o,index:i}=n,r=pt(o);Ye=e.pageX,n.isTouch=!1,vn(n),!s.getSelection()?.toString().length&&o.contains(t)&&Math.abs(ee-Ye)>120&&(ye<ee?n.to(i+(r?-1:1)):ye>ee&&n.to(i+(r?1:-1))),ee=0,ye=0,Ye=0},Ge=(e,t)=>{const{indicators:s}=e;[...s].forEach(n=>v(n,T)),e.indicators[t]&&d(s[t],T)},vn=(e,t)=>{const{element:s}=e,n=t?L:O;n(b(s),zo,xi,Gt),n(b(s),Ko,Di,Gt)},Je=e=>{const{slides:t,element:s}=e,n=A(`.${tt}.${T}`,s);return n?[...t].indexOf(n):-1};class ts extends J{static selector=te;static init=yi;static getInstance=dt;constructor(t,s){super(t,s);const{element:n}=this;this.direction=pt(n)?"right":"left",this.isTouch=!1,this.slides=lt(tt,n);const{slides:o}=this;if(o.length<2)return;const i=Je(this),r=[...o].find(l=>tn(l,`.${tt}-next`));this.index=i;const a=b(n);this.controls=[...Y(`[${mt}]`,n),...Y(`[${mt}][${qe}="#${n.id}"]`,a)].filter((l,f,p)=>f===p.indexOf(l)),this.indicator=A(`.${Pt}-indicators`,n),this.indicators=[...this.indicator?Y(`[${Ue}]`,this.indicator):[],...Y(`[${Ue}][${qe}="#${n.id}"]`,a)].filter((l,f,p)=>f===p.indexOf(l));const{options:c}=this;this.options.interval=c.interval===!0?gn.interval:c.interval,r?this.index=[...o].indexOf(r):i<0&&(this.index=0,d(o[0],T),this.indicators.length&&Ge(this,0)),this.indicators.length&&Ge(this,this.index),this._toggleEventListeners(!0),c.interval&&this.cycle()}get name(){return fn}get defaults(){return gn}get isPaused(){return h(this.element,vt)}get isAnimating(){return A(`.${tt}-next,.${tt}-prev`,this.element)!==null}cycle(){const{element:t,options:s,isPaused:n,index:o}=this;u.clear(t,Pt),n&&(u.clear(t,vt),v(t,vt)),u.set(t,()=>{this.element&&!this.isPaused&&!this.isTouch&&on(t)&&this.to(o+1)},s.interval,Pt)}pause(){const{element:t,options:s}=this;this.isPaused||!s.interval||(d(t,vt),u.set(t,()=>{},1,vt))}next(){this.isAnimating||this.to(this.index+1)}prev(){this.isAnimating||this.to(this.index-1)}to(t){const{element:s,slides:n,options:o}=this,i=Je(this),r=pt(s);let a=t;if(this.isAnimating||i===a||u.get(s,mt))return;i<a||i===0&&a===n.length-1?this.direction=r?"right":"left":(i>a||i===n.length-1&&a===0)&&(this.direction=r?"left":"right");const{direction:c}=this;a<0?a=n.length-1:a>=n.length&&(a=0);const l=c==="left"?"next":"prev",f=c==="left"?"start":"end",p={relatedTarget:n[a],from:i,to:a,direction:c};rt(Ze,p),rt(Qe,p),w(s,Ze),!Ze.defaultPrevented&&(this.index=a,Ge(this,a),Qt(n[a])&&h(s,"slide")?u.set(s,()=>{d(n[a],`${tt}-${l}`),_t(n[a]),d(n[a],`${tt}-${f}`),d(n[i],`${tt}-${f}`),_(n[a],()=>this.slides&&this.slides.length&&pn(this))},0,mt):(d(n[a],T),v(n[i],T),u.set(s,()=>{u.clear(s,mt),s&&o.interval&&!this.isPaused&&this.cycle(),w(s,Qe)},0,mt)))}_toggleEventListeners=t=>{const{element:s,options:n,slides:o,controls:i,indicators:r}=this,{touch:a,pause:c,interval:l,keyboard:f}=n,p=t?L:O;c&&l&&(p(s,me,Ci),p(s,Ne,_i)),a&&o.length>2&&(p(s,Ws,Hi,Gt),p(s,ve,mn,{passive:!1}),p(s,Vo,mn,{passive:!1})),i.length&&i.forEach(y=>{p(y,D,Ai)}),r.length&&r.forEach(y=>{p(y,D,Si)}),f&&p(b(s),pe,Pi)};dispose(){const{isAnimating:t}=this,s={...this,isAnimating:t};this._toggleEventListeners(),super.dispose(),s.isAnimating&&_(s.slides[s.index],()=>{pn(s)})}}const Ht="collapsing",K="collapse",bn="Collapse",Ii=`.${K}`,wn=`[${it}="${K}"]`,Li={parent:null},Ce=e=>R(e,bn),Oi=e=>new es(e),En=E(`show.bs.${K}`),ki=E(`shown.bs.${K}`),Tn=E(`hide.bs.${K}`),Ni=E(`hidden.bs.${K}`),Mi=e=>{const{element:t,parent:s,triggers:n}=e;w(t,En),En.defaultPrevented||(u.set(t,be,17),s&&u.set(s,be,17),d(t,Ht),v(t,K),S(t,{height:`${t.scrollHeight}px`}),_(t,()=>{u.clear(t),s&&u.clear(s),n.forEach(o=>I(o,ue,"true")),v(t,Ht),d(t,K),d(t,g),S(t,{height:""}),w(t,ki)}))},$n=e=>{const{element:t,parent:s,triggers:n}=e;w(t,Tn),Tn.defaultPrevented||(u.set(t,be,17),s&&u.set(s,be,17),S(t,{height:`${t.scrollHeight}px`}),v(t,K),v(t,g),d(t,Ht),_t(t),S(t,{height:"0px"}),_(t,()=>{u.clear(t),s&&u.clear(s),n.forEach(o=>I(o,ue,"false")),v(t,Ht),d(t,K),S(t,{height:""}),w(t,Ni)}))},Bi=e=>{const{target:t}=e,s=t&&M(t,wn),n=s&&z(s),o=n&&Ce(n);s&&ot(s)||o&&(o.toggle(),s?.tagName==="A"&&e.preventDefault())};class es extends J{static selector=Ii;static init=Oi;static getInstance=Ce;constructor(t,s){super(t,s);const{element:n,options:o}=this,i=b(n);this.triggers=[...Y(wn,i)].filter(r=>z(r)===n),this.parent=H(o.parent)?o.parent:Zt(o.parent)?z(n)||A(o.parent,i):null,this._toggleEventListeners(!0)}get name(){return bn}get defaults(){return Li}hide(){const{triggers:t,element:s}=this;u.get(s)||($n(this),t.length&&t.forEach(n=>d(n,`${K}d`)))}show(){const{element:t,parent:s,triggers:n}=this;let o,i;s&&(o=[...Y(`.${K}.${g}`,s)].find(r=>Ce(r)),i=o&&Ce(o)),(!s||!u.get(s))&&!u.get(t)&&(i&&o!==t&&($n(i),i.triggers.forEach(r=>{d(r,`${K}d`)})),Mi(this),n.length&&n.forEach(r=>v(r,`${K}d`)))}toggle(){h(this.element,g)?this.hide():this.show()}_toggleEventListeners=t=>{const s=t?L:O,{triggers:n}=this;n.length&&n.forEach(o=>{s(o,D,Bi)})};dispose(){this._toggleEventListeners(),super.dispose()}}var Ri="1.1.0";const Fi=["all","intersecting","update"],yn="PositionObserver Error";var ss=class{entries;static version=Ri;_t;_r;_cm;_w;_h;_rm;_th;_c;constructor(e,t){if(!rn(e))throw new Error(`${yn}: ${e} is not a function.`);this.entries=new Map,this._c=e,this._t=0;const s=j(t?.root)?t.root:document?.documentElement;this._r=s,this._rm=t?.rootMargin,this._th=t?.threshold;this._cm=Fi.indexOf(t?.callbackMode||"intersecting"),this._w=s.clientWidth,this._h=s.clientHeight}observe=e=>{if(!j(e))throw new Error(`${yn}: ${e} is not an instance of Element.`);this._r.contains(e)&&this._n(e).then(t=>{t.boundingClientRect&&!this.getEntry(e)&&this.entries.set(e,t);this._t||(this._t=requestAnimationFrame(this._rc))})};unobserve=e=>{this.entries.has(e)&&this.entries.delete(e)};_rc=()=>{if(!this.entries.size){this._t=0;return}const{clientWidth:e,clientHeight:t}=this._r,s=new Promise(n=>{const o=[];this.entries.forEach(({target:i,boundingClientRect:r,isIntersecting:a})=>{this._r.contains(i)&&this._n(i).then(c=>{if(!c.isIntersecting){if(this._cm===1)return;if(this._cm===2){a&&(this.entries.set(i,c),o.push(c));return}}const{left:l,top:f}=c.boundingClientRect;(r.top!==f||r.left!==l||this._w!==e||this._h!==t)&&(this.entries.set(i,c),o.push(c))})}),this._w=e,this._h=t,n(o)});this._t=requestAnimationFrame(async()=>{const n=await s;n.length&&this._c(n,this),this._rc()})};_n=e=>new Promise(t=>{new IntersectionObserver(([n],o)=>{o.disconnect(),t(n)},{threshold:this._th,rootMargin:this._rm}).observe(e)});getEntry=e=>this.entries.get(e);disconnect=()=>{cancelAnimationFrame(this._t),this.entries.clear(),this._t=0}};const xt=["dropdown","dropup","dropstart","dropend"],Cn="Dropdown",_n="dropdown-menu",Sn=e=>{const t=M(e,"A");return e.tagName==="A"&&Ut(e,"href")&&U(e,"href")?.slice(-1)==="#"||t&&Ut(t,"href")&&U(t,"href")?.slice(-1)==="#"},[et,ns,os,is]=xt,Wi=`[${it}="${et}"]`,se=e=>R(e,Cn),ji=e=>new ls(e),zi=`${_n}-end`,An=[et,ns],Pn=[os,is],Hn=["A","BUTTON"],Ki={offset:5,display:"dynamic"},rs=E(`show.bs.${et}`),xn=E(`shown.bs.${et}`),as=E(`hide.bs.${et}`),Dn=E(`hidden.bs.${et}`),In=E(`updated.bs.${et}`),Ln=e=>{const{element:t,menu:s,parentElement:n,options:o}=e,{offset:i}=o;if(F(s,"position")==="static")return;const r=pt(t),a=h(s,zi);["margin","top","bottom","left","right"].forEach(W=>{const Nt={};Nt[W]="",S(s,Nt)});let l=xt.find(W=>h(n,W))||et;const f={dropdown:[i,0,0],dropup:[0,0,i],dropstart:r?[-1,0,0,i]:[-1,i,0],dropend:r?[-1,i,0]:[-1,0,0,i]},p={dropdown:{top:"100%"},dropup:{top:"auto",bottom:"100%"},dropstart:r?{left:"100%",right:"auto"}:{left:"auto",right:"100%"},dropend:r?{left:"auto",right:"100%"}:{left:"100%",right:"auto"},menuStart:r?{right:"0",left:"auto"}:{right:"auto",left:"0"},menuEnd:r?{right:"auto",left:"0"}:{right:"0",left:"auto"}},{offsetWidth:y,offsetHeight:B}=s,{clientWidth:G,clientHeight:st}=ct(t),{left:m,top:q,width:Ot,height:kt}=St(t),C=m-y-i<0,Et=m+y+Ot+i>=G,ft=q+B+i>=st,nt=q+B+kt+i>=st,zt=q-B-i<0,$=(!r&&a||r&&!a)&&m+Ot-y<0,V=(r&&a||!r&&!a)&&m+y>=G;if(Pn.includes(l)&&C&&Et&&(l=et),l===os&&(r?Et:C)&&(l=is),l===is&&(r?C:Et)&&(l=os),l===ns&&zt&&!nt&&(l=et),l===et&&nt&&!zt&&(l=ns),Pn.includes(l)&&ft&&rt(p[l],{top:"auto",bottom:0}),An.includes(l)&&($||V)){let W={left:"auto",right:"auto"};!$&&V&&!r&&(W={left:"auto",right:0}),$&&!V&&r&&(W={left:0,right:"auto"}),W&&rt(p[l],W)}const Kt=f[l];S(s,{...p[l],margin:`${Kt.map(W=>W&&`${W}px`).join(" ")}`}),An.includes(l)&&a&&a&&S(s,p[!r&&$||r&&V?"menuStart":"menuEnd"]),w(n,In)},Vi=e=>Array.from(e.children).map(t=>{if(t&&Hn.includes(t.tagName))return t;const{firstElementChild:s}=t;return s&&Hn.includes(s.tagName)?s:null}).filter(t=>t),On=e=>{const{element:t,options:s,menu:n}=e,o=e.open?L:O,i=b(t);o(i,D,kn),o(i,Oe,kn),o(i,pe,qi),o(i,Wo,Ui),s.display==="dynamic"&&(e.open?e._observer.observe(n):e._observer.disconnect())},cs=e=>{const t=[...xt,"btn-group","input-group"].map(s=>lt(`${s} ${g}`,b(e))).find(s=>s.length);if(t&&t.length)return[...t[0].children].find(s=>xt.some(n=>n===U(s,it)))},kn=e=>{const{target:t,type:s}=e;if(!H(t))return;const n=cs(t),o=n&&se(n);if(!o)return;const{parentElement:i,menu:r}=o,a=i&&i.contains(t)&&(t.tagName==="form"||M(t,"form")!==null);[D,Fs].includes(s)&&Sn(t)&&e.preventDefault(),!a&&s!==Oe&&t!==n&&t!==r&&o.hide()};function Xi(e){const t=se(this);ot(this)||t&&(e.stopPropagation(),t.toggle(),Sn(this)&&e.preventDefault())}const qi=e=>{[Me,Be].includes(e.code)&&e.preventDefault()};function Ui(e){const{code:t}=e,s=cs(this);if(!s)return;const n=se(s),{activeElement:o}=b(s);if(!n||!o)return;const{menu:i,open:r}=n,a=Vi(i);if(a&&a.length&&[Me,Be].includes(t)){let c=a.indexOf(o);o===s?c=0:t===Be?c=c>1?c-1:0:t===Me&&(c=c<a.length-1?c+1:c),a[c]&&at(a[c])}Re===t&&r&&(n.toggle(),at(s))}class ls extends J{static selector=Wi;static init=ji;static getInstance=se;constructor(t,s){super(t,s);const{parentElement:n}=this.element,[o]=lt(_n,n);o&&(this.parentElement=n,this.menu=o,this._observer=new ss(()=>Ln(this)),this._toggleEventListeners(!0))}get name(){return Cn}get defaults(){return Ki}toggle(){this.open?this.hide():this.show()}show(){const{element:t,open:s,menu:n,parentElement:o}=this;if(s)return;const i=cs(t),r=i&&se(i);r&&r.hide(),[rs,xn,In].forEach(a=>{a.relatedTarget=t}),w(o,rs),!rs.defaultPrevented&&(d(n,g),d(o,g),I(t,ue,"true"),Ln(this),this.open=!s,at(t),On(this),w(o,xn))}hide(){const{element:t,open:s,menu:n,parentElement:o}=this;s&&([as,Dn].forEach(i=>{i.relatedTarget=t}),w(o,as),!as.defaultPrevented&&(v(n,g),v(o,g),I(t,ue,"false"),this.open=!s,On(this),w(o,Dn)))}_toggleEventListeners=t=>{(t?L:O)(this.element,D,Xi)};dispose(){this.open&&this.hide(),this._toggleEventListeners(),super.dispose()}}const X="modal",ds="Modal",hs="Offcanvas",Yi="fixed-top",Zi="fixed-bottom",Nn="sticky-top",Mn="position-sticky",Bn=e=>[...lt(Yi,e),...lt(Zi,e),...lt(Nn,e),...lt(Mn,e),...lt("is-fixed",e)],Qi=e=>{const t=At(e);S(t,{paddingRight:"",overflow:""});const s=Bn(t);s.length&&s.forEach(n=>{S(n,{paddingRight:"",marginRight:""})})},Rn=e=>{const{clientWidth:t}=ct(e),{innerWidth:s}=Js(e);return Math.abs(s-t)},Fn=(e,t)=>{const s=At(e),n=parseInt(F(s,"paddingRight"),10),i=F(s,"overflow")==="hidden"&&n?0:Rn(e),r=Bn(s);t&&(S(s,{overflow:"hidden",paddingRight:`${n+i}px`}),r.length&&r.forEach(a=>{const c=F(a,"paddingRight");if(a.style.paddingRight=`${parseInt(c,10)+i}px`,[Nn,Mn].some(l=>h(a,l))){const l=F(a,"marginRight");a.style.marginRight=`${parseInt(l,10)-i}px`}}))},Z="offcanvas",bt=ut({tagName:"div",className:"popup-container"}),Wn=(e,t)=>{const s=P(t)&&t.nodeName==="BODY",n=P(t)&&!s?t:bt,o=s?t:At(e);P(e)&&(n===bt&&o.append(bt),n.append(e))},jn=(e,t)=>{const s=P(t)&&t.nodeName==="BODY",n=P(t)&&!s?t:bt;P(e)&&(e.remove(),n===bt&&!bt.children.length&&bt.remove())},fs=(e,t)=>{const s=P(t)&&t.nodeName!=="BODY"?t:bt;return P(e)&&s.contains(e)},zn="backdrop",Kn=`${X}-${zn}`,Vn=`${Z}-${zn}`,Xn=`.${X}.${g}`,us=`.${Z}.${g}`,x=ut("div"),Dt=e=>A(`${Xn},${us}`,b(e)),gs=e=>{const t=e?Kn:Vn;[Kn,Vn].forEach(s=>{v(x,s)}),d(x,t)},qn=(e,t,s)=>{gs(s),Wn(x,At(e)),t&&d(x,k)},Un=()=>{h(x,g)||(d(x,g),_t(x))},_e=()=>{v(x,g)},Yn=e=>{Dt(e)||(v(x,k),jn(x,At(e)),Qi(e))},Zn=e=>H(e)&&F(e,"visibility")!=="hidden"&&e.offsetParent!==null,Gi=`.${X}`,Ji=`[${it}="${X}"]`,tr=`[${Te}="${X}"]`,Qn=`${X}-static`,er={backdrop:!0,keyboard:!0},ne=e=>R(e,ds),sr=e=>new ms(e),Se=E(`show.bs.${X}`),Gn=E(`shown.bs.${X}`),ps=E(`hide.bs.${X}`),Jn=E(`hidden.bs.${X}`),to=e=>{const{element:t}=e,s=Rn(t),{clientHeight:n,scrollHeight:o}=ct(t),{clientHeight:i,scrollHeight:r}=t,a=i!==r;if(!a&&s){const l={[pt(t)?"paddingLeft":"paddingRight"]:`${s}px`};S(t,l)}Fn(t,a||n!==o)},eo=(e,t)=>{const s=t?L:O,{element:n}=e;s(n,D,ir),s(b(n),pe,or),t?e._observer.observe(n):e._observer.disconnect()},so=e=>{const{triggers:t,element:s,relatedTarget:n}=e;Yn(s),S(s,{paddingRight:"",display:""}),eo(e);const o=Se.relatedTarget||t.find(Zn);o&&at(o),Jn.relatedTarget=n||void 0,w(s,Jn),Ee(s)},no=e=>{const{element:t,relatedTarget:s}=e;at(t),eo(e,!0),Gn.relatedTarget=s||void 0,w(t,Gn),Ee(t)},oo=e=>{const{element:t,hasFade:s}=e;S(t,{display:"block"}),to(e),Dt(t)||S(At(t),{overflow:"hidden"}),d(t,g),yt(t,qt),I(t,ge,"true"),s?_(t,()=>no(e)):no(e)},io=e=>{const{element:t,options:s,hasFade:n}=e;s.backdrop&&n&&h(x,g)&&!Dt(t)?(_e(),_(x,()=>so(e))):so(e)};function nr(e){const t=z(this),s=t&&ne(t);ot(this)||s&&(this.tagName==="A"&&e.preventDefault(),s.relatedTarget=this,s.toggle())}const or=({code:e,target:t})=>{const s=A(Xn,b(t)),n=s&&ne(s);if(!n)return;const{options:o}=n;o.keyboard&&e===Re&&h(s,g)&&(n.relatedTarget=null,n.hide())},ir=e=>{const{currentTarget:t}=e,s=t&&ne(t);if(!s||!t||u.get(t))return;const{options:n,isStatic:o,modalDialog:i}=s,{backdrop:r}=n,{target:a}=e,c=b(t)?.getSelection()?.toString().length,l=i.contains(a),f=a&&M(a,tr);o&&!l?u.set(t,()=>{d(t,Qn),_(i,()=>rr(s))},17):(f||!c&&!o&&!l&&r)&&(s.relatedTarget=f||null,s.hide(),e.preventDefault())},rr=e=>{const{element:t,modalDialog:s}=e,n=(Qt(s)||0)+17;v(t,Qn),u.set(t,()=>u.clear(t),n)};class ms extends J{static selector=Gi;static init=sr;static getInstance=ne;constructor(t,s){super(t,s);const{element:n}=this,o=A(`.${X}-dialog`,n);o&&(this.modalDialog=o,this.triggers=[...Y(Ji,b(n))].filter(i=>z(i)===n),this.isStatic=this.options.backdrop==="static",this.hasFade=h(n,k),this.relatedTarget=null,this._observer=new ResizeObserver(()=>this.update()),this._toggleEventListeners(!0))}get name(){return ds}get defaults(){return er}toggle(){h(this.element,g)?this.hide():this.show()}show(){const{element:t,options:s,hasFade:n,relatedTarget:o}=this,{backdrop:i}=s;let r=0;if(h(t,g)||(Se.relatedTarget=o||void 0,w(t,Se),Se.defaultPrevented))return;const a=Dt(t);if(a&&a!==t){const c=ne(a)||R(a,hs);c&&c.hide()}i?(fs(x)?gs(!0):qn(t,n,!0),r=Qt(x),Un(),setTimeout(()=>oo(this),r)):(oo(this),a&&h(x,g)&&_e())}hide(){const{element:t,hasFade:s,relatedTarget:n}=this;h(t,g)&&(ps.relatedTarget=n||void 0,w(t,ps),!ps.defaultPrevented&&(v(t,g),I(t,qt,"true"),yt(t,ge),s?_(t,()=>io(this)):io(this)))}update=()=>{h(this.element,g)&&to(this)};_toggleEventListeners=t=>{const s=t?L:O,{triggers:n}=this;n.length&&n.forEach(o=>{s(o,D,nr)})};dispose(){const t={...this},{modalDialog:s,hasFade:n}=t,o=()=>setTimeout(()=>super.dispose(),17);this.hide(),this._toggleEventListeners(),n?_(s,o):o()}}const ar=`.${Z}`,ro=`[${it}="${Z}"]`,cr=`[${Te}="${Z}"]`,Ae=`${Z}-toggling`,lr={backdrop:!0,keyboard:!0,scroll:!1},oe=e=>R(e,hs),dr=e=>new bs(e),Pe=E(`show.bs.${Z}`),ao=E(`shown.bs.${Z}`),vs=E(`hide.bs.${Z}`),co=E(`hidden.bs.${Z}`),hr=e=>{const{element:t}=e,{clientHeight:s,scrollHeight:n}=ct(t);Fn(t,s!==n)},lo=(e,t)=>{const s=t?L:O,n=b(e.element);s(n,pe,pr),s(n,D,gr)},ho=e=>{const{element:t,options:s}=e;s.scroll||(hr(e),S(At(t),{overflow:"hidden"})),d(t,Ae),d(t,g),S(t,{visibility:"visible"}),_(t,()=>mr(e))},fr=e=>{const{element:t,options:s}=e,n=Dt(t);t.blur(),!n&&s.backdrop&&h(x,g)&&_e(),_(t,()=>vr(e))};function ur(e){const t=z(this),s=t&&oe(t);ot(this)||s&&(s.relatedTarget=this,s.toggle(),this.tagName==="A"&&e.preventDefault())}const gr=e=>{const{target:t}=e,s=A(us,b(t));if(!s)return;const n=A(cr,s),o=oe(s);if(!o)return;const{options:i,triggers:r}=o,{backdrop:a}=i,c=M(t,ro),l=b(s).getSelection();x.contains(t)&&a==="static"||(!(l&&l.toString().length)&&(!s.contains(t)&&a&&(!c||r.includes(t))||n&&n.contains(t))&&(o.relatedTarget=n&&n.contains(t)?n:void 0,o.hide()),c&&c.tagName==="A"&&e.preventDefault())},pr=({code:e,target:t})=>{const s=A(us,b(t)),n=s&&oe(s);n&&n.options.keyboard&&e===Re&&(n.relatedTarget=void 0,n.hide())},mr=e=>{const{element:t}=e;v(t,Ae),yt(t,qt),I(t,ge,"true"),I(t,"role","dialog"),w(t,ao),lo(e,!0),at(t),Ee(t)},vr=e=>{const{element:t,triggers:s}=e;I(t,qt,"true"),yt(t,ge),yt(t,"role"),S(t,{visibility:""});const n=Pe.relatedTarget||s.find(Zn);n&&at(n),Yn(t),w(t,co),v(t,Ae),Ee(t),Dt(t)||lo(e)};class bs extends J{static selector=ar;static init=dr;static getInstance=oe;constructor(t,s){super(t,s);const{element:n}=this;this.triggers=[...Y(ro,b(n))].filter(o=>z(o)===n),this.relatedTarget=void 0,this._toggleEventListeners(!0)}get name(){return hs}get defaults(){return lr}toggle(){h(this.element,g)?this.hide():this.show()}show(){const{element:t,options:s,relatedTarget:n}=this;let o=0;if(h(t,g)||(Pe.relatedTarget=n||void 0,ao.relatedTarget=n||void 0,w(t,Pe),Pe.defaultPrevented))return;const i=Dt(t);if(i&&i!==t){const r=oe(i)||R(i,ds);r&&r.hide()}s.backdrop?(fs(x)?gs():qn(t,!0),o=Qt(x),Un(),setTimeout(()=>ho(this),o)):(ho(this),i&&h(x,g)&&_e())}hide(){const{element:t,relatedTarget:s}=this;h(t,g)&&(vs.relatedTarget=s||void 0,co.relatedTarget=s||void 0,w(t,vs),!vs.defaultPrevented&&(d(t,Ae),v(t,g),fr(this)))}_toggleEventListeners=t=>{const s=t?L:O;this.triggers.forEach(n=>{s(n,D,ur)})};dispose(){const{element:t}=this,s=h(t,g),n=()=>setTimeout(()=>super.dispose(),1);this.hide(),this._toggleEventListeners(),s?_(t,n):n()}}const It="popover",ws="Popover",ht="tooltip",fo=e=>{const t=e===ht,s=t?`${e}-inner`:`${e}-body`,n=t?"":`<h3 class="${e}-header"></h3>`,o=`<div class="${e}-arrow"></div>`,i=`<div class="${s}"></div>`;return`<div class="${e}" role="${ht}">${n+o+i}</div>`},uo={top:"top",bottom:"bottom",left:"start",right:"end"},Es=e=>{requestAnimationFrame(()=>{const t=/\b(top|bottom|start|end)+/,{element:s,tooltip:n,container:o,offsetParent:i,options:r,arrow:a}=e;if(!n)return;const c=pt(s),{x:l,y:f}=ni(i);S(n,{top:"",left:"",right:"",bottom:""});const{offsetWidth:p,offsetHeight:y}=n,{clientWidth:B,clientHeight:G,offsetWidth:st}=ct(s);let{placement:m}=r;const{clientWidth:q,offsetWidth:Ot}=o,C=F(o,"position")==="fixed",Et=Math.abs(C?q-Ot:B-st),ft=c&&C?Et:0,nt=B-(c?0:Et)-1,zt=e._observer.getEntry(s),{width:$,height:V,left:Kt,right:W,top:Nt}=zt?.boundingClientRect||St(s,!0),{x:xe,y:Vt}=ai(s,i,{x:l,y:f});S(a,{top:"",left:"",right:"",bottom:""});let Mt=0,ce="",Tt=0,Ls="",Xt="",De="",Os="";const Bt=a.offsetWidth||0,$t=a.offsetHeight||0,ks=Bt/2;let le=Nt-y-$t<0,de=Nt+y+V+$t>=G,he=Kt-p-Bt<ft,fe=Kt+p+$+Bt>=nt;const Ie=["left","right"],Ns=["top","bottom"];le=Ie.includes(m)?Nt+V/2-y/2-$t<0:le,de=Ie.includes(m)?Nt+y/2+V/2+$t>=G:de,he=Ns.includes(m)?Kt+$/2-p/2<ft:he,fe=Ns.includes(m)?Kt+p/2+$/2>=nt:fe,m=Ie.includes(m)&&he&&fe?"top":m,m=m==="top"&&le?"bottom":m,m=m==="bottom"&&de?"top":m,m=m==="left"&&he?"right":m,m=m==="right"&&fe?"left":m,n.className.includes(m)||(n.className=n.className.replace(t,uo[m])),Ie.includes(m)?(m==="left"?Tt=xe-p-Bt:Tt=xe+$+Bt,le&&de?(Mt=0,ce=0,Xt=Vt+V/2-$t/2):le?(Mt=Vt,ce="",Xt=V/2-Bt):de?(Mt=Vt-y+V,ce="",Xt=y-V/2-Bt):(Mt=Vt-y/2+V/2,Xt=y/2-$t/2)):Ns.includes(m)&&(m==="top"?Mt=Vt-y-$t:Mt=Vt+V+$t,he?(Tt=0,De=xe+$/2-ks):fe?(Tt="auto",Ls=0,Os=$/2+nt-W-ks):(Tt=xe-p/2+$/2,De=p/2-ks)),S(n,{top:`${Mt}px`,bottom:ce===""?"":`${ce}px`,left:Tt==="auto"?Tt:`${Tt}px`,right:Ls!==""?`${Ls}px`:""}),H(a)&&(Xt!==""&&(a.style.top=`${Xt}px`),De!==""?a.style.left=`${De}px`:Os!==""&&(a.style.right=`${Os}px`));const Qr=E(`updated.bs.${Jt(e.name)}`);w(s,Qr)})},Ts={template:fo(ht),title:"",customClass:"",trigger:"hover focus",placement:"top",sanitizeFn:void 0,animation:!0,delay:200,container:document.body,content:"",dismissible:!1,btnClose:""},go="data-original-title",Lt="Tooltip",wt=(e,t,s)=>{if(Zt(t)&&t.length){let n=t.trim();rn(s)&&(n=s(n));const i=new DOMParser().parseFromString(n,"text/html");e.append(...i.body.childNodes)}else H(t)?e.append(t):(li(t)||ci(t)&&t.every(P))&&e.append(...t)},br=e=>{const t=e.name===Lt,{id:s,element:n,options:o}=e,{title:i,placement:r,template:a,animation:c,customClass:l,sanitizeFn:f,dismissible:p,content:y,btnClose:B}=o,G=t?ht:It,st={...uo};let m=[],q=[];pt(n)&&(st.left="end",st.right="start");const Ot=`bs-${G}-${st[r]}`;let kt;if(H(a))kt=a;else{const $=ut("div");wt($,a,f),kt=$.firstChild}if(!H(kt))return;e.tooltip=kt.cloneNode(!0);const{tooltip:C}=e;I(C,"id",s),I(C,"role",ht);const Et=t?`${ht}-inner`:`${It}-body`,ft=t?null:A(`.${It}-header`,C),nt=A(`.${Et}`,C);e.arrow=A(`.${G}-arrow`,C);const{arrow:zt}=e;if(H(i))m=[i.cloneNode(!0)];else{const $=ut("div");wt($,i,f),m=[...$.childNodes]}if(H(y))q=[y.cloneNode(!0)];else{const $=ut("div");wt($,y,f),q=[...$.childNodes]}if(p)if(i)if(H(B))m=[...m,B.cloneNode(!0)];else{const $=ut("div");wt($,B,f),m=[...m,$.firstChild]}else if(ft&&ft.remove(),H(B))q=[...q,B.cloneNode(!0)];else{const $=ut("div");wt($,B,f),q=[...q,$.firstChild]}t?i&&nt&&wt(nt,i,f):(i&&ft&&wt(ft,m,f),y&&nt&&wt(nt,q,f),e.btn=A(".btn-close",C)||void 0),d(C,"position-absolute"),d(zt,"position-absolute"),h(C,G)||d(C,G),c&&!h(C,k)&&d(C,k),l&&!h(C,l)&&d(C,l),h(C,Ot)||d(C,Ot)},wr=e=>{const t=["HTML","BODY"],s=[];let{parentNode:n}=e;for(;n&&!t.includes(n.nodeName);)n=oi(n),Gs(n)||ii(n)||s.push(n);return s.find((o,i)=>(F(o,"position")!=="relative"||F(o,"position")==="relative"&&o.offsetHeight!==o.scrollHeight)&&s.slice(i+1).every(r=>F(r,"position")==="static")?o:null)||b(e).body},Er=`[${it}="${ht}"],[data-tip="${ht}"]`,po="title";let mo=e=>R(e,Lt);const Tr=e=>new He(e),$r=e=>{const{element:t,tooltip:s,container:n}=e;yt(t,Ms),jn(s,n)},ie=e=>{const{tooltip:t,container:s}=e;return t&&fs(t,s)},yr=(e,t)=>{const{element:s}=e;e._toggleEventListeners(),Ut(s,go)&&e.name===Lt&&To(e),t&&t()},vo=(e,t)=>{const s=t?L:O,{element:n}=e;s(b(n),ve,e.handleTouch,Gt)},bo=e=>{const{element:t}=e,s=E(`shown.bs.${Jt(e.name)}`);vo(e,!0),w(t,s),u.clear(t,"in")},wo=e=>{const{element:t}=e,s=E(`hidden.bs.${Jt(e.name)}`);vo(e),$r(e),w(t,s),u.clear(t,"out")},Eo=(e,t)=>{const s=t?L:O,{element:n,tooltip:o}=e,i=M(n,`.${X}`),r=M(n,`.${Z}`);t?[n,o].forEach(a=>e._observer.observe(a)):e._observer.disconnect(),i&&s(i,`hide.bs.${X}`,e.handleHide),r&&s(r,`hide.bs.${Z}`,e.handleHide)},To=(e,t)=>{const s=[go,po],{element:n}=e;I(n,s[t?0:1],t||U(n,s[0])||""),yt(n,s[t?1:0])};class He extends J{static selector=Er;static init=Tr;static getInstance=mo;static styleTip=Es;constructor(t,s){super(t,s);const{element:n}=this,o=this.name===Lt,i=o?ht:It,r=o?Lt:ws;mo=f=>R(f,r),this.enabled=!0,this.id=`${i}-${nn(n,i)}`;const{options:a}=this;if(!a.title&&o||!o&&!a.content)return;rt(Ts,{titleAttr:""}),Ut(n,po)&&o&&typeof a.title=="string"&&To(this,a.title);const c=wr(n),l=["sticky","fixed","relative"].some(f=>F(c,"position")===f)?c:Js(n);this.container=c,this.offsetParent=l,br(this),this.tooltip&&(this._observer=new ss(()=>this.update()),this._toggleEventListeners(!0))}get name(){return Lt}get defaults(){return Ts}handleFocus=()=>at(this.element);handleShow=()=>this.show();show(){const{options:t,tooltip:s,element:n,container:o,id:i}=this,{animation:r}=t,a=u.get(n,"out");u.clear(n,"out"),s&&!a&&!ie(this)&&u.set(n,()=>{const c=E(`show.bs.${Jt(this.name)}`);w(n,c),c.defaultPrevented||(Wn(s,o),I(n,Ms,`#${i}`),this.update(),Eo(this,!0),h(s,g)||d(s,g),r?_(s,()=>bo(this)):bo(this))},17,"in")}handleHide=()=>this.hide();hide(){const{options:t,tooltip:s,element:n}=this,{animation:o,delay:i}=t;u.clear(n,"in"),s&&ie(this)&&u.set(n,()=>{const r=E(`hide.bs.${Jt(this.name)}`);w(n,r),r.defaultPrevented||(this.update(),v(s,g),Eo(this),o?_(s,()=>wo(this)):wo(this))},i+17,"out")}update=()=>{Es(this)};toggle=()=>{const{tooltip:t}=this;t&&!ie(this)?this.show():this.hide()};enable(){const{enabled:t}=this;t||(this._toggleEventListeners(!0),this.enabled=!t)}disable(){const{tooltip:t,enabled:s}=this;s&&(t&&ie(this)&&this.hide(),this._toggleEventListeners(),this.enabled=!s)}toggleEnabled(){this.enabled?this.disable():this.enable()}handleTouch=({target:t})=>{const{tooltip:s,element:n}=this;s&&s.contains(t)||t===n||t&&n.contains(t)||this.hide()};_toggleEventListeners=t=>{const s=t?L:O,{element:n,options:o,btn:i}=this,{trigger:r}=o,c=!!(this.name!==Lt&&o.dismissible);r.includes("manual")||(this.enabled=!!t,r.split(" ").forEach(f=>{f===jo?(s(n,Fs,this.handleShow),s(n,me,this.handleShow),c||(s(n,Ne,this.handleHide),s(b(n),ve,this.handleTouch,Gt))):f===D?s(n,f,c?this.handleShow:this.toggle):f===Oe&&(s(n,ke,this.handleShow),c||s(n,Rs,this.handleHide),Yo()&&s(n,D,this.handleFocus)),c&&i&&s(i,D,this.handleHide)}))};dispose(){const{tooltip:t,options:s}=this,n={...this,name:this.name},o=()=>setTimeout(()=>yr(n,()=>super.dispose()),17);s.animation&&ie(n)?(this.options.delay=0,this.hide(),_(t,o)):o()}}const Cr=`[${it}="${It}"],[data-tip="${It}"]`,_r=rt({},Ts,{template:fo(It),content:"",dismissible:!1,btnClose:'<button class="btn-close position-absolute top-0 end-0 m-1" aria-label="Close"></button>'}),Sr=e=>R(e,ws),Ar=e=>new $s(e);class $s extends He{static selector=Cr;static init=Ar;static getInstance=Sr;static styleTip=Es;constructor(t,s){super(t,s)}get name(){return ws}get defaults(){return _r}show=()=>{super.show();const{options:t,btn:s}=this;t.dismissible&&s&&setTimeout(()=>at(s),17)}}const Pr="scrollspy",$o="ScrollSpy",Hr='[data-bs-spy="scroll"]',xr="[href]",Dr={offset:10,target:void 0},Ir=e=>R(e,$o),Lr=e=>new Cs(e),yo=E(`activate.bs.${Pr}`),Or=e=>{const{target:t,_itemsLength:s,_observables:n}=e,o=Ke("A",t),i=b(t);!o.length||s===n.size||(n.clear(),Array.from(o).forEach(r=>{const a=U(r,"href")?.slice(1),c=a?.length?i.getElementById(a):null;c&&!ot(r)&&e._observables.set(c,r)}),e._itemsLength=e._observables.size)},Co=e=>{Array.from(Ke("A",e)).forEach(t=>{h(t,T)&&v(t,T)})},_o=(e,t)=>{const{target:s,element:n}=e;Co(s),e._activeItem=t,d(t,T);let o=t;for(;o!==s;)if(o=o.parentElement,["nav","dropdown-menu","list-group"].some(i=>h(o,i))){const i=o.previousElementSibling;i&&!h(i,T)&&d(i,T)}yo.relatedTarget=t,w(n,yo)},ys=(e,t)=>{const{scrollTarget:s,element:n,options:o}=e;return(s!==n?St(t).top+s.scrollTop:t.offsetTop)-(o.offset||10)};class Cs extends J{static selector=Hr;static init=Lr;static getInstance=Ir;constructor(t,s){super(t,s);const{element:n,options:o}=this,i=A(o.target,b(n));i&&(this.target=i,this.scrollTarget=n.clientHeight<n.scrollHeight?n:ct(n),this._observables=new Map,this.refresh(),this._observer=new ss(()=>{requestAnimationFrame(()=>this.refresh())},{root:this.scrollTarget}),this._toggleEventListeners(!0))}get name(){return $o}get defaults(){return Dr}refresh=()=>{const{target:t,scrollTarget:s}=this;if(!t||t.offsetHeight===0)return;Or(this);const{_itemsLength:n,_observables:o,_activeItem:i}=this;if(!n)return;const r=o.entries().toArray(),{scrollTop:a,scrollHeight:c,clientHeight:l}=s;if(a>=c-l){const p=r[n-1]?.[1];i!==p&&_o(this,p);return}const f=r[0]?.[0]?ys(this,r[0][0]):null;if(f!==null&&a<f&&f>0){this._activeItem=null,Co(t);return}for(let p=0;p<n;p+=1){const[y,B]=r[p],G=ys(this,y),st=r[p+1]?.[0],m=st?ys(this,st):null;if(i!==B&&a>=G&&(m===null||a<m)){_o(this,B);break}}};_scrollTo=t=>{const s=M(t.target,xr),n=s&&U(s,"href")?.slice(1),o=n&&di(n,this.target);o&&(this.scrollTarget.scrollTo({top:o.offsetTop,behavior:"smooth"}),t.preventDefault())};_toggleEventListeners=t=>{const{target:s,_observables:n,_observer:o,_scrollTo:i}=this;(t?L:O)(s,D,i),t?n?.forEach((a,c)=>o.observe(c)):o.disconnect()};dispose(){this._toggleEventListeners(),super.dispose()}}const re="tab",So="Tab",_s=`[${it}="${re}"]`,Ao=e=>R(e,So),kr=e=>new Ps(e),Ss=E(`show.bs.${re}`),Po=E(`shown.bs.${re}`),As=E(`hide.bs.${re}`),Ho=E(`hidden.bs.${re}`),ae=new Map,xo=e=>{const{tabContent:t,nav:s}=e;t&&h(t,Ht)&&(t.style.height="",v(t,Ht)),s&&u.clear(s)},Do=e=>{const{element:t,tabContent:s,content:n,nav:o}=e,{tab:i}=H(o)&&ae.get(o)||{tab:null};if(s&&n&&h(n,k)){const{currentHeight:r,nextHeight:a}=ae.get(t)||{currentHeight:0,nextHeight:0};r!==a?setTimeout(()=>{s.style.height=`${a}px`,_t(s),_(s,()=>xo(e))},50):xo(e)}else o&&u.clear(o);Po.relatedTarget=i,w(t,Po)},Io=e=>{const{element:t,content:s,tabContent:n,nav:o}=e,{tab:i,content:r}=o&&ae.get(o)||{tab:null,content:null};let a=0;if(n&&s&&h(s,k)&&([r,s].forEach(c=>{c&&d(c,"overflow-hidden")}),a=r?r.scrollHeight:0),Ss.relatedTarget=i,Ho.relatedTarget=t,w(t,Ss),!Ss.defaultPrevented){if(s&&d(s,T),r&&v(r,T),n&&s&&h(s,k)){const c=s.scrollHeight;ae.set(t,{currentHeight:a,nextHeight:c,tab:null,content:null}),d(n,Ht),n.style.height=`${a}px`,_t(n),[r,s].forEach(l=>{l&&v(l,"overflow-hidden")})}s&&s&&h(s,k)?setTimeout(()=>{d(s,g),_(s,()=>{Do(e)})},1):(s&&d(s,g),Do(e)),i&&w(i,Ho)}},Lo=e=>{const{nav:t}=e;if(!H(t))return{tab:null,content:null};const s=lt(T,t);let n=null;s.length===1&&!xt.some(i=>h(s[0].parentElement,i))?[n]=s:s.length>1&&(n=s[s.length-1]);const o=H(n)?z(n):null;return{tab:n,content:o}},Oo=e=>{if(!H(e))return null;const t=M(e,`.${xt.join(",.")}`);return t?A(`.${xt[0]}-toggle`,t):null},Nr=e=>{const t=M(e.target,_s),s=t&&Ao(t);s&&(e.preventDefault(),s.show())};class Ps extends J{static selector=_s;static init=kr;static getInstance=Ao;constructor(t){super(t);const{element:s}=this,n=z(s);if(!n)return;const o=M(s,".nav"),i=M(n,".tab-content");this.nav=o,this.content=n,this.tabContent=i,this.dropdown=Oo(s);const{tab:r}=Lo(this);if(o&&!r){const a=A(_s,o),c=a&&z(a);c&&(d(a,T),d(c,g),d(c,T),I(s,Le,"true"))}this._toggleEventListeners(!0)}get name(){return So}show(){const{element:t,content:s,nav:n,dropdown:o}=this;if(n&&u.get(n)||h(t,T))return;const{tab:i,content:r}=Lo(this);if(n&&i&&ae.set(n,{tab:i,content:r,currentHeight:0,nextHeight:0}),As.relatedTarget=t,!H(i)||(w(i,As),As.defaultPrevented))return;d(t,T),I(t,Le,"true");const a=H(i)&&Oo(i);if(a&&h(a,T)&&v(a,T),n){const c=()=>{i&&(v(i,T),I(i,Le,"false")),o&&!h(o,T)&&d(o,T)};r&&(h(r,k)||s&&h(s,k))?u.set(n,c,1):c()}r&&(v(r,g),h(r,k)?_(r,()=>Io(this)):Io(this))}_toggleEventListeners=t=>{(t?L:O)(this.element,D,Nr)};dispose(){this._toggleEventListeners(),super.dispose()}}const Q="toast",ko="Toast",Mr=`.${Q}`,Br=`[${Te}="${Q}"]`,Rr=`[${it}="${Q}"]`,jt="showing",No="hide",Fr={animation:!0,autohide:!0,delay:5e3},Hs=e=>R(e,ko),Wr=e=>new xs(e),Mo=E(`show.bs.${Q}`),jr=E(`shown.bs.${Q}`),Bo=E(`hide.bs.${Q}`),zr=E(`hidden.bs.${Q}`),Ro=e=>{const{element:t,options:s}=e;v(t,jt),u.clear(t,jt),w(t,jr),s.autohide&&u.set(t,()=>e.hide(),s.delay,Q)},Fo=e=>{const{element:t}=e;v(t,jt),v(t,g),d(t,No),u.clear(t,Q),w(t,zr)},Kr=e=>{const{element:t,options:s}=e;d(t,jt),s.animation?(_t(t),_(t,()=>Fo(e))):Fo(e)},Vr=e=>{const{element:t,options:s}=e;u.set(t,()=>{v(t,No),_t(t),d(t,g),d(t,jt),s.animation?_(t,()=>Ro(e)):Ro(e)},17,jt)};function Xr(e){const t=z(this),s=t&&Hs(t);ot(this)||s&&(this.tagName==="A"&&e.preventDefault(),s.relatedTarget=this,s.show())}const qr=e=>{const t=e.target,s=Hs(t),{type:n,relatedTarget:o}=e;!s||t===o||t.contains(o)||([me,ke].includes(n)?u.clear(t,Q):u.set(t,()=>s.hide(),s.options.delay,Q))};class xs extends J{static selector=Mr;static init=Wr;static getInstance=Hs;constructor(t,s){super(t,s);const{element:n,options:o}=this;o.animation&&!h(n,k)?d(n,k):!o.animation&&h(n,k)&&v(n,k),this.dismiss=A(Br,n),this.triggers=[...Y(Rr,b(n))].filter(i=>z(i)===n),this._toggleEventListeners(!0)}get name(){return ko}get defaults(){return Fr}get isShown(){return h(this.element,g)}show=()=>{const{element:t,isShown:s}=this;!t||s||(w(t,Mo),Mo.defaultPrevented||Vr(this))};hide=()=>{const{element:t,isShown:s}=this;!t||!s||(w(t,Bo),Bo.defaultPrevented||Kr(this))};_toggleEventListeners=t=>{const s=t?L:O,{element:n,triggers:o,dismiss:i,options:r,hide:a}=this;i&&s(i,D,a),r.autohide&&[ke,Rs,me,Ne].forEach(c=>s(n,c,qr)),o.length&&o.forEach(c=>{s(c,D,Xr)})};dispose(){const{element:t,isShown:s}=this;this._toggleEventListeners(),u.clear(t,Q),s&&v(t,g),super.dispose()}}const Ds=new Map;[Ve,Xe,ts,es,ls,ms,bs,$s,Cs,Ps,xs,He].forEach(e=>Ds.set(e.prototype.name,e));const Ur=(e,t)=>{[...t].forEach(s=>e(s))},Yr=(e,t)=>{const s=Ct.getAllFor(e);s&&[...s].forEach(([n,o])=>{t.contains(n)&&o.dispose()})},Is=e=>{const t=e&&e.nodeName?e:document,s=[...Ke("*",t)];Ds.forEach(n=>{const{init:o,selector:i}=n;Ur(o,s.filter(r=>tn(r,i)))})},Zr=e=>{const t=e&&e.nodeName?e:document;Ds.forEach(s=>{Yr(s.prototype.name,t)})};return document.body?Is():L(document,"DOMContentLoaded",()=>Is(),{once:!0}),N.Alert=Ve,N.Button=Xe,N.Carousel=ts,N.Collapse=es,N.Dropdown=ls,N.Modal=ms,N.Offcanvas=bs,N.Popover=$s,N.ScrollSpy=Cs,N.Tab=Ps,N.Toast=xs,N.Tooltip=He,N.initCallback=Is,N.removeDataAPI=Zr,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),N})({});
|
|
2
|
+
//# sourceMappingURL=bootstrap-native.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* clipboard.js v2.0.0
|
|
3
|
+
* https://zenorocha.github.io/clipboard.js
|
|
4
|
+
*
|
|
5
|
+
* Licensed MIT © Zeno Rocha
|
|
6
|
+
*/
|
|
7
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=3)}([function(t,e,n){var o,r,i;!function(a,c){r=[t,n(7)],o=c,void 0!==(i="function"==typeof o?o.apply(e,r):o)&&(t.exports=i)}(0,function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(t){return t&&t.__esModule?t:{default:t}}(e),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function(){function t(e){n(this,t),this.resolveOptions(e),this.initSelection()}return i(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":r(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=a})},function(t,e,n){function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!c.string(e))throw new TypeError("Second argument must be a String");if(!c.fn(n))throw new TypeError("Third argument must be a Function");if(c.node(t))return r(t,e,n);if(c.nodeList(t))return i(t,e,n);if(c.string(t))return a(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function r(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function i(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}function a(t,e,n){return u(document.body,t,e,n)}var c=n(6),u=n(5);t.exports=o},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function o(){r.off(t,o),e.apply(n,arguments)}var r=this;return o._=e,this.on(t,o,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;for(o;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,a=o.length;i<a;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=n},function(t,e,n){var o,r,i;!function(a,c){r=[t,n(0),n(2),n(1)],o=c,void 0!==(i="function"==typeof o?o.apply(e,r):o)&&(t.exports=i)}(0,function(t,e,n,o){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var l=r(e),s=r(n),f=r(o),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),p=function(t){function e(t,n){i(this,e);var o=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.resolveOptions(n),o.listenClick(t),o}return c(e,t),h(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===d(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,f.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return u("action",t)}},{key:"defaultTarget",value:function(t){var e=u("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return u("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}(s.default);t.exports=p})},function(t,e){function n(t,e){for(;t&&t.nodeType!==o;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}var o=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=n},function(t,e,n){function o(t,e,n,o,r){var a=i.apply(this,arguments);return t.addEventListener(n,a,r),{destroy:function(){t.removeEventListener(n,a,r)}}}function r(t,e,n,r,i){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return o(t,e,n,r,i)}))}function i(t,e,n,o){return function(n){n.delegateTarget=a(n.target,e),n.delegateTarget&&o.call(t,n)}}var a=n(4);t.exports=r},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}t.exports=n}])});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
@license @nocompile
|
|
3
|
+
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
4
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
5
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
6
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7
|
+
Code distributed by Google as part of the polymer project is also
|
|
8
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9
|
+
*/
|
|
10
|
+
(function () {
|
|
11
|
+
'use strict';
|
|
12
|
+
|
|
13
|
+
(function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.hasOwnProperty('polyfillWrapFlushCallback'))return;const a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)},HTMLElement.prototype=a.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,a);})();
|
|
14
|
+
|
|
15
|
+
}());
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
(function(){
|
|
2
|
+
'use strict';var h=new function(){};var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function m(b){var a=aa.has(b);b=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(b);return!a&&b}function n(b){var a=b.isConnected;if(void 0!==a)return a;for(;b&&!(b.__CE_isImportDocument||b instanceof Document);)b=b.parentNode||(window.ShadowRoot&&b instanceof ShadowRoot?b.host:void 0);return!(!b||!(b.__CE_isImportDocument||b instanceof Document))}
|
|
3
|
+
function p(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null}
|
|
4
|
+
function t(b,a,c){c=c?c:new Set;for(var d=b;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;a(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)t(d,a,c);d=p(b,e);continue}else if("template"===f){d=p(b,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)t(e,a,c)}d=d.firstChild?d.firstChild:p(b,d)}}function u(b,a,c){b[a]=c};function v(){this.a=new Map;this.s=new Map;this.f=[];this.b=!1}function ba(b,a,c){b.a.set(a,c);b.s.set(c.constructor,c)}function w(b,a){b.b=!0;b.f.push(a)}function x(b,a){b.b&&t(a,function(a){return y(b,a)})}function y(b,a){if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var c=0;c<b.f.length;c++)b.f[c](a)}}function z(b,a){var c=[];t(a,function(b){return c.push(b)});for(a=0;a<c.length;a++){var d=c[a];1===d.__CE_state?b.connectedCallback(d):A(b,d)}}
|
|
5
|
+
function B(b,a){var c=[];t(a,function(b){return c.push(b)});for(a=0;a<c.length;a++){var d=c[a];1===d.__CE_state&&b.disconnectedCallback(d)}}
|
|
6
|
+
function C(b,a,c){c=c?c:{};var d=c.w||new Set,e=c.i||function(a){return A(b,a)},f=[];t(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var c=a.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0);c&&"complete"===c.readyState?c.__CE_documentLoadHandled=!0:a.addEventListener("load",function(){var c=a.import;if(!c.__CE_documentLoadHandled){c.__CE_documentLoadHandled=!0;var f=new Set(d);f.delete(c);C(b,c,{w:f,i:e})}})}else f.push(a)},d);if(b.b)for(a=0;a<
|
|
7
|
+
f.length;a++)y(b,f[a]);for(a=0;a<f.length;a++)e(f[a])}
|
|
8
|
+
function A(b,a){if(void 0===a.__CE_state){var c=a.ownerDocument;if(c.defaultView||c.__CE_isImportDocument&&c.__CE_hasRegistry)if(c=b.a.get(a.localName)){c.constructionStack.push(a);var d=c.constructor;try{try{if(new d!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{c.constructionStack.pop()}}catch(r){throw a.__CE_state=2,r;}a.__CE_state=1;a.__CE_definition=c;if(c.attributeChangedCallback)for(c=c.observedAttributes,d=0;d<c.length;d++){var e=c[d],
|
|
9
|
+
f=a.getAttribute(e);null!==f&&b.attributeChangedCallback(a,e,null,f,null)}n(a)&&b.connectedCallback(a)}}}v.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};v.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)};
|
|
10
|
+
v.prototype.attributeChangedCallback=function(b,a,c,d,e){var f=b.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(a)&&f.attributeChangedCallback.call(b,a,c,d,e)};function D(b,a){this.c=b;this.a=a;this.b=void 0;C(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function E(b){b.b&&b.b.disconnect()}D.prototype.f=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||E(this);for(a=0;a<b.length;a++)for(var c=b[a].addedNodes,d=0;d<c.length;d++)C(this.c,c[d])};function ca(){var b=this;this.b=this.a=void 0;this.f=new Promise(function(a){b.b=a;b.a&&a(b.a)})}function F(b){if(b.a)throw Error("Already resolved.");b.a=void 0;b.b&&b.b(void 0)};function G(b){this.j=!1;this.c=b;this.o=new Map;this.l=function(b){return b()};this.g=!1;this.m=[];this.u=new D(b,document)}
|
|
11
|
+
G.prototype.define=function(b,a){var c=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!m(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(this.c.a.get(b))throw Error("A custom element with name '"+b+"' has already been defined.");if(this.j)throw Error("A custom element is already being defined.");this.j=!0;var d,e,f,r,k;try{var g=function(b){var a=l[b];if(void 0!==a&&!(a instanceof Function))throw Error("The '"+b+"' callback must be a function.");
|
|
12
|
+
return a},l=a.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=g("connectedCallback");e=g("disconnectedCallback");f=g("adoptedCallback");r=g("attributeChangedCallback");k=a.observedAttributes||[]}catch(q){return}finally{this.j=!1}a={localName:b,constructor:a,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:r,observedAttributes:k,constructionStack:[]};ba(this.c,b,a);this.m.push(a);this.g||
|
|
13
|
+
(this.g=!0,this.l(function(){return da(c)}))};G.prototype.i=function(b){C(this.c,b)};function da(b){if(!1!==b.g){b.g=!1;for(var a=b.m,c=[],d=new Map,e=0;e<a.length;e++)d.set(a[e].localName,[]);C(b.c,document,{i:function(a){if(void 0===a.__CE_state){var e=a.localName,f=d.get(e);f?f.push(a):b.c.a.get(e)&&c.push(a)}}});for(e=0;e<c.length;e++)A(b.c,c[e]);for(;0<a.length;){for(var f=a.shift(),e=f.localName,f=d.get(f.localName),r=0;r<f.length;r++)A(b.c,f[r]);(e=b.o.get(e))&&F(e)}}}
|
|
14
|
+
G.prototype.get=function(b){if(b=this.c.a.get(b))return b.constructor};G.prototype.whenDefined=function(b){if(!m(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.o.get(b);if(a)return a.f;a=new ca;this.o.set(b,a);this.c.a.get(b)&&!this.m.some(function(a){return a.localName===b})&&F(a);return a.f};G.prototype.v=function(b){E(this.u);var a=this.l;this.l=function(c){return b(function(){return a(c)})}};window.CustomElementRegistry=G;
|
|
15
|
+
G.prototype.define=G.prototype.define;G.prototype.upgrade=G.prototype.i;G.prototype.get=G.prototype.get;G.prototype.whenDefined=G.prototype.whenDefined;G.prototype.polyfillWrapFlushCallback=G.prototype.v;var H=window.Document.prototype.createElement,I=window.Document.prototype.createElementNS,ea=window.Document.prototype.importNode,fa=window.Document.prototype.prepend,ga=window.Document.prototype.append,ha=window.DocumentFragment.prototype.prepend,ia=window.DocumentFragment.prototype.append,J=window.Node.prototype.cloneNode,K=window.Node.prototype.appendChild,L=window.Node.prototype.insertBefore,M=window.Node.prototype.removeChild,N=window.Node.prototype.replaceChild,O=Object.getOwnPropertyDescriptor(window.Node.prototype,
|
|
16
|
+
"textContent"),P=window.Element.prototype.attachShadow,Q=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),R=window.Element.prototype.getAttribute,S=window.Element.prototype.setAttribute,T=window.Element.prototype.removeAttribute,U=window.Element.prototype.getAttributeNS,ja=window.Element.prototype.setAttributeNS,ka=window.Element.prototype.removeAttributeNS,la=window.Element.prototype.insertAdjacentElement,ma=window.Element.prototype.insertAdjacentHTML,na=window.Element.prototype.prepend,
|
|
17
|
+
oa=window.Element.prototype.append,V=window.Element.prototype.before,pa=window.Element.prototype.after,qa=window.Element.prototype.replaceWith,ra=window.Element.prototype.remove,sa=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ta=window.HTMLElement.prototype.insertAdjacentElement,ua=window.HTMLElement.prototype.insertAdjacentHTML;function va(){var b=X;window.HTMLElement=function(){function a(){var a=this.constructor,d=b.s.get(a);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");var e=d.constructionStack;if(!e.length)return e=H.call(document,d.localName),Object.setPrototypeOf(e,a.prototype),e.__CE_state=1,e.__CE_definition=d,y(b,e),e;var d=e.length-1,f=e[d];if(f===h)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
|
|
18
|
+
e[d]=h;Object.setPrototypeOf(f,a.prototype);y(b,f);return f}a.prototype=sa.prototype;return a}()};function Y(b,a,c){function d(a){return function(c){for(var e=[],d=0;d<arguments.length;++d)e[d-0]=arguments[d];for(var d=[],f=[],l=0;l<e.length;l++){var q=e[l];q instanceof Element&&n(q)&&f.push(q);if(q instanceof DocumentFragment)for(q=q.firstChild;q;q=q.nextSibling)d.push(q);else d.push(q)}a.apply(this,e);for(e=0;e<f.length;e++)B(b,f[e]);if(n(this))for(e=0;e<d.length;e++)f=d[e],f instanceof Element&&z(b,f)}}c.h&&(a.prepend=d(c.h));c.append&&(a.append=d(c.append))};function wa(){var b=X;u(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var c=b.a.get(a);if(c)return new c.constructor}a=H.call(this,a);y(b,a);return a});u(Document.prototype,"importNode",function(a,c){a=ea.call(this,a,c);this.__CE_hasRegistry?C(b,a):x(b,a);return a});u(Document.prototype,"createElementNS",function(a,c){if(this.__CE_hasRegistry&&(null===a||"http://www.w3.org/1999/xhtml"===a)){var d=b.a.get(c);if(d)return new d.constructor}a=I.call(this,a,c);y(b,a);return a});
|
|
19
|
+
Y(b,Document.prototype,{h:fa,append:ga})};function xa(){var b=X;function a(a,d){Object.defineProperty(a,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,a);else{var e=void 0;if(this.firstChild){var c=this.childNodes,k=c.length;if(0<k&&n(this))for(var e=Array(k),g=0;g<k;g++)e[g]=c[g]}d.set.call(this,a);if(e)for(a=0;a<e.length;a++)B(b,e[a])}}})}u(Node.prototype,"insertBefore",function(a,d){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);
|
|
20
|
+
a=L.call(this,a,d);if(n(this))for(d=0;d<e.length;d++)z(b,e[d]);return a}e=n(a);d=L.call(this,a,d);e&&B(b,a);n(this)&&z(b,a);return d});u(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=K.call(this,a);if(n(this))for(var e=0;e<c.length;e++)z(b,c[e]);return a}c=n(a);e=K.call(this,a);c&&B(b,a);n(this)&&z(b,a);return e});u(Node.prototype,"cloneNode",function(a){a=J.call(this,a);this.ownerDocument.__CE_hasRegistry?C(b,a):x(b,a);
|
|
21
|
+
return a});u(Node.prototype,"removeChild",function(a){var c=n(a),e=M.call(this,a);c&&B(b,a);return e});u(Node.prototype,"replaceChild",function(a,d){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);a=N.call(this,a,d);if(n(this))for(B(b,d),d=0;d<e.length;d++)z(b,e[d]);return a}var e=n(a),f=N.call(this,a,d),c=n(this);c&&B(b,d);e&&B(b,a);c&&z(b,a);return f});O&&O.get?a(Node.prototype,O):w(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=
|
|
22
|
+
0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)M.call(this,this.firstChild);K.call(this,document.createTextNode(a))}})})};function ya(b){var a=Element.prototype;function c(a){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];for(var d=[],k=[],g=0;g<c.length;g++){var l=c[g];l instanceof Element&&n(l)&&k.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)d.push(l);else d.push(l)}a.apply(this,c);for(c=0;c<k.length;c++)B(b,k[c]);if(n(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&z(b,k)}}V&&(a.before=c(V));V&&(a.after=c(pa));qa&&u(a,"replaceWith",function(a){for(var e=
|
|
23
|
+
[],c=0;c<arguments.length;++c)e[c-0]=arguments[c];for(var c=[],d=[],k=0;k<e.length;k++){var g=e[k];g instanceof Element&&n(g)&&d.push(g);if(g instanceof DocumentFragment)for(g=g.firstChild;g;g=g.nextSibling)c.push(g);else c.push(g)}k=n(this);qa.apply(this,e);for(e=0;e<d.length;e++)B(b,d[e]);if(k)for(B(b,this),e=0;e<c.length;e++)d=c[e],d instanceof Element&&z(b,d)});ra&&u(a,"remove",function(){var a=n(this);ra.call(this);a&&B(b,this)})};function za(){var b=X;function a(a,c){Object.defineProperty(a,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){var e=this,d=void 0;n(this)&&(d=[],t(this,function(a){a!==e&&d.push(a)}));c.set.call(this,a);if(d)for(var f=0;f<d.length;f++){var r=d[f];1===r.__CE_state&&b.disconnectedCallback(r)}this.ownerDocument.__CE_hasRegistry?C(b,this):x(b,this);return a}})}function c(a,c){u(a,"insertAdjacentElement",function(a,e){var d=n(e);a=c.call(this,a,e);d&&B(b,e);n(a)&&z(b,e);
|
|
24
|
+
return a})}function d(a,c){function e(a,e){for(var c=[];a!==e;a=a.nextSibling)c.push(a);for(e=0;e<c.length;e++)C(b,c[e])}u(a,"insertAdjacentHTML",function(a,b){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;c.call(this,a,b);e(d||this.parentNode.firstChild,this)}else if("afterbegin"===a)d=this.firstChild,c.call(this,a,b),e(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,c.call(this,a,b),e(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,c.call(this,
|
|
25
|
+
a,b),e(this.nextSibling,d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");})}P&&u(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=P.call(this,a)});Q&&Q.get?a(Element.prototype,Q):W&&W.get?a(HTMLElement.prototype,W):w(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return J.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,e=b?this.content:this,
|
|
26
|
+
c=I.call(document,this.namespaceURI,this.localName);for(c.innerHTML=a;0<e.childNodes.length;)M.call(e,e.childNodes[0]);for(a=b?c.content:c;0<a.childNodes.length;)K.call(e,a.childNodes[0])}})});u(Element.prototype,"setAttribute",function(a,c){if(1!==this.__CE_state)return S.call(this,a,c);var e=R.call(this,a);S.call(this,a,c);c=R.call(this,a);b.attributeChangedCallback(this,a,e,c,null)});u(Element.prototype,"setAttributeNS",function(a,c,d){if(1!==this.__CE_state)return ja.call(this,a,c,d);var e=U.call(this,
|
|
27
|
+
a,c);ja.call(this,a,c,d);d=U.call(this,a,c);b.attributeChangedCallback(this,c,e,d,a)});u(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return T.call(this,a);var c=R.call(this,a);T.call(this,a);null!==c&&b.attributeChangedCallback(this,a,c,null,null)});u(Element.prototype,"removeAttributeNS",function(a,c){if(1!==this.__CE_state)return ka.call(this,a,c);var d=U.call(this,a,c);ka.call(this,a,c);var e=U.call(this,a,c);d!==e&&b.attributeChangedCallback(this,c,d,e,a)});ta?c(HTMLElement.prototype,
|
|
28
|
+
ta):la?c(Element.prototype,la):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");ua?d(HTMLElement.prototype,ua):ma?d(Element.prototype,ma):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");Y(b,Element.prototype,{h:na,append:oa});ya(b)};/*
|
|
29
|
+
|
|
30
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
31
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
32
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
33
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
34
|
+
Code distributed by Google as part of the polymer project is also
|
|
35
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
36
|
+
*/
|
|
37
|
+
var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var X=new v;va();wa();Y(X,DocumentFragment.prototype,{h:ha,append:ia});xa();za();document.__CE_hasRegistry=!0;var customElements=new G(X);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements})};
|
|
38
|
+
}).call(self);
|