/**
 * Skipped minification because the original files appears to be already minified.
 * Original file: /npm/@anuz-pandey/nepali-date-picker@2.6.0/dist/nepali-date-picker.bundle.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.NepaliDatePicker=t():e.NepaliDatePicker=t()}(this,(()=>(()=>{"use strict";var e={56:(e,t,a)=>{e.exports=function(e){var t=a.nc;t&&e.setAttribute("nonce",t)}},72:e=>{var t=[];function a(e){for(var a=-1,n=0;n<t.length;n++)if(t[n].identifier===e){a=n;break}return a}function n(e,n){for(var i={},s=[],o=0;o<e.length;o++){var d=e[o],l=n.base?d[0]+n.base:d[0],c=i[l]||0,p="".concat(l," ").concat(c);i[l]=c+1;var h=a(p),u={css:d[1],media:d[2],sourceMap:d[3],supports:d[4],layer:d[5]};if(-1!==h)t[h].references++,t[h].updater(u);else{var m=r(u,n);n.byIndex=o,t.splice(o,0,{identifier:p,updater:m,references:1})}s.push(p)}return s}function r(e,t){var a=t.domAPI(t);return a.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;a.update(e=t)}else a.remove()}}e.exports=function(e,r){var i=n(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<i.length;s++){var o=a(i[s]);t[o].references--}for(var d=n(e,r),l=0;l<i.length;l++){var c=a(i[l]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=d}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a="",n=void 0!==t[5];return t[4]&&(a+="@supports (".concat(t[4],") {")),t[2]&&(a+="@media ".concat(t[2]," {")),n&&(a+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),a+=e(t),n&&(a+="}"),t[2]&&(a+="}"),t[4]&&(a+="}"),a})).join("")},t.i=function(e,a,n,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var o=0;o<this.length;o++){var d=this[o][0];null!=d&&(s[d]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);n&&s[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),a&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=a):c[2]=a),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},393:(e,t,a)=>{a.d(t,{default:()=>r});class n{static#e=!1;#t={format:"YYYY-MM-DD",closeOnDateSelect:!0,disableAfterToday:!1,disableBeforeToday:!1,disableToday:!1,disableDates:[],disabledDatesFormat:null,markHolidays:!0,holidays:["Saturday"],indicateCurrentDate:!0,setCurrentDate:!1,position:"left",daysFormat:"dd",locale:"np",theme:"flat",darkMode:!1,inline:!1,mode:"basic",selectedDatesFormat:"array",minDate:null,maxDate:null,minDateFormat:null,maxDateFormat:null};#a=null;#n="data-ap-";#r;#i=null;#s=null;#o=null;#d=null;#l=null;constructor(e,t){if(this.instanceId=Math.random().toString(36).substr(2,9),this.today=new Date,this.currentYear=this.today.getFullYear(),this.currentMonth=this.today.getMonth(),this.currentDay=this.today.getDate(),"object"==typeof t&&(this.#t={...this.#t,...t}),Array.isArray(this.#t.disableDates)&&this.#t.disableDates.length>0){let e=this.#t.disabledDatesFormat;if(!e){const t=this.#t.disableDates[0];e=this.#c(t),"YYYY-MM-DD"!==e&&console.warn(`[NepaliDatePicker] Detected disableDates format '${e}', but expected 'YYYY-MM-DD'. Consider providing 'disableDatesFormat' option.`)}this.#r=new Set;for(const t of this.#t.disableDates){const a=this.#p(t,e);if(a){const e=`${a.year.toString().padStart(4,"0")}-${a.month.toString().padStart(2,"0")}-${a.day.toString().padStart(2,"0")}`;this.#r.add(e)}}}else this.#r=new Set;if(this.#t.minDate){const e=this.#t.minDateFormat||this.#t.format,t=this.#p(this.#t.minDate,e);t?this.#d=this.#h(t.year,t.month,t.day):console.warn(`[NepaliDatePicker] Invalid minDate: ${this.#t.minDate}`)}if(this.#t.maxDate){const e=this.#t.maxDateFormat||this.#t.format,t=this.#p(this.#t.maxDate,e);t?this.#l=this.#h(t.year,t.month,t.day):console.warn(`[NepaliDatePicker] Invalid maxDate: ${this.#t.maxDate}`)}this.#d&&this.#l&&this.#d>this.#l&&console.warn(`[NepaliDatePicker] minDate (${this.#t.minDate}) is greater than maxDate (${this.#t.maxDate})`),"multiple"===this.#t.mode&&(this.#i=new Set,this.#s=[]),this.#a={trGap:"ap-gap",trAndTdWidth:"ddd"===this.#t.daysFormat?"np"===this.#t.locale?"ap-width-np-ddd":"ap-width-ddd":"ap-width-tr-td",position:this.#u()},this.#m(e)}#m(e){this.#g(),this.#t.inline?this.#y(e):(this.#D(e),this.#b(),this.#f())}#g(){let{year:e,month:t,date:a}=n.convertToNepaliDate(this.currentYear,this.currentMonth+1,this.currentDay);this.currentYear=+e,this.currentMonth=+t,this.currentDay=+a}#D(e){this.#v(e),this.#x()}#x(){n.#e||(n.#e=!0,document.addEventListener("click",(e=>{if(e.target.classList.contains("ap-cell-button")){if(e.target.hasAttribute("disabled"))return;const t=e.target.closest(".ap-card");if(!t)return;const a=t._nepaliDatePickerInstance;if(!a)return;a.handleCellClick(e,t)}})))}handleCellClick(e,t){let a=parseInt(t.querySelector(".ap-calendar-year").value),n=parseInt(t.querySelector(".ap-calendar-month").value),r=this.#_(e.target.textContent);if("multiple"===this.#t.mode&&this.#i){e.preventDefault(),e.stopPropagation();const t=this.#S(a,n,parseInt(r));return this.#i.has(t)?(this.#i.delete(t),this.#s=this.#s.filter((e=>e!==t)),e.target.classList.remove("selected"),e.target.style.backgroundColor="",e.target.style.color=""):(this.#i.add(t),this.#s.push(t),e.target.classList.add("selected"),e.target.style.backgroundColor="#000000",e.target.style.color="#ffffff"),void this.#k(this.#o)}let i="selected";e.target.closest("table").querySelectorAll(".ap-cell-button").forEach((function(e){e&&i.split(" ").forEach((t=>e.classList.remove(t)))})),i.split(" ").forEach((t=>e.target.classList.add(t)));let s=("0"+(n+1)).slice(-2),o=("0"+r).slice(-2),d=this.#M(a,s,o);this.#w(this.#o,d,{dateObject:{year:a,month:n,date:parseInt(r)},mode:"basic"}),this.#t.closeOnDateSelect&&document.querySelectorAll(".ap-card").forEach((function(e){e.classList.contains("ap-card-inline")||(e.style.display="none")}))}#v(e){const t=document.querySelectorAll(e);t.length>0&&t.forEach((e=>{this.#t.setCurrentDate&&!this.#t.disableToday&&(e.value=this.#M(this.currentYear,this.currentMonth+1,this.currentDay)),e.hasAttribute("placeholder")||e.setAttribute("placeholder",this.#t.format),e.addEventListener("click",(t=>{t.preventDefault();const a=t.target.nextElementSibling;if(a&&a.classList.contains("ap-card"))return;const n=Math.floor(1e5+9e5*Math.random()).toString();e.setAttribute(`${this.#n+n}`,""),this.#Y({selector:e,selectorUniqueId:n})})),e.addEventListener("change",(e=>{if(this.#t.minDate||this.#t.maxDate){const t=e.target.value;if(t){const a=this.#p(t,this.#t.format);if(a){const t=this.#h(a.year,a.month,a.day);this.#d&&t<this.#d?(console.warn("[NepaliDatePicker] Selected date is before minDate"),this.#w(e.target,"",{reason:"min-date-violation"})):this.#l&&t>this.#l&&(console.warn("[NepaliDatePicker] Selected date is after maxDate"),this.#w(e.target,"",{reason:"max-date-violation"}))}}}}))}))}#b(){document.addEventListener("click",(e=>{if(e.target.classList.contains("ap-calendar")){const t=e.target.nextElementSibling,a=t.classList;e.target.parentElement.style.position="relative";const n=this.#A(e.target,!0);document.querySelectorAll(".ap-card").forEach((function(e){e.classList.contains("ap-card-inline")||(e.style.display="none")})),t&&a.contains(`ap-calendar-${n}`)&&(t.style.display="block")}}))}#f(){document.addEventListener("click",(function(e){e.target.matches(".ap-calendar, .ap-card, .ap-card *")||document.querySelectorAll(".ap-card").forEach((function(e){e.classList.contains("ap-card-inline")||(e.style.display="none")}))}))}#Y({selector:e,selectorUniqueId:t}){const a=this.#t.inline,n=e;n.classList.add("ap-calendar"),a&&n.classList.add("ap-inline");const r=this.#C(),i=this.#t.darkMode?"theme-dark":"theme-light",s=`\n            <button type="button" class="btn-previous ap-header__button ${r}">\n                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">\n                    <path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd"></path>\n                </svg>\n            </button>\n        `,o=`\n            <button type="button" class="btn-next ap-header__button ${r}">\n                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">\n                    <path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd"></path>\n                </svg>\n            </button>\n        `,d=this.#N(),l=this.#$(),c=this.#L(),p=`\n            <div \n                class="ap-card ap-calendar-${t} ${i} ${this.#a.position} ${a?"ap-card-inline":""}"\n                style="${a?"display: block; position: relative;":""}"\n            >\n                <div class="ap-header">\n                    <div class="ap-header-wrapper">\n                        ${s}\n                        <div class="ap-header__selects">\n                            <select class="ap-calendar-month month-${t} ap-header__select month-input ${r}">\n                                ${l}\n                            </select>\n                            <select class="ap-calendar-year year-${t} ap-header__select year-input ${r}">\n                                ${c}\n                            </select>\n                        </div>\n                        ${o}\n                    </div>\n                </div>\n                <table class="ap-table" id="calendar">\n                    <thead>\n                        <tr class="ap-table__thead__tr ${this.#a.trGap}">\n                            ${d}\n                        </tr>\n                    </thead>\n                    <tbody class="calendar-body ap-table__tbody">\n                    </tbody>\n                </table>\n            </div>\n        `;this.#o=n,n._nepaliDatePickerInstance=this,a?n.innerHTML=p:n.insertAdjacentHTML("afterend",p);const h=document.querySelector(`.ap-calendar-${t}`);h&&(h._nepaliDatePickerInstance=this),this.#E(n,this.currentMonth,this.currentYear),this.#I(n)}#y(e){const t=document.querySelectorAll(e);t.length>0&&t.forEach((e=>{const t=Math.floor(1e5+9e5*Math.random()).toString();e.setAttribute(`${this.#n+t}`,""),e._nepaliDatePickerInstance=this,this.#Y({selector:e,selectorUniqueId:t})}))}#I(e){const t=this.#t.inline?e.querySelector(".btn-next"):e.nextElementSibling.querySelector(".btn-next"),a=this.#t.inline?e.querySelector(".btn-previous"):e.nextElementSibling.querySelector(".btn-previous"),n=this.#t.inline?e.querySelector(".ap-calendar-year"):e.nextElementSibling.querySelector(".ap-calendar-year"),r=this.#t.inline?e.querySelector(".ap-calendar-month"):e.nextElementSibling.querySelector(".ap-calendar-month");let i=parseInt(n.value),s=parseInt(r.value);t.removeEventListener("click",(()=>{})),a.removeEventListener("click",(()=>{})),t.addEventListener("click",(t=>{t.preventDefault(),i=11===s?i+1:i,s=(s+1)%12,this.#E(e,s,i)})),a.addEventListener("click",(t=>{t.preventDefault(),i=0===s?i-1:i,s=0===s?11:s-1,this.#E(e,s,i)}))}#E(e,t,a){const r=this.#t.inline?e.children[0]:e.nextElementSibling;let i;if(r&&r.classList.contains("ap-card")&&(i=r),!i)return;if(void 0===n.#z()[a])return;const s=n.#z()[a][1][t]-1,o=Object.keys(e.dataset).find((e=>e.includes("ap-"))).split("-")[1];i=document.querySelector(`.ap-calendar-${o}`);const d=i.querySelector(".calendar-body"),l=i.querySelector(".ap-calendar-year"),c=i.querySelector(".ap-calendar-month");l.removeEventListener("change",(()=>{})),c.removeEventListener("change",(()=>{})),l.addEventListener("change",(a=>{this.#E(e,t,a.target.value),this.#I(e)})),c.addEventListener("change",(t=>{this.#E(e,t.target.value,a),this.#I(e)})),l.value=a,c.value=t;const p=this.#C();if(d)for(console.log("[NepaliDatePicker] Clearing calendar body");d.firstChild;)d.removeChild(d.firstChild);let h=1;for(let e=0;e<6;e++){const n=document.createElement("tr");n.classList.add("ap-table__tbody__tr");const r=this.#t.markHolidays&&this.#t.holidays.map((e=>this.#T().findIndex((t=>t.day.toLowerCase()===e.toLowerCase()))));for(let i=0;i<7;i++){let o=r&&r.includes(i)?"holiday-marker-color":null;if(0===e&&i<s){const e=document.createElement("td");e.classList.add("ap-table__thead__tr_td",this.#a.trAndTdWidth,"ap-cell",o);const t=document.createElement("button");t.classList.add("no-hover"),t.classList.remove("ap-cell-button"),t.appendChild(document.createTextNode("")),e.appendChild(t),n.append(e)}else{if(h>this.#F(t,a))break;const e=document.createElement("td");e.classList.add("ap-table__thead__tr_td",this.#a.trAndTdWidth,"ap-cell",o);const r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ap-cell-button",p),this.#P(r,a,t,h);const i="np"===this.#t.locale?this.#q(h):h;if(this.#t.indicateCurrentDate&&+h==+this.currentDay&&+a==+this.currentYear&&+t==+this.currentMonth&&(e.classList.add("active"),r.classList.add("bordered-dashed")),"multiple"===this.#t.mode&&this.#i){const e=this.#S(a,t,h);this.#i.has(e)&&r.classList.add("selected")}r.appendChild(document.createTextNode(i)),e.appendChild(r),n.append(e),h++}}d.append(n)}}#P(e,t,a,n){const r=this.currentYear,i=this.currentMonth+1,s=this.currentDay;if(t=+t,a=+a+1,n=+n,this.#d&&this.#h(t,a,n)<this.#d)return e.setAttribute("disabled","disabled"),void e.setAttribute("data-disable-reason","min-date");if(this.#l&&this.#h(t,a,n)>this.#l)return e.setAttribute("disabled","disabled"),void e.setAttribute("data-disable-reason","max-date");if(this.#t.disableBeforeToday&&(t<r||t===r&&a<i||t===r&&a===i&&n<s)&&e.setAttribute("disabled","disabled"),this.#t.disableToday&&t===r&&a===i&&n===s&&e.setAttribute("disabled","disabled"),this.#t.disableDates.length>0){const r=`${t.toString().padStart(4,"0")}-${a.toString().padStart(2,"0")}-${n.toString().padStart(2,"0")}`;this.#r.has(r)&&e.setAttribute("disabled","disabled")}this.#t.disableAfterToday&&(t>r||t===r&&a>i||t===r&&a===i&&n>s)&&e.setAttribute("disabled","disabled")}#L(){return Array.from({length:91},((e,t)=>`<option value="${t+2e3}">${"np"===this.#t.locale?this.#q(t+2e3):t+2e3}</option>`)).join("")}#N(){return this.#T().map((e=>`<th class="ap-table__thead__tr_th ${this.#t.markHolidays&&this.#t.holidays.includes(e.day)?`${this.#a.trAndTdWidth} holiday-marker-color`:`${this.#a.trAndTdWidth}`}">${e[this.#t.locale][this.#t.daysFormat]}</th>`)).join("")}#$(){return this.#j().map(((e,t)=>`<option value="${t}">${e[this.#t.locale]}</option>`)).join("")}#O(){console.log("close date picker")}#j(){return[{en:"Baishak",np:"बैशाख"},{en:"Jestha",np:"जेठ"},{en:"Ashad",np:"असार"},{en:"Shrawn",np:"साउन"},{en:"Bhadra",np:"भदौ"},{en:"Ashwin",np:"असोज"},{en:"Kartik",np:"कार्तिक"},{en:"Mangshir",np:"मंसिर"},{en:"Poush",np:"पुष"},{en:"Magh",np:"माघ"},{en:"Falgun",np:"फाल्गुन"},{en:"Chaitra",np:"चैत्र"}]}static#V(){return[31,29,31,30,31,30,31,31,30,31,30,31]}static#W(){return[31,28,31,30,31,30,31,31,30,31,30,31]}static#z(){return{2e3:[[30,32,31,32,31,30,30,30,29,30,29,31],[4,6,3,6,3,6,1,3,5,6,1,2]],2001:[[31,31,32,31,31,31,30,29,30,29,30,30],[5,1,4,1,4,7,3,5,6,1,2,4]],2002:[[31,31,32,32,31,30,30,29,30,29,30,30],[6,2,5,2,6,2,4,6,7,2,3,5]],2003:[[31,32,31,32,31,30,30,30,29,29,30,31],[7,3,7,3,7,3,5,7,2,3,4,6]],2004:[[30,32,31,32,31,30,30,30,29,30,29,31],[2,4,1,4,1,4,6,1,3,4,6,7]],2005:[[31,31,32,31,31,31,30,29,30,29,30,30],[3,6,2,6,2,5,1,3,4,6,7,2]],2006:[[31,31,32,32,31,30,30,29,30,29,30,30],[4,7,3,7,4,7,2,4,5,7,1,3]],2007:[[31,32,31,32,31,30,30,30,29,29,30,31],[5,1,5,1,5,1,3,5,7,1,2,4]],2008:[[31,31,31,32,31,31,29,30,30,29,29,31],[7,3,6,2,6,2,5,6,1,3,4,5]],2009:[[31,31,32,31,31,31,30,29,30,29,30,30],[1,4,7,4,7,3,6,1,2,4,5,7]],2010:[[31,31,32,32,31,30,30,29,30,29,30,30],[2,5,1,5,2,5,7,2,3,5,6,1]],2011:[[31,32,31,32,31,30,30,30,29,29,30,31],[3,6,3,6,3,6,1,3,5,6,7,2]],2012:[[31,31,31,32,31,31,29,30,30,29,30,30],[5,1,4,7,4,7,3,4,6,1,2,4]],2013:[[31,31,32,31,31,31,30,29,30,29,30,30],[6,2,5,2,5,1,4,6,7,2,3,5]],2014:[[31,31,32,32,31,30,30,29,30,29,30,30],[7,3,6,3,7,3,5,7,1,3,4,6]],2015:[[31,32,31,32,31,30,30,30,29,29,30,31],[1,4,1,4,1,4,6,1,3,4,5,7]],2016:[[31,31,31,32,31,31,29,30,30,29,30,30],[3,6,2,5,2,5,1,2,4,6,7,2]],2017:[[31,31,32,31,31,31,30,29,30,29,30,30],[4,7,3,7,3,6,2,4,5,7,1,3]],2018:[[31,32,31,32,31,30,30,29,30,29,30,30],[5,1,5,1,5,1,3,5,6,1,2,4]],2019:[[31,32,31,32,31,30,30,30,29,30,29,31],[6,2,6,2,6,2,4,6,1,2,4,5]],2020:[[31,31,31,32,31,31,30,29,30,29,30,30],[1,4,7,3,7,3,6,1,2,4,5,7]],2021:[[31,31,32,31,31,31,30,29,30,29,30,30],[2,5,1,5,1,4,7,2,3,5,6,1]],2022:[[31,32,31,32,31,30,30,30,29,29,30,30],[3,6,3,6,3,6,1,3,5,6,7,2]],2023:[[31,32,31,32,31,30,30,30,29,30,29,31],[4,7,4,7,4,7,2,4,6,7,2,3]],2024:[[31,31,31,32,31,31,30,29,30,29,30,30],[6,2,5,1,5,1,4,6,7,2,3,5]],2025:[[31,31,32,31,31,31,30,29,30,29,30,30],[7,3,6,3,6,2,5,7,1,3,4,6]],2026:[[31,32,31,32,31,30,30,30,29,29,30,31],[1,4,1,4,1,4,6,1,3,4,5,7]],2027:[[30,32,31,32,31,30,30,30,29,30,29,31],[3,5,2,5,2,5,7,2,4,5,7,1]],2028:[[31,31,32,31,31,31,30,29,30,29,30,30],[4,7,3,7,3,6,2,4,5,7,1,3]],2029:[[31,31,32,31,32,30,30,29,30,29,30,30],[5,1,4,1,4,1,3,5,6,1,2,4]],2030:[[31,32,31,32,31,30,30,30,29,29,30,31],[6,2,6,2,6,2,4,6,1,2,3,5]],2031:[[30,32,31,32,31,30,30,30,29,30,29,31],[1,3,7,3,7,3,5,7,2,3,5,6]],2032:[[31,31,32,31,31,31,30,29,30,29,30,30],[2,5,1,5,1,4,7,2,3,5,6,1]],2033:[[31,31,32,32,31,30,30,29,30,29,30,30],[3,6,2,6,3,6,1,3,4,6,7,2]],2034:[[31,32,31,32,31,30,30,30,29,29,30,31],[4,7,4,7,4,7,2,4,6,7,1,3]],2035:[[30,32,31,32,31,31,29,30,30,29,29,31],[6,1,5,1,5,1,4,5,7,2,3,4]],2036:[[31,31,32,31,31,31,30,29,30,29,30,30],[7,3,6,3,6,2,5,7,1,3,4,6]],2037:[[31,31,32,32,31,30,30,29,30,29,30,30],[1,4,7,4,1,4,6,1,2,4,5,7]],2038:[[31,32,31,32,31,30,30,30,29,29,30,31],[2,5,2,5,2,5,7,2,4,5,6,1]],2039:[[31,31,31,32,31,31,29,30,30,29,30,30],[4,7,3,6,3,6,2,3,5,7,1,3]],2040:[[31,31,32,31,31,31,30,29,30,29,30,30],[5,1,4,1,4,7,3,5,6,1,2,4]],2041:[[31,31,32,32,31,30,30,29,30,29,30,30],[6,2,5,2,6,2,4,6,7,2,3,5]],2042:[[31,32,31,32,31,30,30,30,29,29,30,31],[7,3,7,3,7,3,5,7,2,3,4,6]],2043:[[31,31,31,32,31,31,29,30,30,29,30,30],[2,5,1,4,1,4,7,1,3,5,6,1]],2044:[[31,31,32,31,31,31,30,29,30,29,30,30],[3,6,2,6,2,5,1,3,4,6,7,2]],2045:[[31,32,31,32,31,30,30,29,30,29,30,30],[4,7,4,7,4,7,2,4,5,7,1,3]],2046:[[31,32,31,32,31,30,30,30,29,29,30,31],[5,1,5,1,5,1,3,5,7,1,2,4]],2047:[[31,31,31,32,31,31,30,29,30,29,30,30],[7,3,6,2,6,2,5,7,1,3,4,6]],2048:[[31,31,32,31,31,31,30,29,30,29,30,30],[1,4,7,4,7,3,6,1,2,4,5,7]],2049:[[31,32,31,32,31,30,30,30,29,29,30,30],[2,5,2,5,2,5,7,2,4,5,6,1]],2050:[[31,32,31,32,31,30,30,30,29,30,29,31],[3,6,3,6,3,6,1,3,5,6,1,2]],2051:[[31,31,31,32,31,31,30,29,30,29,30,30],[5,1,4,7,4,7,3,5,6,1,2,4]],2052:[[31,31,32,31,31,31,30,29,30,29,30,30],[6,2,5,2,5,1,4,6,7,2,3,5]],2053:[[31,32,31,32,31,30,30,30,29,29,30,30],[7,3,7,3,7,3,5,7,2,3,4,6]],2054:[[31,32,31,32,31,30,30,30,29,30,29,31],[1,4,1,4,1,4,6,1,3,4,6,7]],2055:[[31,31,32,31,31,31,30,29,30,29,30,30],[3,6,2,6,2,5,1,3,4,6,7,2]],2056:[[31,31,32,31,32,30,30,29,30,29,30,30],[4,7,3,7,3,7,2,4,5,7,1,3]],2057:[[31,32,31,32,31,30,30,30,29,29,30,31],[5,1,5,1,5,1,3,5,7,1,2,4]],2058:[[30,32,31,32,31,30,30,30,29,30,29,31],[7,2,6,2,6,2,4,6,1,2,4,5]],2059:[[31,31,32,31,31,31,30,29,30,29,30,30],[1,4,7,4,7,3,6,1,2,4,5,7]],2060:[[31,31,32,32,31,30,30,29,30,29,30,30],[2,5,1,5,2,5,7,2,3,5,6,1]],2061:[[31,32,31,32,31,30,30,30,29,29,30,31],[3,6,3,6,3,6,1,3,5,6,7,2]],2062:[[30,32,31,32,31,31,29,30,29,30,29,31],[5,7,4,7,4,7,3,4,6,7,2,3]],2063:[[31,31,32,31,31,31,30,29,30,29,30,30],[6,2,5,2,5,1,4,6,7,2,3,5]],2064:[[31,31,32,32,31,30,30,29,30,29,30,30],[7,3,6,3,7,3,5,7,1,3,4,6]],2065:[[31,32,31,32,31,30,30,30,29,29,30,31],[1,4,1,4,1,4,6,1,3,4,5,7]],2066:[[31,31,31,32,31,31,29,30,30,29,29,31],[3,6,2,5,2,5,1,2,4,6,7,1]],2067:[[31,31,32,31,31,31,30,29,30,29,30,30],[4,7,3,7,3,6,2,4,5,7,1,3]],2068:[[31,31,32,32,31,30,30,29,30,29,30,30],[5,1,4,1,5,1,3,5,6,1,2,4]],2069:[[31,32,31,32,31,30,30,30,29,29,30,31],[6,2,6,2,6,2,4,6,1,2,3,5]],2070:[[31,31,31,32,31,31,29,30,30,29,30,30],[1,4,7,3,7,3,6,7,2,4,5,7]],2071:[[31,31,32,31,31,31,30,29,30,29,30,30],[2,5,1,5,1,4,7,2,3,5,6,1]],2072:[[31,32,31,32,31,30,30,29,30,29,30,30],[3,6,3,6,3,6,1,3,4,6,7,2]],2073:[[31,32,31,32,31,30,30,30,29,29,30,31],[4,7,4,7,4,7,2,4,6,7,1,3]],2074:[[31,31,31,32,31,31,30,29,30,29,30,30],[6,2,5,1,5,1,4,6,7,2,3,5]],2075:[[31,31,32,31,31,31,30,29,30,29,30,30],[7,3,6,3,6,2,5,7,1,3,4,6]],2076:[[31,32,31,32,31,30,30,30,29,29,30,30],[1,4,1,4,1,4,6,1,3,4,5,7]],2077:[[31,32,31,32,31,30,30,30,29,30,29,31],[2,5,2,5,2,5,7,2,4,5,7,1]],2078:[[31,31,31,32,31,31,30,29,30,29,30,30],[4,7,3,6,3,6,2,4,5,7,1,3]],2079:[[31,31,32,31,31,31,30,29,30,29,30,30],[5,1,4,1,4,7,3,5,6,1,2,4]],2080:[[31,32,31,32,31,30,30,30,29,29,30,30],[6,2,6,2,6,2,4,6,1,2,3,5]],2081:[[31,32,31,32,31,30,30,30,29,30,29,31],[7,3,7,3,7,3,5,7,2,3,5,6]],2082:[[31,31,32,31,31,31,30,29,30,29,30,30],[2,5,1,5,1,4,7,2,3,5,6,1]],2083:[[31,31,32,31,31,31,30,29,30,29,30,30],[3,6,2,6,2,5,1,3,4,6,7,2]],2084:[[31,31,32,31,31,30,30,30,29,30,30,30],[4,7,3,7,3,6,1,3,5,6,1,3]],2085:[[31,32,31,32,30,31,30,30,29,30,30,30],[5,1,5,1,5,7,3,5,7,1,3,5]],2086:[[30,32,31,32,31,30,30,30,29,30,30,30],[7,2,6,2,6,2,4,6,1,2,4,6]],2087:[[31,31,32,31,31,31,30,30,29,30,30,30],[1,4,7,4,7,3,6,1,3,4,6,1]],2088:[[30,31,32,32,30,31,30,30,29,30,30,30],[3,5,1,5,2,4,7,2,4,5,7,2]],2089:[[30,32,31,32,31,30,30,30,29,30,30,30],[4,6,3,6,3,6,1,3,5,6,1,3]],2090:[[30,32,31,32,31,30,30,30,29,30,30,30],[5,7,4,7,4,7,2,4,6,7,2,4]]}}#T(){return[{day:"Sunday",en:{ddd:"Sunday",dd:"Sun",d:"S"},np:{ddd:"आइतबार",dd:"आइत",d:"आ"}},{day:"Monday",en:{ddd:"Monday",dd:"Mon",d:"M"},np:{ddd:"सोमबार",dd:"सोम",d:"सो"}},{day:"Tuesday",en:{ddd:"Tuesday",dd:"Tue",d:"T"},np:{ddd:"मंगलबार",dd:"मंगल",d:"मं"}},{day:"Wednesday",en:{ddd:"Wednesday",dd:"Wed",d:"W"},np:{ddd:"बुधबार",dd:"बुध",d:"बु"}},{day:"Thursday",en:{ddd:"Thursday",dd:"Thu",d:"T"},np:{ddd:"बिहिबार",dd:"बिहि",d:"बि"}},{day:"Friday",en:{ddd:"Friday",dd:"Fri",d:"F"},np:{ddd:"शुक्रबार",dd:"शुक्र",d:"शु"}},{day:"Saturday",en:{ddd:"Saturday",dd:"Sat",d:"S"},np:{ddd:"शनिबार",dd:"शनि",d:"श"}}]}#F(e,t){return n.#z()[t][0][e]}#q(e){const t={0:"०",1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९"};return e.toString().replace(/[0123456789]/g,(e=>t[e]))}#_(e){const t={"०":"0","१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9"};return e.toString().replace(/[०१२३४५६७८९]/g,(e=>t[e]))}#u(){switch(this.#t.position){case"left":default:return"ap-position-left";case"right":return"ap-position-right";case"center":return"ap-position-center"}}static convertToNepaliDate(e,t,a){e=+e,t=+t,a=+a;let n=this.#B(e,t,a),{nepaliYear:r,nepaliMonth:i,nepaliDate:s}=this.#U(n);return{year:r,month:i-1,date:s}}static#B(e,t,a){let n=0;for(let t=0;t<e-1944;t++)if(this.isLeapYear(1944+t))for(let e=0;e<12;e++)n+=this.#V()[e];else for(let e=0;e<12;e++)n+=this.#W()[e];for(let a=0;a<t-1;a++)n+=this.isLeapYear(e)?this.#V()[a]:this.#W()[a];return n+=a,n}static isLeapYear(e){return(e=+e)%100==0?e%400==0:e%4==0}static#U(e){e=+e;let t=9,a=2e3,n=9,r=16,i=6;for(;0!==e;)r++,i++,r>this.#z()[a][0][t-1]&&(n++,r=1,t++),i>7&&(i=1),n>12&&(a++,n=1),t>12&&(t=1),e--;return{nepaliYear:a,nepaliMonth:n,nepaliDate:r}}#M(e,t,a){const n=this.#t.format;switch(t=("0"+t).slice(-2),a=("0"+a).slice(-2),n){case"YYYY/MM/DD":return`${e}/${t}/${a}`;case"YYYY.MM.DD":return`${e}.${t}.${a}`;case"DD-MM-YYYY":return`${a}-${t}-${e}`;case"DD/MM/YYYY":return`${a}/${t}/${e}`;case"DD.MM.YYYY":return`${a}.${t}.${e}`;default:return`${e}-${t}-${a}`}}#H(e,t,a={}){const n=new Event("input",{bubbles:!0});e.dispatchEvent(n);const r=new Event("change",{bubbles:!0});e.dispatchEvent(r);const i=new CustomEvent("nepali-date-change",{detail:{date:t,...a},bubbles:!0,cancelable:!0});e.dispatchEvent(i)}#w(e,t,a={}){e.value=t,this.#H(e,t,a)}#p(e,t){const a=e.split(/[./-]/);if(!a||3!==a.length)return console.error(`[NepaliDatePicker] Invalid date provided: ${e}`),null;switch(t){case"DD-MM-YYYY":case"DD/MM/YYYY":case"DD.MM.YYYY":return{year:parseInt(a[2]),month:parseInt(a[1]),day:parseInt(a[0])};case"YYYY/MM/DD":case"YYYY.MM.DD":case"YYYY-MM-DD":return{year:parseInt(a[0]),month:parseInt(a[1]),day:parseInt(a[2])};default:return console.error(`[NepaliDatePicker] Unknown date format: ${t}`),null}}#C(){switch(this.#t.theme){case"bordered":return"bordered-theme";case"soft":return"soft-theme";default:return"flat-theme"}}#A(e,t){const a=Object.keys(e.dataset);return t?a.find((e=>e.startsWith("ap-"))).split("-")[1]:a.find((e=>e.startsWith("ap-")))}#c(e){const t=e.split(/[./-]/);return 3!==t.length?(console.error(`[NepaliDatePicker] Invalid date format detected: ${e}`),null):4===t[0].length?"YYYY/MM/DD":4===t[2].length?"DD/MM/YYYY":(console.warn(`[NepaliDatePicker] Unable to detect date format for: ${date}. Assuming 'YYYY-MM-DD'`),"YYYY-MM-DD")}#h(e,t,a){return`${e.toString().padStart(4,"0")}-${t.toString().padStart(2,"0")}-${a.toString().padStart(2,"0")}`}#S(e,t,a){return this.#h(e,t+1,a)}#J(e){const[t,a,n]=e.split("-").map(Number);return{year:t,month:a,day:n}}#G(){if(!this.#s||0===this.#s.length)return"";const e=this.#t.selectedDatesFormat;return"array"===e||"comma"===e?this.#s.join(", "):"json"===e?JSON.stringify(this.#s):"function"==typeof e?e(this.#s):this.#s.join(", ")}#k(e){const t=this.#G();this.#w(e,t,{selectedDates:[...this.#s],mode:"multiple"})}#R(e){if(!e)return this.#i.clear(),void(this.#s=[]);try{let t=[];t=e.startsWith("[")?JSON.parse(e):e.split(",").map((e=>e.trim())),this.#i.clear(),this.#s=[];for(const e of t)e&&this.#K(e)&&(this.#i.add(e),this.#s.push(e))}catch(e){console.warn("[NepaliDatePicker] Could not parse multiple selected dates:",e)}}#K(e){return/^\d{4}-\d{2}-\d{2}$/.test(e)}#Q(){document.querySelectorAll(".ap-calendar").forEach((e=>{const t=e.nextElementSibling;if(t&&t.classList.contains("ap-card")){const a=parseInt(t.querySelector(".ap-calendar-year").value),n=parseInt(t.querySelector(".ap-calendar-month").value);this.#E(e,n,a)}}))}getSelectedDates(){return"multiple"===this.#t.mode&&this.#s?[...this.#s]:[]}getSelectedDatesFormatted(){return"multiple"!==this.#t.mode?"":this.#G()}setSelectedDates(e){if(Array.isArray(e)&&"multiple"===this.#t.mode){this.#i.clear(),this.#s=[];for(const t of e)this.#K(t)&&(this.#i.add(t),this.#s.push(t));document.querySelectorAll(".ap-card").forEach((e=>{const t=e.querySelectorAll(".ap-cell-button");t.forEach((e=>e.classList.remove("selected"))),t.forEach((t=>{const a=this.#_(t.textContent),n=parseInt(e.querySelector(".ap-calendar-year").value),r=parseInt(e.querySelector(".ap-calendar-month").value),i=this.#S(n,r,parseInt(a));this.#i.has(i)&&t.classList.add("selected")}))})),document.querySelectorAll(".ap-calendar").forEach((e=>{this.#k(e)}))}}clearSelection(){"multiple"===this.#t.mode&&(this.#i.clear(),this.#s=[],document.querySelectorAll(".ap-cell-button.selected").forEach((e=>e.classList.remove("selected"))),this.#w(this.#o,"",{reason:"manual-clear"}))}setMinDate(e){if(e){const t=this.#t.minDateFormat||this.#t.format,a=this.#p(e,t);a?(this.#d=this.#h(a.year,a.month,a.day),this.#t.minDate=e,this.#l&&this.#d>this.#l&&console.warn("[NepaliDatePicker] minDate is greater than maxDate"),this.#Q()):console.warn(`[NepaliDatePicker] Invalid minDate: ${e}`)}else this.#d=null,this.#t.minDate=null}setMaxDate(e){if(e){const t=this.#t.maxDateFormat||this.#t.format,a=this.#p(e,t);a?(this.#l=this.#h(a.year,a.month,a.day),this.#t.maxDate=e,this.#d&&this.#d>this.#l&&console.warn("[NepaliDatePicker] minDate is greater than maxDate"),this.#Q()):console.warn(`[NepaliDatePicker] Invalid maxDate: ${e}`)}else this.#l=null,this.#t.maxDate=null}getMinDate(){return this.#t.minDate}getMaxDate(){return this.#t.maxDate}}const r=n},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},601:e=>{e.exports=function(e){return e[1]}},624:(e,t,a)=>{a.d(t,{A:()=>o});var n=a(601),r=a.n(n),i=a(314),s=a.n(i)()(r());s.push([e.id,"@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap);"]),s.push([e.id,':root {\n    --ap-white: #ffffff;\n    --ap-black: #000000;\n    --rounded-md: 0.375rem;\n    --gray-50: rgb(249 250 251 / 1);\n    --gray-100: rgb(243 244 246 / 1);\n    --gray-200: rgb(229 231 235 / 1);\n    --gray-300: rgb(209 213 219 / 1);\n    --gray-400: rgb(156 163 175 / 1);\n    --gray-500: rgb(107 114 128 / 1);\n    --gray-600: rgb(75 85 99 / 1);\n    --gray-700: rgb(55 65 81 / 1);\n    --gray-800: rgb(31 41 55 / 1);\n    --gray-900: rgb(17 24 39 / 1);\n    --gray-950: rgb(3 7 18 / 1);\n    --red-400: rgb(248 113 113 / 1);\n    --red-500: rgb(239 68 68 / 1);\n}\n\n.theme-dark {\n    --ap-white: #1D1D1D;\n    --ap-black: #fefefe;\n    --gray-50: rgb(3 7 18 / 1);\n    --gray-100: rgb(33 34 36  / 1);\n    --gray-200: rgb(31 41 55 / 1);\n    --gray-300: rgb(55 65 81 / 1);\n    --gray-400: rgb(75 85 99 / 1 );\n    --gray-500: rgb(210 210 210 / 1);\n    --gray-600: rgb(156 163 175 / 1);\n    --gray-700: rgb(209 213 219 / 1);\n    --gray-800: rgb(229 231 235 / 1);\n    --gray-900: rgb(243 244 246 / 1);\n    --gray-950: rgb(249 250 251 / 1);\n    --red-400: rgb(248 113 113 / 1);\n    --red-500: rgb(239 68 68 / 1);\n}\n\n.ap-card {\n    font-family: \'Inter\', sans-serif;\n    z-index: 10;\n    position: absolute;\n    display: none;\n    width: auto;\n    max-width: fit-content;\n    background: var(--ap-white);\n    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);\n    padding: 0.5rem;\n    box-sizing: border-box;\n    font-size: 0.875rem;\n    line-height: 1.25rem;\n    border: 1px solid var(--gray-200);\n    border-radius: var(--rounded-md);\n    margin-top: 0.25rem;\n}\n\n.ap-header-wrapper {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    width: 100%;\n}\n\n.ap-header__button {\n    padding: 0.25rem;\n    border-radius: var(--rounded-md);\n    color: var(--ap-black);\n    transition-property: all;\n    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n    transition-duration: 150ms;\n    width: 2.5rem;\n    height: 2.5rem;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    border: none;\n    background: var(--ap-white);\n}\n\n.ap-header__button:hover {\n    color: var(--gray-600);\n    background: var(--gray-100);\n}\n\n.ap-header__button:focus {\n    color: var(--ap-black);\n    background: var(--ap-white);\n    outline: none;\n}\n\n.ap-header__button > svg {\n    width: 1.25rem;\n    height: 1.25rem;\n}\n\n.ap-header__selects {\n    display: flex;\n    align-items: center;\n    gap: 0.25rem;\n}\n\n.ap-header__select {\n    appearance: none;\n    line-height: 1.8;\n    text-align: center;\n    height: 2.5rem;\n    padding: 0.25rem 1rem;\n    border-radius: var(--rounded-md);\n    border: none;\n    background: var(--ap-white);\n    color: var(--ap-black);\n}\n\n.ap-header__select:focus {\n    outline: none;\n}\n\n.ap-header__select:hover {\n    background: var(--gray-100);\n}\n\n.ap-table {\n    margin-top: 0.5rem;\n    text-align: center;\n    width: 100%;\n}\n\n.ap-table__thead__tr {\n    display: flex;\n    flex-wrap: nowrap;\n    align-items: center;\n    justify-content: flex-start;\n    color: var(--gray-500);\n    padding-top: 0.5rem;\n    padding-bottom: 0.75rem;\n    gap: 0.25rem;\n}\n\n.ap-table__tbody__tr {\n    display: flex;\n    flex-wrap: nowrap;\n    align-items: center;\n    justify-content: flex-start;\n    color: var(--gray-500);\n    gap: 0.25rem;\n}\n\n.ap-table__thead__tr_th {\n    width: 2.5rem;\n    font-weight: 500;\n    padding: 0;\n}\n\n.holiday-marker-color {\n    color: var(--red-400) !important;\n}\n\n.holiday-marker-color:hover > button {\n    color: var(--red-500) !important;\n}\n\n.ap-table__tbody {\n    display: flex;\n    flex-direction: column;\n    row-gap: 0.25rem;\n}\n\n.ap-table__thead__tr_td {\n    height: 2.5rem;\n    width: 2.5rem;\n    text-align: center;\n    padding: 0;\n    position: relative;\n    color: var(--gray-500);\n}\n\n.ap-table__thead__tr_td > button {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    border-radius: var(--rounded-md);\n    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n    transition-duration: 150ms;\n    width: 2.5rem;\n    height: 2.5rem;\n    padding: 0;\n    font-weight: 400;\n    border: none;\n    background: var(--ap-white);\n    color: inherit;\n}\n\n.ap-table__thead__tr_td > button:focus {\n    outline: none;\n}\n\n.ap-table__thead__tr_td > button:disabled {\n    color: var(--gray-400);\n    background: var(--gray-100);\n    cursor: not-allowed;\n}\n\n.ap-table__thead__tr_td > button:hover {\n    color: var(--gray-500);\n    background: var(--gray-100);\n}\n\n.no-hover:hover {\n    color: transparent !important;\n    background: transparent !important;\n}\n\n.pointer-events-none {\n    pointer-events: none;\n}\n\n.bordered {\n    border: 1px solid var(--gray-200);\n}\n\n.ap-width-tr-td {\n    width: 2.5rem;\n}\n\n.ap-width-ddd {\n    width: 4rem;\n}\n\n.ap-width-np-ddd {\n    width: 5rem;\n}\n\n.ap-gap {\n    gap: 0.25rem;\n}\n\n.ap-table__thead__tr_td > button.selected {\n    background: var(--ap-black) !important;\n    color: var(--ap-white) !important;\n    border: none !important;\n}\n\n.ap-cell-button.selected:hover {\n    background: var(--gray-800);\n    color: var(--ap-white);\n}\n\n\n.bordered-theme {\n    border: 1px solid var(--gray-200) !important;\n}\n\n.soft-theme {\n    background: var(--gray-50) !important;\n    transition: all ease;\n}\n\n.soft-theme:hover {\n    background: var(--gray-100) !important;\n}\n\n.bordered-dashed {\n    border-style: dashed !important;\n}\n\n.ap-table__thead__tr_td.active > button {\n    background: var(--gray-100);\n    border: 1px dashed var(--gray-400) !important;\n}\n\n.ap-position-left {\n    left: 0;\n}\n\n.ap-position-right {\n    right: 0 !important;\n}\n\n.ap-position-center {\n    left: 0 !important;\n    right: 0 !important;\n    margin-left: auto !important;\n    margin-right: auto !important;\n}\n\n/* Min/Max Date Constraint Styling */\n.ap-cell-button:disabled[data-disable-reason="min-date"],\n.ap-cell-button:disabled[data-disable-reason="max-date"] {\n    opacity: 0.3;\n    cursor: not-allowed;\n    background-color: var(--gray-200);\n    color: var(--gray-400);\n}\n\n.theme-dark .ap-cell-button:disabled[data-disable-reason="min-date"],\n.theme-dark .ap-cell-button:disabled[data-disable-reason="max-date"] {\n    background-color: var(--gray-300);\n    color: var(--gray-500);\n}\n',""]);const o=s},659:e=>{var t={};e.exports=function(e,a){var n=function(e){if(void 0===t[e]){var a=document.querySelector(e);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}t[e]=a}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(a)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(a){!function(e,t,a){var n="";a.supports&&(n+="@supports (".concat(a.supports,") {")),a.media&&(n+="@media ".concat(a.media," {"));var r=void 0!==a.layer;r&&(n+="@layer".concat(a.layer.length>0?" ".concat(a.layer):""," {")),n+=a.css,r&&(n+="}"),a.media&&(n+="}"),a.supports&&(n+="}");var i=a.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,a)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}},t={};function a(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,a),i.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.nc=void 0;var n={};a.d(n,{default:()=>b});var r=a(72),i=a.n(r),s=a(825),o=a.n(s),d=a(659),l=a.n(d),c=a(56),p=a.n(c),h=a(540),u=a.n(h),m=a(113),g=a.n(m),y=a(624),D={};D.styleTagTransform=g(),D.setAttributes=p(),D.insert=l().bind(null,"head"),D.domAPI=o(),D.insertStyleElement=u(),i()(y.A,D),y.A&&y.A.locals&&y.A.locals;const b=a(393).default;return n.default})()));