UNPKG

laravel-jstools

Version:

JS tools for building front-side of Laravel applications

1 lines 113 kB
(()=>{var e,t,n,i,s={5692:()=>{const e=document.querySelectorAll(".dropdown-toggle");e.length&&e.forEach((e=>new Dropdown(e,{popperConfig:e=>{const t=e.modifiers.find((({name:e})=>"preventOverflow"===e));return t.options={...t.options,altAxis:!0},e}})))},258:(e,t,n)=>{"use strict";function i(e){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()}n.d(t,{Z:()=>i})},7617:(e,t,n)=>{"use strict";let i,s,o;function r(e,t,...n){const r=t.right-t.left,a=t.bottom-t.top;if(null===o||i!==r||s!==a){i=r,s=a,o=e.createLinearGradient(0,0,0,s);for(let e=0;e<n.length;e++)o.addColorStop(.5*e,n[e])}return o}n.d(t,{Z:()=>r})},3646:(e,t,n)=>{"use strict";function i(e){let t=[];for(;e=e.nextElementSibling;)t.push(e);return t}n.d(t,{Z:()=>i})},2233:(e,t,n)=>{"use strict";function i(e){let t=[];for(;e=e.previousElementSibling;)t.push(e);return t}n.d(t,{Z:()=>i})},3517:(e,t,n)=>{"use strict";function i(e,t,n){var i=e.indexOf(t)+t.length;return e.substring(i,e.indexOf(n,i))}n.d(t,{Z:()=>i})},8939:()=>{"use strict";const e=document.querySelectorAll("[data-toggle-password]");e.length&&e.forEach((e=>{const t=e.closest(".input-group").querySelector("[data-toggle-password-input]");e.addEventListener("click",(()=>{"password"==t.type?(t.setAttribute("type","text"),e.classList.add("pw-hidden")):(e.classList.remove("pw-hidden"),t.setAttribute("type","password"))}))}))},2106:()=>{"use strict";const e=document.querySelectorAll('[data-toggle="tabLink"]');e.length&&e.forEach((e=>{e.addEventListener("click",(e=>{e.preventDefault(),document.querySelector(`[data-bs-target="${e.target.hash}"]`).click()}))}))},8290:()=>{"use strict";let e=document.getElementById("checkAllCheckboxes");e&&(e.addEventListener("change",(e=>{document.querySelectorAll(".form-check-input").forEach((t=>{t.checked=e.target.checked}))})),document.querySelectorAll("tbody .form-check-input").forEach((t=>{t.addEventListener("change",(()=>{const t=document.querySelectorAll("tbody .form-check-input").length,n=document.querySelectorAll("tbody .form-check-input:checked").length;t==n&&(e.indeterminate=!1,e.checked=!0),t>n&&n>=1&&(e.indeterminate=!0),0==n&&(e.indeterminate=!1,e.checked=!1)}))})))},4931:()=>{"use strict";const e=document.querySelectorAll('[data-bs-toggle="tooltip"]');e.length&&e.forEach((e=>{new Tooltip(e)}))},4748:()=>{"use strict";const e=document.querySelectorAll(".needs-validation");e.length&&e.forEach((e=>{e.addEventListener("submit",(t=>{e.checkValidity()||(t.preventDefault(),t.stopPropagation()),e.classList.add("was-validated")}),!1)}))},5078:(e,t,n)=>{"use strict";document.querySelector("[data-clipboard-target]")&&n.e(997).then(n.t.bind(n,2152,23)).then((({default:e})=>{new e(".clipboard").on("success",(e=>{let t=e.trigger;e.clearSelection();let n=Tooltip.getInstance(t);n.setContent({".tooltip-inner":"Copied!"}),setTimeout((()=>{n.hide(),n.setContent({".tooltip-inner":t.dataset.bsTitle})}),1e3)})),window.ClipboardJS=e})).catch(console.warn)},6752:(e,t,n)=>{"use strict";const i=document.querySelectorAll("[data-sortable]");i.length&&n.e(483).then(n.t.bind(n,7137,23)).then((({default:e})=>{i.forEach((t=>{let n=t.dataset.sortable,s=t.dataset.sortableOptions?JSON.parse(t.dataset.sortableOptions):{},o=[];if(n){n=JSON.parse(n);for(let e=0;e<n.length;e++)o.push(document.querySelector("#"+n[e]))}else o=[i[0]];e(o,s)})),window.Dragula=e})).catch(console.warn)},7517:(e,t,n)=>{"use strict";const i=document.querySelectorAll("[data-dropzone]");i.length&&n.e(650).then(n.bind(n,247)).then((({default:e})=>{e.autoDiscover=!1;i.forEach((t=>{const n={...{url:"https://webinning.co.uk/dashly/upload.php",previewTemplate:'\n <form class="form" enctype="multipart/form-data">\n <div class="dz-preview dz-file-preview">\n <div class="dz-details d-flex mb-1">\n <img class="dz-image img-fluid" data-dz-thumbnail>\n <div class="dz-file-wrapper text-start w-100">\n <p class="dz-filename mb-0 fs-4">\n <span data-dz-name></span> (<span class="dz-size fs-6" data-dz-size></span>)\n </p>\n </div>\n </div>\n <div class="d-flex justify-content-between align-items-center h-20px">\n <div class="dz-progress progress w-100">\n <div class="dz-upload progress-bar bg-success" role="progressbar" style="width: 0" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" data-dz-uploadprogress></div>\n </div>\n <div class="ms-3">\n <div class="dz-success-mark text-success">\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="16" width="16"><path d="M12,0A12,12,0,1,0,24,12,12,12,0,0,0,12,0Zm6.93,8.2-6.85,9.29a1,1,0,0,1-1.43.19L5.76,13.77a1,1,0,0,1-.15-1.41A1,1,0,0,1,7,12.21l4.08,3.26L17.32,7a1,1,0,0,1,1.39-.21A1,1,0,0,1,18.93,8.2Z" style="fill: currentColor"/></svg> \n </div>\n <div class="dz-error-mark text-danger" data-bs-toggle="tooltip" title="data-dz-errormessage">\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="16" width="16"><path d="M12,0A12.24,12.24,0,0,0,3.47,3.65,11.85,11.85,0,0,0,0,12.21,11.78,11.78,0,0,0,11.8,24H12A12.11,12.11,0,0,0,24,11.79h0A11.77,11.77,0,0,0,12,0ZM10.5,16.54A1.48,1.48,0,0,1,12,15h0a1.53,1.53,0,0,1,1.52,1.47A1.47,1.47,0,0,1,12.05,18h0A1.53,1.53,0,0,1,10.5,16.54Zm.5-4v-6a1,1,0,0,1,2,0v6a1,1,0,0,1-2,0Z" style="fill: currentColor"/></svg>\n </div>\n </div>\n </div>\n </div>\n </form>',uploadMultiple:!0,autoProcessQueue:!0},...t.dataset.dropzone?JSON.parse(t.dataset.dropzone):{}};let i=document.querySelector("[data-upload-files]"),s=document.querySelector("[data-cancel-files]");const o=new e(t,n);o.on("addedfile",(e=>{t.querySelector(".dz-message").style.display="none"})),o.on("removedfile",(e=>{t.querySelector(".dz-message").style.display="block"})),o.on("error",((e,n)=>{const i=t.querySelectorAll(".dz-preview .dz-error-mark");i.length&&i.forEach((e=>{let t=new Tooltip(e);e.title=n,t=new Tooltip(e)}))})),o.on("complete",((e,t)=>{setTimeout((()=>{s&&s.click()}),2e3)})),i&&i.addEventListener("click",(e=>{e.preventDefault(),o.processQueue()})),s&&s.addEventListener("click",(e=>{e.preventDefault(),o.removeAllFiles(!0)}))})),window.Dropzone=e})).catch(console.warn)},6001:(e,t,n)=>{"use strict";const i=document.querySelectorAll("[data-flatpickr]");i.length&&n.e(694).then(n.bind(n,8527)).then((({default:e})=>{i.forEach((t=>{const n=t.dataset.flatpickr?JSON.parse(t.dataset.flatpickr):{},i={...{dateFormat:"m/d/Y",defaultHour:(new Date).getHours(),defaultMinute:(new Date).getMinutes(),prevArrow:'<svg height="9" height="9" class="fill-transparent" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;fill-rule:evenodd;}</style></defs><title>arrow-left-1</title><path class="cls-1" d="M16.25,23.25,5.53,12.53a.749.749,0,0,1,0-1.06L16.25.75"/></svg>',nextArrow:'<svg height="9" height="9" class="fill-transparent" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;fill-rule:evenodd;}</style></defs><title>arrow-right-1</title><path class="cls-1" d="M5.5.75,16.22,11.47a.749.749,0,0,1,0,1.06L5.5,23.25"/></svg>'},...n};e(t,i)})),window.Flatpickr=e})).catch(console.warn)},7143:(e,t,n)=>{"use strict";const i=document.getElementById("fullcalendar");i&&(async()=>{const{Calendar:e}=await n.e(773).then(n.bind(n,9665)),[{default:t},{default:s},{default:o},{default:r,Draggable:a},{default:l},{default:c},d]=await Promise.all([n.e(580).then(n.bind(n,8658)),n.e(842).then(n.bind(n,1996)),n.e(689).then(n.bind(n,9563)),n.e(756).then(n.bind(n,6842)),n.e(613).then(n.bind(n,2042)),n.e(230).then(n.t.bind(n,381,23)),n.e(383).then(n.bind(n,8840))]);let u=document.getElementById("draggable"),h=document.getElementById("eventModal"),p=h&&new Modal(h),f=document.getElementById("eventModalTitle"),m=document.getElementById("eventForm"),g=document.getElementById("eventName"),b=document.getElementById("startDate"),_=document.getElementById("startTime"),v=document.getElementById("endDate"),y=document.getElementById("endTime"),w=document.getElementById("location"),E=document.getElementById("description"),A=document.getElementById("allDayEvent"),k=document.getElementById("eventType"),T=document.getElementById("btnSaveEvent"),C=document.getElementById("btnDeleteEvent"),x=document.getElementById("btnAddEvent"),O=null,D=c().startOf("day"),S=D.clone().subtract(1,"day").format("YYYY-MM-DD"),L=D.format("YYYY-MM-DD"),I=(D.clone().add(1,"day").format("YYYY-MM-DD"),D.format("YYYY-MM")),M=null,N=new e(i,{themeSystem:"bootstrap5",plugins:[t,s,o,r,l],initialView:"dayGridMonth",contentHeight:"100%",headerToolbar:{left:"prev,next customToday",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"},buttonText:{today:"Today",month:"Month",week:"Week",day:"Day",list:"List",prev:"Prev",next:"Next"},customButtons:{customToday:{text:"Today",click:()=>{N.today()}}},viewDidMount:()=>{i.querySelector(".fc-customToday-button").classList.add("btn-light")},eventClick:e=>{h&&j(e)},slotDuration:"00:15:00",slotMinTime:"08:00:00",slotMaxTime:"19:00:00",editable:!0,droppable:!0,dayMaxEvents:!0,events:[{id:d.setID(),title:"Interview",start:I+"05T10:30:00",end:I+"05T13:30:00",className:"bg-info",location:"Room 127",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:d.setID(),title:"Team building trip",start:I+"15",end:I+"18",className:"bg-success",location:"Florida",description:"Integer ullamcorper metus sed urna laoreet, sed convallis leo pretium"},{id:d.setID(),title:"Team meeting",start:I+"25T13:15:00",end:I+"25T15:00:00",classNames:"bg-warning",location:"Conference room",description:"Maecenas aliquam lectus ut nibh gravida egestas"},{id:d.setID(),title:"Seminarium",start:L,allDay:!0,className:"bg-success",location:"Hall",description:"Mauris eu massa ac mauris dapibus consequat a at quam"},{id:d.setID(),title:"Front-End Interview",start:S+"T09:00:00",end:S+"T10:15:00",location:"Room 201",description:"Ut facilisis odio at lectus ultricies mattis. Morbi a arcu rhoncus ligula lobortis aliquet a in est"},{id:d.setID(),title:"Meeting",start:S+"T10:30:00",end:S+"T11:30:00",className:"bg-success",location:"Office",description:"Nunc quis augue non odio porttitor mattis"},{id:d.setID(),title:"Lunch",start:S+"T12:00:00",end:S+"T12:40:00",className:"bg-success",location:"Diner",description:"Nam finibus felis hendrerit nibh vestibulum, vitae pellentesque leo sodales"},{id:d.setID(),title:"Scheduled server maintenance",start:I+"27",end:I+"29",className:"bg-danger",description:"Vestibulum maximus enim hendrerit molestie elementum"}]});N.render(),u&&new a(u,{itemSelector:".fc-event",eventData:e=>({title:e.innerText,className:e.dataset.class})});let j=e=>{O=e.event,M=O?O.id:"",m.reset(),m.classList.remove("was-validated"),C.style.display="block",f.textContent="Edit Event",p.show(),g.value=O.title,k.value=O.classNames[0],O.extendedProps.location&&(w.value=O.extendedProps.location),O.extendedProps.description&&(E.value=O.extendedProps.description),O.start&&(b.value=c(O.start).format("MM/DD/YYYY")),O.start&&(_.value=c(O.start).format("HH:mm")),O.end&&(v.value=c(O.end).format("MM/DD/YYYY")),O.end&&(y.value=c(O.end).format("HH:mm")),A.checked=O.allDay,P();let t=b._flatpickr,n=v._flatpickr,i=_._flatpickr,s=y._flatpickr,o=k.tomselect;t.setDate(b.value,!0),n.setDate(v.value,!0),i.setDate(_.value,!0),s.setDate(y.value,!0),o.sync()};h&&A.addEventListener("change",(e=>{P()}));let P=e=>{A.checked?_.parentNode.style.display="none":_.parentNode.style.display="block",A.checked?y.parentNode.style.display="none":y.parentNode.style.display="block"};function q(e){N.getEventById(e).remove()}h&&T.addEventListener("click",(e=>{e.preventDefault(),null!=M&&q(M),p.hide(),N.addEvent({id:d.setID(),title:g.value,start:c(new Date(b.value+" "+_.value)).toDate(),end:c(new Date(v.value+" "+y.value)).toDate(),allDay:A.checked,className:k.value||"bg-success",location:w.value,description:E.value}),N.render(),m.reset(),P()})),h&&x.addEventListener("click",(e=>{e.preventDefault(),(e=>{m.reset(),m.classList.remove("was-validated"),C.style.display="none",f.textContent="Add New Event",b.value=c().format("MM/DD/YYYY"),v.value=c().format("MM/DD/YYYY"),_.value=c().format("HH:mm"),y.value=c().format("HH:mm"),M=null;let t=b._flatpickr,n=v._flatpickr,i=_._flatpickr,s=y._flatpickr;t.setDate(b.value,!0),n.setDate(v.value,!0),i.setDate(_.value,!0),s.setDate(y.value,!0)})()})),h&&C.addEventListener("click",(e=>{e.preventDefault(),null!=M&&q(M)}))})();const s=document.getElementById("fullcalendarSimple");s&&(async()=>{const{Calendar:e}=await n.e(773).then(n.bind(n,9665)),[{default:t},{default:i},{default:o},{default:r,Draggable:a},{default:l},{default:c},d]=await Promise.all([n.e(580).then(n.bind(n,8658)),n.e(842).then(n.bind(n,1996)),n.e(689).then(n.bind(n,9563)),n.e(756).then(n.bind(n,6842)),n.e(613).then(n.bind(n,2042)),n.e(230).then(n.t.bind(n,381,23)),n.e(383).then(n.bind(n,8840))]);let u=c().startOf("day").format("YYYY-MM"),h=new e(s,{themeSystem:"bootstrap5",plugins:[t,l],initialView:"dayGridMonth",headerToolbar:{left:null,center:"title",right:"prev,next customToday"},buttonText:{today:"Today",prev:"Prev",next:"Next"},customButtons:{customToday:{text:"Today",click:()=>{h.today()}}},events:[{title:"Interview",start:u+"05T10:30:00",end:u+"05T13:30:00",className:"bg-primary"}]});h.render()})();const o=document.getElementById("fullcalendarDraggable");o&&(async()=>{const{Calendar:e}=await n.e(773).then(n.bind(n,9665)),[{default:t},{default:i},{default:s},{default:r,Draggable:a},{default:l},{default:c},d]=await Promise.all([n.e(580).then(n.bind(n,8658)),n.e(842).then(n.bind(n,1996)),n.e(689).then(n.bind(n,9563)),n.e(756).then(n.bind(n,6842)),n.e(613).then(n.bind(n,2042)),n.e(230).then(n.t.bind(n,381,23)),n.e(383).then(n.bind(n,8840))]);let u=c().startOf("day"),h=u.clone().subtract(1,"day").format("YYYY-MM-DD"),p=u.format("YYYY-MM-DD"),f=(u.clone().add(1,"day").format("YYYY-MM-DD"),u.format("YYYY-MM")),m=new e(o,{themeSystem:"bootstrap5",plugins:[t,r,l],initialView:"dayGridMonth",headerToolbar:{left:null,center:"title",right:"prev,next customToday"},buttonText:{today:"Today",prev:"Prev",next:"Next"},customButtons:{customToday:{text:"Today",click:()=>{m.today()}}},editable:!0,droppable:!0,events:[{id:d.setID(),title:"Interview",start:f+"05T10:30:00",end:f+"05T13:30:00",className:"bg-info",location:"Room 127",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:d.setID(),title:"Team building trip",start:f+"15",end:f+"18",className:"bg-success",location:"Florida",description:"Integer ullamcorper metus sed urna laoreet, sed convallis leo pretium"},{id:d.setID(),title:"Team meeting",start:f+"25T13:15:00",end:f+"25T15:00:00",classNames:"bg-warning",location:"Conference room",description:"Maecenas aliquam lectus ut nibh gravida egestas"},{id:d.setID(),title:"Seminarium",start:p,allDay:!0,className:"bg-success",location:"Hall",description:"Mauris eu massa ac mauris dapibus consequat a at quam"},{id:d.setID(),title:"Front-End Interview",start:h+"T09:00:00",end:h+"T10:15:00",location:"Room 201",description:"Ut facilisis odio at lectus ultricies mattis. Morbi a arcu rhoncus ligula lobortis aliquet a in est"},{id:d.setID(),title:"Meeting",start:h+"T10:30:00",end:h+"T11:30:00",className:"bg-success",location:"Office",description:"Nunc quis augue non odio porttitor mattis"},{id:d.setID(),title:"Lunch",start:h+"T12:00:00",end:h+"T12:40:00",className:"bg-success",location:"Diner",description:"Nam finibus felis hendrerit nibh vestibulum, vitae pellentesque leo sodales"},{id:d.setID(),title:"Scheduled server maintenance",start:f+"27",end:f+"29",className:"bg-danger",description:"Vestibulum maximus enim hendrerit molestie elementum"}]});m.render()})()},9723:(e,t,n)=>{"use strict";const i=document.querySelector("[data-scrollspy]");i&&n.e(539).then(n.t.bind(n,9178,23)).then((({default:e})=>{new e("[data-scrollspy] a",{reflow:!0,...i.dataset.scrollspy?JSON.parse(i.dataset.scrollspy):{}}),window.Gumshoe=e})).catch(console.warn)},2040:(e,t,n)=>{"use strict";const i=document.querySelectorAll(".highlight");i.length&&Promise.all([n.e(399).then(n.bind(n,5286)),n.e(191).then(n.bind(n,1042)),n.e(341).then(n.bind(n,9622)),n.e(248).then(n.bind(n,5010)),n.e(482).then(n.bind(n,2756)),n.e(7).then(n.bind(n,6167))]).then((([{default:e},{default:t},{default:s},{default:o},{default:r},{default:a}])=>{e.registerLanguage("html",t),e.registerLanguage("javascript",s),e.registerLanguage("scss",o),e.registerLanguage("handlebars",r),e.registerLanguage("bash",a),i.forEach((t=>{e.highlightElement(t)})),n.e(496).then(n.t.bind(n,5241,23)).then((()=>{e.initLineNumbersOnLoad()})).catch(console.warn),window.hljs=e})).catch(console.warn)},5835:(e,t,n)=>{"use strict";const i=document.querySelectorAll("[data-inputmask]");i.length&&n.e(522).then(n.t.bind(n,5382,23)).then((({default:e})=>{e().mask(i),window.Inputmask=e})).catch(console.warn)},3493:(e,t,n)=>{"use strict";const i=document.querySelectorAll("[data-list]"),s=document.querySelectorAll("[data-sort]");i.length&&n.e(93).then(n.t.bind(n,3709,23)).then((({default:e})=>{const t=t=>{const n=t.dataset.list?JSON.parse(t.dataset.list):{},i=t.querySelectorAll(".list-pagination"),s=t.querySelector(".list-pagination-pages"),o=t.querySelector(".list-pagination-prev"),r=t.querySelector(".list-pagination-next"),a=t.querySelector(".list-pagination-page-first"),l=t.querySelector(".list-pagination-page-last"),c={...{fuzzySearch:{searchClass:"list-fuzzy-search"},pagination:i.length?{item:'<li class="page-item"><a class="page page-link" href="javascript: void(0);"></a></li>'}:void 0,listClass:"list",sortClass:"list-sort",searchClass:"list-search"},...n},d=new e(t,c);a&&(a.innerHTML=d.i),l&&(l.innerHTML=d.page),s&&(s.innerHTML=d.size()),i.length&&i.forEach((e=>{(e=>{d.matchingItems.length<=d.page?e.style.display="none":e.style.display="flex"})(e),e.addEventListener("click",(e=>{e.preventDefault()}))})),o&&o.addEventListener("click",(e=>{e.preventDefault();const t=parseInt(d.i)-parseInt(d.page);1===t?o.setAttribute("disabled",""):o.removeAttribute("disabled"),r&&r.removeAttribute("disabled"),t>0&&d.show(t,d.page)})),r&&(d.size()>d.page&&r.removeAttribute("disabled"),r.addEventListener("click",(e=>{e.preventDefault();const t=parseInt(d.i)+parseInt(d.page);t+d.page>d.size()?r.setAttribute("disabled",""):r.removeAttribute("disabled"),o&&o.removeAttribute("disabled"),t<=d.size()&&d.show(t,d.page)}))),d.on("updated",(()=>{const e=parseInt(d.i);a&&(a.innerHTML=e),l&&(l.innerHTML=e+parseInt(d.page)-1>d.size()?d.size():e+parseInt(d.page)-1)}))};i.forEach((e=>{t(e)})),s.length&&s.forEach((e=>{e.addEventListener("click",(e=>{e.preventDefault()}))})),window.List=e})).catch(console.warn)},4690:(e,t,n)=>{"use strict";const i=document.querySelectorAll("[data-emoji-picker]"),s=document.querySelectorAll("[data-emoji-popup]");function o(e,t=document.activeElement){const[n,i]=[t.selectionStart,t.selectionEnd];t.setRangeText(e,n,i,"end")}i.length&&n.e(416).then(n.bind(n,7741)).then((({createPicker:e})=>{i.forEach((t=>{const n=new e({rootElement:t,emojiSize:"1.75rem"});let i=document.querySelector(t.dataset.emojiTarget);i&&n.addEventListener("emoji:select",(e=>{o(e.emoji,i),i.focus()}))}))})).catch(console.warn),s.length&&Promise.all([n.e(840).then(n.bind(n,6921)),n.e(416).then(n.bind(n,7741))]).then((([{createPopup:e}])=>{s.forEach((t=>{const n=new e({emojiSize:"1.75rem"},{referenceElement:t,triggerElement:t,showCloseButton:!1,position:"top-start",className:"emoji-popup"});let i=document.querySelector(t.dataset.emojiTarget);i&&(n.addEventListener("emoji:select",(e=>{o(e.emoji,i),i.focus()})),t.addEventListener("click",(()=>{n.toggle(t)})))}))})).catch(console.warn)},5719:(e,t,n)=>{"use strict";const i=document.querySelectorAll("[data-quill]");i.length&&n.e(125).then(n.t.bind(n,6095,23)).then((({default:e})=>{i.forEach((t=>{const n={theme:"snow",modules:{toolbar:[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline"],["link","blockquote","image"],[{list:"ordered"},{list:"bullet"}]]},...t.dataset.quill?JSON.parse(t.dataset.quill):{}};new e(t,n)})),window.Quill=e})).catch(console.warn)},9499:(e,t,n)=>{"use strict";const i=document.querySelectorAll("[data-zxcvbn]");i.length&&n.e(923).then(n.t.bind(n,1322,23)).then((({default:e})=>{i.forEach((t=>{const n={ratings:["Very weak","Weak","OK","Strong","Very strong"],allProgressBarClasses:["bg-danger","bg-warning","bg-success"],progressBarClasses:["bg-danger","bg-danger","bg-warning","bg-success","bg-success"],...t.dataset.zxcvbn?JSON.parse(t.dataset.zxcvbn):{}},i=document.querySelector(n.input),s=document.querySelector(n.text);function o(){if(i.value){let o=e(i.value,[]),r=20*(o.score+1);t.style.width=r+"%",s.innerHTML=n.ratings[o.score],s.style.marginLeft=".5rem",t.classList.remove(...n.allProgressBarClasses),t.classList.add(n.progressBarClasses[o.score])}else t.style.width="0%",s.innerHTML="",s.style.marginLeft=0,t.classList.remove(...n.allProgressBarClasses)}o(),i.addEventListener("keyup",(e=>{o()}))}))})).catch(console.warn)}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return s[e].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}r.m=s,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var s=Object.create(null);r.r(s);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>o[e]=()=>n[e]));return o.default=()=>n,r.d(s,o),s},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,n)=>(r.f[n](e,t),t)),[])),r.u=e=>"./assets/js/"+{7:"highlightjs-bash",82:"jsvectormap",93:"list",125:"quill",191:"highlightjs-xml",230:"moment",248:"highlightjs-scss",341:"highlightjs-javascript",383:"helpers",399:"highlightjs",416:"picmo",427:"chart.js",462:"tom-select",482:"highlightjs-handlebars",483:"dragula",496:"highlightjs-linenumbers",522:"inputmask",539:"gumshoe",580:"fullcalendar.daygrid",613:"fullcalendar.bootstrap5",650:"dropzone",689:"fullcalendar.list",694:"flatpickr",756:"fullcalendar.interaction",773:"fullcalendar.core",840:"picmo.popup-picker",842:"fullcalendar.timegrid",923:"zxcvbn",997:"clipboard"}[e]+".bundle.js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},i="dashly:",r.l=(e,t,s,o)=>{if(n[e])n[e].push(t);else{var a,l;if(void 0!==s)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==i+s){a=u;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",i+s),a.src=e),n[e]=[t];var h=(t,i)=>{a.onerror=a.onload=null,clearTimeout(p);var s=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),s&&s.forEach((e=>e(i))),t)return t(i)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),l&&document.head.appendChild(a)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../../"})(),(()=>{r.b=document.baseURI||self.location.href;var e={505:0};r.f.j=(t,n)=>{var i=r.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var s=new Promise(((n,s)=>i=e[t]=[n,s]));n.push(i[2]=s);var o=r.p+r.u(t),a=new Error;r.l(o,(n=>{if(r.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var s=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+s+": "+o+")",a.name="ChunkLoadError",a.type=s,a.request=o,i[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var i,s,[o,a,l]=n,c=0;if(o.some((t=>0!==e[t]))){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(l)l(r)}for(t&&t(n);c<o.length;c++)s=o[c],r.o(e,s)&&e[s]&&e[s][0](),e[s]=0},n=self.webpackChunkdashly=self.webpackChunkdashly||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";if(document.getElementById("offcanvasCustomize")&&"undefined"!=typeof themeConfig){Object.keys(themeConfig).forEach((e=>{null===localStorage.getItem(e)&&(localStorage[e]=themeConfig[e])}));const t=document.querySelectorAll("[data-theme-control]"),n=document.getElementById("resetThemeConfig"),i=document.getElementById("previewThemeConfig");t.forEach((e=>{let t=e.dataset.themeControl;"radio"==e.type?e.checked=e.value==localStorage.getItem(t):e.checked="true"===localStorage.getItem(t),e.addEventListener("change",(n=>{localStorage[t]="radio"==e.type?n.target.value:n.target.checked}))})),n.addEventListener("click",(t=>{Object.keys(themeConfig).forEach((t=>{localStorage[t]=themeConfig[t],e()}))})),i.addEventListener("click",(t=>{e()}))}function e(){window.location=window.location.pathname}})(),(()=>{"use strict";var e={};r.r(e),r.d(e,{afterMain:()=>w,afterRead:()=>_,afterWrite:()=>k,applyStyles:()=>L,arrow:()=>Q,auto:()=>o,basePlacements:()=>a,beforeMain:()=>v,beforeRead:()=>g,beforeWrite:()=>E,bottom:()=>n,clippingParents:()=>d,computeStyles:()=>te,createPopper:()=>Le,createPopperBase:()=>Se,createPopperLite:()=>Ie,detectOverflow:()=>be,end:()=>c,eventListeners:()=>ie,flip:()=>_e,hide:()=>we,left:()=>s,main:()=>y,modifierPhases:()=>T,offset:()=>Ee,placements:()=>m,popper:()=>h,popperGenerator:()=>De,popperOffsets:()=>Ae,preventOverflow:()=>ke,read:()=>b,reference:()=>p,right:()=>i,start:()=>l,top:()=>t,variationPlacements:()=>f,viewport:()=>u,write:()=>A});var t="top",n="bottom",i="right",s="left",o="auto",a=[t,n,i,s],l="start",c="end",d="clippingParents",u="viewport",h="popper",p="reference",f=a.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+c])}),[]),m=[].concat(a,[o]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+c])}),[]),g="beforeRead",b="read",_="afterRead",v="beforeMain",y="main",w="afterMain",E="beforeWrite",A="write",k="afterWrite",T=[g,b,_,v,y,w,E,A,k];function C(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function O(e){return e instanceof x(e).Element||e instanceof Element}function D(e){return e instanceof x(e).HTMLElement||e instanceof HTMLElement}function S(e){return"undefined"!=typeof ShadowRoot&&(e instanceof x(e).ShadowRoot||e instanceof ShadowRoot)}const L={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},s=t.elements[e];D(s)&&C(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],s=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});D(i)&&C(i)&&(Object.assign(i.style,o),Object.keys(s).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function I(e){return e.split("-")[0]}var M=Math.max,N=Math.min,j=Math.round;function P(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function q(){return!/^((?!chrome|android).)*safari/i.test(P())}function B(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&D(e)&&(s=e.offsetWidth>0&&j(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&j(i.height)/e.offsetHeight||1);var r=(O(e)?x(e):window).visualViewport,a=!q()&&n,l=(i.left+(a&&r?r.offsetLeft:0))/s,c=(i.top+(a&&r?r.offsetTop:0))/o,d=i.width/s,u=i.height/o;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function z(e){var t=B(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function $(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&S(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function H(e){return x(e).getComputedStyle(e)}function Y(e){return["table","td","th"].indexOf(C(e))>=0}function F(e){return((O(e)?e.ownerDocument:e.document)||window.document).documentElement}function W(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(S(e)?e.host:null)||F(e)}function R(e){return D(e)&&"fixed"!==H(e).position?e.offsetParent:null}function V(e){for(var t=x(e),n=R(e);n&&Y(n)&&"static"===H(n).position;)n=R(n);return n&&("html"===C(n)||"body"===C(n)&&"static"===H(n).position)?t:n||function(e){var t=/firefox/i.test(P());if(/Trident/i.test(P())&&D(e)&&"fixed"===H(e).position)return null;var n=W(e);for(S(n)&&(n=n.host);D(n)&&["html","body"].indexOf(C(n))<0;){var i=H(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function U(e,t,n){return M(e,N(t,n))}function J(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function K(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var o,r=e.state,l=e.name,c=e.options,d=r.elements.arrow,u=r.modifiersData.popperOffsets,h=I(r.placement),p=Z(h),f=[s,i].indexOf(h)>=0?"height":"width";if(d&&u){var m=function(e,t){return J("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:K(e,a))}(c.padding,r),g=z(d),b="y"===p?t:s,_="y"===p?n:i,v=r.rects.reference[f]+r.rects.reference[p]-u[p]-r.rects.popper[f],y=u[p]-r.rects.reference[p],w=V(d),E=w?"y"===p?w.clientHeight||0:w.clientWidth||0:0,A=v/2-y/2,k=m[b],T=E-g[f]-m[_],C=E/2-g[f]/2+A,x=U(k,C,T),O=p;r.modifiersData[l]=((o={})[O]=x,o.centerOffset=x-C,o)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&$(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function X(e){return e.split("-")[1]}var G={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var o,r=e.popper,a=e.popperRect,l=e.placement,d=e.variation,u=e.offsets,h=e.position,p=e.gpuAcceleration,f=e.adaptive,m=e.roundOffsets,g=e.isFixed,b=u.x,_=void 0===b?0:b,v=u.y,y=void 0===v?0:v,w="function"==typeof m?m({x:_,y}):{x:_,y};_=w.x,y=w.y;var E=u.hasOwnProperty("x"),A=u.hasOwnProperty("y"),k=s,T=t,C=window;if(f){var O=V(r),D="clientHeight",S="clientWidth";if(O===x(r)&&"static"!==H(O=F(r)).position&&"absolute"===h&&(D="scrollHeight",S="scrollWidth"),l===t||(l===s||l===i)&&d===c)T=n,y-=(g&&O===C&&C.visualViewport?C.visualViewport.height:O[D])-a.height,y*=p?1:-1;if(l===s||(l===t||l===n)&&d===c)k=i,_-=(g&&O===C&&C.visualViewport?C.visualViewport.width:O[S])-a.width,_*=p?1:-1}var L,I=Object.assign({position:h},f&&G),M=!0===m?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:j(t*i)/i||0,y:j(n*i)/i||0}}({x:_,y}):{x:_,y};return _=M.x,y=M.y,p?Object.assign({},I,((L={})[T]=A?"0":"",L[k]=E?"0":"",L.transform=(C.devicePixelRatio||1)<=1?"translate("+_+"px, "+y+"px)":"translate3d("+_+"px, "+y+"px, 0)",L)):Object.assign({},I,((o={})[T]=A?y+"px":"",o[k]=E?_+"px":"",o.transform="",o))}const te={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=void 0===i||i,o=n.adaptive,r=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:I(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ne={passive:!0};const ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,o=void 0===s||s,r=i.resize,a=void 0===r||r,l=x(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,ne)})),a&&l.addEventListener("resize",n.update,ne),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ne)})),a&&l.removeEventListener("resize",n.update,ne)}},data:{}};var se={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var re={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function le(e){var t=x(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(e){return B(F(e)).left+le(e).scrollLeft}function de(e){var t=H(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function ue(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:D(e)&&de(e)?e:ue(W(e))}function he(e,t){var n;void 0===t&&(t=[]);var i=ue(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=x(i),r=s?[o].concat(o.visualViewport||[],de(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(he(W(r)))}function pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fe(e,t,n){return t===u?pe(function(e,t){var n=x(e),i=F(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=q();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+ce(e),y:l}}(e,n)):O(t)?function(e,t){var n=B(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):pe(function(e){var t,n=F(e),i=le(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=M(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=M(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+ce(e),l=-i.scrollTop;return"rtl"===H(s||n).direction&&(a+=M(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(F(e)))}function me(e,t,n,i){var s="clippingParents"===t?function(e){var t=he(W(e)),n=["absolute","fixed"].indexOf(H(e).position)>=0&&D(e)?V(e):e;return O(n)?t.filter((function(e){return O(e)&&$(e,n)&&"body"!==C(e)})):[]}(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce((function(t,n){var s=fe(e,n,i);return t.top=M(s.top,t.top),t.right=N(s.right,t.right),t.bottom=N(s.bottom,t.bottom),t.left=M(s.left,t.left),t}),fe(e,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ge(e){var o,r=e.reference,a=e.element,d=e.placement,u=d?I(d):null,h=d?X(d):null,p=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2;switch(u){case t:o={x:p,y:r.y-a.height};break;case n:o={x:p,y:r.y+r.height};break;case i:o={x:r.x+r.width,y:f};break;case s:o={x:r.x-a.width,y:f};break;default:o={x:r.x,y:r.y}}var m=u?Z(u):null;if(null!=m){var g="y"===m?"height":"width";switch(h){case l:o[m]=o[m]-(r[g]/2-a[g]/2);break;case c:o[m]=o[m]+(r[g]/2-a[g]/2)}}return o}function be(e,s){void 0===s&&(s={});var o=s,r=o.placement,l=void 0===r?e.placement:r,c=o.strategy,f=void 0===c?e.strategy:c,m=o.boundary,g=void 0===m?d:m,b=o.rootBoundary,_=void 0===b?u:b,v=o.elementContext,y=void 0===v?h:v,w=o.altBoundary,E=void 0!==w&&w,A=o.padding,k=void 0===A?0:A,T=J("number"!=typeof k?k:K(k,a)),C=y===h?p:h,x=e.rects.popper,D=e.elements[E?C:y],S=me(O(D)?D:D.contextElement||F(e.elements.popper),g,_,f),L=B(e.elements.reference),I=ge({reference:L,element:x,strategy:"absolute",placement:l}),M=pe(Object.assign({},x,I)),N=y===h?M:L,j={top:S.top-N.top+T.top,bottom:N.bottom-S.bottom+T.bottom,left:S.left-N.left+T.left,right:N.right-S.right+T.right},P=e.modifiersData.offset;if(y===h&&P){var q=P[l];Object.keys(j).forEach((function(e){var s=[i,n].indexOf(e)>=0?1:-1,o=[t,n].indexOf(e)>=0?"y":"x";j[e]+=q[o]*s}))}return j}const _e={name:"flip",enabled:!0,phase:"main",fn:function(e){var r=e.state,c=e.options,d=e.name;if(!r.modifiersData[d]._skip){for(var u=c.mainAxis,h=void 0===u||u,p=c.altAxis,g=void 0===p||p,b=c.fallbackPlacements,_=c.padding,v=c.boundary,y=c.rootBoundary,w=c.altBoundary,E=c.flipVariations,A=void 0===E||E,k=c.allowedAutoPlacements,T=r.options.placement,C=I(T),x=b||(C===T||!A?[oe(T)]:function(e){if(I(e)===o)return[];var t=oe(e);return[ae(e),t,ae(t)]}(T)),O=[T].concat(x).reduce((function(e,t){return e.concat(I(t)===o?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=void 0===c?m:c,u=X(i),h=u?l?f:f.filter((function(e){return X(e)===u})):a,p=h.filter((function(e){return d.indexOf(e)>=0}));0===p.length&&(p=h);var g=p.reduce((function(t,n){return t[n]=be(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[I(n)],t}),{});return Object.keys(g).sort((function(e,t){return g[e]-g[t]}))}(r,{placement:t,boundary:v,rootBoundary:y,padding:_,flipVariations:A,allowedAutoPlacements:k}):t)}),[]),D=r.rects.reference,S=r.rects.popper,L=new Map,M=!0,N=O[0],j=0;j<O.length;j++){var P=O[j],q=I(P),B=X(P)===l,z=[t,n].indexOf(q)>=0,$=z?"width":"height",H=be(r,{placement:P,boundary:v,rootBoundary:y,altBoundary:w,padding:_}),Y=z?B?i:s:B?n:t;D[$]>S[$]&&(Y=oe(Y));var F=oe(Y),W=[];if(h&&W.push(H[q]<=0),g&&W.push(H[Y]<=0,H[F]<=0),W.every((function(e){return e}))){N=P,M=!1;break}L.set(P,W)}if(M)for(var R=function(e){var t=O.find((function(t){var n=L.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return N=t,"break"},V=A?3:1;V>0;V--){if("break"===R(V))break}r.placement!==N&&(r.modifiersData[d]._skip=!0,r.placement=N,r.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ve(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ye(e){return[t,i,n,s].some((function(t){return e[t]>=0}))}const we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=be(t,{elementContext:"reference"}),a=be(t,{altBoundary:!0}),l=ve(r,i),c=ve(a,s,o),d=ye(l),u=ye(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}};const Ee={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var n=e.state,o=e.options,r=e.name,a=o.offset,l=void 0===a?[0,0]:a,c=m.reduce((function(e,o){return e[o]=function(e,n,o){var r=I(e),a=[s,t].indexOf(r)>=0?-1:1,l="function"==typeof o?o(Object.assign({},n,{placement:e})):o,c=l[0],d=l[1];return c=c||0,d=(d||0)*a,[s,i].indexOf(r)>=0?{x:d,y:c}:{x:c,y:d}}(o,n.rects,l),e}),{}),d=c[n.placement],u=d.x,h=d.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=u,n.modifiersData.popperOffsets.y+=h),n.modifiersData[r]=c}};const Ae={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const ke={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var o=e.state,r=e.options,a=e.name,c=r.mainAxis,d=void 0===c||c,u=r.altAxis,h=void 0!==u&&u,p=r.boundary,f=r.rootBoundary,m=r.altBoundary,g=r.padding,b=r.tether,_=void 0===b||b,v=r.tetherOffset,y=void 0===v?0:v,w=be(o,{boundary:p,rootBoundary:f,padding:g,altBoundary:m}),E=I(o.placement),A=X(o.placement),k=!A,T=Z(E),C="x"===T?"y":"x",x=o.modifiersData.popperOffsets,O=o.rects.reference,D=o.rects.popper,S="function"==typeof y?y(Object.assign({},o.rects,{placement:o.placement})):y,L="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),j=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,P={x:0,y:0};if(x){if(d){var q,B="y"===T?t:s,$="y"===T?n:i,H="y"===T?"height":"width",Y=x[T],F=Y+w[B],W=Y-w[$],R=_?-D[H]/2:0,J=A===l?O[H]:D[H],K=A===l?-D[H]:-O[H],Q=o.elements.arrow,G=_&&Q?z(Q):{width:0,height:0},ee=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[B],ne=ee[$],ie=U(0,O[H],G[H]),se=k?O[H]/2-R-ie-te-L.mainAxis:J-ie-te-L.mainAxis,oe=k?-O[H]/2+R+ie+ne+L.mainAxis:K+ie+ne+L.mainAxis,re=o.elements.arrow&&V(o.elements.arrow),ae=re?"y"===T?re.clientTop||0:re.clientLeft||0:0,le=null!=(q=null==j?void 0:j[T])?q:0,ce=Y+oe-le,de=U(_?N(F,Y+se-le-ae):F,Y,_?M(W,ce):W);x[T]=de,P[T]=de-Y}if(h){var ue,he="x"===T?t:s,pe="x"===T?n:i,fe=x[C],me="y"===C?"height":"width",ge=fe+w[he],_e=fe-w[pe],ve=-1!==[t,s].indexOf(E),ye=null!=(ue=null==j?void 0:j[C])?ue:0,we=ve?ge:fe-O[me]-D[me]-ye+L.altAxis,Ee=ve?fe+O[me]+D[me]-ye-L.altAxis:_e,Ae=_&&ve?function(e,t,n){var i=U(e,t,n);return i>n?n:i}(we,fe,Ee):U(_?we:ge,fe,_?Ee:_e);x[C]=Ae,P[C]=Ae-fe}o.modifiersData[a]=P}},requiresIfExists:["offset"]};function Te(e,t,n){void 0===n&&(n=!1);var i,s,o=D(t),r=D(t)&&function(e){var t=e.getBoundingClientRect(),n=j(t.width)/e.offsetWidth||1,i=j(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=F(t),l=B(e,r,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!n)&&(("body"!==C(t)||de(a))&&(c=(i=t)!==x(i)&&D(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:le(i)),D(t)?((d=B(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):a&&(d.x=ce(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function Ce(e){var t=new Map,n=new Set,i=[];function s(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&s(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||s(e)})),i}var xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Oe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function De(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,s=t.defaultOptions,o=void 0===s?xe:s;return function(e,t,n){void 0===n&&(n=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:a,setOptions:function(n){var s="function"==typeof n?n(a.options):n;u(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:O(e)?he(e):e.contextElement?he(e.contextElement):[],popper:he(t)};var r=function(e){var t=Ce(e);return T.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(i,a.options.modifiers)));return a.orderedModifiers=r.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,s=e.effect;if("function"==typeof s){var o=s({state:a,name:t,instance:d,options:i}),r=function(){};l.push(o||r)}})),d.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Oe(t,n)){a.rects={reference:Te(t,V(n),"fixed"===a.options.strategy),popper:z(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],o=s.fn,r=s.options,l=void 0===r?{}:r,u=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:u,instance:d})||a)}else a.reset=!1,i=-1}}},update:(s=function(){return new Promise((function(e){d.forceUpdate(),e(a)}))},function(){return r||(r=new Promise((function(e){Promise.resolve().then((function(){r=void 0,e(s())}))}))),r}),destroy:function(){u(),c=!0}};if(!Oe(e,t))return d;function u(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var Se=De(),Le=De({defaultModifiers:[ie,Ae,te,L,Ee,_e,ke,Q,we]}),Ie=De({defaultModifiers:[ie,Ae,te,L]});const Me="transitionend",Ne=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},je=e=>{const t=Ne(e);return t&&document.querySelector(t)?t:null},Pe=e=>{const t=Ne(e);return t?document.querySelector(t):null},qe=e=>{e.dispatchEvent(new Event(Me))},Be=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),ze=e=>Be(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,$e=e=>{if(!Be(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},He=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),Ye=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Ye(e.parentNode):null},Fe=()=>{},We=e=>{e.offsetHeight},Re=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ve=[],Ze=()=>"rtl"===document.documentElement.dir,Ue=e=>{var t;t=()=>{const t=Re();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(Ve.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of Ve)e()})),Ve.push(t)):t()},Je=e=>{"function"==typeof e&&e()},Ke=(e,t,n=!0)=>{if(!n)return void Je(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),s=Number.parseFloat(n);return i||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const o=({target:n})=>{n===t&&(s=!0,t.removeEventListener(Me,o),Je(e))};t.addEventListener(Me,o),setTimeout((()=>{s||qe(t)}),i)},Qe=(e,t,n,i)=>{const s=e.length;let o=e.indexOf(t);return-1===o?!n&&i?e[s-1]:e[0]:(o+=n?1:-1,i&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])},Xe=/[^.]*(?=\..*)\.|.*/,Ge=/\..*/,et=/::\d+$/,tt={};let nt=1;const it={mouseenter:"mouseover",mouseleave:"mouseout"},st=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 ot(e,t){return t&&`${t}::${nt++}`||e.uidEvent||nt++}function rt(e){const t=ot(e);return e.uidEvent=t,tt[t]=tt[t]||{},tt[t]}function at(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function lt(e,t,n){const i="string"==typeof t,s=i?n:t||n;let o=ht(e);return st.has(o)||(o=e),[i,s,o]}function ct(e,t,n,i,s){if("string"!=typeof t||!e)return;let[o,r,a]=lt(t,n,i);if(t in it){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateT