From bf6334d26a4a83f1cf9ecec4d9375f9956870eb8 Mon Sep 17 00:00:00 2001 From: tabuna Date: Sat, 6 Apr 2024 06:10:01 +0300 Subject: [PATCH] Fixed header margin when not link --- .../{app-wv8uX38s.js => app-BRdgaViA.js} | 24 +++++++++---------- .../{app-D6gUvtEF.css => app-DINAQr-j.css} | 2 +- public/build/manifest.json | 4 ++-- resources/css/docs.scss | 4 +++- 4 files changed, 18 insertions(+), 16 deletions(-) rename public/build/assets/{app-wv8uX38s.js => app-BRdgaViA.js} (86%) rename public/build/assets/{app-D6gUvtEF.css => app-DINAQr-j.css} (69%) diff --git a/public/build/assets/app-wv8uX38s.js b/public/build/assets/app-BRdgaViA.js similarity index 86% rename from public/build/assets/app-wv8uX38s.js rename to public/build/assets/app-BRdgaViA.js index c33b6d4f..107e3419 100644 --- a/public/build/assets/app-wv8uX38s.js +++ b/public/build/assets/app-BRdgaViA.js @@ -2,7 +2,7 @@ var Wl=Object.defineProperty;var Ul=(r,e,t)=>e in r?Wl(r,e,{enumerable:!0,config %o -%o`,t,e,s),(n=window.onerror)===null||n===void 0||n.call(window,t,"",0,0,e)}logFormattedMessage(e,t,s={}){s=Object.assign({application:this},s),this.logger.groupCollapsed(`${e} #${t}`),this.logger.log("details:",Object.assign({},s)),this.logger.groupEnd()}}function Hc(){return new Promise(r=>{document.readyState=="loading"?document.addEventListener("DOMContentLoaded",()=>r()):r()})}function Vc(r){return pr(r,"classes").reduce((t,s)=>Object.assign(t,qc(s)),{})}function qc(r){return{[`${r}Class`]:{get(){const{classes:e}=this;if(e.has(r))return e.get(r);{const t=e.getAttributeName(r);throw new Error(`Missing attribute "${t}"`)}}},[`${r}Classes`]:{get(){return this.classes.getAll(r)}},[`has${fr(r)}Class`]:{get(){return this.classes.has(r)}}}}function jc(r){return pr(r,"outlets").reduce((t,s)=>Object.assign(t,Wc(s)),{})}function gi(r,e,t){return r.application.getControllerForElementAndIdentifier(e,t)}function bi(r,e,t){let s=gi(r,e,t);if(s||(r.application.router.proposeToConnectScopeForElementAndIdentifier(e,t),s=gi(r,e,t),s))return s}function Wc(r){const e=cn(r);return{[`${e}Outlet`]:{get(){const t=this.outlets.find(r),s=this.outlets.getSelectorForOutletName(r);if(t){const n=bi(this,t,r);if(n)return n;throw new Error(`The provided outlet element is missing an outlet controller "${r}" instance for host controller "${this.identifier}"`)}throw new Error(`Missing outlet element "${r}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${s}".`)}},[`${e}Outlets`]:{get(){const t=this.outlets.findAll(r);return t.length>0?t.map(s=>{const n=bi(this,s,r);if(n)return n;console.warn(`The provided outlet element is missing an outlet controller "${r}" instance for host controller "${this.identifier}"`,s)}).filter(s=>s):[]}},[`${e}OutletElement`]:{get(){const t=this.outlets.find(r),s=this.outlets.getSelectorForOutletName(r);if(t)return t;throw new Error(`Missing outlet element "${r}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${s}".`)}},[`${e}OutletElements`]:{get(){return this.outlets.findAll(r)}},[`has${fr(e)}Outlet`]:{get(){return this.outlets.has(r)}}}}function Uc(r){return pr(r,"targets").reduce((t,s)=>Object.assign(t,zc(s)),{})}function zc(r){return{[`${r}Target`]:{get(){const e=this.targets.find(r);if(e)return e;throw new Error(`Missing target element "${r}" for "${this.identifier}" controller`)}},[`${r}Targets`]:{get(){return this.targets.findAll(r)}},[`has${fr(r)}Target`]:{get(){return this.targets.has(r)}}}}function Kc(r){const e=bc(r,"values"),t={valueDescriptorMap:{get(){return e.reduce((s,n)=>{const i=So(n,this.identifier),o=this.data.getAttributeNameForKey(i.key);return Object.assign(s,{[o]:i})},{})}}};return e.reduce((s,n)=>Object.assign(s,Yc(n)),t)}function Yc(r,e){const t=So(r,e),{key:s,name:n,reader:i,writer:o}=t;return{[n]:{get(){const a=this.data.get(s);return a!==null?i(a):t.defaultValue},set(a){a===void 0?this.data.delete(s):this.data.set(s,o(a))}},[`has${fr(n)}`]:{get(){return this.data.has(s)||t.hasCustomDefaultValue}}}}function So([r,e],t){return Zc({controller:t,token:r,typeDefinition:e})}function Ur(r){switch(r){case Array:return"array";case Boolean:return"boolean";case Number:return"number";case Object:return"object";case String:return"string"}}function Gt(r){switch(typeof r){case"boolean":return"boolean";case"number":return"number";case"string":return"string"}if(Array.isArray(r))return"array";if(Object.prototype.toString.call(r)==="[object Object]")return"object"}function Gc(r){const{controller:e,token:t,typeObject:s}=r,n=di(s.type),i=di(s.default),o=n&&i,a=n&&!i,l=!n&&i,c=Ur(s.type),u=Gt(r.typeObject.default);if(a)return c;if(l)return u;if(c!==u){const g=e?`${e}.${t}`:t;throw new Error(`The specified default value for the Stimulus Value "${g}" must match the defined type "${c}". The provided default value of "${s.default}" is of type "${u}".`)}if(o)return c}function Xc(r){const{controller:e,token:t,typeDefinition:s}=r,i=Gc({controller:e,token:t,typeObject:s}),o=Gt(s),a=Ur(s),l=i||o||a;if(l)return l;const c=e?`${e}.${s}`:t;throw new Error(`Unknown value type "${c}" for "${t}" value`)}function Qc(r){const e=Ur(r);if(e)return vi[e];const t=un(r,"default"),s=un(r,"type"),n=r;if(t)return n.default;if(s){const{type:i}=n,o=Ur(i);if(o)return vi[o]}return r}function Zc(r){const{token:e,typeDefinition:t}=r,s=`${mo(e)}-value`,n=Xc(r);return{type:n,key:s,name:Cn(s),get defaultValue(){return Qc(t)},get hasCustomDefaultValue(){return Gt(t)!==void 0},reader:Jc[n],writer:Ei[n]||Ei.default}}const vi={get array(){return[]},boolean:!1,number:0,get object(){return{}},string:""},Jc={array(r){const e=JSON.parse(r);if(!Array.isArray(e))throw new TypeError(`expected value of type "array" but instead got value "${r}" of type "${Gt(e)}"`);return e},boolean(r){return!(r=="0"||String(r).toLowerCase()=="false")},number(r){return Number(r.replace(/_/g,""))},object(r){const e=JSON.parse(r);if(e===null||typeof e!="object"||Array.isArray(e))throw new TypeError(`expected value of type "object" but instead got value "${r}" of type "${Gt(e)}"`);return e},string(r){return r}},Ei={default:eu,array:yi,object:yi};function yi(r){return JSON.stringify(r)}function eu(r){return`${r}`}class W{constructor(e){this.context=e}static get shouldLoad(){return!0}static afterLoad(e,t){}get application(){return this.context.application}get scope(){return this.context.scope}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get targets(){return this.scope.targets}get outlets(){return this.scope.outlets}get classes(){return this.scope.classes}get data(){return this.scope.data}initialize(){}connect(){}disconnect(){}dispatch(e,{target:t=this.element,detail:s={},prefix:n=this.identifier,bubbles:i=!0,cancelable:o=!0}={}){const a=n?`${n}:${e}`:e,l=new CustomEvent(a,{detail:s,bubbles:i,cancelable:o});return t.dispatchEvent(l),l}}W.blessings=[Vc,Uc,Kc,jc];W.targets=[];W.outlets=[];W.values={};async function tu(r){if("clipboard"in navigator)try{return await navigator.clipboard.writeText(r),!0}catch{}const e=ru(r);document.body.append(e);const t=su(e);return e.remove(),t}function ru(r){const e=document.createElement("pre");return e.style="width: 1px; height: 1px; position: fixed; top: 50%",e.textContent=r,e}function su(r){const e=document.getSelection(),t=document.createRange();return t.selectNodeContents(r),e.removeAllRanges(),e.addRange(t),document.execCommand("copy")}class dn extends W{copy(e){e.preventDefault(),tu(this.sourceTarget.innerText),this.element.classList.add(this.doneClass),setTimeout(()=>{this.element.classList.remove(this.doneClass)},840)}}y(dn,"targets",["source"]),y(dn,"classes",["done"]);const nu=Object.freeze(Object.defineProperty({__proto__:null,default:dn},Symbol.toStringTag,{value:"Module"}));class wo extends W{connect(){this.toggleSubmitButton()}toggleSubmitButton(){const e=this.textareaTarget.value.length!==0;this.buttonTarget.disabled=!e,this.buttonTarget.classList.toggle("show",e)}send(){this.element.querySelector('button[type="submit"]').click()}}y(wo,"targets",["textarea","button"]);const iu=Object.freeze(Object.defineProperty({__proto__:null,default:wo},Symbol.toStringTag,{value:"Module"}));class Ao extends W{connect(){this.load(),this.hasRefreshIntervalValue&&this.startRefreshing()}disconnect(){this.stopRefreshing()}load(){fetch(this.urlValue,{redirect:"error",headers:{"Turbo-Frame":this.element.id}}).then(e=>e.ok&&e.status===200?e.text():null).then(e=>{this.element.innerHTML!==e&&e!==null&&(this.element.innerHTML=e,this.element.classList.add("fade-in"))})}startRefreshing(){this.refreshTimer=setInterval(()=>{this.load()},this.refreshIntervalValue)}stopRefreshing(){this.refreshTimer&&clearInterval(this.refreshTimer)}}y(Ao,"values",{url:String,refreshInterval:Number});const ou=Object.freeze(Object.defineProperty({__proto__:null,default:Ao},Symbol.toStringTag,{value:"Module"}));class au extends W{connect(){this.highlightSupportPolicyTable()}highlightSupportPolicyTable(){let e=n=>{const i=new Date().valueOf();Array.from(n.rows).forEach((o,a)=>{if(a>0){const l=o.cells,c=l[0],u=this.getCellDate(l[l.length-2]),g=this.getCellDate(l[l.length-1]);i>g?c.classList.add("bg-danger","support-policy-highlight","bg-opacity-50"):i<=g&&i>u&&c.classList.add("bg-warning","support-policy-highlight","bg-opacity-50")}})};const t=document.querySelector(".documentations #support-policy ~ div table:first-of-type");if(t){e(t);return}const s=document.querySelector(".documentations #support-policy table")||document.querySelector(".documentations table:first-of-type");s&&e(s)}getCellDate(e){return Date.parse(e.innerHTML.replace(/(\d+)(st|nd|rd|th)/,"$1"))}}const lu=Object.freeze(Object.defineProperty({__proto__:null,default:au},Symbol.toStringTag,{value:"Module"}));class cu extends W{connect(){this.observer=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&Turbo.renderStreamMessage(event.data)})},{root:null}),this.observer.observe(this.element)}disconnect(){this.observer.disconnect()}}const uu=Object.freeze(Object.defineProperty({__proto__:null,default:cu},Symbol.toStringTag,{value:"Module"}));class To extends W{connect(){this.wordList=["Миграция","Контроллер","Модель","Представление","Авторизация","Кеширование","Фасад","Артизан","Компонент","Запрос","Ответ","Фильтр","Валидация","Шаблон","Сессия","Маршрутизация","Консоль","Макет","Директива","Фабрика","Исключение","Блейд","Провайдер","Контейнер","Стратегия","Генератор","Фасад","Очередь","Таск","Сборка","Конфигурация","Маршрут","Композер","Трейт","Метод","Кэш","Автозагрузка","Локализация","Стратегия","Пакет","Расширение","Функциональность","Тестирование","Оператор","Архитектура","Сервис","Контейнер","Структура","Сортировка","Подключение","Наследование","Обновление","Бэкап","Компиляция","Шифрование","Декодирование","Заголовок","Индексация","Клиент","Сервер","Айдишник","Апишка","Аутсорс","Баг","Бэкап","Выпадашка","Движок","Деплой","Жабаскрипт","Легаси","Падаван","Пэхапэ","Пыха","Таска","Фидбек","Фреймворк","Хардкод","Апдейт","Апгрейд","Аттач","Валидный","Виндузятник","Говнокод","Гуглить","Декремент","Джун","Дока","Дыра","Кракозябра","Локалка","Манагер","Нативный","Продакшн","Редирект","Слоупок","Спам","Троллить","Формошлепство","Хакатон","Холивар","Эксплойт","Яблочник"],this.badList=["Зачем вы пытаетесь? Ваша преданность WordPress выдает вас!","Если не угадаете снова, Yii останется вашим повелителем.","Не унывайте - угадайте слово и избавитесь от VSCode.","Не угадаешь снова, и ты будешь писать на PHP в Notepad","Хочешь писать JavaScript в блокноте или всё же попробуешь снова?","Какого это загружать файлы через FTP в 2024 году? Попробуйте снова!","Думаю вы с Битриксом на одной волне. Не стоит пытаться снова.","Ну как так? А на вид ты такой умный. Попробуйте снова!","Еще одна попытка - еще один шанс для тебя не выглядеть полным нубом. Не упусти его!","Думаешь, угадывание слов - это сложно? Попробуй переписать всю свою кодовую базу на FORTRAN","Твой код совершенен? Ты просто его не достаточно изучил. Попробуй снова!"],this.secretWord="",this.guesses=[],this.maxAttempts=4,this.attemptsLeft=this.maxAttempts,this.hiddenWord="",this.gameOver=!1,this.startGame()}selectRandomWord(){const e=Math.floor(Math.random()*this.wordList.length);this.secretWord=this.wordList[e].toLowerCase(),this.hiddenWord="_".repeat(this.secretWord.length),this.updateDisplay()}checkLetter(e){if(this.secretWord.includes(e)){for(let t=0;t"+this.secretWord+"» 🫣 "+t+"",console.log("Игра окончена. Загаданное слово: "+this.secretWord)}else console.log("Неверная буква. Осталось попыток: "+this.attemptsLeft),this.hangmanInputTarget.readonly=!0,this.wordTarget.classList.add("animate-shake"),this.audioWrongTarget.play(),setTimeout(()=>{this.hangmanInputTarget.readonly=!1,this.wordTarget.classList.remove("animate-shake")},550);this.updateDisplay()}updateDisplay(){this.wordTarget.textContent=this.hiddenWord,this.attemptsTarget.textContent="Осталось попыток: "+this.attemptsLeft,this.gameOver===!0&&this.attemptsLeft>0?this.updateImage("win"):this.attemptsLeft>0?this.updateImage(this.attemptsLeft):this.updateImage("lose"),Array.prototype.slice.call(this.heartsTarget.querySelectorAll("svg")).reverse().forEach((e,t)=>{t+1>this.attemptsLeft?e.classList.add("opacity-25"):e.classList.remove("opacity-25")})}startGame(){this.gameOver=!1,this.guesses=[],this.selectRandomWord(),this.attemptsLeft=this.maxAttempts,this.updateImage(this.maxAttempts),this.hangmanInputTarget.disabled=!1,this.heartsTarget.querySelectorAll("svg").forEach((e,t)=>{e.classList.remove("opacity-25")}),this.logTarget.textContent="",console.log("Добро пожаловать в игру!")}guess(e){if(/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)&&document.activeElement.blur(),e.preventDefault(),this.gameOver){this.hangmanInputTarget.value="",this.hangmanInputTarget.disabled=!0,console.log("Игра окончена. Начните новую игру.");return}this.logTarget.textContent="";const s=e.target.value.toLowerCase();console.log("Введена буква: "+s),this.guesses.includes(s)?(this.logTarget.textContent="Вы уже вводили эту букву. Попробуйте другую.",console.log("Вы уже вводили эту букву. Попробуйте другую.")):(this.guesses.push(s),this.checkLetter(s)),this.hangmanInputTarget.value=""}updateImage(e){this.imageTarget.querySelectorAll("img").forEach(t=>{t.dataset.status==e?t.classList.remove("d-none"):t.classList.add("d-none")})}clearInput(e){e.target.value="",this.hangmanInputTarget.value="",console.log(this.hangmanInputTarget.value,e.target.value)}}y(To,"targets",["word","attempts","hangmanInput","audioWrong","audioLose","audioWin","hearts","image","log"]);const hu=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"}));class du extends W{connect(){let e=this.element;e.addEventListener("click",()=>{e.classList.remove("hidden-text"),this.disconnect()})}}const fu=Object.freeze(Object.defineProperty({__proto__:null,default:du},Symbol.toStringTag,{value:"Module"}));class Oo extends W{back(){history.length>2?history.back():Turbo.visit(this.urlValue)}}y(Oo,"values",{url:{type:String,default:"/"}});const pu=Object.freeze(Object.defineProperty({__proto__:null,default:Oo},Symbol.toStringTag,{value:"Module"}));class Co extends W{connect(){this.applyLineClamp(),window.addEventListener("resize",this.applyLineClamp.bind(this))}disconnect(){window.removeEventListener("resize",this.applyLineClamp.bind(this))}applyLineClamp(){const e=this.hasContentTarget?this.contentTarget:this.element;for(;e.scrollHeight>e.offsetHeight&&e.childElementCount>3;)e.lastElementChild.length>3?e.lastElementChild.textContent=e.lastElementChild.textContent.replace(/\W*\s(\S)*$/,"..."):e.lastElementChild.remove()}}y(Co,"targets",["content"]);const mu=Object.freeze(Object.defineProperty({__proto__:null,default:Co},Symbol.toStringTag,{value:"Module"}));var gu=` +%o`,t,e,s),(n=window.onerror)===null||n===void 0||n.call(window,t,"",0,0,e)}logFormattedMessage(e,t,s={}){s=Object.assign({application:this},s),this.logger.groupCollapsed(`${e} #${t}`),this.logger.log("details:",Object.assign({},s)),this.logger.groupEnd()}}function Hc(){return new Promise(r=>{document.readyState=="loading"?document.addEventListener("DOMContentLoaded",()=>r()):r()})}function Vc(r){return pr(r,"classes").reduce((t,s)=>Object.assign(t,qc(s)),{})}function qc(r){return{[`${r}Class`]:{get(){const{classes:e}=this;if(e.has(r))return e.get(r);{const t=e.getAttributeName(r);throw new Error(`Missing attribute "${t}"`)}}},[`${r}Classes`]:{get(){return this.classes.getAll(r)}},[`has${fr(r)}Class`]:{get(){return this.classes.has(r)}}}}function jc(r){return pr(r,"outlets").reduce((t,s)=>Object.assign(t,Wc(s)),{})}function gi(r,e,t){return r.application.getControllerForElementAndIdentifier(e,t)}function bi(r,e,t){let s=gi(r,e,t);if(s||(r.application.router.proposeToConnectScopeForElementAndIdentifier(e,t),s=gi(r,e,t),s))return s}function Wc(r){const e=cn(r);return{[`${e}Outlet`]:{get(){const t=this.outlets.find(r),s=this.outlets.getSelectorForOutletName(r);if(t){const n=bi(this,t,r);if(n)return n;throw new Error(`The provided outlet element is missing an outlet controller "${r}" instance for host controller "${this.identifier}"`)}throw new Error(`Missing outlet element "${r}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${s}".`)}},[`${e}Outlets`]:{get(){const t=this.outlets.findAll(r);return t.length>0?t.map(s=>{const n=bi(this,s,r);if(n)return n;console.warn(`The provided outlet element is missing an outlet controller "${r}" instance for host controller "${this.identifier}"`,s)}).filter(s=>s):[]}},[`${e}OutletElement`]:{get(){const t=this.outlets.find(r),s=this.outlets.getSelectorForOutletName(r);if(t)return t;throw new Error(`Missing outlet element "${r}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${s}".`)}},[`${e}OutletElements`]:{get(){return this.outlets.findAll(r)}},[`has${fr(e)}Outlet`]:{get(){return this.outlets.has(r)}}}}function Uc(r){return pr(r,"targets").reduce((t,s)=>Object.assign(t,zc(s)),{})}function zc(r){return{[`${r}Target`]:{get(){const e=this.targets.find(r);if(e)return e;throw new Error(`Missing target element "${r}" for "${this.identifier}" controller`)}},[`${r}Targets`]:{get(){return this.targets.findAll(r)}},[`has${fr(r)}Target`]:{get(){return this.targets.has(r)}}}}function Kc(r){const e=bc(r,"values"),t={valueDescriptorMap:{get(){return e.reduce((s,n)=>{const i=So(n,this.identifier),o=this.data.getAttributeNameForKey(i.key);return Object.assign(s,{[o]:i})},{})}}};return e.reduce((s,n)=>Object.assign(s,Yc(n)),t)}function Yc(r,e){const t=So(r,e),{key:s,name:n,reader:i,writer:o}=t;return{[n]:{get(){const a=this.data.get(s);return a!==null?i(a):t.defaultValue},set(a){a===void 0?this.data.delete(s):this.data.set(s,o(a))}},[`has${fr(n)}`]:{get(){return this.data.has(s)||t.hasCustomDefaultValue}}}}function So([r,e],t){return Zc({controller:t,token:r,typeDefinition:e})}function Ur(r){switch(r){case Array:return"array";case Boolean:return"boolean";case Number:return"number";case Object:return"object";case String:return"string"}}function Gt(r){switch(typeof r){case"boolean":return"boolean";case"number":return"number";case"string":return"string"}if(Array.isArray(r))return"array";if(Object.prototype.toString.call(r)==="[object Object]")return"object"}function Gc(r){const{controller:e,token:t,typeObject:s}=r,n=di(s.type),i=di(s.default),o=n&&i,a=n&&!i,l=!n&&i,c=Ur(s.type),u=Gt(r.typeObject.default);if(a)return c;if(l)return u;if(c!==u){const g=e?`${e}.${t}`:t;throw new Error(`The specified default value for the Stimulus Value "${g}" must match the defined type "${c}". The provided default value of "${s.default}" is of type "${u}".`)}if(o)return c}function Xc(r){const{controller:e,token:t,typeDefinition:s}=r,i=Gc({controller:e,token:t,typeObject:s}),o=Gt(s),a=Ur(s),l=i||o||a;if(l)return l;const c=e?`${e}.${s}`:t;throw new Error(`Unknown value type "${c}" for "${t}" value`)}function Qc(r){const e=Ur(r);if(e)return vi[e];const t=un(r,"default"),s=un(r,"type"),n=r;if(t)return n.default;if(s){const{type:i}=n,o=Ur(i);if(o)return vi[o]}return r}function Zc(r){const{token:e,typeDefinition:t}=r,s=`${mo(e)}-value`,n=Xc(r);return{type:n,key:s,name:Cn(s),get defaultValue(){return Qc(t)},get hasCustomDefaultValue(){return Gt(t)!==void 0},reader:Jc[n],writer:Ei[n]||Ei.default}}const vi={get array(){return[]},boolean:!1,number:0,get object(){return{}},string:""},Jc={array(r){const e=JSON.parse(r);if(!Array.isArray(e))throw new TypeError(`expected value of type "array" but instead got value "${r}" of type "${Gt(e)}"`);return e},boolean(r){return!(r=="0"||String(r).toLowerCase()=="false")},number(r){return Number(r.replace(/_/g,""))},object(r){const e=JSON.parse(r);if(e===null||typeof e!="object"||Array.isArray(e))throw new TypeError(`expected value of type "object" but instead got value "${r}" of type "${Gt(e)}"`);return e},string(r){return r}},Ei={default:eu,array:yi,object:yi};function yi(r){return JSON.stringify(r)}function eu(r){return`${r}`}class W{constructor(e){this.context=e}static get shouldLoad(){return!0}static afterLoad(e,t){}get application(){return this.context.application}get scope(){return this.context.scope}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get targets(){return this.scope.targets}get outlets(){return this.scope.outlets}get classes(){return this.scope.classes}get data(){return this.scope.data}initialize(){}connect(){}disconnect(){}dispatch(e,{target:t=this.element,detail:s={},prefix:n=this.identifier,bubbles:i=!0,cancelable:o=!0}={}){const a=n?`${n}:${e}`:e,l=new CustomEvent(a,{detail:s,bubbles:i,cancelable:o});return t.dispatchEvent(l),l}}W.blessings=[Vc,Uc,Kc,jc];W.targets=[];W.outlets=[];W.values={};async function tu(r){if("clipboard"in navigator)try{return await navigator.clipboard.writeText(r),!0}catch{}const e=ru(r);document.body.append(e);const t=su(e);return e.remove(),t}function ru(r){const e=document.createElement("pre");return e.style="width: 1px; height: 1px; position: fixed; top: 50%",e.textContent=r,e}function su(r){const e=document.getSelection(),t=document.createRange();return t.selectNodeContents(r),e.removeAllRanges(),e.addRange(t),document.execCommand("copy")}class dn extends W{copy(e){e.preventDefault(),tu(this.sourceTarget.innerText),this.element.classList.add(this.doneClass),setTimeout(()=>{this.element.classList.remove(this.doneClass)},840)}}y(dn,"targets",["source"]),y(dn,"classes",["done"]);const nu=Object.freeze(Object.defineProperty({__proto__:null,default:dn},Symbol.toStringTag,{value:"Module"}));class wo extends W{connect(){this.toggleSubmitButton()}toggleSubmitButton(){const e=this.textareaTarget.value.length!==0;this.buttonTarget.disabled=!e,this.buttonTarget.classList.toggle("show",e)}send(){this.element.querySelector('button[type="submit"]').click()}}y(wo,"targets",["textarea","button"]);const iu=Object.freeze(Object.defineProperty({__proto__:null,default:wo},Symbol.toStringTag,{value:"Module"}));class Ao extends W{connect(){this.load(),this.hasRefreshIntervalValue&&this.startRefreshing()}disconnect(){this.stopRefreshing()}load(){fetch(this.urlValue,{redirect:"error",headers:{"Turbo-Frame":this.element.id}}).then(e=>e.ok&&e.status===200?e.text():null).then(e=>{this.element.innerHTML!==e&&e!==null&&(this.element.innerHTML=e,this.element.classList.add("fade-in"))})}startRefreshing(){this.refreshTimer=setInterval(()=>{this.load()},this.refreshIntervalValue)}stopRefreshing(){this.refreshTimer&&clearInterval(this.refreshTimer)}}y(Ao,"values",{url:String,refreshInterval:Number});const ou=Object.freeze(Object.defineProperty({__proto__:null,default:Ao},Symbol.toStringTag,{value:"Module"}));class au extends W{connect(){this.highlightSupportPolicyTable()}highlightSupportPolicyTable(){let e=n=>{const i=new Date().valueOf();Array.from(n.rows).forEach((o,a)=>{if(a>0){const l=o.cells,c=l[0],u=this.getCellDate(l[l.length-2]),g=this.getCellDate(l[l.length-1]);i>g?c.classList.add("bg-danger","support-policy-highlight","bg-opacity-50"):i<=g&&i>u&&c.classList.add("bg-warning","support-policy-highlight","bg-opacity-50")}})};const t=document.querySelector(".documentations #support-policy ~ div table:first-of-type");if(t){e(t);return}const s=document.querySelector(".documentations #support-policy table")||document.querySelector(".documentations table:first-of-type");s&&e(s)}getCellDate(e){return Date.parse(e.innerHTML.replace(/(\d+)(st|nd|rd|th)/,"$1"))}}const lu=Object.freeze(Object.defineProperty({__proto__:null,default:au},Symbol.toStringTag,{value:"Module"}));class cu extends W{connect(){this.observer=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&Turbo.renderStreamMessage(event.data)})},{root:null}),this.observer.observe(this.element)}disconnect(){this.observer.disconnect()}}const uu=Object.freeze(Object.defineProperty({__proto__:null,default:cu},Symbol.toStringTag,{value:"Module"})),hu=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));class To extends W{connect(){this.wordList=["Миграция","Контроллер","Модель","Представление","Авторизация","Кеширование","Фасад","Артизан","Компонент","Запрос","Ответ","Фильтр","Валидация","Шаблон","Сессия","Маршрутизация","Консоль","Макет","Директива","Фабрика","Исключение","Блейд","Провайдер","Контейнер","Стратегия","Генератор","Фасад","Очередь","Таск","Сборка","Конфигурация","Маршрут","Композер","Трейт","Метод","Кэш","Автозагрузка","Локализация","Стратегия","Пакет","Расширение","Функциональность","Тестирование","Оператор","Архитектура","Сервис","Контейнер","Структура","Сортировка","Подключение","Наследование","Обновление","Бэкап","Компиляция","Шифрование","Декодирование","Заголовок","Индексация","Клиент","Сервер","Айдишник","Апишка","Аутсорс","Баг","Бэкап","Выпадашка","Движок","Деплой","Жабаскрипт","Легаси","Падаван","Пэхапэ","Пыха","Таска","Фидбек","Фреймворк","Хардкод","Апдейт","Апгрейд","Аттач","Валидный","Виндузятник","Говнокод","Гуглить","Декремент","Джун","Дока","Дыра","Кракозябра","Локалка","Манагер","Нативный","Продакшн","Редирект","Слоупок","Спам","Троллить","Формошлепство","Хакатон","Холивар","Эксплойт","Яблочник"],this.badList=["Зачем вы пытаетесь? Ваша преданность WordPress выдает вас!","Если не угадаете снова, Yii останется вашим повелителем.","Не унывайте - угадайте слово и избавитесь от VSCode.","Не угадаешь снова, и ты будешь писать на PHP в Notepad","Хочешь писать JavaScript в блокноте или всё же попробуешь снова?","Какого это загружать файлы через FTP в 2024 году? Попробуйте снова!","Думаю вы с Битриксом на одной волне. Не стоит пытаться снова.","Ну как так? А на вид ты такой умный. Попробуйте снова!","Еще одна попытка - еще один шанс для тебя не выглядеть полным нубом. Не упусти его!","Думаешь, угадывание слов - это сложно? Попробуй переписать всю свою кодовую базу на FORTRAN","Твой код совершенен? Ты просто его не достаточно изучил. Попробуй снова!"],this.secretWord="",this.guesses=[],this.maxAttempts=4,this.attemptsLeft=this.maxAttempts,this.hiddenWord="",this.gameOver=!1,this.startGame()}selectRandomWord(){const e=Math.floor(Math.random()*this.wordList.length);this.secretWord=this.wordList[e].toLowerCase(),this.hiddenWord="_".repeat(this.secretWord.length),this.updateDisplay()}checkLetter(e){if(this.secretWord.includes(e)){for(let t=0;t"+this.secretWord+"» 🫣 "+t+"",console.log("Игра окончена. Загаданное слово: "+this.secretWord)}else console.log("Неверная буква. Осталось попыток: "+this.attemptsLeft),this.hangmanInputTarget.readonly=!0,this.wordTarget.classList.add("animate-shake"),this.audioWrongTarget.play(),setTimeout(()=>{this.hangmanInputTarget.readonly=!1,this.wordTarget.classList.remove("animate-shake")},550);this.updateDisplay()}updateDisplay(){this.wordTarget.textContent=this.hiddenWord,this.attemptsTarget.textContent="Осталось попыток: "+this.attemptsLeft,this.gameOver===!0&&this.attemptsLeft>0?this.updateImage("win"):this.attemptsLeft>0?this.updateImage(this.attemptsLeft):this.updateImage("lose"),Array.prototype.slice.call(this.heartsTarget.querySelectorAll("svg")).reverse().forEach((e,t)=>{t+1>this.attemptsLeft?e.classList.add("opacity-25"):e.classList.remove("opacity-25")})}startGame(){this.gameOver=!1,this.guesses=[],this.selectRandomWord(),this.attemptsLeft=this.maxAttempts,this.updateImage(this.maxAttempts),this.hangmanInputTarget.disabled=!1,this.heartsTarget.querySelectorAll("svg").forEach((e,t)=>{e.classList.remove("opacity-25")}),this.logTarget.textContent="",console.log("Добро пожаловать в игру!")}guess(e){if(/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)&&document.activeElement.blur(),e.preventDefault(),this.gameOver){this.hangmanInputTarget.value="",this.hangmanInputTarget.disabled=!0,console.log("Игра окончена. Начните новую игру.");return}this.logTarget.textContent="";const s=e.target.value.toLowerCase();console.log("Введена буква: "+s),this.guesses.includes(s)?(this.logTarget.textContent="Вы уже вводили эту букву. Попробуйте другую.",console.log("Вы уже вводили эту букву. Попробуйте другую.")):(this.guesses.push(s),this.checkLetter(s)),this.hangmanInputTarget.value=""}updateImage(e){this.imageTarget.querySelectorAll("img").forEach(t=>{t.dataset.status==e?t.classList.remove("d-none"):t.classList.add("d-none")})}clearInput(e){e.target.value="",this.hangmanInputTarget.value="",console.log(this.hangmanInputTarget.value,e.target.value)}}y(To,"targets",["word","attempts","hangmanInput","audioWrong","audioLose","audioWin","hearts","image","log"]);const du=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"}));class fu extends W{connect(){let e=this.element;e.addEventListener("click",()=>{e.classList.remove("hidden-text"),this.disconnect()})}}const pu=Object.freeze(Object.defineProperty({__proto__:null,default:fu},Symbol.toStringTag,{value:"Module"}));class Oo extends W{back(){history.length>2?history.back():Turbo.visit(this.urlValue)}}y(Oo,"values",{url:{type:String,default:"/"}});const mu=Object.freeze(Object.defineProperty({__proto__:null,default:Oo},Symbol.toStringTag,{value:"Module"}));class Co extends W{connect(){this.applyLineClamp(),window.addEventListener("resize",this.applyLineClamp.bind(this))}disconnect(){window.removeEventListener("resize",this.applyLineClamp.bind(this))}applyLineClamp(){const e=this.hasContentTarget?this.contentTarget:this.element;for(;e.scrollHeight>e.offsetHeight&&e.childElementCount>3;)e.lastElementChild.length>3?e.lastElementChild.textContent=e.lastElementChild.textContent.replace(/\W*\s(\S)*$/,"..."):e.lastElementChild.remove()}}y(Co,"targets",["content"]);const gu=Object.freeze(Object.defineProperty({__proto__:null,default:Co},Symbol.toStringTag,{value:"Module"}));var bu=` .~))>> .~)>> .~))))>>> @@ -36,7 +36,7 @@ var Wl=Object.defineProperty;var Ul=(r,e,t)=>e in r?Wl(r,e,{enumerable:!0,config .' b .~~ :bb ,' ~~~~ -`;class bu extends W{greet(e){e.target.classList.add("disabled");let t=gu+` +`;class vu extends W{greet(e){e.target.classList.add("disabled");let t=bu+` Вы прерываете мой покой! @@ -50,34 +50,34 @@ var Wl=Object.defineProperty;var Ul=(r,e,t)=>e in r?Wl(r,e,{enumerable:!0,config <%%%%|==========> Все иди от сюда, больше тебе нечего тут делать! -`;console.warn(t)}}const vu=Object.freeze(Object.defineProperty({__proto__:null,default:bu},Symbol.toStringTag,{value:"Module"}));var fn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Lo(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var No={exports:{}};(function(r){var e=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +`;console.warn(t)}}const Eu=Object.freeze(Object.defineProperty({__proto__:null,default:vu},Symbol.toStringTag,{value:"Module"}));var fn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Lo(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var No={exports:{}};(function(r){var e=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var t=function(s){var n=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},a={manual:s.Prism&&s.Prism.manual,disableWorkerMessageHandler:s.Prism&&s.Prism.disableWorkerMessageHandler,util:{encode:function p(m){return m instanceof l?new l(m.type,p(m.content),m.alias):Array.isArray(m)?m.map(p):m.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(E){var p=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(E.stack)||[])[1];if(p){var m=document.getElementsByTagName("script");for(var b in m)if(m[b].src==p)return m[b]}return null}},isActive:function(p,m,b){for(var E="no-"+m;p;){var _=p.classList;if(_.contains(m))return!0;if(_.contains(E))return!1;p=p.parentElement}return!!b}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(p,m){var b=a.util.clone(a.languages[p]);for(var E in m)b[E]=m[E];return b},insertBefore:function(p,m,b,E){E=E||a.languages;var _=E[p],C={};for(var x in _)if(_.hasOwnProperty(x)){if(x==m)for(var L in b)b.hasOwnProperty(L)&&(C[L]=b[L]);b.hasOwnProperty(x)||(C[x]=_[x])}var B=E[p];return E[p]=C,a.languages.DFS(a.languages,function(H,V){V===B&&H!=p&&(this[H]=C)}),C},DFS:function p(m,b,E,_){_=_||{};var C=a.util.objId;for(var x in m)if(m.hasOwnProperty(x)){b.call(m,x,m[x],E||x);var L=m[x],B=a.util.type(L);B==="Object"&&!_[C(L)]?(_[C(L)]=!0,p(L,b,null,_)):B==="Array"&&!_[C(L)]&&(_[C(L)]=!0,p(L,b,x,_))}}},plugins:{},highlightAll:function(p,m){a.highlightAllUnder(document,p,m)},highlightAllUnder:function(p,m,b){var E={callback:b,container:p,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",E),E.elements=Array.prototype.slice.apply(E.container.querySelectorAll(E.selector)),a.hooks.run("before-all-elements-highlight",E);for(var _=0,C;C=E.elements[_++];)a.highlightElement(C,m===!0,E.callback)},highlightElement:function(p,m,b){var E=a.util.getLanguage(p),_=a.languages[E];a.util.setLanguage(p,E);var C=p.parentElement;C&&C.nodeName.toLowerCase()==="pre"&&a.util.setLanguage(C,E);var x=p.textContent,L={element:p,language:E,grammar:_,code:x};function B(V){L.highlightedCode=V,a.hooks.run("before-insert",L),L.element.innerHTML=L.highlightedCode,a.hooks.run("after-highlight",L),a.hooks.run("complete",L),b&&b.call(L.element)}if(a.hooks.run("before-sanity-check",L),C=L.element.parentElement,C&&C.nodeName.toLowerCase()==="pre"&&!C.hasAttribute("tabindex")&&C.setAttribute("tabindex","0"),!L.code){a.hooks.run("complete",L),b&&b.call(L.element);return}if(a.hooks.run("before-highlight",L),!L.grammar){B(a.util.encode(L.code));return}if(m&&s.Worker){var H=new Worker(a.filename);H.onmessage=function(V){B(V.data)},H.postMessage(JSON.stringify({language:L.language,code:L.code,immediateClose:!0}))}else B(a.highlight(L.code,L.grammar,L.language))},highlight:function(p,m,b){var E={code:p,grammar:m,language:b};if(a.hooks.run("before-tokenize",E),!E.grammar)throw new Error('The language "'+E.language+'" has no grammar.');return E.tokens=a.tokenize(E.code,E.grammar),a.hooks.run("after-tokenize",E),l.stringify(a.util.encode(E.tokens),E.language)},tokenize:function(p,m){var b=m.rest;if(b){for(var E in b)m[E]=b[E];delete m.rest}var _=new g;return v(_,_.head,p),u(p,_,m,_.head,0),M(_)},hooks:{all:{},add:function(p,m){var b=a.hooks.all;b[p]=b[p]||[],b[p].push(m)},run:function(p,m){var b=a.hooks.all[p];if(!(!b||!b.length))for(var E=0,_;_=b[E++];)_(m)}},Token:l};s.Prism=a;function l(p,m,b,E){this.type=p,this.content=m,this.alias=b,this.length=(E||"").length|0}l.stringify=function p(m,b){if(typeof m=="string")return m;if(Array.isArray(m)){var E="";return m.forEach(function(B){E+=p(B,b)}),E}var _={type:m.type,content:p(m.content,b),tag:"span",classes:["token",m.type],attributes:{},language:b},C=m.alias;C&&(Array.isArray(C)?Array.prototype.push.apply(_.classes,C):_.classes.push(C)),a.hooks.run("wrap",_);var x="";for(var L in _.attributes)x+=" "+L+'="'+(_.attributes[L]||"").replace(/"/g,""")+'"';return"<"+_.tag+' class="'+_.classes.join(" ")+'"'+x+">"+_.content+""};function c(p,m,b,E){p.lastIndex=m;var _=p.exec(b);if(_&&E&&_[1]){var C=_[1].length;_.index+=C,_[0]=_[0].slice(C)}return _}function u(p,m,b,E,_,C){for(var x in b)if(!(!b.hasOwnProperty(x)||!b[x])){var L=b[x];L=Array.isArray(L)?L:[L];for(var B=0;B=C.reach);w+=f.value.length,f=f.next){var T=f.value;if(m.length>p.length)return;if(!(T instanceof l)){var R=1,F;if(ee){if(F=c(d,w,p,j),!F||F.index>=p.length)break;var q=F.index,U=F.index+F[0].length,Y=w;for(Y+=f.value.length;q>=Y;)f=f.next,Y+=f.value.length;if(Y-=f.value.length,w=Y,f.value instanceof l)continue;for(var Z=f;Z!==m.tail&&(YC.reach&&(C.reach=Ue);var Ne=f.prev;J&&(Ne=v(m,Ne,J),w+=J.length),A(m,Ne,R);var Ws=new l(x,V?a.tokenize(X,V):X,fe,X);if(f=v(m,Ne,Ws),ge&&v(m,f,ge),R>1){var ut={cause:x+","+B,reach:Ue};u(p,m,b,f.prev,w,ut),C&&ut.reach>C.reach&&(C.reach=ut.reach)}}}}}}function g(){var p={value:null,prev:null,next:null},m={value:null,prev:p,next:null};p.next=m,this.head=p,this.tail=m,this.length=0}function v(p,m,b){var E=m.next,_={value:b,prev:m,next:E};return m.next=_,E.prev=_,p.length++,_}function A(p,m,b){for(var E=m.next,_=0;_/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var s={};s["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[t]},s.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:s}};n["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",i)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(r,e){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[e,"language-"+e],inside:Prism.languages[e]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.languages.xml;(function(r){function e(t,s){return"___"+t.toUpperCase()+s+"___"}Object.defineProperties(r.languages["markup-templating"]={},{buildPlaceholders:{value:function(t,s,n,i){if(t.language===s){var o=t.tokenStack=[];t.code=t.code.replace(n,function(a){if(typeof i=="function"&&!i(a))return a;for(var l=o.length,c;t.code.indexOf(c=e(s,l))!==-1;)++l;return o[l]=a,c}),t.grammar=r.languages.markup}}},tokenizePlaceholders:{value:function(t,s){if(t.language!==s||!t.tokenStack)return;t.grammar=r.languages[s];var n=0,i=Object.keys(t.tokenStack);function o(a){for(var l=0;l=i.length);l++){var c=a[l];if(typeof c=="string"||c.content&&typeof c.content=="string"){var u=i[n],g=t.tokenStack[u],v=typeof c=="string"?c:c.content,A=e(s,u),M=v.indexOf(A);if(M>-1){++n;var O=v.substring(0,M),N=new r.Token(s,r.tokenize(g,t.grammar),"language-"+s,g),k=v.substring(M+A.length),p=[];O&&p.push.apply(p,o([O])),p.push(N),k&&p.push.apply(p,o([k])),typeof c=="string"?a.splice.apply(a,[l,1].concat(p)):c.content=p}}else c.content&&o(c.content)}return a}o(t.tokens)}}})})(Prism);(function(r){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,t=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],s=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,n=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:t,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:s,operator:n,punctuation:i};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},a=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];r.languages.insertBefore("php","variable",{string:a,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:a,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:t,number:s,operator:n,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(l){if(/<\?/.test(l.code)){var c=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(l,"php",c)}}),r.hooks.add("after-tokenize",function(l){r.languages["markup-templating"].tokenizePlaceholders(l,"php")})})(Prism);Prism.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}});Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(r){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",t={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:t,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};r.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:t}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},t.inside=r.languages.bash;for(var n=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=s.variable[1].inside,o=0;o|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+t.source+"(?:[ ]+"+e.source+")?|"+e.source+"(?:[ ]+"+t.source+")?)",n=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(a,l){l=(l||"").replace(/m/g,"")+"m";var c=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return a});return RegExp(c,l)}r.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+n+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:t,important:e,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},r.languages.yml=r.languages.yaml})(Prism);(function(r){var e=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;r.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:e}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:e}},punctuation:/[{};]/}})(Prism);(function(r){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var t=r.languages.markup;t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))})(Prism);(function(r){r.languages.sass=r.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),r.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete r.languages.sass.atrule;var e=/\$[-\w]+|#\{\$[-\w]+\}/,t=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];r.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:e,operator:t}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:e,operator:t,important:r.languages.sass.important}}}),delete r.languages.sass.property,delete r.languages.sass.important,r.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(Prism);Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]});Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}});Prism.languages.scss.atrule.inside.rest=Prism.languages.scss;Prism.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/};(function(r){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function t(u){return u=u.replace(//g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+u+")")}var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,n=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;r.languages.markdown=r.languages.extend("markup",{}),r.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:r.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+n+i+"(?:"+n+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+n+i+")(?:"+n+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:r.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+n+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+n+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:r.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:t(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:t(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:t(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:t(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(u){["url","bold","italic","strike","code-snippet"].forEach(function(g){u!==g&&(r.languages.markdown[u].inside.content.inside[g]=r.languages.markdown[g])})}),r.hooks.add("after-tokenize",function(u){if(u.language!=="markdown"&&u.language!=="md")return;function g(v){if(!(!v||typeof v=="string"))for(var A=0,M=v.length;A",quot:'"'},l=String.fromCodePoint||String.fromCharCode;function c(u){var g=u.replace(o,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(v,A){if(A=A.toLowerCase(),A[0]==="#"){var M;return A[1]==="x"?M=parseInt(A.slice(2),16):M=Number(A.slice(1)),l(M)}else{var O=a[A];return O||v}}),g}r.languages.md=r.languages.markdown})(Prism);(function(){typeof Prism>"u"||typeof document>"u"||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Prism.plugins.UnescapedMarkup=!0,Prism.hooks.add("before-highlightall",function(r){r.selector+=', [class*="lang-"] script[type="text/plain"], [class*="language-"] script[type="text/plain"], script[type="text/plain"][class*="lang-"], script[type="text/plain"][class*="language-"]'}),Prism.hooks.add("before-sanity-check",function(r){var e=r.element;if(e.matches('script[type="text/plain"]')){var t=document.createElement("code"),s=document.createElement("pre");s.className=t.className=e.className;var n=e.dataset;Object.keys(n||{}).forEach(function(o){Object.prototype.hasOwnProperty.call(n,o)&&(s.dataset[o]=n[o])}),t.textContent=r.code=r.code.replace(/<\/script(?:>|>)/gi,"<\/script>"),s.appendChild(t),e.parentNode.replaceChild(s,e),r.element=t;return}if(!r.code){var i=e.childNodes;i.length===1&&i[0].nodeName=="#comment"&&(e.textContent=r.code=i[0].textContent)}}))})();(function(){if(typeof Prism>"u"||typeof document>"u")return;var r="line-numbers",e=/\n(?!$)/g,t=Prism.plugins.lineNumbers={getLine:function(o,a){if(!(o.tagName!=="PRE"||!o.classList.contains(r))){var l=o.querySelector(".line-numbers-rows");if(l){var c=parseInt(o.getAttribute("data-start"),10)||1,u=c+(l.children.length-1);au&&(a=u);var g=a-c;return l.children[g]}}},resize:function(o){s([o])},assumeViewportIndependence:!0};function s(o){if(o=o.filter(function(l){var c=n(l),u=c["white-space"];return u==="pre-wrap"||u==="pre-line"}),o.length!=0){var a=o.map(function(l){var c=l.querySelector("code"),u=l.querySelector(".line-numbers-rows");if(!(!c||!u)){var g=l.querySelector(".line-numbers-sizer"),v=c.textContent.split(e);g||(g=document.createElement("span"),g.className="line-numbers-sizer",c.appendChild(g)),g.innerHTML="0",g.style.display="block";var A=g.getBoundingClientRect().height;return g.innerHTML="",{element:l,lines:v,lineHeights:[],oneLinerHeight:A,sizer:g}}}).filter(Boolean);a.forEach(function(l){var c=l.sizer,u=l.lines,g=l.lineHeights,v=l.oneLinerHeight;g[u.length-1]=void 0,u.forEach(function(A,M){if(A&&A.length>1){var O=c.appendChild(document.createElement("span"));O.style.display="block",O.textContent=A}else g[M]=v})}),a.forEach(function(l){for(var c=l.sizer,u=l.lineHeights,g=0,v=0;v");g=document.createElement("span"),g.setAttribute("aria-hidden","true"),g.className="line-numbers-rows",g.innerHTML=v,l.hasAttribute("data-start")&&(l.style.counterReset="linenumber "+(parseInt(l.getAttribute("data-start"),10)-1)),o.element.appendChild(g),s([l]),Prism.hooks.run("line-numbers",o)}}}),Prism.hooks.add("line-numbers",function(o){o.plugins=o.plugins||{},o.plugins.lineNumbers=!0})})();class Ro extends W{connect(){Et.manual=!1,[...this.element.querySelectorAll("pre code")].forEach(e=>{e.getAttribute("class")===null&&e.setAttribute("class","language-php"),Et.highlightElement(e)})}paste(){const e=this.editableTarget.innerText;let t=Et.highlight(e,Et.languages.php,"php");this.changeContent(this.editableTarget,''+t+""),this.outputTarget.value=e}keydownPaste(e){e.key==="Enter"&&setTimeout(()=>{const t=this.getCursorPosition(this.editableTarget);this.setCursorPosition(this.editableTarget,t+1)},10)}changeContent(e,t){const s=this.getCursorPosition(e);e.innerHTML=t,this.setCursorPosition(e,s)}getCursorPosition(e){let t=0;const s=window.getSelection();if(s.rangeCount>0){let n=s.getRangeAt(0);const i=document.createRange();i.selectNodeContents(e),i.setEnd(n.startContainer,n.startOffset),t=i.toString().length,i.detach()}return t}setCursorPosition(e,t){const s=window.getSelection();e.focus();const n=document.createRange();n.selectNodeContents(e);const i=this.getTextNodesIn(e);let o=!1;for(let a=0;a{let t=document.querySelector(this.element.dataset.to);return e.preventDefault(),t!==null?t.scrollIntoView({behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"}),!1})}}const Su=Object.freeze(Object.defineProperty({__proto__:null,default:_u},Symbol.toStringTag,{value:"Module"}));class Io extends W{initialize(){this.intersectionObserver=new IntersectionObserver(e=>this.processIntersectionEntries(e))}connect(){this.intersectionObserver.observe(this.element)}disconnect(){this.intersectionObserver.unobserve(this.element)}processIntersectionEntries(e){e.forEach(t=>{this.textTarget.focus()})}search(){clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.textTarget.form.requestSubmit()},340)}}y(Io,"targets",["text"]);const wu=Object.freeze(Object.defineProperty({__proto__:null,default:Io},Symbol.toStringTag,{value:"Module"}));class ko extends W{dialog(e){e.preventDefault();try{navigator.share({title:this.titleValue,url:this.urlValue}).then(()=>{console.log("Thanks for sharing!")}).catch(()=>{navigator.clipboard.writeText(this.urlValue),console.error("Error sharing!")})}catch(t){console.error("Error sharing!"),console.warn(t),navigator.clipboard.writeText(this.urlValue)}return!1}}y(ko,"values",{title:{type:String,default:document.title},url:{type:String,default:window.location.origin}});const Au=Object.freeze(Object.defineProperty({__proto__:null,default:ko},Symbol.toStringTag,{value:"Module"}));class Mo extends W{connect(){this.toggleButtons()}toggle(){this.toggleButtons(),document.querySelectorAll("audio").forEach(t=>{t.muted=!t.muted})}toggleButtons(){this.muteButtonTarget.classList.toggle("d-none",this.isMuted),this.unmuteButtonTarget.classList.toggle("d-none",!this.isMuted)}get isMuted(){const e=document.querySelector("audio");return e&&e.muted}}y(Mo,"targets",["muteButton","unmuteButton"]);const Tu=Object.freeze(Object.defineProperty({__proto__:null,default:Mo},Symbol.toStringTag,{value:"Module"}));class xr extends W{connect(){this.anchor&&(this.indexValue=this.tabTargets.findIndex(e=>e.id===this.anchor)),this.showTab()}change(e){e.currentTarget.tagName==="SELECT"?this.indexValue=e.currentTarget.selectedIndex:e.currentTarget.dataset.index?this.indexValue=e.currentTarget.dataset.index:e.currentTarget.dataset.id?this.indexValue=this.tabTargets.findIndex(t=>t.id==e.currentTarget.dataset.id):this.indexValue=this.tabTargets.indexOf(e.currentTarget),window.dispatchEvent(new CustomEvent("tsc:tab-change"))}nextTab(){this.indexValue=Math.min(this.indexValue+1,this.tabsCount-1)}previousTab(){this.indexValue=Math.max(this.indexValue-1,0)}firstTab(){this.indexValue=0}lastTab(){this.indexValue=this.tabsCount-1}indexValueChanged(){this.showTab(),this.updateAnchorValue&&(location.hash=this.tabTargets[this.indexValue].id)}showTab(){this.panelTargets.forEach((e,t)=>{var n,i,o,a;const s=this.tabTargets[t];t===this.indexValue?(e.classList.remove("d-none"),this.hasInactiveTabClass&&((n=s==null?void 0:s.classList)==null||n.remove(...this.inactiveTabClasses)),this.hasActiveTabClass&&((i=s==null?void 0:s.classList)==null||i.add(...this.activeTabClasses))):(e.classList.add("d-none"),this.hasActiveTabClass&&((o=s==null?void 0:s.classList)==null||o.remove(...this.activeTabClasses)),this.hasInactiveTabClass&&((a=s==null?void 0:s.classList)==null||a.add(...this.inactiveTabClasses)))}),this.hasSelectTarget&&(this.selectTarget.selectedIndex=this.indexValue)}get tabsCount(){return this.tabTargets.length}get anchor(){return document.URL.split("#").length>1?document.URL.split("#")[1]:null}}y(xr,"classes",["activeTab","inactiveTab"]),y(xr,"targets",["tab","panel","select"]),y(xr,"values",{index:0,updateAnchor:Boolean});const Ou=Object.freeze(Object.defineProperty({__proto__:null,default:xr},Symbol.toStringTag,{value:"Module"}));var ks={},Cu=/[|\\{}()[\]^$+*?.]/g,Lu=function(r){if(typeof r!="string")throw new TypeError("Expected a string");return r.replace(Cu,"\\$&")},Nn={};Object.defineProperty(Nn,"__esModule",{value:!0});var Nu={bold:{prefix:"**",suffix:"**"},italic:{prefix:"_",suffix:"_"},strikethrough:{prefix:"~~",suffix:"~~"},link:{prefix:{value:"[",pattern:"\\[",antipattern:"\\!\\["},suffix:{value:function(e,t,s){return"]("+s+")"},pattern:"\\]\\([^()]*?\\)"}},image:{prefix:"![",suffix:{value:function(e,t,s){return"]("+s+")"},pattern:"\\]\\([^()]*?\\)"}},header1:{prefix:{value:"# ",pattern:"# ",antipattern:"[#]{2,} "}},header2:{prefix:{value:"## ",pattern:"## ",antipattern:"[#]{3,} "}},header3:{prefix:{value:"### ",pattern:"### ",antipattern:"[#]{4,} "}},header4:{prefix:{value:"#### ",pattern:"#### ",antipattern:"[#]{5,} "}},header5:{prefix:{value:"##### ",pattern:"##### ",antipattern:"[#]{6,} "}},header6:{prefix:{value:"###### ",pattern:"###### ",antipattern:"[#]{7,} "}},code:{block:!0,prefix:"```\n",suffix:"\n```"},orderedList:{block:!0,multiline:!0,prefix:{value:function(e,t){return t+". "},pattern:"[0-9]+\\. "}},unorderedList:{block:!0,multiline:!0,prefix:"- "},taskList:{block:!0,multiline:!0,prefix:{value:"- [ ] ",pattern:"- \\[[x ]{1}\\] "}},blockquote:{block:!0,multiline:!0,prefix:"> "}};Nn.default=Nu;Object.defineProperty(ks,"__esModule",{value:!0});ks.Formats=void 0;var Po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ar=function(){function r(e,t){var s=[],n=!0,i=!1,o=void 0;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done)&&(s.push(l.value),!(t&&s.length===t));n=!0);}catch(c){i=!0,o=c}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return s}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Ru=function(){function r(e,t){for(var s=0;s"u"?"undefined":Po(t))=="object")return wi(t);if(!pn.default.hasOwnProperty(t))throw new Error("Invalid format "+t);return wi(pn.default[t])}},{key:"toggle",value:function(t){if(this.hasFormat(t))return this.unformat(t);for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i1?s-1:0),i=1;i"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(E){var p=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(E.stack)||[])[1];if(p){var m=document.getElementsByTagName("script");for(var b in m)if(m[b].src==p)return m[b]}return null}},isActive:function(p,m,b){for(var E="no-"+m;p;){var _=p.classList;if(_.contains(m))return!0;if(_.contains(E))return!1;p=p.parentElement}return!!b}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(p,m){var b=a.util.clone(a.languages[p]);for(var E in m)b[E]=m[E];return b},insertBefore:function(p,m,b,E){E=E||a.languages;var _=E[p],C={};for(var x in _)if(_.hasOwnProperty(x)){if(x==m)for(var L in b)b.hasOwnProperty(L)&&(C[L]=b[L]);b.hasOwnProperty(x)||(C[x]=_[x])}var B=E[p];return E[p]=C,a.languages.DFS(a.languages,function(H,V){V===B&&H!=p&&(this[H]=C)}),C},DFS:function p(m,b,E,_){_=_||{};var C=a.util.objId;for(var x in m)if(m.hasOwnProperty(x)){b.call(m,x,m[x],E||x);var L=m[x],B=a.util.type(L);B==="Object"&&!_[C(L)]?(_[C(L)]=!0,p(L,b,null,_)):B==="Array"&&!_[C(L)]&&(_[C(L)]=!0,p(L,b,x,_))}}},plugins:{},highlightAll:function(p,m){a.highlightAllUnder(document,p,m)},highlightAllUnder:function(p,m,b){var E={callback:b,container:p,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",E),E.elements=Array.prototype.slice.apply(E.container.querySelectorAll(E.selector)),a.hooks.run("before-all-elements-highlight",E);for(var _=0,C;C=E.elements[_++];)a.highlightElement(C,m===!0,E.callback)},highlightElement:function(p,m,b){var E=a.util.getLanguage(p),_=a.languages[E];a.util.setLanguage(p,E);var C=p.parentElement;C&&C.nodeName.toLowerCase()==="pre"&&a.util.setLanguage(C,E);var x=p.textContent,L={element:p,language:E,grammar:_,code:x};function B(V){L.highlightedCode=V,a.hooks.run("before-insert",L),L.element.innerHTML=L.highlightedCode,a.hooks.run("after-highlight",L),a.hooks.run("complete",L),b&&b.call(L.element)}if(a.hooks.run("before-sanity-check",L),C=L.element.parentElement,C&&C.nodeName.toLowerCase()==="pre"&&!C.hasAttribute("tabindex")&&C.setAttribute("tabindex","0"),!L.code){a.hooks.run("complete",L),b&&b.call(L.element);return}if(a.hooks.run("before-highlight",L),!L.grammar){B(a.util.encode(L.code));return}if(m&&s.Worker){var H=new Worker(a.filename);H.onmessage=function(V){B(V.data)},H.postMessage(JSON.stringify({language:L.language,code:L.code,immediateClose:!0}))}else B(a.highlight(L.code,L.grammar,L.language))},highlight:function(p,m,b){var E={code:p,grammar:m,language:b};if(a.hooks.run("before-tokenize",E),!E.grammar)throw new Error('The language "'+E.language+'" has no grammar.');return E.tokens=a.tokenize(E.code,E.grammar),a.hooks.run("after-tokenize",E),l.stringify(a.util.encode(E.tokens),E.language)},tokenize:function(p,m){var b=m.rest;if(b){for(var E in b)m[E]=b[E];delete m.rest}var _=new g;return v(_,_.head,p),u(p,_,m,_.head,0),M(_)},hooks:{all:{},add:function(p,m){var b=a.hooks.all;b[p]=b[p]||[],b[p].push(m)},run:function(p,m){var b=a.hooks.all[p];if(!(!b||!b.length))for(var E=0,_;_=b[E++];)_(m)}},Token:l};s.Prism=a;function l(p,m,b,E){this.type=p,this.content=m,this.alias=b,this.length=(E||"").length|0}l.stringify=function p(m,b){if(typeof m=="string")return m;if(Array.isArray(m)){var E="";return m.forEach(function(B){E+=p(B,b)}),E}var _={type:m.type,content:p(m.content,b),tag:"span",classes:["token",m.type],attributes:{},language:b},C=m.alias;C&&(Array.isArray(C)?Array.prototype.push.apply(_.classes,C):_.classes.push(C)),a.hooks.run("wrap",_);var x="";for(var L in _.attributes)x+=" "+L+'="'+(_.attributes[L]||"").replace(/"/g,""")+'"';return"<"+_.tag+' class="'+_.classes.join(" ")+'"'+x+">"+_.content+""};function c(p,m,b,E){p.lastIndex=m;var _=p.exec(b);if(_&&E&&_[1]){var C=_[1].length;_.index+=C,_[0]=_[0].slice(C)}return _}function u(p,m,b,E,_,C){for(var x in b)if(!(!b.hasOwnProperty(x)||!b[x])){var L=b[x];L=Array.isArray(L)?L:[L];for(var B=0;B=C.reach);w+=f.value.length,f=f.next){var T=f.value;if(m.length>p.length)return;if(!(T instanceof l)){var R=1,F;if(ee){if(F=c(d,w,p,j),!F||F.index>=p.length)break;var q=F.index,U=F.index+F[0].length,Y=w;for(Y+=f.value.length;q>=Y;)f=f.next,Y+=f.value.length;if(Y-=f.value.length,w=Y,f.value instanceof l)continue;for(var Z=f;Z!==m.tail&&(YC.reach&&(C.reach=Ue);var Ne=f.prev;J&&(Ne=v(m,Ne,J),w+=J.length),A(m,Ne,R);var Ws=new l(x,V?a.tokenize(X,V):X,fe,X);if(f=v(m,Ne,Ws),ge&&v(m,f,ge),R>1){var ut={cause:x+","+B,reach:Ue};u(p,m,b,f.prev,w,ut),C&&ut.reach>C.reach&&(C.reach=ut.reach)}}}}}}function g(){var p={value:null,prev:null,next:null},m={value:null,prev:p,next:null};p.next=m,this.head=p,this.tail=m,this.length=0}function v(p,m,b){var E=m.next,_={value:b,prev:m,next:E};return m.next=_,E.prev=_,p.length++,_}function A(p,m,b){for(var E=m.next,_=0;_/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var s={};s["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[t]},s.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:s}};n["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",i)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(r,e){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[e,"language-"+e],inside:Prism.languages[e]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.languages.xml;(function(r){function e(t,s){return"___"+t.toUpperCase()+s+"___"}Object.defineProperties(r.languages["markup-templating"]={},{buildPlaceholders:{value:function(t,s,n,i){if(t.language===s){var o=t.tokenStack=[];t.code=t.code.replace(n,function(a){if(typeof i=="function"&&!i(a))return a;for(var l=o.length,c;t.code.indexOf(c=e(s,l))!==-1;)++l;return o[l]=a,c}),t.grammar=r.languages.markup}}},tokenizePlaceholders:{value:function(t,s){if(t.language!==s||!t.tokenStack)return;t.grammar=r.languages[s];var n=0,i=Object.keys(t.tokenStack);function o(a){for(var l=0;l=i.length);l++){var c=a[l];if(typeof c=="string"||c.content&&typeof c.content=="string"){var u=i[n],g=t.tokenStack[u],v=typeof c=="string"?c:c.content,A=e(s,u),M=v.indexOf(A);if(M>-1){++n;var O=v.substring(0,M),N=new r.Token(s,r.tokenize(g,t.grammar),"language-"+s,g),k=v.substring(M+A.length),p=[];O&&p.push.apply(p,o([O])),p.push(N),k&&p.push.apply(p,o([k])),typeof c=="string"?a.splice.apply(a,[l,1].concat(p)):c.content=p}}else c.content&&o(c.content)}return a}o(t.tokens)}}})})(Prism);(function(r){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,t=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],s=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,n=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:t,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:s,operator:n,punctuation:i};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},a=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];r.languages.insertBefore("php","variable",{string:a,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:a,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:t,number:s,operator:n,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(l){if(/<\?/.test(l.code)){var c=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(l,"php",c)}}),r.hooks.add("after-tokenize",function(l){r.languages["markup-templating"].tokenizePlaceholders(l,"php")})})(Prism);Prism.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}});Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(r){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",t={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:t,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};r.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:t}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},t.inside=r.languages.bash;for(var n=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=s.variable[1].inside,o=0;o|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+t.source+"(?:[ ]+"+e.source+")?|"+e.source+"(?:[ ]+"+t.source+")?)",n=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(a,l){l=(l||"").replace(/m/g,"")+"m";var c=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return a});return RegExp(c,l)}r.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+n+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:t,important:e,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},r.languages.yml=r.languages.yaml})(Prism);(function(r){var e=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;r.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:e}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:e}},punctuation:/[{};]/}})(Prism);(function(r){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var t=r.languages.markup;t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))})(Prism);(function(r){r.languages.sass=r.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),r.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete r.languages.sass.atrule;var e=/\$[-\w]+|#\{\$[-\w]+\}/,t=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];r.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:e,operator:t}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:e,operator:t,important:r.languages.sass.important}}}),delete r.languages.sass.property,delete r.languages.sass.important,r.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(Prism);Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]});Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}});Prism.languages.scss.atrule.inside.rest=Prism.languages.scss;Prism.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/};(function(r){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function t(u){return u=u.replace(//g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+u+")")}var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,n=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;r.languages.markdown=r.languages.extend("markup",{}),r.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:r.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+n+i+"(?:"+n+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+n+i+")(?:"+n+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:r.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+n+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+n+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:r.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:t(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:t(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:t(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:t(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(u){["url","bold","italic","strike","code-snippet"].forEach(function(g){u!==g&&(r.languages.markdown[u].inside.content.inside[g]=r.languages.markdown[g])})}),r.hooks.add("after-tokenize",function(u){if(u.language!=="markdown"&&u.language!=="md")return;function g(v){if(!(!v||typeof v=="string"))for(var A=0,M=v.length;A",quot:'"'},l=String.fromCodePoint||String.fromCharCode;function c(u){var g=u.replace(o,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(v,A){if(A=A.toLowerCase(),A[0]==="#"){var M;return A[1]==="x"?M=parseInt(A.slice(2),16):M=Number(A.slice(1)),l(M)}else{var O=a[A];return O||v}}),g}r.languages.md=r.languages.markdown})(Prism);(function(){typeof Prism>"u"||typeof document>"u"||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Prism.plugins.UnescapedMarkup=!0,Prism.hooks.add("before-highlightall",function(r){r.selector+=', [class*="lang-"] script[type="text/plain"], [class*="language-"] script[type="text/plain"], script[type="text/plain"][class*="lang-"], script[type="text/plain"][class*="language-"]'}),Prism.hooks.add("before-sanity-check",function(r){var e=r.element;if(e.matches('script[type="text/plain"]')){var t=document.createElement("code"),s=document.createElement("pre");s.className=t.className=e.className;var n=e.dataset;Object.keys(n||{}).forEach(function(o){Object.prototype.hasOwnProperty.call(n,o)&&(s.dataset[o]=n[o])}),t.textContent=r.code=r.code.replace(/<\/script(?:>|>)/gi,"<\/script>"),s.appendChild(t),e.parentNode.replaceChild(s,e),r.element=t;return}if(!r.code){var i=e.childNodes;i.length===1&&i[0].nodeName=="#comment"&&(e.textContent=r.code=i[0].textContent)}}))})();(function(){if(typeof Prism>"u"||typeof document>"u")return;var r="line-numbers",e=/\n(?!$)/g,t=Prism.plugins.lineNumbers={getLine:function(o,a){if(!(o.tagName!=="PRE"||!o.classList.contains(r))){var l=o.querySelector(".line-numbers-rows");if(l){var c=parseInt(o.getAttribute("data-start"),10)||1,u=c+(l.children.length-1);au&&(a=u);var g=a-c;return l.children[g]}}},resize:function(o){s([o])},assumeViewportIndependence:!0};function s(o){if(o=o.filter(function(l){var c=n(l),u=c["white-space"];return u==="pre-wrap"||u==="pre-line"}),o.length!=0){var a=o.map(function(l){var c=l.querySelector("code"),u=l.querySelector(".line-numbers-rows");if(!(!c||!u)){var g=l.querySelector(".line-numbers-sizer"),v=c.textContent.split(e);g||(g=document.createElement("span"),g.className="line-numbers-sizer",c.appendChild(g)),g.innerHTML="0",g.style.display="block";var A=g.getBoundingClientRect().height;return g.innerHTML="",{element:l,lines:v,lineHeights:[],oneLinerHeight:A,sizer:g}}}).filter(Boolean);a.forEach(function(l){var c=l.sizer,u=l.lines,g=l.lineHeights,v=l.oneLinerHeight;g[u.length-1]=void 0,u.forEach(function(A,M){if(A&&A.length>1){var O=c.appendChild(document.createElement("span"));O.style.display="block",O.textContent=A}else g[M]=v})}),a.forEach(function(l){for(var c=l.sizer,u=l.lineHeights,g=0,v=0;v");g=document.createElement("span"),g.setAttribute("aria-hidden","true"),g.className="line-numbers-rows",g.innerHTML=v,l.hasAttribute("data-start")&&(l.style.counterReset="linenumber "+(parseInt(l.getAttribute("data-start"),10)-1)),o.element.appendChild(g),s([l]),Prism.hooks.run("line-numbers",o)}}}),Prism.hooks.add("line-numbers",function(o){o.plugins=o.plugins||{},o.plugins.lineNumbers=!0})})();class Ro extends W{connect(){Et.manual=!1,[...this.element.querySelectorAll("pre code")].forEach(e=>{e.getAttribute("class")===null&&e.setAttribute("class","language-php"),Et.highlightElement(e)})}paste(){const e=this.editableTarget.innerText;let t=Et.highlight(e,Et.languages.php,"php");this.changeContent(this.editableTarget,''+t+""),this.outputTarget.value=e}keydownPaste(e){e.key==="Enter"&&setTimeout(()=>{const t=this.getCursorPosition(this.editableTarget);this.setCursorPosition(this.editableTarget,t+1)},10)}changeContent(e,t){const s=this.getCursorPosition(e);e.innerHTML=t,this.setCursorPosition(e,s)}getCursorPosition(e){let t=0;const s=window.getSelection();if(s.rangeCount>0){let n=s.getRangeAt(0);const i=document.createRange();i.selectNodeContents(e),i.setEnd(n.startContainer,n.startOffset),t=i.toString().length,i.detach()}return t}setCursorPosition(e,t){const s=window.getSelection();e.focus();const n=document.createRange();n.selectNodeContents(e);const i=this.getTextNodesIn(e);let o=!1;for(let a=0;a{let t=document.querySelector(this.element.dataset.to);return e.preventDefault(),t!==null?t.scrollIntoView({behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"}),!1})}}const wu=Object.freeze(Object.defineProperty({__proto__:null,default:Su},Symbol.toStringTag,{value:"Module"}));class Io extends W{initialize(){this.intersectionObserver=new IntersectionObserver(e=>this.processIntersectionEntries(e))}connect(){this.intersectionObserver.observe(this.element)}disconnect(){this.intersectionObserver.unobserve(this.element)}processIntersectionEntries(e){e.forEach(t=>{this.textTarget.focus()})}search(){clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.textTarget.form.requestSubmit()},340)}}y(Io,"targets",["text"]);const Au=Object.freeze(Object.defineProperty({__proto__:null,default:Io},Symbol.toStringTag,{value:"Module"}));class ko extends W{dialog(e){e.preventDefault();try{navigator.share({title:this.titleValue,url:this.urlValue}).then(()=>{console.log("Thanks for sharing!")}).catch(()=>{navigator.clipboard.writeText(this.urlValue),console.error("Error sharing!")})}catch(t){console.error("Error sharing!"),console.warn(t),navigator.clipboard.writeText(this.urlValue)}return!1}}y(ko,"values",{title:{type:String,default:document.title},url:{type:String,default:window.location.origin}});const Tu=Object.freeze(Object.defineProperty({__proto__:null,default:ko},Symbol.toStringTag,{value:"Module"}));class Mo extends W{connect(){this.toggleButtons()}toggle(){this.toggleButtons(),document.querySelectorAll("audio").forEach(t=>{t.muted=!t.muted})}toggleButtons(){this.muteButtonTarget.classList.toggle("d-none",this.isMuted),this.unmuteButtonTarget.classList.toggle("d-none",!this.isMuted)}get isMuted(){const e=document.querySelector("audio");return e&&e.muted}}y(Mo,"targets",["muteButton","unmuteButton"]);const Ou=Object.freeze(Object.defineProperty({__proto__:null,default:Mo},Symbol.toStringTag,{value:"Module"}));class xr extends W{connect(){this.anchor&&(this.indexValue=this.tabTargets.findIndex(e=>e.id===this.anchor)),this.showTab()}change(e){e.currentTarget.tagName==="SELECT"?this.indexValue=e.currentTarget.selectedIndex:e.currentTarget.dataset.index?this.indexValue=e.currentTarget.dataset.index:e.currentTarget.dataset.id?this.indexValue=this.tabTargets.findIndex(t=>t.id==e.currentTarget.dataset.id):this.indexValue=this.tabTargets.indexOf(e.currentTarget),window.dispatchEvent(new CustomEvent("tsc:tab-change"))}nextTab(){this.indexValue=Math.min(this.indexValue+1,this.tabsCount-1)}previousTab(){this.indexValue=Math.max(this.indexValue-1,0)}firstTab(){this.indexValue=0}lastTab(){this.indexValue=this.tabsCount-1}indexValueChanged(){this.showTab(),this.updateAnchorValue&&(location.hash=this.tabTargets[this.indexValue].id)}showTab(){this.panelTargets.forEach((e,t)=>{var n,i,o,a;const s=this.tabTargets[t];t===this.indexValue?(e.classList.remove("d-none"),this.hasInactiveTabClass&&((n=s==null?void 0:s.classList)==null||n.remove(...this.inactiveTabClasses)),this.hasActiveTabClass&&((i=s==null?void 0:s.classList)==null||i.add(...this.activeTabClasses))):(e.classList.add("d-none"),this.hasActiveTabClass&&((o=s==null?void 0:s.classList)==null||o.remove(...this.activeTabClasses)),this.hasInactiveTabClass&&((a=s==null?void 0:s.classList)==null||a.add(...this.inactiveTabClasses)))}),this.hasSelectTarget&&(this.selectTarget.selectedIndex=this.indexValue)}get tabsCount(){return this.tabTargets.length}get anchor(){return document.URL.split("#").length>1?document.URL.split("#")[1]:null}}y(xr,"classes",["activeTab","inactiveTab"]),y(xr,"targets",["tab","panel","select"]),y(xr,"values",{index:0,updateAnchor:Boolean});const Cu=Object.freeze(Object.defineProperty({__proto__:null,default:xr},Symbol.toStringTag,{value:"Module"}));var ks={},Lu=/[|\\{}()[\]^$+*?.]/g,Nu=function(r){if(typeof r!="string")throw new TypeError("Expected a string");return r.replace(Lu,"\\$&")},Nn={};Object.defineProperty(Nn,"__esModule",{value:!0});var Ru={bold:{prefix:"**",suffix:"**"},italic:{prefix:"_",suffix:"_"},strikethrough:{prefix:"~~",suffix:"~~"},link:{prefix:{value:"[",pattern:"\\[",antipattern:"\\!\\["},suffix:{value:function(e,t,s){return"]("+s+")"},pattern:"\\]\\([^()]*?\\)"}},image:{prefix:"![",suffix:{value:function(e,t,s){return"]("+s+")"},pattern:"\\]\\([^()]*?\\)"}},header1:{prefix:{value:"# ",pattern:"# ",antipattern:"[#]{2,} "}},header2:{prefix:{value:"## ",pattern:"## ",antipattern:"[#]{3,} "}},header3:{prefix:{value:"### ",pattern:"### ",antipattern:"[#]{4,} "}},header4:{prefix:{value:"#### ",pattern:"#### ",antipattern:"[#]{5,} "}},header5:{prefix:{value:"##### ",pattern:"##### ",antipattern:"[#]{6,} "}},header6:{prefix:{value:"###### ",pattern:"###### ",antipattern:"[#]{7,} "}},code:{block:!0,prefix:"```\n",suffix:"\n```"},orderedList:{block:!0,multiline:!0,prefix:{value:function(e,t){return t+". "},pattern:"[0-9]+\\. "}},unorderedList:{block:!0,multiline:!0,prefix:"- "},taskList:{block:!0,multiline:!0,prefix:{value:"- [ ] ",pattern:"- \\[[x ]{1}\\] "}},blockquote:{block:!0,multiline:!0,prefix:"> "}};Nn.default=Ru;Object.defineProperty(ks,"__esModule",{value:!0});ks.Formats=void 0;var Po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ar=function(){function r(e,t){var s=[],n=!0,i=!1,o=void 0;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done)&&(s.push(l.value),!(t&&s.length===t));n=!0);}catch(c){i=!0,o=c}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return s}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Iu=function(){function r(e,t){for(var s=0;s"u"?"undefined":Po(t))=="object")return wi(t);if(!pn.default.hasOwnProperty(t))throw new Error("Invalid format "+t);return wi(pn.default[t])}},{key:"toggle",value:function(t){if(this.hasFormat(t))return this.unformat(t);for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i1?s-1:0),i=1;i0&&arguments[0]!==void 0?arguments[0]:"";return(typeof r>"u"?"undefined":Po(r))=="object"?r:{value:r,pattern:(0,ku.default)(r)}}function Ti(r){for(var e=arguments.length,t=Array(e>1?e-1:0),s=1;s"u"?((i=function(o){return o}).destroy=function(o){return o},i.update=function(o){return o}):((i=function(o,a){return o&&Array.prototype.forEach.call(o.length?o:[o],function(l){return function(c){if(c&&c.nodeName&&c.nodeName==="TEXTAREA"&&!t.has(c)){var u,g=null,v=window.getComputedStyle(c),A=(u=c.value,function(){O({testForHeightReduction:u===""||!c.value.startsWith(u),restoreTextAlign:null}),u=c.value}),M=(function(k){c.removeEventListener("autosize:destroy",M),c.removeEventListener("autosize:update",N),c.removeEventListener("input",A),window.removeEventListener("resize",N),Object.keys(k).forEach(function(p){return c.style[p]=k[p]}),t.delete(c)}).bind(c,{height:c.style.height,resize:c.style.resize,textAlign:c.style.textAlign,overflowY:c.style.overflowY,overflowX:c.style.overflowX,wordWrap:c.style.wordWrap});c.addEventListener("autosize:destroy",M),c.addEventListener("autosize:update",N),c.addEventListener("input",A),window.addEventListener("resize",N),c.style.overflowX="hidden",c.style.wordWrap="break-word",t.set(c,{destroy:M,update:N}),N()}function O(k){var p,m,b=k.restoreTextAlign,E=b===void 0?null:b,_=k.testForHeightReduction,C=_===void 0||_,x=v.overflowY;if(c.scrollHeight!==0&&(v.resize==="vertical"?c.style.resize="none":v.resize==="both"&&(c.style.resize="horizontal"),C&&(p=function(B){for(var H=[];B&&B.parentNode&&B.parentNode instanceof Element;)B.parentNode.scrollTop&&H.push([B.parentNode,B.parentNode.scrollTop]),B=B.parentNode;return function(){return H.forEach(function(V){var j=V[0],ee=V[1];j.style.scrollBehavior="auto",j.scrollTop=ee,j.style.scrollBehavior=null})}}(c),c.style.height=""),m=v.boxSizing==="content-box"?c.scrollHeight-(parseFloat(v.paddingTop)+parseFloat(v.paddingBottom)):c.scrollHeight+parseFloat(v.borderTopWidth)+parseFloat(v.borderBottomWidth),v.maxHeight!=="none"&&m>parseFloat(v.maxHeight)?(v.overflowY==="hidden"&&(c.style.overflow="scroll"),m=parseFloat(v.maxHeight)):v.overflowY!=="hidden"&&(c.style.overflow="hidden"),c.style.height=m+"px",E&&(c.style.textAlign=E),p&&p(),g!==m&&(c.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),g=m),x!==v.overflow&&!E)){var L=v.textAlign;v.overflow==="hidden"&&(c.style.textAlign=L==="start"?"end":"start"),O({restoreTextAlign:L,testForHeightReduction:!0})}}function N(){O({testForHeightReduction:!0,restoreTextAlign:null})}}(l)}),o}).destroy=function(o){return o&&Array.prototype.forEach.call(o.length?o:[o],s),o},i.update=function(o){return o&&Array.prototype.forEach.call(o.length?o:[o],n),o}),i})})(xo);var $u=xo.exports;const Bu=Lo($u);class Fo extends W{inputTargetConnected(e){Bu(e),this.editor=new xu(e),this.drawVisualizer(e.value)}drawVisualizer(e){document.getElementById("visualizer").textContent=e,document.getElementById("visualizer").innerHTML=Et.highlight(document.getElementById("visualizer").innerText,Et.languages.markdown,"markdown")}onInput(e){this.drawVisualizer(e.target.value)}format(e){if(e.preventDefault(),!!this.editor){if(Array.isArray(e.params.format))return this.editor.toggle(...e.params.format);this.editor.toggle(e.params.format)}}chooseFiles(){const e=document.createElement("input");e.type="file",e.multiple=!0,e.hidden=!0,document.body.appendChild(e),e.addEventListener("change",()=>{e.files&&Array.from(e.files).forEach(t=>this.uploadFile(t))}),e.click(),e.remove()}uploadFile(e){var l;const t=e.type.startsWith("image/")?"!":"",s=`${t}[Uploading ${e.name}]() +`)}function wi(r){var e=Object.assign({},r);return e.prefix=Ai(r.prefix),e.suffix=Ai(r.suffix),e}function Ai(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return(typeof r>"u"?"undefined":Po(r))=="object"?r:{value:r,pattern:(0,Mu.default)(r)}}function Ti(r){for(var e=arguments.length,t=Array(e>1?e-1:0),s=1;s"u"?((i=function(o){return o}).destroy=function(o){return o},i.update=function(o){return o}):((i=function(o,a){return o&&Array.prototype.forEach.call(o.length?o:[o],function(l){return function(c){if(c&&c.nodeName&&c.nodeName==="TEXTAREA"&&!t.has(c)){var u,g=null,v=window.getComputedStyle(c),A=(u=c.value,function(){O({testForHeightReduction:u===""||!c.value.startsWith(u),restoreTextAlign:null}),u=c.value}),M=(function(k){c.removeEventListener("autosize:destroy",M),c.removeEventListener("autosize:update",N),c.removeEventListener("input",A),window.removeEventListener("resize",N),Object.keys(k).forEach(function(p){return c.style[p]=k[p]}),t.delete(c)}).bind(c,{height:c.style.height,resize:c.style.resize,textAlign:c.style.textAlign,overflowY:c.style.overflowY,overflowX:c.style.overflowX,wordWrap:c.style.wordWrap});c.addEventListener("autosize:destroy",M),c.addEventListener("autosize:update",N),c.addEventListener("input",A),window.addEventListener("resize",N),c.style.overflowX="hidden",c.style.wordWrap="break-word",t.set(c,{destroy:M,update:N}),N()}function O(k){var p,m,b=k.restoreTextAlign,E=b===void 0?null:b,_=k.testForHeightReduction,C=_===void 0||_,x=v.overflowY;if(c.scrollHeight!==0&&(v.resize==="vertical"?c.style.resize="none":v.resize==="both"&&(c.style.resize="horizontal"),C&&(p=function(B){for(var H=[];B&&B.parentNode&&B.parentNode instanceof Element;)B.parentNode.scrollTop&&H.push([B.parentNode,B.parentNode.scrollTop]),B=B.parentNode;return function(){return H.forEach(function(V){var j=V[0],ee=V[1];j.style.scrollBehavior="auto",j.scrollTop=ee,j.style.scrollBehavior=null})}}(c),c.style.height=""),m=v.boxSizing==="content-box"?c.scrollHeight-(parseFloat(v.paddingTop)+parseFloat(v.paddingBottom)):c.scrollHeight+parseFloat(v.borderTopWidth)+parseFloat(v.borderBottomWidth),v.maxHeight!=="none"&&m>parseFloat(v.maxHeight)?(v.overflowY==="hidden"&&(c.style.overflow="scroll"),m=parseFloat(v.maxHeight)):v.overflowY!=="hidden"&&(c.style.overflow="hidden"),c.style.height=m+"px",E&&(c.style.textAlign=E),p&&p(),g!==m&&(c.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),g=m),x!==v.overflow&&!E)){var L=v.textAlign;v.overflow==="hidden"&&(c.style.textAlign=L==="start"?"end":"start"),O({restoreTextAlign:L,testForHeightReduction:!0})}}function N(){O({testForHeightReduction:!0,restoreTextAlign:null})}}(l)}),o}).destroy=function(o){return o&&Array.prototype.forEach.call(o.length?o:[o],s),o},i.update=function(o){return o&&Array.prototype.forEach.call(o.length?o:[o],n),o}),i})})(xo);var Bu=xo.exports;const Hu=Lo(Bu);class Fo extends W{inputTargetConnected(e){Hu(e),this.editor=new Fu(e),this.drawVisualizer(e.value)}drawVisualizer(e){document.getElementById("visualizer").textContent=e,document.getElementById("visualizer").innerHTML=Et.highlight(document.getElementById("visualizer").innerText,Et.languages.markdown,"markdown")}onInput(e){this.drawVisualizer(e.target.value)}format(e){if(e.preventDefault(),!!this.editor){if(Array.isArray(e.params.format))return this.editor.toggle(...e.params.format);this.editor.toggle(e.params.format)}}chooseFiles(){const e=document.createElement("input");e.type="file",e.multiple=!0,e.hidden=!0,document.body.appendChild(e),e.addEventListener("change",()=>{e.files&&Array.from(e.files).forEach(t=>this.uploadFile(t))}),e.click(),e.remove()}uploadFile(e){var l;const t=e.type.startsWith("image/")?"!":"",s=`${t}[Uploading ${e.name}]() `;let n="";(l=this.editor)==null||l.insert(s);try{n=`${t}[${e.name}](https:://example.com) -`}catch{alert("Загрузка файла не удалась")}const i=this.inputTarget.value.indexOf(s);if(i===-1||!this.editor)return;const o=n.length-s.length,a=this.editor.range();this.editor.range([i,i+s.length]).insert(n).range([a[0]+o,a[1]+o])}}y(Fo,"targets",["input"]);const Hu=Object.freeze(Object.defineProperty({__proto__:null,default:Fo},Symbol.toStringTag,{value:"Module"}));class $o extends W{initialize(){this.setThemeBody(this.getThemeValue()),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>this.toggleTheme())}toggleTheme(){var t;let e=(t=this.preferredTargets.find(s=>s.checked))==null?void 0:t.value;e!==void 0&&(this.setThemeStorage(e),this.setThemeBody(e))}getThemeValue(){const e=localStorage.getItem("theme");return e===null?"auto":e}getTheme(e){return["dark","light"].includes(e)?e:this.getPreferredTheme()}setThemeStorage(e){localStorage.setItem("theme",e)}setThemeBody(e){var t;document.documentElement.setAttribute("data-bs-theme",this.getTheme(e)),(t=this.preferredTargets.find(s=>s.value===e))==null||t.setAttribute("checked",!0)}getPreferredTheme(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}y($o,"targets",["preferred"]);const Vu=Object.freeze(Object.defineProperty({__proto__:null,default:$o},Symbol.toStringTag,{value:"Module"}));var te="top",ie="bottom",oe="right",re="left",Ms="auto",Ht=[te,ie,oe,re],st="start",Mt="end",Bo="clippingParents",Rn="viewport",pt="popper",Ho="reference",mn=Ht.reduce(function(r,e){return r.concat([e+"-"+st,e+"-"+Mt])},[]),In=[].concat(Ht,[Ms]).reduce(function(r,e){return r.concat([e,e+"-"+st,e+"-"+Mt])},[]),Vo="beforeRead",qo="read",jo="afterRead",Wo="beforeMain",Uo="main",zo="afterMain",Ko="beforeWrite",Yo="write",Go="afterWrite",Xo=[Vo,qo,jo,Wo,Uo,zo,Ko,Yo,Go];function ye(r){return r?(r.nodeName||"").toLowerCase():null}function ae(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var e=r.ownerDocument;return e&&e.defaultView||window}return r}function nt(r){var e=ae(r).Element;return r instanceof e||r instanceof Element}function le(r){var e=ae(r).HTMLElement;return r instanceof e||r instanceof HTMLElement}function kn(r){if(typeof ShadowRoot>"u")return!1;var e=ae(r).ShadowRoot;return r instanceof e||r instanceof ShadowRoot}function qu(r){var e=r.state;Object.keys(e.elements).forEach(function(t){var s=e.styles[t]||{},n=e.attributes[t]||{},i=e.elements[t];!le(i)||!ye(i)||(Object.assign(i.style,s),Object.keys(n).forEach(function(o){var a=n[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function ju(r){var e=r.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(s){var n=e.elements[s],i=e.attributes[s]||{},o=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:t[s]),a=o.reduce(function(l,c){return l[c]="",l},{});!le(n)||!ye(n)||(Object.assign(n.style,a),Object.keys(i).forEach(function(l){n.removeAttribute(l)}))})}}const Mn={name:"applyStyles",enabled:!0,phase:"write",fn:qu,effect:ju,requires:["computeStyles"]};function ve(r){return r.split("-")[0]}var et=Math.max,Kr=Math.min,Pt=Math.round;function gn(){var r=navigator.userAgentData;return r!=null&&r.brands&&Array.isArray(r.brands)?r.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Qo(){return!/^((?!chrome|android).)*safari/i.test(gn())}function Dt(r,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var s=r.getBoundingClientRect(),n=1,i=1;e&&le(r)&&(n=r.offsetWidth>0&&Pt(s.width)/r.offsetWidth||1,i=r.offsetHeight>0&&Pt(s.height)/r.offsetHeight||1);var o=nt(r)?ae(r):window,a=o.visualViewport,l=!Qo()&&t,c=(s.left+(l&&a?a.offsetLeft:0))/n,u=(s.top+(l&&a?a.offsetTop:0))/i,g=s.width/n,v=s.height/i;return{width:g,height:v,top:u,right:c+g,bottom:u+v,left:c,x:c,y:u}}function Pn(r){var e=Dt(r),t=r.offsetWidth,s=r.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:r.offsetLeft,y:r.offsetTop,width:t,height:s}}function Zo(r,e){var t=e.getRootNode&&e.getRootNode();if(r.contains(e))return!0;if(t&&kn(t)){var s=e;do{if(s&&r.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Ce(r){return ae(r).getComputedStyle(r)}function Wu(r){return["table","td","th"].indexOf(ye(r))>=0}function qe(r){return((nt(r)?r.ownerDocument:r.document)||window.document).documentElement}function Ps(r){return ye(r)==="html"?r:r.assignedSlot||r.parentNode||(kn(r)?r.host:null)||qe(r)}function Oi(r){return!le(r)||Ce(r).position==="fixed"?null:r.offsetParent}function Uu(r){var e=/firefox/i.test(gn()),t=/Trident/i.test(gn());if(t&&le(r)){var s=Ce(r);if(s.position==="fixed")return null}var n=Ps(r);for(kn(n)&&(n=n.host);le(n)&&["html","body"].indexOf(ye(n))<0;){var i=Ce(n);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return n;n=n.parentNode}return null}function mr(r){for(var e=ae(r),t=Oi(r);t&&Wu(t)&&Ce(t).position==="static";)t=Oi(t);return t&&(ye(t)==="html"||ye(t)==="body"&&Ce(t).position==="static")?e:t||Uu(r)||e}function Dn(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function Kt(r,e,t){return et(r,Kr(e,t))}function zu(r,e,t){var s=Kt(r,e,t);return s>t?t:s}function Jo(){return{top:0,right:0,bottom:0,left:0}}function ea(r){return Object.assign({},Jo(),r)}function ta(r,e){return e.reduce(function(t,s){return t[s]=r,t},{})}var Ku=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,ea(typeof e!="number"?e:ta(e,Ht))};function Yu(r){var e,t=r.state,s=r.name,n=r.options,i=t.elements.arrow,o=t.modifiersData.popperOffsets,a=ve(t.placement),l=Dn(a),c=[re,oe].indexOf(a)>=0,u=c?"height":"width";if(!(!i||!o)){var g=Ku(n.padding,t),v=Pn(i),A=l==="y"?te:re,M=l==="y"?ie:oe,O=t.rects.reference[u]+t.rects.reference[l]-o[l]-t.rects.popper[u],N=o[l]-t.rects.reference[l],k=mr(i),p=k?l==="y"?k.clientHeight||0:k.clientWidth||0:0,m=O/2-N/2,b=g[A],E=p-v[u]-g[M],_=p/2-v[u]/2+m,C=Kt(b,_,E),x=l;t.modifiersData[s]=(e={},e[x]=C,e.centerOffset=C-_,e)}}function Gu(r){var e=r.state,t=r.options,s=t.element,n=s===void 0?"[data-popper-arrow]":s;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||Zo(e.elements.popper,n)&&(e.elements.arrow=n))}const ra={name:"arrow",enabled:!0,phase:"main",fn:Yu,effect:Gu,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xt(r){return r.split("-")[1]}var Xu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qu(r,e){var t=r.x,s=r.y,n=e.devicePixelRatio||1;return{x:Pt(t*n)/n||0,y:Pt(s*n)/n||0}}function Ci(r){var e,t=r.popper,s=r.popperRect,n=r.placement,i=r.variation,o=r.offsets,a=r.position,l=r.gpuAcceleration,c=r.adaptive,u=r.roundOffsets,g=r.isFixed,v=o.x,A=v===void 0?0:v,M=o.y,O=M===void 0?0:M,N=typeof u=="function"?u({x:A,y:O}):{x:A,y:O};A=N.x,O=N.y;var k=o.hasOwnProperty("x"),p=o.hasOwnProperty("y"),m=re,b=te,E=window;if(c){var _=mr(t),C="clientHeight",x="clientWidth";if(_===ae(t)&&(_=qe(t),Ce(_).position!=="static"&&a==="absolute"&&(C="scrollHeight",x="scrollWidth")),_=_,n===te||(n===re||n===oe)&&i===Mt){b=ie;var L=g&&_===E&&E.visualViewport?E.visualViewport.height:_[C];O-=L-s.height,O*=l?1:-1}if(n===re||(n===te||n===ie)&&i===Mt){m=oe;var B=g&&_===E&&E.visualViewport?E.visualViewport.width:_[x];A-=B-s.width,A*=l?1:-1}}var H=Object.assign({position:a},c&&Xu),V=u===!0?Qu({x:A,y:O},ae(t)):{x:A,y:O};if(A=V.x,O=V.y,l){var j;return Object.assign({},H,(j={},j[b]=p?"0":"",j[m]=k?"0":"",j.transform=(E.devicePixelRatio||1)<=1?"translate("+A+"px, "+O+"px)":"translate3d("+A+"px, "+O+"px, 0)",j))}return Object.assign({},H,(e={},e[b]=p?O+"px":"",e[m]=k?A+"px":"",e.transform="",e))}function Zu(r){var e=r.state,t=r.options,s=t.gpuAcceleration,n=s===void 0?!0:s,i=t.adaptive,o=i===void 0?!0:i,a=t.roundOffsets,l=a===void 0?!0:a,c={placement:ve(e.placement),variation:xt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Ci(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ci(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const xn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zu,data:{}};var Cr={passive:!0};function Ju(r){var e=r.state,t=r.instance,s=r.options,n=s.scroll,i=n===void 0?!0:n,o=s.resize,a=o===void 0?!0:o,l=ae(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",t.update,Cr)}),a&&l.addEventListener("resize",t.update,Cr),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",t.update,Cr)}),a&&l.removeEventListener("resize",t.update,Cr)}}const Fn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ju,data:{}};var eh={left:"right",right:"left",bottom:"top",top:"bottom"};function Fr(r){return r.replace(/left|right|bottom|top/g,function(e){return eh[e]})}var th={start:"end",end:"start"};function Li(r){return r.replace(/start|end/g,function(e){return th[e]})}function $n(r){var e=ae(r),t=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:t,scrollTop:s}}function Bn(r){return Dt(qe(r)).left+$n(r).scrollLeft}function rh(r,e){var t=ae(r),s=qe(r),n=t.visualViewport,i=s.clientWidth,o=s.clientHeight,a=0,l=0;if(n){i=n.width,o=n.height;var c=Qo();(c||!c&&e==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:i,height:o,x:a+Bn(r),y:l}}function sh(r){var e,t=qe(r),s=$n(r),n=(e=r.ownerDocument)==null?void 0:e.body,i=et(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=et(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-s.scrollLeft+Bn(r),l=-s.scrollTop;return Ce(n||t).direction==="rtl"&&(a+=et(t.clientWidth,n?n.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function Hn(r){var e=Ce(r),t=e.overflow,s=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+n+s)}function sa(r){return["html","body","#document"].indexOf(ye(r))>=0?r.ownerDocument.body:le(r)&&Hn(r)?r:sa(Ps(r))}function Yt(r,e){var t;e===void 0&&(e=[]);var s=sa(r),n=s===((t=r.ownerDocument)==null?void 0:t.body),i=ae(s),o=n?[i].concat(i.visualViewport||[],Hn(s)?s:[]):s,a=e.concat(o);return n?a:a.concat(Yt(Ps(o)))}function bn(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function nh(r,e){var t=Dt(r,!1,e==="fixed");return t.top=t.top+r.clientTop,t.left=t.left+r.clientLeft,t.bottom=t.top+r.clientHeight,t.right=t.left+r.clientWidth,t.width=r.clientWidth,t.height=r.clientHeight,t.x=t.left,t.y=t.top,t}function Ni(r,e,t){return e===Rn?bn(rh(r,t)):nt(e)?nh(e,t):bn(sh(qe(r)))}function ih(r){var e=Yt(Ps(r)),t=["absolute","fixed"].indexOf(Ce(r).position)>=0,s=t&&le(r)?mr(r):r;return nt(s)?e.filter(function(n){return nt(n)&&Zo(n,s)&&ye(n)!=="body"}):[]}function oh(r,e,t,s){var n=e==="clippingParents"?ih(r):[].concat(e),i=[].concat(n,[t]),o=i[0],a=i.reduce(function(l,c){var u=Ni(r,c,s);return l.top=et(u.top,l.top),l.right=Kr(u.right,l.right),l.bottom=Kr(u.bottom,l.bottom),l.left=et(u.left,l.left),l},Ni(r,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function na(r){var e=r.reference,t=r.element,s=r.placement,n=s?ve(s):null,i=s?xt(s):null,o=e.x+e.width/2-t.width/2,a=e.y+e.height/2-t.height/2,l;switch(n){case te:l={x:o,y:e.y-t.height};break;case ie:l={x:o,y:e.y+e.height};break;case oe:l={x:e.x+e.width,y:a};break;case re:l={x:e.x-t.width,y:a};break;default:l={x:e.x,y:e.y}}var c=n?Dn(n):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case st:l[c]=l[c]-(e[u]/2-t[u]/2);break;case Mt:l[c]=l[c]+(e[u]/2-t[u]/2);break}}return l}function Ft(r,e){e===void 0&&(e={});var t=e,s=t.placement,n=s===void 0?r.placement:s,i=t.strategy,o=i===void 0?r.strategy:i,a=t.boundary,l=a===void 0?Bo:a,c=t.rootBoundary,u=c===void 0?Rn:c,g=t.elementContext,v=g===void 0?pt:g,A=t.altBoundary,M=A===void 0?!1:A,O=t.padding,N=O===void 0?0:O,k=ea(typeof N!="number"?N:ta(N,Ht)),p=v===pt?Ho:pt,m=r.rects.popper,b=r.elements[M?p:v],E=oh(nt(b)?b:b.contextElement||qe(r.elements.popper),l,u,o),_=Dt(r.elements.reference),C=na({reference:_,element:m,strategy:"absolute",placement:n}),x=bn(Object.assign({},m,C)),L=v===pt?x:_,B={top:E.top-L.top+k.top,bottom:L.bottom-E.bottom+k.bottom,left:E.left-L.left+k.left,right:L.right-E.right+k.right},H=r.modifiersData.offset;if(v===pt&&H){var V=H[n];Object.keys(B).forEach(function(j){var ee=[oe,ie].indexOf(j)>=0?1:-1,fe=[te,ie].indexOf(j)>=0?"y":"x";B[j]+=V[fe]*ee})}return B}function ah(r,e){e===void 0&&(e={});var t=e,s=t.placement,n=t.boundary,i=t.rootBoundary,o=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,c=l===void 0?In:l,u=xt(s),g=u?a?mn:mn.filter(function(M){return xt(M)===u}):Ht,v=g.filter(function(M){return c.indexOf(M)>=0});v.length===0&&(v=g);var A=v.reduce(function(M,O){return M[O]=Ft(r,{placement:O,boundary:n,rootBoundary:i,padding:o})[ve(O)],M},{});return Object.keys(A).sort(function(M,O){return A[M]-A[O]})}function lh(r){if(ve(r)===Ms)return[];var e=Fr(r);return[Li(r),e,Li(e)]}function ch(r){var e=r.state,t=r.options,s=r.name;if(!e.modifiersData[s]._skip){for(var n=t.mainAxis,i=n===void 0?!0:n,o=t.altAxis,a=o===void 0?!0:o,l=t.fallbackPlacements,c=t.padding,u=t.boundary,g=t.rootBoundary,v=t.altBoundary,A=t.flipVariations,M=A===void 0?!0:A,O=t.allowedAutoPlacements,N=e.options.placement,k=ve(N),p=k===N,m=l||(p||!M?[Fr(N)]:lh(N)),b=[N].concat(m).reduce(function(Y,Z){return Y.concat(ve(Z)===Ms?ah(e,{placement:Z,boundary:u,rootBoundary:g,padding:c,flipVariations:M,allowedAutoPlacements:O}):Z)},[]),E=e.rects.reference,_=e.rects.popper,C=new Map,x=!0,L=b[0],B=0;B=0,fe=ee?"width":"height",h=Ft(e,{placement:H,boundary:u,rootBoundary:g,altBoundary:v,padding:c}),d=ee?j?oe:re:j?ie:te;E[fe]>_[fe]&&(d=Fr(d));var f=Fr(d),w=[];if(i&&w.push(h[V]<=0),a&&w.push(h[d]<=0,h[f]<=0),w.every(function(Y){return Y})){L=H,x=!1;break}C.set(H,w)}if(x)for(var T=M?3:1,R=function(Z){var q=b.find(function(X){var J=C.get(X);if(J)return J.slice(0,Z).every(function(ge){return ge})});if(q)return L=q,"break"},F=T;F>0;F--){var U=R(F);if(U==="break")break}e.placement!==L&&(e.modifiersData[s]._skip=!0,e.placement=L,e.reset=!0)}}const ia={name:"flip",enabled:!0,phase:"main",fn:ch,requiresIfExists:["offset"],data:{_skip:!1}};function Ri(r,e,t){return t===void 0&&(t={x:0,y:0}),{top:r.top-e.height-t.y,right:r.right-e.width+t.x,bottom:r.bottom-e.height+t.y,left:r.left-e.width-t.x}}function Ii(r){return[te,oe,ie,re].some(function(e){return r[e]>=0})}function uh(r){var e=r.state,t=r.name,s=e.rects.reference,n=e.rects.popper,i=e.modifiersData.preventOverflow,o=Ft(e,{elementContext:"reference"}),a=Ft(e,{altBoundary:!0}),l=Ri(o,s),c=Ri(a,n,i),u=Ii(l),g=Ii(c);e.modifiersData[t]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:g},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":g})}const oa={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:uh};function hh(r,e,t){var s=ve(r),n=[re,te].indexOf(s)>=0?-1:1,i=typeof t=="function"?t(Object.assign({},e,{placement:r})):t,o=i[0],a=i[1];return o=o||0,a=(a||0)*n,[re,oe].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function dh(r){var e=r.state,t=r.options,s=r.name,n=t.offset,i=n===void 0?[0,0]:n,o=In.reduce(function(u,g){return u[g]=hh(g,e.rects,i),u},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=o}const aa={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:dh};function fh(r){var e=r.state,t=r.name;e.modifiersData[t]=na({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Vn={name:"popperOffsets",enabled:!0,phase:"read",fn:fh,data:{}};function ph(r){return r==="x"?"y":"x"}function mh(r){var e=r.state,t=r.options,s=r.name,n=t.mainAxis,i=n===void 0?!0:n,o=t.altAxis,a=o===void 0?!1:o,l=t.boundary,c=t.rootBoundary,u=t.altBoundary,g=t.padding,v=t.tether,A=v===void 0?!0:v,M=t.tetherOffset,O=M===void 0?0:M,N=Ft(e,{boundary:l,rootBoundary:c,padding:g,altBoundary:u}),k=ve(e.placement),p=xt(e.placement),m=!p,b=Dn(k),E=ph(b),_=e.modifiersData.popperOffsets,C=e.rects.reference,x=e.rects.popper,L=typeof O=="function"?O(Object.assign({},e.rects,{placement:e.placement})):O,B=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),H=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(_){if(i){var j,ee=b==="y"?te:re,fe=b==="y"?ie:oe,h=b==="y"?"height":"width",d=_[b],f=d+N[ee],w=d-N[fe],T=A?-x[h]/2:0,R=p===st?C[h]:x[h],F=p===st?-x[h]:-C[h],U=e.elements.arrow,Y=A&&U?Pn(U):{width:0,height:0},Z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Jo(),q=Z[ee],X=Z[fe],J=Kt(0,C[h],Y[h]),ge=m?C[h]/2-T-J-q-B.mainAxis:R-J-q-B.mainAxis,Ue=m?-C[h]/2+T+J+X+B.mainAxis:F+J+X+B.mainAxis,Ne=e.elements.arrow&&mr(e.elements.arrow),Ws=Ne?b==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,ut=(j=H==null?void 0:H[b])!=null?j:0,Hl=d+ge-ut-Ws,Vl=d+Ue-ut,ni=Kt(A?Kr(f,Hl):f,d,A?et(w,Vl):w);_[b]=ni,V[b]=ni-d}if(a){var ii,ql=b==="x"?te:re,jl=b==="x"?ie:oe,ze=_[E],Sr=E==="y"?"height":"width",oi=ze+N[ql],ai=ze-N[jl],Us=[te,re].indexOf(k)!==-1,li=(ii=H==null?void 0:H[E])!=null?ii:0,ci=Us?oi:ze-C[Sr]-x[Sr]-li+B.altAxis,ui=Us?ze+C[Sr]+x[Sr]-li-B.altAxis:ai,hi=A&&Us?zu(ci,ze,ui):Kt(A?ci:oi,ze,A?ui:ai);_[E]=hi,V[E]=hi-ze}e.modifiersData[s]=V}}const la={name:"preventOverflow",enabled:!0,phase:"main",fn:mh,requiresIfExists:["offset"]};function gh(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function bh(r){return r===ae(r)||!le(r)?$n(r):gh(r)}function vh(r){var e=r.getBoundingClientRect(),t=Pt(e.width)/r.offsetWidth||1,s=Pt(e.height)/r.offsetHeight||1;return t!==1||s!==1}function Eh(r,e,t){t===void 0&&(t=!1);var s=le(e),n=le(e)&&vh(e),i=qe(e),o=Dt(r,n,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!t)&&((ye(e)!=="body"||Hn(i))&&(a=bh(e)),le(e)?(l=Dt(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=Bn(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function yh(r){var e=new Map,t=new Set,s=[];r.forEach(function(i){e.set(i.name,i)});function n(i){t.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!t.has(a)){var l=e.get(a);l&&n(l)}}),s.push(i)}return r.forEach(function(i){t.has(i.name)||n(i)}),s}function _h(r){var e=yh(r);return Xo.reduce(function(t,s){return t.concat(e.filter(function(n){return n.phase===s}))},[])}function Sh(r){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(r())})})),e}}function wh(r){var e=r.reduce(function(t,s){var n=t[s.name];return t[s.name]=n?Object.assign({},n,s,{options:Object.assign({},n.options,s.options),data:Object.assign({},n.data,s.data)}):s,t},{});return Object.keys(e).map(function(t){return e[t]})}var ki={placement:"bottom",modifiers:[],strategy:"absolute"};function Mi(){for(var r=arguments.length,e=new Array(r),t=0;tthis.toggleTheme())}toggleTheme(){var t;let e=(t=this.preferredTargets.find(s=>s.checked))==null?void 0:t.value;e!==void 0&&(this.setThemeStorage(e),this.setThemeBody(e))}getThemeValue(){const e=localStorage.getItem("theme");return e===null?"auto":e}getTheme(e){return["dark","light"].includes(e)?e:this.getPreferredTheme()}setThemeStorage(e){localStorage.setItem("theme",e)}setThemeBody(e){var t;document.documentElement.setAttribute("data-bs-theme",this.getTheme(e)),(t=this.preferredTargets.find(s=>s.value===e))==null||t.setAttribute("checked",!0)}getPreferredTheme(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}y($o,"targets",["preferred"]);const qu=Object.freeze(Object.defineProperty({__proto__:null,default:$o},Symbol.toStringTag,{value:"Module"}));var te="top",ie="bottom",oe="right",re="left",Ms="auto",Ht=[te,ie,oe,re],st="start",Mt="end",Bo="clippingParents",Rn="viewport",pt="popper",Ho="reference",mn=Ht.reduce(function(r,e){return r.concat([e+"-"+st,e+"-"+Mt])},[]),In=[].concat(Ht,[Ms]).reduce(function(r,e){return r.concat([e,e+"-"+st,e+"-"+Mt])},[]),Vo="beforeRead",qo="read",jo="afterRead",Wo="beforeMain",Uo="main",zo="afterMain",Ko="beforeWrite",Yo="write",Go="afterWrite",Xo=[Vo,qo,jo,Wo,Uo,zo,Ko,Yo,Go];function ye(r){return r?(r.nodeName||"").toLowerCase():null}function ae(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var e=r.ownerDocument;return e&&e.defaultView||window}return r}function nt(r){var e=ae(r).Element;return r instanceof e||r instanceof Element}function le(r){var e=ae(r).HTMLElement;return r instanceof e||r instanceof HTMLElement}function kn(r){if(typeof ShadowRoot>"u")return!1;var e=ae(r).ShadowRoot;return r instanceof e||r instanceof ShadowRoot}function ju(r){var e=r.state;Object.keys(e.elements).forEach(function(t){var s=e.styles[t]||{},n=e.attributes[t]||{},i=e.elements[t];!le(i)||!ye(i)||(Object.assign(i.style,s),Object.keys(n).forEach(function(o){var a=n[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function Wu(r){var e=r.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(s){var n=e.elements[s],i=e.attributes[s]||{},o=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:t[s]),a=o.reduce(function(l,c){return l[c]="",l},{});!le(n)||!ye(n)||(Object.assign(n.style,a),Object.keys(i).forEach(function(l){n.removeAttribute(l)}))})}}const Mn={name:"applyStyles",enabled:!0,phase:"write",fn:ju,effect:Wu,requires:["computeStyles"]};function ve(r){return r.split("-")[0]}var et=Math.max,Kr=Math.min,Pt=Math.round;function gn(){var r=navigator.userAgentData;return r!=null&&r.brands&&Array.isArray(r.brands)?r.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Qo(){return!/^((?!chrome|android).)*safari/i.test(gn())}function Dt(r,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var s=r.getBoundingClientRect(),n=1,i=1;e&&le(r)&&(n=r.offsetWidth>0&&Pt(s.width)/r.offsetWidth||1,i=r.offsetHeight>0&&Pt(s.height)/r.offsetHeight||1);var o=nt(r)?ae(r):window,a=o.visualViewport,l=!Qo()&&t,c=(s.left+(l&&a?a.offsetLeft:0))/n,u=(s.top+(l&&a?a.offsetTop:0))/i,g=s.width/n,v=s.height/i;return{width:g,height:v,top:u,right:c+g,bottom:u+v,left:c,x:c,y:u}}function Pn(r){var e=Dt(r),t=r.offsetWidth,s=r.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:r.offsetLeft,y:r.offsetTop,width:t,height:s}}function Zo(r,e){var t=e.getRootNode&&e.getRootNode();if(r.contains(e))return!0;if(t&&kn(t)){var s=e;do{if(s&&r.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Ce(r){return ae(r).getComputedStyle(r)}function Uu(r){return["table","td","th"].indexOf(ye(r))>=0}function qe(r){return((nt(r)?r.ownerDocument:r.document)||window.document).documentElement}function Ps(r){return ye(r)==="html"?r:r.assignedSlot||r.parentNode||(kn(r)?r.host:null)||qe(r)}function Oi(r){return!le(r)||Ce(r).position==="fixed"?null:r.offsetParent}function zu(r){var e=/firefox/i.test(gn()),t=/Trident/i.test(gn());if(t&&le(r)){var s=Ce(r);if(s.position==="fixed")return null}var n=Ps(r);for(kn(n)&&(n=n.host);le(n)&&["html","body"].indexOf(ye(n))<0;){var i=Ce(n);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return n;n=n.parentNode}return null}function mr(r){for(var e=ae(r),t=Oi(r);t&&Uu(t)&&Ce(t).position==="static";)t=Oi(t);return t&&(ye(t)==="html"||ye(t)==="body"&&Ce(t).position==="static")?e:t||zu(r)||e}function Dn(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function Kt(r,e,t){return et(r,Kr(e,t))}function Ku(r,e,t){var s=Kt(r,e,t);return s>t?t:s}function Jo(){return{top:0,right:0,bottom:0,left:0}}function ea(r){return Object.assign({},Jo(),r)}function ta(r,e){return e.reduce(function(t,s){return t[s]=r,t},{})}var Yu=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,ea(typeof e!="number"?e:ta(e,Ht))};function Gu(r){var e,t=r.state,s=r.name,n=r.options,i=t.elements.arrow,o=t.modifiersData.popperOffsets,a=ve(t.placement),l=Dn(a),c=[re,oe].indexOf(a)>=0,u=c?"height":"width";if(!(!i||!o)){var g=Yu(n.padding,t),v=Pn(i),A=l==="y"?te:re,M=l==="y"?ie:oe,O=t.rects.reference[u]+t.rects.reference[l]-o[l]-t.rects.popper[u],N=o[l]-t.rects.reference[l],k=mr(i),p=k?l==="y"?k.clientHeight||0:k.clientWidth||0:0,m=O/2-N/2,b=g[A],E=p-v[u]-g[M],_=p/2-v[u]/2+m,C=Kt(b,_,E),x=l;t.modifiersData[s]=(e={},e[x]=C,e.centerOffset=C-_,e)}}function Xu(r){var e=r.state,t=r.options,s=t.element,n=s===void 0?"[data-popper-arrow]":s;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||Zo(e.elements.popper,n)&&(e.elements.arrow=n))}const ra={name:"arrow",enabled:!0,phase:"main",fn:Gu,effect:Xu,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xt(r){return r.split("-")[1]}var Qu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Zu(r,e){var t=r.x,s=r.y,n=e.devicePixelRatio||1;return{x:Pt(t*n)/n||0,y:Pt(s*n)/n||0}}function Ci(r){var e,t=r.popper,s=r.popperRect,n=r.placement,i=r.variation,o=r.offsets,a=r.position,l=r.gpuAcceleration,c=r.adaptive,u=r.roundOffsets,g=r.isFixed,v=o.x,A=v===void 0?0:v,M=o.y,O=M===void 0?0:M,N=typeof u=="function"?u({x:A,y:O}):{x:A,y:O};A=N.x,O=N.y;var k=o.hasOwnProperty("x"),p=o.hasOwnProperty("y"),m=re,b=te,E=window;if(c){var _=mr(t),C="clientHeight",x="clientWidth";if(_===ae(t)&&(_=qe(t),Ce(_).position!=="static"&&a==="absolute"&&(C="scrollHeight",x="scrollWidth")),_=_,n===te||(n===re||n===oe)&&i===Mt){b=ie;var L=g&&_===E&&E.visualViewport?E.visualViewport.height:_[C];O-=L-s.height,O*=l?1:-1}if(n===re||(n===te||n===ie)&&i===Mt){m=oe;var B=g&&_===E&&E.visualViewport?E.visualViewport.width:_[x];A-=B-s.width,A*=l?1:-1}}var H=Object.assign({position:a},c&&Qu),V=u===!0?Zu({x:A,y:O},ae(t)):{x:A,y:O};if(A=V.x,O=V.y,l){var j;return Object.assign({},H,(j={},j[b]=p?"0":"",j[m]=k?"0":"",j.transform=(E.devicePixelRatio||1)<=1?"translate("+A+"px, "+O+"px)":"translate3d("+A+"px, "+O+"px, 0)",j))}return Object.assign({},H,(e={},e[b]=p?O+"px":"",e[m]=k?A+"px":"",e.transform="",e))}function Ju(r){var e=r.state,t=r.options,s=t.gpuAcceleration,n=s===void 0?!0:s,i=t.adaptive,o=i===void 0?!0:i,a=t.roundOffsets,l=a===void 0?!0:a,c={placement:ve(e.placement),variation:xt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Ci(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ci(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const xn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ju,data:{}};var Cr={passive:!0};function eh(r){var e=r.state,t=r.instance,s=r.options,n=s.scroll,i=n===void 0?!0:n,o=s.resize,a=o===void 0?!0:o,l=ae(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",t.update,Cr)}),a&&l.addEventListener("resize",t.update,Cr),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",t.update,Cr)}),a&&l.removeEventListener("resize",t.update,Cr)}}const Fn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:eh,data:{}};var th={left:"right",right:"left",bottom:"top",top:"bottom"};function Fr(r){return r.replace(/left|right|bottom|top/g,function(e){return th[e]})}var rh={start:"end",end:"start"};function Li(r){return r.replace(/start|end/g,function(e){return rh[e]})}function $n(r){var e=ae(r),t=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:t,scrollTop:s}}function Bn(r){return Dt(qe(r)).left+$n(r).scrollLeft}function sh(r,e){var t=ae(r),s=qe(r),n=t.visualViewport,i=s.clientWidth,o=s.clientHeight,a=0,l=0;if(n){i=n.width,o=n.height;var c=Qo();(c||!c&&e==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:i,height:o,x:a+Bn(r),y:l}}function nh(r){var e,t=qe(r),s=$n(r),n=(e=r.ownerDocument)==null?void 0:e.body,i=et(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=et(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-s.scrollLeft+Bn(r),l=-s.scrollTop;return Ce(n||t).direction==="rtl"&&(a+=et(t.clientWidth,n?n.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function Hn(r){var e=Ce(r),t=e.overflow,s=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+n+s)}function sa(r){return["html","body","#document"].indexOf(ye(r))>=0?r.ownerDocument.body:le(r)&&Hn(r)?r:sa(Ps(r))}function Yt(r,e){var t;e===void 0&&(e=[]);var s=sa(r),n=s===((t=r.ownerDocument)==null?void 0:t.body),i=ae(s),o=n?[i].concat(i.visualViewport||[],Hn(s)?s:[]):s,a=e.concat(o);return n?a:a.concat(Yt(Ps(o)))}function bn(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function ih(r,e){var t=Dt(r,!1,e==="fixed");return t.top=t.top+r.clientTop,t.left=t.left+r.clientLeft,t.bottom=t.top+r.clientHeight,t.right=t.left+r.clientWidth,t.width=r.clientWidth,t.height=r.clientHeight,t.x=t.left,t.y=t.top,t}function Ni(r,e,t){return e===Rn?bn(sh(r,t)):nt(e)?ih(e,t):bn(nh(qe(r)))}function oh(r){var e=Yt(Ps(r)),t=["absolute","fixed"].indexOf(Ce(r).position)>=0,s=t&&le(r)?mr(r):r;return nt(s)?e.filter(function(n){return nt(n)&&Zo(n,s)&&ye(n)!=="body"}):[]}function ah(r,e,t,s){var n=e==="clippingParents"?oh(r):[].concat(e),i=[].concat(n,[t]),o=i[0],a=i.reduce(function(l,c){var u=Ni(r,c,s);return l.top=et(u.top,l.top),l.right=Kr(u.right,l.right),l.bottom=Kr(u.bottom,l.bottom),l.left=et(u.left,l.left),l},Ni(r,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function na(r){var e=r.reference,t=r.element,s=r.placement,n=s?ve(s):null,i=s?xt(s):null,o=e.x+e.width/2-t.width/2,a=e.y+e.height/2-t.height/2,l;switch(n){case te:l={x:o,y:e.y-t.height};break;case ie:l={x:o,y:e.y+e.height};break;case oe:l={x:e.x+e.width,y:a};break;case re:l={x:e.x-t.width,y:a};break;default:l={x:e.x,y:e.y}}var c=n?Dn(n):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case st:l[c]=l[c]-(e[u]/2-t[u]/2);break;case Mt:l[c]=l[c]+(e[u]/2-t[u]/2);break}}return l}function Ft(r,e){e===void 0&&(e={});var t=e,s=t.placement,n=s===void 0?r.placement:s,i=t.strategy,o=i===void 0?r.strategy:i,a=t.boundary,l=a===void 0?Bo:a,c=t.rootBoundary,u=c===void 0?Rn:c,g=t.elementContext,v=g===void 0?pt:g,A=t.altBoundary,M=A===void 0?!1:A,O=t.padding,N=O===void 0?0:O,k=ea(typeof N!="number"?N:ta(N,Ht)),p=v===pt?Ho:pt,m=r.rects.popper,b=r.elements[M?p:v],E=ah(nt(b)?b:b.contextElement||qe(r.elements.popper),l,u,o),_=Dt(r.elements.reference),C=na({reference:_,element:m,strategy:"absolute",placement:n}),x=bn(Object.assign({},m,C)),L=v===pt?x:_,B={top:E.top-L.top+k.top,bottom:L.bottom-E.bottom+k.bottom,left:E.left-L.left+k.left,right:L.right-E.right+k.right},H=r.modifiersData.offset;if(v===pt&&H){var V=H[n];Object.keys(B).forEach(function(j){var ee=[oe,ie].indexOf(j)>=0?1:-1,fe=[te,ie].indexOf(j)>=0?"y":"x";B[j]+=V[fe]*ee})}return B}function lh(r,e){e===void 0&&(e={});var t=e,s=t.placement,n=t.boundary,i=t.rootBoundary,o=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,c=l===void 0?In:l,u=xt(s),g=u?a?mn:mn.filter(function(M){return xt(M)===u}):Ht,v=g.filter(function(M){return c.indexOf(M)>=0});v.length===0&&(v=g);var A=v.reduce(function(M,O){return M[O]=Ft(r,{placement:O,boundary:n,rootBoundary:i,padding:o})[ve(O)],M},{});return Object.keys(A).sort(function(M,O){return A[M]-A[O]})}function ch(r){if(ve(r)===Ms)return[];var e=Fr(r);return[Li(r),e,Li(e)]}function uh(r){var e=r.state,t=r.options,s=r.name;if(!e.modifiersData[s]._skip){for(var n=t.mainAxis,i=n===void 0?!0:n,o=t.altAxis,a=o===void 0?!0:o,l=t.fallbackPlacements,c=t.padding,u=t.boundary,g=t.rootBoundary,v=t.altBoundary,A=t.flipVariations,M=A===void 0?!0:A,O=t.allowedAutoPlacements,N=e.options.placement,k=ve(N),p=k===N,m=l||(p||!M?[Fr(N)]:ch(N)),b=[N].concat(m).reduce(function(Y,Z){return Y.concat(ve(Z)===Ms?lh(e,{placement:Z,boundary:u,rootBoundary:g,padding:c,flipVariations:M,allowedAutoPlacements:O}):Z)},[]),E=e.rects.reference,_=e.rects.popper,C=new Map,x=!0,L=b[0],B=0;B=0,fe=ee?"width":"height",h=Ft(e,{placement:H,boundary:u,rootBoundary:g,altBoundary:v,padding:c}),d=ee?j?oe:re:j?ie:te;E[fe]>_[fe]&&(d=Fr(d));var f=Fr(d),w=[];if(i&&w.push(h[V]<=0),a&&w.push(h[d]<=0,h[f]<=0),w.every(function(Y){return Y})){L=H,x=!1;break}C.set(H,w)}if(x)for(var T=M?3:1,R=function(Z){var q=b.find(function(X){var J=C.get(X);if(J)return J.slice(0,Z).every(function(ge){return ge})});if(q)return L=q,"break"},F=T;F>0;F--){var U=R(F);if(U==="break")break}e.placement!==L&&(e.modifiersData[s]._skip=!0,e.placement=L,e.reset=!0)}}const ia={name:"flip",enabled:!0,phase:"main",fn:uh,requiresIfExists:["offset"],data:{_skip:!1}};function Ri(r,e,t){return t===void 0&&(t={x:0,y:0}),{top:r.top-e.height-t.y,right:r.right-e.width+t.x,bottom:r.bottom-e.height+t.y,left:r.left-e.width-t.x}}function Ii(r){return[te,oe,ie,re].some(function(e){return r[e]>=0})}function hh(r){var e=r.state,t=r.name,s=e.rects.reference,n=e.rects.popper,i=e.modifiersData.preventOverflow,o=Ft(e,{elementContext:"reference"}),a=Ft(e,{altBoundary:!0}),l=Ri(o,s),c=Ri(a,n,i),u=Ii(l),g=Ii(c);e.modifiersData[t]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:g},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":g})}const oa={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hh};function dh(r,e,t){var s=ve(r),n=[re,te].indexOf(s)>=0?-1:1,i=typeof t=="function"?t(Object.assign({},e,{placement:r})):t,o=i[0],a=i[1];return o=o||0,a=(a||0)*n,[re,oe].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function fh(r){var e=r.state,t=r.options,s=r.name,n=t.offset,i=n===void 0?[0,0]:n,o=In.reduce(function(u,g){return u[g]=dh(g,e.rects,i),u},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=o}const aa={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:fh};function ph(r){var e=r.state,t=r.name;e.modifiersData[t]=na({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Vn={name:"popperOffsets",enabled:!0,phase:"read",fn:ph,data:{}};function mh(r){return r==="x"?"y":"x"}function gh(r){var e=r.state,t=r.options,s=r.name,n=t.mainAxis,i=n===void 0?!0:n,o=t.altAxis,a=o===void 0?!1:o,l=t.boundary,c=t.rootBoundary,u=t.altBoundary,g=t.padding,v=t.tether,A=v===void 0?!0:v,M=t.tetherOffset,O=M===void 0?0:M,N=Ft(e,{boundary:l,rootBoundary:c,padding:g,altBoundary:u}),k=ve(e.placement),p=xt(e.placement),m=!p,b=Dn(k),E=mh(b),_=e.modifiersData.popperOffsets,C=e.rects.reference,x=e.rects.popper,L=typeof O=="function"?O(Object.assign({},e.rects,{placement:e.placement})):O,B=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),H=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(_){if(i){var j,ee=b==="y"?te:re,fe=b==="y"?ie:oe,h=b==="y"?"height":"width",d=_[b],f=d+N[ee],w=d-N[fe],T=A?-x[h]/2:0,R=p===st?C[h]:x[h],F=p===st?-x[h]:-C[h],U=e.elements.arrow,Y=A&&U?Pn(U):{width:0,height:0},Z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Jo(),q=Z[ee],X=Z[fe],J=Kt(0,C[h],Y[h]),ge=m?C[h]/2-T-J-q-B.mainAxis:R-J-q-B.mainAxis,Ue=m?-C[h]/2+T+J+X+B.mainAxis:F+J+X+B.mainAxis,Ne=e.elements.arrow&&mr(e.elements.arrow),Ws=Ne?b==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,ut=(j=H==null?void 0:H[b])!=null?j:0,Hl=d+ge-ut-Ws,Vl=d+Ue-ut,ni=Kt(A?Kr(f,Hl):f,d,A?et(w,Vl):w);_[b]=ni,V[b]=ni-d}if(a){var ii,ql=b==="x"?te:re,jl=b==="x"?ie:oe,ze=_[E],Sr=E==="y"?"height":"width",oi=ze+N[ql],ai=ze-N[jl],Us=[te,re].indexOf(k)!==-1,li=(ii=H==null?void 0:H[E])!=null?ii:0,ci=Us?oi:ze-C[Sr]-x[Sr]-li+B.altAxis,ui=Us?ze+C[Sr]+x[Sr]-li-B.altAxis:ai,hi=A&&Us?Ku(ci,ze,ui):Kt(A?ci:oi,ze,A?ui:ai);_[E]=hi,V[E]=hi-ze}e.modifiersData[s]=V}}const la={name:"preventOverflow",enabled:!0,phase:"main",fn:gh,requiresIfExists:["offset"]};function bh(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function vh(r){return r===ae(r)||!le(r)?$n(r):bh(r)}function Eh(r){var e=r.getBoundingClientRect(),t=Pt(e.width)/r.offsetWidth||1,s=Pt(e.height)/r.offsetHeight||1;return t!==1||s!==1}function yh(r,e,t){t===void 0&&(t=!1);var s=le(e),n=le(e)&&Eh(e),i=qe(e),o=Dt(r,n,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!t)&&((ye(e)!=="body"||Hn(i))&&(a=vh(e)),le(e)?(l=Dt(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=Bn(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function _h(r){var e=new Map,t=new Set,s=[];r.forEach(function(i){e.set(i.name,i)});function n(i){t.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!t.has(a)){var l=e.get(a);l&&n(l)}}),s.push(i)}return r.forEach(function(i){t.has(i.name)||n(i)}),s}function Sh(r){var e=_h(r);return Xo.reduce(function(t,s){return t.concat(e.filter(function(n){return n.phase===s}))},[])}function wh(r){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(r())})})),e}}function Ah(r){var e=r.reduce(function(t,s){var n=t[s.name];return t[s.name]=n?Object.assign({},n,s,{options:Object.assign({},n.options,s.options),data:Object.assign({},n.data,s.data)}):s,t},{});return Object.keys(e).map(function(t){return e[t]})}var ki={placement:"bottom",modifiers:[],strategy:"absolute"};function Mi(){for(var r=arguments.length,e=new Array(r),t=0;t(r&&window.CSS&&window.CSS.escape&&(r=r.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),r),Rh=r=>r==null?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase(),Ih=r=>{do r+=Math.floor(Math.random()*Lh);while(document.getElementById(r));return r},kh=r=>{if(!r)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(r);const s=Number.parseFloat(e),n=Number.parseFloat(t);return!s&&!n?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*Nh)},ha=r=>{r.dispatchEvent(new Event(vn))},Te=r=>!r||typeof r!="object"?!1:(typeof r.jquery<"u"&&(r=r[0]),typeof r.nodeType<"u"),$e=r=>Te(r)?r.jquery?r[0]:r:typeof r=="string"&&r.length>0?document.querySelector(ua(r)):null,Vt=r=>{if(!Te(r)||r.getClientRects().length===0)return!1;const e=getComputedStyle(r).getPropertyValue("visibility")==="visible",t=r.closest("details:not([open])");if(!t)return e;if(t!==r){const s=r.closest("summary");if(s&&s.parentNode!==t||s===null)return!1}return e},Be=r=>!r||r.nodeType!==Node.ELEMENT_NODE||r.classList.contains("disabled")?!0:typeof r.disabled<"u"?r.disabled:r.hasAttribute("disabled")&&r.getAttribute("disabled")!=="false",da=r=>{if(!document.documentElement.attachShadow)return null;if(typeof r.getRootNode=="function"){const e=r.getRootNode();return e instanceof ShadowRoot?e:null}return r instanceof ShadowRoot?r:r.parentNode?da(r.parentNode):null},Yr=()=>{},gr=r=>{r.offsetHeight},fa=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ys=[],Mh=r=>{document.readyState==="loading"?(Ys.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ys)e()}),Ys.push(r)):r()},ue=()=>document.documentElement.dir==="rtl",de=r=>{Mh(()=>{const e=fa();if(e){const t=r.NAME,s=e.fn[t];e.fn[t]=r.jQueryInterface,e.fn[t].Constructor=r,e.fn[t].noConflict=()=>(e.fn[t]=s,r.jQueryInterface)}})},se=(r,e=[],t=r)=>typeof r=="function"?r(...e):t,pa=(r,e,t=!0)=>{if(!t){se(r);return}const n=kh(e)+5;let i=!1;const o=({target:a})=>{a===e&&(i=!0,e.removeEventListener(vn,o),se(r))};e.addEventListener(vn,o),setTimeout(()=>{i||ha(e)},n)},jn=(r,e,t,s)=>{const n=r.length;let i=r.indexOf(e);return i===-1?!t&&s?r[n-1]:r[0]:(i+=t?1:-1,s&&(i=(i+n)%n),r[Math.max(0,Math.min(i,n-1))])},Ph=/[^.]*(?=\..*)\.|.*/,Dh=/\..*/,xh=/::\d+$/,Gs={};let Pi=1;const ma={mouseenter:"mouseover",mouseleave:"mouseout"},Fh=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 ga(r,e){return e&&`${e}::${Pi++}`||r.uidEvent||Pi++}function ba(r){const e=ga(r);return r.uidEvent=e,Gs[e]=Gs[e]||{},Gs[e]}function $h(r,e){return function t(s){return Wn(s,{delegateTarget:r}),t.oneOff&&S.off(r,s.type,e),e.apply(r,[s])}}function Bh(r,e,t){return function s(n){const i=r.querySelectorAll(e);for(let{target:o}=n;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return Wn(n,{delegateTarget:o}),s.oneOff&&S.off(r,n.type,e,t),t.apply(o,[n])}}function va(r,e,t=null){return Object.values(r).find(s=>s.callable===e&&s.delegationSelector===t)}function Ea(r,e,t){const s=typeof e=="string",n=s?t:e||t;let i=ya(r);return Fh.has(i)||(i=r),[s,n,i]}function Di(r,e,t,s,n){if(typeof e!="string"||!r)return;let[i,o,a]=Ea(e,t,s);e in ma&&(o=(M=>function(O){if(!O.relatedTarget||O.relatedTarget!==O.delegateTarget&&!O.delegateTarget.contains(O.relatedTarget))return M.call(this,O)})(o));const l=ba(r),c=l[a]||(l[a]={}),u=va(c,o,i?t:null);if(u){u.oneOff=u.oneOff&&n;return}const g=ga(o,e.replace(Ph,"")),v=i?Bh(r,t,o):$h(r,o);v.delegationSelector=i?t:null,v.callable=o,v.oneOff=n,v.uidEvent=g,c[g]=v,r.addEventListener(a,v,i)}function En(r,e,t,s,n){const i=va(e[t],s,n);i&&(r.removeEventListener(t,i,!!n),delete e[t][i.uidEvent])}function Hh(r,e,t,s){const n=e[t]||{};for(const[i,o]of Object.entries(n))i.includes(s)&&En(r,e,t,o.callable,o.delegationSelector)}function ya(r){return r=r.replace(Dh,""),ma[r]||r}const S={on(r,e,t,s){Di(r,e,t,s,!1)},one(r,e,t,s){Di(r,e,t,s,!0)},off(r,e,t,s){if(typeof e!="string"||!r)return;const[n,i,o]=Ea(e,t,s),a=o!==e,l=ba(r),c=l[o]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;En(r,l,o,i,n?t:null);return}if(u)for(const g of Object.keys(l))Hh(r,l,g,e.slice(1));for(const[g,v]of Object.entries(c)){const A=g.replace(xh,"");(!a||e.includes(A))&&En(r,l,o,v.callable,v.delegationSelector)}},trigger(r,e,t){if(typeof e!="string"||!r)return null;const s=fa(),n=ya(e),i=e!==n;let o=null,a=!0,l=!0,c=!1;i&&s&&(o=s.Event(e,t),s(r).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());const u=Wn(new Event(e,{bubbles:a,cancelable:!0}),t);return c&&u.preventDefault(),l&&r.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function Wn(r,e={}){for(const[t,s]of Object.entries(e))try{r[t]=s}catch{Object.defineProperty(r,t,{configurable:!0,get(){return s}})}return r}function xi(r){if(r==="true")return!0;if(r==="false")return!1;if(r===Number(r).toString())return Number(r);if(r===""||r==="null")return null;if(typeof r!="string")return r;try{return JSON.parse(decodeURIComponent(r))}catch{return r}}function Xs(r){return r.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Oe={setDataAttribute(r,e,t){r.setAttribute(`data-bs-${Xs(e)}`,t)},removeDataAttribute(r,e){r.removeAttribute(`data-bs-${Xs(e)}`)},getDataAttributes(r){if(!r)return{};const e={},t=Object.keys(r.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of t){let n=s.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=xi(r.dataset[s])}return e},getDataAttribute(r,e){return xi(r.getAttribute(`data-bs-${Xs(e)}`))}};class br{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 s=Te(t)?Oe.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...Te(t)?Oe.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[s,n]of Object.entries(t)){const i=e[s],o=Te(i)?"element":Rh(i);if(!new RegExp(n).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${n}".`)}}}const Vh="5.3.3";class me extends br{constructor(e,t){super(),e=$e(e),e&&(this._element=e,this._config=this._getConfig(t),Ks.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ks.remove(this._element,this.constructor.DATA_KEY),S.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,s=!0){pa(e,t,s)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ks.get($e(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return Vh}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 Qs=r=>{let e=r.getAttribute("data-bs-target");if(!e||e==="#"){let t=r.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return e?e.split(",").map(t=>ua(t)).join(","):null},$={find(r,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,r))},findOne(r,e=document.documentElement){return Element.prototype.querySelector.call(e,r)},children(r,e){return[].concat(...r.children).filter(t=>t.matches(e))},parents(r,e){const t=[];let s=r.parentNode.closest(e);for(;s;)t.push(s),s=s.parentNode.closest(e);return t},prev(r,e){let t=r.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(r,e){let t=r.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(r){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,r).filter(t=>!Be(t)&&Vt(t))},getSelectorFromElement(r){const e=Qs(r);return e&&$.findOne(e)?e:null},getElementFromSelector(r){const e=Qs(r);return e?$.findOne(e):null},getMultipleElementsFromSelector(r){const e=Qs(r);return e?$.find(e):[]}},xs=(r,e="hide")=>{const t=`click.dismiss${r.EVENT_KEY}`,s=r.NAME;S.on(document,t,`[data-bs-dismiss="${s}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Be(this))return;const i=$.getElementFromSelector(this)||this.closest(`.${s}`);r.getOrCreateInstance(i)[e]()})},qh="alert",jh="bs.alert",_a=`.${jh}`,Wh=`close${_a}`,Uh=`closed${_a}`,zh="fade",Kh="show";class Fs extends me{static get NAME(){return qh}close(){if(S.trigger(this._element,Wh).defaultPrevented)return;this._element.classList.remove(Kh);const t=this._element.classList.contains(zh);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),S.trigger(this._element,Uh),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Fs.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}xs(Fs,"close");de(Fs);const Yh="button",Gh="bs.button",Xh=`.${Gh}`,Qh=".data-api",Zh="active",Fi='[data-bs-toggle="button"]',Jh=`click${Xh}${Qh}`;class $s extends me{static get NAME(){return Yh}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Zh))}static jQueryInterface(e){return this.each(function(){const t=$s.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}S.on(document,Jh,Fi,r=>{r.preventDefault();const e=r.target.closest(Fi);$s.getOrCreateInstance(e).toggle()});de($s);const ed="swipe",qt=".bs.swipe",td=`touchstart${qt}`,rd=`touchmove${qt}`,sd=`touchend${qt}`,nd=`pointerdown${qt}`,id=`pointerup${qt}`,od="touch",ad="pen",ld="pointer-event",cd=40,ud={endCallback:null,leftCallback:null,rightCallback:null},hd={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Gr extends br{constructor(e,t){super(),this._element=e,!(!e||!Gr.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ud}static get DefaultType(){return hd}static get NAME(){return ed}dispose(){S.off(this._element,qt)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),se(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<=cd)return;const t=e/this._deltaX;this._deltaX=0,t&&se(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(S.on(this._element,nd,e=>this._start(e)),S.on(this._element,id,e=>this._end(e)),this._element.classList.add(ld)):(S.on(this._element,td,e=>this._start(e)),S.on(this._element,rd,e=>this._move(e)),S.on(this._element,sd,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===ad||e.pointerType===od)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const dd="carousel",fd="bs.carousel",je=`.${fd}`,Sa=".data-api",pd="ArrowLeft",md="ArrowRight",gd=500,Wt="next",ht="prev",mt="left",$r="right",bd=`slide${je}`,Zs=`slid${je}`,vd=`keydown${je}`,Ed=`mouseenter${je}`,yd=`mouseleave${je}`,_d=`dragstart${je}`,Sd=`load${je}${Sa}`,wd=`click${je}${Sa}`,wa="carousel",Lr="active",Ad="slide",Td="carousel-item-end",Od="carousel-item-start",Cd="carousel-item-next",Ld="carousel-item-prev",Aa=".active",Ta=".carousel-item",Nd=Aa+Ta,Rd=".carousel-item img",Id=".carousel-indicators",kd="[data-bs-slide], [data-bs-slide-to]",Md='[data-bs-ride="carousel"]',Pd={[pd]:$r,[md]:mt},Dd={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},xd={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class vr extends me{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=$.findOne(Id,this._element),this._addEventListeners(),this._config.ride===wa&&this.cycle()}static get Default(){return Dd}static get DefaultType(){return xd}static get NAME(){return dd}next(){this._slide(Wt)}nextWhenVisible(){!document.hidden&&Vt(this._element)&&this.next()}prev(){this._slide(ht)}pause(){this._isSliding&&ha(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){S.one(this._element,Zs,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){S.one(this._element,Zs,()=>this.to(e));return}const s=this._getItemIndex(this._getActive());if(s===e)return;const n=e>s?Wt:ht;this._slide(n,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&S.on(this._element,vd,e=>this._keydown(e)),this._config.pause==="hover"&&(S.on(this._element,Ed,()=>this.pause()),S.on(this._element,yd,()=>this._maybeEnableCycle())),this._config.touch&&Gr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of $.find(Rd,this._element))S.on(s,_d,n=>n.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(mt)),rightCallback:()=>this._slide(this._directionToOrder($r)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),gd+this._config.interval))}};this._swipeHelper=new Gr(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Pd[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=$.findOne(Aa,this._indicatorsElement);t.classList.remove(Lr),t.removeAttribute("aria-current");const s=$.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);s&&(s.classList.add(Lr),s.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 s=this._getActive(),n=e===Wt,i=t||jn(this._getItems(),s,n,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=A=>S.trigger(this._element,A,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(s),to:o});if(a(bd).defaultPrevented||!s||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const u=n?Od:Td,g=n?Cd:Ld;i.classList.add(g),gr(i),s.classList.add(u),i.classList.add(u);const v=()=>{i.classList.remove(u,g),i.classList.add(Lr),s.classList.remove(Lr,g,u),this._isSliding=!1,a(Zs)};this._queueCallback(v,s,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Ad)}_getActive(){return $.findOne(Nd,this._element)}_getItems(){return $.find(Ta,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return ue()?e===mt?ht:Wt:e===mt?Wt:ht}_orderToDirection(e){return ue()?e===ht?mt:$r:e===ht?$r:mt}static jQueryInterface(e){return this.each(function(){const t=vr.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}S.on(document,wd,kd,function(r){const e=$.getElementFromSelector(this);if(!e||!e.classList.contains(wa))return;r.preventDefault();const t=vr.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");if(s){t.to(s),t._maybeEnableCycle();return}if(Oe.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});S.on(window,Sd,()=>{const r=$.find(Md);for(const e of r)vr.getOrCreateInstance(e)});de(vr);const Fd="collapse",$d="bs.collapse",Er=`.${$d}`,Bd=".data-api",Hd=`show${Er}`,Vd=`shown${Er}`,qd=`hide${Er}`,jd=`hidden${Er}`,Wd=`click${Er}${Bd}`,Js="show",yt="collapse",Nr="collapsing",Ud="collapsed",zd=`:scope .${yt} .${yt}`,Kd="collapse-horizontal",Yd="width",Gd="height",Xd=".collapse.show, .collapse.collapsing",yn='[data-bs-toggle="collapse"]',Qd={parent:null,toggle:!0},Zd={parent:"(null|element)",toggle:"boolean"};class Xt extends me{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const s=$.find(yn);for(const n of s){const i=$.getSelectorFromElement(n),o=$.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(n)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Qd}static get DefaultType(){return Zd}static get NAME(){return Fd}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Xd).filter(a=>a!==this._element).map(a=>Xt.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||S.trigger(this._element,Hd).defaultPrevented)return;for(const a of e)a.hide();const s=this._getDimension();this._element.classList.remove(yt),this._element.classList.add(Nr),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Nr),this._element.classList.add(yt,Js),this._element.style[s]="",S.trigger(this._element,Vd)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(n,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||S.trigger(this._element,qd).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,gr(this._element),this._element.classList.add(Nr),this._element.classList.remove(yt,Js);for(const n of this._triggerArray){const i=$.getElementFromSelector(n);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([n],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(Nr),this._element.classList.add(yt),S.trigger(this._element,jd)};this._element.style[t]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Js)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=$e(e.parent),e}_getDimension(){return this._element.classList.contains(Kd)?Yd:Gd}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(yn);for(const t of e){const s=$.getElementFromSelector(t);s&&this._addAriaAndCollapsedClass([t],this._isShown(s))}}_getFirstLevelChildren(e){const t=$.find(zd,this._config.parent);return $.find(e,this._config.parent).filter(s=>!t.includes(s))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const s of e)s.classList.toggle(Ud,!t),s.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const s=Xt.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e]()}})}}S.on(document,Wd,yn,function(r){(r.target.tagName==="A"||r.delegateTarget&&r.delegateTarget.tagName==="A")&&r.preventDefault();for(const e of $.getMultipleElementsFromSelector(this))Xt.getOrCreateInstance(e,{toggle:!1}).toggle()});de(Xt);const $i="dropdown",Jd="bs.dropdown",ot=`.${Jd}`,Un=".data-api",ef="Escape",Bi="Tab",tf="ArrowUp",Hi="ArrowDown",rf=2,sf=`hide${ot}`,nf=`hidden${ot}`,of=`show${ot}`,af=`shown${ot}`,Oa=`click${ot}${Un}`,Ca=`keydown${ot}${Un}`,lf=`keyup${ot}${Un}`,gt="show",cf="dropup",uf="dropend",hf="dropstart",df="dropup-center",ff="dropdown-center",Ye='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',pf=`${Ye}.${gt}`,Br=".dropdown-menu",mf=".navbar",gf=".navbar-nav",bf=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",vf=ue()?"top-end":"top-start",Ef=ue()?"top-start":"top-end",yf=ue()?"bottom-end":"bottom-start",_f=ue()?"bottom-start":"bottom-end",Sf=ue()?"left-start":"right-start",wf=ue()?"right-start":"left-start",Af="top",Tf="bottom",Of={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Cf={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ee extends me{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=$.next(this._element,Br)[0]||$.prev(this._element,Br)[0]||$.findOne(Br,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Of}static get DefaultType(){return Cf}static get NAME(){return $i}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Be(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!S.trigger(this._element,of,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(gf))for(const s of[].concat(...document.body.children))S.on(s,"mouseover",Yr);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(gt),this._element.classList.add(gt),S.trigger(this._element,af,e)}}hide(){if(Be(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(!S.trigger(this._element,sf,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))S.off(s,"mouseover",Yr);this._popper&&this._popper.destroy(),this._menu.classList.remove(gt),this._element.classList.remove(gt),this._element.setAttribute("aria-expanded","false"),Oe.removeDataAttribute(this._menu,"popper"),S.trigger(this._element,nf,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Te(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${$i.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof ca>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Te(this._config.reference)?e=$e(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=qn(e,this._menu,t)}_isShown(){return this._menu.classList.contains(gt)}_getPlacement(){const e=this._parent;if(e.classList.contains(uf))return Sf;if(e.classList.contains(hf))return wf;if(e.classList.contains(df))return Af;if(e.classList.contains(ff))return Tf;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(cf)?t?Ef:vf:t?_f:yf}_detectNavbar(){return this._element.closest(mf)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?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||this._config.display==="static")&&(Oe.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...se(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const s=$.find(bf,this._menu).filter(n=>Vt(n));s.length&&jn(s,t,e===Hi,!s.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Ee.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===rf||e.type==="keyup"&&e.key!==Bi)return;const t=$.find(pf);for(const s of t){const n=Ee.getInstance(s);if(!n||n._config.autoClose===!1)continue;const i=e.composedPath(),o=i.includes(n._menu);if(i.includes(n._element)||n._config.autoClose==="inside"&&!o||n._config.autoClose==="outside"&&o||n._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Bi||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:n._element};e.type==="click"&&(a.clickEvent=e),n._completeHide(a)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),s=e.key===ef,n=[tf,Hi].includes(e.key);if(!n&&!s||t&&!s)return;e.preventDefault();const i=this.matches(Ye)?this:$.prev(this,Ye)[0]||$.next(this,Ye)[0]||$.findOne(Ye,e.delegateTarget.parentNode),o=Ee.getOrCreateInstance(i);if(n){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),i.focus())}}S.on(document,Ca,Ye,Ee.dataApiKeydownHandler);S.on(document,Ca,Br,Ee.dataApiKeydownHandler);S.on(document,Oa,Ee.clearMenus);S.on(document,lf,Ee.clearMenus);S.on(document,Oa,Ye,function(r){r.preventDefault(),Ee.getOrCreateInstance(this).toggle()});de(Ee);const La="backdrop",Lf="fade",Vi="show",qi=`mousedown.bs.${La}`,Nf={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Rf={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Na extends br{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Nf}static get DefaultType(){return Rf}static get NAME(){return La}show(e){if(!this._config.isVisible){se(e);return}this._append();const t=this._getElement();this._config.isAnimated&&gr(t),t.classList.add(Vi),this._emulateAnimation(()=>{se(e)})}hide(e){if(!this._config.isVisible){se(e);return}this._getElement().classList.remove(Vi),this._emulateAnimation(()=>{this.dispose(),se(e)})}dispose(){this._isAppended&&(S.off(this._element,qi),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(Lf),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=$e(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),S.on(e,qi,()=>{se(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){pa(e,this._getElement(),this._config.isAnimated)}}const If="focustrap",kf="bs.focustrap",Xr=`.${kf}`,Mf=`focusin${Xr}`,Pf=`keydown.tab${Xr}`,Df="Tab",xf="forward",ji="backward",Ff={autofocus:!0,trapElement:null},$f={autofocus:"boolean",trapElement:"element"};class Ra extends br{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ff}static get DefaultType(){return $f}static get NAME(){return If}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),S.off(document,Xr),S.on(document,Mf,e=>this._handleFocusin(e)),S.on(document,Pf,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,S.off(document,Xr))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const s=$.focusableChildren(t);s.length===0?t.focus():this._lastTabNavDirection===ji?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){e.key===Df&&(this._lastTabNavDirection=e.shiftKey?ji:xf)}}const Wi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ui=".sticky-top",Rr="padding-right",zi="margin-right";class _n{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,Rr,t=>t+e),this._setElementAttributes(Wi,Rr,t=>t+e),this._setElementAttributes(Ui,zi,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Rr),this._resetElementAttributes(Wi,Rr),this._resetElementAttributes(Ui,zi)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,s){const n=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+n)return;this._saveInitialAttribute(o,t);const a=window.getComputedStyle(o).getPropertyValue(t);o.style.setProperty(t,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const s=e.style.getPropertyValue(t);s&&Oe.setDataAttribute(e,t,s)}_resetElementAttributes(e,t){const s=n=>{const i=Oe.getDataAttribute(n,t);if(i===null){n.style.removeProperty(t);return}Oe.removeDataAttribute(n,t),n.style.setProperty(t,i)};this._applyManipulationCallback(e,s)}_applyManipulationCallback(e,t){if(Te(e)){t(e);return}for(const s of $.find(e,this._element))t(s)}}const Bf="modal",Hf="bs.modal",he=`.${Hf}`,Vf=".data-api",qf="Escape",jf=`hide${he}`,Wf=`hidePrevented${he}`,Ia=`hidden${he}`,ka=`show${he}`,Uf=`shown${he}`,zf=`resize${he}`,Kf=`click.dismiss${he}`,Yf=`mousedown.dismiss${he}`,Gf=`keydown.dismiss${he}`,Xf=`click${he}${Vf}`,Ki="modal-open",Qf="fade",Yi="show",en="modal-static",Zf=".modal.show",Jf=".modal-dialog",ep=".modal-body",tp='[data-bs-toggle="modal"]',rp={backdrop:!0,focus:!0,keyboard:!0},sp={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class it extends me{constructor(e,t){super(e,t),this._dialog=$.findOne(Jf,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new _n,this._addEventListeners()}static get Default(){return rp}static get DefaultType(){return sp}static get NAME(){return Bf}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||S.trigger(this._element,ka,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ki),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||S.trigger(this._element,jf).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Yi),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){S.off(window,he),S.off(this._dialog,he),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Na({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ra({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=$.findOne(ep,this._dialog);t&&(t.scrollTop=0),gr(this._element),this._element.classList.add(Yi);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,S.trigger(this._element,Uf,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){S.on(this._element,Gf,e=>{if(e.key===qf){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),S.on(window,zf,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),S.on(this._element,Yf,e=>{S.one(this._element,Kf,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(Ki),this._resetAdjustments(),this._scrollBar.reset(),S.trigger(this._element,Ia)})}_isAnimated(){return this._element.classList.contains(Qf)}_triggerBackdropTransition(){if(S.trigger(this._element,Wf).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(en)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(en),this._queueCallback(()=>{this._element.classList.remove(en),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),s=t>0;if(s&&!e){const n=ue()?"paddingLeft":"paddingRight";this._element.style[n]=`${t}px`}if(!s&&e){const n=ue()?"paddingRight":"paddingLeft";this._element.style[n]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const s=it.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e](t)}})}}S.on(document,Xf,tp,function(r){const e=$.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&r.preventDefault(),S.one(e,ka,n=>{n.defaultPrevented||S.one(e,Ia,()=>{Vt(this)&&this.focus()})});const t=$.findOne(Zf);t&&it.getInstance(t).hide(),it.getOrCreateInstance(e).toggle(this)});xs(it);de(it);const np="offcanvas",ip="bs.offcanvas",Le=`.${ip}`,Ma=".data-api",op=`load${Le}${Ma}`,ap="Escape",Gi="show",Xi="showing",Qi="hiding",lp="offcanvas-backdrop",Pa=".offcanvas.show",cp=`show${Le}`,up=`shown${Le}`,hp=`hide${Le}`,Zi=`hidePrevented${Le}`,Da=`hidden${Le}`,dp=`resize${Le}`,fp=`click${Le}${Ma}`,pp=`keydown.dismiss${Le}`,mp='[data-bs-toggle="offcanvas"]',gp={backdrop:!0,keyboard:!0,scroll:!1},bp={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class He extends me{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return gp}static get DefaultType(){return bp}static get NAME(){return np}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||S.trigger(this._element,cp,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new _n().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Xi);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Gi),this._element.classList.remove(Xi),S.trigger(this._element,up,{relatedTarget:e})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||S.trigger(this._element,hp).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Qi),this._backdrop.hide();const t=()=>{this._element.classList.remove(Gi,Qi),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new _n().reset(),S.trigger(this._element,Da)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){S.trigger(this._element,Zi);return}this.hide()},t=!!this._config.backdrop;return new Na({className:lp,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new Ra({trapElement:this._element})}_addEventListeners(){S.on(this._element,pp,e=>{if(e.key===ap){if(this._config.keyboard){this.hide();return}S.trigger(this._element,Zi)}})}static jQueryInterface(e){return this.each(function(){const t=He.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}S.on(document,fp,mp,function(r){const e=$.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Be(this))return;S.one(e,Da,()=>{Vt(this)&&this.focus()});const t=$.findOne(Pa);t&&t!==e&&He.getInstance(t).hide(),He.getOrCreateInstance(e).toggle(this)});S.on(window,op,()=>{for(const r of $.find(Pa))He.getOrCreateInstance(r).show()});S.on(window,dp,()=>{for(const r of $.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(r).position!=="fixed"&&He.getOrCreateInstance(r).hide()});xs(He);de(He);const vp=/^aria-[\w-]*$/i,xa={"*":["class","dir","id","lang","role",vp],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:[]},Ep=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),yp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,_p=(r,e)=>{const t=r.nodeName.toLowerCase();return e.includes(t)?Ep.has(t)?!!yp.test(r.nodeValue):!0:e.filter(s=>s instanceof RegExp).some(s=>s.test(t))};function Sp(r,e,t){if(!r.length)return r;if(t&&typeof t=="function")return t(r);const n=new window.DOMParser().parseFromString(r,"text/html"),i=[].concat(...n.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(e["*"]||[],e[a]||[]);for(const u of l)_p(u,c)||o.removeAttribute(u.nodeName)}return n.body.innerHTML}const wp="TemplateFactory",Ap={allowList:xa,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Tp={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Op={entry:"(string|element|function|null)",selector:"(string|element)"};class Cp extends br{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ap}static get DefaultType(){return Tp}static get NAME(){return wp}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[n,i]of Object.entries(this._config.content))this._setContent(e,i,n);const t=e.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&t.classList.add(...s.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,s]of Object.entries(e))super._typeCheckConfig({selector:t,entry:s},Op)}_setContent(e,t,s){const n=$.findOne(s,e);if(n){if(t=this._resolvePossibleFunction(t),!t){n.remove();return}if(Te(t)){this._putElementInTemplate($e(t),n);return}if(this._config.html){n.innerHTML=this._maybeSanitize(t);return}n.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Sp(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return se(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Lp="tooltip",Np=new Set(["sanitize","allowList","sanitizeFn"]),tn="fade",Rp="modal",Ir="show",Ip=".tooltip-inner",Ji=`.${Rp}`,eo="hide.bs.modal",Ut="hover",rn="focus",kp="click",Mp="manual",Pp="hide",Dp="hidden",xp="show",Fp="shown",$p="inserted",Bp="click",Hp="focusin",Vp="focusout",qp="mouseenter",jp="mouseleave",Wp={AUTO:"auto",TOP:"top",RIGHT:ue()?"left":"right",BOTTOM:"bottom",LEFT:ue()?"right":"left"},Up={allowList:xa,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"},zp={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 at extends me{constructor(e,t){if(typeof ca>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");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 Up}static get DefaultType(){return zp}static get NAME(){return Lp}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),S.off(this._element.closest(Ji),eo,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(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=S.trigger(this._element,this.constructor.eventName(xp)),s=(da(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!s)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),S.trigger(this._element,this.constructor.eventName($p))),this._popper=this._createPopper(n),n.classList.add(Ir),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))S.on(a,"mouseover",Yr);const o=()=>{S.trigger(this._element,this.constructor.eventName(Fp)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||S.trigger(this._element,this.constructor.eventName(Pp)).defaultPrevented)return;if(this._getTipElement().classList.remove(Ir),"ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))S.off(n,"mouseover",Yr);this._activeTrigger[kp]=!1,this._activeTrigger[rn]=!1,this._activeTrigger[Ut]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),S.trigger(this._element,this.constructor.eventName(Dp)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!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(tn,Ir),t.classList.add(`bs-${this.constructor.NAME}-auto`);const s=Ih(this.constructor.NAME).toString();return t.setAttribute("id",s),this._isAnimated()&&t.classList.add(tn),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Cp({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ip]: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(tn)}_isShown(){return this.tip&&this.tip.classList.contains(Ir)}_createPopper(e){const t=se(this._config.placement,[this,e,this._element]),s=Wp[t.toUpperCase()];return qn(this._element,e,this._getPopperConfig(s))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return se(e,[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:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...t,...se(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")S.on(this._element,this.constructor.eventName(Bp),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(t!==Mp){const s=t===Ut?this.constructor.eventName(qp):this.constructor.eventName(Hp),n=t===Ut?this.constructor.eventName(jp):this.constructor.eventName(Vp);S.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?rn:Ut]=!0,o._enter()}),S.on(this._element,n,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?rn:Ut]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},S.on(this._element.closest(Ji),eo,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(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}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=Oe.getDataAttributes(this._element);for(const s of Object.keys(t))Np.has(s)&&delete t[s];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:$e(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,s]of Object.entries(this._config))this.constructor.Default[t]!==s&&(e[t]=s);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=at.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}de(at);const Kp="popover",Yp=".popover-header",Gp=".popover-body",Xp={...at.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Qp={...at.DefaultType,content:"(null|string|element|function)"};class zn extends at{static get Default(){return Xp}static get DefaultType(){return Qp}static get NAME(){return Kp}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Yp]:this._getTitle(),[Gp]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=zn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}de(zn);const Zp="scrollspy",Jp="bs.scrollspy",Kn=`.${Jp}`,em=".data-api",tm=`activate${Kn}`,to=`click${Kn}`,rm=`load${Kn}${em}`,sm="dropdown-item",dt="active",nm='[data-bs-spy="scroll"]',sn="[href]",im=".nav, .list-group",ro=".nav-link",om=".nav-item",am=".list-group-item",lm=`${ro}, ${om} > ${ro}, ${am}`,cm=".dropdown",um=".dropdown-toggle",hm={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},dm={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Bs extends me{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return hm}static get DefaultType(){return dm}static get NAME(){return Zp}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=$e(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(S.off(this._config.target,to),S.on(this._config.target,to,sn,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const s=this._rootElement||window,n=t.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:n,behavior:"smooth"});return}s.scrollTop=n}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(t(o))},n=(this._rootElement||document.documentElement).scrollTop,i=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!n)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=$.find(sn,this._config.target);for(const t of e){if(!t.hash||Be(t))continue;const s=$.findOne(decodeURI(t.hash),this._element);Vt(s)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,s))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(dt),this._activateParents(e),S.trigger(this._element,tm,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(sm)){$.findOne(um,e.closest(cm)).classList.add(dt);return}for(const t of $.parents(e,im))for(const s of $.prev(t,lm))s.classList.add(dt)}_clearActiveClass(e){e.classList.remove(dt);const t=$.find(`${sn}.${dt}`,e);for(const s of t)s.classList.remove(dt)}static jQueryInterface(e){return this.each(function(){const t=Bs.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}S.on(window,rm,()=>{for(const r of $.find(nm))Bs.getOrCreateInstance(r)});de(Bs);const fm="tab",pm="bs.tab",lt=`.${pm}`,mm=`hide${lt}`,gm=`hidden${lt}`,bm=`show${lt}`,vm=`shown${lt}`,Em=`click${lt}`,_m=`keydown${lt}`,Sm=`load${lt}`,wm="ArrowLeft",so="ArrowRight",Am="ArrowUp",no="ArrowDown",nn="Home",io="End",Ge="active",oo="fade",on="show",Tm="dropdown",Fa=".dropdown-toggle",Om=".dropdown-menu",an=`:not(${Fa})`,Cm='.list-group, .nav, [role="tablist"]',Lm=".nav-item, .list-group-item",Nm=`.nav-link${an}, .list-group-item${an}, [role="tab"]${an}`,$a='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ln=`${Nm}, ${$a}`,Rm=`.${Ge}[data-bs-toggle="tab"], .${Ge}[data-bs-toggle="pill"], .${Ge}[data-bs-toggle="list"]`;class $t extends me{constructor(e){super(e),this._parent=this._element.closest(Cm),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),S.on(this._element,_m,t=>this._keydown(t)))}static get NAME(){return fm}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),s=t?S.trigger(t,mm,{relatedTarget:e}):null;S.trigger(e,bm,{relatedTarget:t}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Ge),this._activate($.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(on);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),S.trigger(e,vm,{relatedTarget:t})};this._queueCallback(s,e,e.classList.contains(oo))}_deactivate(e,t){if(!e)return;e.classList.remove(Ge),e.blur(),this._deactivate($.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(on);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),S.trigger(e,gm,{relatedTarget:t})};this._queueCallback(s,e,e.classList.contains(oo))}_keydown(e){if(![wm,so,Am,no,nn,io].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(n=>!Be(n));let s;if([nn,io].includes(e.key))s=t[e.key===nn?0:t.length-1];else{const n=[so,no].includes(e.key);s=jn(t,e.target,n,!0)}s&&(s.focus({preventScroll:!0}),$t.getOrCreateInstance(s).show())}_getChildren(){return $.find(ln,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const s of t)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),s=this._getOuterElement(e);e.setAttribute("aria-selected",t),s!==e&&this._setAttributeIfNotExists(s,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=$.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const s=this._getOuterElement(e);if(!s.classList.contains(Tm))return;const n=(i,o)=>{const a=$.findOne(i,s);a&&a.classList.toggle(o,t)};n(Fa,Ge),n(Om,on),s.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,s){e.hasAttribute(t)||e.setAttribute(t,s)}_elemIsActive(e){return e.classList.contains(Ge)}_getInnerElement(e){return e.matches(ln)?e:$.findOne(ln,e)}_getOuterElement(e){return e.closest(Lm)||e}static jQueryInterface(e){return this.each(function(){const t=$t.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}S.on(document,Em,$a,function(r){["A","AREA"].includes(this.tagName)&&r.preventDefault(),!Be(this)&&$t.getOrCreateInstance(this).show()});S.on(window,Sm,()=>{for(const r of $.find(Rm))$t.getOrCreateInstance(r)});de($t);const Im="toast",km="bs.toast",We=`.${km}`,Mm=`mouseover${We}`,Pm=`mouseout${We}`,Dm=`focusin${We}`,xm=`focusout${We}`,Fm=`hide${We}`,$m=`hidden${We}`,Bm=`show${We}`,Hm=`shown${We}`,Vm="fade",ao="hide",kr="show",Mr="showing",qm={animation:"boolean",autohide:"boolean",delay:"number"},jm={animation:!0,autohide:!0,delay:5e3};class yr extends me{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return jm}static get DefaultType(){return qm}static get NAME(){return Im}show(){if(S.trigger(this._element,Bm).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Vm);const t=()=>{this._element.classList.remove(Mr),S.trigger(this._element,Hm),this._maybeScheduleHide()};this._element.classList.remove(ao),gr(this._element),this._element.classList.add(kr,Mr),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||S.trigger(this._element,Fm).defaultPrevented)return;const t=()=>{this._element.classList.add(ao),this._element.classList.remove(Mr,kr),S.trigger(this._element,$m)};this._element.classList.add(Mr),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(kr),super.dispose()}isShown(){return this._element.classList.contains(kr)}_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;break}}if(t){this._clearTimeout();return}const s=e.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){S.on(this._element,Mm,e=>this._onInteraction(e,!0)),S.on(this._element,Pm,e=>this._onInteraction(e,!1)),S.on(this._element,Dm,e=>this._onInteraction(e,!0)),S.on(this._element,xm,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}xs(yr);de(yr);class Wm extends W{connect(){"content"in document.createElement("template")||console.warn("Your browser does not support