diff --git a/assets/js/bundle.js b/assets/js/bundle.js index 71e12b4a..9f512f7e 100644 --- a/assets/js/bundle.js +++ b/assets/js/bundle.js @@ -1,5 +1,5 @@ /*! For license information please see bundle.js.LICENSE.txt */ -!function(){var e={198:function(e,t){"use strict";t.mw={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32L31.9 32C14.3 32 0 46.5 0 64.3L0 447.7C0 465.5 14.3 480 31.9 480L416 480c17.6 0 32-14.5 32-32.3l0-383.4C448 46.5 433.6 32 416 32zM135.4 416l-66.4 0 0-213.8 66.5 0 0 213.8-.1 0zM102.2 96a38.5 38.5 0 1 1 0 77 38.5 38.5 0 1 1 0-77zM384.3 416l-66.4 0 0-104c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9l0 105.8-66.4 0 0-213.8 63.7 0 0 29.2 .9 0c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9l0 117.2z"]},t.IA=t.mw},203:function(e,t){"use strict";t.mw={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm80 256l64 0c44.2 0 80 35.8 80 80 0 8.8-7.2 16-16 16L80 384c-8.8 0-16-7.2-16-16 0-44.2 35.8-80 80-80zm-24-96a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm240-48l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 96l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},t.oM=t.mw},345:function(e,t){"use strict";t.mw={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64c-26.5 0-48 21.5-48 48 0 15.1 7.1 29.3 19.2 38.4l208 156c17.1 12.8 40.5 12.8 57.6 0l208-156c12.1-9.1 19.2-23.3 19.2-38.4 0-26.5-21.5-48-48-48L48 64zM0 196L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-188-198.4 148.8c-34.1 25.6-81.1 25.6-115.2 0L0 196z"]},t.y_=t.mw},531:function(e,t){var n,r,i;!function(){"use strict";r=[],void 0===(i="function"==typeof(n=function(){return function(e){function t(e){e.icon=Object.prototype.hasOwnProperty.call(e,"icon")?e.icon:"",e.visible=Object.prototype.hasOwnProperty.call(e,"visible")?e.visible:"hover",e.placement=Object.prototype.hasOwnProperty.call(e,"placement")?e.placement:"right",e.ariaLabel=Object.prototype.hasOwnProperty.call(e,"ariaLabel")?e.ariaLabel:"Anchor",e.class=Object.prototype.hasOwnProperty.call(e,"class")?e.class:"",e.base=Object.prototype.hasOwnProperty.call(e,"base")?e.base:"",e.truncate=Object.prototype.hasOwnProperty.call(e,"truncate")?Math.floor(e.truncate):64,e.titleText=Object.prototype.hasOwnProperty.call(e,"titleText")?e.titleText:""}function n(e){var t;if("string"==typeof e||e instanceof String)t=[].slice.call(document.querySelectorAll(e));else{if(!(Array.isArray(e)||e instanceof NodeList))throw new TypeError("The selector provided to AnchorJS was invalid.");t=[].slice.call(e)}return t}this.options=e||{},this.elements=[],t(this.options),this.add=function(e){var r,i,s,o,a,l,c,u,d,h,f,m=[];if(t(this.options),e||(e="h2, h3, h4, h5, h6"),0===(r=n(e)).length)return this;for(function(){if(null===document.head.querySelector("style.anchorjs")){var e,t=document.createElement("style");t.className="anchorjs",t.appendChild(document.createTextNode("")),void 0===(e=document.head.querySelector('[rel="stylesheet"],style'))?document.head.appendChild(t):document.head.insertBefore(t,e),t.sheet.insertRule(".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",t.sheet.cssRules.length),t.sheet.insertRule(":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",t.sheet.cssRules.length),t.sheet.insertRule("[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",t.sheet.cssRules.length),t.sheet.insertRule('@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',t.sheet.cssRules.length)}}(),i=document.querySelectorAll("[id]"),s=[].map.call(i,function(e){return e.id}),a=0;a\]./()*\\\n\t\b\v\u00A0]/g,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(e){var t=e.firstChild&&(" "+e.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,n=e.lastChild&&(" "+e.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return t||n||!1}}})?n.apply(t,r):n)||(e.exports=i)}(globalThis)},789:function(e,t){"use strict";t.mw={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.4 151.7c.3 4.5 .3 9.1 .3 13.6 0 138.7-105.6 298.6-298.6 298.6-59.5 0-114.7-17.2-161.1-47.1 8.4 1 16.6 1.3 25.3 1.3 49.1 0 94.2-16.6 130.3-44.8-46.1-1-84.8-31.2-98.1-72.8 6.5 1 13 1.6 19.8 1.6 9.4 0 18.8-1.3 27.6-3.6-48.1-9.7-84.1-52-84.1-103l0-1.3c14 7.8 30.2 12.7 47.4 13.3-28.3-18.8-46.8-51-46.8-87.4 0-19.5 5.2-37.4 14.3-53 51.7 63.7 129.3 105.3 216.4 109.8-1.6-7.8-2.6-15.9-2.6-24 0-57.8 46.8-104.9 104.9-104.9 30.2 0 57.5 12.7 76.7 33.1 23.7-4.5 46.5-13.3 66.6-25.3-7.8 24.4-24.4 44.8-46.1 57.8 21.1-2.3 41.6-8.1 60.4-16.2-14.3 20.8-32.2 39.3-52.6 54.3z"]},t.HQ=t.mw},827:function(e,t){"use strict";t.mw={prefix:"fab",iconName:"github",icon:[512,512,[],"f09b","M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM252.8 8c-138.7 0-244.8 105.3-244.8 244 0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1 100-33.2 167.8-128.1 167.8-239 0-138.7-112.5-244-251.2-244zM105.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},t.Vz=t.mw},909:function(e,t){"use strict";t.mw={prefix:"fas",iconName:"rss",icon:[448,512,["feed"],"f09e","M0 64c0-17.7 14.3-32 32-32 229.8 0 416 186.2 416 416 0 17.7-14.3 32-32 32s-32-14.3-32-32C384 253.6 226.4 96 32 96 14.3 96 0 81.7 0 64zM0 416a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM32 160c159.1 0 288 128.9 288 288 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-123.7-100.3-224-224-224-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},t.eG=t.mw}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={};n.r(e),n.d(e,{afterMain:function(){return fr},afterRead:function(){return ur},afterWrite:function(){return gr},applyStyles:function(){return Er},arrow:function(){return $r},auto:function(){return Jn},basePlacements:function(){return Zn},beforeMain:function(){return dr},beforeRead:function(){return lr},beforeWrite:function(){return mr},bottom:function(){return Xn},clippingParents:function(){return nr},computeStyles:function(){return Yr},createPopper:function(){return _i},createPopperBase:function(){return wi},createPopperLite:function(){return Ei},detectOverflow:function(){return li},end:function(){return tr},eventListeners:function(){return Xr},flip:function(){return ci},hide:function(){return hi},left:function(){return Gn},main:function(){return hr},modifierPhases:function(){return br},offset:function(){return fi},placements:function(){return ar},popper:function(){return ir},popperGenerator:function(){return Ai},popperOffsets:function(){return mi},preventOverflow:function(){return pi},read:function(){return cr},reference:function(){return sr},right:function(){return Kn},start:function(){return er},top:function(){return Qn},variationPlacements:function(){return or},viewport:function(){return rr},write:function(){return pr}});var t={};function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}function o(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Ne(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Fe(e){return e.classList?Ne(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function De(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function je(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function He(e){return e.size!==Me.size||e.x!==Me.x||e.y!==Me.y||e.rotate!==Me.rotate||e.flipX||e.flipY}function qe(){var e="fa",t=ne,n=Pe.cssPrefix,r=Pe.replacementClass,i=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';if(n!==e||r!==t){var s=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(s,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(r))}return i}var Be=!1;function ze(){Pe.autoAddCss&&!Be&&(function(e){if(e&&T){var t=S.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=S.head.childNodes,r=null,i=n.length-1;i>-1;i--){var s=n[i],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=s)}S.head.insertBefore(t,r)}}(qe()),Be=!0)}var $e={mixout:function(){return{dom:{css:qe,insertCss:ze}}},hooks:function(){return{beforeDOMElementCreation:function(){ze()},beforeI2svg:function(){ze()}}}},We=E||{};We[te]||(We[te]={}),We[te].styles||(We[te].styles={}),We[te].hooks||(We[te].hooks={}),We[te].shims||(We[te].shims=[]);var Ve=We[te],Ue=[],Ye=function(){S.removeEventListener("DOMContentLoaded",Ye),Qe=1,Ue.map(function(e){return e()})},Qe=!1;function Xe(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,s=void 0===i?[]:i;return"string"==typeof e?De(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(De(e[n]),'" ')},"").trim()}(r),">").concat(s.map(Xe).join(""),"")}function Ke(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}T&&((Qe=(S.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(S.readyState))||S.addEventListener("DOMContentLoaded",Ye));var Ge=function(e,t,n,r){var i,s,o,a=Object.keys(e),l=a.length,c=void 0!==r?function(e,t){return function(n,r,i,s){return e.call(t,n,r,i,s)}}(t,r):t;for(void 0===n?(i=1,o=e[a[0]]):(i=0,o=n);i2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=Ze(t);"function"!=typeof Ve.hooks.addPack||r?Ve.styles[e]=l(l({},Ve.styles[e]||{}),i):Ve.hooks.addPack(e,Ze(t)),"fas"===e&&et("fa",t)}var tt=Ve.styles,nt=Ve.shims,rt=Object.keys(be),it=rt.reduce(function(e,t){return e[t]=Object.keys(be[t]),e},{}),st=null,ot={},at={},lt={},ct={},ut={};var dt,ht=function(){var e=function(e){return Ge(tt,function(t,n,r){return t[r]=Ge(n,e,{}),t},{})};ot=e(function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=n}),e}),at=e(function(e,t,n){return e[n]=n,t[2]&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=n}),e}),ut=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in tt||Pe.autoFetchSvg,n=Ge(nt,function(e,n){var r=n[0],i=n[1],s=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:s}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:s}),e},{names:{},unicodes:{}});lt=n.names,ct=n.unicodes,st=bt(Pe.styleDefault,{family:Pe.familyDefault})};function ft(e,t){return(ot[e]||{})[t]}function mt(e,t){return(ut[e]||{})[t]}function pt(e){return lt[e]||{prefix:null,iconName:null}}function gt(){return st}function bt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?R:t,r=fe[n][e];if(n===O&&!e)return"fad";var i=pe[n][e]||pe[n][r],s=e in Ve.styles?e:null;return i||s||null}function vt(e){return e.sort().filter(function(e,t,n){return n.indexOf(e)===t})}dt=function(e){st=bt(e.styleDefault,{family:Pe.familyDefault})},Re.push(dt),ht();var yt=G.concat(Q);function At(e){var t,n,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,i=void 0!==r&&r,s=null,o=vt(e.filter(function(e){return yt.includes(e)})),a=vt(e.filter(function(e){return!yt.includes(e)})),u=c(o.filter(function(e){return s=e,!P.includes(e)}),1)[0],d=void 0===u?null:u,h=function(e){var t=R,n=rt.reduce(function(e,t){return e[t]="".concat(Pe.cssPrefix,"-").concat(t),e},{});return U.forEach(function(r){(e.includes(n[r])||e.some(function(e){return it[r].includes(e)}))&&(t=r)}),t}(o),f=l(l({},(t=[],n=null,a.forEach(function(e){var r=function(e,t){var n,r=t.split("-"),i=r[0],s=r.slice(1).join("-");return i!==e||""===s||(n=s,~ke.indexOf(n))?null:s}(Pe.cssPrefix,e);r?n=r:e&&t.push(e)}),{iconName:n,rest:t})),{},{prefix:bt(d,{family:h})});return l(l(l({},f),function(e){var t=e.values,n=e.family,r=e.canonical,i=e.givenPrefix,s=void 0===i?"":i,o=e.styles,a=void 0===o?{}:o,l=e.config,c=void 0===l?{}:l,u=n===O,d=t.includes("fa-duotone")||t.includes("fad"),h="duotone"===c.familyDefault,f="fad"===r.prefix||"fa-duotone"===r.prefix;if(!u&&(d||h||f)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&wt.includes(n)&&(Object.keys(a).find(function(e){return _t.includes(e)})||c.autoFetchSvg)){var m=Y.get(n).defaultShortPrefixId;r.prefix=m,r.iconName=mt(r.prefix,r.iconName)||r.iconName}return"fa"!==r.prefix&&"fa"!==s||(r.prefix=gt()||"fas"),r}({values:e,family:h,styles:tt,config:Pe,canonical:f,givenPrefix:s})),function(e,t,n){var r=n.prefix,i=n.iconName;if(e||!r||!i)return{prefix:r,iconName:i};var s="fa"===t?pt(i):{},o=mt(r,i);return i=s.iconName||o||i,"far"!==(r=s.prefix||r)||tt.far||!tt.fas||Pe.autoFetchSvg||(r="fas"),{prefix:r,iconName:i}}(i,s,f))}var wt=U.filter(function(e){return e!==R||e!==O}),_t=Object.keys(K).filter(function(e){return e!==R}).map(function(e){return Object.keys(K[e])}).flat(),Et=function(){return function(e,t){return t&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}},[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r0&&a.forEach(function(t){"string"==typeof t&&(e[i][t]=o)}),e[i][s]=o}),e}}])}(),St=[],Ct={},kt={},Tt=Object.keys(kt);function xt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return T?(Lt("beforeI2svg",e),Pt("pseudoElements2svg",e),Pt("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===Pe.autoReplaceSvg&&(Pe.autoReplaceSvg=!0),Pe.observeMutations=!0,e=function(){Nt({autoReplaceSvgRoot:n}),Lt("watch",t)},T&&(Qe?setTimeout(e,0):Ue.push(e))}},It={noAuto:function(){Pe.autoReplaceSvg=!1,Pe.observeMutations=!1,Lt("noAuto")},config:Pe,dom:Mt,parse:{icon:function(e){if(null===e)return null;if("object"===h(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:mt(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=bt(e[0]);return{prefix:n,iconName:mt(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Pe.cssPrefix,"-"))>-1||e.match(ye))){var r=At(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||gt(),iconName:mt(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=gt();return{prefix:i,iconName:mt(i,e)||e}}}},library:Ot,findIconDefinition:Rt,toHtml:Xe},Nt=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?S:e;(Object.keys(Ve.styles).length>0||Pe.autoFetchSvg)&&T&&Pe.autoReplaceSvg&&It.dom.i2svg({node:t})};function Ft(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return Xe(e)})}}),Object.defineProperty(e,"node",{get:function(){if(T){var t=S.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Dt(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,s=e.iconName,o=e.transform,a=e.symbol,c=e.maskId,u=e.extra,d=e.watchable,h=void 0!==d&&d,f=r.found?r:n,m=f.width,p=f.height,g=[Pe.replacementClass,s?"".concat(Pe.cssPrefix,"-").concat(s):""].filter(function(e){return-1===u.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(u.classes).join(" "),b={children:[],attributes:l(l({},u.attributes),{},{"data-prefix":i,"data-icon":s,class:g,role:u.attributes.role||"img",viewBox:"0 0 ".concat(m," ").concat(p)})};(function(e){return["aria-label","aria-labelledby","title","role"].some(function(t){return t in e})})(u.attributes)||u.attributes["aria-hidden"]||(b.attributes["aria-hidden"]="true"),h&&(b.attributes[re]="");var v=l(l({},b),{},{prefix:i,iconName:s,main:n,mask:r,maskId:c,transform:o,symbol:a,styles:l({},u.styles)}),y=r.found&&n.found?Pt("generateAbstractMask",v)||{children:[],attributes:{}}:Pt("generateAbstractIcon",v)||{children:[],attributes:{}},A=y.children,w=y.attributes;return v.children=A,v.attributes=w,a?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,s=e.symbol,o=!0===s?"".concat(t,"-").concat(Pe.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:l(l({},i),{},{id:o}),children:r}]}]}(v):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,s=e.styles,o=e.transform;if(He(o)&&n.found&&!r.found){var a={x:n.width/n.height/2,y:.5};i.style=je(l(l({},s),{},{"transform-origin":"".concat(a.x+o.x/16,"em ").concat(a.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(v)}function jt(e){var t=e.content,n=e.width,r=e.height,i=e.transform,s=e.extra,o=e.watchable,a=void 0!==o&&o,c=l(l({},s.attributes),{},{class:s.classes.join(" ")});a&&(c[re]="");var u=l({},s.styles);He(i)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,s=void 0===i?16:i,o=e.startCentered,a=void 0!==o&&o,l="";return l+=a&&x?"translate(".concat(t.x/Oe-r/2,"em, ").concat(t.y/Oe-s/2,"em) "):a?"translate(calc(-50% + ".concat(t.x/Oe,"em), calc(-50% + ").concat(t.y/Oe,"em)) "):"translate(".concat(t.x/Oe,"em, ").concat(t.y/Oe,"em) "),(l+="scale(".concat(t.size/Oe*(t.flipX?-1:1),", ").concat(t.size/Oe*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=je(u);d.length>0&&(c.style=d);var h=[];return h.push({tag:"span",attributes:c,children:[t]}),h}var Ht=Ve.styles;function qt(e){var t=e[0],n=e[1],r=c(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Pe.cssPrefix,"-").concat(Ee)},children:[{tag:"path",attributes:{class:"".concat(Pe.cssPrefix,"-").concat(Ce),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Pe.cssPrefix,"-").concat(Se),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Bt={found:!1,width:512,height:512};function zt(e,t){var n=t;return"fa"===t&&null!==Pe.styleDefault&&(t=gt()),new Promise(function(r,i){if("fa"===n){var s=pt(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&Ht[t]&&Ht[t][e])return r(qt(Ht[t][e]));!function(e,t){ue||Pe.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(l(l({},Bt),{},{icon:Pe.showMissingIcons&&e&&Pt("missingIconAbstract")||{}}))})}var $t=function(){},Wt=Pe.measurePerformance&&k&&k.mark&&k.measure?k:{mark:$t,measure:$t},Vt='FA "7.0.1"',Ut=function(e){return Wt.mark("".concat(Vt," ").concat(e," begins")),function(){return function(e){Wt.mark("".concat(Vt," ").concat(e," ends")),Wt.measure("".concat(Vt," ").concat(e),"".concat(Vt," ").concat(e," begins"),"".concat(Vt," ").concat(e," ends"))}(e)}},Yt=function(){};function Qt(e){return"string"==typeof(e.getAttribute?e.getAttribute(re):null)}function Xt(e){return S.createElementNS("http://www.w3.org/2000/svg",e)}function Kt(e){return S.createElement(e)}function Gt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Xt:Kt:t;if("string"==typeof e)return S.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){r.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){r.appendChild(Gt(e,{ceFn:n}))}),r}var Jt={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Gt(e),t)}),null===t.getAttribute(re)&&Pe.keepOriginalSource){var n=S.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~Fe(t).indexOf(Pe.replacementClass))return Jt.replace(e);var r=new RegExp("".concat(Pe.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce(function(e,t){return t===Pe.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var s=n.map(function(e){return Xe(e)}).join("\n");t.setAttribute(re,""),t.innerHTML=s}};function Zt(e){e()}function en(e,t){var n="function"==typeof t?t:Yt;if(0===e.length)n();else{var r=Zt;"async"===Pe.mutateApproach&&(r=E.requestAnimationFrame||Zt),r(function(){var t=!0===Pe.autoReplaceSvg?Jt.replace:Jt[Pe.autoReplaceSvg]||Jt.replace,r=Ut("mutate");e.map(t),r(),n()})}}var tn=!1;function nn(){tn=!0}function rn(){tn=!1}var sn=null;function on(e){if(C&&Pe.observeMutations){var t=e.treeCallback,n=void 0===t?Yt:t,r=e.nodeCallback,i=void 0===r?Yt:r,s=e.pseudoElementsCallback,o=void 0===s?Yt:s,a=e.observeMutationsRoot,l=void 0===a?S:a;sn=new C(function(e){if(!tn){var t=gt();Ne(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Qt(e.addedNodes[0])&&(Pe.searchPseudoElements&&o(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Pe.searchPseudoElements&&o([e.target],!0),"attributes"===e.type&&Qt(e.target)&&~_e.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(se):null,n=e.getAttribute?e.getAttribute(oe):null;return t&&n}(e.target)){var r=At(Fe(e.target)),s=r.prefix,a=r.iconName;e.target.setAttribute(se,s||t),a&&e.target.setAttribute(oe,a)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(Pe.replacementClass)&&i(e.target);var l})}}),T&&sn.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function an(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),s=void 0!==e.innerText?e.innerText.trim():"",o=At(Fe(e));return o.prefix||(o.prefix=gt()),r&&i&&(o.prefix=r,o.iconName=i),o.iconName&&o.prefix||(o.prefix&&s.length>0&&(o.iconName=(t=o.prefix,n=e.innerText,(at[t]||{})[n]||ft(o.prefix,Je(e.innerText)))),!o.iconName&&Pe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}(e),r=n.iconName,i=n.prefix,s=n.rest,o=function(e){return Ne(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),a=xt("parseNodeAttributes",{},e),c=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e},{})),n}(e):[];return l({iconName:r,prefix:i,transform:Me,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:c,attributes:o}},a)}var ln=Ve.styles;function cn(e){var t="nest"===Pe.autoReplaceSvg?an(e,{styleParser:!1}):an(e);return~t.extra.classes.indexOf(Ae)?Pt("generateLayersText",e,t):Pt("generateSvgReplacementMutation",e,t)}function un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!T)return Promise.resolve();var n=S.documentElement.classList,r=function(e){return n.add("".concat(ae,"-").concat(e))},i=function(e){return n.remove("".concat(ae,"-").concat(e))},s=Pe.autoFetchSvg?[].concat(u(Q),u(G)):P.concat(Object.keys(ln));s.includes("fa")||s.push("fa");var o=[".".concat(Ae,":not([").concat(re,"])")].concat(s.map(function(e){return".".concat(e,":not([").concat(re,"])")})).join(", ");if(0===o.length)return Promise.resolve();var a=[];try{a=Ne(e.querySelectorAll(o))}catch(e){}if(!(a.length>0))return Promise.resolve();r("pending"),i("complete");var l=Ut("onTree"),c=a.reduce(function(e,t){try{var n=cn(t);n&&e.push(n)}catch(e){ue||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(c).then(function(n){en(n,function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),e()})}).catch(function(e){l(),n(e)})})}function dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;cn(e).then(function(e){e&&en([e],t)})}var hn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Me:n,i=t.symbol,s=void 0!==i&&i,o=t.mask,a=void 0===o?null:o,c=t.maskId,u=void 0===c?null:c,d=t.classes,h=void 0===d?[]:d,f=t.attributes,m=void 0===f?{}:f,p=t.styles,g=void 0===p?{}:p;if(e){var b=e.prefix,v=e.iconName,y=e.icon;return Ft(l({type:"icon"},e),function(){return Lt("beforeDOMElementCreation",{iconDefinition:e,params:t}),Dt({icons:{main:qt(y),mask:a?qt(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:v,transform:l(l({},Me),r),symbol:s,maskId:u,extra:{attributes:m,styles:g,classes:h}})})}},fn={mixout:function(){return{icon:(e=hn,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Rt(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Rt(i||{})),e(r,l(l({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=un,e.nodeCallback=dn,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?S:t,r=e.callback;return un(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.prefix,i=t.transform,s=t.symbol,o=t.mask,a=t.maskId,l=t.extra;return new Promise(function(t,u){Promise.all([zt(n,r),o.iconName?zt(o.iconName,o.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(o){var u=c(o,2),d=u[0],h=u[1];t([e,Dt({icons:{main:d,mask:h},prefix:r,iconName:n,transform:i,symbol:s,maskId:a,extra:l,watchable:!0})])}).catch(u)})},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,s=e.transform,o=je(e.styles);return o.length>0&&(r.style=o),He(s)&&(t=Pt("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},mn={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Ft({type:"layer"},function(){Lt("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(Pe.cssPrefix,"-layers")].concat(u(r)).join(" ")},children:n}]})}}}},pn={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,s=void 0===i?[]:i,o=t.attributes,a=void 0===o?{}:o,c=t.styles,d=void 0===c?{}:c;return Ft({type:"counter",content:e},function(){return Lt("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.extra,r=l(l({},n.attributes),{},{class:n.classes.join(" ")}),i=je(n.styles);i.length>0&&(r.style=i);var s=[];return s.push({tag:"span",attributes:r,children:[t]}),s}({content:e.toString(),title:r,extra:{attributes:a,styles:d,classes:["".concat(Pe.cssPrefix,"-layers-counter")].concat(u(s))}})})}}}},gn={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Me:n,i=t.classes,s=void 0===i?[]:i,o=t.attributes,a=void 0===o?{}:o,c=t.styles,d=void 0===c?{}:c;return Ft({type:"text",content:e},function(){return Lt("beforeDOMElementCreation",{content:e,params:t}),jt({content:e,transform:l(l({},Me),r),extra:{attributes:a,styles:d,classes:["".concat(Pe.cssPrefix,"-layers-text")].concat(u(s))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.transform,r=t.extra,i=null,s=null;if(x){var o=parseInt(getComputedStyle(e).fontSize,10),a=e.getBoundingClientRect();i=a.width/o,s=a.height/o}return Promise.resolve([e,jt({content:e.innerHTML,width:i,height:s,transform:n,extra:r,watchable:!0})])}}},bn=new RegExp('"',"ug"),vn=[1105920,1112319],yn=l(l(l(l({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),An=Object.keys(yn).reduce(function(e,t){return e[t.toLowerCase()]=yn[t],e},{}),wn=Object.keys(An).reduce(function(e,t){var n=An[t];return e[t]=n[900]||u(Object.entries(n))[0][1],e},{});function _n(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(r,i){if(null!==e.getAttribute(n))return r();var s,o,a,c=Ne(e.children).filter(function(e){return e.getAttribute(ie)===t})[0],d=E.getComputedStyle(e,t),h=d.getPropertyValue("font-family"),f=h.match(we),m=d.getPropertyValue("font-weight"),p=d.getPropertyValue("content");if(c&&!f)return e.removeChild(c),r();if(f&&"none"!==p&&""!==p){var g=d.getPropertyValue("content"),b=function(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(An[n]||{})[i]||wn[n]}(h,m),v=function(e){return Je(u(e.replace(bn,""))[0]||"")}(g),y=f[0].startsWith("FontAwesome"),A=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content").replace(bn,""),r=n.codePointAt(0),i=r>=vn[0]&&r<=vn[1],s=2===n.length&&n[0]===n[1];return i||s||t}(d),w=ft(b,v),_=w;if(y){var C=(o=ct[s=v],a=ft("fas",s),o||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});C.iconName&&C.prefix&&(w=C.iconName,b=C.prefix)}if(!w||A||c&&c.getAttribute(se)===b&&c.getAttribute(oe)===_)r();else{e.setAttribute(n,_),c&&e.removeChild(c);var k={iconName:null,prefix:null,transform:Me,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},T=k.extra;T.attributes[ie]=t,zt(w,b).then(function(i){var s=Dt(l(l({},k),{},{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:b,iconName:_,extra:T,watchable:!0})),o=S.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(o,e.firstChild):e.appendChild(o),o.outerHTML=s.map(function(e){return Xe(e)}).join("\n"),e.removeAttribute(n),r()}).catch(i)}}else r()})}function En(e){return Promise.all([_n(e,"::before"),_n(e,"::after")])}function Sn(e){return!(e.parentNode===document.head||~le.indexOf(e.tagName.toUpperCase())||e.getAttribute(ie)||e.parentNode&&"svg"===e.parentNode.tagName)}var Cn=function(e){return!!e&&ce.some(function(t){return e.includes(t)})},kn=function(e){if(!e)return[];var t=new Set,n=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});n=n.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var r,i=s(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(Cn(o)){var a=ce.reduce(function(e,t){return e.replace(t,"")},o);""!==a&&"*"!==a&&t.add(a)}}}catch(e){i.e(e)}finally{i.f()}return t};function Tn(e){if(T){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if(Pe.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var n,r=new Set,i=s(document.styleSheets);try{for(i.s();!(n=i.n()).done;){var o=n.value;try{var a,l=s(o.cssRules);try{for(l.s();!(a=l.n()).done;){var c,u=a.value,d=s(kn(u.selectorText));try{for(d.s();!(c=d.n()).done;){var h=c.value;r.add(h)}}catch(e){d.e(e)}finally{d.f()}}}catch(e){l.e(e)}finally{l.f()}}catch(e){Pe.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href," (").concat(e.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the , enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(e){i.e(e)}finally{i.f()}if(!r.size)return;var f=Array.from(r).join(", ");try{t=e.querySelectorAll(f)}catch(e){}}return new Promise(function(e,n){var r=Ne(t).filter(Sn).map(En),i=Ut("searchPseudoElements");nn(),Promise.all(r).then(function(){i(),rn(),e()}).catch(function(){i(),rn(),n()})})}}var xn={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Tn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?S:t;Pe.searchPseudoElements&&Tn(n)}}},Ln=!1,Pn=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Rn={mixout:function(){return{parse:{transform:function(e){return Pn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Pn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,s={transform:"translate(".concat(r/2," 256)")},o="translate(".concat(32*n.x,", ").concat(32*n.y,") "),a="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),u={outer:s,inner:{transform:"".concat(o," ").concat(a," ").concat(c)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:l({},u.outer),children:[{tag:"g",attributes:l({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:l(l({},t.icon.attributes),u.path)}]}]}}}},On={x:0,y:0,width:"100%",height:"100%"};function Mn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var In,Nn={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?At(n.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=gt()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,i=e.main,s=e.mask,o=e.maskId,a=e.transform,c=i.width,u=i.icon,d=s.width,h=s.icon,f=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(s," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:a,containerWidth:d,iconWidth:c}),m={tag:"rect",attributes:l(l({},On),{},{fill:"white"})},p=u.children?{children:u.children.map(Mn)}:{},g={tag:"g",attributes:l({},f.inner),children:[Mn(l({tag:u.tag,attributes:l(l({},u.attributes),f.path)},p))]},b={tag:"g",attributes:l({},f.outer),children:[g]},v="mask-".concat(o||Ie()),y="clip-".concat(o||Ie()),A={tag:"mask",attributes:l(l({},On),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,b]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=h,"g"===t.tag?t.children:[t])},A]};return n.push(w,{tag:"rect",attributes:l({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(v,")")},On)}),{children:n,attributes:r}}}},Fn={provides:function(e){var t=!1;E.matchMedia&&(t=E.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:l(l({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=l(l({},r),{},{attributeName:"opacity"}),s={tag:"circle",attributes:l(l({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:l(l({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:l(l({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(s),e.push({tag:"path",attributes:l(l({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:l(l({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:l(l({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:l(l({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};In={mixoutsTo:It}.mixoutsTo,St=[$e,fn,mn,pn,gn,xn,{mixout:function(){return{dom:{unwatch:function(){nn(),Ln=!0}}}},hooks:function(){return{bootstrap:function(){on(xt("mutationObserverCallbacks",{}))},noAuto:function(){sn&&sn.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Ln?rn():on(xt("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Rn,Nn,Fn,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],Ct={},Object.keys(kt).forEach(function(e){-1===Tt.indexOf(e)&&delete kt[e]}),St.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(In[e]=t[e]),"object"===h(t[e])&&Object.keys(t[e]).forEach(function(n){In[e]||(In[e]={}),In[e][n]=t[e][n]})}),e.hooks){var n=e.hooks();Object.keys(n).forEach(function(e){Ct[e]||(Ct[e]=[]),Ct[e].push(n[e])})}e.provides&&e.provides(kt)});var Dn=It.config,jn=It.library,Hn=It.dom,qn=n(909),Bn=n(789),zn=n(198),$n=n(827),Wn=n(345),Vn=n(203);const Un=new Uint32Array(65536),Yn=(e,t)=>{if(e.length{const n=e.length,r=t.length,i=1<{const n=t.length,r=e.length,i=[],s=[],o=Math.ceil(n/32),a=Math.ceil(r/32);for(let e=0;e>>e&1,l=i[e/32|0]>>>e&1,c=n|o,u=((n|l)&a)+a^a|n|l;let d=o|~(u|a),h=a&u;d>>>31^r&&(s[e/32|0]^=1<>>31^l&&(i[e/32|0]^=1<>>e&1,a=i[e/32|0]>>>e&1,l=n|c,d=((n|a)&u)+u^u|n|a;let h=c|~(d|u),m=u&d;f+=h>>>r-1&1,f-=m>>>r-1&1,h>>>31^o&&(s[e/32|0]^=1<>>31^a&&(i[e/32|0]^=1<0&&Tr(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Tr(r.height)/e.offsetHeight||1);var o=(Ar(e)?yr(e):window).visualViewport,a=!Lr()&&n,l=(r.left+(a&&o?o.offsetLeft:0))/i,c=(r.top+(a&&o?o.offsetTop:0))/s,u=r.width/i,d=r.height/s;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Rr(e){var t=Pr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Or(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_r(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Mr(e){return yr(e).getComputedStyle(e)}function Ir(e){return["table","td","th"].indexOf(vr(e))>=0}function Nr(e){return((Ar(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fr(e){return"html"===vr(e)?e:e.assignedSlot||e.parentNode||(_r(e)?e.host:null)||Nr(e)}function Dr(e){return wr(e)&&"fixed"!==Mr(e).position?e.offsetParent:null}function jr(e){for(var t=yr(e),n=Dr(e);n&&Ir(n)&&"static"===Mr(n).position;)n=Dr(n);return n&&("html"===vr(n)||"body"===vr(n)&&"static"===Mr(n).position)?t:n||function(e){var t=/firefox/i.test(xr());if(/Trident/i.test(xr())&&wr(e)&&"fixed"===Mr(e).position)return null;var n=Fr(e);for(_r(n)&&(n=n.host);wr(n)&&["html","body"].indexOf(vr(n))<0;){var r=Mr(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Hr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qr(e,t,n){return Cr(e,kr(t,n))}function Br(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function zr(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var $r={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Sr(n.placement),l=Hr(a),c=[Gn,Kn].indexOf(a)>=0?"height":"width";if(s&&o){var u=function(e,t){return Br("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:zr(e,Zn))}(i.padding,n),d=Rr(s),h="y"===l?Qn:Gn,f="y"===l?Xn:Kn,m=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],p=o[l]-n.rects.reference[l],g=jr(s),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=m/2-p/2,y=u[h],A=b-d[c]-u[f],w=b/2-d[c]/2+v,_=qr(y,w,A),E=l;n.modifiersData[r]=((t={})[E]=_,t.centerOffset=_-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Or(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wr(e){return e.split("-")[1]}var Vr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ur(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=o.x,f=void 0===h?0:h,m=o.y,p=void 0===m?0:m,g="function"==typeof u?u({x:f,y:p}):{x:f,y:p};f=g.x,p=g.y;var b=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),y=Gn,A=Qn,w=window;if(c){var _=jr(n),E="clientHeight",S="clientWidth";_===yr(n)&&"static"!==Mr(_=Nr(n)).position&&"absolute"===a&&(E="scrollHeight",S="scrollWidth"),(i===Qn||(i===Gn||i===Kn)&&s===tr)&&(A=Xn,p-=(d&&_===w&&w.visualViewport?w.visualViewport.height:_[E])-r.height,p*=l?1:-1),i!==Gn&&(i!==Qn&&i!==Xn||s!==tr)||(y=Kn,f-=(d&&_===w&&w.visualViewport?w.visualViewport.width:_[S])-r.width,f*=l?1:-1)}var C,k=Object.assign({position:a},c&&Vr),T=!0===u?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Tr(n*i)/i||0,y:Tr(r*i)/i||0}}({x:f,y:p},yr(n)):{x:f,y:p};return f=T.x,p=T.y,l?Object.assign({},k,((C={})[A]=v?"0":"",C[y]=b?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",C)):Object.assign({},k,((t={})[A]=v?p+"px":"",t[y]=b?f+"px":"",t.transform="",t))}var Yr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,s=n.adaptive,o=void 0===s||s,a=n.roundOffsets,l=void 0===a||a,c={placement:Sr(t.placement),variation:Wr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ur(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,Ur(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Qr={passive:!0},Xr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=void 0===i||i,o=r.resize,a=void 0===o||o,l=yr(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(e){e.addEventListener("scroll",n.update,Qr)}),a&&l.addEventListener("resize",n.update,Qr),function(){s&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Qr)}),a&&l.removeEventListener("resize",n.update,Qr)}},data:{}},Kr={left:"right",right:"left",bottom:"top",top:"bottom"};function Gr(e){return e.replace(/left|right|bottom|top/g,function(e){return Kr[e]})}var Jr={start:"end",end:"start"};function Zr(e){return e.replace(/start|end/g,function(e){return Jr[e]})}function ei(e){var t=yr(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ti(e){return Pr(Nr(e)).left+ei(e).scrollLeft}function ni(e){var t=Mr(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function ri(e){return["html","body","#document"].indexOf(vr(e))>=0?e.ownerDocument.body:wr(e)&&ni(e)?e:ri(Fr(e))}function ii(e,t){var n;void 0===t&&(t=[]);var r=ri(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),s=yr(r),o=i?[s].concat(s.visualViewport||[],ni(r)?r:[]):r,a=t.concat(o);return i?a:a.concat(ii(Fr(o)))}function si(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oi(e,t,n){return t===rr?si(function(e,t){var n=yr(e),r=Nr(e),i=n.visualViewport,s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var c=Lr();(c||!c&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+ti(e),y:l}}(e,n)):Ar(t)?function(e,t){var n=Pr(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):si(function(e){var t,n=Nr(e),r=ei(e),i=null==(t=e.ownerDocument)?void 0:t.body,s=Cr(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Cr(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+ti(e),l=-r.scrollTop;return"rtl"===Mr(i||n).direction&&(a+=Cr(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(Nr(e)))}function ai(e){var t,n=e.reference,r=e.element,i=e.placement,s=i?Sr(i):null,o=i?Wr(i):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(s){case Qn:t={x:a,y:n.y-r.height};break;case Xn:t={x:a,y:n.y+n.height};break;case Kn:t={x:n.x+n.width,y:l};break;case Gn:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=s?Hr(s):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case er:t[c]=t[c]-(n[u]/2-r[u]/2);break;case tr:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function li(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,s=n.strategy,o=void 0===s?e.strategy:s,a=n.boundary,l=void 0===a?nr:a,c=n.rootBoundary,u=void 0===c?rr:c,d=n.elementContext,h=void 0===d?ir:d,f=n.altBoundary,m=void 0!==f&&f,p=n.padding,g=void 0===p?0:p,b=Br("number"!=typeof g?g:zr(g,Zn)),v=h===ir?sr:ir,y=e.rects.popper,A=e.elements[m?v:h],w=function(e,t,n,r){var i="clippingParents"===t?function(e){var t=ii(Fr(e)),n=["absolute","fixed"].indexOf(Mr(e).position)>=0&&wr(e)?jr(e):e;return Ar(n)?t.filter(function(e){return Ar(e)&&Or(e,n)&&"body"!==vr(e)}):[]}(e):[].concat(t),s=[].concat(i,[n]),o=s[0],a=s.reduce(function(t,n){var i=oi(e,n,r);return t.top=Cr(i.top,t.top),t.right=kr(i.right,t.right),t.bottom=kr(i.bottom,t.bottom),t.left=Cr(i.left,t.left),t},oi(e,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Ar(A)?A:A.contextElement||Nr(e.elements.popper),l,u,o),_=Pr(e.elements.reference),E=ai({reference:_,element:y,strategy:"absolute",placement:i}),S=si(Object.assign({},y,E)),C=h===ir?S:_,k={top:w.top-C.top+b.top,bottom:C.bottom-w.bottom+b.bottom,left:w.left-C.left+b.left,right:C.right-w.right+b.right},T=e.modifiersData.offset;if(h===ir&&T){var x=T[i];Object.keys(k).forEach(function(e){var t=[Kn,Xn].indexOf(e)>=0?1:-1,n=[Qn,Xn].indexOf(e)>=0?"y":"x";k[e]+=x[n]*t})}return k}var ci={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=void 0===i||i,o=n.altAxis,a=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,m=void 0===f||f,p=n.allowedAutoPlacements,g=t.options.placement,b=Sr(g),v=l||(b!==g&&m?function(e){if(Sr(e)===Jn)return[];var t=Gr(e);return[Zr(e),t,Zr(t)]}(g):[Gr(g)]),y=[g].concat(v).reduce(function(e,n){return e.concat(Sr(n)===Jn?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?ar:l,u=Wr(r),d=u?a?or:or.filter(function(e){return Wr(e)===u}):Zn,h=d.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=d);var f=h.reduce(function(t,n){return t[n]=li(e,{placement:n,boundary:i,rootBoundary:s,padding:o})[Sr(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:p}):n)},[]),A=t.rects.reference,w=t.rects.popper,_=new Map,E=!0,S=y[0],C=0;C=0,P=L?"width":"height",R=li(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),O=L?x?Kn:Gn:x?Xn:Qn;A[P]>w[P]&&(O=Gr(O));var M=Gr(O),I=[];if(s&&I.push(R[T]<=0),a&&I.push(R[O]<=0,R[M]<=0),I.every(function(e){return e})){S=k,E=!1;break}_.set(k,I)}if(E)for(var N=function(e){var t=y.find(function(t){var n=_.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},F=m?3:1;F>0&&"break"!==N(F);F--);t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ui(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function di(e){return[Qn,Kn,Xn,Gn].some(function(t){return e[t]>=0})}var hi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,o=li(t,{elementContext:"reference"}),a=li(t,{altBoundary:!0}),l=ui(o,r),c=ui(a,i,s),u=di(l),d=di(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},fi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=void 0===i?[0,0]:i,o=ar.reduce(function(e,n){return e[n]=function(e,t,n){var r=Sr(e),i=[Gn,Qn].indexOf(r)>=0?-1:1,s="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[Gn,Kn].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}(n,t.rects,s),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[r]=o}},mi={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ai({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},pi={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=void 0===i||i,o=n.altAxis,a=void 0!==o&&o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,f=void 0===h||h,m=n.tetherOffset,p=void 0===m?0:m,g=li(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=Sr(t.placement),v=Wr(t.placement),y=!v,A=Hr(b),w="x"===A?"y":"x",_=t.modifiersData.popperOffsets,E=t.rects.reference,S=t.rects.popper,C="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,k="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,x={x:0,y:0};if(_){if(s){var L,P="y"===A?Qn:Gn,R="y"===A?Xn:Kn,O="y"===A?"height":"width",M=_[A],I=M+g[P],N=M-g[R],F=f?-S[O]/2:0,D=v===er?E[O]:S[O],j=v===er?-S[O]:-E[O],H=t.elements.arrow,q=f&&H?Rr(H):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=B[P],$=B[R],W=qr(0,E[O],q[O]),V=y?E[O]/2-F-W-z-k.mainAxis:D-W-z-k.mainAxis,U=y?-E[O]/2+F+W+$+k.mainAxis:j+W+$+k.mainAxis,Y=t.elements.arrow&&jr(t.elements.arrow),Q=Y?"y"===A?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(L=null==T?void 0:T[A])?L:0,K=M+U-X,G=qr(f?kr(I,M+V-X-Q):I,M,f?Cr(N,K):N);_[A]=G,x[A]=G-M}if(a){var J,Z="x"===A?Qn:Gn,ee="x"===A?Xn:Kn,te=_[w],ne="y"===w?"height":"width",re=te+g[Z],ie=te-g[ee],se=-1!==[Qn,Gn].indexOf(b),oe=null!=(J=null==T?void 0:T[w])?J:0,ae=se?re:te-E[ne]-S[ne]-oe+k.altAxis,le=se?te+E[ne]+S[ne]-oe-k.altAxis:ie,ce=f&&se?function(e,t,n){var r=qr(e,t,n);return r>n?n:r}(ae,te,le):qr(f?ae:re,te,f?le:ie);_[w]=ce,x[w]=ce-te}t.modifiersData[r]=x}},requiresIfExists:["offset"]};function gi(e,t,n){void 0===n&&(n=!1);var r,i,s=wr(t),o=wr(t)&&function(e){var t=e.getBoundingClientRect(),n=Tr(t.width)/e.offsetWidth||1,r=Tr(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Nr(t),l=Pr(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(s||!s&&!n)&&(("body"!==vr(t)||ni(a))&&(c=(r=t)!==yr(r)&&wr(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:ei(r)),wr(t)?((u=Pr(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ti(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function bi(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var vi={placement:"bottom",modifiers:[],strategy:"absolute"};function yi(){for(var e=arguments.length,t=new Array(e),n=0;n(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),xi=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Li=e=>{e.dispatchEvent(new Event(ki))},Pi=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Ri=e=>Pi(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(Ti(e)):null,Oi=e=>{if(!Pi(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},Mi=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),Ii=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Ii(e.parentNode):null},Ni=()=>{},Fi=e=>{e.offsetHeight},Di=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,ji=[],Hi=()=>"rtl"===document.documentElement.dir,qi=e=>{var t;t=()=>{const t=Di();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}},"loading"===document.readyState?(ji.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of ji)e()}),ji.push(t)):t()},Bi=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,zi=(e,t,n=!0)=>{if(!n)return void Bi(e);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),i=Number.parseFloat(n);return r||i?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let i=!1;const s=({target:n})=>{n===t&&(i=!0,t.removeEventListener(ki,s),Bi(e))};t.addEventListener(ki,s),setTimeout(()=>{i||Li(t)},r)},$i=(e,t,n,r)=>{const i=e.length;let s=e.indexOf(t);return-1===s?!n&&r?e[i-1]:e[0]:(s+=n?1:-1,r&&(s=(s+i)%i),e[Math.max(0,Math.min(s,i-1))])},Wi=/[^.]*(?=\..*)\.|.*/,Vi=/\..*/,Ui=/::\d+$/,Yi={};let Qi=1;const Xi={mouseenter:"mouseover",mouseleave:"mouseout"},Ki=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Gi(e,t){return t&&`${t}::${Qi++}`||e.uidEvent||Qi++}function Ji(e){const t=Gi(e);return e.uidEvent=t,Yi[t]=Yi[t]||{},Yi[t]}function Zi(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function es(e,t,n){const r="string"==typeof t,i=r?n:t||n;let s=is(e);return Ki.has(s)||(s=e),[r,i,s]}function ts(e,t,n,r,i){if("string"!=typeof t||!e)return;let[s,o,a]=es(t,n,r);if(t in Xi){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const l=Ji(e),c=l[a]||(l[a]={}),u=Zi(c,o,s?n:null);if(u)return void(u.oneOff=u.oneOff&&i);const d=Gi(o,t.replace(Wi,"")),h=s?function(e,t,n){return function r(i){const s=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return os(i,{delegateTarget:o}),r.oneOff&&ss.off(e,i.type,t,n),n.apply(o,[i])}}(e,n,o):function(e,t){return function n(r){return os(r,{delegateTarget:e}),n.oneOff&&ss.off(e,r.type,t),t.apply(e,[r])}}(e,o);h.delegationSelector=s?n:null,h.callable=o,h.oneOff=i,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,s)}function ns(e,t,n,r,i){const s=Zi(t[n],r,i);s&&(e.removeEventListener(n,s,Boolean(i)),delete t[n][s.uidEvent])}function rs(e,t,n,r){const i=t[n]||{};for(const[s,o]of Object.entries(i))s.includes(r)&&ns(e,t,n,o.callable,o.delegationSelector)}function is(e){return e=e.replace(Vi,""),Xi[e]||e}const ss={on(e,t,n,r){ts(e,t,n,r,!1)},one(e,t,n,r){ts(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[i,s,o]=es(t,n,r),a=o!==t,l=Ji(e),c=l[o]||{},u=t.startsWith(".");if(void 0===s){if(u)for(const n of Object.keys(l))rs(e,l,n,t.slice(1));for(const[n,r]of Object.entries(c)){const i=n.replace(Ui,"");a&&!t.includes(i)||ns(e,l,o,r.callable,r.delegationSelector)}}else{if(!Object.keys(c).length)return;ns(e,l,o,s,i?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const r=Di();let i=null,s=!0,o=!0,a=!1;t!==is(t)&&r&&(i=r.Event(t,n),r(e).trigger(i),s=!i.isPropagationStopped(),o=!i.isImmediatePropagationStopped(),a=i.isDefaultPrevented());const l=os(new Event(t,{bubbles:s,cancelable:!0}),n);return a&&l.preventDefault(),o&&e.dispatchEvent(l),l.defaultPrevented&&i&&i.preventDefault(),l}};function os(e,t={}){for(const[n,r]of Object.entries(t))try{e[n]=r}catch(t){Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function as(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function ls(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const cs={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${ls(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${ls(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=as(e.dataset[r])}return t},getDataAttribute(e,t){return as(e.getAttribute(`data-bs-${ls(t)}`))}};class us{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=Pi(t)?cs.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...Pi(t)?cs.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,r]of Object.entries(t)){const t=e[n],i=Pi(t)?"element":xi(t);if(!new RegExp(r).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${r}".`)}}}class ds extends us{constructor(e,t){super(),(e=Ri(e))&&(this._element=e,this._config=this._getConfig(t),Ci.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ci.remove(this._element,this.constructor.DATA_KEY),ss.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){zi(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ci.get(Ri(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const hs=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>Ti(e)).join(","):null},fs={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!Mi(e)&&Oi(e))},getSelectorFromElement(e){const t=hs(e);return t&&fs.findOne(t)?t:null},getElementFromSelector(e){const t=hs(e);return t?fs.findOne(t):null},getMultipleElementsFromSelector(e){const t=hs(e);return t?fs.find(t):[]}},ms=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;ss.on(document,n,`[data-bs-dismiss="${r}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Mi(this))return;const i=fs.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},ps=".bs.alert",gs=`close${ps}`,bs=`closed${ps}`;class vs extends ds{static get NAME(){return"alert"}close(){if(ss.trigger(this._element,gs).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),ss.trigger(this._element,bs),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=vs.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ms(vs,"close"),qi(vs);const ys='[data-bs-toggle="button"]';class As extends ds{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=As.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}ss.on(document,"click.bs.button.data-api",ys,e=>{e.preventDefault();const t=e.target.closest(ys);As.getOrCreateInstance(t).toggle()}),qi(As);const ws=".bs.swipe",_s=`touchstart${ws}`,Es=`touchmove${ws}`,Ss=`touchend${ws}`,Cs=`pointerdown${ws}`,ks=`pointerup${ws}`,Ts={endCallback:null,leftCallback:null,rightCallback:null},xs={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ls extends us{constructor(e,t){super(),this._element=e,e&&Ls.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Ts}static get DefaultType(){return xs}static get NAME(){return"swipe"}dispose(){ss.off(this._element,ws)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Bi(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&Bi(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ss.on(this._element,Cs,e=>this._start(e)),ss.on(this._element,ks,e=>this._end(e)),this._element.classList.add("pointer-event")):(ss.on(this._element,_s,e=>this._start(e)),ss.on(this._element,Es,e=>this._move(e)),ss.on(this._element,Ss,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Ps=".bs.carousel",Rs=".data-api",Os="ArrowLeft",Ms="ArrowRight",Is="next",Ns="prev",Fs="left",Ds="right",js=`slide${Ps}`,Hs=`slid${Ps}`,qs=`keydown${Ps}`,Bs=`mouseenter${Ps}`,zs=`mouseleave${Ps}`,$s=`dragstart${Ps}`,Ws=`load${Ps}${Rs}`,Vs=`click${Ps}${Rs}`,Us="carousel",Ys="active",Qs=".active",Xs=".carousel-item",Ks=Qs+Xs,Gs={[Os]:Ds,[Ms]:Fs},Js={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Zs={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class eo extends ds{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=fs.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Us&&this.cycle()}static get Default(){return Js}static get DefaultType(){return Zs}static get NAME(){return"carousel"}next(){this._slide(Is)}nextWhenVisible(){!document.hidden&&Oi(this._element)&&this.next()}prev(){this._slide(Ns)}pause(){this._isSliding&&Li(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?ss.one(this._element,Hs,()=>this.cycle()):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void ss.one(this._element,Hs,()=>this.to(e));const n=this._getItemIndex(this._getActive());if(n===e)return;const r=e>n?Is:Ns;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ss.on(this._element,qs,e=>this._keydown(e)),"hover"===this._config.pause&&(ss.on(this._element,Bs,()=>this.pause()),ss.on(this._element,zs,()=>this._maybeEnableCycle())),this._config.touch&&Ls.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of fs.find(".carousel-item img",this._element))ss.on(e,$s,e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(Fs)),rightCallback:()=>this._slide(this._directionToOrder(Ds)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Ls(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Gs[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=fs.findOne(Qs,this._indicatorsElement);t.classList.remove(Ys),t.removeAttribute("aria-current");const n=fs.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(Ys),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),r=e===Is,i=t||$i(this._getItems(),n,r,this._config.wrap);if(i===n)return;const s=this._getItemIndex(i),o=t=>ss.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:s});if(o(js).defaultPrevented)return;if(!n||!i)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const l=r?"carousel-item-start":"carousel-item-end",c=r?"carousel-item-next":"carousel-item-prev";i.classList.add(c),Fi(i),n.classList.add(l),i.classList.add(l),this._queueCallback(()=>{i.classList.remove(l,c),i.classList.add(Ys),n.classList.remove(Ys,c,l),this._isSliding=!1,o(Hs)},n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return fs.findOne(Ks,this._element)}_getItems(){return fs.find(Xs,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Hi()?e===Fs?Ns:Is:e===Fs?Is:Ns}_orderToDirection(e){return Hi()?e===Ns?Fs:Ds:e===Ns?Ds:Fs}static jQueryInterface(e){return this.each(function(){const t=eo.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}ss.on(document,Vs,"[data-bs-slide], [data-bs-slide-to]",function(e){const t=fs.getElementFromSelector(this);if(!t||!t.classList.contains(Us))return;e.preventDefault();const n=eo.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===cs.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())}),ss.on(window,Ws,()=>{const e=fs.find('[data-bs-ride="carousel"]');for(const t of e)eo.getOrCreateInstance(t)}),qi(eo);const to=".bs.collapse",no=`show${to}`,ro=`shown${to}`,io=`hide${to}`,so=`hidden${to}`,oo=`click${to}.data-api`,ao="show",lo="collapse",co="collapsing",uo=`:scope .${lo} .${lo}`,ho='[data-bs-toggle="collapse"]',fo={parent:null,toggle:!0},mo={parent:"(null|element)",toggle:"boolean"};class po extends ds{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=fs.find(ho);for(const e of n){const t=fs.getSelectorFromElement(e),n=fs.find(t).filter(e=>e===this._element);null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return fo}static get DefaultType(){return mo}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>po.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(ss.trigger(this._element,no).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(lo),this._element.classList.add(co),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(co),this._element.classList.add(lo,ao),this._element.style[t]="",ss.trigger(this._element,ro)},this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ss.trigger(this._element,io).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Fi(this._element),this._element.classList.add(co),this._element.classList.remove(lo,ao);for(const e of this._triggerArray){const t=fs.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(co),this._element.classList.add(lo),ss.trigger(this._element,so)},this._element,!0)}_isShown(e=this._element){return e.classList.contains(ao)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=Ri(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ho);for(const t of e){const e=fs.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=fs.find(uo,this._config.parent);return fs.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=po.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}ss.on(document,oo,ho,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of fs.getMultipleElementsFromSelector(this))po.getOrCreateInstance(e,{toggle:!1}).toggle()}),qi(po);const go="dropdown",bo=".bs.dropdown",vo=".data-api",yo="ArrowUp",Ao="ArrowDown",wo=`hide${bo}`,_o=`hidden${bo}`,Eo=`show${bo}`,So=`shown${bo}`,Co=`click${bo}${vo}`,ko=`keydown${bo}${vo}`,To=`keyup${bo}${vo}`,xo="show",Lo='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Po=`${Lo}.${xo}`,Ro=".dropdown-menu",Oo=Hi()?"top-end":"top-start",Mo=Hi()?"top-start":"top-end",Io=Hi()?"bottom-end":"bottom-start",No=Hi()?"bottom-start":"bottom-end",Fo=Hi()?"left-start":"right-start",Do=Hi()?"right-start":"left-start",jo={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ho={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class qo extends ds{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=fs.next(this._element,Ro)[0]||fs.prev(this._element,Ro)[0]||fs.findOne(Ro,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return jo}static get DefaultType(){return Ho}static get NAME(){return go}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Mi(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ss.trigger(this._element,Eo,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))ss.on(e,"mouseover",Ni);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(xo),this._element.classList.add(xo),ss.trigger(this._element,So,e)}}hide(){if(Mi(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ss.trigger(this._element,wo,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ss.off(e,"mouseover",Ni);this._popper&&this._popper.destroy(),this._menu.classList.remove(xo),this._element.classList.remove(xo),this._element.setAttribute("aria-expanded","false"),cs.removeDataAttribute(this._menu,"popper"),ss.trigger(this._element,_o,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!Pi(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${go.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){let e=this._element;"parent"===this._config.reference?e=this._parent:Pi(this._config.reference)?e=Ri(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=_i(e,this._menu,t)}_isShown(){return this._menu.classList.contains(xo)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return Fo;if(e.classList.contains("dropstart"))return Do;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Mo:Oo:t?No:Io}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(cs.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Bi(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){const n=fs.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>Oi(e));n.length&&$i(n,t,e===Ao,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=qo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=fs.find(Po);for(const n of t){const t=qo.getInstance(n);if(!t||!1===t._config.autoClose)continue;const r=e.composedPath(),i=r.includes(t._menu);if(r.includes(t._element)||"inside"===t._config.autoClose&&!i||"outside"===t._config.autoClose&&i)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const s={relatedTarget:t._element};"click"===e.type&&(s.clickEvent=e),t._completeHide(s)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,r=[yo,Ao].includes(e.key);if(!r&&!n)return;if(t&&!n)return;e.preventDefault();const i=this.matches(Lo)?this:fs.prev(this,Lo)[0]||fs.next(this,Lo)[0]||fs.findOne(Lo,e.delegateTarget.parentNode),s=qo.getOrCreateInstance(i);if(r)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ss.on(document,ko,Lo,qo.dataApiKeydownHandler),ss.on(document,ko,Ro,qo.dataApiKeydownHandler),ss.on(document,Co,qo.clearMenus),ss.on(document,To,qo.clearMenus),ss.on(document,Co,Lo,function(e){e.preventDefault(),qo.getOrCreateInstance(this).toggle()}),qi(qo);const Bo="backdrop",zo="show",$o=`mousedown.bs.${Bo}`,Wo={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Vo={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Uo extends us{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Wo}static get DefaultType(){return Vo}static get NAME(){return Bo}show(e){if(!this._config.isVisible)return void Bi(e);this._append();const t=this._getElement();this._config.isAnimated&&Fi(t),t.classList.add(zo),this._emulateAnimation(()=>{Bi(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(zo),this._emulateAnimation(()=>{this.dispose(),Bi(e)})):Bi(e)}dispose(){this._isAppended&&(ss.off(this._element,$o),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Ri(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ss.on(e,$o,()=>{Bi(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){zi(e,this._getElement(),this._config.isAnimated)}}const Yo=".bs.focustrap",Qo=`focusin${Yo}`,Xo=`keydown.tab${Yo}`,Ko="backward",Go={autofocus:!0,trapElement:null},Jo={autofocus:"boolean",trapElement:"element"};class Zo extends us{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Go}static get DefaultType(){return Jo}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ss.off(document,Yo),ss.on(document,Qo,e=>this._handleFocusin(e)),ss.on(document,Xo,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ss.off(document,Yo))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=fs.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===Ko?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Ko:"forward")}}const ea=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ta=".sticky-top",na="padding-right",ra="margin-right";class ia{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,na,t=>t+e),this._setElementAttributes(ea,na,t=>t+e),this._setElementAttributes(ta,ra,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,na),this._resetElementAttributes(ea,na),this._resetElementAttributes(ta,ra)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const r=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);const i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)})}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&cs.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{const n=cs.getDataAttribute(e,t);null!==n?(cs.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)})}_applyManipulationCallback(e,t){if(Pi(e))t(e);else for(const n of fs.find(e,this._element))t(n)}}const sa=".bs.modal",oa=`hide${sa}`,aa=`hidePrevented${sa}`,la=`hidden${sa}`,ca=`show${sa}`,ua=`shown${sa}`,da=`resize${sa}`,ha=`click.dismiss${sa}`,fa=`mousedown.dismiss${sa}`,ma=`keydown.dismiss${sa}`,pa=`click${sa}.data-api`,ga="modal-open",ba="show",va="modal-static",ya={backdrop:!0,focus:!0,keyboard:!0},Aa={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class wa extends ds{constructor(e,t){super(e,t),this._dialog=fs.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ia,this._addEventListeners()}static get Default(){return ya}static get DefaultType(){return Aa}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ss.trigger(this._element,ca,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ga),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(ss.trigger(this._element,oa).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ba),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){ss.off(window,sa),ss.off(this._dialog,sa),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Uo({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Zo({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=fs.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),Fi(this._element),this._element.classList.add(ba),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ss.trigger(this._element,ua,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){ss.on(this._element,ma,e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),ss.on(window,da,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ss.on(this._element,fa,e=>{ss.one(this._element,ha,t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ga),this._resetAdjustments(),this._scrollBar.reset(),ss.trigger(this._element,la)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ss.trigger(this._element,aa).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(va)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(va),this._queueCallback(()=>{this._element.classList.remove(va),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=Hi()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=Hi()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=wa.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}ss.on(document,pa,'[data-bs-toggle="modal"]',function(e){const t=fs.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),ss.one(t,ca,e=>{e.defaultPrevented||ss.one(t,la,()=>{Oi(this)&&this.focus()})});const n=fs.findOne(".modal.show");n&&wa.getInstance(n).hide(),wa.getOrCreateInstance(t).toggle(this)}),ms(wa),qi(wa);const _a=".bs.offcanvas",Ea=".data-api",Sa=`load${_a}${Ea}`,Ca="show",ka="showing",Ta="hiding",xa=".offcanvas.show",La=`show${_a}`,Pa=`shown${_a}`,Ra=`hide${_a}`,Oa=`hidePrevented${_a}`,Ma=`hidden${_a}`,Ia=`resize${_a}`,Na=`click${_a}${Ea}`,Fa=`keydown.dismiss${_a}`,Da={backdrop:!0,keyboard:!0,scroll:!1},ja={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ha extends ds{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Da}static get DefaultType(){return ja}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||ss.trigger(this._element,La,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new ia).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ka),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Ca),this._element.classList.remove(ka),ss.trigger(this._element,Pa,{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(ss.trigger(this._element,Ra).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ta),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Ca,Ta),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new ia).reset(),ss.trigger(this._element,Ma)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Uo({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():ss.trigger(this._element,Oa)}:null})}_initializeFocusTrap(){return new Zo({trapElement:this._element})}_addEventListeners(){ss.on(this._element,Fa,e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():ss.trigger(this._element,Oa))})}static jQueryInterface(e){return this.each(function(){const t=Ha.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ss.on(document,Na,'[data-bs-toggle="offcanvas"]',function(e){const t=fs.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Mi(this))return;ss.one(t,Ma,()=>{Oi(this)&&this.focus()});const n=fs.findOne(xa);n&&n!==t&&Ha.getInstance(n).hide(),Ha.getOrCreateInstance(t).toggle(this)}),ss.on(window,Sa,()=>{for(const e of fs.find(xa))Ha.getOrCreateInstance(e).show()}),ss.on(window,Ia,()=>{for(const e of fs.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Ha.getOrCreateInstance(e).hide()}),ms(Ha),qi(Ha);const qa={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Ba=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),za=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,$a=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Ba.has(n)||Boolean(za.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))},Wa={allowList:qa,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Va={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ua={entry:"(string|element|function|null)",selector:"(string|element)"};class Ya extends us{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Wa}static get DefaultType(){return Va}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Ua)}_setContent(e,t,n){const r=fs.findOne(n,e);r&&((t=this._resolvePossibleFunction(t))?Pi(t)?this._putElementInTemplate(Ri(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const r=(new window.DOMParser).parseFromString(e,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const e of i){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const r=[].concat(...e.attributes),i=[].concat(t["*"]||[],t[n]||[]);for(const t of r)$a(t,i)||e.removeAttribute(t.nodeName)}return r.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Bi(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Qa=new Set(["sanitize","allowList","sanitizeFn"]),Xa="fade",Ka="show",Ga=".tooltip-inner",Ja=".modal",Za="hide.bs.modal",el="hover",tl="focus",nl="click",rl={AUTO:"auto",TOP:"top",RIGHT:Hi()?"left":"right",BOTTOM:"bottom",LEFT:Hi()?"right":"left"},il={allowList:qa,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},sl={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ol extends ds{constructor(e,t){super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return il}static get DefaultType(){return sl}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),ss.off(this._element.closest(Ja),Za,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=ss.trigger(this._element,this.constructor.eventName("show")),t=(Ii(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),ss.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(Ka),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ss.on(e,"mouseover",Ni);this._queueCallback(()=>{ss.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!ss.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Ka),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ss.off(e,"mouseover",Ni);this._activeTrigger[nl]=!1,this._activeTrigger[tl]=!1,this._activeTrigger[el]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ss.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Xa,Ka),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Xa),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ya({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ga]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Xa)}_isShown(){return this.tip&&this.tip.classList.contains(Ka)}_createPopper(e){const t=Bi(this._config.placement,[this,e,this._element]),n=rl[t.toUpperCase()];return _i(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Bi(e,[this._element,this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...Bi(this._config.popperConfig,[void 0,t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)ss.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[nl]=!(t._isShown()&&t._activeTrigger[nl]),t.toggle()});else if("manual"!==t){const e=t===el?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===el?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");ss.on(this._element,e,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?tl:el]=!0,t._enter()}),ss.on(this._element,n,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?tl:el]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ss.on(this._element.closest(Ja),Za,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=cs.getDataAttributes(this._element);for(const e of Object.keys(t))Qa.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:Ri(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=ol.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}qi(ol);const al=".popover-header",ll=".popover-body",cl={...ol.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},ul={...ol.DefaultType,content:"(null|string|element|function)"};class dl extends ol{static get Default(){return cl}static get DefaultType(){return ul}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[al]:this._getTitle(),[ll]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=dl.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}qi(dl);const hl=".bs.scrollspy",fl=`activate${hl}`,ml=`click${hl}`,pl=`load${hl}.data-api`,gl="active",bl="[href]",vl=".nav-link",yl=`${vl}, .nav-item > ${vl}, .list-group-item`,Al={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},wl={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class _l extends ds{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Al}static get DefaultType(){return wl}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Ri(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ss.off(this._config.target,ml),ss.on(this._config.target,ml,bl,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:r,behavior:"smooth"});n.scrollTop=r}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const e=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(s),!r)return}else i||e||n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=fs.find(bl,this._config.target);for(const t of e){if(!t.hash||Mi(t))continue;const e=fs.findOne(decodeURI(t.hash),this._element);Oi(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(gl),this._activateParents(e),ss.trigger(this._element,fl,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))fs.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(gl);else for(const t of fs.parents(e,".nav, .list-group"))for(const e of fs.prev(t,yl))e.classList.add(gl)}_clearActiveClass(e){e.classList.remove(gl);const t=fs.find(`${bl}.${gl}`,e);for(const e of t)e.classList.remove(gl)}static jQueryInterface(e){return this.each(function(){const t=_l.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}ss.on(window,pl,()=>{for(const e of fs.find('[data-bs-spy="scroll"]'))_l.getOrCreateInstance(e)}),qi(_l);const El=".bs.tab",Sl=`hide${El}`,Cl=`hidden${El}`,kl=`show${El}`,Tl=`shown${El}`,xl=`click${El}`,Ll=`keydown${El}`,Pl=`load${El}`,Rl="ArrowLeft",Ol="ArrowRight",Ml="ArrowUp",Il="ArrowDown",Nl="Home",Fl="End",Dl="active",jl="fade",Hl="show",ql=".dropdown-toggle",Bl=`:not(${ql})`,zl='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',$l=`.nav-link${Bl}, .list-group-item${Bl}, [role="tab"]${Bl}, ${zl}`,Wl=`.${Dl}[data-bs-toggle="tab"], .${Dl}[data-bs-toggle="pill"], .${Dl}[data-bs-toggle="list"]`;class Vl extends ds{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ss.on(this._element,Ll,e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?ss.trigger(t,Sl,{relatedTarget:e}):null;ss.trigger(e,kl,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Dl),this._activate(fs.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ss.trigger(e,Tl,{relatedTarget:t})):e.classList.add(Hl)},e,e.classList.contains(jl)))}_deactivate(e,t){e&&(e.classList.remove(Dl),e.blur(),this._deactivate(fs.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ss.trigger(e,Cl,{relatedTarget:t})):e.classList.remove(Hl)},e,e.classList.contains(jl)))}_keydown(e){if(![Rl,Ol,Ml,Il,Nl,Fl].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(e=>!Mi(e));let n;if([Nl,Fl].includes(e.key))n=t[e.key===Nl?0:t.length-1];else{const r=[Ol,Il].includes(e.key);n=$i(t,e.target,r,!0)}n&&(n.focus({preventScroll:!0}),Vl.getOrCreateInstance(n).show())}_getChildren(){return fs.find($l,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=fs.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const r=(e,r)=>{const i=fs.findOne(e,n);i&&i.classList.toggle(r,t)};r(ql,Dl),r(".dropdown-menu",Hl),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Dl)}_getInnerElement(e){return e.matches($l)?e:fs.findOne($l,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=Vl.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}ss.on(document,xl,zl,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),Mi(this)||Vl.getOrCreateInstance(this).show()}),ss.on(window,Pl,()=>{for(const e of fs.find(Wl))Vl.getOrCreateInstance(e)}),qi(Vl);const Ul=".bs.toast",Yl=`mouseover${Ul}`,Ql=`mouseout${Ul}`,Xl=`focusin${Ul}`,Kl=`focusout${Ul}`,Gl=`hide${Ul}`,Jl=`hidden${Ul}`,Zl=`show${Ul}`,ec=`shown${Ul}`,tc="hide",nc="show",rc="showing",ic={animation:"boolean",autohide:"boolean",delay:"number"},sc={animation:!0,autohide:!0,delay:5e3};class oc extends ds{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return sc}static get DefaultType(){return ic}static get NAME(){return"toast"}show(){ss.trigger(this._element,Zl).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(tc),Fi(this._element),this._element.classList.add(nc,rc),this._queueCallback(()=>{this._element.classList.remove(rc),ss.trigger(this._element,ec),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(ss.trigger(this._element,Gl).defaultPrevented||(this._element.classList.add(rc),this._queueCallback(()=>{this._element.classList.add(tc),this._element.classList.remove(rc,nc),ss.trigger(this._element,Jl)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(nc),super.dispose()}isShown(){return this._element.classList.contains(nc)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){ss.on(this._element,Yl,e=>this._onInteraction(e,!0)),ss.on(this._element,Ql,e=>this._onInteraction(e,!1)),ss.on(this._element,Xl,e=>this._onInteraction(e,!0)),ss.on(this._element,Kl,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=oc.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ms(oc),qi(oc);var ac=n(531);!function(e){function t(e,t,n){throw new e("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",n)}"function"!=typeof e.requestSubmit&&(e.requestSubmit=function(e){e?(function(e,n){e instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==e.type||t(TypeError,"The specified element is not a submit button"),e.form==n||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(e,this),e.click()):((e=document.createElement("input")).type="submit",e.hidden=!0,this.appendChild(e),e.click(),this.removeChild(e))})}(HTMLFormElement.prototype);const lc=new WeakMap;function cc(e){const t=function(e){const t=e instanceof Element?e:e instanceof Node?e.parentElement:null,n=t?t.closest("input, button"):null;return"submit"==n?.type?n:null}(e.target);t&&t.form&&lc.set(t.form,t)}!function(){if("submitter"in Event.prototype)return;let e=window.Event.prototype;if("SubmitEvent"in window){const t=window.SubmitEvent.prototype;if(!/Apple Computer/.test(navigator.vendor)||"submitter"in t)return;e=t}addEventListener("click",cc,!0),Object.defineProperty(e,"submitter",{get(){if("submit"==this.type&&this.target instanceof HTMLFormElement)return lc.get(this.target)}})}();const uc={eager:"eager",lazy:"lazy"};class dc extends HTMLElement{static delegateConstructor=void 0;loaded=Promise.resolve();static get observedAttributes(){return["disabled","loading","src"]}constructor(){super(),this.delegate=new dc.delegateConstructor(this)}connectedCallback(){this.delegate.connect()}disconnectedCallback(){this.delegate.disconnect()}reload(){return this.delegate.sourceURLReloaded()}attributeChangedCallback(e){"loading"==e?this.delegate.loadingStyleChanged():"src"==e?this.delegate.sourceURLChanged():"disabled"==e&&this.delegate.disabledChanged()}get src(){return this.getAttribute("src")}set src(e){e?this.setAttribute("src",e):this.removeAttribute("src")}get refresh(){return this.getAttribute("refresh")}set refresh(e){e?this.setAttribute("refresh",e):this.removeAttribute("refresh")}get shouldReloadWithMorph(){return this.src&&"morph"===this.refresh}get loading(){return"lazy"===(this.getAttribute("loading")||"").toLowerCase()?uc.lazy:uc.eager}set loading(e){e?this.setAttribute("loading",e):this.removeAttribute("loading")}get disabled(){return this.hasAttribute("disabled")}set disabled(e){e?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get autoscroll(){return this.hasAttribute("autoscroll")}set autoscroll(e){e?this.setAttribute("autoscroll",""):this.removeAttribute("autoscroll")}get complete(){return!this.delegate.isLoading}get isActive(){return this.ownerDocument===document&&!this.isPreview}get isPreview(){return this.ownerDocument?.documentElement?.hasAttribute("data-turbo-preview")}}const hc={enabled:!0,progressBarDelay:500,unvisitableExtensions:new Set([".7z",".aac",".apk",".avi",".bmp",".bz2",".css",".csv",".deb",".dmg",".doc",".docx",".exe",".gif",".gz",".heic",".heif",".ico",".iso",".jpeg",".jpg",".js",".json",".m4a",".mkv",".mov",".mp3",".mp4",".mpeg",".mpg",".msi",".ogg",".ogv",".pdf",".pkg",".png",".ppt",".pptx",".rar",".rtf",".svg",".tar",".tif",".tiff",".txt",".wav",".webm",".webp",".wma",".wmv",".xls",".xlsx",".xml",".zip"])};function fc(e){if("false"==e.getAttribute("data-turbo-eval"))return e;{const t=document.createElement("script"),n=Pc();return n&&(t.nonce=n),t.textContent=e.textContent,t.async=!1,function(e,t){for(const{name:n,value:r}of t.attributes)e.setAttribute(n,r)}(t,e),t}}function mc(e,{target:t,cancelable:n,detail:r}={}){const i=new CustomEvent(e,{cancelable:n,bubbles:!0,composed:!0,detail:r});return t&&t.isConnected?t.dispatchEvent(i):document.documentElement.dispatchEvent(i),i}function pc(e){e.preventDefault(),e.stopImmediatePropagation()}function gc(){return"hidden"===document.visibilityState?vc():bc()}function bc(){return new Promise(e=>requestAnimationFrame(()=>e()))}function vc(){return new Promise(e=>setTimeout(()=>e(),0))}function yc(e=""){return(new DOMParser).parseFromString(e,"text/html")}function Ac(e,...t){const n=function(e,t){return e.reduce((e,n,r)=>e+n+(null==t[r]?"":t[r]),"")}(e,t).replace(/^\n/,"").split("\n"),r=n[0].match(/^\s+/),i=r?r[0].length:0;return n.map(e=>e.slice(i)).join("\n")}function wc(){return Array.from({length:36}).map((e,t)=>8==t||13==t||18==t||23==t?"-":14==t?"4":19==t?(Math.floor(4*Math.random())+8).toString(16):Math.floor(15*Math.random()).toString(16)).join("")}function _c(e,...t){for(const n of t.map(t=>t?.getAttribute(e)))if("string"==typeof n)return n;return null}function Ec(...e){for(const t of e)"turbo-frame"==t.localName&&t.setAttribute("busy",""),t.setAttribute("aria-busy","true")}function Sc(...e){for(const t of e)"turbo-frame"==t.localName&&t.removeAttribute("busy"),t.removeAttribute("aria-busy")}function Cc(e,t=2e3){return new Promise(n=>{const r=()=>{e.removeEventListener("error",r),e.removeEventListener("load",r),n()};e.addEventListener("load",r,{once:!0}),e.addEventListener("error",r,{once:!0}),setTimeout(n,t)})}function kc(e){switch(e){case"replace":return history.replaceState;case"advance":case"restore":return history.pushState}}function Tc(...e){const t=_c("data-turbo-action",...e);return function(e){return"advance"==e||"replace"==e||"restore"==e}(t)?t:null}function xc(e){return document.querySelector(`meta[name="${e}"]`)}function Lc(e){const t=xc(e);return t&&t.content}function Pc(){const e=xc("csp-nonce");if(e){const{nonce:t,content:n}=e;return""==t?n:t}}function Rc(e,t){if(e instanceof Element)return e.closest(t)||Rc(e.assignedSlot||e.getRootNode()?.host,t)}function Oc(e){return!!e&&null==e.closest("[inert], :disabled, [hidden], details:not([open]), dialog:not([open])")&&"function"==typeof e.focus}function Mc(e){return Array.from(e.querySelectorAll("[autofocus]")).find(Oc)}function Ic(e){if("_blank"===e)return!1;if(e){for(const t of document.getElementsByName(e))if(t instanceof HTMLIFrameElement)return!1;return!0}return!0}function Nc(e){return Rc(e,"a[href]:not([target^=_]):not([download])")}function Fc(e){return qc(e.getAttribute("href")||"")}const Dc={"aria-disabled":{beforeSubmit:e=>{e.setAttribute("aria-disabled","true"),e.addEventListener("click",pc)},afterSubmit:e=>{e.removeAttribute("aria-disabled"),e.removeEventListener("click",pc)}},disabled:{beforeSubmit:e=>e.disabled=!0,afterSubmit:e=>e.disabled=!1}},jc=new class{#e=null;constructor(e){Object.assign(this,e)}get submitter(){return this.#e}set submitter(e){this.#e=Dc[e]||e}}({mode:"on",submitter:"disabled"}),Hc={drive:hc,forms:jc};function qc(e){return new URL(e.toString(),document.baseURI)}function Bc(e){let t;return e.hash?e.hash.slice(1):(t=e.href.match(/#(.*)$/))?t[1]:void 0}function zc(e,t){return qc(t?.getAttribute("formaction")||e.getAttribute("action")||e.action)}function $c(e,t){return function(e,t){const n=function(e){return(t=e.origin+e.pathname).endsWith("/")?t:t+"/";var t}(t);return e.href===qc(n).href||e.href.startsWith(n)}(e,t)&&!Hc.drive.unvisitableExtensions.has((n=e,(function(e){return function(e){return e.pathname.split("/").slice(1)}(e).slice(-1)[0]}(n).match(/\.[^.]*$/)||[])[0]||""));var n}function Wc(e){const t=Bc(e);return null!=t?e.href.slice(0,-(t.length+1)):e.href}function Vc(e){return Wc(e)}class Uc{constructor(e){this.response=e}get succeeded(){return this.response.ok}get failed(){return!this.succeeded}get clientError(){return this.statusCode>=400&&this.statusCode<=499}get serverError(){return this.statusCode>=500&&this.statusCode<=599}get redirected(){return this.response.redirected}get location(){return qc(this.response.url)}get isHTML(){return this.contentType&&this.contentType.match(/^(?:text\/([^\s;,]+\b)?html|application\/xhtml\+xml)\b/)}get statusCode(){return this.response.status}get contentType(){return this.header("Content-Type")}get responseText(){return this.response.clone().text()}get responseHTML(){return this.isHTML?this.response.clone().text():Promise.resolve(void 0)}header(e){return this.response.headers.get(e)}}class Yc extends Set{constructor(e){super(),this.maxSize=e}add(e){if(this.size>=this.maxSize){const e=this.values().next().value;this.delete(e)}super.add(e)}}const Qc=new Yc(20),Xc=window.fetch;function Kc(e,t={}){const n=new Headers(t.headers||{}),r=wc();return Qc.add(r),n.append("X-Turbo-Request-Id",r),Xc(e,{...t,headers:n})}function Gc(e){switch(e.toLowerCase()){case"get":return Jc.get;case"post":return Jc.post;case"put":return Jc.put;case"patch":return Jc.patch;case"delete":return Jc.delete}}const Jc={get:"get",post:"post",put:"put",patch:"patch",delete:"delete"};function Zc(e){switch(e.toLowerCase()){case eu.multipart:return eu.multipart;case eu.plain:return eu.plain;default:return eu.urlEncoded}}const eu={urlEncoded:"application/x-www-form-urlencoded",multipart:"multipart/form-data",plain:"text/plain"};class tu{abortController=new AbortController;#t=e=>{};constructor(e,t,n,r=new URLSearchParams,i=null,s=eu.urlEncoded){const[o,a]=ru(qc(n),t,r,s);this.delegate=e,this.url=o,this.target=i,this.fetchOptions={credentials:"same-origin",redirect:"follow",method:t.toUpperCase(),headers:{...this.defaultHeaders},body:a,signal:this.abortSignal,referrer:this.delegate.referrer?.href},this.enctype=s}get method(){return this.fetchOptions.method}set method(e){const t=this.isSafe?this.url.searchParams:this.fetchOptions.body||new FormData,n=Gc(e)||Jc.get;this.url.search="";const[r,i]=ru(this.url,n,t,this.enctype);this.url=r,this.fetchOptions.body=i,this.fetchOptions.method=n.toUpperCase()}get headers(){return this.fetchOptions.headers}set headers(e){this.fetchOptions.headers=e}get body(){return this.isSafe?this.url.searchParams:this.fetchOptions.body}set body(e){this.fetchOptions.body=e}get location(){return this.url}get params(){return this.url.searchParams}get entries(){return this.body?Array.from(this.body.entries()):[]}cancel(){this.abortController.abort()}async perform(){const{fetchOptions:e}=this;this.delegate.prepareRequest(this);const t=await this.#n(e);try{this.delegate.requestStarted(this),t.detail.fetchRequest?this.response=t.detail.fetchRequest.response:this.response=Kc(this.url.href,e);const n=await this.response;return await this.receive(n)}catch(e){if("AbortError"!==e.name)throw this.#r(e)&&this.delegate.requestErrored(this,e),e}finally{this.delegate.requestFinished(this)}}async receive(e){const t=new Uc(e);return mc("turbo:before-fetch-response",{cancelable:!0,detail:{fetchResponse:t},target:this.target}).defaultPrevented?this.delegate.requestPreventedHandlingResponse(this,t):t.succeeded?this.delegate.requestSucceededWithResponse(this,t):this.delegate.requestFailedWithResponse(this,t),t}get defaultHeaders(){return{Accept:"text/html, application/xhtml+xml"}}get isSafe(){return nu(this.method)}get abortSignal(){return this.abortController.signal}acceptResponseType(e){this.headers.Accept=[e,this.headers.Accept].join(", ")}async#n(e){const t=new Promise(e=>this.#t=e),n=mc("turbo:before-fetch-request",{cancelable:!0,detail:{fetchOptions:e,url:this.url,resume:this.#t},target:this.target});return this.url=n.detail.url,n.defaultPrevented&&await t,n}#r(e){return!mc("turbo:fetch-request-error",{target:this.target,cancelable:!0,detail:{request:this,error:e}}).defaultPrevented}}function nu(e){return Gc(e)==Jc.get}function ru(e,t,n,r){const i=Array.from(n).length>0?new URLSearchParams(iu(n)):e.searchParams;return nu(t)?[su(e,i),null]:r==eu.urlEncoded?[e,i]:[e,n]}function iu(e){const t=[];for(const[n,r]of e)r instanceof File||t.push([n,r]);return t}function su(e,t){const n=new URLSearchParams(iu(t));return e.search=n.toString(),e}class ou{started=!1;constructor(e,t){this.delegate=e,this.element=t,this.intersectionObserver=new IntersectionObserver(this.intersect)}start(){this.started||(this.started=!0,this.intersectionObserver.observe(this.element))}stop(){this.started&&(this.started=!1,this.intersectionObserver.unobserve(this.element))}intersect=e=>{const t=e.slice(-1)[0];t?.isIntersecting&&this.delegate.elementAppearedInViewport(this.element)}}class au{static contentType="text/vnd.turbo-stream.html";static wrap(e){return"string"==typeof e?new this(function(e){const t=document.createElement("template");return t.innerHTML=e,t.content}(e)):e}constructor(e){this.fragment=function(e){for(const t of e.querySelectorAll("turbo-stream")){const e=document.importNode(t,!0);for(const t of e.templateElement.content.querySelectorAll("script"))t.replaceWith(fc(t));t.replaceWith(e)}return e}(e)}}const lu=new class{#i=null;#s=null;get(e){if(this.#s&&this.#s.url===e&&this.#s.expire>Date.now())return this.#s.request}setLater(e,t,n){this.clear(),this.#i=setTimeout(()=>{t.perform(),this.set(e,t,n),this.#i=null},100)}set(e,t,n){this.#s={url:e,request:t,expire:new Date((new Date).getTime()+n)}}clear(){this.#i&&clearTimeout(this.#i),this.#s=null}},cu={initialized:"initialized",requesting:"requesting",waiting:"waiting",receiving:"receiving",stopping:"stopping",stopped:"stopped"};class uu{state=cu.initialized;static confirmMethod(e){return Promise.resolve(confirm(e))}constructor(e,t,n,r=!1){const i=function(e,t){return Gc((t?.getAttribute("formmethod")||e.getAttribute("method")||"").toLowerCase())||Jc.get}(t,n),s=function(e,t){const n=qc(e);return nu(t)&&(n.search=""),n}(function(e,t){const n="string"==typeof e.action?e.action:null;return t?.hasAttribute("formaction")?t.getAttribute("formaction")||"":e.getAttribute("action")||n||""}(t,n),i),o=function(e,t){const n=new FormData(e),r=t?.getAttribute("name"),i=t?.getAttribute("value");return r&&n.append(r,i||""),n}(t,n),a=function(e,t){return Zc(t?.getAttribute("formenctype")||e.enctype)}(t,n);this.delegate=e,this.formElement=t,this.submitter=n,this.fetchRequest=new tu(this,i,s,o,t,a),this.mustRedirect=r}get method(){return this.fetchRequest.method}set method(e){this.fetchRequest.method=e}get action(){return this.fetchRequest.url.toString()}set action(e){this.fetchRequest.url=qc(e)}get body(){return this.fetchRequest.body}get enctype(){return this.fetchRequest.enctype}get isSafe(){return this.fetchRequest.isSafe}get location(){return this.fetchRequest.url}async start(){const{initialized:e,requesting:t}=cu,n=_c("data-turbo-confirm",this.submitter,this.formElement);if("string"==typeof n){const e="function"==typeof Hc.forms.confirm?Hc.forms.confirm:uu.confirmMethod;if(!await e(n,this.formElement,this.submitter))return}if(this.state==e)return this.state=t,this.fetchRequest.perform()}stop(){const{stopping:e,stopped:t}=cu;if(this.state!=e&&this.state!=t)return this.state=e,this.fetchRequest.cancel(),!0}prepareRequest(e){if(!e.isSafe){const t=function(e){if(null!=e){const t=(document.cookie?document.cookie.split("; "):[]).find(t=>t.startsWith(e));if(t){const e=t.split("=").slice(1).join("=");return e?decodeURIComponent(e):void 0}}}(Lc("csrf-param"))||Lc("csrf-token");t&&(e.headers["X-CSRF-Token"]=t)}this.requestAcceptsTurboStreamResponse(e)&&e.acceptResponseType(au.contentType)}requestStarted(e){this.state=cu.waiting,this.submitter&&Hc.forms.submitter.beforeSubmit(this.submitter),this.setSubmitsWith(),Ec(this.formElement),mc("turbo:submit-start",{target:this.formElement,detail:{formSubmission:this}}),this.delegate.formSubmissionStarted(this)}requestPreventedHandlingResponse(e,t){lu.clear(),this.result={success:t.succeeded,fetchResponse:t}}requestSucceededWithResponse(e,t){if(t.clientError||t.serverError)this.delegate.formSubmissionFailedWithResponse(this,t);else if(lu.clear(),this.requestMustRedirect(e)&&function(e){return 200==e.statusCode&&!e.redirected}(t)){const e=new Error("Form responses must redirect to another location");this.delegate.formSubmissionErrored(this,e)}else this.state=cu.receiving,this.result={success:!0,fetchResponse:t},this.delegate.formSubmissionSucceededWithResponse(this,t)}requestFailedWithResponse(e,t){this.result={success:!1,fetchResponse:t},this.delegate.formSubmissionFailedWithResponse(this,t)}requestErrored(e,t){this.result={success:!1,error:t},this.delegate.formSubmissionErrored(this,t)}requestFinished(e){this.state=cu.stopped,this.submitter&&Hc.forms.submitter.afterSubmit(this.submitter),this.resetSubmitterText(),Sc(this.formElement),mc("turbo:submit-end",{target:this.formElement,detail:{formSubmission:this,...this.result}}),this.delegate.formSubmissionFinished(this)}setSubmitsWith(){if(this.submitter&&this.submitsWith)if(this.submitter.matches("button"))this.originalSubmitText=this.submitter.innerHTML,this.submitter.innerHTML=this.submitsWith;else if(this.submitter.matches("input")){const e=this.submitter;this.originalSubmitText=e.value,e.value=this.submitsWith}}resetSubmitterText(){this.submitter&&this.originalSubmitText&&(this.submitter.matches("button")?this.submitter.innerHTML=this.originalSubmitText:this.submitter.matches("input")&&(this.submitter.value=this.originalSubmitText))}requestMustRedirect(e){return!e.isSafe&&this.mustRedirect}requestAcceptsTurboStreamResponse(e){return!e.isSafe||function(e,...t){return t.some(t=>t&&t.hasAttribute(e))}("data-turbo-stream",this.submitter,this.formElement)}get submitsWith(){return this.submitter?.getAttribute("data-turbo-submits-with")}}class du{constructor(e){this.element=e}get activeElement(){return this.element.ownerDocument.activeElement}get children(){return[...this.element.children]}hasAnchor(e){return null!=this.getElementForAnchor(e)}getElementForAnchor(e){return e?this.element.querySelector(`[id='${e}'], a[name='${e}']`):null}get isConnected(){return this.element.isConnected}get firstAutofocusableElement(){return Mc(this.element)}get permanentElements(){return fu(this.element)}getPermanentElementById(e){return hu(this.element,e)}getPermanentElementMapForSnapshot(e){const t={};for(const n of this.permanentElements){const{id:r}=n,i=e.getPermanentElementById(r);i&&(t[r]=[n,i])}return t}}function hu(e,t){return e.querySelector(`#${t}[data-turbo-permanent]`)}function fu(e){return e.querySelectorAll("[id][data-turbo-permanent]")}class mu{started=!1;constructor(e,t){this.delegate=e,this.eventTarget=t}start(){this.started||(this.eventTarget.addEventListener("submit",this.submitCaptured,!0),this.started=!0)}stop(){this.started&&(this.eventTarget.removeEventListener("submit",this.submitCaptured,!0),this.started=!1)}submitCaptured=()=>{this.eventTarget.removeEventListener("submit",this.submitBubbled,!1),this.eventTarget.addEventListener("submit",this.submitBubbled,!1)};submitBubbled=e=>{if(!e.defaultPrevented){const t=e.target instanceof HTMLFormElement?e.target:void 0,n=e.submitter||void 0;t&&function(e,t){return"dialog"!=(t?.getAttribute("formmethod")||e.getAttribute("method"))}(t,n)&&function(e,t){return Ic(t?.getAttribute("formtarget")||e.getAttribute("target"))}(t,n)&&this.delegate.willSubmitForm(t,n)&&(e.preventDefault(),e.stopImmediatePropagation(),this.delegate.formSubmitted(t,n))}}}class pu{#o=e=>{};#a=e=>{};constructor(e,t){this.delegate=e,this.element=t}scrollToAnchor(e){const t=this.snapshot.getElementForAnchor(e);t?(this.scrollToElement(t),this.focusElement(t)):this.scrollToPosition({x:0,y:0})}scrollToAnchorFromLocation(e){this.scrollToAnchor(Bc(e))}scrollToElement(e){e.scrollIntoView()}focusElement(e){e instanceof HTMLElement&&(e.hasAttribute("tabindex")?e.focus():(e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")))}scrollToPosition({x:e,y:t}){this.scrollRoot.scrollTo(e,t)}scrollToTop(){this.scrollToPosition({x:0,y:0})}get scrollRoot(){return window}async render(e){const{isPreview:t,shouldRender:n,willRender:r,newSnapshot:i}=e,s=r;if(n)try{this.renderPromise=new Promise(e=>this.#o=e),this.renderer=e,await this.prepareToRenderSnapshot(e);const n=new Promise(e=>this.#a=e),r={resume:this.#a,render:this.renderer.renderElement,renderMethod:this.renderer.renderMethod};this.delegate.allowsImmediateRender(i,r)||await n,await this.renderSnapshot(e),this.delegate.viewRenderedSnapshot(i,t,this.renderer.renderMethod),this.delegate.preloadOnLoadLinksForView(this.element),this.finishRenderingSnapshot(e)}finally{delete this.renderer,this.#o(void 0),delete this.renderPromise}else s&&this.invalidate(e.reloadReason)}invalidate(e){this.delegate.viewInvalidated(e)}async prepareToRenderSnapshot(e){this.markAsPreview(e.isPreview),await e.prepareToRender()}markAsPreview(e){e?this.element.setAttribute("data-turbo-preview",""):this.element.removeAttribute("data-turbo-preview")}markVisitDirection(e){this.element.setAttribute("data-turbo-visit-direction",e)}unmarkVisitDirection(){this.element.removeAttribute("data-turbo-visit-direction")}async renderSnapshot(e){await e.render()}finishRenderingSnapshot(e){e.finishRendering()}}class gu extends pu{missing(){this.element.innerHTML='Content missing'}get snapshot(){return new du(this.element)}}class bu{constructor(e,t){this.delegate=e,this.element=t}start(){this.element.addEventListener("click",this.clickBubbled),document.addEventListener("turbo:click",this.linkClicked),document.addEventListener("turbo:before-visit",this.willVisit)}stop(){this.element.removeEventListener("click",this.clickBubbled),document.removeEventListener("turbo:click",this.linkClicked),document.removeEventListener("turbo:before-visit",this.willVisit)}clickBubbled=e=>{this.clickEventIsSignificant(e)?this.clickEvent=e:delete this.clickEvent};linkClicked=e=>{this.clickEvent&&this.clickEventIsSignificant(e)&&this.delegate.shouldInterceptLinkClick(e.target,e.detail.url,e.detail.originalEvent)&&(this.clickEvent.preventDefault(),e.preventDefault(),this.delegate.linkClickIntercepted(e.target,e.detail.url,e.detail.originalEvent)),delete this.clickEvent};willVisit=e=>{delete this.clickEvent};clickEventIsSignificant(e){const t=e.composed?e.target?.parentElement:e.target,n=Nc(t)||t;return n instanceof Element&&n.closest("turbo-frame, html")==this.element}}class vu{started=!1;constructor(e,t){this.delegate=e,this.eventTarget=t}start(){this.started||(this.eventTarget.addEventListener("click",this.clickCaptured,!0),this.started=!0)}stop(){this.started&&(this.eventTarget.removeEventListener("click",this.clickCaptured,!0),this.started=!1)}clickCaptured=()=>{this.eventTarget.removeEventListener("click",this.clickBubbled,!1),this.eventTarget.addEventListener("click",this.clickBubbled,!1)};clickBubbled=e=>{if(e instanceof MouseEvent&&this.clickEventIsSignificant(e)){const t=Nc(e.composedPath&&e.composedPath()[0]||e.target);if(t&&Ic(t.target)){const n=Fc(t);this.delegate.willFollowLinkToLocation(t,n,e)&&(e.preventDefault(),this.delegate.followedLinkToLocation(t,n))}}};clickEventIsSignificant(e){return!(e.target&&e.target.isContentEditable||e.defaultPrevented||e.which>1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)}}class yu{constructor(e,t){this.delegate=e,this.linkInterceptor=new vu(this,t)}start(){this.linkInterceptor.start()}stop(){this.linkInterceptor.stop()}canPrefetchRequestToLocation(e,t){return!1}prefetchAndCacheRequestToLocation(e,t){}willFollowLinkToLocation(e,t,n){return this.delegate.willSubmitFormLinkToLocation(e,t,n)&&(e.hasAttribute("data-turbo-method")||e.hasAttribute("data-turbo-stream"))}followedLinkToLocation(e,t){const n=document.createElement("form");for(const[e,r]of t.searchParams)n.append(Object.assign(document.createElement("input"),{type:"hidden",name:e,value:r}));const r=Object.assign(t,{search:""});n.setAttribute("data-turbo","true"),n.setAttribute("action",r.href),n.setAttribute("hidden","");const i=e.getAttribute("data-turbo-method");i&&n.setAttribute("method",i);const s=e.getAttribute("data-turbo-frame");s&&n.setAttribute("data-turbo-frame",s);const o=Tc(e);o&&n.setAttribute("data-turbo-action",o);const a=e.getAttribute("data-turbo-confirm");a&&n.setAttribute("data-turbo-confirm",a),e.hasAttribute("data-turbo-stream")&&n.setAttribute("data-turbo-stream",""),this.delegate.submittedFormLinkToLocation(e,t,n),document.body.appendChild(n),n.addEventListener("turbo:submit-end",()=>n.remove(),{once:!0}),requestAnimationFrame(()=>n.requestSubmit())}}class Au{static async preservingPermanentElements(e,t,n){const r=new this(e,t);r.enter(),await n(),r.leave()}constructor(e,t){this.delegate=e,this.permanentElementMap=t}enter(){for(const e in this.permanentElementMap){const[t,n]=this.permanentElementMap[e];this.delegate.enteringBardo(t,n),this.replaceNewPermanentElementWithPlaceholder(n)}}leave(){for(const e in this.permanentElementMap){const[t]=this.permanentElementMap[e];this.replaceCurrentPermanentElementWithClone(t),this.replacePlaceholderWithPermanentElement(t),this.delegate.leavingBardo(t)}}replaceNewPermanentElementWithPlaceholder(e){const t=function(e){const t=document.createElement("meta");return t.setAttribute("name","turbo-permanent-placeholder"),t.setAttribute("content",e.id),t}(e);e.replaceWith(t)}replaceCurrentPermanentElementWithClone(e){const t=e.cloneNode(!0);e.replaceWith(t)}replacePlaceholderWithPermanentElement(e){const t=this.getPlaceholderById(e.id);t?.replaceWith(e)}getPlaceholderById(e){return this.placeholders.find(t=>t.content==e)}get placeholders(){return[...document.querySelectorAll("meta[name=turbo-permanent-placeholder][content]")]}}class wu{#l=null;static renderElement(e,t){}constructor(e,t,n,r=!0){this.currentSnapshot=e,this.newSnapshot=t,this.isPreview=n,this.willRender=r,this.renderElement=this.constructor.renderElement,this.promise=new Promise((e,t)=>this.resolvingFunctions={resolve:e,reject:t})}get shouldRender(){return!0}get shouldAutofocus(){return!0}get reloadReason(){}prepareToRender(){}render(){}finishRendering(){this.resolvingFunctions&&(this.resolvingFunctions.resolve(),delete this.resolvingFunctions)}async preservingPermanentElements(e){await Au.preservingPermanentElements(this,this.permanentElementMap,e)}focusFirstAutofocusableElement(){if(this.shouldAutofocus){const e=this.connectedSnapshot.firstAutofocusableElement;e&&e.focus()}}enteringBardo(e){this.#l||e.contains(this.currentSnapshot.activeElement)&&(this.#l=this.currentSnapshot.activeElement)}leavingBardo(e){e.contains(this.#l)&&this.#l instanceof HTMLElement&&(this.#l.focus(),this.#l=null)}get connectedSnapshot(){return this.newSnapshot.isConnected?this.newSnapshot:this.currentSnapshot}get currentElement(){return this.currentSnapshot.element}get newElement(){return this.newSnapshot.element}get permanentElementMap(){return this.currentSnapshot.getPermanentElementMapForSnapshot(this.newSnapshot)}get renderMethod(){return"replace"}}class _u extends wu{static renderElement(e,t){const n=document.createRange();n.selectNodeContents(e),n.deleteContents();const r=t,i=r.ownerDocument?.createRange();i&&(i.selectNodeContents(r),e.appendChild(i.extractContents()))}constructor(e,t,n,r,i,s=!0){super(t,n,r,i,s),this.delegate=e}get shouldRender(){return!0}async render(){await gc(),this.preservingPermanentElements(()=>{this.loadFrameElement()}),this.scrollFrameIntoView(),await gc(),this.focusFirstAutofocusableElement(),await gc(),this.activateScriptElements()}loadFrameElement(){this.delegate.willRenderFrame(this.currentElement,this.newElement),this.renderElement(this.currentElement,this.newElement)}scrollFrameIntoView(){if(this.currentElement.autoscroll||this.newElement.autoscroll){const t=this.currentElement.firstElementChild,n="end"==(e=this.currentElement.getAttribute("data-autoscroll-block"))||"start"==e||"center"==e||"nearest"==e?e:"end",r=function(e){return"auto"==e||"smooth"==e?e:"auto"}(this.currentElement.getAttribute("data-autoscroll-behavior"));if(t)return t.scrollIntoView({block:n,behavior:r}),!0}var e;return!1}activateScriptElements(){for(const e of this.newScriptElements){const t=fc(e);e.replaceWith(t)}}get newScriptElements(){return this.currentElement.querySelectorAll("script")}}var Eu=function(){const e=()=>{},t={morphStyle:"outerHTML",callbacks:{beforeNodeAdded:e,afterNodeAdded:e,beforeNodeMorphed:e,afterNodeMorphed:e,beforeNodeRemoved:e,afterNodeRemoved:e,beforeAttributeUpdated:e},head:{style:"merge",shouldPreserve:e=>"true"===e.getAttribute("im-preserve"),shouldReAppend:e=>"true"===e.getAttribute("im-re-append"),shouldRemove:e,afterHeadMorphed:e},restoreFocus:!0},n=function(){function e(e,t,n,i){if(!1===i.callbacks.beforeNodeAdded(t))return null;if(i.idMap.has(t)){const s=document.createElement(t.tagName);return e.insertBefore(s,n),r(s,t,i),i.callbacks.afterNodeAdded(s),s}{const r=document.importNode(t,!0);return e.insertBefore(r,n),i.callbacks.afterNodeAdded(r),r}}const t=function(){function e(e,t,n){let r=e.idMap.get(t),i=e.idMap.get(n);if(!i||!r)return!1;for(const e of r)if(i.has(e))return!0;return!1}function t(e,t){const n=e,r=t;return n.nodeType===r.nodeType&&n.tagName===r.tagName&&(!n.id||n.id===r.id)}return function(n,r,i,s){let o=null,a=r.nextSibling,l=0,c=i;for(;c&&c!=s;){if(t(c,r)){if(e(n,c,r))return c;null===o&&(n.idMap.has(c)||(o=c))}if(null===o&&a&&t(c,a)&&(l++,a=a.nextSibling,l>=2&&(o=void 0)),c.contains(document.activeElement))break;c=c.nextSibling}return o||null}}();function n(e,t){if(e.idMap.has(t))o(e.pantry,t,null);else{if(!1===e.callbacks.beforeNodeRemoved(t))return;t.parentNode?.removeChild(t),e.callbacks.afterNodeRemoved(t)}}function i(e,t,r){let i=t;for(;i&&i!==r;){let t=i;i=i.nextSibling,n(e,t)}return i}function s(e,t,n,r){const i=r.target.querySelector(`#${t}`)||r.pantry.querySelector(`#${t}`);return function(e,t){const n=e.id;for(;e=e.parentNode;){let r=t.idMap.get(e);r&&(r.delete(n),r.size||t.idMap.delete(e))}}(i,r),o(e,i,n),i}function o(e,t,n){if(e.moveBefore)try{e.moveBefore(t,n)}catch(r){e.insertBefore(t,n)}else e.insertBefore(t,n)}return function(o,a,l,c=null,u=null){a instanceof HTMLTemplateElement&&l instanceof HTMLTemplateElement&&(a=a.content,l=l.content),c||=a.firstChild;for(const n of l.childNodes){if(c&&c!=u){const e=t(o,n,c,u);if(e){e!==c&&i(o,c,e),r(e,n,o),c=e.nextSibling;continue}}if(n instanceof Element&&o.persistentIds.has(n.id)){const e=s(a,n.id,c,o);r(e,n,o),c=e.nextSibling;continue}const l=e(a,n,c,o);l&&(c=l.nextSibling)}for(;c&&c!=u;){const e=c;c=c.nextSibling,n(o,e)}}}(),r=function(){function e(e,n,r,i){const s=n[r];if(s!==e[r]){const o=t(r,e,"update",i);o||(e[r]=n[r]),s?o||e.setAttribute(r,""):t(r,e,"remove",i)||e.removeAttribute(r)}}function t(e,t,n,r){return!("value"!==e||!r.ignoreActiveValue||t!==document.activeElement)||!1===r.callbacks.beforeAttributeUpdated(e,t,n)}function r(e,t){return!!t.ignoreActiveValue&&e===document.activeElement&&e!==document.body}return function(s,o,a){return a.ignoreActive&&s===document.activeElement?null:(!1===a.callbacks.beforeNodeMorphed(s,o)||(s instanceof HTMLHeadElement&&a.head.ignore||(s instanceof HTMLHeadElement&&"morph"!==a.head.style?i(s,o,a):(function(n,i,s){let o=i.nodeType;if(1===o){const o=n,a=i,l=o.attributes,c=a.attributes;for(const e of c)t(e.name,o,"update",s)||o.getAttribute(e.name)!==e.value&&o.setAttribute(e.name,e.value);for(let e=l.length-1;0<=e;e--){const n=l[e];if(n&&!a.hasAttribute(n.name)){if(t(n.name,o,"remove",s))continue;o.removeAttribute(n.name)}}r(o,s)||function(n,r,i){if(n instanceof HTMLInputElement&&r instanceof HTMLInputElement&&"file"!==r.type){let s=r.value,o=n.value;e(n,r,"checked",i),e(n,r,"disabled",i),r.hasAttribute("value")?o!==s&&(t("value",n,"update",i)||(n.setAttribute("value",s),n.value=s)):t("value",n,"remove",i)||(n.value="",n.removeAttribute("value"))}else if(n instanceof HTMLOptionElement&&r instanceof HTMLOptionElement)e(n,r,"selected",i);else if(n instanceof HTMLTextAreaElement&&r instanceof HTMLTextAreaElement){let e=r.value,s=n.value;if(t("value",n,"update",i))return;e!==s&&(n.value=e),n.firstChild&&n.firstChild.nodeValue!==e&&(n.firstChild.nodeValue=e)}}(o,a,s)}8!==o&&3!==o||n.nodeValue!==i.nodeValue&&(n.nodeValue=i.nodeValue)}(s,o,a),r(s,a)||n(a,s,o))),a.callbacks.afterNodeMorphed(s,o)),s)}}();function i(e,t,n){let r=[],i=[],s=[],o=[],a=new Map;for(const e of t.children)a.set(e.outerHTML,e);for(const t of e.children){let e=a.has(t.outerHTML),r=n.head.shouldReAppend(t),l=n.head.shouldPreserve(t);e||l?r?i.push(t):(a.delete(t.outerHTML),s.push(t)):"append"===n.head.style?r&&(i.push(t),o.push(t)):!1!==n.head.shouldRemove(t)&&i.push(t)}o.push(...a.values());let l=[];for(const t of o){let i=document.createRange().createContextualFragment(t.outerHTML).firstChild;if(!1!==n.callbacks.beforeNodeAdded(i)){if("href"in i&&i.href||"src"in i&&i.src){let e,t=new Promise(function(t){e=t});i.addEventListener("load",function(){e()}),l.push(t)}e.appendChild(i),n.callbacks.afterNodeAdded(i),r.push(i)}}for(const t of i)!1!==n.callbacks.beforeNodeRemoved(t)&&(e.removeChild(t),n.callbacks.afterNodeRemoved(t));return n.head.afterHeadMorphed(e,{added:r,kept:s,removed:i}),l}const s=function(){function e(){const e=document.createElement("div");return e.hidden=!0,document.body.insertAdjacentElement("afterend",e),e}function n(e){let t=Array.from(e.querySelectorAll("[id]"));return e.id&&t.push(e),t}function r(e,t,n,r){for(const i of r)if(t.has(i.id)){let t=i;for(;t;){let r=e.get(t);if(null==r&&(r=new Set,e.set(t,r)),r.add(i.id),t===n)break;t=t.parentElement}}}return function(i,s,o){const{persistentIds:a,idMap:l}=function(e,t){const i=n(e),s=n(t),o=function(e,t){let n=new Set,r=new Map;for(const{id:t,tagName:i}of e)r.has(t)?n.add(t):r.set(t,i);let i=new Set;for(const{id:e,tagName:s}of t)i.has(e)?n.add(e):r.get(e)===s&&i.add(e);for(const e of n)i.delete(e);return i}(i,s);let a=new Map;r(a,o,e,i);return r(a,o,t.__idiomorphRoot||t,s),{persistentIds:o,idMap:a}}(i,s),c=function(e){let n=Object.assign({},t);return Object.assign(n,e),n.callbacks=Object.assign({},t.callbacks,e.callbacks),n.head=Object.assign({},t.head,e.head),n}(o),u=c.morphStyle||"outerHTML";if(!["innerHTML","outerHTML"].includes(u))throw`Do not understand how to morph style ${u}`;return{target:i,newContent:s,config:c,morphStyle:u,ignoreActive:c.ignoreActive,ignoreActiveValue:c.ignoreActiveValue,restoreFocus:c.restoreFocus,idMap:l,persistentIds:a,pantry:e(),callbacks:c.callbacks,head:c.head}}}(),{normalizeElement:o,normalizeParent:a}=function(){const e=new WeakSet;return{normalizeElement:function(e){return e instanceof Document?e.documentElement:e},normalizeParent:function t(n){if(null==n)return document.createElement("div");if("string"==typeof n)return t(function(t){let n=new DOMParser,r=t.replace(/]*>|>)([\s\S]*?)<\/svg>/gim,"");if(r.match(/<\/html>/)||r.match(/<\/head>/)||r.match(/<\/body>/)){let i=n.parseFromString(t,"text/html");if(r.match(/<\/html>/))return e.add(i),i;{let t=i.firstChild;return t&&e.add(t),t}}{let r=n.parseFromString("","text/html").body.querySelector("template").content;return e.add(r),r}}(n));if(e.has(n))return n;if(n instanceof Node){if(n.parentNode)return function(e){return{childNodes:[e],querySelectorAll:t=>{const n=e.querySelectorAll(t);return e.matches(t)?[e,...n]:n},insertBefore:(t,n)=>e.parentNode.insertBefore(t,n),moveBefore:(t,n)=>e.parentNode.moveBefore(t,n),get __idiomorphRoot(){return e}}}(n);{const e=document.createElement("div");return e.append(n),e}}{const e=document.createElement("div");for(const t of[...n])e.append(t);return e}}}}();return{morph:function(e,t,r={}){e=o(e);const l=a(t),c=s(e,l,r),u=function(e,t){if(!e.config.restoreFocus)return t();let n=document.activeElement;if(!(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement))return t();const{id:r,selectionStart:i,selectionEnd:s}=n,o=t();return r&&r!==document.activeElement?.id&&(n=e.target.querySelector(`#${r}`),n?.focus()),n&&!n.selectionEnd&&s&&n.setSelectionRange(i,s),o}(c,()=>function(e,t,n,r){if(e.head.block){const s=t.querySelector("head"),o=n.querySelector("head");if(s&&o){const t=i(s,o,e);return Promise.all(t).then(()=>{const t=Object.assign(e,{head:{block:!1,ignore:!0}});return r(t)})}}return r(e)}(c,e,l,t=>"innerHTML"===t.morphStyle?(n(t,e,l),Array.from(e.childNodes)):function(e,t,r){const i=a(t);let s=Array.from(i.childNodes);const o=s.indexOf(t),l=s.length-(o+1);return n(e,i,r,t,t.nextSibling),s=Array.from(i.childNodes),s.slice(o,s.length-l)}(t,e,l)));return c.pantry.remove(),u},defaults:t}}();function Su(e,t,{callbacks:n,...r}={}){Eu.morph(e,t,{...r,callbacks:new ku(n)})}function Cu(e,t){Su(e,t.childNodes,{morphStyle:"innerHTML"})}class ku{#c;constructor({beforeNodeMorphed:e}={}){this.#c=e||(()=>!0)}beforeNodeAdded=e=>!(e.id&&e.hasAttribute("data-turbo-permanent")&&document.getElementById(e.id));beforeNodeMorphed=(e,t)=>{if(e instanceof Element)return!(e.hasAttribute("data-turbo-permanent")||!this.#c(e,t))&&!mc("turbo:before-morph-element",{cancelable:!0,target:e,detail:{currentElement:e,newElement:t}}).defaultPrevented};beforeAttributeUpdated=(e,t,n)=>!mc("turbo:before-morph-attribute",{cancelable:!0,target:t,detail:{attributeName:e,mutationType:n}}).defaultPrevented;beforeNodeRemoved=e=>this.beforeNodeMorphed(e);afterNodeMorphed=(e,t)=>{e instanceof Element&&mc("turbo:morph-element",{target:e,detail:{currentElement:e,newElement:t}})}}class Tu extends _u{static renderElement(e,t){mc("turbo:before-frame-morph",{target:e,detail:{currentElement:e,newElement:t}}),Cu(e,t)}async preservingPermanentElements(e){return await e()}}class xu{static animationDuration=300;static get defaultCSS(){return Ac` +!function(){var e={827:function(e,t){"use strict";t.mw={prefix:"fab",iconName:"github",icon:[512,512,[],"f09b","M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM252.8 8c-138.7 0-244.8 105.3-244.8 244 0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1 100-33.2 167.8-128.1 167.8-239 0-138.7-112.5-244-251.2-244zM105.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},t.Vz=t.mw},198:function(e,t){"use strict";t.mw={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32L31.9 32C14.3 32 0 46.5 0 64.3L0 447.7C0 465.5 14.3 480 31.9 480L416 480c17.6 0 32-14.5 32-32.3l0-383.4C448 46.5 433.6 32 416 32zM135.4 416l-66.4 0 0-213.8 66.5 0 0 213.8-.1 0zM102.2 96a38.5 38.5 0 1 1 0 77 38.5 38.5 0 1 1 0-77zM384.3 416l-66.4 0 0-104c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9l0 105.8-66.4 0 0-213.8 63.7 0 0 29.2 .9 0c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9l0 117.2z"]},t.IA=t.mw},789:function(e,t){"use strict";t.mw={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.4 151.7c.3 4.5 .3 9.1 .3 13.6 0 138.7-105.6 298.6-298.6 298.6-59.5 0-114.7-17.2-161.1-47.1 8.4 1 16.6 1.3 25.3 1.3 49.1 0 94.2-16.6 130.3-44.8-46.1-1-84.8-31.2-98.1-72.8 6.5 1 13 1.6 19.8 1.6 9.4 0 18.8-1.3 27.6-3.6-48.1-9.7-84.1-52-84.1-103l0-1.3c14 7.8 30.2 12.7 47.4 13.3-28.3-18.8-46.8-51-46.8-87.4 0-19.5 5.2-37.4 14.3-53 51.7 63.7 129.3 105.3 216.4 109.8-1.6-7.8-2.6-15.9-2.6-24 0-57.8 46.8-104.9 104.9-104.9 30.2 0 57.5 12.7 76.7 33.1 23.7-4.5 46.5-13.3 66.6-25.3-7.8 24.4-24.4 44.8-46.1 57.8 21.1-2.3 41.6-8.1 60.4-16.2-14.3 20.8-32.2 39.3-52.6 54.3z"]},t.HQ=t.mw},203:function(e,t){"use strict";t.mw={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm80 256l64 0c44.2 0 80 35.8 80 80 0 8.8-7.2 16-16 16L80 384c-8.8 0-16-7.2-16-16 0-44.2 35.8-80 80-80zm-24-96a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm240-48l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 96l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},t.oM=t.mw},345:function(e,t){"use strict";t.mw={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64c-26.5 0-48 21.5-48 48 0 15.1 7.1 29.3 19.2 38.4l208 156c17.1 12.8 40.5 12.8 57.6 0l208-156c12.1-9.1 19.2-23.3 19.2-38.4 0-26.5-21.5-48-48-48L48 64zM0 196L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-188-198.4 148.8c-34.1 25.6-81.1 25.6-115.2 0L0 196z"]},t.y_=t.mw},909:function(e,t){"use strict";t.mw={prefix:"fas",iconName:"rss",icon:[448,512,["feed"],"f09e","M0 64c0-17.7 14.3-32 32-32 229.8 0 416 186.2 416 416 0 17.7-14.3 32-32 32s-32-14.3-32-32C384 253.6 226.4 96 32 96 14.3 96 0 81.7 0 64zM0 416a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM32 160c159.1 0 288 128.9 288 288 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-123.7-100.3-224-224-224-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},t.eG=t.mw},531:function(e,t){var n,i,r;!function(){"use strict";i=[],void 0===(r="function"==typeof(n=function(){return function(e){function t(e){e.icon=Object.prototype.hasOwnProperty.call(e,"icon")?e.icon:"",e.visible=Object.prototype.hasOwnProperty.call(e,"visible")?e.visible:"hover",e.placement=Object.prototype.hasOwnProperty.call(e,"placement")?e.placement:"right",e.ariaLabel=Object.prototype.hasOwnProperty.call(e,"ariaLabel")?e.ariaLabel:"Anchor",e.class=Object.prototype.hasOwnProperty.call(e,"class")?e.class:"",e.base=Object.prototype.hasOwnProperty.call(e,"base")?e.base:"",e.truncate=Object.prototype.hasOwnProperty.call(e,"truncate")?Math.floor(e.truncate):64,e.titleText=Object.prototype.hasOwnProperty.call(e,"titleText")?e.titleText:""}function n(e){var t;if("string"==typeof e||e instanceof String)t=[].slice.call(document.querySelectorAll(e));else{if(!(Array.isArray(e)||e instanceof NodeList))throw new TypeError("The selector provided to AnchorJS was invalid.");t=[].slice.call(e)}return t}this.options=e||{},this.elements=[],t(this.options),this.add=function(e){var i,r,s,o,a,l,c,u,d,h,f,m=[];if(t(this.options),e||(e="h2, h3, h4, h5, h6"),0===(i=n(e)).length)return this;for(function(){if(null===document.head.querySelector("style.anchorjs")){var e,t=document.createElement("style");t.className="anchorjs",t.appendChild(document.createTextNode("")),void 0===(e=document.head.querySelector('[rel="stylesheet"],style'))?document.head.appendChild(t):document.head.insertBefore(t,e),t.sheet.insertRule(".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",t.sheet.cssRules.length),t.sheet.insertRule(":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",t.sheet.cssRules.length),t.sheet.insertRule("[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",t.sheet.cssRules.length),t.sheet.insertRule('@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',t.sheet.cssRules.length)}}(),r=document.querySelectorAll("[id]"),s=[].map.call(r,function(e){return e.id}),a=0;a\]./()*\\\n\t\b\v\u00A0]/g,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(e){var t=e.firstChild&&(" "+e.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,n=e.lastChild&&(" "+e.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return t||n||!1}}})?n.apply(t,i):n)||(e.exports=r)}(globalThis)}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,n),s.exports}n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={};n.r(e),n.d(e,{afterMain:function(){return bi},afterRead:function(){return mi},afterWrite:function(){return Ai},applyStyles:function(){return ki},arrow:function(){return Yi},auto:function(){return ni},basePlacements:function(){return ii},beforeMain:function(){return pi},beforeRead:function(){return hi},beforeWrite:function(){return vi},bottom:function(){return Zn},clippingParents:function(){return oi},computeStyles:function(){return Gi},createPopper:function(){return xr},createPopperBase:function(){return Cr},createPopperLite:function(){return kr},detectOverflow:function(){return hr},end:function(){return si},eventListeners:function(){return Zi},flip:function(){return fr},hide:function(){return gr},left:function(){return ti},main:function(){return gi},modifierPhases:function(){return wi},offset:function(){return br},placements:function(){return di},popper:function(){return li},popperGenerator:function(){return Sr},popperOffsets:function(){return vr},preventOverflow:function(){return yr},read:function(){return fi},reference:function(){return ci},right:function(){return ei},start:function(){return ri},top:function(){return Jn},variationPlacements:function(){return ui},viewport:function(){return ai},write:function(){return yi}});var t={};function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}function o(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function l(e){for(var t=1;t0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function He(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function qe(e){return e.classList?He(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function Be(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function ze(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function $e(e){return e.size!==De.size||e.x!==De.x||e.y!==De.y||e.rotate!==De.rotate||e.flipX||e.flipY}function We(){var e="fa",t=oe,n=Me.cssPrefix,i=Me.replacementClass,r=":root, :host {\n --fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';\n --fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';\n --fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';\n --fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';\n --fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';\n --fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';\n --fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';\n --fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';\n --fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';\n --fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';\n --fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';\n --fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';\n --fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';\n --fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';\n --fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';\n --fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';\n --fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';\n --fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';\n --fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';\n --fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';\n --fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';\n --fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';\n --fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';\n --fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';\n --fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';\n --fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';\n --fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';\n --fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';\n --fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';\n --fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';\n --fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';\n --fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}";if(n!==e||i!==t){var s=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");r=r.replace(s,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(i))}return r}var Ve=!1;function Ue(){Me.autoAddCss&&!Ve&&(function(e){if(e&&k){var t=S.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=S.head.childNodes,i=null,r=n.length-1;r>-1;r--){var s=n[r],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=s)}S.head.insertBefore(t,i)}}(We()),Ve=!0)}var Ye={mixout:function(){return{dom:{css:We,insertCss:Ue}}},hooks:function(){return{beforeDOMElementCreation:function(){Ue()},beforeI2svg:function(){Ue()}}}},Qe=E||{};Qe[se]||(Qe[se]={}),Qe[se].styles||(Qe[se].styles={}),Qe[se].hooks||(Qe[se].hooks={}),Qe[se].shims||(Qe[se].shims=[]);var Ke=Qe[se],Xe=[],Ge=function(){S.removeEventListener("DOMContentLoaded",Ge),Je=1,Xe.map(function(e){return e()})},Je=!1;function Ze(e){var t=e.tag,n=e.attributes,i=void 0===n?{}:n,r=e.children,s=void 0===r?[]:r;return"string"==typeof e?Be(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Be(e[n]),'" ')},"").trim()}(i),">").concat(s.map(Ze).join(""),"")}function et(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}k&&((Je=(S.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(S.readyState))||S.addEventListener("DOMContentLoaded",Ge));var tt=function(e,t,n,i){var r,s,o,a=Object.keys(e),l=a.length,c=void 0!==i?function(e,t){return function(n,i,r,s){return e.call(t,n,i,r,s)}}(t,i):t;for(void 0===n?(r=1,o=e[a[0]]):(r=0,o=n);r2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,i=void 0!==n&&n,r=it(t);"function"!=typeof Ke.hooks.addPack||i?Ke.styles[e]=l(l({},Ke.styles[e]||{}),r):Ke.hooks.addPack(e,it(t)),"fas"===e&&rt("fa",t)}var st=Ke.styles,ot=Ke.shims,at=Object.keys(we),lt=at.reduce(function(e,t){return e[t]=Object.keys(we[t]),e},{}),ct=null,ut={},dt={},ht={},ft={},mt={};var pt,gt=function(){var e=function(e){return tt(st,function(t,n,i){return t[i]=tt(n,e,{}),t},{})};ut=e(function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=n}),e}),dt=e(function(e,t,n){return e[n]=n,t[2]&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=n}),e}),mt=e(function(e,t,n){var i=t[2];return e[n]=n,i.forEach(function(t){e[t]=n}),e});var t="far"in st||Me.autoFetchSvg,n=tt(ot,function(e,n){var i=n[0],r=n[1],s=n[2];return"far"!==r||t||(r="fas"),"string"==typeof i&&(e.names[i]={prefix:r,iconName:s}),"number"==typeof i&&(e.unicodes[i.toString(16)]={prefix:r,iconName:s}),e},{names:{},unicodes:{}});ht=n.names,ft=n.unicodes,ct=wt(Me.styleDefault,{family:Me.familyDefault})};function bt(e,t){return(ut[e]||{})[t]}function vt(e,t){return(mt[e]||{})[t]}function yt(e){return ht[e]||{prefix:null,iconName:null}}function At(){return ct}function wt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?I:t,i=be[n][e];if(n===R&&!e)return"fad";var r=ye[n][e]||ye[n][i],s=e in Ke.styles?e:null;return r||s||null}function _t(e){return e.sort().filter(function(e,t,n){return n.indexOf(e)===t})}pt=function(e){ct=wt(e.styleDefault,{family:Me.familyDefault})},Fe.push(pt),gt();var Et=te.concat(J);function St(e){var t,n,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==i&&i,s=null,o=_t(e.filter(function(e){return Et.includes(e)})),a=_t(e.filter(function(e){return!Et.includes(e)})),u=c(o.filter(function(e){return s=e,!P.includes(e)}),1)[0],d=void 0===u?null:u,h=function(e){var t=I,n=at.reduce(function(e,t){return e[t]="".concat(Me.cssPrefix,"-").concat(t),e},{});return X.forEach(function(i){(e.includes(n[i])||e.some(function(e){return lt[i].includes(e)}))&&(t=i)}),t}(o),f=l(l({},(t=[],n=null,a.forEach(function(e){var i=function(e,t){var n,i=t.split("-"),r=i[0],s=i.slice(1).join("-");return r!==e||""===s||(n=s,~Pe.indexOf(n))?null:s}(Me.cssPrefix,e);i?n=i:e&&t.push(e)}),{iconName:n,rest:t})),{},{prefix:wt(d,{family:h})});return l(l(l({},f),function(e){var t=e.values,n=e.family,i=e.canonical,r=e.givenPrefix,s=void 0===r?"":r,o=e.styles,a=void 0===o?{}:o,l=e.config,c=void 0===l?{}:l,u=n===R,d=t.includes("fa-duotone")||t.includes("fad"),h="duotone"===c.familyDefault,f="fad"===i.prefix||"fa-duotone"===i.prefix;if(!u&&(d||h||f)&&(i.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(i.prefix="fab"),!i.prefix&&Ct.includes(n)&&(Object.keys(a).find(function(e){return xt.includes(e)})||c.autoFetchSvg)){var m=G.get(n).defaultShortPrefixId;i.prefix=m,i.iconName=vt(i.prefix,i.iconName)||i.iconName}return"fa"!==i.prefix&&"fa"!==s||(i.prefix=At()||"fas"),i}({values:e,family:h,styles:st,config:Me,canonical:f,givenPrefix:s})),function(e,t,n){var i=n.prefix,r=n.iconName;if(e||!i||!r)return{prefix:i,iconName:r};var s="fa"===t?yt(r):{},o=vt(i,r);return r=s.iconName||o||r,"far"!==(i=s.prefix||i)||st.far||!st.fas||Me.autoFetchSvg||(i="fas"),{prefix:i,iconName:r}}(r,s,f))}var Ct=X.filter(function(e){return e!==I||e!==R}),xt=Object.keys(ee).filter(function(e){return e!==I}).map(function(e){return Object.keys(ee[e])}).flat(),kt=function(){return function(e,t){return t&&r(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}},[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i0&&a.forEach(function(t){"string"==typeof t&&(e[r][t]=o)}),e[r][s]=o}),e}}])}(),Tt=[],Lt={},Pt={},It=Object.keys(Pt);function Rt(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{};return k?(Ot("beforeI2svg",e),Mt("pseudoElements2svg",e),Mt("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===Me.autoReplaceSvg&&(Me.autoReplaceSvg=!0),Me.observeMutations=!0,e=function(){Ht({autoReplaceSvgRoot:n}),Ot("watch",t)},k&&(Je?setTimeout(e,0):Xe.push(e))}},jt={noAuto:function(){Me.autoReplaceSvg=!1,Me.observeMutations=!1,Ot("noAuto")},config:Me,dom:Dt,parse:{icon:function(e){if(null===e)return null;if("object"===h(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:vt(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=wt(e[0]);return{prefix:n,iconName:vt(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Me.cssPrefix,"-"))>-1||e.match(Ee))){var i=St(e.split(" "),{skipLookups:!0});return{prefix:i.prefix||At(),iconName:vt(i.prefix,i.iconName)||i.iconName}}if("string"==typeof e){var r=At();return{prefix:r,iconName:vt(r,e)||e}}}},library:Nt,findIconDefinition:Ft,toHtml:Ze},Ht=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?S:e;(Object.keys(Ke.styles).length>0||Me.autoFetchSvg)&&k&&Me.autoReplaceSvg&&jt.dom.i2svg({node:t})};function qt(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return Ze(e)})}}),Object.defineProperty(e,"node",{get:function(){if(k){var t=S.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Bt(e){var t=e.icons,n=t.main,i=t.mask,r=e.prefix,s=e.iconName,o=e.transform,a=e.symbol,c=e.maskId,u=e.extra,d=e.watchable,h=void 0!==d&&d,f=i.found?i:n,m=f.width,p=f.height,g=[Me.replacementClass,s?"".concat(Me.cssPrefix,"-").concat(s):""].filter(function(e){return-1===u.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(u.classes).join(" "),b={children:[],attributes:l(l({},u.attributes),{},{"data-prefix":r,"data-icon":s,class:g,role:u.attributes.role||"img",viewBox:"0 0 ".concat(m," ").concat(p)})};(function(e){return["aria-label","aria-labelledby","title","role"].some(function(t){return t in e})})(u.attributes)||u.attributes["aria-hidden"]||(b.attributes["aria-hidden"]="true"),h&&(b.attributes[ae]="");var v=l(l({},b),{},{prefix:r,iconName:s,main:n,mask:i,maskId:c,transform:o,symbol:a,styles:l({},u.styles)}),y=i.found&&n.found?Mt("generateAbstractMask",v)||{children:[],attributes:{}}:Mt("generateAbstractIcon",v)||{children:[],attributes:{}},A=y.children,w=y.attributes;return v.children=A,v.attributes=w,a?function(e){var t=e.prefix,n=e.iconName,i=e.children,r=e.attributes,s=e.symbol,o=!0===s?"".concat(t,"-").concat(Me.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:l(l({},r),{},{id:o}),children:i}]}]}(v):function(e){var t=e.children,n=e.main,i=e.mask,r=e.attributes,s=e.styles,o=e.transform;if($e(o)&&n.found&&!i.found){var a={x:n.width/n.height/2,y:.5};r.style=ze(l(l({},s),{},{"transform-origin":"".concat(a.x+o.x/16,"em ").concat(a.y+o.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}(v)}function zt(e){var t=e.content,n=e.width,i=e.height,r=e.transform,s=e.extra,o=e.watchable,a=void 0!==o&&o,c=l(l({},s.attributes),{},{class:s.classes.join(" ")});a&&(c[ae]="");var u=l({},s.styles);$e(r)&&(u.transform=function(e){var t=e.transform,n=e.width,i=void 0===n?16:n,r=e.height,s=void 0===r?16:r,o=e.startCentered,a=void 0!==o&&o,l="";return l+=a&&T?"translate(".concat(t.x/Ne-i/2,"em, ").concat(t.y/Ne-s/2,"em) "):a?"translate(calc(-50% + ".concat(t.x/Ne,"em), calc(-50% + ").concat(t.y/Ne,"em)) "):"translate(".concat(t.x/Ne,"em, ").concat(t.y/Ne,"em) "),(l+="scale(".concat(t.size/Ne*(t.flipX?-1:1),", ").concat(t.size/Ne*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:r,startCentered:!0,width:n,height:i}),u["-webkit-transform"]=u.transform);var d=ze(u);d.length>0&&(c.style=d);var h=[];return h.push({tag:"span",attributes:c,children:[t]}),h}var $t=Ke.styles;function Wt(e){var t=e[0],n=e[1],i=c(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(i)?{tag:"g",attributes:{class:"".concat(Me.cssPrefix,"-").concat(ke)},children:[{tag:"path",attributes:{class:"".concat(Me.cssPrefix,"-").concat(Le),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Me.cssPrefix,"-").concat(Te),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}}}}var Vt={found:!1,width:512,height:512};function Ut(e,t){var n=t;return"fa"===t&&null!==Me.styleDefault&&(t=At()),new Promise(function(i,r){if("fa"===n){var s=yt(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&$t[t]&&$t[t][e])return i(Wt($t[t][e]));!function(e,t){me||Me.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),i(l(l({},Vt),{},{icon:Me.showMissingIcons&&e&&Mt("missingIconAbstract")||{}}))})}var Yt=function(){},Qt=Me.measurePerformance&&x&&x.mark&&x.measure?x:{mark:Yt,measure:Yt},Kt='FA "7.2.0"',Xt=function(e){return Qt.mark("".concat(Kt," ").concat(e," begins")),function(){return function(e){Qt.mark("".concat(Kt," ").concat(e," ends")),Qt.measure("".concat(Kt," ").concat(e),"".concat(Kt," ").concat(e," begins"),"".concat(Kt," ").concat(e," ends"))}(e)}},Gt=function(){};function Jt(e){return"string"==typeof(e.getAttribute?e.getAttribute(ae):null)}function Zt(e){return S.createElementNS("http://www.w3.org/2000/svg",e)}function en(e){return S.createElement(e)}function tn(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Zt:en:t;if("string"==typeof e)return S.createTextNode(e);var i=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){i.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){i.appendChild(tn(e,{ceFn:n}))}),i}var nn={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(tn(e),t)}),null===t.getAttribute(ae)&&Me.keepOriginalSource){var n=S.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~qe(t).indexOf(Me.replacementClass))return nn.replace(e);var i=new RegExp("".concat(Me.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var r=n[0].attributes.class.split(" ").reduce(function(e,t){return t===Me.replacementClass||t.match(i)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(" "),0===r.toNode.length?t.removeAttribute("class"):t.setAttribute("class",r.toNode.join(" "))}var s=n.map(function(e){return Ze(e)}).join("\n");t.setAttribute(ae,""),t.innerHTML=s}};function rn(e){e()}function sn(e,t){var n="function"==typeof t?t:Gt;if(0===e.length)n();else{var i=rn;"async"===Me.mutateApproach&&(i=E.requestAnimationFrame||rn),i(function(){var t=!0===Me.autoReplaceSvg?nn.replace:nn[Me.autoReplaceSvg]||nn.replace,i=Xt("mutate");e.map(t),i(),n()})}}var on=!1;function an(){on=!0}function ln(){on=!1}var cn=null;function un(e){if(C&&Me.observeMutations){var t=e.treeCallback,n=void 0===t?Gt:t,i=e.nodeCallback,r=void 0===i?Gt:i,s=e.pseudoElementsCallback,o=void 0===s?Gt:s,a=e.observeMutationsRoot,l=void 0===a?S:a;cn=new C(function(e){if(!on){var t=At();He(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Jt(e.addedNodes[0])&&(Me.searchPseudoElements&&o(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Me.searchPseudoElements&&o([e.target],!0),"attributes"===e.type&&Jt(e.target)&&~xe.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(ce):null,n=e.getAttribute?e.getAttribute(ue):null;return t&&n}(e.target)){var i=St(qe(e.target)),s=i.prefix,a=i.iconName;e.target.setAttribute(ce,s||t),a&&e.target.setAttribute(ue,a)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(Me.replacementClass)&&r(e.target);var l})}}),k&&cn.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,i=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),s=void 0!==e.innerText?e.innerText.trim():"",o=St(qe(e));return o.prefix||(o.prefix=At()),i&&r&&(o.prefix=i,o.iconName=r),o.iconName&&o.prefix||(o.prefix&&s.length>0&&(o.iconName=(t=o.prefix,n=e.innerText,(dt[t]||{})[n]||bt(o.prefix,nt(e.innerText)))),!o.iconName&&Me.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}(e),i=n.iconName,r=n.prefix,s=n.rest,o=function(e){return He(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),a=Rt("parseNodeAttributes",{},e),c=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(e,t){var n=t.split(":"),i=n[0],r=n.slice(1);return i&&r.length>0&&(e[i]=r.join(":").trim()),e},{})),n}(e):[];return l({iconName:i,prefix:r,transform:De,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:c,attributes:o}},a)}var hn=Ke.styles;function fn(e){var t="nest"===Me.autoReplaceSvg?dn(e,{styleParser:!1}):dn(e);return~t.extra.classes.indexOf(Se)?Mt("generateLayersText",e,t):Mt("generateSvgReplacementMutation",e,t)}function mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!k)return Promise.resolve();var n=S.documentElement.classList,i=function(e){return n.add("".concat(de,"-").concat(e))},r=function(e){return n.remove("".concat(de,"-").concat(e))},s=Me.autoFetchSvg?[].concat(u(J),u(te)):P.concat(Object.keys(hn));s.includes("fa")||s.push("fa");var o=[".".concat(Se,":not([").concat(ae,"])")].concat(s.map(function(e){return".".concat(e,":not([").concat(ae,"])")})).join(", ");if(0===o.length)return Promise.resolve();var a=[];try{a=He(e.querySelectorAll(o))}catch(e){}if(!(a.length>0))return Promise.resolve();i("pending"),r("complete");var l=Xt("onTree"),c=a.reduce(function(e,t){try{var n=fn(t);n&&e.push(n)}catch(e){me||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(c).then(function(n){sn(n,function(){i("active"),i("complete"),r("pending"),"function"==typeof t&&t(),l(),e()})}).catch(function(e){l(),n(e)})})}function pn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;fn(e).then(function(e){e&&sn([e],t)})}var gn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,i=void 0===n?De:n,r=t.symbol,s=void 0!==r&&r,o=t.mask,a=void 0===o?null:o,c=t.maskId,u=void 0===c?null:c,d=t.classes,h=void 0===d?[]:d,f=t.attributes,m=void 0===f?{}:f,p=t.styles,g=void 0===p?{}:p;if(e){var b=e.prefix,v=e.iconName,y=e.icon;return qt(l({type:"icon"},e),function(){return Ot("beforeDOMElementCreation",{iconDefinition:e,params:t}),Bt({icons:{main:Wt(y),mask:a?Wt(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:v,transform:l(l({},De),i),symbol:s,maskId:u,extra:{attributes:m,styles:g,classes:h}})})}},bn={mixout:function(){return{icon:(e=gn,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(t||{}).icon?t:Ft(t||{}),r=n.mask;return r&&(r=(r||{}).icon?r:Ft(r||{})),e(i,l(l({},n),{},{mask:r}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=mn,e.nodeCallback=pn,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?S:t,i=e.callback;return mn(n,void 0===i?function(){}:i)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,i=t.prefix,r=t.transform,s=t.symbol,o=t.mask,a=t.maskId,l=t.extra;return new Promise(function(t,u){Promise.all([Ut(n,i),o.iconName?Ut(o.iconName,o.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(o){var u=c(o,2),d=u[0],h=u[1];t([e,Bt({icons:{main:d,mask:h},prefix:i,iconName:n,transform:r,symbol:s,maskId:a,extra:l,watchable:!0})])}).catch(u)})},e.generateAbstractIcon=function(e){var t,n=e.children,i=e.attributes,r=e.main,s=e.transform,o=ze(e.styles);return o.length>0&&(i.style=o),$e(s)&&(t=Mt("generateAbstractTransformGrouping",{main:r,transform:s,containerWidth:r.width,iconWidth:r.width})),n.push(t||r.icon),{children:n,attributes:i}}}},vn={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,i=void 0===n?[]:n;return qt({type:"layer"},function(){Ot("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(Me.cssPrefix,"-layers")].concat(u(i)).join(" ")},children:n}]})}}}},yn={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,i=void 0===n?null:n,r=t.classes,s=void 0===r?[]:r,o=t.attributes,a=void 0===o?{}:o,c=t.styles,d=void 0===c?{}:c;return qt({type:"counter",content:e},function(){return Ot("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.extra,i=l(l({},n.attributes),{},{class:n.classes.join(" ")}),r=ze(n.styles);r.length>0&&(i.style=r);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),s}({content:e.toString(),title:i,extra:{attributes:a,styles:d,classes:["".concat(Me.cssPrefix,"-layers-counter")].concat(u(s))}})})}}}},An={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,i=void 0===n?De:n,r=t.classes,s=void 0===r?[]:r,o=t.attributes,a=void 0===o?{}:o,c=t.styles,d=void 0===c?{}:c;return qt({type:"text",content:e},function(){return Ot("beforeDOMElementCreation",{content:e,params:t}),zt({content:e,transform:l(l({},De),i),extra:{attributes:a,styles:d,classes:["".concat(Me.cssPrefix,"-layers-text")].concat(u(s))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.transform,i=t.extra,r=null,s=null;if(T){var o=parseInt(getComputedStyle(e).fontSize,10),a=e.getBoundingClientRect();r=a.width/o,s=a.height/o}return Promise.resolve([e,zt({content:e.innerHTML,width:r,height:s,transform:n,extra:i,watchable:!0})])}}},wn=new RegExp('"',"ug"),_n=[1105920,1112319],En=l(l(l(l({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Graphite":{100:"fagt",normal:"fagt"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),Sn=Object.keys(En).reduce(function(e,t){return e[t.toLowerCase()]=En[t],e},{}),Cn=Object.keys(Sn).reduce(function(e,t){var n=Sn[t];return e[t]=n[900]||u(Object.entries(n))[0][1],e},{});function xn(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(i,r){if(null!==e.getAttribute(n))return i();var s,o,a,c=He(e.children).filter(function(e){return e.getAttribute(le)===t})[0],d=E.getComputedStyle(e,t),h=d.getPropertyValue("font-family"),f=h.match(Ce),m=d.getPropertyValue("font-weight"),p=d.getPropertyValue("content");if(c&&!f)return e.removeChild(c),i();if(f&&"none"!==p&&""!==p){var g=d.getPropertyValue("content"),b=function(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(t),r=isNaN(i)?"normal":i;return(Sn[n]||{})[r]||Cn[n]}(h,m),v=function(e){return nt(u(e.replace(wn,""))[0]||"")}(g),y=f[0].startsWith("FontAwesome"),A=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content").replace(wn,""),i=n.codePointAt(0),r=i>=_n[0]&&i<=_n[1],s=2===n.length&&n[0]===n[1];return r||s||t}(d),w=bt(b,v),_=w;if(y){var C=(o=ft[s=v],a=bt("fas",s),o||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});C.iconName&&C.prefix&&(w=C.iconName,b=C.prefix)}if(!w||A||c&&c.getAttribute(ce)===b&&c.getAttribute(ue)===_)i();else{e.setAttribute(n,_),c&&e.removeChild(c);var x={iconName:null,prefix:null,transform:De,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},k=x.extra;k.attributes[le]=t,Ut(w,b).then(function(r){var s=Bt(l(l({},x),{},{icons:{main:r,mask:{prefix:null,iconName:null,rest:[]}},prefix:b,iconName:_,extra:k,watchable:!0})),o=S.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(o,e.firstChild):e.appendChild(o),o.outerHTML=s.map(function(e){return Ze(e)}).join("\n"),e.removeAttribute(n),i()}).catch(r)}}else i()})}function kn(e){return Promise.all([xn(e,"::before"),xn(e,"::after")])}function Tn(e){return!(e.parentNode===document.head||~he.indexOf(e.tagName.toUpperCase())||e.getAttribute(le)||e.parentNode&&"svg"===e.parentNode.tagName)}var Ln=function(e){return!!e&&fe.some(function(t){return e.includes(t)})},Pn=function(e){if(!e)return[];var t=new Set,n=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});n=n.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var i,r=s(n);try{for(r.s();!(i=r.n()).done;){var o=i.value;if(Ln(o)){var a=fe.reduce(function(e,t){return e.replace(t,"")},o);""!==a&&"*"!==a&&t.add(a)}}}catch(e){r.e(e)}finally{r.f()}return t};function In(e){if(k){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if(Me.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var n,i=new Set,r=s(document.styleSheets);try{for(r.s();!(n=r.n()).done;){var o=n.value;try{var a,l=s(o.cssRules);try{for(l.s();!(a=l.n()).done;){var c,u=a.value,d=s(Pn(u.selectorText));try{for(d.s();!(c=d.n()).done;){var h=c.value;i.add(h)}}catch(e){d.e(e)}finally{d.f()}}}catch(e){l.e(e)}finally{l.f()}}catch(e){Me.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href," (").concat(e.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the , enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(e){r.e(e)}finally{r.f()}if(!i.size)return;var f=Array.from(i).join(", ");try{t=e.querySelectorAll(f)}catch(e){}}return new Promise(function(e,n){var i=He(t).filter(Tn).map(kn),r=Xt("searchPseudoElements");an(),Promise.all(i).then(function(){r(),ln(),e()}).catch(function(){r(),ln(),n()})})}}var Rn={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=In,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?S:t;Me.searchPseudoElements&&In(n)}}},On=!1,Mn=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),i=n[0],r=n.slice(1).join("-");if(i&&"h"===r)return e.flipX=!0,e;if(i&&"v"===r)return e.flipY=!0,e;if(r=parseFloat(r),isNaN(r))return e;switch(i){case"grow":e.size=e.size+r;break;case"shrink":e.size=e.size-r;break;case"left":e.x=e.x-r;break;case"right":e.x=e.x+r;break;case"up":e.y=e.y-r;break;case"down":e.y=e.y+r;break;case"rotate":e.rotate=e.rotate+r}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Fn={mixout:function(){return{parse:{transform:function(e){return Mn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Mn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,i=e.containerWidth,r=e.iconWidth,s={transform:"translate(".concat(i/2," 256)")},o="translate(".concat(32*n.x,", ").concat(32*n.y,") "),a="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),u={outer:s,inner:{transform:"".concat(o," ").concat(a," ").concat(c)},path:{transform:"translate(".concat(r/2*-1," -256)")}};return{tag:"g",attributes:l({},u.outer),children:[{tag:"g",attributes:l({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:l(l({},t.icon.attributes),u.path)}]}]}}}},Nn={x:0,y:0,width:"100%",height:"100%"};function Dn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var jn,Hn={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),i=n?St(n.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return i.prefix||(i.prefix=At()),e.mask=i,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,i=e.attributes,r=e.main,s=e.mask,o=e.maskId,a=e.transform,c=r.width,u=r.icon,d=s.width,h=s.icon,f=function(e){var t=e.transform,n=e.iconWidth,i={transform:"translate(".concat(e.containerWidth/2," 256)")},r="translate(".concat(32*t.x,", ").concat(32*t.y,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(r," ").concat(s," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:a,containerWidth:d,iconWidth:c}),m={tag:"rect",attributes:l(l({},Nn),{},{fill:"white"})},p=u.children?{children:u.children.map(Dn)}:{},g={tag:"g",attributes:l({},f.inner),children:[Dn(l({tag:u.tag,attributes:l(l({},u.attributes),f.path)},p))]},b={tag:"g",attributes:l({},f.outer),children:[g]},v="mask-".concat(o||je()),y="clip-".concat(o||je()),A={tag:"mask",attributes:l(l({},Nn),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,b]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=h,"g"===t.tag?t.children:[t])},A]};return n.push(w,{tag:"rect",attributes:l({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(v,")")},Nn)}),{children:n,attributes:i}}}},qn={provides:function(e){var t=!1;E.matchMedia&&(t=E.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:l(l({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var r=l(l({},i),{},{attributeName:"opacity"}),s={tag:"circle",attributes:l(l({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:l(l({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:l(l({},r),{},{values:"1;0;1;1;0;1;"})}),e.push(s),e.push({tag:"path",attributes:l(l({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:l(l({},r),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:l(l({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:l(l({},r),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};jn={mixoutsTo:jt}.mixoutsTo,Tt=[Ye,bn,vn,yn,An,Rn,{mixout:function(){return{dom:{unwatch:function(){an(),On=!0}}}},hooks:function(){return{bootstrap:function(){un(Rt("mutationObserverCallbacks",{}))},noAuto:function(){cn&&cn.disconnect()},watch:function(e){var t=e.observeMutationsRoot;On?ln():un(Rt("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Fn,Hn,qn,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),i=null!==n&&(""===n||n);return e.symbol=i,e}}}}],Lt={},Object.keys(Pt).forEach(function(e){-1===It.indexOf(e)&&delete Pt[e]}),Tt.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(jn[e]=t[e]),"object"===h(t[e])&&Object.keys(t[e]).forEach(function(n){jn[e]||(jn[e]={}),jn[e][n]=t[e][n]})}),e.hooks){var n=e.hooks();Object.keys(n).forEach(function(e){Lt[e]||(Lt[e]=[]),Lt[e].push(n[e])})}e.provides&&e.provides(Pt)});var Bn=jt.config,zn=jt.library,$n=jt.dom,Wn=n(909),Vn=n(789),Un=n(198),Yn=n(827),Qn=n(345),Kn=n(203);const Xn=new Uint32Array(65536),Gn=(e,t)=>{if(e.length{const n=e.length,i=t.length,r=1<{const n=t.length,i=e.length,r=[],s=[],o=Math.ceil(n/32),a=Math.ceil(i/32);for(let e=0;e>>e&1,l=r[e/32|0]>>>e&1,c=n|o,u=((n|l)&a)+a^a|n|l;let d=o|~(u|a),h=a&u;d>>>31^i&&(s[e/32|0]^=1<>>31^l&&(r[e/32|0]^=1<>>e&1,a=r[e/32|0]>>>e&1,l=n|c,d=((n|a)&u)+u^u|n|a;let h=c|~(d|u),m=u&d;f+=h>>>i-1&1,f-=m>>>i-1&1,h>>>31^o&&(s[e/32|0]^=1<>>31^a&&(r[e/32|0]^=1<0&&Ii(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Ii(i.height)/e.offsetHeight||1);var o=(Si(e)?Ei(e):window).visualViewport,a=!Oi()&&n,l=(i.left+(a&&o?o.offsetLeft:0))/r,c=(i.top+(a&&o?o.offsetTop:0))/s,u=i.width/r,d=i.height/s;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Fi(e){var t=Mi(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Ni(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&xi(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Di(e){return Ei(e).getComputedStyle(e)}function ji(e){return["table","td","th"].indexOf(_i(e))>=0}function Hi(e){return((Si(e)?e.ownerDocument:e.document)||window.document).documentElement}function qi(e){return"html"===_i(e)?e:e.assignedSlot||e.parentNode||(xi(e)?e.host:null)||Hi(e)}function Bi(e){return Ci(e)&&"fixed"!==Di(e).position?e.offsetParent:null}function zi(e){for(var t=Ei(e),n=Bi(e);n&&ji(n)&&"static"===Di(n).position;)n=Bi(n);return n&&("html"===_i(n)||"body"===_i(n)&&"static"===Di(n).position)?t:n||function(e){var t=/firefox/i.test(Ri());if(/Trident/i.test(Ri())&&Ci(e)&&"fixed"===Di(e).position)return null;var n=qi(e);for(xi(n)&&(n=n.host);Ci(n)&&["html","body"].indexOf(_i(n))<0;){var i=Di(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function $i(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Wi(e,t,n){return Li(e,Pi(t,n))}function Vi(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ui(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Yi={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Ti(n.placement),l=$i(a),c=[ti,ei].indexOf(a)>=0?"height":"width";if(s&&o){var u=function(e,t){return Vi("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ui(e,ii))}(r.padding,n),d=Fi(s),h="y"===l?Jn:ti,f="y"===l?Zn:ei,m=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],p=o[l]-n.rects.reference[l],g=zi(s),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=m/2-p/2,y=u[h],A=b-d[c]-u[f],w=b/2-d[c]/2+v,_=Wi(y,w,A),E=l;n.modifiersData[i]=((t={})[E]=_,t.centerOffset=_-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Ni(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qi(e){return e.split("-")[1]}var Ki={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xi(e){var t,n=e.popper,i=e.popperRect,r=e.placement,s=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=o.x,f=void 0===h?0:h,m=o.y,p=void 0===m?0:m,g="function"==typeof u?u({x:f,y:p}):{x:f,y:p};f=g.x,p=g.y;var b=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),y=ti,A=Jn,w=window;if(c){var _=zi(n),E="clientHeight",S="clientWidth";_===Ei(n)&&"static"!==Di(_=Hi(n)).position&&"absolute"===a&&(E="scrollHeight",S="scrollWidth"),(r===Jn||(r===ti||r===ei)&&s===si)&&(A=Zn,p-=(d&&_===w&&w.visualViewport?w.visualViewport.height:_[E])-i.height,p*=l?1:-1),r!==ti&&(r!==Jn&&r!==Zn||s!==si)||(y=ei,f-=(d&&_===w&&w.visualViewport?w.visualViewport.width:_[S])-i.width,f*=l?1:-1)}var C,x=Object.assign({position:a},c&&Ki),k=!0===u?function(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:Ii(n*r)/r||0,y:Ii(i*r)/r||0}}({x:f,y:p},Ei(n)):{x:f,y:p};return f=k.x,p=k.y,l?Object.assign({},x,((C={})[A]=v?"0":"",C[y]=b?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",C)):Object.assign({},x,((t={})[A]=v?p+"px":"",t[y]=b?f+"px":"",t.transform="",t))}var Gi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,s=n.adaptive,o=void 0===s||s,a=n.roundOffsets,l=void 0===a||a,c={placement:Ti(t.placement),variation:Qi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Xi(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,Xi(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ji={passive:!0},Zi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,s=void 0===r||r,o=i.resize,a=void 0===o||o,l=Ei(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(e){e.addEventListener("scroll",n.update,Ji)}),a&&l.addEventListener("resize",n.update,Ji),function(){s&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Ji)}),a&&l.removeEventListener("resize",n.update,Ji)}},data:{}},er={left:"right",right:"left",bottom:"top",top:"bottom"};function tr(e){return e.replace(/left|right|bottom|top/g,function(e){return er[e]})}var nr={start:"end",end:"start"};function ir(e){return e.replace(/start|end/g,function(e){return nr[e]})}function rr(e){var t=Ei(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function sr(e){return Mi(Hi(e)).left+rr(e).scrollLeft}function or(e){var t=Di(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function ar(e){return["html","body","#document"].indexOf(_i(e))>=0?e.ownerDocument.body:Ci(e)&&or(e)?e:ar(qi(e))}function lr(e,t){var n;void 0===t&&(t=[]);var i=ar(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),s=Ei(i),o=r?[s].concat(s.visualViewport||[],or(i)?i:[]):i,a=t.concat(o);return r?a:a.concat(lr(qi(o)))}function cr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ur(e,t,n){return t===ai?cr(function(e,t){var n=Ei(e),i=Hi(e),r=n.visualViewport,s=i.clientWidth,o=i.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var c=Oi();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+sr(e),y:l}}(e,n)):Si(t)?function(e,t){var n=Mi(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):cr(function(e){var t,n=Hi(e),i=rr(e),r=null==(t=e.ownerDocument)?void 0:t.body,s=Li(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Li(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+sr(e),l=-i.scrollTop;return"rtl"===Di(r||n).direction&&(a+=Li(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(Hi(e)))}function dr(e){var t,n=e.reference,i=e.element,r=e.placement,s=r?Ti(r):null,o=r?Qi(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case Jn:t={x:a,y:n.y-i.height};break;case Zn:t={x:a,y:n.y+n.height};break;case ei:t={x:n.x+n.width,y:l};break;case ti:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=s?$i(s):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case ri:t[c]=t[c]-(n[u]/2-i[u]/2);break;case si:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function hr(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,s=n.strategy,o=void 0===s?e.strategy:s,a=n.boundary,l=void 0===a?oi:a,c=n.rootBoundary,u=void 0===c?ai:c,d=n.elementContext,h=void 0===d?li:d,f=n.altBoundary,m=void 0!==f&&f,p=n.padding,g=void 0===p?0:p,b=Vi("number"!=typeof g?g:Ui(g,ii)),v=h===li?ci:li,y=e.rects.popper,A=e.elements[m?v:h],w=function(e,t,n,i){var r="clippingParents"===t?function(e){var t=lr(qi(e)),n=["absolute","fixed"].indexOf(Di(e).position)>=0&&Ci(e)?zi(e):e;return Si(n)?t.filter(function(e){return Si(e)&&Ni(e,n)&&"body"!==_i(e)}):[]}(e):[].concat(t),s=[].concat(r,[n]),o=s[0],a=s.reduce(function(t,n){var r=ur(e,n,i);return t.top=Li(r.top,t.top),t.right=Pi(r.right,t.right),t.bottom=Pi(r.bottom,t.bottom),t.left=Li(r.left,t.left),t},ur(e,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Si(A)?A:A.contextElement||Hi(e.elements.popper),l,u,o),_=Mi(e.elements.reference),E=dr({reference:_,element:y,strategy:"absolute",placement:r}),S=cr(Object.assign({},y,E)),C=h===li?S:_,x={top:w.top-C.top+b.top,bottom:C.bottom-w.bottom+b.bottom,left:w.left-C.left+b.left,right:C.right-w.right+b.right},k=e.modifiersData.offset;if(h===li&&k){var T=k[r];Object.keys(x).forEach(function(e){var t=[ei,Zn].indexOf(e)>=0?1:-1,n=[Jn,Zn].indexOf(e)>=0?"y":"x";x[e]+=T[n]*t})}return x}var fr={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,s=void 0===r||r,o=n.altAxis,a=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,m=void 0===f||f,p=n.allowedAutoPlacements,g=t.options.placement,b=Ti(g),v=l||(b!==g&&m?function(e){if(Ti(e)===ni)return[];var t=tr(e);return[ir(e),t,ir(t)]}(g):[tr(g)]),y=[g].concat(v).reduce(function(e,n){return e.concat(Ti(n)===ni?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?di:l,u=Qi(i),d=u?a?ui:ui.filter(function(e){return Qi(e)===u}):ii,h=d.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=d);var f=h.reduce(function(t,n){return t[n]=hr(e,{placement:n,boundary:r,rootBoundary:s,padding:o})[Ti(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:p}):n)},[]),A=t.rects.reference,w=t.rects.popper,_=new Map,E=!0,S=y[0],C=0;C=0,P=L?"width":"height",I=hr(t,{placement:x,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),R=L?T?ei:ti:T?Zn:Jn;A[P]>w[P]&&(R=tr(R));var O=tr(R),M=[];if(s&&M.push(I[k]<=0),a&&M.push(I[R]<=0,I[O]<=0),M.every(function(e){return e})){S=x,E=!1;break}_.set(x,M)}if(E)for(var F=function(e){var t=y.find(function(t){var n=_.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},N=m?3:1;N>0&&"break"!==F(N);N--);t.placement!==S&&(t.modifiersData[i]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function mr(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function pr(e){return[Jn,ei,Zn,ti].some(function(t){return e[t]>=0})}var gr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=hr(t,{elementContext:"reference"}),a=hr(t,{altBoundary:!0}),l=mr(o,i),c=mr(a,r,s),u=pr(l),d=pr(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},br={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,s=void 0===r?[0,0]:r,o=di.reduce(function(e,n){return e[n]=function(e,t,n){var i=Ti(e),r=[ti,Jn].indexOf(i)>=0?-1:1,s="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[ti,ei].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}(n,t.rects,s),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[i]=o}},vr={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=dr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},yr={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,s=void 0===r||r,o=n.altAxis,a=void 0!==o&&o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,f=void 0===h||h,m=n.tetherOffset,p=void 0===m?0:m,g=hr(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=Ti(t.placement),v=Qi(t.placement),y=!v,A=$i(b),w="x"===A?"y":"x",_=t.modifiersData.popperOffsets,E=t.rects.reference,S=t.rects.popper,C="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,x="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(_){if(s){var L,P="y"===A?Jn:ti,I="y"===A?Zn:ei,R="y"===A?"height":"width",O=_[A],M=O+g[P],F=O-g[I],N=f?-S[R]/2:0,D=v===ri?E[R]:S[R],j=v===ri?-S[R]:-E[R],H=t.elements.arrow,q=f&&H?Fi(H):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=B[P],$=B[I],W=Wi(0,E[R],q[R]),V=y?E[R]/2-N-W-z-x.mainAxis:D-W-z-x.mainAxis,U=y?-E[R]/2+N+W+$+x.mainAxis:j+W+$+x.mainAxis,Y=t.elements.arrow&&zi(t.elements.arrow),Q=Y?"y"===A?Y.clientTop||0:Y.clientLeft||0:0,K=null!=(L=null==k?void 0:k[A])?L:0,X=O+U-K,G=Wi(f?Pi(M,O+V-K-Q):M,O,f?Li(F,X):F);_[A]=G,T[A]=G-O}if(a){var J,Z="x"===A?Jn:ti,ee="x"===A?Zn:ei,te=_[w],ne="y"===w?"height":"width",ie=te+g[Z],re=te-g[ee],se=-1!==[Jn,ti].indexOf(b),oe=null!=(J=null==k?void 0:k[w])?J:0,ae=se?ie:te-E[ne]-S[ne]-oe+x.altAxis,le=se?te+E[ne]+S[ne]-oe-x.altAxis:re,ce=f&&se?function(e,t,n){var i=Wi(e,t,n);return i>n?n:i}(ae,te,le):Wi(f?ae:ie,te,f?le:re);_[w]=ce,T[w]=ce-te}t.modifiersData[i]=T}},requiresIfExists:["offset"]};function Ar(e,t,n){void 0===n&&(n=!1);var i,r,s=Ci(t),o=Ci(t)&&function(e){var t=e.getBoundingClientRect(),n=Ii(t.width)/e.offsetWidth||1,i=Ii(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=Hi(t),l=Mi(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(s||!s&&!n)&&(("body"!==_i(t)||or(a))&&(c=(i=t)!==Ei(i)&&Ci(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:rr(i)),Ci(t)?((u=Mi(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=sr(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function wr(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||r(e)}),i}var _r={placement:"bottom",modifiers:[],strategy:"absolute"};function Er(){for(var e=arguments.length,t=new Array(e),n=0;n(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),Rr=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Or=e=>{e.dispatchEvent(new Event(Pr))},Mr=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Fr=e=>Mr(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(Ir(e)):null,Nr=e=>{if(!Mr(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},Dr=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),jr=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?jr(e.parentNode):null},Hr=()=>{},qr=e=>{e.offsetHeight},Br=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,zr=[],$r=()=>"rtl"===document.documentElement.dir,Wr=e=>{var t;t=()=>{const t=Br();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(zr.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of zr)e()}),zr.push(t)):t()},Vr=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,Ur=(e,t,n=!0)=>{if(!n)return void Vr(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),r=Number.parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let r=!1;const s=({target:n})=>{n===t&&(r=!0,t.removeEventListener(Pr,s),Vr(e))};t.addEventListener(Pr,s),setTimeout(()=>{r||Or(t)},i)},Yr=(e,t,n,i)=>{const r=e.length;let s=e.indexOf(t);return-1===s?!n&&i?e[r-1]:e[0]:(s+=n?1:-1,i&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},Qr=/[^.]*(?=\..*)\.|.*/,Kr=/\..*/,Xr=/::\d+$/,Gr={};let Jr=1;const Zr={mouseenter:"mouseover",mouseleave:"mouseout"},es=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ts(e,t){return t&&`${t}::${Jr++}`||e.uidEvent||Jr++}function ns(e){const t=ts(e);return e.uidEvent=t,Gr[t]=Gr[t]||{},Gr[t]}function is(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function rs(e,t,n){const i="string"==typeof t,r=i?n:t||n;let s=ls(e);return es.has(s)||(s=e),[i,r,s]}function ss(e,t,n,i,r){if("string"!=typeof t||!e)return;let[s,o,a]=rs(t,n,i);if(t in Zr){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const l=ns(e),c=l[a]||(l[a]={}),u=is(c,o,s?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const d=ts(o,t.replace(Qr,"")),h=s?function(e,t,n){return function i(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return us(r,{delegateTarget:o}),i.oneOff&&cs.off(e,r.type,t,n),n.apply(o,[r])}}(e,n,o):function(e,t){return function n(i){return us(i,{delegateTarget:e}),n.oneOff&&cs.off(e,i.type,t),t.apply(e,[i])}}(e,o);h.delegationSelector=s?n:null,h.callable=o,h.oneOff=r,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,s)}function os(e,t,n,i,r){const s=is(t[n],i,r);s&&(e.removeEventListener(n,s,Boolean(r)),delete t[n][s.uidEvent])}function as(e,t,n,i){const r=t[n]||{};for(const[s,o]of Object.entries(r))s.includes(i)&&os(e,t,n,o.callable,o.delegationSelector)}function ls(e){return e=e.replace(Kr,""),Zr[e]||e}const cs={on(e,t,n,i){ss(e,t,n,i,!1)},one(e,t,n,i){ss(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[r,s,o]=rs(t,n,i),a=o!==t,l=ns(e),c=l[o]||{},u=t.startsWith(".");if(void 0===s){if(u)for(const n of Object.keys(l))as(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const r=n.replace(Xr,"");a&&!t.includes(r)||os(e,l,o,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;os(e,l,o,s,r?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=Br();let r=null,s=!0,o=!0,a=!1;t!==ls(t)&&i&&(r=i.Event(t,n),i(e).trigger(r),s=!r.isPropagationStopped(),o=!r.isImmediatePropagationStopped(),a=r.isDefaultPrevented());const l=us(new Event(t,{bubbles:s,cancelable:!0}),n);return a&&l.preventDefault(),o&&e.dispatchEvent(l),l.defaultPrevented&&r&&r.preventDefault(),l}};function us(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get(){return i}})}return e}function ds(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function hs(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const fs={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${hs(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${hs(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=ds(e.dataset[i])}return t},getDataAttribute(e,t){return ds(e.getAttribute(`data-bs-${hs(t)}`))}};class ms{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=Mr(t)?fs.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...Mr(t)?fs.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,i]of Object.entries(t)){const t=e[n],r=Mr(t)?"element":Rr(t);if(!new RegExp(i).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${i}".`)}}}class ps extends ms{constructor(e,t){super(),(e=Fr(e))&&(this._element=e,this._config=this._getConfig(t),Lr.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Lr.remove(this._element,this.constructor.DATA_KEY),cs.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Ur(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Lr.get(Fr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const gs=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>Ir(e)).join(","):null},bs={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!Dr(e)&&Nr(e))},getSelectorFromElement(e){const t=gs(e);return t&&bs.findOne(t)?t:null},getElementFromSelector(e){const t=gs(e);return t?bs.findOne(t):null},getMultipleElementsFromSelector(e){const t=gs(e);return t?bs.find(t):[]}},vs=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;cs.on(document,n,`[data-bs-dismiss="${i}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Dr(this))return;const r=bs.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(r)[t]()})},ys=".bs.alert",As=`close${ys}`,ws=`closed${ys}`;class _s extends ps{static get NAME(){return"alert"}close(){if(cs.trigger(this._element,As).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),cs.trigger(this._element,ws),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=_s.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}vs(_s,"close"),Wr(_s);const Es='[data-bs-toggle="button"]';class Ss extends ps{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=Ss.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}cs.on(document,"click.bs.button.data-api",Es,e=>{e.preventDefault();const t=e.target.closest(Es);Ss.getOrCreateInstance(t).toggle()}),Wr(Ss);const Cs=".bs.swipe",xs=`touchstart${Cs}`,ks=`touchmove${Cs}`,Ts=`touchend${Cs}`,Ls=`pointerdown${Cs}`,Ps=`pointerup${Cs}`,Is={endCallback:null,leftCallback:null,rightCallback:null},Rs={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Os extends ms{constructor(e,t){super(),this._element=e,e&&Os.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Is}static get DefaultType(){return Rs}static get NAME(){return"swipe"}dispose(){cs.off(this._element,Cs)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Vr(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&Vr(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(cs.on(this._element,Ls,e=>this._start(e)),cs.on(this._element,Ps,e=>this._end(e)),this._element.classList.add("pointer-event")):(cs.on(this._element,xs,e=>this._start(e)),cs.on(this._element,ks,e=>this._move(e)),cs.on(this._element,Ts,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Ms=".bs.carousel",Fs=".data-api",Ns="ArrowLeft",Ds="ArrowRight",js="next",Hs="prev",qs="left",Bs="right",zs=`slide${Ms}`,$s=`slid${Ms}`,Ws=`keydown${Ms}`,Vs=`mouseenter${Ms}`,Us=`mouseleave${Ms}`,Ys=`dragstart${Ms}`,Qs=`load${Ms}${Fs}`,Ks=`click${Ms}${Fs}`,Xs="carousel",Gs="active",Js=".active",Zs=".carousel-item",eo=Js+Zs,to={[Ns]:Bs,[Ds]:qs},no={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},io={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ro extends ps{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=bs.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Xs&&this.cycle()}static get Default(){return no}static get DefaultType(){return io}static get NAME(){return"carousel"}next(){this._slide(js)}nextWhenVisible(){!document.hidden&&Nr(this._element)&&this.next()}prev(){this._slide(Hs)}pause(){this._isSliding&&Or(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?cs.one(this._element,$s,()=>this.cycle()):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void cs.one(this._element,$s,()=>this.to(e));const n=this._getItemIndex(this._getActive());if(n===e)return;const i=e>n?js:Hs;this._slide(i,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&cs.on(this._element,Ws,e=>this._keydown(e)),"hover"===this._config.pause&&(cs.on(this._element,Vs,()=>this.pause()),cs.on(this._element,Us,()=>this._maybeEnableCycle())),this._config.touch&&Os.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of bs.find(".carousel-item img",this._element))cs.on(e,Ys,e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(qs)),rightCallback:()=>this._slide(this._directionToOrder(Bs)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Os(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=to[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=bs.findOne(Js,this._indicatorsElement);t.classList.remove(Gs),t.removeAttribute("aria-current");const n=bs.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(Gs),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),i=e===js,r=t||Yr(this._getItems(),n,i,this._config.wrap);if(r===n)return;const s=this._getItemIndex(r),o=t=>cs.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:s});if(o(zs).defaultPrevented)return;if(!n||!r)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";r.classList.add(c),qr(r),n.classList.add(l),r.classList.add(l),this._queueCallback(()=>{r.classList.remove(l,c),r.classList.add(Gs),n.classList.remove(Gs,c,l),this._isSliding=!1,o($s)},n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return bs.findOne(eo,this._element)}_getItems(){return bs.find(Zs,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return $r()?e===qs?Hs:js:e===qs?js:Hs}_orderToDirection(e){return $r()?e===Hs?qs:Bs:e===Hs?Bs:qs}static jQueryInterface(e){return this.each(function(){const t=ro.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}cs.on(document,Ks,"[data-bs-slide], [data-bs-slide-to]",function(e){const t=bs.getElementFromSelector(this);if(!t||!t.classList.contains(Xs))return;e.preventDefault();const n=ro.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===fs.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())}),cs.on(window,Qs,()=>{const e=bs.find('[data-bs-ride="carousel"]');for(const t of e)ro.getOrCreateInstance(t)}),Wr(ro);const so=".bs.collapse",oo=`show${so}`,ao=`shown${so}`,lo=`hide${so}`,co=`hidden${so}`,uo=`click${so}.data-api`,ho="show",fo="collapse",mo="collapsing",po=`:scope .${fo} .${fo}`,go='[data-bs-toggle="collapse"]',bo={parent:null,toggle:!0},vo={parent:"(null|element)",toggle:"boolean"};class yo extends ps{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=bs.find(go);for(const e of n){const t=bs.getSelectorFromElement(e),n=bs.find(t).filter(e=>e===this._element);null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return bo}static get DefaultType(){return vo}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>yo.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(cs.trigger(this._element,oo).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(fo),this._element.classList.add(mo),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(fo,ho),this._element.style[t]="",cs.trigger(this._element,ao)},this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(cs.trigger(this._element,lo).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,qr(this._element),this._element.classList.add(mo),this._element.classList.remove(fo,ho);for(const e of this._triggerArray){const t=bs.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(fo),cs.trigger(this._element,co)},this._element,!0)}_isShown(e=this._element){return e.classList.contains(ho)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=Fr(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(go);for(const t of e){const e=bs.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=bs.find(po,this._config.parent);return bs.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=yo.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}cs.on(document,uo,go,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of bs.getMultipleElementsFromSelector(this))yo.getOrCreateInstance(e,{toggle:!1}).toggle()}),Wr(yo);const Ao="dropdown",wo=".bs.dropdown",_o=".data-api",Eo="ArrowUp",So="ArrowDown",Co=`hide${wo}`,xo=`hidden${wo}`,ko=`show${wo}`,To=`shown${wo}`,Lo=`click${wo}${_o}`,Po=`keydown${wo}${_o}`,Io=`keyup${wo}${_o}`,Ro="show",Oo='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Mo=`${Oo}.${Ro}`,Fo=".dropdown-menu",No=$r()?"top-end":"top-start",Do=$r()?"top-start":"top-end",jo=$r()?"bottom-end":"bottom-start",Ho=$r()?"bottom-start":"bottom-end",qo=$r()?"left-start":"right-start",Bo=$r()?"right-start":"left-start",zo={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},$o={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Wo extends ps{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=bs.next(this._element,Fo)[0]||bs.prev(this._element,Fo)[0]||bs.findOne(Fo,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return zo}static get DefaultType(){return $o}static get NAME(){return Ao}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Dr(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!cs.trigger(this._element,ko,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))cs.on(e,"mouseover",Hr);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ro),this._element.classList.add(Ro),cs.trigger(this._element,To,e)}}hide(){if(Dr(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!cs.trigger(this._element,Co,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))cs.off(e,"mouseover",Hr);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ro),this._element.classList.remove(Ro),this._element.setAttribute("aria-expanded","false"),fs.removeDataAttribute(this._menu,"popper"),cs.trigger(this._element,xo,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!Mr(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Ao.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){let e=this._element;"parent"===this._config.reference?e=this._parent:Mr(this._config.reference)?e=Fr(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=xr(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Ro)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return qo;if(e.classList.contains("dropstart"))return Bo;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Do:No:t?Ho:jo}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(fs.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Vr(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){const n=bs.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>Nr(e));n.length&&Yr(n,t,e===So,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Wo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=bs.find(Mo);for(const n of t){const t=Wo.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),r=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!r||"outside"===t._config.autoClose&&r)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const s={relatedTarget:t._element};"click"===e.type&&(s.clickEvent=e),t._completeHide(s)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,i=[Eo,So].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const r=this.matches(Oo)?this:bs.prev(this,Oo)[0]||bs.next(this,Oo)[0]||bs.findOne(Oo,e.delegateTarget.parentNode),s=Wo.getOrCreateInstance(r);if(i)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),r.focus())}}cs.on(document,Po,Oo,Wo.dataApiKeydownHandler),cs.on(document,Po,Fo,Wo.dataApiKeydownHandler),cs.on(document,Lo,Wo.clearMenus),cs.on(document,Io,Wo.clearMenus),cs.on(document,Lo,Oo,function(e){e.preventDefault(),Wo.getOrCreateInstance(this).toggle()}),Wr(Wo);const Vo="backdrop",Uo="show",Yo=`mousedown.bs.${Vo}`,Qo={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ko={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Xo extends ms{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Qo}static get DefaultType(){return Ko}static get NAME(){return Vo}show(e){if(!this._config.isVisible)return void Vr(e);this._append();const t=this._getElement();this._config.isAnimated&&qr(t),t.classList.add(Uo),this._emulateAnimation(()=>{Vr(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(Uo),this._emulateAnimation(()=>{this.dispose(),Vr(e)})):Vr(e)}dispose(){this._isAppended&&(cs.off(this._element,Yo),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Fr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),cs.on(e,Yo,()=>{Vr(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Ur(e,this._getElement(),this._config.isAnimated)}}const Go=".bs.focustrap",Jo=`focusin${Go}`,Zo=`keydown.tab${Go}`,ea="backward",ta={autofocus:!0,trapElement:null},na={autofocus:"boolean",trapElement:"element"};class ia extends ms{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ta}static get DefaultType(){return na}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),cs.off(document,Go),cs.on(document,Jo,e=>this._handleFocusin(e)),cs.on(document,Zo,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,cs.off(document,Go))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=bs.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===ea?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ea:"forward")}}const ra=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",sa=".sticky-top",oa="padding-right",aa="margin-right";class la{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,oa,t=>t+e),this._setElementAttributes(ra,oa,t=>t+e),this._setElementAttributes(sa,aa,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,oa),this._resetElementAttributes(ra,oa),this._resetElementAttributes(sa,aa)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(r))}px`)})}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&fs.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{const n=fs.getDataAttribute(e,t);null!==n?(fs.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)})}_applyManipulationCallback(e,t){if(Mr(e))t(e);else for(const n of bs.find(e,this._element))t(n)}}const ca=".bs.modal",ua=`hide${ca}`,da=`hidePrevented${ca}`,ha=`hidden${ca}`,fa=`show${ca}`,ma=`shown${ca}`,pa=`resize${ca}`,ga=`click.dismiss${ca}`,ba=`mousedown.dismiss${ca}`,va=`keydown.dismiss${ca}`,ya=`click${ca}.data-api`,Aa="modal-open",wa="show",_a="modal-static",Ea={backdrop:!0,focus:!0,keyboard:!0},Sa={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ca extends ps{constructor(e,t){super(e,t),this._dialog=bs.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new la,this._addEventListeners()}static get Default(){return Ea}static get DefaultType(){return Sa}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||cs.trigger(this._element,fa,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Aa),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(cs.trigger(this._element,ua).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(wa),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){cs.off(window,ca),cs.off(this._dialog,ca),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Xo({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ia({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=bs.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),qr(this._element),this._element.classList.add(wa),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,cs.trigger(this._element,ma,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){cs.on(this._element,va,e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),cs.on(window,pa,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),cs.on(this._element,ba,e=>{cs.one(this._element,ga,t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Aa),this._resetAdjustments(),this._scrollBar.reset(),cs.trigger(this._element,ha)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(cs.trigger(this._element,da).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(_a)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(_a),this._queueCallback(()=>{this._element.classList.remove(_a),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=$r()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=$r()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=Ca.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}cs.on(document,ya,'[data-bs-toggle="modal"]',function(e){const t=bs.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),cs.one(t,fa,e=>{e.defaultPrevented||cs.one(t,ha,()=>{Nr(this)&&this.focus()})});const n=bs.findOne(".modal.show");n&&Ca.getInstance(n).hide(),Ca.getOrCreateInstance(t).toggle(this)}),vs(Ca),Wr(Ca);const xa=".bs.offcanvas",ka=".data-api",Ta=`load${xa}${ka}`,La="show",Pa="showing",Ia="hiding",Ra=".offcanvas.show",Oa=`show${xa}`,Ma=`shown${xa}`,Fa=`hide${xa}`,Na=`hidePrevented${xa}`,Da=`hidden${xa}`,ja=`resize${xa}`,Ha=`click${xa}${ka}`,qa=`keydown.dismiss${xa}`,Ba={backdrop:!0,keyboard:!0,scroll:!1},za={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class $a extends ps{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ba}static get DefaultType(){return za}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||cs.trigger(this._element,Oa,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new la).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Pa),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(La),this._element.classList.remove(Pa),cs.trigger(this._element,Ma,{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(cs.trigger(this._element,Fa).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ia),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(La,Ia),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new la).reset(),cs.trigger(this._element,Da)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Xo({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():cs.trigger(this._element,Na)}:null})}_initializeFocusTrap(){return new ia({trapElement:this._element})}_addEventListeners(){cs.on(this._element,qa,e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():cs.trigger(this._element,Na))})}static jQueryInterface(e){return this.each(function(){const t=$a.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}cs.on(document,Ha,'[data-bs-toggle="offcanvas"]',function(e){const t=bs.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Dr(this))return;cs.one(t,Da,()=>{Nr(this)&&this.focus()});const n=bs.findOne(Ra);n&&n!==t&&$a.getInstance(n).hide(),$a.getOrCreateInstance(t).toggle(this)}),cs.on(window,Ta,()=>{for(const e of bs.find(Ra))$a.getOrCreateInstance(e).show()}),cs.on(window,ja,()=>{for(const e of bs.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&$a.getOrCreateInstance(e).hide()}),vs($a),Wr($a);const Wa={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Va=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ua=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Ya=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Va.has(n)||Boolean(Ua.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))},Qa={allowList:Wa,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Ka={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Xa={entry:"(string|element|function|null)",selector:"(string|element)"};class Ga extends ms{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Qa}static get DefaultType(){return Ka}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Xa)}_setContent(e,t,n){const i=bs.findOne(n,e);i&&((t=this._resolvePossibleFunction(t))?Mr(t)?this._putElementInTemplate(Fr(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(const e of r){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const i=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[n]||[]);for(const t of i)Ya(t,r)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Vr(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Ja=new Set(["sanitize","allowList","sanitizeFn"]),Za="fade",el="show",tl=".tooltip-inner",nl=".modal",il="hide.bs.modal",rl="hover",sl="focus",ol="click",al={AUTO:"auto",TOP:"top",RIGHT:$r()?"left":"right",BOTTOM:"bottom",LEFT:$r()?"right":"left"},ll={allowList:Wa,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},cl={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ul extends ps{constructor(e,t){super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ll}static get DefaultType(){return cl}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),cs.off(this._element.closest(nl),il,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=cs.trigger(this._element,this.constructor.eventName("show")),t=(jr(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),cs.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(el),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))cs.on(e,"mouseover",Hr);this._queueCallback(()=>{cs.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!cs.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(el),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))cs.off(e,"mouseover",Hr);this._activeTrigger[ol]=!1,this._activeTrigger[sl]=!1,this._activeTrigger[rl]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),cs.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Za,el),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Za),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ga({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[tl]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Za)}_isShown(){return this.tip&&this.tip.classList.contains(el)}_createPopper(e){const t=Vr(this._config.placement,[this,e,this._element]),n=al[t.toUpperCase()];return xr(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Vr(e,[this._element,this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...Vr(this._config.popperConfig,[void 0,t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)cs.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[ol]=!(t._isShown()&&t._activeTrigger[ol]),t.toggle()});else if("manual"!==t){const e=t===rl?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===rl?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");cs.on(this._element,e,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?sl:rl]=!0,t._enter()}),cs.on(this._element,n,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?sl:rl]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},cs.on(this._element.closest(nl),il,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=fs.getDataAttributes(this._element);for(const e of Object.keys(t))Ja.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:Fr(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=ul.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}Wr(ul);const dl=".popover-header",hl=".popover-body",fl={...ul.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},ml={...ul.DefaultType,content:"(null|string|element|function)"};class pl extends ul{static get Default(){return fl}static get DefaultType(){return ml}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[dl]:this._getTitle(),[hl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=pl.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}Wr(pl);const gl=".bs.scrollspy",bl=`activate${gl}`,vl=`click${gl}`,yl=`load${gl}.data-api`,Al="active",wl="[href]",_l=".nav-link",El=`${_l}, .nav-item > ${_l}, .list-group-item`,Sl={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Cl={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class xl extends ps{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Sl}static get DefaultType(){return Cl}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Fr(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(cs.off(this._config.target,vl),cs.on(this._config.target,vl,wl,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,i=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const e=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&e){if(n(s),!i)return}else r||e||n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=bs.find(wl,this._config.target);for(const t of e){if(!t.hash||Dr(t))continue;const e=bs.findOne(decodeURI(t.hash),this._element);Nr(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Al),this._activateParents(e),cs.trigger(this._element,bl,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))bs.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Al);else for(const t of bs.parents(e,".nav, .list-group"))for(const e of bs.prev(t,El))e.classList.add(Al)}_clearActiveClass(e){e.classList.remove(Al);const t=bs.find(`${wl}.${Al}`,e);for(const e of t)e.classList.remove(Al)}static jQueryInterface(e){return this.each(function(){const t=xl.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}cs.on(window,yl,()=>{for(const e of bs.find('[data-bs-spy="scroll"]'))xl.getOrCreateInstance(e)}),Wr(xl);const kl=".bs.tab",Tl=`hide${kl}`,Ll=`hidden${kl}`,Pl=`show${kl}`,Il=`shown${kl}`,Rl=`click${kl}`,Ol=`keydown${kl}`,Ml=`load${kl}`,Fl="ArrowLeft",Nl="ArrowRight",Dl="ArrowUp",jl="ArrowDown",Hl="Home",ql="End",Bl="active",zl="fade",$l="show",Wl=".dropdown-toggle",Vl=`:not(${Wl})`,Ul='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Yl=`.nav-link${Vl}, .list-group-item${Vl}, [role="tab"]${Vl}, ${Ul}`,Ql=`.${Bl}[data-bs-toggle="tab"], .${Bl}[data-bs-toggle="pill"], .${Bl}[data-bs-toggle="list"]`;class Kl extends ps{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),cs.on(this._element,Ol,e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?cs.trigger(t,Tl,{relatedTarget:e}):null;cs.trigger(e,Pl,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Bl),this._activate(bs.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),cs.trigger(e,Il,{relatedTarget:t})):e.classList.add($l)},e,e.classList.contains(zl)))}_deactivate(e,t){e&&(e.classList.remove(Bl),e.blur(),this._deactivate(bs.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),cs.trigger(e,Ll,{relatedTarget:t})):e.classList.remove($l)},e,e.classList.contains(zl)))}_keydown(e){if(![Fl,Nl,Dl,jl,Hl,ql].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(e=>!Dr(e));let n;if([Hl,ql].includes(e.key))n=t[e.key===Hl?0:t.length-1];else{const i=[Nl,jl].includes(e.key);n=Yr(t,e.target,i,!0)}n&&(n.focus({preventScroll:!0}),Kl.getOrCreateInstance(n).show())}_getChildren(){return bs.find(Yl,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=bs.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const i=(e,i)=>{const r=bs.findOne(e,n);r&&r.classList.toggle(i,t)};i(Wl,Bl),i(".dropdown-menu",$l),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Bl)}_getInnerElement(e){return e.matches(Yl)?e:bs.findOne(Yl,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=Kl.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}cs.on(document,Rl,Ul,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),Dr(this)||Kl.getOrCreateInstance(this).show()}),cs.on(window,Ml,()=>{for(const e of bs.find(Ql))Kl.getOrCreateInstance(e)}),Wr(Kl);const Xl=".bs.toast",Gl=`mouseover${Xl}`,Jl=`mouseout${Xl}`,Zl=`focusin${Xl}`,ec=`focusout${Xl}`,tc=`hide${Xl}`,nc=`hidden${Xl}`,ic=`show${Xl}`,rc=`shown${Xl}`,sc="hide",oc="show",ac="showing",lc={animation:"boolean",autohide:"boolean",delay:"number"},cc={animation:!0,autohide:!0,delay:5e3};class uc extends ps{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return cc}static get DefaultType(){return lc}static get NAME(){return"toast"}show(){cs.trigger(this._element,ic).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(sc),qr(this._element),this._element.classList.add(oc,ac),this._queueCallback(()=>{this._element.classList.remove(ac),cs.trigger(this._element,rc),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(cs.trigger(this._element,tc).defaultPrevented||(this._element.classList.add(ac),this._queueCallback(()=>{this._element.classList.add(sc),this._element.classList.remove(ac,oc),cs.trigger(this._element,nc)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(oc),super.dispose()}isShown(){return this._element.classList.contains(oc)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){cs.on(this._element,Gl,e=>this._onInteraction(e,!0)),cs.on(this._element,Jl,e=>this._onInteraction(e,!1)),cs.on(this._element,Zl,e=>this._onInteraction(e,!0)),cs.on(this._element,ec,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=uc.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}vs(uc),Wr(uc);var dc=n(531);const hc={eager:"eager",lazy:"lazy"};class fc extends HTMLElement{static delegateConstructor=void 0;loaded=Promise.resolve();static get observedAttributes(){return["disabled","loading","src"]}constructor(){super(),this.delegate=new fc.delegateConstructor(this)}connectedCallback(){this.delegate.connect()}disconnectedCallback(){this.delegate.disconnect()}reload(){return this.delegate.sourceURLReloaded()}attributeChangedCallback(e){"loading"==e?this.delegate.loadingStyleChanged():"src"==e?this.delegate.sourceURLChanged():"disabled"==e&&this.delegate.disabledChanged()}get src(){return this.getAttribute("src")}set src(e){e?this.setAttribute("src",e):this.removeAttribute("src")}get refresh(){return this.getAttribute("refresh")}set refresh(e){e?this.setAttribute("refresh",e):this.removeAttribute("refresh")}get shouldReloadWithMorph(){return this.src&&"morph"===this.refresh}get loading(){return"lazy"===(this.getAttribute("loading")||"").toLowerCase()?hc.lazy:hc.eager}set loading(e){e?this.setAttribute("loading",e):this.removeAttribute("loading")}get disabled(){return this.hasAttribute("disabled")}set disabled(e){e?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get autoscroll(){return this.hasAttribute("autoscroll")}set autoscroll(e){e?this.setAttribute("autoscroll",""):this.removeAttribute("autoscroll")}get complete(){return!this.delegate.isLoading}get isActive(){return this.ownerDocument===document&&!this.isPreview}get isPreview(){return this.ownerDocument?.documentElement?.hasAttribute("data-turbo-preview")}}const mc={enabled:!0,progressBarDelay:500,unvisitableExtensions:new Set([".7z",".aac",".apk",".avi",".bmp",".bz2",".css",".csv",".deb",".dmg",".doc",".docx",".exe",".gif",".gz",".heic",".heif",".ico",".iso",".jpeg",".jpg",".js",".json",".m4a",".mkv",".mov",".mp3",".mp4",".mpeg",".mpg",".msi",".ogg",".ogv",".pdf",".pkg",".png",".ppt",".pptx",".rar",".rtf",".svg",".tar",".tif",".tiff",".txt",".wav",".webm",".webp",".wma",".wmv",".xls",".xlsx",".xml",".zip"])};function pc(e){if("false"==e.getAttribute("data-turbo-eval"))return e;{const t=document.createElement("script"),n=Rc();return n&&(t.nonce=n),t.textContent=e.textContent,t.async=!1,function(e,t){for(const{name:n,value:i}of t.attributes)e.setAttribute(n,i)}(t,e),t}}function gc(e,{target:t,cancelable:n,detail:i}={}){const r=new CustomEvent(e,{cancelable:n,bubbles:!0,composed:!0,detail:i});return t&&t.isConnected?t.dispatchEvent(r):document.documentElement.dispatchEvent(r),r}function bc(e){e.preventDefault(),e.stopImmediatePropagation()}function vc(){return"hidden"===document.visibilityState?Ac():yc()}function yc(){return new Promise(e=>requestAnimationFrame(()=>e()))}function Ac(){return new Promise(e=>setTimeout(()=>e(),0))}function wc(e=""){return(new DOMParser).parseFromString(e,"text/html")}function _c(e,...t){const n=function(e,t){return e.reduce((e,n,i)=>e+n+(null==t[i]?"":t[i]),"")}(e,t).replace(/^\n/,"").split("\n"),i=n[0].match(/^\s+/),r=i?i[0].length:0;return n.map(e=>e.slice(r)).join("\n")}function Ec(){return Array.from({length:36}).map((e,t)=>8==t||13==t||18==t||23==t?"-":14==t?"4":19==t?(Math.floor(4*Math.random())+8).toString(16):Math.floor(16*Math.random()).toString(16)).join("")}function Sc(e,...t){for(const n of t.map(t=>t?.getAttribute(e)))if("string"==typeof n)return n;return null}function Cc(...e){for(const t of e)"turbo-frame"==t.localName&&t.setAttribute("busy",""),t.setAttribute("aria-busy","true")}function xc(...e){for(const t of e)"turbo-frame"==t.localName&&t.removeAttribute("busy"),t.removeAttribute("aria-busy")}function kc(e,t=2e3){return new Promise(n=>{const i=()=>{e.removeEventListener("error",i),e.removeEventListener("load",i),n()};e.addEventListener("load",i,{once:!0}),e.addEventListener("error",i,{once:!0}),setTimeout(n,t)})}function Tc(e){switch(e){case"replace":return history.replaceState;case"advance":case"restore":return history.pushState}}function Lc(...e){const t=Sc("data-turbo-action",...e);return function(e){return"advance"==e||"replace"==e||"restore"==e}(t)?t:null}function Pc(e){return document.querySelector(`meta[name="${e}"]`)}function Ic(e){const t=Pc(e);return t&&t.content}function Rc(){const e=Pc("csp-nonce");if(e){const{nonce:t,content:n}=e;return""==t?n:t}}function Oc(e,t){if(e instanceof Element)return e.closest(t)||Oc(e.assignedSlot||e.getRootNode()?.host,t)}function Mc(e){return!!e&&null==e.closest("[inert], :disabled, [hidden], details:not([open]), dialog:not([open])")&&"function"==typeof e.focus}function Fc(e){return Array.from(e.querySelectorAll("[autofocus]")).find(Mc)}function Nc(e){if("_blank"===e)return!1;if(e){for(const t of document.getElementsByName(e))if(t instanceof HTMLIFrameElement)return!1;return!0}return!0}function Dc(e){const t=Oc(e,"a[href], a[xlink\\:href]");if(!t)return null;if(t.href.startsWith("#"))return null;if(t.hasAttribute("download"))return null;const n=t.getAttribute("target");return n&&"_self"!==n?null:t}const jc={"aria-disabled":{beforeSubmit:e=>{e.setAttribute("aria-disabled","true"),e.addEventListener("click",bc)},afterSubmit:e=>{e.removeAttribute("aria-disabled"),e.removeEventListener("click",bc)}},disabled:{beforeSubmit:e=>e.disabled=!0,afterSubmit:e=>e.disabled=!1}},Hc=new class{#e=null;constructor(e){Object.assign(this,e)}get submitter(){return this.#e}set submitter(e){this.#e=jc[e]||e}}({mode:"on",submitter:"disabled"}),qc={drive:mc,forms:Hc};function Bc(e){return new URL(e.toString(),document.baseURI)}function zc(e){let t;return e.hash?e.hash.slice(1):(t=e.href.match(/#(.*)$/))?t[1]:void 0}function $c(e,t){return Bc(t?.getAttribute("formaction")||e.getAttribute("action")||e.action)}function Wc(e,t){return function(e,t){const n=Qc(t.origin+t.pathname);return Qc(e.href)===n||e.href.startsWith(n)}(e,t)&&!qc.drive.unvisitableExtensions.has((n=e,(function(e){return function(e){return e.pathname.split("/").slice(1)}(e).slice(-1)[0]}(n).match(/\.[^.]*$/)||[])[0]||""));var n}function Vc(e){return Bc(e.getAttribute("href")||"")}function Uc(e){return function(e){const t=zc(e);return null!=t?e.href.slice(0,-(t.length+1)):e.href}(e)}function Yc(e,t){return Bc(e).href==Bc(t).href}function Qc(e){return e.endsWith("/")?e:e+"/"}class Kc{constructor(e){this.response=e}get succeeded(){return this.response.ok}get failed(){return!this.succeeded}get clientError(){return this.statusCode>=400&&this.statusCode<=499}get serverError(){return this.statusCode>=500&&this.statusCode<=599}get redirected(){return this.response.redirected}get location(){return Bc(this.response.url)}get isHTML(){return this.contentType&&this.contentType.match(/^(?:text\/([^\s;,]+\b)?html|application\/xhtml\+xml)\b/)}get statusCode(){return this.response.status}get contentType(){return this.header("Content-Type")}get responseText(){return this.response.clone().text()}get responseHTML(){return this.isHTML?this.response.clone().text():Promise.resolve(void 0)}header(e){return this.response.headers.get(e)}}class Xc extends Set{constructor(e){super(),this.maxSize=e}add(e){if(this.size>=this.maxSize){const e=this.values().next().value;this.delete(e)}super.add(e)}}const Gc=new Xc(20);function Jc(e,t={}){const n=new Headers(t.headers||{}),i=Ec();return Gc.add(i),n.append("X-Turbo-Request-Id",i),window.fetch(e,{...t,headers:n})}function Zc(e){switch(e.toLowerCase()){case"get":return eu.get;case"post":return eu.post;case"put":return eu.put;case"patch":return eu.patch;case"delete":return eu.delete}}const eu={get:"get",post:"post",put:"put",patch:"patch",delete:"delete"};function tu(e){switch(e.toLowerCase()){case nu.multipart:return nu.multipart;case nu.plain:return nu.plain;default:return nu.urlEncoded}}const nu={urlEncoded:"application/x-www-form-urlencoded",multipart:"multipart/form-data",plain:"text/plain"};class iu{abortController=new AbortController;#t=e=>{};constructor(e,t,n,i=new URLSearchParams,r=null,s=nu.urlEncoded){const[o,a]=su(Bc(n),t,i,s);this.delegate=e,this.url=o,this.target=r,this.fetchOptions={credentials:"same-origin",redirect:"follow",method:t.toUpperCase(),headers:{...this.defaultHeaders},body:a,signal:this.abortSignal,referrer:this.delegate.referrer?.href},this.enctype=s}get method(){return this.fetchOptions.method}set method(e){const t=this.isSafe?this.url.searchParams:this.fetchOptions.body||new FormData,n=Zc(e)||eu.get;this.url.search="";const[i,r]=su(this.url,n,t,this.enctype);this.url=i,this.fetchOptions.body=r,this.fetchOptions.method=n.toUpperCase()}get headers(){return this.fetchOptions.headers}set headers(e){this.fetchOptions.headers=e}get body(){return this.isSafe?this.url.searchParams:this.fetchOptions.body}set body(e){this.fetchOptions.body=e}get location(){return this.url}get params(){return this.url.searchParams}get entries(){return this.body?Array.from(this.body.entries()):[]}cancel(){this.abortController.abort()}async perform(){const{fetchOptions:e}=this;this.delegate.prepareRequest(this);const t=await this.#n(e);try{this.delegate.requestStarted(this),t.detail.fetchRequest?this.response=t.detail.fetchRequest.response:this.response=Jc(this.url.href,e);const n=await this.response;return await this.receive(n)}catch(e){if("AbortError"!==e.name)throw this.#i(e)&&this.delegate.requestErrored(this,e),e}finally{this.delegate.requestFinished(this)}}async receive(e){const t=new Kc(e);return gc("turbo:before-fetch-response",{cancelable:!0,detail:{fetchResponse:t},target:this.target}).defaultPrevented?this.delegate.requestPreventedHandlingResponse(this,t):t.succeeded?this.delegate.requestSucceededWithResponse(this,t):this.delegate.requestFailedWithResponse(this,t),t}get defaultHeaders(){return{Accept:"text/html, application/xhtml+xml"}}get isSafe(){return ru(this.method)}get abortSignal(){return this.abortController.signal}acceptResponseType(e){this.headers.Accept=[e,this.headers.Accept].join(", ")}async#n(e){const t=new Promise(e=>this.#t=e),n=gc("turbo:before-fetch-request",{cancelable:!0,detail:{fetchOptions:e,url:this.url,resume:this.#t},target:this.target});return this.url=n.detail.url,n.defaultPrevented&&await t,n}#i(e){return!gc("turbo:fetch-request-error",{target:this.target,cancelable:!0,detail:{request:this,error:e}}).defaultPrevented}}function ru(e){return Zc(e)==eu.get}function su(e,t,n,i){const r=Array.from(n).length>0?new URLSearchParams(ou(n)):e.searchParams;return ru(t)?[au(e,r),null]:i==nu.urlEncoded?[e,r]:[e,n]}function ou(e){const t=[];for(const[n,i]of e)i instanceof File||t.push([n,i]);return t}function au(e,t){const n=new URLSearchParams(ou(t));return e.search=n.toString(),e}class lu{started=!1;constructor(e,t){this.delegate=e,this.element=t,this.intersectionObserver=new IntersectionObserver(this.intersect)}start(){this.started||(this.started=!0,this.intersectionObserver.observe(this.element))}stop(){this.started&&(this.started=!1,this.intersectionObserver.unobserve(this.element))}intersect=e=>{const t=e.slice(-1)[0];t?.isIntersecting&&this.delegate.elementAppearedInViewport(this.element)}}class cu{static contentType="text/vnd.turbo-stream.html";static wrap(e){return"string"==typeof e?new this(function(e){const t=document.createElement("template");return t.innerHTML=e,t.content}(e)):e}constructor(e){this.fragment=function(e){for(const t of e.querySelectorAll("turbo-stream")){const e=document.importNode(t,!0);for(const t of e.templateElement.content.querySelectorAll("script"))t.replaceWith(pc(t));t.replaceWith(e)}return e}(e)}}const uu=e=>e;class du{keys=[];entries={};#r;constructor(e,t=uu){this.size=e,this.#r=t}has(e){return this.#r(e)in this.entries}get(e){if(this.has(e)){const t=this.read(e);return this.touch(e),t}}put(e,t){return this.write(e,t),this.touch(e),t}clear(){for(const e of Object.keys(this.entries))this.evict(e)}read(e){return this.entries[this.#r(e)]}write(e,t){this.entries[this.#r(e)]=t}touch(e){e=this.#r(e);const t=this.keys.indexOf(e);t>-1&&this.keys.splice(t,1),this.keys.unshift(e),this.trim()}trim(){for(const e of this.keys.splice(this.size))this.evict(e)}evict(e){delete this.entries[e]}}const hu=new class extends du{#s=null;#o={};constructor(e=1,t=100){super(e,Uc),this.prefetchDelay=t}putLater(e,t,n){this.#s=setTimeout(()=>{t.perform(),this.put(e,t,n),this.#s=null},this.prefetchDelay)}put(e,t,n=1e4){super.put(e,t),this.#o[Uc(e)]=new Date((new Date).getTime()+n)}clear(){super.clear(),this.#s&&clearTimeout(this.#s)}evict(e){super.evict(e),delete this.#o[e]}has(e){if(super.has(e)){const t=this.#o[Uc(e)];return t&&t>Date.now()}return!1}},fu={initialized:"initialized",requesting:"requesting",waiting:"waiting",receiving:"receiving",stopping:"stopping",stopped:"stopped"};class mu{state=fu.initialized;static confirmMethod(e){return Promise.resolve(confirm(e))}constructor(e,t,n,i=!1){const r=function(e,t){return Zc((t?.getAttribute("formmethod")||e.getAttribute("method")||"").toLowerCase())||eu.get}(t,n),s=function(e,t){const n=Bc(e);return ru(t)&&(n.search=""),n}(function(e,t){const n="string"==typeof e.action?e.action:null;return t?.hasAttribute("formaction")?t.getAttribute("formaction")||"":e.getAttribute("action")||n||""}(t,n),r),o=function(e,t){const n=new FormData(e),i=t?.getAttribute("name"),r=t?.getAttribute("value");return i&&n.append(i,r||""),n}(t,n),a=function(e,t){return tu(t?.getAttribute("formenctype")||e.enctype)}(t,n);this.delegate=e,this.formElement=t,this.submitter=n,this.fetchRequest=new iu(this,r,s,o,t,a),this.mustRedirect=i}get method(){return this.fetchRequest.method}set method(e){this.fetchRequest.method=e}get action(){return this.fetchRequest.url.toString()}set action(e){this.fetchRequest.url=Bc(e)}get body(){return this.fetchRequest.body}get enctype(){return this.fetchRequest.enctype}get isSafe(){return this.fetchRequest.isSafe}get location(){return this.fetchRequest.url}async start(){const{initialized:e,requesting:t}=fu,n=Sc("data-turbo-confirm",this.submitter,this.formElement);if("string"==typeof n){const e="function"==typeof qc.forms.confirm?qc.forms.confirm:mu.confirmMethod;if(!await e(n,this.formElement,this.submitter))return}if(this.state==e)return this.state=t,this.fetchRequest.perform()}stop(){const{stopping:e,stopped:t}=fu;if(this.state!=e&&this.state!=t)return this.state=e,this.fetchRequest.cancel(),!0}prepareRequest(e){if(!e.isSafe){const t=function(e){if(null!=e){const t=(document.cookie?document.cookie.split("; "):[]).find(t=>t.startsWith(e));if(t){const e=t.split("=").slice(1).join("=");return e?decodeURIComponent(e):void 0}}}(Ic("csrf-param"))||Ic("csrf-token");t&&(e.headers["X-CSRF-Token"]=t)}this.requestAcceptsTurboStreamResponse(e)&&e.acceptResponseType(cu.contentType)}requestStarted(e){this.state=fu.waiting,this.submitter&&qc.forms.submitter.beforeSubmit(this.submitter),this.setSubmitsWith(),Cc(this.formElement),gc("turbo:submit-start",{target:this.formElement,detail:{formSubmission:this}}),this.delegate.formSubmissionStarted(this)}requestPreventedHandlingResponse(e,t){hu.clear(),this.result={success:t.succeeded,fetchResponse:t}}requestSucceededWithResponse(e,t){if(t.clientError||t.serverError)this.delegate.formSubmissionFailedWithResponse(this,t);else if(hu.clear(),this.requestMustRedirect(e)&&function(e){return 200==e.statusCode&&!e.redirected}(t)){const e=new Error("Form responses must redirect to another location");this.delegate.formSubmissionErrored(this,e)}else this.state=fu.receiving,this.result={success:!0,fetchResponse:t},this.delegate.formSubmissionSucceededWithResponse(this,t)}requestFailedWithResponse(e,t){this.result={success:!1,fetchResponse:t},this.delegate.formSubmissionFailedWithResponse(this,t)}requestErrored(e,t){this.result={success:!1,error:t},this.delegate.formSubmissionErrored(this,t)}requestFinished(e){this.state=fu.stopped,this.submitter&&qc.forms.submitter.afterSubmit(this.submitter),this.resetSubmitterText(),xc(this.formElement),gc("turbo:submit-end",{target:this.formElement,detail:{formSubmission:this,...this.result}}),this.delegate.formSubmissionFinished(this)}setSubmitsWith(){if(this.submitter&&this.submitsWith)if(this.submitter.matches("button"))this.originalSubmitText=this.submitter.innerHTML,this.submitter.innerHTML=this.submitsWith;else if(this.submitter.matches("input")){const e=this.submitter;this.originalSubmitText=e.value,e.value=this.submitsWith}}resetSubmitterText(){this.submitter&&this.originalSubmitText&&(this.submitter.matches("button")?this.submitter.innerHTML=this.originalSubmitText:this.submitter.matches("input")&&(this.submitter.value=this.originalSubmitText))}requestMustRedirect(e){return!e.isSafe&&this.mustRedirect}requestAcceptsTurboStreamResponse(e){return!e.isSafe||function(e,...t){return t.some(t=>t&&t.hasAttribute(e))}("data-turbo-stream",this.submitter,this.formElement)}get submitsWith(){return this.submitter?.getAttribute("data-turbo-submits-with")}}class pu{constructor(e){this.element=e}get activeElement(){return this.element.ownerDocument.activeElement}get children(){return[...this.element.children]}hasAnchor(e){return null!=this.getElementForAnchor(e)}getElementForAnchor(e){return e?this.element.querySelector(`[id='${e}'], a[name='${e}']`):null}get isConnected(){return this.element.isConnected}get firstAutofocusableElement(){return Fc(this.element)}get permanentElements(){return bu(this.element)}getPermanentElementById(e){return gu(this.element,e)}getPermanentElementMapForSnapshot(e){const t={};for(const n of this.permanentElements){const{id:i}=n,r=e.getPermanentElementById(i);r&&(t[i]=[n,r])}return t}}function gu(e,t){return e.querySelector(`#${t}[data-turbo-permanent]`)}function bu(e){return e.querySelectorAll("[id][data-turbo-permanent]")}class vu{started=!1;constructor(e,t){this.delegate=e,this.eventTarget=t}start(){this.started||(this.eventTarget.addEventListener("submit",this.submitCaptured,!0),this.started=!0)}stop(){this.started&&(this.eventTarget.removeEventListener("submit",this.submitCaptured,!0),this.started=!1)}submitCaptured=()=>{this.eventTarget.removeEventListener("submit",this.submitBubbled,!1),this.eventTarget.addEventListener("submit",this.submitBubbled,!1)};submitBubbled=e=>{if(!e.defaultPrevented){const t=e.target instanceof HTMLFormElement?e.target:void 0,n=e.submitter||void 0;t&&function(e,t){return"dialog"!=(t?.getAttribute("formmethod")||e.getAttribute("method"))}(t,n)&&function(e,t){return Nc(t?.getAttribute("formtarget")||e.getAttribute("target"))}(t,n)&&this.delegate.willSubmitForm(t,n)&&(e.preventDefault(),e.stopImmediatePropagation(),this.delegate.formSubmitted(t,n))}}}class yu{#a=e=>{};#l=e=>{};constructor(e,t){this.delegate=e,this.element=t}scrollToAnchor(e){const t=this.snapshot.getElementForAnchor(e);t?(this.focusElement(t),this.scrollToElement(t)):this.scrollToPosition({x:0,y:0})}scrollToAnchorFromLocation(e){this.scrollToAnchor(zc(e))}scrollToElement(e){e.scrollIntoView()}focusElement(e){e instanceof HTMLElement&&(e.hasAttribute("tabindex")?e.focus():(e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")))}scrollToPosition({x:e,y:t}){this.scrollRoot.scrollTo(e,t)}scrollToTop(){this.scrollToPosition({x:0,y:0})}get scrollRoot(){return window}async render(e){const{isPreview:t,shouldRender:n,willRender:i,newSnapshot:r}=e,s=i;if(n)try{this.renderPromise=new Promise(e=>this.#a=e),this.renderer=e,await this.prepareToRenderSnapshot(e);const n=new Promise(e=>this.#l=e),i={resume:this.#l,render:this.renderer.renderElement,renderMethod:this.renderer.renderMethod};this.delegate.allowsImmediateRender(r,i)||await n,await this.renderSnapshot(e),this.delegate.viewRenderedSnapshot(r,t,this.renderer.renderMethod),this.delegate.preloadOnLoadLinksForView(this.element),this.finishRenderingSnapshot(e)}finally{delete this.renderer,this.#a(void 0),delete this.renderPromise}else s&&this.invalidate(e.reloadReason)}invalidate(e){this.delegate.viewInvalidated(e)}async prepareToRenderSnapshot(e){this.markAsPreview(e.isPreview),await e.prepareToRender()}markAsPreview(e){e?this.element.setAttribute("data-turbo-preview",""):this.element.removeAttribute("data-turbo-preview")}markVisitDirection(e){this.element.setAttribute("data-turbo-visit-direction",e)}unmarkVisitDirection(){this.element.removeAttribute("data-turbo-visit-direction")}async renderSnapshot(e){await e.render()}finishRenderingSnapshot(e){e.finishRendering()}}class Au extends yu{missing(){this.element.innerHTML='Content missing'}get snapshot(){return new pu(this.element)}}class wu{constructor(e,t){this.delegate=e,this.element=t}start(){this.element.addEventListener("click",this.clickBubbled),document.addEventListener("turbo:click",this.linkClicked),document.addEventListener("turbo:before-visit",this.willVisit)}stop(){this.element.removeEventListener("click",this.clickBubbled),document.removeEventListener("turbo:click",this.linkClicked),document.removeEventListener("turbo:before-visit",this.willVisit)}clickBubbled=e=>{this.clickEventIsSignificant(e)?this.clickEvent=e:delete this.clickEvent};linkClicked=e=>{this.clickEvent&&this.clickEventIsSignificant(e)&&this.delegate.shouldInterceptLinkClick(e.target,e.detail.url,e.detail.originalEvent)&&(this.clickEvent.preventDefault(),e.preventDefault(),this.delegate.linkClickIntercepted(e.target,e.detail.url,e.detail.originalEvent)),delete this.clickEvent};willVisit=e=>{delete this.clickEvent};clickEventIsSignificant(e){const t=e.composed?e.target?.parentElement:e.target,n=Dc(t)||t;return n instanceof Element&&n.closest("turbo-frame, html")==this.element}}class _u{started=!1;constructor(e,t){this.delegate=e,this.eventTarget=t}start(){this.started||(this.eventTarget.addEventListener("click",this.clickCaptured,!0),this.started=!0)}stop(){this.started&&(this.eventTarget.removeEventListener("click",this.clickCaptured,!0),this.started=!1)}clickCaptured=()=>{this.eventTarget.removeEventListener("click",this.clickBubbled,!1),this.eventTarget.addEventListener("click",this.clickBubbled,!1)};clickBubbled=e=>{if(e instanceof MouseEvent&&this.clickEventIsSignificant(e)){const t=Dc(e.composedPath&&e.composedPath()[0]||e.target);if(t&&Nc(t.target)){const n=Vc(t);this.delegate.willFollowLinkToLocation(t,n,e)&&(e.preventDefault(),this.delegate.followedLinkToLocation(t,n))}}};clickEventIsSignificant(e){return!(e.target&&e.target.isContentEditable||e.defaultPrevented||e.which>1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)}}class Eu{constructor(e,t){this.delegate=e,this.linkInterceptor=new _u(this,t)}start(){this.linkInterceptor.start()}stop(){this.linkInterceptor.stop()}canPrefetchRequestToLocation(e,t){return!1}prefetchAndCacheRequestToLocation(e,t){}willFollowLinkToLocation(e,t,n){return this.delegate.willSubmitFormLinkToLocation(e,t,n)&&(e.hasAttribute("data-turbo-method")||e.hasAttribute("data-turbo-stream"))}followedLinkToLocation(e,t){const n=document.createElement("form");for(const[e,i]of t.searchParams)n.append(Object.assign(document.createElement("input"),{type:"hidden",name:e,value:i}));const i=Object.assign(t,{search:""});n.setAttribute("data-turbo","true"),n.setAttribute("action",i.href),n.setAttribute("hidden","");const r=e.getAttribute("data-turbo-method");r&&n.setAttribute("method",r);const s=e.getAttribute("data-turbo-frame");s&&n.setAttribute("data-turbo-frame",s);const o=Lc(e);o&&n.setAttribute("data-turbo-action",o);const a=e.getAttribute("data-turbo-confirm");a&&n.setAttribute("data-turbo-confirm",a),e.hasAttribute("data-turbo-stream")&&n.setAttribute("data-turbo-stream",""),this.delegate.submittedFormLinkToLocation(e,t,n),document.body.appendChild(n),n.addEventListener("turbo:submit-end",()=>n.remove(),{once:!0}),requestAnimationFrame(()=>n.requestSubmit())}}class Su{static async preservingPermanentElements(e,t,n){const i=new this(e,t);i.enter(),await n(),i.leave()}constructor(e,t){this.delegate=e,this.permanentElementMap=t}enter(){for(const e in this.permanentElementMap){const[t,n]=this.permanentElementMap[e];this.delegate.enteringBardo(t,n),this.replaceNewPermanentElementWithPlaceholder(n)}}leave(){for(const e in this.permanentElementMap){const[t]=this.permanentElementMap[e];this.replaceCurrentPermanentElementWithClone(t),this.replacePlaceholderWithPermanentElement(t),this.delegate.leavingBardo(t)}}replaceNewPermanentElementWithPlaceholder(e){const t=function(e){const t=document.createElement("meta");return t.setAttribute("name","turbo-permanent-placeholder"),t.setAttribute("content",e.id),t}(e);e.replaceWith(t)}replaceCurrentPermanentElementWithClone(e){const t=e.cloneNode(!0);e.replaceWith(t)}replacePlaceholderWithPermanentElement(e){const t=this.getPlaceholderById(e.id);t?.replaceWith(e)}getPlaceholderById(e){return this.placeholders.find(t=>t.content==e)}get placeholders(){return[...document.querySelectorAll("meta[name=turbo-permanent-placeholder][content]")]}}class Cu{#c=null;static renderElement(e,t){}constructor(e,t,n,i=!0){this.currentSnapshot=e,this.newSnapshot=t,this.isPreview=n,this.willRender=i,this.renderElement=this.constructor.renderElement,this.promise=new Promise((e,t)=>this.resolvingFunctions={resolve:e,reject:t})}get shouldRender(){return!0}get shouldAutofocus(){return!0}get reloadReason(){}prepareToRender(){}render(){}finishRendering(){this.resolvingFunctions&&(this.resolvingFunctions.resolve(),delete this.resolvingFunctions)}async preservingPermanentElements(e){await Su.preservingPermanentElements(this,this.permanentElementMap,e)}focusFirstAutofocusableElement(){if(this.shouldAutofocus){const e=this.connectedSnapshot.firstAutofocusableElement;e&&e.focus()}}enteringBardo(e){this.#c||e.contains(this.currentSnapshot.activeElement)&&(this.#c=this.currentSnapshot.activeElement)}leavingBardo(e){e.contains(this.#c)&&this.#c instanceof HTMLElement&&(this.#c.focus(),this.#c=null)}get connectedSnapshot(){return this.newSnapshot.isConnected?this.newSnapshot:this.currentSnapshot}get currentElement(){return this.currentSnapshot.element}get newElement(){return this.newSnapshot.element}get permanentElementMap(){return this.currentSnapshot.getPermanentElementMapForSnapshot(this.newSnapshot)}get renderMethod(){return"replace"}}class xu extends Cu{static renderElement(e,t){const n=document.createRange();n.selectNodeContents(e),n.deleteContents();const i=t,r=i.ownerDocument?.createRange();r&&(r.selectNodeContents(i),e.appendChild(r.extractContents()))}constructor(e,t,n,i,r,s=!0){super(t,n,i,r,s),this.delegate=e}get shouldRender(){return!0}async render(){await vc(),this.preservingPermanentElements(()=>{this.loadFrameElement()}),this.scrollFrameIntoView(),await vc(),this.focusFirstAutofocusableElement(),await vc(),this.activateScriptElements()}loadFrameElement(){this.delegate.willRenderFrame(this.currentElement,this.newElement),this.renderElement(this.currentElement,this.newElement)}scrollFrameIntoView(){if(this.currentElement.autoscroll||this.newElement.autoscroll){const t=this.currentElement.firstElementChild,n="end"==(e=this.currentElement.getAttribute("data-autoscroll-block"))||"start"==e||"center"==e||"nearest"==e?e:"end",i=function(e){return"auto"==e||"smooth"==e?e:"auto"}(this.currentElement.getAttribute("data-autoscroll-behavior"));if(t)return t.scrollIntoView({block:n,behavior:i}),!0}var e;return!1}activateScriptElements(){for(const e of this.newScriptElements){const t=pc(e);e.replaceWith(t)}}get newScriptElements(){return this.currentElement.querySelectorAll("script")}}var ku=function(){const e=()=>{},t={morphStyle:"outerHTML",callbacks:{beforeNodeAdded:e,afterNodeAdded:e,beforeNodeMorphed:e,afterNodeMorphed:e,beforeNodeRemoved:e,afterNodeRemoved:e,beforeAttributeUpdated:e},head:{style:"merge",shouldPreserve:e=>"true"===e.getAttribute("im-preserve"),shouldReAppend:e=>"true"===e.getAttribute("im-re-append"),shouldRemove:e,afterHeadMorphed:e},restoreFocus:!0},n=function(){function e(e,t,n,r){if(!1===r.callbacks.beforeNodeAdded(t))return null;if(r.idMap.has(t)){const s=document.createElement(t.tagName);return e.insertBefore(s,n),i(s,t,r),r.callbacks.afterNodeAdded(s),s}{const i=document.importNode(t,!0);return e.insertBefore(i,n),r.callbacks.afterNodeAdded(i),i}}const t=function(){function e(e,t,n){let i=e.idMap.get(t),r=e.idMap.get(n);if(!r||!i)return!1;for(const e of i)if(r.has(e))return!0;return!1}function t(e,t){const n=e,i=t;return n.nodeType===i.nodeType&&n.tagName===i.tagName&&(!n.getAttribute?.("id")||n.getAttribute?.("id")===i.getAttribute?.("id"))}return function(n,i,r,s){let o=null,a=i.nextSibling,l=0,c=r;for(;c&&c!=s;){if(t(c,i)){if(e(n,c,i))return c;null===o&&(n.idMap.has(c)||(o=c))}if(null===o&&a&&t(c,a)&&(l++,a=a.nextSibling,l>=2&&(o=void 0)),n.activeElementAndParents.includes(c))break;c=c.nextSibling}return o||null}}();function n(e,t){if(e.idMap.has(t))o(e.pantry,t,null);else{if(!1===e.callbacks.beforeNodeRemoved(t))return;t.parentNode?.removeChild(t),e.callbacks.afterNodeRemoved(t)}}function r(e,t,i){let r=t;for(;r&&r!==i;){let t=r;r=r.nextSibling,n(e,t)}return r}function s(e,t,n,i){const r=i.target.getAttribute?.("id")===t&&i.target||i.target.querySelector(`[id="${t}"]`)||i.pantry.querySelector(`[id="${t}"]`);return function(e,t){const n=e.getAttribute("id");for(;e=e.parentNode;){let i=t.idMap.get(e);i&&(i.delete(n),i.size||t.idMap.delete(e))}}(r,i),o(e,r,n),r}function o(e,t,n){if(e.moveBefore)try{e.moveBefore(t,n)}catch(i){e.insertBefore(t,n)}else e.insertBefore(t,n)}return function(o,a,l,c=null,u=null){a instanceof HTMLTemplateElement&&l instanceof HTMLTemplateElement&&(a=a.content,l=l.content),c||=a.firstChild;for(const n of l.childNodes){if(c&&c!=u){const e=t(o,n,c,u);if(e){e!==c&&r(o,c,e),i(e,n,o),c=e.nextSibling;continue}}if(n instanceof Element){const e=n.getAttribute("id");if(o.persistentIds.has(e)){const t=s(a,e,c,o);i(t,n,o),c=t.nextSibling;continue}}const l=e(a,n,c,o);l&&(c=l.nextSibling)}for(;c&&c!=u;){const e=c;c=c.nextSibling,n(o,e)}}}(),i=function(){function e(e,n,i,r){const s=n[i];if(s!==e[i]){const o=t(i,e,"update",r);o||(e[i]=n[i]),s?o||e.setAttribute(i,""):t(i,e,"remove",r)||e.removeAttribute(i)}}function t(e,t,n,i){return!("value"!==e||!i.ignoreActiveValue||t!==document.activeElement)||!1===i.callbacks.beforeAttributeUpdated(e,t,n)}function i(e,t){return!!t.ignoreActiveValue&&e===document.activeElement&&e!==document.body}return function(s,o,a){return a.ignoreActive&&s===document.activeElement?null:(!1===a.callbacks.beforeNodeMorphed(s,o)||(s instanceof HTMLHeadElement&&a.head.ignore||(s instanceof HTMLHeadElement&&"morph"!==a.head.style?r(s,o,a):(function(n,r,s){let o=r.nodeType;if(1===o){const o=n,a=r,l=o.attributes,c=a.attributes;for(const e of c)t(e.name,o,"update",s)||o.getAttribute(e.name)!==e.value&&o.setAttribute(e.name,e.value);for(let e=l.length-1;0<=e;e--){const n=l[e];if(n&&!a.hasAttribute(n.name)){if(t(n.name,o,"remove",s))continue;o.removeAttribute(n.name)}}i(o,s)||function(n,i,r){if(n instanceof HTMLInputElement&&i instanceof HTMLInputElement&&"file"!==i.type){let s=i.value,o=n.value;e(n,i,"checked",r),e(n,i,"disabled",r),i.hasAttribute("value")?o!==s&&(t("value",n,"update",r)||(n.setAttribute("value",s),n.value=s)):t("value",n,"remove",r)||(n.value="",n.removeAttribute("value"))}else if(n instanceof HTMLOptionElement&&i instanceof HTMLOptionElement)e(n,i,"selected",r);else if(n instanceof HTMLTextAreaElement&&i instanceof HTMLTextAreaElement){let e=i.value,s=n.value;if(t("value",n,"update",r))return;e!==s&&(n.value=e),n.firstChild&&n.firstChild.nodeValue!==e&&(n.firstChild.nodeValue=e)}}(o,a,s)}8!==o&&3!==o||n.nodeValue!==r.nodeValue&&(n.nodeValue=r.nodeValue)}(s,o,a),i(s,a)||n(a,s,o))),a.callbacks.afterNodeMorphed(s,o)),s)}}();function r(e,t,n){let i=[],r=[],s=[],o=[],a=new Map;for(const e of t.children)a.set(e.outerHTML,e);for(const t of e.children){let e=a.has(t.outerHTML),i=n.head.shouldReAppend(t),l=n.head.shouldPreserve(t);e||l?i?r.push(t):(a.delete(t.outerHTML),s.push(t)):"append"===n.head.style?i&&(r.push(t),o.push(t)):!1!==n.head.shouldRemove(t)&&r.push(t)}o.push(...a.values());let l=[];for(const t of o){let r=document.createRange().createContextualFragment(t.outerHTML).firstChild;if(!1!==n.callbacks.beforeNodeAdded(r)){if("href"in r&&r.href||"src"in r&&r.src){let e,t=new Promise(function(t){e=t});r.addEventListener("load",function(){e()}),l.push(t)}e.appendChild(r),n.callbacks.afterNodeAdded(r),i.push(r)}}for(const t of r)!1!==n.callbacks.beforeNodeRemoved(t)&&(e.removeChild(t),n.callbacks.afterNodeRemoved(t));return n.head.afterHeadMorphed(e,{added:i,kept:s,removed:r}),l}const s=function(){function e(){const e=document.createElement("div");return e.hidden=!0,document.body.insertAdjacentElement("afterend",e),e}function n(e){let t=[],n=document.activeElement;if("BODY"!==n?.tagName&&e.contains(n))for(;n&&(t.push(n),n!==e);)n=n.parentElement;return t}function i(e){let t=Array.from(e.querySelectorAll("[id]"));return e.getAttribute?.("id")&&t.push(e),t}function r(e,t,n,i){for(const r of i){const i=r.getAttribute("id");if(t.has(i)){let t=r;for(;t;){let r=e.get(t);if(null==r&&(r=new Set,e.set(t,r)),r.add(i),t===n)break;t=t.parentElement}}}}return function(s,o,a){const{persistentIds:l,idMap:c}=function(e,t){const n=i(e),s=i(t),o=function(e,t){let n=new Set,i=new Map;for(const{id:t,tagName:r}of e)i.has(t)?n.add(t):i.set(t,r);let r=new Set;for(const{id:e,tagName:s}of t)r.has(e)?n.add(e):i.get(e)===s&&r.add(e);for(const e of n)r.delete(e);return r}(n,s);let a=new Map;r(a,o,e,n);return r(a,o,t.__idiomorphRoot||t,s),{persistentIds:o,idMap:a}}(s,o),u=function(e){let n=Object.assign({},t);return Object.assign(n,e),n.callbacks=Object.assign({},t.callbacks,e.callbacks),n.head=Object.assign({},t.head,e.head),n}(a),d=u.morphStyle||"outerHTML";if(!["innerHTML","outerHTML"].includes(d))throw`Do not understand how to morph style ${d}`;return{target:s,newContent:o,config:u,morphStyle:d,ignoreActive:u.ignoreActive,ignoreActiveValue:u.ignoreActiveValue,restoreFocus:u.restoreFocus,idMap:c,persistentIds:l,pantry:e(),activeElementAndParents:n(s),callbacks:u.callbacks,head:u.head}}}(),{normalizeElement:o,normalizeParent:a}=function(){const e=new WeakSet;class t{constructor(e){this.originalNode=e,this.realParentNode=e.parentNode,this.previousSibling=e.previousSibling,this.nextSibling=e.nextSibling}get childNodes(){const e=[];let t=this.previousSibling?this.previousSibling.nextSibling:this.realParentNode.firstChild;for(;t&&t!=this.nextSibling;)e.push(t),t=t.nextSibling;return e}querySelectorAll(e){return this.childNodes.reduce((t,n)=>{if(n instanceof Element){n.matches(e)&&t.push(n);const i=n.querySelectorAll(e);for(let e=0;e]*>|>)([\s\S]*?)<\/svg>/gim,"");if(i.match(/<\/html>/)||i.match(/<\/head>/)||i.match(/<\/body>/)){let r=n.parseFromString(t,"text/html");if(i.match(/<\/html>/))return e.add(r),r;{let t=r.firstChild;return t&&e.add(t),t}}{let i=n.parseFromString("","text/html").body.querySelector("template").content;return e.add(i),i}}(i));if(e.has(i))return i;if(i instanceof Node){if(i.parentNode)return new t(i);{const e=document.createElement("div");return e.append(i),e}}{const e=document.createElement("div");for(const t of[...i])e.append(t);return e}}}}();return{morph:function(e,t,i={}){e=o(e);const l=a(t),c=s(e,l,i),u=function(e,t){if(!e.config.restoreFocus)return t();let n=document.activeElement;if(!(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement))return t();const{id:i,selectionStart:r,selectionEnd:s}=n,o=t();return i&&i!==document.activeElement?.getAttribute("id")&&(n=e.target.querySelector(`[id="${i}"]`),n?.focus()),n&&!n.selectionEnd&&s&&n.setSelectionRange(r,s),o}(c,()=>function(e,t,n,i){if(e.head.block){const s=t.querySelector("head"),o=n.querySelector("head");if(s&&o){const t=r(s,o,e);return Promise.all(t).then(()=>{const t=Object.assign(e,{head:{block:!1,ignore:!0}});return i(t)})}}return i(e)}(c,e,l,t=>"innerHTML"===t.morphStyle?(n(t,e,l),Array.from(e.childNodes)):function(e,t,i){const r=a(t);return n(e,r,i,t,t.nextSibling),Array.from(r.childNodes)}(t,e,l)));return c.pantry.remove(),u},defaults:t}}();function Tu(e,t,{callbacks:n,...i}={}){ku.morph(e,t,{...i,callbacks:new Ru(n)})}function Lu(e,t,n={}){Tu(e,t.childNodes,{...n,morphStyle:"innerHTML"})}function Pu(e,t){return e instanceof fc&&e.shouldReloadWithMorph&&(!t||function(e,t){return t instanceof Element&&"TURBO-FRAME"===t.nodeName&&e.id===t.id&&(!t.getAttribute("src")||Yc(e.src,t.getAttribute("src")))}(e,t))&&!e.closest("[data-turbo-permanent]")}function Iu(e){return e.parentElement.closest("turbo-frame[src][refresh=morph]")}class Ru{#u;constructor({beforeNodeMorphed:e}={}){this.#u=e||(()=>!0)}beforeNodeAdded=e=>!(e.id&&e.hasAttribute("data-turbo-permanent")&&document.getElementById(e.id));beforeNodeMorphed=(e,t)=>{if(e instanceof Element)return!(e.hasAttribute("data-turbo-permanent")||!this.#u(e,t))&&!gc("turbo:before-morph-element",{cancelable:!0,target:e,detail:{currentElement:e,newElement:t}}).defaultPrevented};beforeAttributeUpdated=(e,t,n)=>!gc("turbo:before-morph-attribute",{cancelable:!0,target:t,detail:{attributeName:e,mutationType:n}}).defaultPrevented;beforeNodeRemoved=e=>this.beforeNodeMorphed(e);afterNodeMorphed=(e,t)=>{e instanceof Element&&gc("turbo:morph-element",{target:e,detail:{currentElement:e,newElement:t}})}}class Ou extends xu{static renderElement(e,t){gc("turbo:before-frame-morph",{target:e,detail:{currentElement:e,newElement:t}}),Lu(e,t,{callbacks:{beforeNodeMorphed:(t,n)=>!Pu(t,n)||Iu(t)!==e||(t.reload(),!1)}})}async preservingPermanentElements(e){return await e()}}class Mu{static animationDuration=300;static get defaultCSS(){return _c` .turbo-progress-bar { position: fixed; display: block; @@ -9,11 +9,11 @@ background: #0076ff; z-index: 2147483647; transition: - width ${xu.animationDuration}ms ease-out, - opacity ${xu.animationDuration/2}ms ${xu.animationDuration/2}ms ease-in; + width ${Mu.animationDuration}ms ease-out, + opacity ${Mu.animationDuration/2}ms ${Mu.animationDuration/2}ms ease-in; transform: translate3d(0, 0, 0); } - `}hiding=!1;value=0;visible=!1;constructor(){this.stylesheetElement=this.createStylesheetElement(),this.progressElement=this.createProgressElement(),this.installStylesheetElement(),this.setValue(0)}show(){this.visible||(this.visible=!0,this.installProgressElement(),this.startTrickling())}hide(){this.visible&&!this.hiding&&(this.hiding=!0,this.fadeProgressElement(()=>{this.uninstallProgressElement(),this.stopTrickling(),this.visible=!1,this.hiding=!1}))}setValue(e){this.value=e,this.refresh()}installStylesheetElement(){document.head.insertBefore(this.stylesheetElement,document.head.firstChild)}installProgressElement(){this.progressElement.style.width="0",this.progressElement.style.opacity="1",document.documentElement.insertBefore(this.progressElement,document.body),this.refresh()}fadeProgressElement(e){this.progressElement.style.opacity="0",setTimeout(e,1.5*xu.animationDuration)}uninstallProgressElement(){this.progressElement.parentNode&&document.documentElement.removeChild(this.progressElement)}startTrickling(){this.trickleInterval||(this.trickleInterval=window.setInterval(this.trickle,xu.animationDuration))}stopTrickling(){window.clearInterval(this.trickleInterval),delete this.trickleInterval}trickle=()=>{this.setValue(this.value+Math.random()/100)};refresh(){requestAnimationFrame(()=>{this.progressElement.style.width=10+90*this.value+"%"})}createStylesheetElement(){const e=document.createElement("style");e.type="text/css",e.textContent=xu.defaultCSS;const t=Pc();return t&&(e.nonce=t),e}createProgressElement(){const e=document.createElement("div");return e.className="turbo-progress-bar",e}}class Lu extends du{detailsByOuterHTML=this.children.filter(e=>!function(e){return"noscript"==e.localName}(e)).map(e=>function(e){return e.hasAttribute("nonce")&&e.setAttribute("nonce",""),e}(e)).reduce((e,t)=>{const{outerHTML:n}=t,r=n in e?e[n]:{type:Pu(t),tracked:Ru(t),elements:[]};return{...e,[n]:{...r,elements:[...r.elements,t]}}},{});get trackedElementSignature(){return Object.keys(this.detailsByOuterHTML).filter(e=>this.detailsByOuterHTML[e].tracked).join("")}getScriptElementsNotInSnapshot(e){return this.getElementsMatchingTypeNotInSnapshot("script",e)}getStylesheetElementsNotInSnapshot(e){return this.getElementsMatchingTypeNotInSnapshot("stylesheet",e)}getElementsMatchingTypeNotInSnapshot(e,t){return Object.keys(this.detailsByOuterHTML).filter(e=>!(e in t.detailsByOuterHTML)).map(e=>this.detailsByOuterHTML[e]).filter(({type:t})=>t==e).map(({elements:[e]})=>e)}get provisionalElements(){return Object.keys(this.detailsByOuterHTML).reduce((e,t)=>{const{type:n,tracked:r,elements:i}=this.detailsByOuterHTML[t];return null!=n||r?i.length>1?[...e,...i.slice(1)]:e:[...e,...i]},[])}getMetaValue(e){const t=this.findMetaElementByName(e);return t?t.getAttribute("content"):null}findMetaElementByName(e){return Object.keys(this.detailsByOuterHTML).reduce((t,n)=>{const{elements:[r]}=this.detailsByOuterHTML[n];return function(e,t){return"meta"==e.localName&&e.getAttribute("name")==t}(r,e)?r:t},0)}}function Pu(e){return function(e){return"script"==e.localName}(e)?"script":function(e){const t=e.localName;return"style"==t||"link"==t&&"stylesheet"==e.getAttribute("rel")}(e)?"stylesheet":void 0}function Ru(e){return"reload"==e.getAttribute("data-turbo-track")}class Ou extends du{static fromHTMLString(e=""){return this.fromDocument(yc(e))}static fromElement(e){return this.fromDocument(e.ownerDocument)}static fromDocument({documentElement:e,body:t,head:n}){return new this(e,t,new Lu(n))}constructor(e,t,n){super(t),this.documentElement=e,this.headSnapshot=n}clone(){const e=this.element.cloneNode(!0),t=this.element.querySelectorAll("select"),n=e.querySelectorAll("select");for(const[e,r]of t.entries()){const t=n[e];for(const e of t.selectedOptions)e.selected=!1;for(const e of r.selectedOptions)t.options[e.index].selected=!0}for(const t of e.querySelectorAll('input[type="password"]'))t.value="";return new Ou(this.documentElement,e,this.headSnapshot)}get lang(){return this.documentElement.getAttribute("lang")}get headElement(){return this.headSnapshot.element}get rootLocation(){return qc(this.getSetting("root")??"/")}get cacheControlValue(){return this.getSetting("cache-control")}get isPreviewable(){return"no-preview"!=this.cacheControlValue}get isCacheable(){return"no-cache"!=this.cacheControlValue}get isVisitable(){return"reload"!=this.getSetting("visit-control")}get prefersViewTransitions(){return"same-origin"===this.headSnapshot.getMetaValue("view-transition")}get shouldMorphPage(){return"morph"===this.getSetting("refresh-method")}get shouldPreserveScrollPosition(){return"preserve"===this.getSetting("refresh-scroll")}getSetting(e){return this.headSnapshot.getMetaValue(`turbo-${e}`)}}class Mu{#u=!1;#d=Promise.resolve();renderChange(e,t){return e&&this.viewTransitionsAvailable&&!this.#u?(this.#u=!0,this.#d=this.#d.then(async()=>{await document.startViewTransition(t).finished})):this.#d=this.#d.then(t),this.#d}get viewTransitionsAvailable(){return document.startViewTransition}}const Iu={action:"advance",historyChanged:!1,visitCachedSnapshot:()=>{},willRender:!0,updateHistory:!0,shouldCacheSnapshot:!0,acceptsStreamResponse:!1},Nu="initialized",Fu="started",Du={advance:"forward",restore:"back",replace:"none"};class ju{identifier=wc();timingMetrics={};followedRedirect=!1;historyChanged=!1;scrolled=!1;shouldCacheSnapshot=!0;acceptsStreamResponse=!1;snapshotCached=!1;state=Nu;viewTransitioner=new Mu;constructor(e,t,n,r={}){this.delegate=e,this.location=t,this.restorationIdentifier=n||wc();const{action:i,historyChanged:s,referrer:o,snapshot:a,snapshotHTML:l,response:c,visitCachedSnapshot:u,willRender:d,updateHistory:h,shouldCacheSnapshot:f,acceptsStreamResponse:m,direction:p}={...Iu,...r};this.action=i,this.historyChanged=s,this.referrer=o,this.snapshot=a,this.snapshotHTML=l,this.response=c,this.isSamePage=this.delegate.locationWithActionIsSamePage(this.location,this.action),this.isPageRefresh=this.view.isPageRefresh(this),this.visitCachedSnapshot=u,this.willRender=d,this.updateHistory=h,this.scrolled=!d,this.shouldCacheSnapshot=f,this.acceptsStreamResponse=m,this.direction=p||Du[i]}get adapter(){return this.delegate.adapter}get view(){return this.delegate.view}get history(){return this.delegate.history}get restorationData(){return this.history.getRestorationDataForIdentifier(this.restorationIdentifier)}get silent(){return this.isSamePage}start(){this.state==Nu&&(this.recordTimingMetric("visitStart"),this.state=Fu,this.adapter.visitStarted(this),this.delegate.visitStarted(this))}cancel(){this.state==Fu&&(this.request&&this.request.cancel(),this.cancelRender(),this.state="canceled")}complete(){this.state==Fu&&(this.recordTimingMetric("visitEnd"),this.adapter.visitCompleted(this),this.state="completed",this.followRedirect(),this.followedRedirect||this.delegate.visitCompleted(this))}fail(){this.state==Fu&&(this.state="failed",this.adapter.visitFailed(this),this.delegate.visitCompleted(this))}changeHistory(){if(!this.historyChanged&&this.updateHistory){const e=kc(this.location.href===this.referrer?.href?"replace":this.action);this.history.update(e,this.location,this.restorationIdentifier),this.historyChanged=!0}}issueRequest(){this.hasPreloadedResponse()?this.simulateRequest():this.shouldIssueRequest()&&!this.request&&(this.request=new tu(this,Jc.get,this.location),this.request.perform())}simulateRequest(){this.response&&(this.startRequest(),this.recordResponse(),this.finishRequest())}startRequest(){this.recordTimingMetric("requestStart"),this.adapter.visitRequestStarted(this)}recordResponse(e=this.response){if(this.response=e,e){const{statusCode:t}=e;Hu(t)?this.adapter.visitRequestCompleted(this):this.adapter.visitRequestFailedWithStatusCode(this,t)}}finishRequest(){this.recordTimingMetric("requestEnd"),this.adapter.visitRequestFinished(this)}loadResponse(){if(this.response){const{statusCode:e,responseHTML:t}=this.response;this.render(async()=>{if(this.shouldCacheSnapshot&&this.cacheSnapshot(),this.view.renderPromise&&await this.view.renderPromise,Hu(e)&&null!=t){const e=Ou.fromHTMLString(t);await this.renderPageSnapshot(e,!1),this.adapter.visitRendered(this),this.complete()}else await this.view.renderError(Ou.fromHTMLString(t),this),this.adapter.visitRendered(this),this.fail()})}}getCachedSnapshot(){const e=this.view.getCachedSnapshotForLocation(this.location)||this.getPreloadedSnapshot();if(e&&(!Bc(this.location)||e.hasAnchor(Bc(this.location)))&&("restore"==this.action||e.isPreviewable))return e}getPreloadedSnapshot(){if(this.snapshotHTML)return Ou.fromHTMLString(this.snapshotHTML)}hasCachedSnapshot(){return null!=this.getCachedSnapshot()}loadCachedSnapshot(){const e=this.getCachedSnapshot();if(e){const t=this.shouldIssueRequest();this.render(async()=>{this.cacheSnapshot(),this.isSamePage||this.isPageRefresh?this.adapter.visitRendered(this):(this.view.renderPromise&&await this.view.renderPromise,await this.renderPageSnapshot(e,t),this.adapter.visitRendered(this),t||this.complete())})}}followRedirect(){this.redirectedToLocation&&!this.followedRedirect&&this.response?.redirected&&(this.adapter.visitProposedToLocation(this.redirectedToLocation,{action:"replace",response:this.response,shouldCacheSnapshot:!1,willRender:!1}),this.followedRedirect=!0)}goToSamePageAnchor(){this.isSamePage&&this.render(async()=>{this.cacheSnapshot(),this.performScroll(),this.changeHistory(),this.adapter.visitRendered(this)})}prepareRequest(e){this.acceptsStreamResponse&&e.acceptResponseType(au.contentType)}requestStarted(){this.startRequest()}requestPreventedHandlingResponse(e,t){}async requestSucceededWithResponse(e,t){const n=await t.responseHTML,{redirected:r,statusCode:i}=t;null==n?this.recordResponse({statusCode:-2,redirected:r}):(this.redirectedToLocation=t.redirected?t.location:void 0,this.recordResponse({statusCode:i,responseHTML:n,redirected:r}))}async requestFailedWithResponse(e,t){const n=await t.responseHTML,{redirected:r,statusCode:i}=t;null==n?this.recordResponse({statusCode:-2,redirected:r}):this.recordResponse({statusCode:i,responseHTML:n,redirected:r})}requestErrored(e,t){this.recordResponse({statusCode:0,redirected:!1})}requestFinished(){this.finishRequest()}performScroll(){this.scrolled||this.view.forceReloaded||this.view.shouldPreserveScrollPosition(this)||("restore"==this.action?this.scrollToRestoredPosition()||this.scrollToAnchor()||this.view.scrollToTop():this.scrollToAnchor()||this.view.scrollToTop(),this.isSamePage&&this.delegate.visitScrolledToSamePageLocation(this.view.lastRenderedLocation,this.location),this.scrolled=!0)}scrollToRestoredPosition(){const{scrollPosition:e}=this.restorationData;if(e)return this.view.scrollToPosition(e),!0}scrollToAnchor(){const e=Bc(this.location);if(null!=e)return this.view.scrollToAnchor(e),!0}recordTimingMetric(e){this.timingMetrics[e]=(new Date).getTime()}getTimingMetrics(){return{...this.timingMetrics}}hasPreloadedResponse(){return"object"==typeof this.response}shouldIssueRequest(){return!this.isSamePage&&("restore"==this.action?!this.hasCachedSnapshot():this.willRender)}cacheSnapshot(){this.snapshotCached||(this.view.cacheSnapshot(this.snapshot).then(e=>e&&this.visitCachedSnapshot(e)),this.snapshotCached=!0)}async render(e){this.cancelRender(),await new Promise(e=>{this.frame="hidden"===document.visibilityState?setTimeout(()=>e(),0):requestAnimationFrame(()=>e())}),await e(),delete this.frame}async renderPageSnapshot(e,t){await this.viewTransitioner.renderChange(this.view.shouldTransitionTo(e),async()=>{await this.view.renderPage(e,t,this.willRender,this),this.performScroll()})}cancelRender(){this.frame&&(cancelAnimationFrame(this.frame),delete this.frame)}}function Hu(e){return e>=200&&e<300}class qu{progressBar=new xu;constructor(e){this.session=e}visitProposedToLocation(e,t){$c(e,this.navigator.rootLocation)?this.navigator.startVisit(e,t?.restorationIdentifier||wc(),t):window.location.href=e.toString()}visitStarted(e){this.location=e.location,e.loadCachedSnapshot(),e.issueRequest(),e.goToSamePageAnchor()}visitRequestStarted(e){this.progressBar.setValue(0),e.hasCachedSnapshot()||"restore"!=e.action?this.showVisitProgressBarAfterDelay():this.showProgressBar()}visitRequestCompleted(e){e.loadResponse()}visitRequestFailedWithStatusCode(e,t){switch(t){case 0:case-1:case-2:return this.reload({reason:"request_failed",context:{statusCode:t}});default:return e.loadResponse()}}visitRequestFinished(e){}visitCompleted(e){this.progressBar.setValue(1),this.hideVisitProgressBar()}pageInvalidated(e){this.reload(e)}visitFailed(e){this.progressBar.setValue(1),this.hideVisitProgressBar()}visitRendered(e){}linkPrefetchingIsEnabledForLocation(e){return!0}formSubmissionStarted(e){this.progressBar.setValue(0),this.showFormProgressBarAfterDelay()}formSubmissionFinished(e){this.progressBar.setValue(1),this.hideFormProgressBar()}showVisitProgressBarAfterDelay(){this.visitProgressBarTimeout=window.setTimeout(this.showProgressBar,this.session.progressBarDelay)}hideVisitProgressBar(){this.progressBar.hide(),null!=this.visitProgressBarTimeout&&(window.clearTimeout(this.visitProgressBarTimeout),delete this.visitProgressBarTimeout)}showFormProgressBarAfterDelay(){null==this.formProgressBarTimeout&&(this.formProgressBarTimeout=window.setTimeout(this.showProgressBar,this.session.progressBarDelay))}hideFormProgressBar(){this.progressBar.hide(),null!=this.formProgressBarTimeout&&(window.clearTimeout(this.formProgressBarTimeout),delete this.formProgressBarTimeout)}showProgressBar=()=>{this.progressBar.show()};reload(e){mc("turbo:reload",{detail:e}),window.location.href=this.location?.toString()||window.location.href}get navigator(){return this.session.navigator}}class Bu{selector="[data-turbo-temporary]";deprecatedSelector="[data-turbo-cache=false]";started=!1;start(){this.started||(this.started=!0,addEventListener("turbo:before-cache",this.removeTemporaryElements,!1))}stop(){this.started&&(this.started=!1,removeEventListener("turbo:before-cache",this.removeTemporaryElements,!1))}removeTemporaryElements=e=>{for(const e of this.temporaryElements)e.remove()};get temporaryElements(){return[...document.querySelectorAll(this.selector),...this.temporaryElementsWithDeprecation]}get temporaryElementsWithDeprecation(){const e=document.querySelectorAll(this.deprecatedSelector);return e.length&&console.warn(`The ${this.deprecatedSelector} selector is deprecated and will be removed in a future version. Use ${this.selector} instead.`),[...e]}}class zu{constructor(e,t){this.session=e,this.element=t,this.linkInterceptor=new bu(this,t),this.formSubmitObserver=new mu(this,t)}start(){this.linkInterceptor.start(),this.formSubmitObserver.start()}stop(){this.linkInterceptor.stop(),this.formSubmitObserver.stop()}shouldInterceptLinkClick(e,t,n){return this.#h(e)}linkClickIntercepted(e,t,n){const r=this.#f(e);r&&r.delegate.linkClickIntercepted(e,t,n)}willSubmitForm(e,t){return null==e.closest("turbo-frame")&&this.#m(e,t)&&this.#h(e,t)}formSubmitted(e,t){const n=this.#f(e,t);n&&n.delegate.formSubmitted(e,t)}#m(e,t){const n=zc(e,t),r=this.element.ownerDocument.querySelector('meta[name="turbo-root"]'),i=qc(r?.content??"/");return this.#h(e,t)&&$c(n,i)}#h(e,t){if(e instanceof HTMLFormElement?this.session.submissionIsNavigatable(e,t):this.session.elementIsNavigatable(e)){const n=this.#f(e,t);return!!n&&n!=e.closest("turbo-frame")}return!1}#f(e,t){const n=t?.getAttribute("data-turbo-frame")||e.getAttribute("data-turbo-frame");if(n&&"_top"!=n){const e=this.element.querySelector(`#${n}:not([disabled])`);if(e instanceof dc)return e}}}class $u{location;restorationIdentifier=wc();restorationData={};started=!1;pageLoaded=!1;currentIndex=0;constructor(e){this.delegate=e}start(){this.started||(addEventListener("popstate",this.onPopState,!1),addEventListener("load",this.onPageLoad,!1),this.currentIndex=history.state?.turbo?.restorationIndex||0,this.started=!0,this.replace(new URL(window.location.href)))}stop(){this.started&&(removeEventListener("popstate",this.onPopState,!1),removeEventListener("load",this.onPageLoad,!1),this.started=!1)}push(e,t){this.update(history.pushState,e,t)}replace(e,t){this.update(history.replaceState,e,t)}update(e,t,n=wc()){e===history.pushState&&++this.currentIndex;const r={turbo:{restorationIdentifier:n,restorationIndex:this.currentIndex}};e.call(history,r,"",t.href),this.location=t,this.restorationIdentifier=n}getRestorationDataForIdentifier(e){return this.restorationData[e]||{}}updateRestorationData(e){const{restorationIdentifier:t}=this,n=this.restorationData[t];this.restorationData[t]={...n,...e}}assumeControlOfScrollRestoration(){this.previousScrollRestoration||(this.previousScrollRestoration=history.scrollRestoration??"auto",history.scrollRestoration="manual")}relinquishControlOfScrollRestoration(){this.previousScrollRestoration&&(history.scrollRestoration=this.previousScrollRestoration,delete this.previousScrollRestoration)}onPopState=e=>{if(this.shouldHandlePopState()){const{turbo:t}=e.state||{};if(t){this.location=new URL(window.location.href);const{restorationIdentifier:e,restorationIndex:n}=t;this.restorationIdentifier=e;const r=n>this.currentIndex?"forward":"back";this.delegate.historyPoppedToLocationWithRestorationIdentifierAndDirection(this.location,e,r),this.currentIndex=n}}};onPageLoad=async e=>{await Promise.resolve(),this.pageLoaded=!0};shouldHandlePopState(){return this.pageIsLoaded()}pageIsLoaded(){return this.pageLoaded||"complete"==document.readyState}}class Wu{started=!1;#p=null;constructor(e,t){this.delegate=e,this.eventTarget=t}start(){this.started||("loading"===this.eventTarget.readyState?this.eventTarget.addEventListener("DOMContentLoaded",this.#g,{once:!0}):this.#g())}stop(){this.started&&(this.eventTarget.removeEventListener("mouseenter",this.#b,{capture:!0,passive:!0}),this.eventTarget.removeEventListener("mouseleave",this.#v,{capture:!0,passive:!0}),this.eventTarget.removeEventListener("turbo:before-fetch-request",this.#y,!0),this.started=!1)}#g=()=>{this.eventTarget.addEventListener("mouseenter",this.#b,{capture:!0,passive:!0}),this.eventTarget.addEventListener("mouseleave",this.#v,{capture:!0,passive:!0}),this.eventTarget.addEventListener("turbo:before-fetch-request",this.#y,!0),this.started=!0};#b=e=>{if("false"===Lc("turbo-prefetch"))return;const t=e.target;if(t.matches&&t.matches("a[href]:not([target^=_]):not([download])")&&this.#A(t)){const e=t,n=Fc(e);if(this.delegate.canPrefetchRequestToLocation(e,n)){this.#p=e;const r=new tu(this,Jc.get,n,new URLSearchParams,t);lu.setLater(n.toString(),r,this.#w)}}};#v=e=>{e.target===this.#p&&this.#_()};#_=()=>{lu.clear(),this.#p=null};#y=e=>{if("FORM"!==e.target.tagName&&"GET"===e.detail.fetchOptions.method){const t=lu.get(e.detail.url.toString());t&&(e.detail.fetchRequest=t),lu.clear()}};prepareRequest(e){const t=e.target;e.headers["X-Sec-Purpose"]="prefetch";const n=t.closest("turbo-frame"),r=t.getAttribute("data-turbo-frame")||n?.getAttribute("target")||n?.id;r&&"_top"!==r&&(e.headers["Turbo-Frame"]=r)}requestSucceededWithResponse(){}requestStarted(e){}requestErrored(e){}requestFinished(e){}requestPreventedHandlingResponse(e,t){}requestFailedWithResponse(e,t){}get#w(){return Number(Lc("turbo-prefetch-cache-time"))||1e4}#A(e){return!(!e.getAttribute("href")||Vu(e)||Uu(e)||Yu(e)||Qu(e)||Ku(e))}}const Vu=e=>e.origin!==document.location.origin||!["http:","https:"].includes(e.protocol)||e.hasAttribute("target"),Uu=e=>e.pathname+e.search===document.location.pathname+document.location.search||e.href.startsWith("#"),Yu=e=>{if("false"===e.getAttribute("data-turbo-prefetch"))return!0;if("false"===e.getAttribute("data-turbo"))return!0;const t=Rc(e,"[data-turbo-prefetch]");return!(!t||"false"!==t.getAttribute("data-turbo-prefetch"))},Qu=e=>{const t=e.getAttribute("data-turbo-method");return!!(t&&"get"!==t.toLowerCase()||Xu(e)||e.hasAttribute("data-turbo-confirm")||e.hasAttribute("data-turbo-stream"))},Xu=e=>e.hasAttribute("data-remote")||e.hasAttribute("data-behavior")||e.hasAttribute("data-confirm")||e.hasAttribute("data-method"),Ku=e=>mc("turbo:before-prefetch",{target:e,cancelable:!0}).defaultPrevented;class Gu{constructor(e){this.delegate=e}proposeVisit(e,t={}){this.delegate.allowsVisitingLocationWithAction(e,t.action)&&this.delegate.visitProposedToLocation(e,t)}startVisit(e,t,n={}){this.stop(),this.currentVisit=new ju(this,qc(e),t,{referrer:this.location,...n}),this.currentVisit.start()}submitForm(e,t){this.stop(),this.formSubmission=new uu(this,e,t,!0),this.formSubmission.start()}stop(){this.formSubmission&&(this.formSubmission.stop(),delete this.formSubmission),this.currentVisit&&(this.currentVisit.cancel(),delete this.currentVisit)}get adapter(){return this.delegate.adapter}get view(){return this.delegate.view}get rootLocation(){return this.view.snapshot.rootLocation}get history(){return this.delegate.history}formSubmissionStarted(e){"function"==typeof this.adapter.formSubmissionStarted&&this.adapter.formSubmissionStarted(e)}async formSubmissionSucceededWithResponse(e,t){if(e==this.formSubmission){const n=await t.responseHTML;if(n){const r=e.isSafe;r||this.view.clearSnapshotCache();const{statusCode:i,redirected:s}=t,o={action:this.#E(e,t),shouldCacheSnapshot:r,response:{statusCode:i,responseHTML:n,redirected:s}};this.proposeVisit(t.location,o)}}}async formSubmissionFailedWithResponse(e,t){const n=await t.responseHTML;if(n){const e=Ou.fromHTMLString(n);t.serverError?await this.view.renderError(e,this.currentVisit):await this.view.renderPage(e,!1,!0,this.currentVisit),e.shouldPreserveScrollPosition||this.view.scrollToTop(),this.view.clearSnapshotCache()}}formSubmissionErrored(e,t){console.error(t)}formSubmissionFinished(e){"function"==typeof this.adapter.formSubmissionFinished&&this.adapter.formSubmissionFinished(e)}linkPrefetchingIsEnabledForLocation(e){return"function"!=typeof this.adapter.linkPrefetchingIsEnabledForLocation||this.adapter.linkPrefetchingIsEnabledForLocation(e)}visitStarted(e){this.delegate.visitStarted(e)}visitCompleted(e){this.delegate.visitCompleted(e),delete this.currentVisit}locationWithActionIsSamePage(e,t){const n=Bc(e),r=Bc(this.view.lastRenderedLocation),i="restore"===t&&void 0===n;return"replace"!==t&&Wc(e)===Wc(this.view.lastRenderedLocation)&&(i||null!=n&&n!==r)}visitScrolledToSamePageLocation(e,t){this.delegate.visitScrolledToSamePageLocation(e,t)}get location(){return this.history.location}get restorationIdentifier(){return this.history.restorationIdentifier}#E(e,t){const{submitter:n,formElement:r}=e;return Tc(n,r)||this.#S(t)}#S(e){return e.redirected&&e.location.href===this.location?.href?"replace":"advance"}}class Ju{stage=0;started=!1;constructor(e){this.delegate=e}start(){this.started||(0==this.stage&&(this.stage=1),document.addEventListener("readystatechange",this.interpretReadyState,!1),addEventListener("pagehide",this.pageWillUnload,!1),this.started=!0)}stop(){this.started&&(document.removeEventListener("readystatechange",this.interpretReadyState,!1),removeEventListener("pagehide",this.pageWillUnload,!1),this.started=!1)}interpretReadyState=()=>{const{readyState:e}=this;"interactive"==e?this.pageIsInteractive():"complete"==e&&this.pageIsComplete()};pageIsInteractive(){1==this.stage&&(this.stage=2,this.delegate.pageBecameInteractive())}pageIsComplete(){this.pageIsInteractive(),2==this.stage&&(this.stage=3,this.delegate.pageLoaded())}pageWillUnload=()=>{this.delegate.pageWillUnload()};get readyState(){return document.readyState}}class Zu{started=!1;constructor(e){this.delegate=e}start(){this.started||(addEventListener("scroll",this.onScroll,!1),this.onScroll(),this.started=!0)}stop(){this.started&&(removeEventListener("scroll",this.onScroll,!1),this.started=!1)}onScroll=()=>{this.updatePosition({x:window.pageXOffset,y:window.pageYOffset})};updatePosition(e){this.delegate.scrollPositionChanged(e)}}class ed{render({fragment:e}){Au.preservingPermanentElements(this,function(e){const t=fu(document.documentElement),n={};for(const r of t){const{id:t}=r;for(const i of e.querySelectorAll("turbo-stream")){const e=hu(i.templateElement.content,t);e&&(n[t]=[r,e])}}return n}(e),()=>{!async function(e,t){const n=`turbo-stream-autofocus-${wc()}`,r=function(e){for(const t of e){const e=Mc(t.templateElement.content);if(e)return e}return null}(e.querySelectorAll("turbo-stream"));let i=null;if(r&&(i=r.id?r.id:n,r.id=i),t(),await gc(),(null==document.activeElement||document.activeElement==document.body)&&i){const e=document.getElementById(i);Oc(e)&&e.focus(),e&&e.id==n&&e.removeAttribute("id")}}(e,()=>{!async function(){const[t,n]=await async function(e,t){const n=t();return e(),await bc(),[n,t()]}(()=>{document.documentElement.appendChild(e)},()=>document.activeElement),r=t&&t.id;if(r){const e=document.getElementById(r);Oc(e)&&e!=n&&e.focus()}}()})})}enteringBardo(e,t){t.replaceWith(e.cloneNode(!0))}leavingBardo(){}}class td{sources=new Set;#C=!1;constructor(e){this.delegate=e}start(){this.#C||(this.#C=!0,addEventListener("turbo:before-fetch-response",this.inspectFetchResponse,!1))}stop(){this.#C&&(this.#C=!1,removeEventListener("turbo:before-fetch-response",this.inspectFetchResponse,!1))}connectStreamSource(e){this.streamSourceIsConnected(e)||(this.sources.add(e),e.addEventListener("message",this.receiveMessageEvent,!1))}disconnectStreamSource(e){this.streamSourceIsConnected(e)&&(this.sources.delete(e),e.removeEventListener("message",this.receiveMessageEvent,!1))}streamSourceIsConnected(e){return this.sources.has(e)}inspectFetchResponse=e=>{const t=function(e){const t=e.detail?.fetchResponse;if(t instanceof Uc)return t}(e);t&&function(e){return(e.contentType??"").startsWith(au.contentType)}(t)&&(e.preventDefault(),this.receiveMessageResponse(t))};receiveMessageEvent=e=>{this.#C&&"string"==typeof e.data&&this.receiveMessageHTML(e.data)};async receiveMessageResponse(e){const t=await e.responseHTML;t&&this.receiveMessageHTML(t)}receiveMessageHTML(e){this.delegate.receivedMessageFromStream(au.wrap(e))}}class nd extends wu{static renderElement(e,t){const{documentElement:n,body:r}=document;n.replaceChild(t,r)}async render(){this.replaceHeadAndBody(),this.activateScriptElements()}replaceHeadAndBody(){const{documentElement:e,head:t}=document;e.replaceChild(this.newHead,t),this.renderElement(this.currentElement,this.newElement)}activateScriptElements(){for(const e of this.scriptElements){const t=e.parentNode;if(t){const n=fc(e);t.replaceChild(n,e)}}}get newHead(){return this.newSnapshot.headSnapshot.element}get scriptElements(){return document.documentElement.querySelectorAll("script")}}class rd extends wu{static renderElement(e,t){document.body&&t instanceof HTMLBodyElement?document.body.replaceWith(t):document.documentElement.appendChild(t)}get shouldRender(){return this.newSnapshot.isVisitable&&this.trackedElementsAreIdentical}get reloadReason(){return this.newSnapshot.isVisitable?this.trackedElementsAreIdentical?void 0:{reason:"tracked_element_mismatch"}:{reason:"turbo_visit_control_is_reload"}}async prepareToRender(){this.#k(),await this.mergeHead()}async render(){this.willRender&&await this.replaceBody()}finishRendering(){super.finishRendering(),this.isPreview||this.focusFirstAutofocusableElement()}get currentHeadSnapshot(){return this.currentSnapshot.headSnapshot}get newHeadSnapshot(){return this.newSnapshot.headSnapshot}get newElement(){return this.newSnapshot.element}#k(){const{documentElement:e}=this.currentSnapshot,{lang:t}=this.newSnapshot;t?e.setAttribute("lang",t):e.removeAttribute("lang")}async mergeHead(){const e=this.mergeProvisionalElements(),t=this.copyNewHeadStylesheetElements();this.copyNewHeadScriptElements(),await e,await t,this.willRender&&this.removeUnusedDynamicStylesheetElements()}async replaceBody(){await this.preservingPermanentElements(async()=>{this.activateNewBody(),await this.assignNewBody()})}get trackedElementsAreIdentical(){return this.currentHeadSnapshot.trackedElementSignature==this.newHeadSnapshot.trackedElementSignature}async copyNewHeadStylesheetElements(){const e=[];for(const t of this.newHeadStylesheetElements)e.push(Cc(t)),document.head.appendChild(t);await Promise.all(e)}copyNewHeadScriptElements(){for(const e of this.newHeadScriptElements)document.head.appendChild(fc(e))}removeUnusedDynamicStylesheetElements(){for(const e of this.unusedDynamicStylesheetElements)document.head.removeChild(e)}async mergeProvisionalElements(){const e=[...this.newHeadProvisionalElements];for(const t of this.currentHeadProvisionalElements)this.isCurrentElementInElementList(t,e)||document.head.removeChild(t);for(const t of e)document.head.appendChild(t)}isCurrentElementInElementList(e,t){for(const[n,r]of t.entries()){if("TITLE"==e.tagName){if("TITLE"!=r.tagName)continue;if(e.innerHTML==r.innerHTML)return t.splice(n,1),!0}if(r.isEqualNode(e))return t.splice(n,1),!0}return!1}removeCurrentHeadProvisionalElements(){for(const e of this.currentHeadProvisionalElements)document.head.removeChild(e)}copyNewHeadProvisionalElements(){for(const e of this.newHeadProvisionalElements)document.head.appendChild(e)}activateNewBody(){document.adoptNode(this.newElement),this.activateNewBodyScriptElements()}activateNewBodyScriptElements(){for(const e of this.newBodyScriptElements){const t=fc(e);e.replaceWith(t)}}async assignNewBody(){await this.renderElement(this.currentElement,this.newElement)}get unusedDynamicStylesheetElements(){return this.oldHeadStylesheetElements.filter(e=>"dynamic"===e.getAttribute("data-turbo-track"))}get oldHeadStylesheetElements(){return this.currentHeadSnapshot.getStylesheetElementsNotInSnapshot(this.newHeadSnapshot)}get newHeadStylesheetElements(){return this.newHeadSnapshot.getStylesheetElementsNotInSnapshot(this.currentHeadSnapshot)}get newHeadScriptElements(){return this.newHeadSnapshot.getScriptElementsNotInSnapshot(this.currentHeadSnapshot)}get currentHeadProvisionalElements(){return this.currentHeadSnapshot.provisionalElements}get newHeadProvisionalElements(){return this.newHeadSnapshot.provisionalElements}get newBodyScriptElements(){return this.newElement.querySelectorAll("script")}}class id extends rd{static renderElement(e,t){Su(e,t,{callbacks:{beforeNodeMorphed:e=>!sd(e)}});for(const t of e.querySelectorAll("turbo-frame"))sd(t)&&t.reload();mc("turbo:morph",{detail:{currentElement:e,newElement:t}})}async preservingPermanentElements(e){return await e()}get renderMethod(){return"morph"}get shouldAutofocus(){return!1}}function sd(e){return e instanceof dc&&e.src&&"morph"===e.refresh&&!e.closest("[data-turbo-permanent]")}class od{keys=[];snapshots={};constructor(e){this.size=e}has(e){return Vc(e)in this.snapshots}get(e){if(this.has(e)){const t=this.read(e);return this.touch(e),t}}put(e,t){return this.write(e,t),this.touch(e),t}clear(){this.snapshots={}}read(e){return this.snapshots[Vc(e)]}write(e,t){this.snapshots[Vc(e)]=t}touch(e){const t=Vc(e),n=this.keys.indexOf(t);n>-1&&this.keys.splice(n,1),this.keys.unshift(t),this.trim()}trim(){for(const e of this.keys.splice(this.size))delete this.snapshots[e]}}class ad extends pu{snapshotCache=new od(10);lastRenderedLocation=new URL(location.href);forceReloaded=!1;shouldTransitionTo(e){return this.snapshot.prefersViewTransitions&&e.prefersViewTransitions}renderPage(e,t=!1,n=!0,r){const i=new(this.isPageRefresh(r)&&this.snapshot.shouldMorphPage?id:rd)(this.snapshot,e,t,n);return i.shouldRender?r?.changeHistory():this.forceReloaded=!0,this.render(i)}renderError(e,t){t?.changeHistory();const n=new nd(this.snapshot,e,!1);return this.render(n)}clearSnapshotCache(){this.snapshotCache.clear()}async cacheSnapshot(e=this.snapshot){if(e.isCacheable){this.delegate.viewWillCacheSnapshot();const{lastRenderedLocation:t}=this;await vc();const n=e.clone();return this.snapshotCache.put(t,n),n}}getCachedSnapshotForLocation(e){return this.snapshotCache.get(e)}isPageRefresh(e){return!e||this.lastRenderedLocation.pathname===e.location.pathname&&"replace"===e.action}shouldPreserveScrollPosition(e){return this.isPageRefresh(e)&&this.snapshot.shouldPreserveScrollPosition}get snapshot(){return Ou.fromElement(this.element)}}class ld{selector="a[data-turbo-preload]";constructor(e,t){this.delegate=e,this.snapshotCache=t}start(){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.#T):this.preloadOnLoadLinksForView(document.body)}stop(){document.removeEventListener("DOMContentLoaded",this.#T)}preloadOnLoadLinksForView(e){for(const t of e.querySelectorAll(this.selector))this.delegate.shouldPreloadLink(t)&&this.preloadURL(t)}async preloadURL(e){const t=new URL(e.href);if(this.snapshotCache.has(t))return;const n=new tu(this,Jc.get,t,new URLSearchParams,e);await n.perform()}prepareRequest(e){e.headers["X-Sec-Purpose"]="prefetch"}async requestSucceededWithResponse(e,t){try{const n=await t.responseHTML,r=Ou.fromHTMLString(n);this.snapshotCache.put(e.url,r)}catch(e){}}requestStarted(e){}requestErrored(e){}requestFinished(e){}requestPreventedHandlingResponse(e,t){}requestFailedWithResponse(e,t){}#T=()=>{this.preloadOnLoadLinksForView(document.body)}}class cd{constructor(e){this.session=e}clear(){this.session.clearCache()}resetCacheControl(){this.#x("")}exemptPageFromCache(){this.#x("no-cache")}exemptPageFromPreview(){this.#x("no-preview")}#x(e){!function(e,t){let n=xc(e);n||(n=document.createElement("meta"),n.setAttribute("name",e),document.head.appendChild(n)),n.setAttribute("content",t)}("turbo-cache-control",e)}}function ud(e){Object.defineProperties(e,dd)}const dd={absoluteURL:{get(){return this.toString()}}},hd=new class{navigator=new Gu(this);history=new $u(this);view=new ad(this,document.documentElement);adapter=new qu(this);pageObserver=new Ju(this);cacheObserver=new Bu;linkPrefetchObserver=new Wu(this,document);linkClickObserver=new vu(this,window);formSubmitObserver=new mu(this,document);scrollObserver=new Zu(this);streamObserver=new td(this);formLinkClickObserver=new yu(this,document.documentElement);frameRedirector=new zu(this,document.documentElement);streamMessageRenderer=new ed;cache=new cd(this);enabled=!0;started=!1;#L=150;constructor(e){this.recentRequests=e,this.preloader=new ld(this,this.view.snapshotCache),this.debouncedRefresh=this.refresh,this.pageRefreshDebouncePeriod=this.pageRefreshDebouncePeriod}start(){this.started||(this.pageObserver.start(),this.cacheObserver.start(),this.linkPrefetchObserver.start(),this.formLinkClickObserver.start(),this.linkClickObserver.start(),this.formSubmitObserver.start(),this.scrollObserver.start(),this.streamObserver.start(),this.frameRedirector.start(),this.history.start(),this.preloader.start(),this.started=!0,this.enabled=!0)}disable(){this.enabled=!1}stop(){this.started&&(this.pageObserver.stop(),this.cacheObserver.stop(),this.linkPrefetchObserver.stop(),this.formLinkClickObserver.stop(),this.linkClickObserver.stop(),this.formSubmitObserver.stop(),this.scrollObserver.stop(),this.streamObserver.stop(),this.frameRedirector.stop(),this.history.stop(),this.preloader.stop(),this.started=!1)}registerAdapter(e){this.adapter=e}visit(e,t={}){const n=t.frame?document.getElementById(t.frame):null;if(n instanceof dc){const r=t.action||Tc(n);n.delegate.proposeVisitIfNavigatedWithAction(n,r),n.src=e.toString()}else this.navigator.proposeVisit(qc(e),t)}refresh(e,t){const n=t&&this.recentRequests.has(t),r=e===document.baseURI;n||this.navigator.currentVisit||!r||this.visit(e,{action:"replace",shouldCacheSnapshot:!1})}connectStreamSource(e){this.streamObserver.connectStreamSource(e)}disconnectStreamSource(e){this.streamObserver.disconnectStreamSource(e)}renderStreamMessage(e){this.streamMessageRenderer.render(au.wrap(e))}clearCache(){this.view.clearSnapshotCache()}setProgressBarDelay(e){console.warn("Please replace `session.setProgressBarDelay(delay)` with `session.progressBarDelay = delay`. The function is deprecated and will be removed in a future version of Turbo.`"),this.progressBarDelay=e}set progressBarDelay(e){Hc.drive.progressBarDelay=e}get progressBarDelay(){return Hc.drive.progressBarDelay}set drive(e){Hc.drive.enabled=e}get drive(){return Hc.drive.enabled}set formMode(e){Hc.forms.mode=e}get formMode(){return Hc.forms.mode}get location(){return this.history.location}get restorationIdentifier(){return this.history.restorationIdentifier}get pageRefreshDebouncePeriod(){return this.#L}set pageRefreshDebouncePeriod(e){this.refresh=function(e,t){let n=null;return(...r)=>{clearTimeout(n),n=setTimeout(()=>e.apply(this,r),t)}}(this.debouncedRefresh.bind(this),e),this.#L=e}shouldPreloadLink(e){const t=e.hasAttribute("data-turbo-method"),n=e.hasAttribute("data-turbo-stream"),r=e.getAttribute("data-turbo-frame"),i="_top"==r?null:document.getElementById(r)||Rc(e,"turbo-frame:not([disabled])");if(t||n||i instanceof dc)return!1;{const t=new URL(e.href);return this.elementIsNavigatable(e)&&$c(t,this.snapshot.rootLocation)}}historyPoppedToLocationWithRestorationIdentifierAndDirection(e,t,n){this.enabled?this.navigator.startVisit(e,t,{action:"restore",historyChanged:!0,direction:n}):this.adapter.pageInvalidated({reason:"turbo_disabled"})}scrollPositionChanged(e){this.history.updateRestorationData({scrollPosition:e})}willSubmitFormLinkToLocation(e,t){return this.elementIsNavigatable(e)&&$c(t,this.snapshot.rootLocation)}submittedFormLinkToLocation(){}canPrefetchRequestToLocation(e,t){return this.elementIsNavigatable(e)&&$c(t,this.snapshot.rootLocation)&&this.navigator.linkPrefetchingIsEnabledForLocation(t)}willFollowLinkToLocation(e,t,n){return this.elementIsNavigatable(e)&&$c(t,this.snapshot.rootLocation)&&this.applicationAllowsFollowingLinkToLocation(e,t,n)}followedLinkToLocation(e,t){const n=this.getActionForLink(e),r=e.hasAttribute("data-turbo-stream");this.visit(t.href,{action:n,acceptsStreamResponse:r})}allowsVisitingLocationWithAction(e,t){return this.locationWithActionIsSamePage(e,t)||this.applicationAllowsVisitingLocation(e)}visitProposedToLocation(e,t){ud(e),this.adapter.visitProposedToLocation(e,t)}visitStarted(e){e.acceptsStreamResponse||(Ec(document.documentElement),this.view.markVisitDirection(e.direction)),ud(e.location),e.silent||this.notifyApplicationAfterVisitingLocation(e.location,e.action)}visitCompleted(e){this.view.unmarkVisitDirection(),Sc(document.documentElement),this.notifyApplicationAfterPageLoad(e.getTimingMetrics())}locationWithActionIsSamePage(e,t){return this.navigator.locationWithActionIsSamePage(e,t)}visitScrolledToSamePageLocation(e,t){this.notifyApplicationAfterVisitingSamePageLocation(e,t)}willSubmitForm(e,t){const n=zc(e,t);return this.submissionIsNavigatable(e,t)&&$c(qc(n),this.snapshot.rootLocation)}formSubmitted(e,t){this.navigator.submitForm(e,t)}pageBecameInteractive(){this.view.lastRenderedLocation=this.location,this.notifyApplicationAfterPageLoad()}pageLoaded(){this.history.assumeControlOfScrollRestoration()}pageWillUnload(){this.history.relinquishControlOfScrollRestoration()}receivedMessageFromStream(e){this.renderStreamMessage(e)}viewWillCacheSnapshot(){this.navigator.currentVisit?.silent||this.notifyApplicationBeforeCachingSnapshot()}allowsImmediateRender({element:e},t){const n=this.notifyApplicationBeforeRender(e,t),{defaultPrevented:r,detail:{render:i}}=n;return this.view.renderer&&i&&(this.view.renderer.renderElement=i),!r}viewRenderedSnapshot(e,t,n){this.view.lastRenderedLocation=this.history.location,this.notifyApplicationAfterRender(n)}preloadOnLoadLinksForView(e){this.preloader.preloadOnLoadLinksForView(e)}viewInvalidated(e){this.adapter.pageInvalidated(e)}frameLoaded(e){this.notifyApplicationAfterFrameLoad(e)}frameRendered(e,t){this.notifyApplicationAfterFrameRender(e,t)}applicationAllowsFollowingLinkToLocation(e,t,n){return!this.notifyApplicationAfterClickingLinkToLocation(e,t,n).defaultPrevented}applicationAllowsVisitingLocation(e){return!this.notifyApplicationBeforeVisitingLocation(e).defaultPrevented}notifyApplicationAfterClickingLinkToLocation(e,t,n){return mc("turbo:click",{target:e,detail:{url:t.href,originalEvent:n},cancelable:!0})}notifyApplicationBeforeVisitingLocation(e){return mc("turbo:before-visit",{detail:{url:e.href},cancelable:!0})}notifyApplicationAfterVisitingLocation(e,t){return mc("turbo:visit",{detail:{url:e.href,action:t}})}notifyApplicationBeforeCachingSnapshot(){return mc("turbo:before-cache")}notifyApplicationBeforeRender(e,t){return mc("turbo:before-render",{detail:{newBody:e,...t},cancelable:!0})}notifyApplicationAfterRender(e){return mc("turbo:render",{detail:{renderMethod:e}})}notifyApplicationAfterPageLoad(e={}){return mc("turbo:load",{detail:{url:this.location.href,timing:e}})}notifyApplicationAfterVisitingSamePageLocation(e,t){dispatchEvent(new HashChangeEvent("hashchange",{oldURL:e.toString(),newURL:t.toString()}))}notifyApplicationAfterFrameLoad(e){return mc("turbo:frame-load",{target:e})}notifyApplicationAfterFrameRender(e,t){return mc("turbo:frame-render",{detail:{fetchResponse:e},target:t,cancelable:!0})}submissionIsNavigatable(e,t){if("off"==Hc.forms.mode)return!1;{const n=!t||this.elementIsNavigatable(t);return"optin"==Hc.forms.mode?n&&null!=e.closest('[data-turbo="true"]'):n&&this.elementIsNavigatable(e)}}elementIsNavigatable(e){const t=Rc(e,"[data-turbo]"),n=Rc(e,"turbo-frame");return Hc.drive.enabled||n?!t||"false"!=t.getAttribute("data-turbo"):!!t&&"true"==t.getAttribute("data-turbo")}getActionForLink(e){return Tc(e)||"advance"}get snapshot(){return this.view.snapshot}}(Qc),{cache:fd,navigator:md}=hd;function pd(){hd.start()}function gd(e){hd.registerAdapter(e)}function bd(e,t){hd.visit(e,t)}function vd(e){hd.connectStreamSource(e)}function yd(e){hd.disconnectStreamSource(e)}function Ad(e){hd.renderStreamMessage(e)}function wd(){console.warn("Please replace `Turbo.clearCache()` with `Turbo.cache.clear()`. The top-level function is deprecated and will be removed in a future version of Turbo.`"),hd.clearCache()}function _d(e){console.warn("Please replace `Turbo.setProgressBarDelay(delay)` with `Turbo.config.drive.progressBarDelay = delay`. The top-level function is deprecated and will be removed in a future version of Turbo.`"),Hc.drive.progressBarDelay=e}function Ed(e){console.warn("Please replace `Turbo.setConfirmMethod(confirmMethod)` with `Turbo.config.forms.confirm = confirmMethod`. The top-level function is deprecated and will be removed in a future version of Turbo.`"),Hc.forms.confirm=e}function Sd(e){console.warn("Please replace `Turbo.setFormMode(mode)` with `Turbo.config.forms.mode = mode`. The top-level function is deprecated and will be removed in a future version of Turbo.`"),Hc.forms.mode=e}var Cd=Object.freeze({__proto__:null,navigator:md,session:hd,cache:fd,PageRenderer:rd,PageSnapshot:Ou,FrameRenderer:_u,fetch:Kc,config:Hc,start:pd,registerAdapter:gd,visit:bd,connectStreamSource:vd,disconnectStreamSource:yd,renderStreamMessage:Ad,clearCache:wd,setProgressBarDelay:_d,setConfirmMethod:Ed,setFormMode:Sd});class kd extends Error{}function Td(e){if(null!=e){const t=document.getElementById(e);if(t instanceof dc)return t}}function xd(e,t){if(e){const n=e.getAttribute("src");if(null!=n&&null!=t&&function(e,t){return qc(e).href==qc(t).href}(n,t))throw new Error(`Matching element has a source URL which references itself`);if(e.ownerDocument!==document&&(e=document.importNode(e,!0)),e instanceof dc)return e.connectedCallback(),e.disconnectedCallback(),e}}const Ld={after(){this.targetElements.forEach(e=>e.parentElement?.insertBefore(this.templateContent,e.nextSibling))},append(){this.removeDuplicateTargetChildren(),this.targetElements.forEach(e=>e.append(this.templateContent))},before(){this.targetElements.forEach(e=>e.parentElement?.insertBefore(this.templateContent,e))},prepend(){this.removeDuplicateTargetChildren(),this.targetElements.forEach(e=>e.prepend(this.templateContent))},remove(){this.targetElements.forEach(e=>e.remove())},replace(){const e=this.getAttribute("method");this.targetElements.forEach(t=>{"morph"===e?Su(t,this.templateContent):t.replaceWith(this.templateContent)})},update(){const e=this.getAttribute("method");this.targetElements.forEach(t=>{"morph"===e?Cu(t,this.templateContent):(t.innerHTML="",t.append(this.templateContent))})},refresh(){hd.refresh(this.baseURI,this.requestId)}};class Pd extends HTMLElement{static async renderElement(e){await e.performAction()}async connectedCallback(){try{await this.render()}catch(e){console.error(e)}finally{this.disconnect()}}async render(){return this.renderPromise??=(async()=>{const e=this.beforeRenderEvent;this.dispatchEvent(e)&&(await gc(),await e.detail.render(this))})()}disconnect(){try{this.remove()}catch{}}removeDuplicateTargetChildren(){this.duplicateChildren.forEach(e=>e.remove())}get duplicateChildren(){const e=this.targetElements.flatMap(e=>[...e.children]).filter(e=>!!e.getAttribute("id")),t=[...this.templateContent?.children||[]].filter(e=>!!e.getAttribute("id")).map(e=>e.getAttribute("id"));return e.filter(e=>t.includes(e.getAttribute("id")))}get performAction(){if(this.action){const e=Ld[this.action];if(e)return e;this.#P("unknown action")}this.#P("action attribute is missing")}get targetElements(){return this.target?this.targetElementsById:this.targets?this.targetElementsByQuery:void this.#P("target or targets attribute is missing")}get templateContent(){return this.templateElement.content.cloneNode(!0)}get templateElement(){if(null===this.firstElementChild){const e=this.ownerDocument.createElement("template");return this.appendChild(e),e}if(this.firstElementChild instanceof HTMLTemplateElement)return this.firstElementChild;this.#P("first child element must be a