@myissue/vue-website-page-builder 3.2.72 → 3.2.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,26 @@
1
- (function(U,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],s):(U=typeof globalThis<"u"?globalThis:U||self,s(U.VueWebsitePageBuilder={},U.Vue))})(this,function(U,s){"use strict";var Q6=Object.defineProperty;var Dm=U=>{throw TypeError(U)};var X6=(U,s,Te)=>s in U?Q6(U,s,{enumerable:!0,configurable:!0,writable:!0,value:Te}):U[s]=Te;var ne=(U,s,Te)=>X6(U,typeof s!="symbol"?s+"":s,Te),Im=(U,s,Te)=>s.has(U)||Dm("Cannot "+Te);var xn=(U,s,Te)=>(Im(U,s,"read from private field"),Te?Te.call(U):s.get(U)),fo=(U,s,Te)=>s.has(U)?Dm("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(U):s.set(U,Te);var Q=(U,s,Te)=>(Im(U,s,"access private method"),Te);var q,ce,Lm,Rm,ta,ra,oa,_m,na,zm,Fm,Pl,Hm;function Te(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,o.get?o:{enumerable:!0,get:()=>r[t]})}}return e.default=r,Object.freeze(e)}const Rl=Te(s),vn={backgroundColorVariables:["none","bg-white","bg-black","bg-slate-50","bg-slate-100","bg-slate-200","bg-slate-300","bg-slate-400","bg-slate-500","bg-slate-600","bg-slate-700","bg-slate-800","bg-slate-900","bg-gray-50","bg-gray-100","bg-gray-200","bg-gray-300","bg-gray-400","bg-gray-500","bg-gray-600","bg-gray-700","bg-gray-800","bg-gray-900","bg-zinc-50","bg-zinc-100","bg-zinc-200","bg-zinc-300","bg-zinc-400","bg-zinc-500","bg-zinc-600","bg-zinc-700","bg-zinc-800","bg-zinc-900","bg-neutral-50","bg-neutral-100","bg-neutral-200","bg-neutral-300","bg-neutral-400","bg-neutral-500","bg-neutral-600","bg-neutral-700","bg-neutral-800","bg-neutral-900","bg-stone-50","bg-stone-100","bg-stone-200","bg-stone-300","bg-stone-400","bg-stone-500","bg-stone-600","bg-stone-700","bg-stone-800","bg-stone-900","bg-red-50","bg-red-100","bg-red-200","bg-red-300","bg-red-400","bg-red-500","bg-red-600","bg-red-700","bg-red-800","bg-red-900","bg-orange-50","bg-orange-100","bg-orange-200","bg-orange-300","bg-orange-400","bg-orange-500","bg-orange-600","bg-orange-700","bg-orange-800","bg-orange-900","bg-amber-50","bg-amber-100","bg-amber-200","bg-amber-300","bg-amber-400","bg-amber-500","bg-amber-600","bg-amber-700","bg-amber-800","bg-amber-900","bg-yellow-50","bg-yellow-100","bg-yellow-200","bg-yellow-300","bg-yellow-400","bg-yellow-500","bg-yellow-600","bg-yellow-700","bg-yellow-800","bg-yellow-900","bg-lime-50","bg-lime-100","bg-lime-200","bg-lime-300","bg-lime-400","bg-lime-500","bg-lime-600","bg-lime-700","bg-lime-800","bg-lime-900","bg-green-50","bg-green-100","bg-green-200","bg-green-300","bg-green-400","bg-green-500","bg-green-600","bg-green-700","bg-green-800","bg-green-900","bg-emerald-50","bg-emerald-100","bg-emerald-200","bg-emerald-300","bg-emerald-400","bg-emerald-500","bg-emerald-600","bg-emerald-700","bg-emerald-800","bg-emerald-900","bg-teal-50","bg-teal-100","bg-teal-200","bg-teal-300","bg-teal-400","bg-teal-500","bg-teal-600","bg-teal-700","bg-teal-800","bg-teal-900","bg-cyan-50","bg-cyan-100","bg-cyan-200","bg-cyan-300","bg-cyan-400","bg-cyan-500","bg-cyan-600","bg-cyan-700","bg-cyan-800","bg-cyan-900","bg-sky-50","bg-sky-100","bg-sky-200","bg-sky-300","bg-sky-400","bg-sky-500","bg-sky-600","bg-sky-700","bg-sky-800","bg-sky-900","bg-blue-50","bg-blue-100","bg-blue-200","bg-blue-300","bg-blue-400","bg-blue-500","bg-blue-600","bg-blue-700","bg-blue-800","bg-blue-900","bg-indigo-50","bg-indigo-100","bg-indigo-200","bg-indigo-300","bg-indigo-400","bg-indigo-500","bg-indigo-600","bg-indigo-700","bg-indigo-800","bg-indigo-900","bg-violet-50","bg-violet-100","bg-violet-200","bg-violet-300","bg-violet-400","bg-violet-500","bg-violet-600","bg-violet-700","bg-violet-800","bg-violet-900","bg-purple-50","bg-purple-100","bg-purple-200","bg-purple-300","bg-purple-400","bg-purple-500","bg-purple-600","bg-purple-700","bg-purple-800","bg-purple-900","bg-fuchsia-50","bg-fuchsia-100","bg-fuchsia-200","bg-fuchsia-300","bg-fuchsia-400","bg-fuchsia-500","bg-fuchsia-600","bg-fuchsia-700","bg-fuchsia-800","bg-fuchsia-900","bg-pink-50","bg-pink-100","bg-pink-200","bg-pink-300","bg-pink-400","bg-pink-500","bg-pink-600","bg-pink-700","bg-pink-800","bg-pink-900","bg-rose-50","bg-rose-100","bg-rose-200","bg-rose-300","bg-rose-400","bg-rose-500","bg-rose-600","bg-rose-700","bg-rose-800","bg-rose-900"],textColorVariables:["none","text-white","text-black","text-slate-50","text-slate-100","text-slate-200","text-slate-300","text-slate-400","text-slate-500","text-slate-600","text-slate-700","text-slate-800","text-slate-900","text-gray-50","text-gray-100","text-gray-200","text-gray-300","text-gray-400","text-gray-500","text-gray-600","text-gray-700","text-gray-800","text-gray-900","text-zinc-50","text-zinc-100","text-zinc-200","text-zinc-300","text-zinc-400","text-zinc-500","text-zinc-600","text-zinc-700","text-zinc-800","text-zinc-900","text-neutral-50","text-neutral-100","text-neutral-200","text-neutral-300","text-neutral-400","text-neutral-500","text-neutral-600","text-neutral-700","text-neutral-800","text-neutral-900","text-stone-50","text-stone-100","text-stone-200","text-stone-300","text-stone-400","text-stone-500","text-stone-600","text-stone-700","text-stone-800","text-stone-900","text-red-50","text-red-100","text-red-200","text-red-300","text-red-400","text-red-500","text-red-600","text-red-700","text-red-800","text-red-900","text-orange-50","text-orange-100","text-orange-200","text-orange-300","text-orange-400","text-orange-500","text-orange-600","text-orange-700","text-orange-800","text-orange-900","text-amber-50","text-amber-100","text-amber-200","text-amber-300","text-amber-400","text-amber-500","text-amber-600","text-amber-700","text-amber-800","text-amber-900","text-yellow-50","text-yellow-100","text-yellow-200","text-yellow-300","text-yellow-400","text-yellow-500","text-yellow-600","text-yellow-700","text-yellow-800","text-yellow-900","text-lime-50","text-lime-100","text-lime-200","text-lime-300","text-lime-400","text-lime-500","text-lime-600","text-lime-700","text-lime-800","text-lime-900","text-green-50","text-green-100","text-green-200","text-green-300","text-green-400","text-green-500","text-green-600","text-green-700","text-green-800","text-green-900","text-emerald-50","text-emerald-100","text-emerald-200","text-emerald-300","text-emerald-400","text-emerald-500","text-emerald-600","text-emerald-700","text-emerald-800","text-emerald-900","text-teal-50","text-teal-100","text-teal-200","text-teal-300","text-teal-400","text-teal-500","text-teal-600","text-teal-700","text-teal-800","text-teal-900","text-cyan-50","text-cyan-100","text-cyan-200","text-cyan-300","text-cyan-400","text-cyan-500","text-cyan-600","text-cyan-700","text-cyan-800","text-cyan-900","text-sky-50","text-sky-100","text-sky-200","text-sky-300","text-sky-400","text-sky-500","text-sky-600","text-sky-700","text-sky-800","text-sky-900","text-blue-50","text-blue-100","text-blue-200","text-blue-300","text-blue-400","text-blue-500","text-blue-600","text-blue-700","text-blue-800","text-blue-900","text-indigo-50","text-indigo-100","text-indigo-200","text-indigo-300","text-indigo-400","text-indigo-500","text-indigo-600","text-indigo-700","text-indigo-800","text-indigo-900","text-violet-50","text-violet-100","text-violet-200","text-violet-300","text-violet-400","text-violet-500","text-violet-600","text-violet-700","text-violet-800","text-violet-900","text-purple-50","text-purple-100","text-purple-200","text-purple-300","text-purple-400","text-purple-500","text-purple-600","text-purple-700","text-purple-800","text-purple-900","text-fuchsia-50","text-fuchsia-100","text-fuchsia-200","text-fuchsia-300","text-fuchsia-400","text-fuchsia-500","text-fuchsia-600","text-fuchsia-700","text-fuchsia-800","text-fuchsia-900","text-pink-50","text-pink-100","text-pink-200","text-pink-300","text-pink-400","text-pink-500","text-pink-600","text-pink-700","text-pink-800","text-pink-900","text-rose-50","text-rose-100","text-rose-200","text-rose-300","text-rose-400","text-rose-500","text-rose-600","text-rose-700","text-rose-800","text-rose-900"]},kn={opacities:["none","opacity-0","opacity-5","opacity-10","opacity-20","opacity-25","opacity-30","opacity-40","opacity-50","opacity-60","opacity-70","opacity-75","opacity-80","opacity-90","opacity-95","opacity-100"],backgroundOpacities:["none","bg-opacity-0","bg-opacity-5","bg-opacity-10","bg-opacity-20","bg-opacity-25","bg-opacity-30","bg-opacity-40","bg-opacity-50","bg-opacity-60","bg-opacity-70","bg-opacity-75","bg-opacity-80","bg-opacity-90","bg-opacity-95","bg-opacity-100"]},En={fontBase:["base:none","text-xs","text-sm","text-base","text-lg","text-xl","text-2xl","text-3xl","text-4xl","text-5xl","text-6xl","text-7xl","text-8xl","text-9xl"],fontDesktop:["lg:none","lg:text-xs","lg:text-sm","lg:text-base","lg:text-lg","lg:text-xl","lg:text-2xl","lg:text-3xl","lg:text-4xl","lg:text-5xl","lg:text-6xl","lg:text-7xl","lg:text-8xl","lg:text-9xl"],fontTablet:["md:none","md:text-xs","md:text-sm","md:text-base","md:text-lg","md:text-xl","md:text-2xl","md:text-3xl","md:text-4xl","md:text-5xl","md:text-6xl","md:text-7xl","md:text-8xl","md:text-9xl"],fontMobile:["sm:none","sm:text-xs","sm:text-sm","sm:text-base","sm:text-lg","sm:text-xl","sm:text-2xl","sm:text-3xl","sm:text-4xl","sm:text-5xl","sm:text-6xl","sm:text-7xl","sm:text-8xl","sm:text-9xl"]},fa={fontWeight:["none","font-thin","font-extralight","font-light","font-normal","font-medium","font-medium","font-bold","font-extrabold","font-black"],fontFamily:["none","font-sans","font-serif","font-mono"],fontStyle:["none","italic","non-italic"]},Rt={verticalPadding:["none","py-0","py-0.5","py-1","py-1.5","py-2","py-2.5","py-3","py-3.5","py-4","py-5","py-6","py-7","py-8","py-9","py-10","py-11","py-12","py-14","py-16","py-20","py-24","py-28","py-32","py-36","py-40","py-44","py-48","py-52","py-56","py-60","py-64","py-72","py-80","py-96"],horizontalPadding:["none","px-0","px-0.5","px-1","px-1.5","px-2","px-2.5","px-3","px-3.5","px-4","px-5","px-6","px-7","px-8","px-9","px-10","px-11","px-12","px-14","px-16","px-20","px-24","px-28","px-32","px-36","px-40","px-44","px-48","px-52","px-56","px-60","px-64","px-72","px-80","px-96"],verticalMargin:["none","my-0","my-0.5","my-1","my-1.5","my-2","my-2.5","my-3","my-3.5","my-4","my-5","my-6","my-7","my-8","my-9","my-10","my-11","my-12","my-14","my-16","my-20","my-24","my-28","my-32","my-36","my-40","my-44","my-48","my-52","my-56","my-60","my-64","my-72","my-80","my-96"],horizontalMargin:["none","mx-0","mx-0.5","mx-1","mx-1.5","mx-2","mx-2.5","mx-3","mx-3.5","mx-4","mx-5","mx-6","mx-7","mx-8","mx-9","mx-10","mx-11","mx-12","mx-14","mx-16","mx-20","mx-24","mx-28","mx-32","mx-36","mx-40","mx-44","mx-48","mx-52","mx-56","mx-60","mx-64","mx-72","mx-80","mx-96"]},st={roundedGlobal:["none","rounded-sm","rounded","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-3xl","rounded-full"],roundedTopLeft:["none","rounded-tl-sm","rounded-tl","rounded-tl-md","rounded-tl-lg","rounded-tl-xl","rounded-tl-2xl","rounded-tl-3xl","rounded-tl-full"],roundedTopRight:["none","rounded-tr-sm","rounded-tr","rounded-tr-md","rounded-tr-lg","rounded-tr-xl","rounded-tr-2xl","rounded-tr-3xl","rounded-tr-full"],roundedBottomLeft:["none","rounded-bl-sm","rounded-bl","rounded-bl-md","rounded-bl-lg","rounded-bl-xl","rounded-bl-2xl","rounded-bl-3xl","rounded-bl-full"],roundedBottomRight:["none","rounded-br-sm","rounded-br","rounded-br-md","rounded-br-lg","rounded-br-xl","rounded-br-2xl","rounded-br-3xl","rounded-br-full"]},Ar={borderStyle:["none","border-solid","border-dashed","border-dotted","border-double","border-hidden"],borderWidth:["none","border","border-2","border-4","border-8"],borderColor:["none","border-white","border-black","border-slate-50","border-slate-100","border-slate-200","border-slate-300","border-slate-400","border-slate-500","border-slate-600","border-slate-700","border-slate-800","border-slate-900","border-gray-50","border-gray-100","border-gray-200","border-gray-300","border-gray-400","border-gray-500","border-gray-600","border-gray-700","border-gray-800","border-gray-900","border-zinc-50","border-zinc-100","border-zinc-200","border-zinc-300","border-zinc-400","border-zinc-500","border-zinc-600","border-zinc-700","border-zinc-800","border-zinc-900","border-neutral-50","border-neutral-100","border-neutral-200","border-neutral-300","border-neutral-400","border-neutral-500","border-neutral-600","border-neutral-700","border-neutral-800","border-neutral-900","border-stone-50","border-stone-100","border-stone-200","border-stone-300","border-stone-400","border-stone-500","border-stone-600","border-stone-700","border-stone-800","border-stone-900","border-red-50","border-red-100","border-red-200","border-red-300","border-red-400","border-red-500","border-red-600","border-red-700","border-red-800","border-red-900","border-orange-50","border-orange-100","border-orange-200","border-orange-300","border-orange-400","border-orange-500","border-orange-600","border-orange-700","border-orange-800","border-orange-900","border-amber-50","border-amber-100","border-amber-200","border-amber-300","border-amber-400","border-amber-500","border-amber-600","border-amber-700","border-amber-800","border-amber-900","border-yellow-50","border-yellow-100","border-yellow-200","border-yellow-300","border-yellow-400","border-yellow-500","border-yellow-600","border-yellow-700","border-yellow-800","border-yellow-900","border-lime-50","border-lime-100","border-lime-200","border-lime-300","border-lime-400","border-lime-500","border-lime-600","border-lime-700","border-lime-800","border-lime-900","border-green-50","border-green-100","border-green-200","border-green-300","border-green-400","border-green-500","border-green-600","border-green-700","border-green-800","border-green-900","border-emerald-50","border-emerald-100","border-emerald-200","border-emerald-300","border-emerald-400","border-emerald-500","border-emerald-600","border-emerald-700","border-emerald-800","border-emerald-900","border-teal-50","border-teal-100","border-teal-200","border-teal-300","border-teal-400","border-teal-500","border-teal-600","border-teal-700","border-teal-800","border-teal-900","border-cyan-50","border-cyan-100","border-cyan-200","border-cyan-300","border-cyan-400","border-cyan-500","border-cyan-600","border-cyan-700","border-cyan-800","border-cyan-900","border-sky-50","border-sky-100","border-sky-200","border-sky-300","border-sky-400","border-sky-500","border-sky-600","border-sky-700","border-sky-800","border-sky-900","border-blue-50","border-blue-100","border-blue-200","border-blue-300","border-blue-400","border-blue-500","border-blue-600","border-blue-700","border-blue-800","border-blue-900","border-indigo-50","border-indigo-100","border-indigo-200","border-indigo-300","border-indigo-400","border-indigo-500","border-indigo-600","border-indigo-700","border-indigo-800","border-indigo-900","border-violet-50","border-violet-100","border-violet-200","border-violet-300","border-violet-400","border-violet-500","border-violet-600","border-violet-700","border-violet-800","border-violet-900","border-purple-50","border-purple-100","border-purple-200","border-purple-300","border-purple-400","border-purple-500","border-purple-600","border-purple-700","border-purple-800","border-purple-900","border-fuchsia-50","border-fuchsia-100","border-fuchsia-200","border-fuchsia-300","border-fuchsia-400","border-fuchsia-500","border-fuchsia-600","border-fuchsia-700","border-fuchsia-800","border-fuchsia-900","border-pink-50","border-pink-100","border-pink-200","border-pink-300","border-pink-400","border-pink-500","border-pink-600","border-pink-700","border-pink-800","border-pink-900","border-rose-50","border-rose-100","border-rose-200","border-rose-300","border-rose-400","border-rose-500","border-rose-600","border-rose-700","border-rose-800","border-rose-900"]};let Cn;const Wm=new Uint8Array(16);function qm(){if(!Cn&&(Cn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Cn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Cn(Wm)}const we=[];for(let r=0;r<256;++r)we.push((r+256).toString(16).slice(1));function Um(r,e=0){return we[r[e+0]]+we[r[e+1]]+we[r[e+2]]+we[r[e+3]]+"-"+we[r[e+4]]+we[r[e+5]]+"-"+we[r[e+6]]+we[r[e+7]]+"-"+we[r[e+8]]+we[r[e+9]]+"-"+we[r[e+10]]+we[r[e+11]]+we[r[e+12]]+we[r[e+13]]+we[r[e+14]]+we[r[e+15]]}const _l={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function zl(r,e,t){if(_l.randomUUID&&!r)return _l.randomUUID();r=r||{};const o=r.random||(r.rng||qm)();return o[6]=o[6]&15|64,o[8]=o[8]&63|128,Um(o)}const Fl=function(e=200){return new Promise(t=>{setTimeout(t,e)})};class se{constructor(e){fo(this,q);ne(this,"nextTick");ne(this,"containsPagebuilder");ne(this,"pageBuilderStateStore");ne(this,"getTextAreaVueModel");ne(this,"getLocalStorageItemName");ne(this,"getCurrentImage");ne(this,"getHyberlinkEnable");ne(this,"getComponents");ne(this,"getComponent");ne(this,"getElement");ne(this,"getNextSibling");ne(this,"getParentElement");ne(this,"getRestoredElement");ne(this,"getComponentArrayAddMethod");ne(this,"NoneListernesTags");ne(this,"delay");ne(this,"observer");fo(this,ta,async(e,t)=>{e.preventDefault(),e.stopPropagation();const o=document.querySelector("#pagebuilder");if(!o)return;this.pageBuilderStateStore.setMenuRight(!0);const n=o.querySelector("[selected]");n&&n.removeAttribute("selected"),t.removeAttribute("hovered"),t.setAttribute("selected",""),this.pageBuilderStateStore.setElement(t)});fo(this,ra,(e,t)=>{e.preventDefault(),e.stopPropagation();const o=document.querySelector("#pagebuilder");if(!o)return;const n=o.querySelector("[hovered]");n&&n.removeAttribute("hovered"),t.hasAttribute("selected")||t.setAttribute("hovered","")});fo(this,oa,e=>{e.preventDefault(),e.stopPropagation();const t=document.querySelector("#pagebuilder");if(!t)return;const o=t.querySelector("[hovered]");o&&o.removeAttribute("hovered")});ne(this,"setEventListenersForElements",async()=>{const e=new WeakSet,t=document.querySelector("#pagebuilder");t&&(await s.nextTick(),await new Promise(o=>requestAnimationFrame(o)),t.querySelectorAll("section *").forEach(o=>{if(this.isEditableElement(o)&&e&&!e.has(o)){e.add(o);const n=o;n.addEventListener("click",i=>xn(this,ta).call(this,i,n)),n.addEventListener("mouseover",i=>xn(this,ra).call(this,i,n)),n.addEventListener("mouseleave",i=>xn(this,oa).call(this,i))}}))});ne(this,"handleAutoSave",async()=>{const e=this.pageBuilderStateStore.getConfigPageBuilder;if(e&&e.userSettings&&typeof e.userSettings.autoSave=="boolean"&&e.userSettings.autoSave!==!1){if(this.pageBuilderStateStore.getIsSaving)return;try{this.pageBuilderStateStore.setIsSaving(!0),await this.delay(1e3),await this.saveComponentsLocalStorage()}catch(t){console.error("Error trying auto save.",t)}finally{this.pageBuilderStateStore.setIsSaving(!1)}}if(e&&!e.userSettings)try{this.pageBuilderStateStore.setIsSaving(!0),await this.delay(200),await this.saveComponentsLocalStorage()}catch(t){console.error("Error trying saving.",t)}finally{this.pageBuilderStateStore.setIsSaving(!1)}});ne(this,"handleManualSave",async()=>{const e=this.pageBuilderStateStore.getConfigPageBuilder;e&&e.userSettings&&(typeof e.userSettings.autoSave=="boolean"&&!e.userSettings.autoSave||typeof e.userSettings.autoSave=="boolean"&&e.userSettings.autoSave)&&(this.pageBuilderStateStore.setIsSaving(!0),await this.delay(200),await this.saveComponentsLocalStorage(),this.pageBuilderStateStore.setIsSaving(!1)),e&&!e.userSettings&&(this.pageBuilderStateStore.setIsSaving(!0),await this.delay(200),await this.saveComponentsLocalStorage(),this.pageBuilderStateStore.setIsSaving(!1))});ne(this,"ensureTextAreaHasContent",()=>{if(!this.getElement.value||typeof this.getElement.value.innerHTML!="string")return;const e=this.getElement.value,t=e.tagName;["DIV"].includes(t)&&e.tagName.toLowerCase()!=="img"&&e.textContent&&Number(e.textContent.length)===0?(e.classList.add("h-6"),e.classList.add("bg-red-50")):(e.classList.remove("h-6"),e.classList.remove("bg-red-50"))});ne(this,"handleTextInput",async e=>{var t;typeof((t=this.getElement.value)==null?void 0:t.innerHTML)=="string"&&(typeof this.getElement.value.innerHTML=="string"&&(await this.nextTick,this.getElement.value.textContent=e,this.pageBuilderStateStore.setTextAreaVueModel(this.getElement.value.innerHTML),this.getElement.value.innerHTML=e),this.ensureTextAreaHasContent())});fo(this,na,async()=>{const e=document.querySelector("#pagebuilder");if(!e)return;const t=e.querySelector("[hovered]");t&&t.removeAttribute("hovered");const o=[];e.querySelectorAll("section[data-componentid]").forEach(n=>{o.push({html_code:n.outerHTML,id:n.getAttribute("data-componentid"),title:n.getAttribute("title")||n.getAttribute("data-componentid")||"Untitled Component"})}),this.getLocalStorageItemName.value&&localStorage.setItem(this.getLocalStorageItemName.value,JSON.stringify(o)),await new Promise(n=>n())});this.nextTick=s.nextTick(),this.containsPagebuilder=document.querySelector("#contains-pagebuilder"),this.pageBuilderStateStore=e,this.getTextAreaVueModel=s.computed(()=>this.pageBuilderStateStore.getTextAreaVueModel),this.getLocalStorageItemName=s.computed(()=>this.pageBuilderStateStore.getLocalStorageItemName),this.getCurrentImage=s.computed(()=>this.pageBuilderStateStore.getCurrentImage),this.getHyberlinkEnable=s.computed(()=>this.pageBuilderStateStore.getHyberlinkEnable),this.getComponents=s.computed(()=>this.pageBuilderStateStore.getComponents),this.getComponent=s.computed(()=>this.pageBuilderStateStore.getComponent),this.getElement=s.computed(()=>this.pageBuilderStateStore.getElement),this.getNextSibling=s.computed(()=>this.pageBuilderStateStore.getNextSibling),this.getParentElement=s.computed(()=>this.pageBuilderStateStore.getParentElement),this.getRestoredElement=s.computed(()=>this.pageBuilderStateStore.getRestoredElement),this.getComponentArrayAddMethod=s.computed(()=>this.pageBuilderStateStore.getComponentArrayAddMethod),this.NoneListernesTags=["P","H1","H2","H3","H4","H5","H6","IFRAME","UL","OL","LI","EM","STRONG","B","A","SPAN","BLOCKQUOTE","BR"],this.delay=Fl}async clearHtmlSelection(){this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null),await Q(this,q,_m).call(this)}setConfigPageBuilder(e){this.pageBuilderStateStore.setConfigPageBuilder(e)}isEditableElement(e){return e?!this.NoneListernesTags.includes(e.tagName):!1}cloneCompObjForDOMInsertion(e){const t={...e};if(this.containsPagebuilder&&(this.getComponentArrayAddMethod.value==="unshift"||this.getComponentArrayAddMethod.value==="push")&&(this.getComponentArrayAddMethod.value==="unshift"&&this.containsPagebuilder.scrollTo({top:0,behavior:"smooth"}),this.getComponentArrayAddMethod.value==="push")){const l=this.containsPagebuilder.scrollHeight;this.containsPagebuilder.scrollTo({top:l,behavior:"smooth"})}const n=new DOMParser().parseFromString(t.html_code||"","text/html");n.querySelectorAll("*").forEach(l=>{Q(this,q,Lm).call(this,l)});const a=n.querySelector("section");return a&&(a.dataset.componentid=zl(),a.querySelectorAll("img").forEach(d=>{d.setAttribute("data-image",zl())}),t.id=a.dataset.componentid,t.html_code=a.outerHTML),t}async currentClasses(){var t;await new Promise(o=>requestAnimationFrame(o));const e=Array.from(((t=this.getElement.value)==null?void 0:t.classList)||[]);this.pageBuilderStateStore.setCurrentClasses(e)}handleAddClasses(e){var t,o;if(typeof e=="string"&&e!==""&&!e.includes(" ")&&!((t=this.getElement.value)!=null&&t.classList.contains(e))){const n=e.trim();(o=this.getElement.value)==null||o.classList.add(n),this.pageBuilderStateStore.setElement(this.getElement.value),this.pageBuilderStateStore.setClass(e)}}handleRemoveClasses(e){var t,o;(t=this.getElement.value)!=null&&t.classList.contains(e)&&((o=this.getElement.value)==null||o.classList.remove(e),this.pageBuilderStateStore.setElement(this.getElement.value),this.pageBuilderStateStore.removeClass(e))}handleDeleteElement(){var t,o;const e=this.getElement.value;if(e){if(!(e!=null&&e.parentNode)){this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null);return}((t=e.parentElement)==null?void 0:t.tagName)!=="SECTION"&&(this.pageBuilderStateStore.setParentElement(e.parentNode),this.pageBuilderStateStore.setRestoredElement(e.outerHTML),this.pageBuilderStateStore.setNextSibling(e.nextSibling)),((o=e.parentElement)==null?void 0:o.tagName)==="SECTION"&&this.deleteComponent(),e.remove(),this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null)}}async handleRestoreElement(){if(this.getRestoredElement.value&&this.getParentElement.value){const e=document.createElement("div");e.innerHTML=this.getRestoredElement.value,e.firstChild&&this.getParentElement.value&&this.getParentElement.value.insertBefore(e.firstChild,this.getNextSibling.value)}this.pageBuilderStateStore.setParentElement(null),this.pageBuilderStateStore.setRestoredElement(null),this.pageBuilderStateStore.setNextSibling(null),this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null),await this.setEventListenersForElements()}handleFontWeight(e){Q(this,q,ce).call(this,e,fa.fontWeight,"setFontWeight")}handleFontFamily(e){Q(this,q,ce).call(this,e,fa.fontFamily,"setFontFamily")}handleFontStyle(e){Q(this,q,ce).call(this,e,fa.fontStyle,"setFontStyle")}handleVerticalPadding(e){Q(this,q,ce).call(this,e,Rt.verticalPadding,"setFontVerticalPadding")}handleHorizontalPadding(e){Q(this,q,ce).call(this,e,Rt.horizontalPadding,"setFontHorizontalPadding")}handleVerticalMargin(e){Q(this,q,ce).call(this,e,Rt.verticalMargin,"setFontVerticalMargin")}handleHorizontalMargin(e){Q(this,q,ce).call(this,e,Rt.horizontalMargin,"setFontHorizontalMargin")}handleBorderStyle(e){Q(this,q,ce).call(this,e,Ar.borderStyle,"setBorderStyle")}handleBorderWidth(e){Q(this,q,ce).call(this,e,Ar.borderWidth,"setBorderWidth")}handleBorderColor(e){Q(this,q,ce).call(this,e,Ar.borderColor,"setBorderColor")}handleBackgroundColor(e){Q(this,q,ce).call(this,e,vn.backgroundColorVariables,"setBackgroundColor")}handleTextColor(e){Q(this,q,ce).call(this,e,vn.textColorVariables,"setTextColor")}handleBorderRadiusGlobal(e){Q(this,q,ce).call(this,e,st.roundedGlobal,"setBorderRadiusGlobal")}handleBorderRadiusTopLeft(e){Q(this,q,ce).call(this,e,st.roundedTopLeft,"setBorderRadiusTopLeft")}handleBorderRadiusTopRight(e){Q(this,q,ce).call(this,e,st.roundedTopRight,"setBorderRadiusTopRight")}handleBorderRadiusBottomleft(e){Q(this,q,ce).call(this,e,st.roundedBottomLeft,"setBorderRadiusBottomleft")}handleBorderRadiusBottomRight(e){Q(this,q,ce).call(this,e,st.roundedBottomRight,"setBorderRadiusBottomRight")}handleFontSize(e){if(!e||!this.getElement.value)return;let t=En.fontBase.find(p=>{var u;return(u=this.getElement.value)==null?void 0:u.classList.contains(p)});t===void 0&&(t="base:none");let o=En.fontDesktop.find(p=>{var u;return(u=this.getElement.value)==null?void 0:u.classList.contains(p)});o===void 0&&(o="lg:none");let n=En.fontTablet.find(p=>{var u;return(u=this.getElement.value)==null?void 0:u.classList.contains(p)});n===void 0&&(n="md:none");let i=En.fontMobile.find(p=>{var u;return(u=this.getElement.value)==null?void 0:u.classList.contains(p)});i===void 0&&(i="sm:none"),this.pageBuilderStateStore.setFontBase(t),this.pageBuilderStateStore.setFontDesktop(o),this.pageBuilderStateStore.setFontTablet(n),this.pageBuilderStateStore.setFontMobile(i);const a=s.computed(()=>this.pageBuilderStateStore.getFontBase),l=s.computed(()=>this.pageBuilderStateStore.getFontDesktop),d=s.computed(()=>this.pageBuilderStateStore.getFontTablet),c=s.computed(()=>this.pageBuilderStateStore.getFontMobile);e!==void 0&&this.getElement.value&&(!e.includes("sm:")&&!e.includes("md:")&&!e.includes("lg:")&&(a.value&&this.getElement.value.classList.remove(a.value),e.includes("base:none")||this.getElement.value.classList.add(e),this.pageBuilderStateStore.setFontBase(e)),e.includes("lg:")&&(l.value&&this.getElement.value.classList.remove(l.value),e.includes("lg:none")||this.getElement.value.classList.add(e),this.pageBuilderStateStore.setFontDesktop(e)),e.includes("md:")&&(d.value&&this.getElement.value.classList.remove(d.value),e.includes("md:none")||this.getElement.value.classList.add(e),this.pageBuilderStateStore.setFontTablet(e)),e.includes("sm:")&&(c.value&&this.getElement.value.classList.remove(c.value),e.includes("sm:none")||this.getElement.value.classList.add(e),this.pageBuilderStateStore.setFontMobile(e)),this.pageBuilderStateStore.setElement(this.getElement.value))}handleBackgroundOpacity(e){Q(this,q,ce).call(this,e,kn.backgroundOpacities,"setBackgroundOpacity")}handleOpacity(e){Q(this,q,ce).call(this,e,kn.opacities,"setOpacity")}deleteAllComponents(){this.pageBuilderStateStore.setComponents([])}deleteComponent(){if(!this.getComponents.value||!this.getComponent.value)return;const e=this.getComponents.value.findIndex(t=>{var o;return t.id===((o=this.getComponent.value)==null?void 0:o.id)});e!==-1&&(this.getComponents.value.splice(e,1),this.pageBuilderStateStore.setComponents(this.getComponents.value),this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null))}moveComponent(e){if(!this.getComponents.value||!this.getComponent.value||this.getComponents.value.length<=1)return;const t=this.getComponent.value,o=this.getComponents.value.findIndex(i=>i.id===t.id);if(o===-1)return;const n=o+e;n<0||n>=this.getComponents.value.length||(this.getComponents.value.splice(o,1),this.getComponents.value.splice(n,0,t))}ElOrFirstChildIsIframe(){var e,t,o;return((e=this.getElement.value)==null?void 0:e.tagName)==="IFRAME"||((o=(t=this.getElement.value)==null?void 0:t.firstElementChild)==null?void 0:o.tagName)==="IFRAME"}selectedElementIsValidText(){var o,n,i,a;let e=!1;const t=(o=this.getElement.value)==null?void 0:o.children;if(!(((n=this.getElement.value)==null?void 0:n.tagName)==="IMG"||((a=(i=this.getElement.value)==null?void 0:i.firstElementChild)==null?void 0:a.tagName)==="IFRAME")&&t)return Array.from(t).forEach(l=>{(l==null?void 0:l.tagName)==="IMG"||(l==null?void 0:l.tagName)==="DIV"?e=!1:e=!0}),e}previewCurrentDesign(){this.pageBuilderStateStore.setElement(null);const e=document.querySelector("#pagebuilder");if(!e)return;const t=s.ref([]);e.querySelectorAll("section:not(section section)").forEach(n=>{const i=n.querySelector("[hovered]");i&&i.removeAttribute("hovered");const a=n.querySelector("[selected]");a&&a.removeAttribute("selected"),t.value.push(n.outerHTML)});const o=JSON.stringify(t.value);this.pageBuilderStateStore.setCurrentLayoutPreview(o),t.value=[]}sanitizeForLocalStorage(e){return e.trim().toLowerCase().replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}updateLocalStorageItemName(){var n,i,a,l,d;const e=(i=(n=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:n.updateOrCreate)==null?void 0:i.formType,t=(a=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:a.resourceData,o=(d=(l=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:l.updateOrCreate)==null?void 0:d.formName;if(e==="create"){if(o&&o.length>0){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-create-resource-${this.sanitizeForLocalStorage(o)}`);return}this.pageBuilderStateStore.setLocalStorageItemName("page-builder-create-resource");return}if(e==="update"){if(typeof o=="string"&&o.length>0){if(t&&t!=null&&!t.title&&(!t.id||typeof t.id=="string")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(o)}`);return}if(t&&t!=null&&t.title&&typeof t.title=="string"&&t.title.length>0&&(!t.id||typeof t.id=="string")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(o)}-${this.sanitizeForLocalStorage(t.title)}`);return}if(t&&t!=null&&!t.title&&typeof t.title!="string"&&(t.id||typeof t.id=="number")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(o)}-${this.sanitizeForLocalStorage(String(t.id))}`);return}if(t&&t!=null&&t.title&&typeof t.title=="string"&&t.title.length>0&&(t.id||typeof t.id=="number")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(o)}-${this.sanitizeForLocalStorage(t.title)}-${this.sanitizeForLocalStorage(String(t.id))}`);return}}if(!o||typeof o=="string"&&o.length===0){if(t&&t!=null&&!t.title&&(!t.id||typeof t.id=="string")){this.pageBuilderStateStore.setLocalStorageItemName("page-builder-update-resource");return}if(t&&t!=null&&t.title&&typeof t.title=="string"&&t.title.length>0&&(!t.id||typeof t.id=="string")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(t.title)}`);return}if(t&&t!=null&&!t.title&&typeof t.title!="string"&&(t.id||typeof t.id=="number")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(String(t.id))}`);return}if(t&&t!=null&&t.title&&typeof t.title=="string"&&t.title.length>0&&(t.id||typeof t.id=="number")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(t.title)}-${this.sanitizeForLocalStorage(String(t.id))}`);return}}}}async saveComponentsLocalStorage(){await this.nextTick,await xn(this,na).call(this)}async removeItemComponentsLocalStorage(){await this.nextTick,this.getLocalStorageItemName.value&&localStorage.removeItem(this.getLocalStorageItemName.value)}getStorageItemNameForResource(){return this.getLocalStorageItemName.value}areComponentsStoredInLocalStorage(){if(!this.getLocalStorageItemName.value)return!1;if(this.getLocalStorageItemName.value&&localStorage.getItem(this.getLocalStorageItemName.value)){const e=localStorage.getItem(this.getLocalStorageItemName.value);if(e)return e}return!1}async updateBasePrimaryImage(e){this.getElement.value&&this.getCurrentImage.value&&this.getCurrentImage.value.src&&(await this.nextTick,this.pageBuilderStateStore.setBasePrimaryImage(`${this.getCurrentImage.value.src}`),await this.handleAutoSave())}showBasePrimaryImage(){if(!this.getElement.value)return;const e=document.createElement("div");e.innerHTML=this.getElement.value.outerHTML;const t=e.getElementsByTagName("img"),o=e.getElementsByTagName("div");if(t.length===1&&o.length===0){this.pageBuilderStateStore.setBasePrimaryImage(t[0].src);return}this.pageBuilderStateStore.setBasePrimaryImage(null)}handleHyperlink(e,t,o){var a;if(this.pageBuilderStateStore.setHyperlinkAbility(!0),!this.getElement.value||!(this.getElement.value instanceof HTMLElement)||typeof this.getElement.value.closest!="function")return;this.getElement.value.closest("a")!==null&&this.pageBuilderStateStore.setHyperlinkAbility(!1);const i=(a=this.getElement.value)==null?void 0:a.tagName.toUpperCase();if(i!=="P"&&i!=="H1"&&i!=="H2"&&i!=="H3"&&i!=="H4"&&i!=="H5"&&i!=="H6"&&this.pageBuilderStateStore.setHyperlinkAbility(!1),e===void 0){Q(this,q,Fm).call(this);return}Q(this,q,zm).call(this,e,t||null,o||!1)}async addComponent(e){try{const t=this.cloneCompObjForDOMInsertion({html_code:e.html_code,id:e.id,title:e.title});this.pageBuilderStateStore.setPushComponents({component:t,componentArrayAddMethod:this.getComponentArrayAddMethod.value||"push"}),await s.nextTick(),await this.setEventListenersForElements()}catch(t){console.error("Error adding component:",t)}}setComponentsFromData(e){const t=e.trim();t.startsWith("[")||t.startsWith("{")?Q(this,q,Pl).call(this,t):t.startsWith("<")?Q(this,q,Hm).call(this,t):Q(this,q,Pl).call(this,t)}toggleTipTapModal(e){this.pageBuilderStateStore.setShowModalTipTap(e),e||this.handleAutoSave()}loadExistingContent(e,t){var n,i,a,l;if(this.pageBuilderStateStore.setComponents([]),!this.pageBuilderStateStore.getConfigPageBuilder)return;t&&e!==void 0&&this.setComponentsFromData(e);const o=this.areComponentsStoredInLocalStorage();((i=(n=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:n.updateOrCreate)==null?void 0:i.formType)==="create"&&o&&this.setComponentsFromData(o),((l=(a=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:a.updateOrCreate)==null?void 0:l.formType)==="update"&&e&&this.setComponentsFromData(e)}async handlePageBuilderMethods(){await new Promise(e=>requestAnimationFrame(e)),this.handleHyperlink(void 0,null,!1),this.handleOpacity(void 0),this.handleBackgroundOpacity(void 0),this.showBasePrimaryImage(),this.handleBorderStyle(void 0),this.handleBorderWidth(void 0),this.handleBorderColor(void 0),this.handleBorderRadiusGlobal(void 0),this.handleBorderRadiusTopLeft(void 0),this.handleBorderRadiusTopRight(void 0),this.handleBorderRadiusBottomleft(void 0),this.handleBorderRadiusBottomRight(void 0),this.handleFontSize(void 0),this.handleFontWeight(void 0),this.handleFontFamily(void 0),this.handleFontStyle(void 0),this.handleVerticalPadding(void 0),this.handleHorizontalPadding(void 0),this.handleVerticalMargin(void 0),this.handleHorizontalMargin(void 0),this.handleBackgroundColor(void 0),this.handleTextColor(void 0),await this.currentClasses()}}q=new WeakSet,ce=function(e,t,o){const n=this.getElement.value;if(!n)return;const i=t.find(l=>n.classList.contains(l));let a=i||"none";return e===void 0?(typeof o=="string"&&o.length>2&&this.pageBuilderStateStore[o](a),i):(typeof e=="string"&&e!=="none"?(a&&n.classList.contains(a)&&n.classList.remove(a),n.classList.add(e),a=e):typeof e=="string"&&e==="none"&&a&&(n.classList.remove(a),a=e),typeof o=="string"&&o.length>2&&(this.pageBuilderStateStore[o](a),this.pageBuilderStateStore.setElement(n)),i)},Lm=function(e){Q(this,q,Rm).call(this,e),e.tagName==="IMG"&&e.classList.add("smooth-transition"),e.tagName==="DIV"&&e.classList.length},Rm=function(e){var t;if(e&&this.NoneListernesTags.includes(e.tagName)&&(e.previousElementSibling&&e.previousElementSibling.tagName==="IMG"||e.nextElementSibling&&e.nextElementSibling.tagName==="IMG")){const o=document.createElement("div");(t=e.parentNode)==null||t.insertBefore(o,e),o.appendChild(e)}},ta=new WeakMap,ra=new WeakMap,oa=new WeakMap,_m=async function(){await new Promise(n=>requestAnimationFrame(n));const e=document.querySelector("#pagebuilder");if(!e)return;const t=e.querySelector("[hovered]");t&&t.removeAttribute("hovered");const o=e.querySelector("[selected]");o&&o.removeAttribute("selected")},na=new WeakMap,zm=function(e,t,o){if(!this.getElement.value||!(this.getElement.value instanceof HTMLElement)||typeof this.getElement.value.closest!="function")return;const n=this.getElement.value.closest("a"),i=this.getElement.value.querySelector("a");this.pageBuilderStateStore.setHyperlinkError(null);const a=/^https?:\/\//,l=s.ref(!0);if(e===!0&&t!==null&&(l.value=a.test(t)),l.value===!1){this.pageBuilderStateStore.setHyperlinkMessage(null),this.pageBuilderStateStore.setHyperlinkError("URL is not valid");return}if(e===!0&&typeof t=="string"){if(i!==null&&t.length!==0){i.href=t,o===!0&&(i.target="_blank"),o===!1&&i.removeAttribute("target"),i.textContent=this.getElement.value.textContent,this.pageBuilderStateStore.setHyperlinkMessage("Succesfully updated element hyperlink"),this.pageBuilderStateStore.setElementContainsHyperlink(!0);return}if(i===null&&t.length!==0&&n===null){const d=document.createElement("a");d.href=t,o===!0&&(d.target="_blank"),d.textContent=this.getElement.value.textContent,this.getElement.value.textContent="",this.getElement.value.appendChild(d),this.pageBuilderStateStore.setHyperlinkMessage("Successfully added hyperlink to element"),this.pageBuilderStateStore.setElementContainsHyperlink(!0);return}}if(e===!1&&t==="removeHyperlink"){const d=this.getElement.value.textContent||"",c=document.createTextNode(d);this.getElement.value.textContent="",this.getElement.value.appendChild(c),this.pageBuilderStateStore.setHyberlinkEnable(!1),this.pageBuilderStateStore.setElementContainsHyperlink(!1)}},Fm=function(){if(!this.getElement.value)return;const e=this.getElement.value.querySelector("a");if(e!==null){this.pageBuilderStateStore.setHyberlinkEnable(!0),this.pageBuilderStateStore.setElementContainsHyperlink(!0),this.pageBuilderStateStore.setHyperlinkInput(e.href),this.pageBuilderStateStore.setHyperlinkMessage(null),this.pageBuilderStateStore.setHyperlinkError(null),e.target==="_blank"&&this.pageBuilderStateStore.setOpenHyperlinkInNewTab(!0),e.target!=="_blank"&&this.pageBuilderStateStore.setOpenHyperlinkInNewTab(!1);return}this.pageBuilderStateStore.setElementContainsHyperlink(!1),this.pageBuilderStateStore.setHyperlinkInput(""),this.pageBuilderStateStore.setHyperlinkError(null),this.pageBuilderStateStore.setHyperlinkMessage(null),this.pageBuilderStateStore.setHyberlinkEnable(!1)},Pl=function(e){try{const t=JSON.parse(e);let o=[];Array.isArray(t)&&t.length>0&&(o=t),this.pageBuilderStateStore.setComponents(o)}catch(t){console.error("Error parsing JSON components:",t),this.pageBuilderStateStore.setComponents([])}},Hm=function(e){try{const n=new DOMParser().parseFromString(e,"text/html").querySelectorAll("section[data-componentid]"),i=[];n.forEach(a=>{const l=a;i.push({html_code:l.outerHTML,id:l.dataset.componentid||null,title:l.title||l.dataset.componentid||"Untitled Component"})}),this.pageBuilderStateStore.setComponents(i)}catch(t){console.error("Error parsing HTML components:",t),this.pageBuilderStateStore.setComponents([])}};const Km={class:"font-sans"},Gm={key:0,class:"fixed inset-0 z-40 flex items-center justify-center mx-4",role:"dialog","aria-modal":"true","aria-labelledby":"dialog-title"},Jm={class:"h-16 flex items-center justify-between border-b border-gray-200 bg-white mb-2"},Ym={as:"h3",class:"myQuaternaryHeader my-0 py-0"},Dr=s.defineComponent({__name:"ModalBuilder",props:{title:{type:String,required:!0},showModalBuilder:{type:Boolean,default:!1},maxWidth:{type:String,default:"2xl"},minHeight:{type:String},maxHeight:{type:String}},emits:["closeMainModalBuilder"],setup(r,{emit:e}){const t=r,o=e,n=()=>{o("closeMainModalBuilder")},i=s.computed(()=>({sm:"lg:max-w-sm",md:"lg:max-w-md",lg:"lg:max-w-lg",xl:"lg:max-w-xl","2xl":"lg:max-w-2xl","3xl":"lg:max-w-3xl","4xl":"lg:max-w-4xl","5xl":"lg:max-w-5xl","6xl":"lg:max-w-6xl","7xl":"lg:max-w-7xl",full:"lg:max-w-full",screen:"lg:w-screen sm:max-w-none"})[t.maxWidth]);return(a,l)=>(s.openBlock(),s.createBlock(s.Teleport,{to:"body"},[s.createElementVNode("div",Km,[r.showModalBuilder?(s.openBlock(),s.createElementBlock("div",Gm,[s.createElementVNode("div",{class:"fixed inset-0 bg-black/50 transition-opacity",onClick:n}),s.createElementVNode("div",{class:s.normalizeClass(["relative inline-block bg-white rounded-xl text-left overflow-hidden shadow-xl transform transition-all max-w-[96vh] max-h-[98vh] overflow-y-auto w-full px-4",[i.value?i.value:"",r.minHeight?r.minHeight:"",r.maxHeight?r.maxHeight:""]])},[s.createElementVNode("div",Jm,[s.createElementVNode("h3",Ym,s.toDisplayString(r.title),1),s.createElementVNode("div",{class:"h-10 w-10 flex-end cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white hover:fill-white focus-visible:ring-0",onClick:n},l[0]||(l[0]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," close ",-1)]))]),s.renderSlot(a.$slots,"default")],2)])):s.createCommentVNode("",!0)])]))}});function Sn(r,e,t){return Array.isArray(r)?(r.length=Math.max(r.length,e),r.splice(e,1,t),t):(r[e]=t,t)}function ba(r,e){if(Array.isArray(r)){r.splice(e,1);return}delete r[e]}function Qm(){return Hl().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Hl(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Xm=typeof Proxy=="function",Zm="devtools-plugin:setup",$m="plugin:settings:set";let Ir,ya;function eh(){var r;return Ir!==void 0||(typeof window<"u"&&window.performance?(Ir=!0,ya=window.performance):typeof globalThis<"u"&&(!((r=globalThis.perf_hooks)===null||r===void 0)&&r.performance)?(Ir=!0,ya=globalThis.perf_hooks.performance):Ir=!1),Ir}function th(){return eh()?ya.now():Date.now()}class rh{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const o={};if(e.settings)for(const a in e.settings){const l=e.settings[a];o[a]=l.defaultValue}const n=`__vue-devtools-plugin-settings__${e.id}`;let i=Object.assign({},o);try{const a=localStorage.getItem(n),l=JSON.parse(a);Object.assign(i,l)}catch{}this.fallbacks={getSettings(){return i},setSettings(a){try{localStorage.setItem(n,JSON.stringify(a))}catch{}i=a},now(){return th()}},t&&t.on($m,(a,l)=>{a===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(a,l)=>this.target?this.target.on[l]:(...d)=>{this.onQueue.push({method:l,args:d})}}),this.proxiedTarget=new Proxy({},{get:(a,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...d)=>(this.targetQueue.push({method:l,args:d,resolve:()=>{}}),this.fallbacks[l](...d)):(...d)=>new Promise(c=>{this.targetQueue.push({method:l,args:d,resolve:c})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function jl(r,e){const t=r,o=Hl(),n=Qm(),i=Xm&&t.enableEarlyProxy;if(n&&(o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))n.emit(Zm,r,e);else{const a=i?new rh(t,n):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:e,proxy:a}),a&&e(a.proxiedTarget)}}/*!
1
+ (function(U,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],s):(U=typeof globalThis<"u"?globalThis:U||self,s(U.VueWebsitePageBuilder={},U.Vue))})(this,function(U,s){"use strict";var Q6=Object.defineProperty;var Dm=U=>{throw TypeError(U)};var X6=(U,s,Te)=>s in U?Q6(U,s,{enumerable:!0,configurable:!0,writable:!0,value:Te}):U[s]=Te;var ne=(U,s,Te)=>X6(U,typeof s!="symbol"?s+"":s,Te),Im=(U,s,Te)=>s.has(U)||Dm("Cannot "+Te);var xn=(U,s,Te)=>(Im(U,s,"read from private field"),Te?Te.call(U):s.get(U)),fo=(U,s,Te)=>s.has(U)?Dm("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(U):s.set(U,Te);var Q=(U,s,Te)=>(Im(U,s,"access private method"),Te);var q,ce,Lm,Rm,ta,ra,oa,_m,na,zm,Fm,Al,Hm;function Te(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,o.get?o:{enumerable:!0,get:()=>r[t]})}}return e.default=r,Object.freeze(e)}const _l=Te(s),vn={backgroundColorVariables:["none","bg-white","bg-black","bg-slate-50","bg-slate-100","bg-slate-200","bg-slate-300","bg-slate-400","bg-slate-500","bg-slate-600","bg-slate-700","bg-slate-800","bg-slate-900","bg-gray-50","bg-gray-100","bg-gray-200","bg-gray-300","bg-gray-400","bg-gray-500","bg-gray-600","bg-gray-700","bg-gray-800","bg-gray-900","bg-zinc-50","bg-zinc-100","bg-zinc-200","bg-zinc-300","bg-zinc-400","bg-zinc-500","bg-zinc-600","bg-zinc-700","bg-zinc-800","bg-zinc-900","bg-neutral-50","bg-neutral-100","bg-neutral-200","bg-neutral-300","bg-neutral-400","bg-neutral-500","bg-neutral-600","bg-neutral-700","bg-neutral-800","bg-neutral-900","bg-stone-50","bg-stone-100","bg-stone-200","bg-stone-300","bg-stone-400","bg-stone-500","bg-stone-600","bg-stone-700","bg-stone-800","bg-stone-900","bg-red-50","bg-red-100","bg-red-200","bg-red-300","bg-red-400","bg-red-500","bg-red-600","bg-red-700","bg-red-800","bg-red-900","bg-orange-50","bg-orange-100","bg-orange-200","bg-orange-300","bg-orange-400","bg-orange-500","bg-orange-600","bg-orange-700","bg-orange-800","bg-orange-900","bg-amber-50","bg-amber-100","bg-amber-200","bg-amber-300","bg-amber-400","bg-amber-500","bg-amber-600","bg-amber-700","bg-amber-800","bg-amber-900","bg-yellow-50","bg-yellow-100","bg-yellow-200","bg-yellow-300","bg-yellow-400","bg-yellow-500","bg-yellow-600","bg-yellow-700","bg-yellow-800","bg-yellow-900","bg-lime-50","bg-lime-100","bg-lime-200","bg-lime-300","bg-lime-400","bg-lime-500","bg-lime-600","bg-lime-700","bg-lime-800","bg-lime-900","bg-green-50","bg-green-100","bg-green-200","bg-green-300","bg-green-400","bg-green-500","bg-green-600","bg-green-700","bg-green-800","bg-green-900","bg-emerald-50","bg-emerald-100","bg-emerald-200","bg-emerald-300","bg-emerald-400","bg-emerald-500","bg-emerald-600","bg-emerald-700","bg-emerald-800","bg-emerald-900","bg-teal-50","bg-teal-100","bg-teal-200","bg-teal-300","bg-teal-400","bg-teal-500","bg-teal-600","bg-teal-700","bg-teal-800","bg-teal-900","bg-cyan-50","bg-cyan-100","bg-cyan-200","bg-cyan-300","bg-cyan-400","bg-cyan-500","bg-cyan-600","bg-cyan-700","bg-cyan-800","bg-cyan-900","bg-sky-50","bg-sky-100","bg-sky-200","bg-sky-300","bg-sky-400","bg-sky-500","bg-sky-600","bg-sky-700","bg-sky-800","bg-sky-900","bg-blue-50","bg-blue-100","bg-blue-200","bg-blue-300","bg-blue-400","bg-blue-500","bg-blue-600","bg-blue-700","bg-blue-800","bg-blue-900","bg-indigo-50","bg-indigo-100","bg-indigo-200","bg-indigo-300","bg-indigo-400","bg-indigo-500","bg-indigo-600","bg-indigo-700","bg-indigo-800","bg-indigo-900","bg-violet-50","bg-violet-100","bg-violet-200","bg-violet-300","bg-violet-400","bg-violet-500","bg-violet-600","bg-violet-700","bg-violet-800","bg-violet-900","bg-purple-50","bg-purple-100","bg-purple-200","bg-purple-300","bg-purple-400","bg-purple-500","bg-purple-600","bg-purple-700","bg-purple-800","bg-purple-900","bg-fuchsia-50","bg-fuchsia-100","bg-fuchsia-200","bg-fuchsia-300","bg-fuchsia-400","bg-fuchsia-500","bg-fuchsia-600","bg-fuchsia-700","bg-fuchsia-800","bg-fuchsia-900","bg-pink-50","bg-pink-100","bg-pink-200","bg-pink-300","bg-pink-400","bg-pink-500","bg-pink-600","bg-pink-700","bg-pink-800","bg-pink-900","bg-rose-50","bg-rose-100","bg-rose-200","bg-rose-300","bg-rose-400","bg-rose-500","bg-rose-600","bg-rose-700","bg-rose-800","bg-rose-900"],textColorVariables:["none","text-white","text-black","text-slate-50","text-slate-100","text-slate-200","text-slate-300","text-slate-400","text-slate-500","text-slate-600","text-slate-700","text-slate-800","text-slate-900","text-gray-50","text-gray-100","text-gray-200","text-gray-300","text-gray-400","text-gray-500","text-gray-600","text-gray-700","text-gray-800","text-gray-900","text-zinc-50","text-zinc-100","text-zinc-200","text-zinc-300","text-zinc-400","text-zinc-500","text-zinc-600","text-zinc-700","text-zinc-800","text-zinc-900","text-neutral-50","text-neutral-100","text-neutral-200","text-neutral-300","text-neutral-400","text-neutral-500","text-neutral-600","text-neutral-700","text-neutral-800","text-neutral-900","text-stone-50","text-stone-100","text-stone-200","text-stone-300","text-stone-400","text-stone-500","text-stone-600","text-stone-700","text-stone-800","text-stone-900","text-red-50","text-red-100","text-red-200","text-red-300","text-red-400","text-red-500","text-red-600","text-red-700","text-red-800","text-red-900","text-orange-50","text-orange-100","text-orange-200","text-orange-300","text-orange-400","text-orange-500","text-orange-600","text-orange-700","text-orange-800","text-orange-900","text-amber-50","text-amber-100","text-amber-200","text-amber-300","text-amber-400","text-amber-500","text-amber-600","text-amber-700","text-amber-800","text-amber-900","text-yellow-50","text-yellow-100","text-yellow-200","text-yellow-300","text-yellow-400","text-yellow-500","text-yellow-600","text-yellow-700","text-yellow-800","text-yellow-900","text-lime-50","text-lime-100","text-lime-200","text-lime-300","text-lime-400","text-lime-500","text-lime-600","text-lime-700","text-lime-800","text-lime-900","text-green-50","text-green-100","text-green-200","text-green-300","text-green-400","text-green-500","text-green-600","text-green-700","text-green-800","text-green-900","text-emerald-50","text-emerald-100","text-emerald-200","text-emerald-300","text-emerald-400","text-emerald-500","text-emerald-600","text-emerald-700","text-emerald-800","text-emerald-900","text-teal-50","text-teal-100","text-teal-200","text-teal-300","text-teal-400","text-teal-500","text-teal-600","text-teal-700","text-teal-800","text-teal-900","text-cyan-50","text-cyan-100","text-cyan-200","text-cyan-300","text-cyan-400","text-cyan-500","text-cyan-600","text-cyan-700","text-cyan-800","text-cyan-900","text-sky-50","text-sky-100","text-sky-200","text-sky-300","text-sky-400","text-sky-500","text-sky-600","text-sky-700","text-sky-800","text-sky-900","text-blue-50","text-blue-100","text-blue-200","text-blue-300","text-blue-400","text-blue-500","text-blue-600","text-blue-700","text-blue-800","text-blue-900","text-indigo-50","text-indigo-100","text-indigo-200","text-indigo-300","text-indigo-400","text-indigo-500","text-indigo-600","text-indigo-700","text-indigo-800","text-indigo-900","text-violet-50","text-violet-100","text-violet-200","text-violet-300","text-violet-400","text-violet-500","text-violet-600","text-violet-700","text-violet-800","text-violet-900","text-purple-50","text-purple-100","text-purple-200","text-purple-300","text-purple-400","text-purple-500","text-purple-600","text-purple-700","text-purple-800","text-purple-900","text-fuchsia-50","text-fuchsia-100","text-fuchsia-200","text-fuchsia-300","text-fuchsia-400","text-fuchsia-500","text-fuchsia-600","text-fuchsia-700","text-fuchsia-800","text-fuchsia-900","text-pink-50","text-pink-100","text-pink-200","text-pink-300","text-pink-400","text-pink-500","text-pink-600","text-pink-700","text-pink-800","text-pink-900","text-rose-50","text-rose-100","text-rose-200","text-rose-300","text-rose-400","text-rose-500","text-rose-600","text-rose-700","text-rose-800","text-rose-900"]},kn={opacities:["none","opacity-0","opacity-5","opacity-10","opacity-20","opacity-25","opacity-30","opacity-40","opacity-50","opacity-60","opacity-70","opacity-75","opacity-80","opacity-90","opacity-95","opacity-100"],backgroundOpacities:["none","bg-opacity-0","bg-opacity-5","bg-opacity-10","bg-opacity-20","bg-opacity-25","bg-opacity-30","bg-opacity-40","bg-opacity-50","bg-opacity-60","bg-opacity-70","bg-opacity-75","bg-opacity-80","bg-opacity-90","bg-opacity-95","bg-opacity-100"]},En={fontBase:["base:none","text-xs","text-sm","text-base","text-lg","text-xl","text-2xl","text-3xl","text-4xl","text-5xl","text-6xl","text-7xl","text-8xl","text-9xl"],fontDesktop:["lg:none","lg:text-xs","lg:text-sm","lg:text-base","lg:text-lg","lg:text-xl","lg:text-2xl","lg:text-3xl","lg:text-4xl","lg:text-5xl","lg:text-6xl","lg:text-7xl","lg:text-8xl","lg:text-9xl"],fontTablet:["md:none","md:text-xs","md:text-sm","md:text-base","md:text-lg","md:text-xl","md:text-2xl","md:text-3xl","md:text-4xl","md:text-5xl","md:text-6xl","md:text-7xl","md:text-8xl","md:text-9xl"],fontMobile:["sm:none","sm:text-xs","sm:text-sm","sm:text-base","sm:text-lg","sm:text-xl","sm:text-2xl","sm:text-3xl","sm:text-4xl","sm:text-5xl","sm:text-6xl","sm:text-7xl","sm:text-8xl","sm:text-9xl"]},fa={fontWeight:["none","font-thin","font-extralight","font-light","font-normal","font-medium","font-medium","font-bold","font-extrabold","font-black"],fontFamily:["none","font-sans","font-serif","font-mono"],fontStyle:["none","italic","non-italic"]},Rt={verticalPadding:["none","py-0","py-0.5","py-1","py-1.5","py-2","py-2.5","py-3","py-3.5","py-4","py-5","py-6","py-7","py-8","py-9","py-10","py-11","py-12","py-14","py-16","py-20","py-24","py-28","py-32","py-36","py-40","py-44","py-48","py-52","py-56","py-60","py-64","py-72","py-80","py-96"],horizontalPadding:["none","px-0","px-0.5","px-1","px-1.5","px-2","px-2.5","px-3","px-3.5","px-4","px-5","px-6","px-7","px-8","px-9","px-10","px-11","px-12","px-14","px-16","px-20","px-24","px-28","px-32","px-36","px-40","px-44","px-48","px-52","px-56","px-60","px-64","px-72","px-80","px-96"],verticalMargin:["none","my-0","my-0.5","my-1","my-1.5","my-2","my-2.5","my-3","my-3.5","my-4","my-5","my-6","my-7","my-8","my-9","my-10","my-11","my-12","my-14","my-16","my-20","my-24","my-28","my-32","my-36","my-40","my-44","my-48","my-52","my-56","my-60","my-64","my-72","my-80","my-96"],horizontalMargin:["none","mx-0","mx-0.5","mx-1","mx-1.5","mx-2","mx-2.5","mx-3","mx-3.5","mx-4","mx-5","mx-6","mx-7","mx-8","mx-9","mx-10","mx-11","mx-12","mx-14","mx-16","mx-20","mx-24","mx-28","mx-32","mx-36","mx-40","mx-44","mx-48","mx-52","mx-56","mx-60","mx-64","mx-72","mx-80","mx-96"]},st={roundedGlobal:["none","rounded-sm","rounded","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-3xl","rounded-full"],roundedTopLeft:["none","rounded-tl-sm","rounded-tl","rounded-tl-md","rounded-tl-lg","rounded-tl-xl","rounded-tl-2xl","rounded-tl-3xl","rounded-tl-full"],roundedTopRight:["none","rounded-tr-sm","rounded-tr","rounded-tr-md","rounded-tr-lg","rounded-tr-xl","rounded-tr-2xl","rounded-tr-3xl","rounded-tr-full"],roundedBottomLeft:["none","rounded-bl-sm","rounded-bl","rounded-bl-md","rounded-bl-lg","rounded-bl-xl","rounded-bl-2xl","rounded-bl-3xl","rounded-bl-full"],roundedBottomRight:["none","rounded-br-sm","rounded-br","rounded-br-md","rounded-br-lg","rounded-br-xl","rounded-br-2xl","rounded-br-3xl","rounded-br-full"]},Ar={borderStyle:["none","border-solid","border-dashed","border-dotted","border-double","border-hidden"],borderWidth:["none","border","border-2","border-4","border-8"],borderColor:["none","border-white","border-black","border-slate-50","border-slate-100","border-slate-200","border-slate-300","border-slate-400","border-slate-500","border-slate-600","border-slate-700","border-slate-800","border-slate-900","border-gray-50","border-gray-100","border-gray-200","border-gray-300","border-gray-400","border-gray-500","border-gray-600","border-gray-700","border-gray-800","border-gray-900","border-zinc-50","border-zinc-100","border-zinc-200","border-zinc-300","border-zinc-400","border-zinc-500","border-zinc-600","border-zinc-700","border-zinc-800","border-zinc-900","border-neutral-50","border-neutral-100","border-neutral-200","border-neutral-300","border-neutral-400","border-neutral-500","border-neutral-600","border-neutral-700","border-neutral-800","border-neutral-900","border-stone-50","border-stone-100","border-stone-200","border-stone-300","border-stone-400","border-stone-500","border-stone-600","border-stone-700","border-stone-800","border-stone-900","border-red-50","border-red-100","border-red-200","border-red-300","border-red-400","border-red-500","border-red-600","border-red-700","border-red-800","border-red-900","border-orange-50","border-orange-100","border-orange-200","border-orange-300","border-orange-400","border-orange-500","border-orange-600","border-orange-700","border-orange-800","border-orange-900","border-amber-50","border-amber-100","border-amber-200","border-amber-300","border-amber-400","border-amber-500","border-amber-600","border-amber-700","border-amber-800","border-amber-900","border-yellow-50","border-yellow-100","border-yellow-200","border-yellow-300","border-yellow-400","border-yellow-500","border-yellow-600","border-yellow-700","border-yellow-800","border-yellow-900","border-lime-50","border-lime-100","border-lime-200","border-lime-300","border-lime-400","border-lime-500","border-lime-600","border-lime-700","border-lime-800","border-lime-900","border-green-50","border-green-100","border-green-200","border-green-300","border-green-400","border-green-500","border-green-600","border-green-700","border-green-800","border-green-900","border-emerald-50","border-emerald-100","border-emerald-200","border-emerald-300","border-emerald-400","border-emerald-500","border-emerald-600","border-emerald-700","border-emerald-800","border-emerald-900","border-teal-50","border-teal-100","border-teal-200","border-teal-300","border-teal-400","border-teal-500","border-teal-600","border-teal-700","border-teal-800","border-teal-900","border-cyan-50","border-cyan-100","border-cyan-200","border-cyan-300","border-cyan-400","border-cyan-500","border-cyan-600","border-cyan-700","border-cyan-800","border-cyan-900","border-sky-50","border-sky-100","border-sky-200","border-sky-300","border-sky-400","border-sky-500","border-sky-600","border-sky-700","border-sky-800","border-sky-900","border-blue-50","border-blue-100","border-blue-200","border-blue-300","border-blue-400","border-blue-500","border-blue-600","border-blue-700","border-blue-800","border-blue-900","border-indigo-50","border-indigo-100","border-indigo-200","border-indigo-300","border-indigo-400","border-indigo-500","border-indigo-600","border-indigo-700","border-indigo-800","border-indigo-900","border-violet-50","border-violet-100","border-violet-200","border-violet-300","border-violet-400","border-violet-500","border-violet-600","border-violet-700","border-violet-800","border-violet-900","border-purple-50","border-purple-100","border-purple-200","border-purple-300","border-purple-400","border-purple-500","border-purple-600","border-purple-700","border-purple-800","border-purple-900","border-fuchsia-50","border-fuchsia-100","border-fuchsia-200","border-fuchsia-300","border-fuchsia-400","border-fuchsia-500","border-fuchsia-600","border-fuchsia-700","border-fuchsia-800","border-fuchsia-900","border-pink-50","border-pink-100","border-pink-200","border-pink-300","border-pink-400","border-pink-500","border-pink-600","border-pink-700","border-pink-800","border-pink-900","border-rose-50","border-rose-100","border-rose-200","border-rose-300","border-rose-400","border-rose-500","border-rose-600","border-rose-700","border-rose-800","border-rose-900"]};let Cn;const Wm=new Uint8Array(16);function qm(){if(!Cn&&(Cn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Cn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Cn(Wm)}const we=[];for(let r=0;r<256;++r)we.push((r+256).toString(16).slice(1));function Um(r,e=0){return we[r[e+0]]+we[r[e+1]]+we[r[e+2]]+we[r[e+3]]+"-"+we[r[e+4]]+we[r[e+5]]+"-"+we[r[e+6]]+we[r[e+7]]+"-"+we[r[e+8]]+we[r[e+9]]+"-"+we[r[e+10]]+we[r[e+11]]+we[r[e+12]]+we[r[e+13]]+we[r[e+14]]+we[r[e+15]]}const zl={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ba(r,e,t){if(zl.randomUUID&&!r)return zl.randomUUID();r=r||{};const o=r.random||(r.rng||qm)();return o[6]=o[6]&15|64,o[8]=o[8]&63|128,Um(o)}const Fl=function(e=200){return new Promise(t=>{setTimeout(t,e)})};class se{constructor(e){fo(this,q);ne(this,"nextTick");ne(this,"containsPagebuilder");ne(this,"pageBuilderStateStore");ne(this,"getTextAreaVueModel");ne(this,"getLocalStorageItemName");ne(this,"getCurrentImage");ne(this,"getHyberlinkEnable");ne(this,"getComponents");ne(this,"getComponent");ne(this,"getElement");ne(this,"getNextSibling");ne(this,"getParentElement");ne(this,"getRestoredElement");ne(this,"getComponentArrayAddMethod");ne(this,"NoneListernesTags");ne(this,"delay");ne(this,"observer");fo(this,ta,async(e,t)=>{e.preventDefault(),e.stopPropagation();const o=document.querySelector("#pagebuilder");if(!o)return;this.pageBuilderStateStore.setMenuRight(!0);const n=o.querySelector("[selected]");n&&n.removeAttribute("selected"),t.removeAttribute("hovered"),t.setAttribute("selected",""),this.pageBuilderStateStore.setElement(t)});fo(this,ra,(e,t)=>{e.preventDefault(),e.stopPropagation();const o=document.querySelector("#pagebuilder");if(!o)return;const n=o.querySelector("[hovered]");n&&n.removeAttribute("hovered"),t.hasAttribute("selected")||t.setAttribute("hovered","")});fo(this,oa,e=>{e.preventDefault(),e.stopPropagation();const t=document.querySelector("#pagebuilder");if(!t)return;const o=t.querySelector("[hovered]");o&&o.removeAttribute("hovered")});ne(this,"setEventListenersForElements",async()=>{const e=new WeakSet,t=document.querySelector("#pagebuilder");t&&(await s.nextTick(),await new Promise(o=>requestAnimationFrame(o)),t.querySelectorAll("section *").forEach(o=>{if(this.isEditableElement(o)&&e&&!e.has(o)){e.add(o);const n=o;n.addEventListener("click",i=>xn(this,ta).call(this,i,n)),n.addEventListener("mouseover",i=>xn(this,ra).call(this,i,n)),n.addEventListener("mouseleave",i=>xn(this,oa).call(this,i))}}))});ne(this,"handleAutoSave",async()=>{const e=this.pageBuilderStateStore.getConfigPageBuilder;if(e&&e.userSettings&&typeof e.userSettings.autoSave=="boolean"&&e.userSettings.autoSave!==!1){if(this.pageBuilderStateStore.getIsSaving)return;try{this.pageBuilderStateStore.setIsSaving(!0),await this.saveComponentsLocalStorage(),await this.delay(300)}catch(t){console.error("Error trying auto save.",t)}finally{this.pageBuilderStateStore.setIsSaving(!1)}}if(e&&!e.userSettings)try{this.pageBuilderStateStore.setIsSaving(!0),await this.saveComponentsLocalStorage(),await this.delay(300)}catch(t){console.error("Error trying saving.",t)}finally{this.pageBuilderStateStore.setIsSaving(!1)}});ne(this,"handleManualSave",async()=>{const e=this.pageBuilderStateStore.getConfigPageBuilder;e&&e.userSettings&&(typeof e.userSettings.autoSave=="boolean"&&!e.userSettings.autoSave||typeof e.userSettings.autoSave=="boolean"&&e.userSettings.autoSave)&&(this.pageBuilderStateStore.setIsSaving(!0),await this.saveComponentsLocalStorage(),await this.delay(300),this.pageBuilderStateStore.setIsSaving(!1)),e&&!e.userSettings&&(this.pageBuilderStateStore.setIsSaving(!0),await this.saveComponentsLocalStorage(),await this.delay(300),this.pageBuilderStateStore.setIsSaving(!1))});ne(this,"ensureTextAreaHasContent",()=>{if(!this.getElement.value||typeof this.getElement.value.innerHTML!="string")return;const e=this.getElement.value,t=e.tagName;["DIV"].includes(t)&&e.tagName.toLowerCase()!=="img"&&e.textContent&&Number(e.textContent.length)===0?(e.classList.add("h-6"),e.classList.add("bg-red-50")):(e.classList.remove("h-6"),e.classList.remove("bg-red-50"))});ne(this,"handleTextInput",async e=>{var t;typeof((t=this.getElement.value)==null?void 0:t.innerHTML)=="string"&&(typeof this.getElement.value.innerHTML=="string"&&(await this.nextTick,this.getElement.value.textContent=e,this.pageBuilderStateStore.setTextAreaVueModel(this.getElement.value.innerHTML),this.getElement.value.innerHTML=e),this.ensureTextAreaHasContent())});fo(this,na,async()=>{const e=document.querySelector("#pagebuilder");if(!e)return;const t=e.querySelector("[hovered]");t&&t.removeAttribute("hovered");const o=[];e.querySelectorAll("section[data-componentid]").forEach(n=>{o.push({html_code:n.outerHTML,id:n.getAttribute("data-componentid"),title:n.getAttribute("data-component-title")||"Untitled Component"})}),this.getLocalStorageItemName.value&&localStorage.setItem(this.getLocalStorageItemName.value,JSON.stringify({savedAt:new Date().toISOString(),components:o})),await new Promise(n=>n())});this.nextTick=s.nextTick(),this.containsPagebuilder=document.querySelector("#contains-pagebuilder"),this.pageBuilderStateStore=e,this.getTextAreaVueModel=s.computed(()=>this.pageBuilderStateStore.getTextAreaVueModel),this.getLocalStorageItemName=s.computed(()=>this.pageBuilderStateStore.getLocalStorageItemName),this.getCurrentImage=s.computed(()=>this.pageBuilderStateStore.getCurrentImage),this.getHyberlinkEnable=s.computed(()=>this.pageBuilderStateStore.getHyberlinkEnable),this.getComponents=s.computed(()=>this.pageBuilderStateStore.getComponents),this.getComponent=s.computed(()=>this.pageBuilderStateStore.getComponent),this.getElement=s.computed(()=>this.pageBuilderStateStore.getElement),this.getNextSibling=s.computed(()=>this.pageBuilderStateStore.getNextSibling),this.getParentElement=s.computed(()=>this.pageBuilderStateStore.getParentElement),this.getRestoredElement=s.computed(()=>this.pageBuilderStateStore.getRestoredElement),this.getComponentArrayAddMethod=s.computed(()=>this.pageBuilderStateStore.getComponentArrayAddMethod),this.NoneListernesTags=["P","H1","H2","H3","H4","H5","H6","IFRAME","UL","OL","LI","EM","STRONG","B","A","SPAN","BLOCKQUOTE","BR"],this.delay=Fl}async clearHtmlSelection(){this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null),await Q(this,q,_m).call(this)}setConfigPageBuilder(e){this.pageBuilderStateStore.setConfigPageBuilder(e)}isEditableElement(e){return e?!this.NoneListernesTags.includes(e.tagName):!1}cloneCompObjForDOMInsertion(e){const t={...e};if(this.containsPagebuilder&&(this.getComponentArrayAddMethod.value==="unshift"||this.getComponentArrayAddMethod.value==="push")&&(this.getComponentArrayAddMethod.value==="unshift"&&this.containsPagebuilder.scrollTo({top:0,behavior:"smooth"}),this.getComponentArrayAddMethod.value==="push")){const l=this.containsPagebuilder.scrollHeight;this.containsPagebuilder.scrollTo({top:l,behavior:"smooth"})}const n=new DOMParser().parseFromString(t.html_code||"","text/html");n.querySelectorAll("*").forEach(l=>{Q(this,q,Lm).call(this,l)});const a=n.querySelector("section");return a&&(a.dataset.componentid=ba(),t.title&&(a.setAttribute("title",t.title),a.setAttribute("data-component-title",t.title)),a.querySelectorAll("img"),t.id=a.dataset.componentid,t.html_code=a.outerHTML),t}async currentClasses(){var t;await new Promise(o=>requestAnimationFrame(o));const e=Array.from(((t=this.getElement.value)==null?void 0:t.classList)||[]);this.pageBuilderStateStore.setCurrentClasses(e)}handleAddClasses(e){var t,o;if(typeof e=="string"&&e!==""&&!e.includes(" ")&&!((t=this.getElement.value)!=null&&t.classList.contains(e))){const n=e.trim();(o=this.getElement.value)==null||o.classList.add(n),this.pageBuilderStateStore.setElement(this.getElement.value),this.pageBuilderStateStore.setClass(e)}}handleRemoveClasses(e){var t,o;(t=this.getElement.value)!=null&&t.classList.contains(e)&&((o=this.getElement.value)==null||o.classList.remove(e),this.pageBuilderStateStore.setElement(this.getElement.value),this.pageBuilderStateStore.removeClass(e))}handleDeleteElement(){var t,o;const e=this.getElement.value;if(e){if(!(e!=null&&e.parentNode)){this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null);return}((t=e.parentElement)==null?void 0:t.tagName)!=="SECTION"&&(this.pageBuilderStateStore.setParentElement(e.parentNode),this.pageBuilderStateStore.setRestoredElement(e.outerHTML),this.pageBuilderStateStore.setNextSibling(e.nextSibling)),((o=e.parentElement)==null?void 0:o.tagName)==="SECTION"&&this.deleteComponent(),e.remove(),this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null)}}async handleRestoreElement(){if(this.getRestoredElement.value&&this.getParentElement.value){const e=document.createElement("div");e.innerHTML=this.getRestoredElement.value,e.firstChild&&this.getParentElement.value&&this.getParentElement.value.insertBefore(e.firstChild,this.getNextSibling.value)}this.pageBuilderStateStore.setParentElement(null),this.pageBuilderStateStore.setRestoredElement(null),this.pageBuilderStateStore.setNextSibling(null),this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null),await this.setEventListenersForElements()}handleFontWeight(e){Q(this,q,ce).call(this,e,fa.fontWeight,"setFontWeight")}handleFontFamily(e){Q(this,q,ce).call(this,e,fa.fontFamily,"setFontFamily")}handleFontStyle(e){Q(this,q,ce).call(this,e,fa.fontStyle,"setFontStyle")}handleVerticalPadding(e){Q(this,q,ce).call(this,e,Rt.verticalPadding,"setFontVerticalPadding")}handleHorizontalPadding(e){Q(this,q,ce).call(this,e,Rt.horizontalPadding,"setFontHorizontalPadding")}handleVerticalMargin(e){Q(this,q,ce).call(this,e,Rt.verticalMargin,"setFontVerticalMargin")}handleHorizontalMargin(e){Q(this,q,ce).call(this,e,Rt.horizontalMargin,"setFontHorizontalMargin")}handleBorderStyle(e){Q(this,q,ce).call(this,e,Ar.borderStyle,"setBorderStyle")}handleBorderWidth(e){Q(this,q,ce).call(this,e,Ar.borderWidth,"setBorderWidth")}handleBorderColor(e){Q(this,q,ce).call(this,e,Ar.borderColor,"setBorderColor")}handleBackgroundColor(e){Q(this,q,ce).call(this,e,vn.backgroundColorVariables,"setBackgroundColor")}handleTextColor(e){Q(this,q,ce).call(this,e,vn.textColorVariables,"setTextColor")}handleBorderRadiusGlobal(e){Q(this,q,ce).call(this,e,st.roundedGlobal,"setBorderRadiusGlobal")}handleBorderRadiusTopLeft(e){Q(this,q,ce).call(this,e,st.roundedTopLeft,"setBorderRadiusTopLeft")}handleBorderRadiusTopRight(e){Q(this,q,ce).call(this,e,st.roundedTopRight,"setBorderRadiusTopRight")}handleBorderRadiusBottomleft(e){Q(this,q,ce).call(this,e,st.roundedBottomLeft,"setBorderRadiusBottomleft")}handleBorderRadiusBottomRight(e){Q(this,q,ce).call(this,e,st.roundedBottomRight,"setBorderRadiusBottomRight")}handleFontSize(e){if(!e||!this.getElement.value)return;let t=En.fontBase.find(p=>{var u;return(u=this.getElement.value)==null?void 0:u.classList.contains(p)});t===void 0&&(t="base:none");let o=En.fontDesktop.find(p=>{var u;return(u=this.getElement.value)==null?void 0:u.classList.contains(p)});o===void 0&&(o="lg:none");let n=En.fontTablet.find(p=>{var u;return(u=this.getElement.value)==null?void 0:u.classList.contains(p)});n===void 0&&(n="md:none");let i=En.fontMobile.find(p=>{var u;return(u=this.getElement.value)==null?void 0:u.classList.contains(p)});i===void 0&&(i="sm:none"),this.pageBuilderStateStore.setFontBase(t),this.pageBuilderStateStore.setFontDesktop(o),this.pageBuilderStateStore.setFontTablet(n),this.pageBuilderStateStore.setFontMobile(i);const a=s.computed(()=>this.pageBuilderStateStore.getFontBase),l=s.computed(()=>this.pageBuilderStateStore.getFontDesktop),d=s.computed(()=>this.pageBuilderStateStore.getFontTablet),c=s.computed(()=>this.pageBuilderStateStore.getFontMobile);e!==void 0&&this.getElement.value&&(!e.includes("sm:")&&!e.includes("md:")&&!e.includes("lg:")&&(a.value&&this.getElement.value.classList.remove(a.value),e.includes("base:none")||this.getElement.value.classList.add(e),this.pageBuilderStateStore.setFontBase(e)),e.includes("lg:")&&(l.value&&this.getElement.value.classList.remove(l.value),e.includes("lg:none")||this.getElement.value.classList.add(e),this.pageBuilderStateStore.setFontDesktop(e)),e.includes("md:")&&(d.value&&this.getElement.value.classList.remove(d.value),e.includes("md:none")||this.getElement.value.classList.add(e),this.pageBuilderStateStore.setFontTablet(e)),e.includes("sm:")&&(c.value&&this.getElement.value.classList.remove(c.value),e.includes("sm:none")||this.getElement.value.classList.add(e),this.pageBuilderStateStore.setFontMobile(e)),this.pageBuilderStateStore.setElement(this.getElement.value))}handleBackgroundOpacity(e){Q(this,q,ce).call(this,e,kn.backgroundOpacities,"setBackgroundOpacity")}handleOpacity(e){Q(this,q,ce).call(this,e,kn.opacities,"setOpacity")}deleteAllComponents(){this.pageBuilderStateStore.setComponents([])}deleteComponent(){if(!this.getComponents.value||!this.getComponent.value)return;const e=this.getComponents.value.findIndex(t=>{var o;return t.id===((o=this.getComponent.value)==null?void 0:o.id)});e!==-1&&(this.getComponents.value.splice(e,1),this.pageBuilderStateStore.setComponents(this.getComponents.value),this.pageBuilderStateStore.setComponent(null),this.pageBuilderStateStore.setElement(null))}moveComponent(e){if(!this.getComponents.value||!this.getComponent.value||this.getComponents.value.length<=1)return;const t=this.getComponent.value,o=this.getComponents.value.findIndex(i=>i.id===t.id);if(o===-1)return;const n=o+e;n<0||n>=this.getComponents.value.length||(this.getComponents.value.splice(o,1),this.getComponents.value.splice(n,0,t))}ElOrFirstChildIsIframe(){var e,t,o;return((e=this.getElement.value)==null?void 0:e.tagName)==="IFRAME"||((o=(t=this.getElement.value)==null?void 0:t.firstElementChild)==null?void 0:o.tagName)==="IFRAME"}selectedElementIsValidText(){var o,n,i,a;let e=!1;const t=(o=this.getElement.value)==null?void 0:o.children;if(!(((n=this.getElement.value)==null?void 0:n.tagName)==="IMG"||((a=(i=this.getElement.value)==null?void 0:i.firstElementChild)==null?void 0:a.tagName)==="IFRAME")&&t)return Array.from(t).forEach(l=>{(l==null?void 0:l.tagName)==="IMG"||(l==null?void 0:l.tagName)==="DIV"?e=!1:e=!0}),e}previewCurrentDesign(){this.pageBuilderStateStore.setElement(null);const e=document.querySelector("#pagebuilder");if(!e)return;const t=s.ref([]);e.querySelectorAll("section:not(section section)").forEach(n=>{const i=n.querySelector("[hovered]");i&&i.removeAttribute("hovered");const a=n.querySelector("[selected]");a&&a.removeAttribute("selected"),t.value.push(n.outerHTML)});const o=JSON.stringify(t.value);this.pageBuilderStateStore.setCurrentLayoutPreview(o),t.value=[]}sanitizeForLocalStorage(e){return e.trim().toLowerCase().replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}updateLocalStorageItemName(){var n,i,a,l,d;const e=(i=(n=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:n.updateOrCreate)==null?void 0:i.formType,t=(a=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:a.resourceData,o=(d=(l=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:l.updateOrCreate)==null?void 0:d.formName;if(e==="create"){if(o&&o.length>0){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-create-resource-${this.sanitizeForLocalStorage(o)}`);return}this.pageBuilderStateStore.setLocalStorageItemName("page-builder-create-resource");return}if(e==="update"){if(typeof o=="string"&&o.length>0){if(t&&t!=null&&!t.title&&(!t.id||typeof t.id=="string")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(o)}`);return}if(t&&t!=null&&t.title&&typeof t.title=="string"&&t.title.length>0&&(!t.id||typeof t.id=="string")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(o)}-${this.sanitizeForLocalStorage(t.title)}`);return}if(t&&t!=null&&!t.title&&typeof t.title!="string"&&(t.id||typeof t.id=="number")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(o)}-${this.sanitizeForLocalStorage(String(t.id))}`);return}if(t&&t!=null&&t.title&&typeof t.title=="string"&&t.title.length>0&&(t.id||typeof t.id=="number")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(o)}-${this.sanitizeForLocalStorage(t.title)}-${this.sanitizeForLocalStorage(String(t.id))}`);return}}if(!o||typeof o=="string"&&o.length===0){if(t&&t!=null&&!t.title&&(!t.id||typeof t.id=="string")){this.pageBuilderStateStore.setLocalStorageItemName("page-builder-update-resource");return}if(t&&t!=null&&t.title&&typeof t.title=="string"&&t.title.length>0&&(!t.id||typeof t.id=="string")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(t.title)}`);return}if(t&&t!=null&&!t.title&&typeof t.title!="string"&&(t.id||typeof t.id=="number")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(String(t.id))}`);return}if(t&&t!=null&&t.title&&typeof t.title=="string"&&t.title.length>0&&(t.id||typeof t.id=="number")){this.pageBuilderStateStore.setLocalStorageItemName(`page-builder-update-resource-${this.sanitizeForLocalStorage(t.title)}-${this.sanitizeForLocalStorage(String(t.id))}`);return}}}}async saveComponentsLocalStorage(){await this.nextTick,await xn(this,na).call(this)}async removeItemComponentsLocalStorage(){await this.nextTick,this.getLocalStorageItemName.value&&localStorage.removeItem(this.getLocalStorageItemName.value)}getStorageItemNameForResource(){return this.getLocalStorageItemName.value}areComponentsStoredInLocalStorage(){if(!this.getLocalStorageItemName.value)return!1;if(this.getLocalStorageItemName.value&&localStorage.getItem(this.getLocalStorageItemName.value)){const e=localStorage.getItem(this.getLocalStorageItemName.value);if(e)return e}return!1}async updateBasePrimaryImage(e){this.getElement.value&&this.getCurrentImage.value&&this.getCurrentImage.value.src&&(await this.nextTick,this.pageBuilderStateStore.setBasePrimaryImage(`${this.getCurrentImage.value.src}`),await this.handleAutoSave())}showBasePrimaryImage(){if(!this.getElement.value)return;const e=document.createElement("div");e.innerHTML=this.getElement.value.outerHTML;const t=e.getElementsByTagName("img"),o=e.getElementsByTagName("div");if(t.length===1&&o.length===0){this.pageBuilderStateStore.setBasePrimaryImage(t[0].src);return}this.pageBuilderStateStore.setBasePrimaryImage(null)}handleHyperlink(e,t,o){var a;if(this.pageBuilderStateStore.setHyperlinkAbility(!0),!this.getElement.value||!(this.getElement.value instanceof HTMLElement)||typeof this.getElement.value.closest!="function")return;this.getElement.value.closest("a")!==null&&this.pageBuilderStateStore.setHyperlinkAbility(!1);const i=(a=this.getElement.value)==null?void 0:a.tagName.toUpperCase();if(i!=="P"&&i!=="H1"&&i!=="H2"&&i!=="H3"&&i!=="H4"&&i!=="H5"&&i!=="H6"&&this.pageBuilderStateStore.setHyperlinkAbility(!1),e===void 0){Q(this,q,Fm).call(this);return}Q(this,q,zm).call(this,e,t||null,o||!1)}async addComponent(e){try{const t=this.cloneCompObjForDOMInsertion({html_code:e.html_code,id:e.id,title:e.title});this.pageBuilderStateStore.setPushComponents({component:t,componentArrayAddMethod:this.getComponentArrayAddMethod.value||"push"}),await s.nextTick(),await this.setEventListenersForElements(),await this.handleAutoSave()}catch(t){console.error("Error adding component:",t)}}setComponentsFromData(e){const t=e.trim();t.startsWith("[")||t.startsWith("{")?Q(this,q,Al).call(this,t):t.startsWith("<")?Q(this,q,Hm).call(this,t):Q(this,q,Al).call(this,t)}loadExistingContent(e,t){var n,i,a,l;if(this.pageBuilderStateStore.setComponents([]),!this.pageBuilderStateStore.getConfigPageBuilder)return;t&&e!==void 0&&this.setComponentsFromData(e);const o=this.areComponentsStoredInLocalStorage();((i=(n=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:n.updateOrCreate)==null?void 0:i.formType)==="create"&&o&&this.setComponentsFromData(o),((l=(a=this.pageBuilderStateStore.getConfigPageBuilder)==null?void 0:a.updateOrCreate)==null?void 0:l.formType)==="update"&&e&&this.setComponentsFromData(e)}async toggleTipTapModal(e){this.pageBuilderStateStore.setShowModalTipTap(e),e||await this.handleAutoSave()}async handlePageBuilderMethods(){await new Promise(e=>requestAnimationFrame(e)),this.handleHyperlink(void 0,null,!1),this.handleOpacity(void 0),this.handleBackgroundOpacity(void 0),this.showBasePrimaryImage(),this.handleBorderStyle(void 0),this.handleBorderWidth(void 0),this.handleBorderColor(void 0),this.handleBorderRadiusGlobal(void 0),this.handleBorderRadiusTopLeft(void 0),this.handleBorderRadiusTopRight(void 0),this.handleBorderRadiusBottomleft(void 0),this.handleBorderRadiusBottomRight(void 0),this.handleFontSize(void 0),this.handleFontWeight(void 0),this.handleFontFamily(void 0),this.handleFontStyle(void 0),this.handleVerticalPadding(void 0),this.handleHorizontalPadding(void 0),this.handleVerticalMargin(void 0),this.handleHorizontalMargin(void 0),this.handleBackgroundColor(void 0),this.handleTextColor(void 0),await this.currentClasses()}}q=new WeakSet,ce=function(e,t,o){const n=this.getElement.value;if(!n)return;const i=t.find(l=>n.classList.contains(l));let a=i||"none";return e===void 0?(typeof o=="string"&&o.length>2&&this.pageBuilderStateStore[o](a),i):(typeof e=="string"&&e!=="none"?(a&&n.classList.contains(a)&&n.classList.remove(a),n.classList.add(e),a=e):typeof e=="string"&&e==="none"&&a&&(n.classList.remove(a),a=e),typeof o=="string"&&o.length>2&&(this.pageBuilderStateStore[o](a),this.pageBuilderStateStore.setElement(n)),i)},Lm=function(e){Q(this,q,Rm).call(this,e),e.tagName==="IMG"&&e.classList.add("smooth-transition"),e.tagName==="DIV"&&e.classList.length},Rm=function(e){var t;if(e&&this.NoneListernesTags.includes(e.tagName)&&(e.previousElementSibling&&e.previousElementSibling.tagName==="IMG"||e.nextElementSibling&&e.nextElementSibling.tagName==="IMG")){const o=document.createElement("div");(t=e.parentNode)==null||t.insertBefore(o,e),o.appendChild(e)}},ta=new WeakMap,ra=new WeakMap,oa=new WeakMap,_m=async function(){await new Promise(n=>requestAnimationFrame(n));const e=document.querySelector("#pagebuilder");if(!e)return;const t=e.querySelector("[hovered]");t&&t.removeAttribute("hovered");const o=e.querySelector("[selected]");o&&o.removeAttribute("selected")},na=new WeakMap,zm=function(e,t,o){if(!this.getElement.value||!(this.getElement.value instanceof HTMLElement)||typeof this.getElement.value.closest!="function")return;const n=this.getElement.value.closest("a"),i=this.getElement.value.querySelector("a");this.pageBuilderStateStore.setHyperlinkError(null);const a=/^https?:\/\//,l=s.ref(!0);if(e===!0&&t!==null&&(l.value=a.test(t)),l.value===!1){this.pageBuilderStateStore.setHyperlinkMessage(null),this.pageBuilderStateStore.setHyperlinkError("URL is not valid");return}if(e===!0&&typeof t=="string"){if(i!==null&&t.length!==0){i.href=t,o===!0&&(i.target="_blank"),o===!1&&i.removeAttribute("target"),i.textContent=this.getElement.value.textContent,this.pageBuilderStateStore.setHyperlinkMessage("Succesfully updated element hyperlink"),this.pageBuilderStateStore.setElementContainsHyperlink(!0);return}if(i===null&&t.length!==0&&n===null){const d=document.createElement("a");d.href=t,o===!0&&(d.target="_blank"),d.textContent=this.getElement.value.textContent,this.getElement.value.textContent="",this.getElement.value.appendChild(d),this.pageBuilderStateStore.setHyperlinkMessage("Successfully added hyperlink to element"),this.pageBuilderStateStore.setElementContainsHyperlink(!0);return}}if(e===!1&&t==="removeHyperlink"){const d=this.getElement.value.textContent||"",c=document.createTextNode(d);this.getElement.value.textContent="",this.getElement.value.appendChild(c),this.pageBuilderStateStore.setHyberlinkEnable(!1),this.pageBuilderStateStore.setElementContainsHyperlink(!1)}},Fm=function(){if(!this.getElement.value)return;const e=this.getElement.value.querySelector("a");if(e!==null){this.pageBuilderStateStore.setHyberlinkEnable(!0),this.pageBuilderStateStore.setElementContainsHyperlink(!0),this.pageBuilderStateStore.setHyperlinkInput(e.href),this.pageBuilderStateStore.setHyperlinkMessage(null),this.pageBuilderStateStore.setHyperlinkError(null),e.target==="_blank"&&this.pageBuilderStateStore.setOpenHyperlinkInNewTab(!0),e.target!=="_blank"&&this.pageBuilderStateStore.setOpenHyperlinkInNewTab(!1);return}this.pageBuilderStateStore.setElementContainsHyperlink(!1),this.pageBuilderStateStore.setHyperlinkInput(""),this.pageBuilderStateStore.setHyperlinkError(null),this.pageBuilderStateStore.setHyperlinkMessage(null),this.pageBuilderStateStore.setHyberlinkEnable(!1)},Al=function(e){console.log(1111);try{const t=JSON.parse(e);let o=[],n;Array.isArray(t)?o=t:t&&Array.isArray(t.components)&&(o=t.components,n=t.savedAt);let i=[];o.length>0&&(i=o.map(l=>{const p=new DOMParser().parseFromString(l.html_code,"text/html").querySelector("section");if(p){if(p.hasAttribute("data-componentid"))l.id=p.getAttribute("data-componentid");else{const m=ba();p.setAttribute("data-componentid",m),l.id=m}const u=l.title||"Untitled Component";p.setAttribute("data-component-title",u),l.title=u,l.html_code=p.outerHTML}return l})),this.pageBuilderStateStore.setComponents(i);const a={savedAt:n||new Date().toISOString(),components:i};this.getLocalStorageItemName.value&&typeof this.getLocalStorageItemName.value=="string"&&localStorage.setItem(this.getLocalStorageItemName.value,JSON.stringify(a))}catch(t){console.error("Error parsing JSON components:",t),this.pageBuilderStateStore.setComponents([])}},Hm=function(e){console.log(2222);try{const n=new DOMParser().parseFromString(e,"text/html").querySelectorAll("section"),i=[];n.forEach(a=>{const l=a;l.hasAttribute("data-componentid")||l.setAttribute("data-componentid",ba());const d=l.getAttribute("data-componentid"),c=l.getAttribute("title")||l.getAttribute("data-component-title")||"Untitled Component";l.setAttribute("data-component-title",c),i.push({html_code:l.outerHTML,id:d,title:c})}),this.pageBuilderStateStore.setComponents(i)}catch(t){console.error("Error parsing HTML components:",t),this.pageBuilderStateStore.setComponents([])}};const Km={class:"font-sans"},Gm={key:0,class:"fixed inset-0 z-40 flex items-center justify-center mx-4",role:"dialog","aria-modal":"true","aria-labelledby":"dialog-title"},Jm={class:"h-16 flex items-center justify-between border-b border-gray-200 bg-white mb-2"},Ym={as:"h3",class:"myQuaternaryHeader my-0 py-0"},Dr=s.defineComponent({__name:"ModalBuilder",props:{title:{type:String,required:!0},showModalBuilder:{type:Boolean,default:!1},maxWidth:{type:String,default:"2xl"},minHeight:{type:String},maxHeight:{type:String}},emits:["closeMainModalBuilder"],setup(r,{emit:e}){const t=r,o=e,n=()=>{o("closeMainModalBuilder")},i=s.computed(()=>({sm:"lg:max-w-sm",md:"lg:max-w-md",lg:"lg:max-w-lg",xl:"lg:max-w-xl","2xl":"lg:max-w-2xl","3xl":"lg:max-w-3xl","4xl":"lg:max-w-4xl","5xl":"lg:max-w-5xl","6xl":"lg:max-w-6xl","7xl":"lg:max-w-7xl",full:"lg:max-w-full",screen:"lg:w-screen sm:max-w-none"})[t.maxWidth]);return(a,l)=>(s.openBlock(),s.createBlock(s.Teleport,{to:"body"},[s.createElementVNode("div",Km,[r.showModalBuilder?(s.openBlock(),s.createElementBlock("div",Gm,[s.createElementVNode("div",{class:"fixed inset-0 bg-black/50 transition-opacity",onClick:n}),s.createElementVNode("div",{class:s.normalizeClass(["relative inline-block bg-white rounded-xl text-left overflow-hidden shadow-xl transform transition-all max-w-[96vh] max-h-[98vh] overflow-y-auto w-full px-4",[i.value?i.value:"",r.minHeight?r.minHeight:"",r.maxHeight?r.maxHeight:""]])},[s.createElementVNode("div",Jm,[s.createElementVNode("h3",Ym,s.toDisplayString(r.title),1),s.createElementVNode("div",{class:"h-10 w-10 flex-end cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white hover:fill-white focus-visible:ring-0",onClick:n},l[0]||(l[0]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," close ",-1)]))]),s.renderSlot(a.$slots,"default")],2)])):s.createCommentVNode("",!0)])]))}});function Sn(r,e,t){return Array.isArray(r)?(r.length=Math.max(r.length,e),r.splice(e,1,t),t):(r[e]=t,t)}function ya(r,e){if(Array.isArray(r)){r.splice(e,1);return}delete r[e]}function Qm(){return Hl().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Hl(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Xm=typeof Proxy=="function",Zm="devtools-plugin:setup",$m="plugin:settings:set";let Ir,wa;function eh(){var r;return Ir!==void 0||(typeof window<"u"&&window.performance?(Ir=!0,wa=window.performance):typeof globalThis<"u"&&(!((r=globalThis.perf_hooks)===null||r===void 0)&&r.performance)?(Ir=!0,wa=globalThis.perf_hooks.performance):Ir=!1),Ir}function th(){return eh()?wa.now():Date.now()}class rh{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const o={};if(e.settings)for(const a in e.settings){const l=e.settings[a];o[a]=l.defaultValue}const n=`__vue-devtools-plugin-settings__${e.id}`;let i=Object.assign({},o);try{const a=localStorage.getItem(n),l=JSON.parse(a);Object.assign(i,l)}catch{}this.fallbacks={getSettings(){return i},setSettings(a){try{localStorage.setItem(n,JSON.stringify(a))}catch{}i=a},now(){return th()}},t&&t.on($m,(a,l)=>{a===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(a,l)=>this.target?this.target.on[l]:(...d)=>{this.onQueue.push({method:l,args:d})}}),this.proxiedTarget=new Proxy({},{get:(a,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...d)=>(this.targetQueue.push({method:l,args:d,resolve:()=>{}}),this.fallbacks[l](...d)):(...d)=>new Promise(c=>{this.targetQueue.push({method:l,args:d,resolve:c})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function jl(r,e){const t=r,o=Hl(),n=Qm(),i=Xm&&t.enableEarlyProxy;if(n&&(o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))n.emit(Zm,r,e);else{const a=i?new rh(t,n):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:e,proxy:a}),a&&e(a.proxiedTarget)}}/*!
2
2
  * pinia v2.3.1
3
3
  * (c) 2025 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */let bo;const yo=r=>bo=r,Wl=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function sr(r){return r&&typeof r=="object"&&Object.prototype.toString.call(r)==="[object Object]"&&typeof r.toJSON!="function"}var lt;(function(r){r.direct="direct",r.patchObject="patch object",r.patchFunction="patch function"})(lt||(lt={}));const _t=typeof window<"u",ql=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function oh(r,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(r.type)?new Blob(["\uFEFF",r],{type:r.type}):r}function wa(r,e,t){const o=new XMLHttpRequest;o.open("GET",r),o.responseType="blob",o.onload=function(){Gl(o.response,e,t)},o.onerror=function(){console.error("could not download file")},o.send()}function Ul(r){const e=new XMLHttpRequest;e.open("HEAD",r,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function Nn(r){try{r.dispatchEvent(new MouseEvent("click"))}catch{const t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),r.dispatchEvent(t)}}const Mn=typeof navigator=="object"?navigator:{userAgent:""},Kl=/Macintosh/.test(Mn.userAgent)&&/AppleWebKit/.test(Mn.userAgent)&&!/Safari/.test(Mn.userAgent),Gl=_t?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!Kl?nh:"msSaveOrOpenBlob"in Mn?ih:ah:()=>{};function nh(r,e="download",t){const o=document.createElement("a");o.download=e,o.rel="noopener",typeof r=="string"?(o.href=r,o.origin!==location.origin?Ul(o.href)?wa(r,e,t):(o.target="_blank",Nn(o)):Nn(o)):(o.href=URL.createObjectURL(r),setTimeout(function(){URL.revokeObjectURL(o.href)},4e4),setTimeout(function(){Nn(o)},0))}function ih(r,e="download",t){if(typeof r=="string")if(Ul(r))wa(r,e,t);else{const o=document.createElement("a");o.href=r,o.target="_blank",setTimeout(function(){Nn(o)})}else navigator.msSaveOrOpenBlob(oh(r,t),e)}function ah(r,e,t,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof r=="string")return wa(r,e,t);const n=r.type==="application/octet-stream",i=/constructor/i.test(String(ql.HTMLElement))||"safari"in ql,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||n&&i||Kl)&&typeof FileReader<"u"){const l=new FileReader;l.onloadend=function(){let d=l.result;if(typeof d!="string")throw o=null,new Error("Wrong reader.result type");d=a?d:d.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=d:location.assign(d),o=null},l.readAsDataURL(r)}else{const l=URL.createObjectURL(r);o?o.location.assign(l):location.href=l,o=null,setTimeout(function(){URL.revokeObjectURL(l)},4e4)}}function me(r,e){const t="🍍 "+r;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(t,e):e==="error"?console.error(t):e==="warn"?console.warn(t):console.log(t)}function xa(r){return"_a"in r&&"install"in r}function Jl(){if(!("clipboard"in navigator))return me("Your browser doesn't support the Clipboard API","error"),!0}function Yl(r){return r instanceof Error&&r.message.toLowerCase().includes("document is not focused")?(me('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function sh(r){if(!Jl())try{await navigator.clipboard.writeText(JSON.stringify(r.state.value)),me("Global state copied to clipboard.")}catch(e){if(Yl(e))return;me("Failed to serialize the state. Check the console for more details.","error"),console.error(e)}}async function lh(r){if(!Jl())try{Ql(r,JSON.parse(await navigator.clipboard.readText())),me("Global state pasted from clipboard.")}catch(e){if(Yl(e))return;me("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(e)}}async function dh(r){try{Gl(new Blob([JSON.stringify(r.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(e){me("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}let xt;function ch(){xt||(xt=document.createElement("input"),xt.type="file",xt.accept=".json");function r(){return new Promise((e,t)=>{xt.onchange=async()=>{const o=xt.files;if(!o)return e(null);const n=o.item(0);return e(n?{text:await n.text(),file:n}:null)},xt.oncancel=()=>e(null),xt.onerror=t,xt.click()})}return r}async function ph(r){try{const t=await ch()();if(!t)return;const{text:o,file:n}=t;Ql(r,JSON.parse(o)),me(`Global state imported from "${n.name}".`)}catch(e){me("Failed to import the state from JSON. Check the console for more details.","error"),console.error(e)}}function Ql(r,e){for(const t in e){const o=r.state.value[t];o?Object.assign(o,e[t]):r.state.value[t]=e[t]}}function tt(r){return{_custom:{display:r}}}const Xl="🍍 Pinia (root)",Bn="_root";function uh(r){return xa(r)?{id:Bn,label:Xl}:{id:r.$id,label:r.$id}}function mh(r){if(xa(r)){const t=Array.from(r._s.keys()),o=r._s;return{state:t.map(i=>({editable:!0,key:i,value:r.state.value[i]})),getters:t.filter(i=>o.get(i)._getters).map(i=>{const a=o.get(i);return{editable:!1,key:i,value:a._getters.reduce((l,d)=>(l[d]=a[d],l),{})}})}}const e={state:Object.keys(r.$state).map(t=>({editable:!0,key:t,value:r.$state[t]}))};return r._getters&&r._getters.length&&(e.getters=r._getters.map(t=>({editable:!1,key:t,value:r[t]}))),r._customProperties.size&&(e.customProperties=Array.from(r._customProperties).map(t=>({editable:!0,key:t,value:r[t]}))),e}function hh(r){return r?Array.isArray(r)?r.reduce((e,t)=>(e.keys.push(t.key),e.operations.push(t.type),e.oldValue[t.key]=t.oldValue,e.newValue[t.key]=t.newValue,e),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:tt(r.type),key:tt(r.key),oldValue:r.oldValue,newValue:r.newValue}:{}}function gh(r){switch(r){case lt.direct:return"mutation";case lt.patchFunction:return"$patch";case lt.patchObject:return"$patch";default:return"unknown"}}let Lr=!0;const Tn=[],lr="pinia:mutations",Se="pinia",{assign:fh}=Object,On=r=>"🍍 "+r;function bh(r,e){jl({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Tn,app:r},t=>{typeof t.now!="function"&&me("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),t.addTimelineLayer({id:lr,label:"Pinia 🍍",color:15064968}),t.addInspector({id:Se,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{sh(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await lh(e),t.sendInspectorTree(Se),t.sendInspectorState(Se)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{dh(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await ph(e),t.sendInspectorTree(Se),t.sendInspectorState(Se)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:o=>{const n=e._s.get(o);n?typeof n.$reset!="function"?me(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`,"warn"):(n.$reset(),me(`Store "${o}" reset.`)):me(`Cannot reset "${o}" store because it wasn't found.`,"warn")}}]}),t.on.inspectComponent((o,n)=>{const i=o.componentInstance&&o.componentInstance.proxy;if(i&&i._pStores){const a=o.componentInstance.proxy._pStores;Object.values(a).forEach(l=>{o.instanceData.state.push({type:On(l.$id),key:"state",editable:!0,value:l._isOptionsAPI?{_custom:{value:s.toRaw(l.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>l.$reset()}]}}:Object.keys(l.$state).reduce((d,c)=>(d[c]=l.$state[c],d),{})}),l._getters&&l._getters.length&&o.instanceData.state.push({type:On(l.$id),key:"getters",editable:!1,value:l._getters.reduce((d,c)=>{try{d[c]=l[c]}catch(p){d[c]=p}return d},{})})})}}),t.on.getInspectorTree(o=>{if(o.app===r&&o.inspectorId===Se){let n=[e];n=n.concat(Array.from(e._s.values())),o.rootNodes=(o.filter?n.filter(i=>"$id"in i?i.$id.toLowerCase().includes(o.filter.toLowerCase()):Xl.toLowerCase().includes(o.filter.toLowerCase())):n).map(uh)}}),globalThis.$pinia=e,t.on.getInspectorState(o=>{if(o.app===r&&o.inspectorId===Se){const n=o.nodeId===Bn?e:e._s.get(o.nodeId);if(!n)return;n&&(o.nodeId!==Bn&&(globalThis.$store=s.toRaw(n)),o.state=mh(n))}}),t.on.editInspectorState((o,n)=>{if(o.app===r&&o.inspectorId===Se){const i=o.nodeId===Bn?e:e._s.get(o.nodeId);if(!i)return me(`store "${o.nodeId}" not found`,"error");const{path:a}=o;xa(i)?a.unshift("state"):(a.length!==1||!i._customProperties.has(a[0])||a[0]in i.$state)&&a.unshift("$state"),Lr=!1,o.set(i,a,o.state.value),Lr=!0}}),t.on.editComponentState(o=>{if(o.type.startsWith("🍍")){const n=o.type.replace(/^🍍\s*/,""),i=e._s.get(n);if(!i)return me(`store "${n}" not found`,"error");const{path:a}=o;if(a[0]!=="state")return me(`Invalid path for store "${n}":
5
+ */let bo;const yo=r=>bo=r,Wl=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function sr(r){return r&&typeof r=="object"&&Object.prototype.toString.call(r)==="[object Object]"&&typeof r.toJSON!="function"}var lt;(function(r){r.direct="direct",r.patchObject="patch object",r.patchFunction="patch function"})(lt||(lt={}));const _t=typeof window<"u",ql=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function oh(r,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(r.type)?new Blob(["\uFEFF",r],{type:r.type}):r}function xa(r,e,t){const o=new XMLHttpRequest;o.open("GET",r),o.responseType="blob",o.onload=function(){Gl(o.response,e,t)},o.onerror=function(){console.error("could not download file")},o.send()}function Ul(r){const e=new XMLHttpRequest;e.open("HEAD",r,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function Nn(r){try{r.dispatchEvent(new MouseEvent("click"))}catch{const t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),r.dispatchEvent(t)}}const Mn=typeof navigator=="object"?navigator:{userAgent:""},Kl=/Macintosh/.test(Mn.userAgent)&&/AppleWebKit/.test(Mn.userAgent)&&!/Safari/.test(Mn.userAgent),Gl=_t?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!Kl?nh:"msSaveOrOpenBlob"in Mn?ih:ah:()=>{};function nh(r,e="download",t){const o=document.createElement("a");o.download=e,o.rel="noopener",typeof r=="string"?(o.href=r,o.origin!==location.origin?Ul(o.href)?xa(r,e,t):(o.target="_blank",Nn(o)):Nn(o)):(o.href=URL.createObjectURL(r),setTimeout(function(){URL.revokeObjectURL(o.href)},4e4),setTimeout(function(){Nn(o)},0))}function ih(r,e="download",t){if(typeof r=="string")if(Ul(r))xa(r,e,t);else{const o=document.createElement("a");o.href=r,o.target="_blank",setTimeout(function(){Nn(o)})}else navigator.msSaveOrOpenBlob(oh(r,t),e)}function ah(r,e,t,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof r=="string")return xa(r,e,t);const n=r.type==="application/octet-stream",i=/constructor/i.test(String(ql.HTMLElement))||"safari"in ql,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||n&&i||Kl)&&typeof FileReader<"u"){const l=new FileReader;l.onloadend=function(){let d=l.result;if(typeof d!="string")throw o=null,new Error("Wrong reader.result type");d=a?d:d.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=d:location.assign(d),o=null},l.readAsDataURL(r)}else{const l=URL.createObjectURL(r);o?o.location.assign(l):location.href=l,o=null,setTimeout(function(){URL.revokeObjectURL(l)},4e4)}}function me(r,e){const t="🍍 "+r;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(t,e):e==="error"?console.error(t):e==="warn"?console.warn(t):console.log(t)}function va(r){return"_a"in r&&"install"in r}function Jl(){if(!("clipboard"in navigator))return me("Your browser doesn't support the Clipboard API","error"),!0}function Yl(r){return r instanceof Error&&r.message.toLowerCase().includes("document is not focused")?(me('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function sh(r){if(!Jl())try{await navigator.clipboard.writeText(JSON.stringify(r.state.value)),me("Global state copied to clipboard.")}catch(e){if(Yl(e))return;me("Failed to serialize the state. Check the console for more details.","error"),console.error(e)}}async function lh(r){if(!Jl())try{Ql(r,JSON.parse(await navigator.clipboard.readText())),me("Global state pasted from clipboard.")}catch(e){if(Yl(e))return;me("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(e)}}async function dh(r){try{Gl(new Blob([JSON.stringify(r.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(e){me("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}let xt;function ch(){xt||(xt=document.createElement("input"),xt.type="file",xt.accept=".json");function r(){return new Promise((e,t)=>{xt.onchange=async()=>{const o=xt.files;if(!o)return e(null);const n=o.item(0);return e(n?{text:await n.text(),file:n}:null)},xt.oncancel=()=>e(null),xt.onerror=t,xt.click()})}return r}async function ph(r){try{const t=await ch()();if(!t)return;const{text:o,file:n}=t;Ql(r,JSON.parse(o)),me(`Global state imported from "${n.name}".`)}catch(e){me("Failed to import the state from JSON. Check the console for more details.","error"),console.error(e)}}function Ql(r,e){for(const t in e){const o=r.state.value[t];o?Object.assign(o,e[t]):r.state.value[t]=e[t]}}function tt(r){return{_custom:{display:r}}}const Xl="🍍 Pinia (root)",Bn="_root";function uh(r){return va(r)?{id:Bn,label:Xl}:{id:r.$id,label:r.$id}}function mh(r){if(va(r)){const t=Array.from(r._s.keys()),o=r._s;return{state:t.map(i=>({editable:!0,key:i,value:r.state.value[i]})),getters:t.filter(i=>o.get(i)._getters).map(i=>{const a=o.get(i);return{editable:!1,key:i,value:a._getters.reduce((l,d)=>(l[d]=a[d],l),{})}})}}const e={state:Object.keys(r.$state).map(t=>({editable:!0,key:t,value:r.$state[t]}))};return r._getters&&r._getters.length&&(e.getters=r._getters.map(t=>({editable:!1,key:t,value:r[t]}))),r._customProperties.size&&(e.customProperties=Array.from(r._customProperties).map(t=>({editable:!0,key:t,value:r[t]}))),e}function hh(r){return r?Array.isArray(r)?r.reduce((e,t)=>(e.keys.push(t.key),e.operations.push(t.type),e.oldValue[t.key]=t.oldValue,e.newValue[t.key]=t.newValue,e),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:tt(r.type),key:tt(r.key),oldValue:r.oldValue,newValue:r.newValue}:{}}function gh(r){switch(r){case lt.direct:return"mutation";case lt.patchFunction:return"$patch";case lt.patchObject:return"$patch";default:return"unknown"}}let Lr=!0;const Tn=[],lr="pinia:mutations",Se="pinia",{assign:fh}=Object,On=r=>"🍍 "+r;function bh(r,e){jl({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Tn,app:r},t=>{typeof t.now!="function"&&me("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),t.addTimelineLayer({id:lr,label:"Pinia 🍍",color:15064968}),t.addInspector({id:Se,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{sh(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await lh(e),t.sendInspectorTree(Se),t.sendInspectorState(Se)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{dh(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await ph(e),t.sendInspectorTree(Se),t.sendInspectorState(Se)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:o=>{const n=e._s.get(o);n?typeof n.$reset!="function"?me(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`,"warn"):(n.$reset(),me(`Store "${o}" reset.`)):me(`Cannot reset "${o}" store because it wasn't found.`,"warn")}}]}),t.on.inspectComponent((o,n)=>{const i=o.componentInstance&&o.componentInstance.proxy;if(i&&i._pStores){const a=o.componentInstance.proxy._pStores;Object.values(a).forEach(l=>{o.instanceData.state.push({type:On(l.$id),key:"state",editable:!0,value:l._isOptionsAPI?{_custom:{value:s.toRaw(l.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>l.$reset()}]}}:Object.keys(l.$state).reduce((d,c)=>(d[c]=l.$state[c],d),{})}),l._getters&&l._getters.length&&o.instanceData.state.push({type:On(l.$id),key:"getters",editable:!1,value:l._getters.reduce((d,c)=>{try{d[c]=l[c]}catch(p){d[c]=p}return d},{})})})}}),t.on.getInspectorTree(o=>{if(o.app===r&&o.inspectorId===Se){let n=[e];n=n.concat(Array.from(e._s.values())),o.rootNodes=(o.filter?n.filter(i=>"$id"in i?i.$id.toLowerCase().includes(o.filter.toLowerCase()):Xl.toLowerCase().includes(o.filter.toLowerCase())):n).map(uh)}}),globalThis.$pinia=e,t.on.getInspectorState(o=>{if(o.app===r&&o.inspectorId===Se){const n=o.nodeId===Bn?e:e._s.get(o.nodeId);if(!n)return;n&&(o.nodeId!==Bn&&(globalThis.$store=s.toRaw(n)),o.state=mh(n))}}),t.on.editInspectorState((o,n)=>{if(o.app===r&&o.inspectorId===Se){const i=o.nodeId===Bn?e:e._s.get(o.nodeId);if(!i)return me(`store "${o.nodeId}" not found`,"error");const{path:a}=o;va(i)?a.unshift("state"):(a.length!==1||!i._customProperties.has(a[0])||a[0]in i.$state)&&a.unshift("$state"),Lr=!1,o.set(i,a,o.state.value),Lr=!0}}),t.on.editComponentState(o=>{if(o.type.startsWith("🍍")){const n=o.type.replace(/^🍍\s*/,""),i=e._s.get(n);if(!i)return me(`store "${n}" not found`,"error");const{path:a}=o;if(a[0]!=="state")return me(`Invalid path for store "${n}":
6
6
  ${a}
7
- Only state can be modified.`);a[0]="$state",Lr=!1,o.set(i,a,o.state.value),Lr=!0}})})}function yh(r,e){Tn.includes(On(e.$id))||Tn.push(On(e.$id)),jl({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Tn,app:r,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},t=>{const o=typeof t.now=="function"?t.now.bind(t):Date.now;e.$onAction(({after:a,onError:l,name:d,args:c})=>{const p=Zl++;t.addTimelineEvent({layerId:lr,event:{time:o(),title:"🛫 "+d,subtitle:"start",data:{store:tt(e.$id),action:tt(d),args:c},groupId:p}}),a(u=>{zt=void 0,t.addTimelineEvent({layerId:lr,event:{time:o(),title:"🛬 "+d,subtitle:"end",data:{store:tt(e.$id),action:tt(d),args:c,result:u},groupId:p}})}),l(u=>{zt=void 0,t.addTimelineEvent({layerId:lr,event:{time:o(),logType:"error",title:"💥 "+d,subtitle:"end",data:{store:tt(e.$id),action:tt(d),args:c,error:u},groupId:p}})})},!0),e._customProperties.forEach(a=>{s.watch(()=>s.unref(e[a]),(l,d)=>{t.notifyComponentUpdate(),t.sendInspectorState(Se),Lr&&t.addTimelineEvent({layerId:lr,event:{time:o(),title:"Change",subtitle:a,data:{newValue:l,oldValue:d},groupId:zt}})},{deep:!0})}),e.$subscribe(({events:a,type:l},d)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(Se),!Lr)return;const c={time:o(),title:gh(l),data:fh({store:tt(e.$id)},hh(a)),groupId:zt};l===lt.patchFunction?c.subtitle="⤵️":l===lt.patchObject?c.subtitle="🧩":a&&!Array.isArray(a)&&(c.subtitle=a.type),a&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:a}}),t.addTimelineEvent({layerId:lr,event:c})},{detached:!0,flush:"sync"});const n=e._hotUpdate;e._hotUpdate=s.markRaw(a=>{n(a),t.addTimelineEvent({layerId:lr,event:{time:o(),title:"🔥 "+e.$id,subtitle:"HMR update",data:{store:tt(e.$id),info:tt("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(Se),t.sendInspectorState(Se)});const{$dispose:i}=e;e.$dispose=()=>{i(),t.notifyComponentUpdate(),t.sendInspectorTree(Se),t.sendInspectorState(Se),t.getSettings().logStoreChanges&&me(`Disposed "${e.$id}" store 🗑`)},t.notifyComponentUpdate(),t.sendInspectorTree(Se),t.sendInspectorState(Se),t.getSettings().logStoreChanges&&me(`"${e.$id}" store installed 🆕`)})}let Zl=0,zt;function $l(r,e,t){const o=e.reduce((n,i)=>(n[i]=s.toRaw(r)[i],n),{});for(const n in o)r[n]=function(){const i=Zl,a=t?new Proxy(r,{get(...d){return zt=i,Reflect.get(...d)},set(...d){return zt=i,Reflect.set(...d)}}):r;zt=i;const l=o[n].apply(a,arguments);return zt=void 0,l}}function wh({app:r,store:e,options:t}){if(!e.$id.startsWith("__hot:")){if(e._isOptionsAPI=!!t.state,!e._p._testing){$l(e,Object.keys(t.actions),e._isOptionsAPI);const o=e._hotUpdate;s.toRaw(e)._hotUpdate=function(n){o.apply(this,arguments),$l(e,Object.keys(n._hmrPayload.actions),!!e._isOptionsAPI)}}yh(r,e)}}function ed(){const r=s.effectScope(!0),e=r.run(()=>s.ref({}));let t=[],o=[];const n=s.markRaw({install(i){yo(n),n._a=i,i.provide(Wl,n),i.config.globalProperties.$pinia=n,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t&&bh(i,n),o.forEach(a=>t.push(a)),o=[]},use(i){return this._a?t.push(i):o.push(i),this},_p:t,_a:null,_e:r,_s:new Map,state:e});return process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t&&typeof Proxy<"u"&&n.use(wh),n}function td(r,e){for(const t in e){const o=e[t];if(!(t in r))continue;const n=r[t];sr(n)&&sr(o)&&!s.isRef(o)&&!s.isReactive(o)?r[t]=td(n,o):r[t]=o}return r}const rd=()=>{};function od(r,e,t,o=rd){r.push(e);const n=()=>{const i=r.indexOf(e);i>-1&&(r.splice(i,1),o())};return!t&&s.getCurrentScope()&&s.onScopeDispose(n),n}function Rr(r,...e){r.slice().forEach(t=>{t(...e)})}const xh=r=>r(),nd=Symbol(),va=Symbol();function ka(r,e){r instanceof Map&&e instanceof Map?e.forEach((t,o)=>r.set(o,t)):r instanceof Set&&e instanceof Set&&e.forEach(r.add,r);for(const t in e){if(!e.hasOwnProperty(t))continue;const o=e[t],n=r[t];sr(n)&&sr(o)&&r.hasOwnProperty(t)&&!s.isRef(o)&&!s.isReactive(o)?r[t]=ka(n,o):r[t]=o}return r}const vh=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function kh(r){return!sr(r)||!r.hasOwnProperty(vh)}const{assign:qe}=Object;function id(r){return!!(s.isRef(r)&&r.effect)}function ad(r,e,t,o){const{state:n,actions:i,getters:a}=e,l=t.state.value[r];let d;function c(){!l&&(process.env.NODE_ENV==="production"||!o)&&(t.state.value[r]=n?n():{});const p=process.env.NODE_ENV!=="production"&&o?s.toRefs(s.ref(n?n():{}).value):s.toRefs(t.state.value[r]);return qe(p,i,Object.keys(a||{}).reduce((u,m)=>(process.env.NODE_ENV!=="production"&&m in p&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${m}" in store "${r}".`),u[m]=s.markRaw(s.computed(()=>{yo(t);const h=t._s.get(r);return a[m].call(h,h)})),u),{}))}return d=Ea(r,c,e,t,o,!0),d}function Ea(r,e,t={},o,n,i){let a;const l=qe({actions:{}},t);if(process.env.NODE_ENV!=="production"&&!o._e.active)throw new Error("Pinia destroyed");const d={deep:!0};process.env.NODE_ENV!=="production"&&(d.onTrigger=v=>{c?h=v:c==!1&&!N._hotUpdating&&(Array.isArray(h)?h.push(v):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let c,p,u=[],m=[],h;const g=o.state.value[r];!i&&!g&&(process.env.NODE_ENV==="production"||!n)&&(o.state.value[r]={});const f=s.ref({});let b;function w(v){let x;c=p=!1,process.env.NODE_ENV!=="production"&&(h=[]),typeof v=="function"?(v(o.state.value[r]),x={type:lt.patchFunction,storeId:r,events:h}):(ka(o.state.value[r],v),x={type:lt.patchObject,payload:v,storeId:r,events:h});const V=b=Symbol();s.nextTick().then(()=>{b===V&&(c=!0)}),p=!0,Rr(u,x,o.state.value[r])}const C=i?function(){const{state:x}=t,V=x?x():{};this.$patch(z=>{qe(z,V)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${r}" is built using the setup syntax and does not implement $reset().`)}:rd;function k(){a.stop(),u=[],m=[],o._s.delete(r)}const y=(v,x="")=>{if(nd in v)return v[va]=x,v;const V=function(){yo(o);const z=Array.from(arguments),ee=[],te=[];function K(oe){ee.push(oe)}function F(oe){te.push(oe)}Rr(m,{args:z,name:V[va],store:N,after:K,onError:F});let Z;try{Z=v.apply(this&&this.$id===r?this:N,z)}catch(oe){throw Rr(te,oe),oe}return Z instanceof Promise?Z.then(oe=>(Rr(ee,oe),oe)).catch(oe=>(Rr(te,oe),Promise.reject(oe))):(Rr(ee,Z),Z)};return V[nd]=!0,V[va]=x,V},S=s.markRaw({actions:{},getters:{},state:[],hotState:f}),E={_p:o,$id:r,$onAction:od.bind(null,m),$patch:w,$reset:C,$subscribe(v,x={}){const V=od(u,v,x.detached,()=>z()),z=a.run(()=>s.watch(()=>o.state.value[r],ee=>{(x.flush==="sync"?p:c)&&v({storeId:r,type:lt.direct,events:h},ee)},qe({},d,x)));return V},$dispose:k},N=s.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t?qe({_hmrPayload:S,_customProperties:s.markRaw(new Set)},E):E);o._s.set(r,N);const A=(o._a&&o._a.runWithContext||xh)(()=>o._e.run(()=>(a=s.effectScope()).run(()=>e({action:y}))));for(const v in A){const x=A[v];if(s.isRef(x)&&!id(x)||s.isReactive(x))process.env.NODE_ENV!=="production"&&n?Sn(f.value,v,s.toRef(A,v)):i||(g&&kh(x)&&(s.isRef(x)?x.value=g[v]:ka(x,g[v])),o.state.value[r][v]=x),process.env.NODE_ENV!=="production"&&S.state.push(v);else if(typeof x=="function"){const V=process.env.NODE_ENV!=="production"&&n?x:y(x,v);A[v]=V,process.env.NODE_ENV!=="production"&&(S.actions[v]=x),l.actions[v]=x}else process.env.NODE_ENV!=="production"&&id(x)&&(S.getters[v]=i?t.getters[v]:x,_t&&(A._getters||(A._getters=s.markRaw([]))).push(v))}if(qe(N,A),qe(s.toRaw(N),A),Object.defineProperty(N,"$state",{get:()=>process.env.NODE_ENV!=="production"&&n?f.value:o.state.value[r],set:v=>{if(process.env.NODE_ENV!=="production"&&n)throw new Error("cannot set hotState");w(x=>{qe(x,v)})}}),process.env.NODE_ENV!=="production"&&(N._hotUpdate=s.markRaw(v=>{N._hotUpdating=!0,v._hmrPayload.state.forEach(x=>{if(x in N.$state){const V=v.$state[x],z=N.$state[x];typeof V=="object"&&sr(V)&&sr(z)?td(V,z):v.$state[x]=z}Sn(N,x,s.toRef(v.$state,x))}),Object.keys(N.$state).forEach(x=>{x in v.$state||ba(N,x)}),c=!1,p=!1,o.state.value[r]=s.toRef(v._hmrPayload,"hotState"),p=!0,s.nextTick().then(()=>{c=!0});for(const x in v._hmrPayload.actions){const V=v[x];Sn(N,x,y(V,x))}for(const x in v._hmrPayload.getters){const V=v._hmrPayload.getters[x],z=i?s.computed(()=>(yo(o),V.call(N,N))):V;Sn(N,x,z)}Object.keys(N._hmrPayload.getters).forEach(x=>{x in v._hmrPayload.getters||ba(N,x)}),Object.keys(N._hmrPayload.actions).forEach(x=>{x in v._hmrPayload.actions||ba(N,x)}),N._hmrPayload=v._hmrPayload,N._getters=v._getters,N._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t){const v={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(x=>{Object.defineProperty(N,x,qe({value:N[x]},v))})}return o._p.forEach(v=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t){const x=a.run(()=>v({store:N,app:o._a,pinia:o,options:l}));Object.keys(x||{}).forEach(V=>N._customProperties.add(V)),qe(N,x)}else qe(N,a.run(()=>v({store:N,app:o._a,pinia:o,options:l})))}),process.env.NODE_ENV!=="production"&&N.$state&&typeof N.$state=="object"&&typeof N.$state.constructor=="function"&&!N.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
7
+ Only state can be modified.`);a[0]="$state",Lr=!1,o.set(i,a,o.state.value),Lr=!0}})})}function yh(r,e){Tn.includes(On(e.$id))||Tn.push(On(e.$id)),jl({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Tn,app:r,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},t=>{const o=typeof t.now=="function"?t.now.bind(t):Date.now;e.$onAction(({after:a,onError:l,name:d,args:c})=>{const p=Zl++;t.addTimelineEvent({layerId:lr,event:{time:o(),title:"🛫 "+d,subtitle:"start",data:{store:tt(e.$id),action:tt(d),args:c},groupId:p}}),a(u=>{zt=void 0,t.addTimelineEvent({layerId:lr,event:{time:o(),title:"🛬 "+d,subtitle:"end",data:{store:tt(e.$id),action:tt(d),args:c,result:u},groupId:p}})}),l(u=>{zt=void 0,t.addTimelineEvent({layerId:lr,event:{time:o(),logType:"error",title:"💥 "+d,subtitle:"end",data:{store:tt(e.$id),action:tt(d),args:c,error:u},groupId:p}})})},!0),e._customProperties.forEach(a=>{s.watch(()=>s.unref(e[a]),(l,d)=>{t.notifyComponentUpdate(),t.sendInspectorState(Se),Lr&&t.addTimelineEvent({layerId:lr,event:{time:o(),title:"Change",subtitle:a,data:{newValue:l,oldValue:d},groupId:zt}})},{deep:!0})}),e.$subscribe(({events:a,type:l},d)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(Se),!Lr)return;const c={time:o(),title:gh(l),data:fh({store:tt(e.$id)},hh(a)),groupId:zt};l===lt.patchFunction?c.subtitle="⤵️":l===lt.patchObject?c.subtitle="🧩":a&&!Array.isArray(a)&&(c.subtitle=a.type),a&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:a}}),t.addTimelineEvent({layerId:lr,event:c})},{detached:!0,flush:"sync"});const n=e._hotUpdate;e._hotUpdate=s.markRaw(a=>{n(a),t.addTimelineEvent({layerId:lr,event:{time:o(),title:"🔥 "+e.$id,subtitle:"HMR update",data:{store:tt(e.$id),info:tt("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(Se),t.sendInspectorState(Se)});const{$dispose:i}=e;e.$dispose=()=>{i(),t.notifyComponentUpdate(),t.sendInspectorTree(Se),t.sendInspectorState(Se),t.getSettings().logStoreChanges&&me(`Disposed "${e.$id}" store 🗑`)},t.notifyComponentUpdate(),t.sendInspectorTree(Se),t.sendInspectorState(Se),t.getSettings().logStoreChanges&&me(`"${e.$id}" store installed 🆕`)})}let Zl=0,zt;function $l(r,e,t){const o=e.reduce((n,i)=>(n[i]=s.toRaw(r)[i],n),{});for(const n in o)r[n]=function(){const i=Zl,a=t?new Proxy(r,{get(...d){return zt=i,Reflect.get(...d)},set(...d){return zt=i,Reflect.set(...d)}}):r;zt=i;const l=o[n].apply(a,arguments);return zt=void 0,l}}function wh({app:r,store:e,options:t}){if(!e.$id.startsWith("__hot:")){if(e._isOptionsAPI=!!t.state,!e._p._testing){$l(e,Object.keys(t.actions),e._isOptionsAPI);const o=e._hotUpdate;s.toRaw(e)._hotUpdate=function(n){o.apply(this,arguments),$l(e,Object.keys(n._hmrPayload.actions),!!e._isOptionsAPI)}}yh(r,e)}}function ed(){const r=s.effectScope(!0),e=r.run(()=>s.ref({}));let t=[],o=[];const n=s.markRaw({install(i){yo(n),n._a=i,i.provide(Wl,n),i.config.globalProperties.$pinia=n,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t&&bh(i,n),o.forEach(a=>t.push(a)),o=[]},use(i){return this._a?t.push(i):o.push(i),this},_p:t,_a:null,_e:r,_s:new Map,state:e});return process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t&&typeof Proxy<"u"&&n.use(wh),n}function td(r,e){for(const t in e){const o=e[t];if(!(t in r))continue;const n=r[t];sr(n)&&sr(o)&&!s.isRef(o)&&!s.isReactive(o)?r[t]=td(n,o):r[t]=o}return r}const rd=()=>{};function od(r,e,t,o=rd){r.push(e);const n=()=>{const i=r.indexOf(e);i>-1&&(r.splice(i,1),o())};return!t&&s.getCurrentScope()&&s.onScopeDispose(n),n}function Rr(r,...e){r.slice().forEach(t=>{t(...e)})}const xh=r=>r(),nd=Symbol(),ka=Symbol();function Ea(r,e){r instanceof Map&&e instanceof Map?e.forEach((t,o)=>r.set(o,t)):r instanceof Set&&e instanceof Set&&e.forEach(r.add,r);for(const t in e){if(!e.hasOwnProperty(t))continue;const o=e[t],n=r[t];sr(n)&&sr(o)&&r.hasOwnProperty(t)&&!s.isRef(o)&&!s.isReactive(o)?r[t]=Ea(n,o):r[t]=o}return r}const vh=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function kh(r){return!sr(r)||!r.hasOwnProperty(vh)}const{assign:qe}=Object;function id(r){return!!(s.isRef(r)&&r.effect)}function ad(r,e,t,o){const{state:n,actions:i,getters:a}=e,l=t.state.value[r];let d;function c(){!l&&(process.env.NODE_ENV==="production"||!o)&&(t.state.value[r]=n?n():{});const p=process.env.NODE_ENV!=="production"&&o?s.toRefs(s.ref(n?n():{}).value):s.toRefs(t.state.value[r]);return qe(p,i,Object.keys(a||{}).reduce((u,m)=>(process.env.NODE_ENV!=="production"&&m in p&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${m}" in store "${r}".`),u[m]=s.markRaw(s.computed(()=>{yo(t);const h=t._s.get(r);return a[m].call(h,h)})),u),{}))}return d=Ca(r,c,e,t,o,!0),d}function Ca(r,e,t={},o,n,i){let a;const l=qe({actions:{}},t);if(process.env.NODE_ENV!=="production"&&!o._e.active)throw new Error("Pinia destroyed");const d={deep:!0};process.env.NODE_ENV!=="production"&&(d.onTrigger=v=>{c?h=v:c==!1&&!N._hotUpdating&&(Array.isArray(h)?h.push(v):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let c,p,u=[],m=[],h;const g=o.state.value[r];!i&&!g&&(process.env.NODE_ENV==="production"||!n)&&(o.state.value[r]={});const f=s.ref({});let b;function w(v){let x;c=p=!1,process.env.NODE_ENV!=="production"&&(h=[]),typeof v=="function"?(v(o.state.value[r]),x={type:lt.patchFunction,storeId:r,events:h}):(Ea(o.state.value[r],v),x={type:lt.patchObject,payload:v,storeId:r,events:h});const V=b=Symbol();s.nextTick().then(()=>{b===V&&(c=!0)}),p=!0,Rr(u,x,o.state.value[r])}const C=i?function(){const{state:x}=t,V=x?x():{};this.$patch(z=>{qe(z,V)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${r}" is built using the setup syntax and does not implement $reset().`)}:rd;function k(){a.stop(),u=[],m=[],o._s.delete(r)}const y=(v,x="")=>{if(nd in v)return v[ka]=x,v;const V=function(){yo(o);const z=Array.from(arguments),ee=[],te=[];function K(oe){ee.push(oe)}function F(oe){te.push(oe)}Rr(m,{args:z,name:V[ka],store:N,after:K,onError:F});let Z;try{Z=v.apply(this&&this.$id===r?this:N,z)}catch(oe){throw Rr(te,oe),oe}return Z instanceof Promise?Z.then(oe=>(Rr(ee,oe),oe)).catch(oe=>(Rr(te,oe),Promise.reject(oe))):(Rr(ee,Z),Z)};return V[nd]=!0,V[ka]=x,V},S=s.markRaw({actions:{},getters:{},state:[],hotState:f}),E={_p:o,$id:r,$onAction:od.bind(null,m),$patch:w,$reset:C,$subscribe(v,x={}){const V=od(u,v,x.detached,()=>z()),z=a.run(()=>s.watch(()=>o.state.value[r],ee=>{(x.flush==="sync"?p:c)&&v({storeId:r,type:lt.direct,events:h},ee)},qe({},d,x)));return V},$dispose:k},N=s.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t?qe({_hmrPayload:S,_customProperties:s.markRaw(new Set)},E):E);o._s.set(r,N);const A=(o._a&&o._a.runWithContext||xh)(()=>o._e.run(()=>(a=s.effectScope()).run(()=>e({action:y}))));for(const v in A){const x=A[v];if(s.isRef(x)&&!id(x)||s.isReactive(x))process.env.NODE_ENV!=="production"&&n?Sn(f.value,v,s.toRef(A,v)):i||(g&&kh(x)&&(s.isRef(x)?x.value=g[v]:Ea(x,g[v])),o.state.value[r][v]=x),process.env.NODE_ENV!=="production"&&S.state.push(v);else if(typeof x=="function"){const V=process.env.NODE_ENV!=="production"&&n?x:y(x,v);A[v]=V,process.env.NODE_ENV!=="production"&&(S.actions[v]=x),l.actions[v]=x}else process.env.NODE_ENV!=="production"&&id(x)&&(S.getters[v]=i?t.getters[v]:x,_t&&(A._getters||(A._getters=s.markRaw([]))).push(v))}if(qe(N,A),qe(s.toRaw(N),A),Object.defineProperty(N,"$state",{get:()=>process.env.NODE_ENV!=="production"&&n?f.value:o.state.value[r],set:v=>{if(process.env.NODE_ENV!=="production"&&n)throw new Error("cannot set hotState");w(x=>{qe(x,v)})}}),process.env.NODE_ENV!=="production"&&(N._hotUpdate=s.markRaw(v=>{N._hotUpdating=!0,v._hmrPayload.state.forEach(x=>{if(x in N.$state){const V=v.$state[x],z=N.$state[x];typeof V=="object"&&sr(V)&&sr(z)?td(V,z):v.$state[x]=z}Sn(N,x,s.toRef(v.$state,x))}),Object.keys(N.$state).forEach(x=>{x in v.$state||ya(N,x)}),c=!1,p=!1,o.state.value[r]=s.toRef(v._hmrPayload,"hotState"),p=!0,s.nextTick().then(()=>{c=!0});for(const x in v._hmrPayload.actions){const V=v[x];Sn(N,x,y(V,x))}for(const x in v._hmrPayload.getters){const V=v._hmrPayload.getters[x],z=i?s.computed(()=>(yo(o),V.call(N,N))):V;Sn(N,x,z)}Object.keys(N._hmrPayload.getters).forEach(x=>{x in v._hmrPayload.getters||ya(N,x)}),Object.keys(N._hmrPayload.actions).forEach(x=>{x in v._hmrPayload.actions||ya(N,x)}),N._hmrPayload=v._hmrPayload,N._getters=v._getters,N._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t){const v={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(x=>{Object.defineProperty(N,x,qe({value:N[x]},v))})}return o._p.forEach(v=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&_t){const x=a.run(()=>v({store:N,app:o._a,pinia:o,options:l}));Object.keys(x||{}).forEach(V=>N._customProperties.add(V)),qe(N,x)}else qe(N,a.run(()=>v({store:N,app:o._a,pinia:o,options:l})))}),process.env.NODE_ENV!=="production"&&N.$state&&typeof N.$state=="object"&&typeof N.$state.constructor=="function"&&!N.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
8
8
  state: () => new MyClass()
9
9
  Found in store "${N.$id}".`),g&&i&&t.hydrate&&t.hydrate(N.$state,g),c=!0,p=!0,N}/*! #__NO_SIDE_EFFECTS__ */function Eh(r,e,t){let o,n;const i=typeof e=="function";o=r,n=i?t:e;function a(l,d){const c=s.hasInjectionContext();if(l=(process.env.NODE_ENV==="test"&&bo&&bo._testing?null:l)||(c?s.inject(Wl,null):null),l&&yo(l),process.env.NODE_ENV!=="production"&&!bo)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
10
10
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
11
- This will fail in production.`);l=bo,l._s.has(o)||(i?Ea(o,e,n,l):ad(o,n,l),process.env.NODE_ENV!=="production"&&(a._pinia=l));const p=l._s.get(o);if(process.env.NODE_ENV!=="production"&&d){const u="__hot:"+o,m=i?Ea(u,e,n,l,!0):ad(u,qe({},n),l,!0);d._hotUpdate(m),delete l.state.value[u],l._s.delete(u)}if(process.env.NODE_ENV!=="production"&&_t){const u=s.getCurrentInstance();if(u&&u.proxy&&!d){const m=u.proxy,h="_pStores"in m?m._pStores:m._pStores={};h[o]=p}}return p}return a.$id=o,a}const sd=Eh("pageBuilderState",{state:()=>({componentArrayAddMethod:null,localStorageItemName:null,showModalTipTap:!1,menuRight:!0,borderStyle:null,borderWidth:null,borderColor:null,borderRadiusGlobal:null,borderRadiusTopLeft:null,borderRadiusTopRight:null,borderRadiusBottomleft:null,borderRadiusBottomRight:null,elementContainsHyperlink:null,hyperlinkAbility:null,hyperlinkInput:null,hyperlinkMessage:null,hyperlinkError:null,hyberlinkEnable:!1,openHyperlinkinkInNewTab:null,opacity:null,backgroundOpacity:null,textAreaVueModel:null,nextSibling:null,parentElement:null,restoredElement:null,currentClasses:[],fontVerticalPadding:null,fontHorizontalPadding:null,fontVerticalMargin:null,fontHorizontalMargin:null,fontStyle:null,fontFamily:null,fontWeight:null,fontBase:null,fontDesktop:null,fontTablet:null,fontMobile:null,backgroundColor:null,textColor:null,element:null,component:null,components:[],basePrimaryImage:null,configPageBuilder:null,currentImage:{src:""},currentPreviewImage:null,isSaving:!1}),getters:{getComponentArrayAddMethod(r){return r.componentArrayAddMethod},getLocalStorageItemName(r){return r.localStorageItemName},getShowModalTipTap(r){return r.showModalTipTap},getMenuRight(r){return r.menuRight},getBorderStyle(r){return r.borderStyle},getBorderWidth(r){return r.borderWidth},getBorderColor(r){return r.borderColor},getBorderRadiusGlobal(r){return r.borderRadiusGlobal},getBorderRadiusTopLeft(r){return r.borderRadiusTopLeft},getBorderRadiusTopRight(r){return r.borderRadiusTopRight},getBorderRadiusBottomleft(r){return r.borderRadiusBottomleft},getBorderRadiusBottomRight(r){return r.borderRadiusBottomRight},getElementContainsHyperlink(r){return r.elementContainsHyperlink},getHyperlinkAbility(r){return r.hyperlinkAbility},getHyperlinkInput(r){return r.hyperlinkInput},getHyperlinkMessage(r){return r.hyperlinkMessage},getHyperlinkError(r){return r.hyperlinkError},getHyberlinkEnable(r){return r.hyberlinkEnable},getOpenHyperlinkInNewTab(r){return r.openHyperlinkinkInNewTab},getOpacity(r){return r.opacity},getBackgroundOpacity(r){return r.backgroundOpacity},getTextAreaVueModel(r){return r.textAreaVueModel},getNextSibling(r){return r.nextSibling},getParentElement(r){return r.parentElement},getRestoredElement(r){return r.restoredElement},getCurrentClasses(r){return r.currentClasses},getFontStyle(r){return r.fontStyle},getFontVerticalPadding(r){return r.fontVerticalPadding},getFontHorizontalPadding(r){return r.fontHorizontalPadding},getFontVerticalMargin(r){return r.fontVerticalMargin},getFontHorizontalMargin(r){return r.fontHorizontalMargin},getFontFamily(r){return r.fontFamily},getFontWeight(r){return r.fontWeight},getFontBase(r){return r.fontBase},getFontDesktop(r){return r.fontDesktop},getFontTablet(r){return r.fontTablet},getFontMobile(r){return r.fontMobile},getBackgroundColor(r){return r.backgroundColor},getTextColor(r){return r.textColor},getElement(r){return r.element},getComponent(r){return r.component},getComponents(r){return r.components},getBasePrimaryImage(r){return r.basePrimaryImage},getConfigPageBuilder(r){return r.configPageBuilder},getCurrentImage(r){return r.currentImage},getCurrentPreviewImage(r){return r.currentPreviewImage},getIsSaving:r=>r.isSaving},actions:{setComponentArrayAddMethod(r){this.componentArrayAddMethod=r},setLocalStorageItemName(r){this.localStorageItemName=r},setShowModalTipTap(r){this.showModalTipTap=r},setMenuRight(r){this.menuRight=r},setBorderStyle(r){this.borderStyle=r},setBorderWidth(r){this.borderWidth=r},setBorderColor(r){this.borderColor=r},setBorderRadiusGlobal(r){this.borderRadiusGlobal=r},setBorderRadiusTopLeft(r){this.borderRadiusTopLeft=r},setBorderRadiusTopRight(r){this.borderRadiusTopRight=r},setBorderRadiusBottomleft(r){this.borderRadiusBottomleft=r},setBorderRadiusBottomRight(r){this.borderRadiusBottomRight=r},setElementContainsHyperlink(r){this.elementContainsHyperlink=r},setHyperlinkAbility(r){this.hyperlinkAbility=r},setHyperlinkInput(r){this.hyperlinkInput=r},setHyperlinkMessage(r){this.hyperlinkMessage=r},setHyperlinkError(r){this.hyperlinkError=r},setHyberlinkEnable(r){this.hyberlinkEnable=r},setOpenHyperlinkInNewTab(r){this.openHyperlinkinkInNewTab=r},setOpacity(r){this.opacity=r},setBackgroundOpacity(r){this.backgroundOpacity=r},setTextAreaVueModel(r){this.textAreaVueModel=r},setNextSibling(r){this.nextSibling=r},setParentElement(r){this.parentElement=r},setRestoredElement(r){this.restoredElement=r},setClass(r){this.currentClasses=[...this.currentClasses,r]},removeClass(r){this.currentClasses=this.currentClasses.filter(e=>e!==r)},setCurrentClasses(r){this.currentClasses=Array.from(r)},setFontVerticalPadding(r){this.fontVerticalPadding=r},setFontHorizontalPadding(r){this.fontHorizontalPadding=r},setFontVerticalMargin(r){this.fontVerticalMargin=r},setFontHorizontalMargin(r){this.fontHorizontalMargin=r},setFontStyle(r){this.fontStyle=r},setFontFamily(r){this.fontFamily=r},setFontWeight(r){this.fontWeight=r},setFontBase(r){this.fontBase=r},setFontDesktop(r){this.fontDesktop=r},setFontTablet(r){this.fontTablet=r},setFontMobile(r){this.fontMobile=r},setBackgroundColor(r){this.backgroundColor=r},setTextColor(r){this.textColor=r},setElement(r){this.element=null,s.nextTick(()=>{this.element=r})},setComponent(r){if(!r){this.element=null,this.component=null;return}this.component=null,s.nextTick(()=>{this.component=r})},setComponents(r){this.components=[],s.nextTick(()=>{this.components=r||[]})},setPushComponents(r){const e=r.componentArrayAddMethod??"push";e==="push"?this.components.push(r.component):e==="unshift"&&this.components.unshift(r.component)},setBasePrimaryImage(r){this.element&&(this.element.src=r??void 0),this.basePrimaryImage=r},setCurrentLayoutPreview(r){localStorage.setItem("preview",r)},setConfigPageBuilder(r){this.configPageBuilder=r},setCurrentImage(r){this.currentImage=r},setCurrentPreviewImage(r){this.currentPreviewImage=r},setIsSaving(r){this.isSaving=r}}}),Ca=ed(),re=sd(Ca),Ch={class:"w-full inset-x-0 h-[90vh] bg-white overflow-x-scroll lg:pt-2 pt-2"},Sh={id:"page-builder-editor"},Nh=["innerHTML"],ld={__name:"Preview",emits:["firstPageBuilderPreviewModalButton"],setup(r,{emit:e}){const t=re;s.computed(()=>t.getConfigPageBuilder);const o=s.ref(""),n=localStorage.getItem("preview");if(n)try{const i=JSON.parse(n);o.value=Array.isArray(i)?i.join(""):""}catch(i){console.error("Error parsing preview data:",i),o.value=""}else o.value="";return(i,a)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",Ch,[s.createElementVNode("div",Sh,[s.createElementVNode("div",{class:"",innerHTML:o.value},null,8,Nh)])])]))}},Mh={class:"font-sans w-full relative inline-block align-bottom text-left overflow-hidden transform transition-all sm:align-middle"},Bh=["innerHTML"],Th={key:0,class:"py-4 flex sm:justify-end justify-center border-t border-gray-200 mt-4"},Oh={key:1},Vh={key:0},Ph=["disabled"],Ah={key:1},Dh={key:2},Ih={key:0},Lh={key:0},Rh=["disabled"],_h={key:1},zh={key:1},Fh={key:0},Hh=["disabled"],jh={key:1},Wh={key:2},qh={key:0},Uh=["disabled"],Kh={key:1},Gh={key:3},Jh={key:0},Yh=["disabled"],Qh={key:1},wo={__name:"DynamicModalBuilder",props:{showDynamicModalBuilder:{type:Boolean,default:!1,required:!0},simpleModal:{type:Boolean,default:!1,required:!1},disabled:{type:Boolean,default:!1,required:!1},disabledWhichButton:{type:String,default:"",required:!1},maxWidth:{type:String,required:!1,default:"2xl"},gridColumnAmount:{type:Number,required:!0},type:{type:String,required:!0},title:{type:String,required:!0},description:{required:!0},firstButtonText:{type:String},secondButtonText:{type:String},thirdButtonText:{type:String}},emits:["firstModalButtonFunctionDynamicModalBuilder","secondModalButtonFunctionDynamicModalBuilder","thirdModalButtonFunctionDynamicModalBuilder"],setup(r,{emit:e}){const t=e,o=function(){t("firstModalButtonFunctionDynamicModalBuilder")},n=function(){t("secondModalButtonFunctionDynamicModalBuilder")},i=function(){t("thirdModalButtonFunctionDynamicModalBuilder")};return(a,l)=>(s.openBlock(),s.createBlock(Dr,{title:r.title,showModalBuilder:r.showDynamicModalBuilder,onCloseMainModalBuilder:o,maxWidth:r.maxWidth},{default:s.withCtx(()=>[s.renderSlot(a.$slots,"content"),s.createElementVNode("div",Mh,[s.createElementVNode("div",{class:s.normalizeClass({"pr-4 pb-4":r.simpleModal!==!0})},[r.simpleModal!==!0?(s.openBlock(),s.createElementBlock("div",{key:0,innerHTML:r.description,class:"myPrimaryParagraph mb-6"},null,8,Bh)):s.createCommentVNode("",!0),s.renderSlot(a.$slots,"header"),s.renderSlot(a.$slots,"default")],2)]),r.simpleModal!==!0?(s.openBlock(),s.createElementBlock("div",Th,[s.renderSlot(a.$slots,"footer"),s.createElementVNode("div",{class:s.normalizeClass([{"sm:grid-cols-1":r.gridColumnAmount===1,"sm:grid-cols-2":r.gridColumnAmount===2,"sm:grid-cols-3":r.gridColumnAmount===3},"sm:items-end sm:justify-end flex sm:flex-row flex-col myPrimaryGap sm:w-5/6 w-full"])},[r.firstButtonText?(s.openBlock(),s.createElementBlock("button",{key:0,ref:"firstButtonRef",class:"mySecondaryButton",type:"button",onClick:o},s.toDisplayString(r.firstButtonText),513)):s.createCommentVNode("",!0),r.secondButtonText?(s.openBlock(),s.createElementBlock("div",Oh,[r.disabled&&r.disabledWhichButton==="secondButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Vh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-yellow-300 hover:bg-yellow-400 text-myPrimaryDarkGrayColor hover:text-myPrimaryDarkGrayColor focus:ring-yellow-400 w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button",onClick:n},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[0]||(l[0]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[0]})]),l[1]||(l[1]=s.createElementVNode("div",null,"Loading..",-1))],10,Ph)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="secondButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Ah,[s.createElementVNode("button",{class:"myPrimaryButton bg-yellow-300 hover:bg-yellow-400 text-myPrimaryDarkGrayColor hover:text-myPrimaryDarkGrayColor focus:ring-yellow-400 w-full",type:"button",onClick:n},s.toDisplayString(r.secondButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),r.thirdButtonText?(s.openBlock(),s.createElementBlock("div",Dh,[r.type==="default"?(s.openBlock(),s.createElementBlock("div",Ih,[r.disabled&&r.disabledWhichButton==="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Lh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button"},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[2]||(l[2]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[2]})]),l[3]||(l[3]=s.createElementVNode("div",null,"Loading..",-1))],10,Rh)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",_h,[s.createElementVNode("button",{class:"myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",type:"button",onClick:i},s.toDisplayString(r.thirdButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),r.type==="success"?(s.openBlock(),s.createElementBlock("div",zh,[r.disabled&&r.disabledWhichButton==="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Fh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button"},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[4]||(l[4]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[4]})]),l[5]||(l[5]=s.createElementVNode("div",null,"Loading..",-1))],10,Hh)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",jh,[s.createElementVNode("button",{class:"myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",type:"button",onClick:i},s.toDisplayString(r.thirdButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),r.type==="warning"?(s.openBlock(),s.createElementBlock("div",Wh,[r.disabled&&r.disabledWhichButton==="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",qh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button"},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[6]||(l[6]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[6]})]),l[7]||(l[7]=s.createElementVNode("div",null,"Loading..",-1))],10,Uh)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Kh,[s.createElementVNode("button",{class:"flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",type:"button",onClick:i},s.toDisplayString(r.thirdButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),r.type==="danger"||r.type==="delete"?(s.openBlock(),s.createElementBlock("div",Gh,[r.disabled&&r.disabledWhichButton==="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Jh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button"},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[8]||(l[8]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[8]})]),l[9]||(l[9]=s.createElementVNode("div",null,"Loading..",-1))],10,Yh)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Qh,[s.createElementVNode("button",{class:"flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",type:"button",onClick:i},s.toDisplayString(r.thirdButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)],2)])):s.createCommentVNode("",!0)]),_:3},8,["title","showModalBuilder","maxWidth"]))}},Xh={class:"flex flex-col items-center justify-center myPrimaryGap"},Zh={class:"flex gap-2 items-center justify-center"},$h={__name:"ComponentTopMenu",setup(r){const e=re,t=s.ref(!1),o=s.ref(""),n=s.ref(1),i=s.ref(""),a=s.ref(""),l=s.ref(""),d=s.ref(null),c=s.ref(null),p=s.ref(null),u=s.ref(null),m=s.ref(null),h=new se(e),g=function(f){t.value=!0,o.value="delete",n.value=2,i.value="Remove Component?",a.value="Are you sure you want to remove this Component?",l.value="Close",d.value=null,c.value="Delete",p.value=function(){t.value=!1},m.value=function(){h.deleteComponent(),t.value=!1}};return(f,b)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createVNode(wo,{showDynamicModalBuilder:t.value,type:o.value,gridColumnAmount:n.value,title:i.value,description:a.value,firstButtonText:l.value,secondButtonText:d.value,thirdButtonText:c.value,onFirstModalButtonFunctionDynamicModalBuilder:p.value,onSecondModalButtonFunctionDynamicModalBuilder:u.value,onThirdModalButtonFunctionDynamicModalBuilder:m.value},{default:s.withCtx(()=>b[3]||(b[3]=[s.createElementVNode("header",null,null,-1),s.createElementVNode("main",null,null,-1)])),_:1,__:[3]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"]),s.createElementVNode("div",Xh,[s.createElementVNode("div",Zh,[s.createElementVNode("div",{onClick:b[0]||(b[0]=w=>g()),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryErrorColor hover:text-white text-myPrimaryErrorColor"},b[4]||(b[4]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," delete_forever ",-1)]))]),s.createElementVNode("button",{type:"button",onClick:b[1]||(b[1]=w=>s.unref(h).moveComponent(-1)),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},b[5]||(b[5]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," move_up ",-1)])),s.createElementVNode("button",{type:"button",onClick:b[2]||(b[2]=w=>s.unref(h).moveComponent(1)),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},b[6]||(b[6]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," move_down ",-1)]))])],64))}};function xe(r){this.content=r}xe.prototype={constructor:xe,find:function(r){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===r)return e;return-1},get:function(r){var e=this.find(r);return e==-1?void 0:this.content[e+1]},update:function(r,e,t){var o=t&&t!=r?this.remove(t):this,n=o.find(r),i=o.content.slice();return n==-1?i.push(t||r,e):(i[n+1]=e,t&&(i[n]=t)),new xe(i)},remove:function(r){var e=this.find(r);if(e==-1)return this;var t=this.content.slice();return t.splice(e,2),new xe(t)},addToStart:function(r,e){return new xe([r,e].concat(this.remove(r).content))},addToEnd:function(r,e){var t=this.remove(r).content.slice();return t.push(r,e),new xe(t)},addBefore:function(r,e,t){var o=this.remove(e),n=o.content.slice(),i=o.find(r);return n.splice(i==-1?n.length:i,0,e,t),new xe(n)},forEach:function(r){for(var e=0;e<this.content.length;e+=2)r(this.content[e],this.content[e+1])},prepend:function(r){return r=xe.from(r),r.size?new xe(r.content.concat(this.subtract(r).content)):this},append:function(r){return r=xe.from(r),r.size?new xe(this.subtract(r).content.concat(r.content)):this},subtract:function(r){var e=this;r=xe.from(r);for(var t=0;t<r.content.length;t+=2)e=e.remove(r.content[t]);return e},toObject:function(){var r={};return this.forEach(function(e,t){r[e]=t}),r},get size(){return this.content.length>>1}},xe.from=function(r){if(r instanceof xe)return r;var e=[];if(r)for(var t in r)e.push(t,r[t]);return new xe(e)};function dd(r,e,t){for(let o=0;;o++){if(o==r.childCount||o==e.childCount)return r.childCount==e.childCount?null:t;let n=r.child(o),i=e.child(o);if(n==i){t+=n.nodeSize;continue}if(!n.sameMarkup(i))return t;if(n.isText&&n.text!=i.text){for(let a=0;n.text[a]==i.text[a];a++)t++;return t}if(n.content.size||i.content.size){let a=dd(n.content,i.content,t+1);if(a!=null)return a}t+=n.nodeSize}}function cd(r,e,t,o){for(let n=r.childCount,i=e.childCount;;){if(n==0||i==0)return n==i?null:{a:t,b:o};let a=r.child(--n),l=e.child(--i),d=a.nodeSize;if(a==l){t-=d,o-=d;continue}if(!a.sameMarkup(l))return{a:t,b:o};if(a.isText&&a.text!=l.text){let c=0,p=Math.min(a.text.length,l.text.length);for(;c<p&&a.text[a.text.length-c-1]==l.text[l.text.length-c-1];)c++,t--,o--;return{a:t,b:o}}if(a.content.size||l.content.size){let c=cd(a.content,l.content,t-1,o-1);if(c)return c}t-=d,o-=d}}class B{constructor(e,t){if(this.content=e,this.size=t||0,t==null)for(let o=0;o<e.length;o++)this.size+=e[o].nodeSize}nodesBetween(e,t,o,n=0,i){for(let a=0,l=0;l<t;a++){let d=this.content[a],c=l+d.nodeSize;if(c>e&&o(d,n+l,i||null,a)!==!1&&d.content.size){let p=l+1;d.nodesBetween(Math.max(0,e-p),Math.min(d.content.size,t-p),o,n+p)}l=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,o,n){let i="",a=!0;return this.nodesBetween(e,t,(l,d)=>{let c=l.isText?l.text.slice(Math.max(e,d)-d,t-d):l.isLeaf?n?typeof n=="function"?n(l):n:l.type.spec.leafText?l.type.spec.leafText(l):"":"";l.isBlock&&(l.isLeaf&&c||l.isTextblock)&&o&&(a?a=!1:i+=o),i+=c},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,o=e.firstChild,n=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(o)&&(n[n.length-1]=t.withText(t.text+o.text),i=1);i<e.content.length;i++)n.push(e.content[i]);return new B(n,this.size+e.size)}cut(e,t=this.size){if(e==0&&t==this.size)return this;let o=[],n=0;if(t>e)for(let i=0,a=0;a<t;i++){let l=this.content[i],d=a+l.nodeSize;d>e&&((a<e||d>t)&&(l.isText?l=l.cut(Math.max(0,e-a),Math.min(l.text.length,t-a)):l=l.cut(Math.max(0,e-a-1),Math.min(l.content.size,t-a-1))),o.push(l),n+=l.nodeSize),a=d}return new B(o,n)}cutByIndex(e,t){return e==t?B.empty:e==0&&t==this.content.length?this:new B(this.content.slice(e,t))}replaceChild(e,t){let o=this.content[e];if(o==t)return this;let n=this.content.slice(),i=this.size+t.nodeSize-o.nodeSize;return n[e]=t,new B(n,i)}addToStart(e){return new B([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new B(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,o=0;t<this.content.length;t++){let n=this.content[t];e(n,o,t),o+=n.nodeSize}}findDiffStart(e,t=0){return dd(this,e,t)}findDiffEnd(e,t=this.size,o=e.size){return cd(this,e,t,o)}findIndex(e,t=-1){if(e==0)return Vn(0,e);if(e==this.size)return Vn(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let o=0,n=0;;o++){let i=this.child(o),a=n+i.nodeSize;if(a>=e)return a==e||t>0?Vn(o+1,a):Vn(o,n);n=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return B.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new B(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return B.empty;let t,o=0;for(let n=0;n<e.length;n++){let i=e[n];o+=i.nodeSize,n&&i.isText&&e[n-1].sameMarkup(i)?(t||(t=e.slice(0,n)),t[t.length-1]=i.withText(t[t.length-1].text+i.text)):t&&t.push(i)}return new B(t||e,o)}static from(e){if(!e)return B.empty;if(e instanceof B)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new B([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}B.empty=new B([],0);const Sa={index:0,offset:0};function Vn(r,e){return Sa.index=r,Sa.offset=e,Sa}function Pn(r,e){if(r===e)return!0;if(!(r&&typeof r=="object")||!(e&&typeof e=="object"))return!1;let t=Array.isArray(r);if(Array.isArray(e)!=t)return!1;if(t){if(r.length!=e.length)return!1;for(let o=0;o<r.length;o++)if(!Pn(r[o],e[o]))return!1}else{for(let o in r)if(!(o in e)||!Pn(r[o],e[o]))return!1;for(let o in e)if(!(o in r))return!1}return!0}let X=class Al{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,o=!1;for(let n=0;n<e.length;n++){let i=e[n];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,n));else{if(i.type.excludes(this.type))return e;!o&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,n)),t.push(this),o=!0),t&&t.push(i)}}return t||(t=e.slice()),o||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Pn(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let o=e.marks[t.type];if(!o)throw new RangeError(`There is no mark type ${t.type} in this schema`);let n=o.create(t.attrs);return o.checkAttrs(n.attrs),n}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let o=0;o<e.length;o++)if(!e[o].eq(t[o]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return Al.none;if(e instanceof Al)return[e];let t=e.slice();return t.sort((o,n)=>o.type.rank-n.type.rank),t}};X.none=[];class An extends Error{}class P{constructor(e,t,o){this.content=e,this.openStart=t,this.openEnd=o}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let o=ud(this.content,e+this.openStart,t);return o&&new P(o,this.openStart,this.openEnd)}removeBetween(e,t){return new P(pd(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return P.empty;let o=t.openStart||0,n=t.openEnd||0;if(typeof o!="number"||typeof n!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new P(B.fromJSON(e,t.content),o,n)}static maxOpen(e,t=!0){let o=0,n=0;for(let i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)o++;for(let i=e.lastChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.lastChild)n++;return new P(e,o,n)}}P.empty=new P(B.empty,0,0);function pd(r,e,t){let{index:o,offset:n}=r.findIndex(e),i=r.maybeChild(o),{index:a,offset:l}=r.findIndex(t);if(n==e||i.isText){if(l!=t&&!r.child(a).isText)throw new RangeError("Removing non-flat range");return r.cut(0,e).append(r.cut(t))}if(o!=a)throw new RangeError("Removing non-flat range");return r.replaceChild(o,i.copy(pd(i.content,e-n-1,t-n-1)))}function ud(r,e,t,o){let{index:n,offset:i}=r.findIndex(e),a=r.maybeChild(n);if(i==e||a.isText)return r.cut(0,e).append(t).append(r.cut(e));let l=ud(a.content,e-i-1,t);return l&&r.replaceChild(n,a.copy(l))}function eg(r,e,t){if(t.openStart>r.depth)throw new An("Inserted content deeper than insertion position");if(r.depth-t.openStart!=e.depth-t.openEnd)throw new An("Inconsistent open depths");return md(r,e,t,0)}function md(r,e,t,o){let n=r.index(o),i=r.node(o);if(n==e.index(o)&&o<r.depth-t.openStart){let a=md(r,e,t,o+1);return i.copy(i.content.replaceChild(n,a))}else if(t.content.size)if(!t.openStart&&!t.openEnd&&r.depth==o&&e.depth==o){let a=r.parent,l=a.content;return cr(a,l.cut(0,r.parentOffset).append(t.content).append(l.cut(e.parentOffset)))}else{let{start:a,end:l}=tg(t,r);return cr(i,gd(r,a,l,e,o))}else return cr(i,Dn(r,e,o))}function hd(r,e){if(!e.type.compatibleContent(r.type))throw new An("Cannot join "+e.type.name+" onto "+r.type.name)}function Na(r,e,t){let o=r.node(t);return hd(o,e.node(t)),o}function dr(r,e){let t=e.length-1;t>=0&&r.isText&&r.sameMarkup(e[t])?e[t]=r.withText(e[t].text+r.text):e.push(r)}function xo(r,e,t,o){let n=(e||r).node(t),i=0,a=e?e.index(t):n.childCount;r&&(i=r.index(t),r.depth>t?i++:r.textOffset&&(dr(r.nodeAfter,o),i++));for(let l=i;l<a;l++)dr(n.child(l),o);e&&e.depth==t&&e.textOffset&&dr(e.nodeBefore,o)}function cr(r,e){return r.type.checkContent(e),r.copy(e)}function gd(r,e,t,o,n){let i=r.depth>n&&Na(r,e,n+1),a=o.depth>n&&Na(t,o,n+1),l=[];return xo(null,r,n,l),i&&a&&e.index(n)==t.index(n)?(hd(i,a),dr(cr(i,gd(r,e,t,o,n+1)),l)):(i&&dr(cr(i,Dn(r,e,n+1)),l),xo(e,t,n,l),a&&dr(cr(a,Dn(t,o,n+1)),l)),xo(o,null,n,l),new B(l)}function Dn(r,e,t){let o=[];if(xo(null,r,t,o),r.depth>t){let n=Na(r,e,t+1);dr(cr(n,Dn(r,e,t+1)),o)}return xo(e,null,t,o),new B(o)}function tg(r,e){let t=e.depth-r.openStart,n=e.node(t).copy(r.content);for(let i=t-1;i>=0;i--)n=e.node(i).copy(B.from(n));return{start:n.resolveNoCache(r.openStart+t),end:n.resolveNoCache(n.content.size-r.openEnd-t)}}class vo{constructor(e,t,o){this.pos=e,this.path=t,this.parentOffset=o,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let o=this.pos-this.path[this.path.length-1],n=e.child(t);return o?e.child(t).cut(o):n}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let o=this.path[t*3],n=t==0?0:this.path[t*3-1]+1;for(let i=0;i<e;i++)n+=o.child(i).nodeSize;return n}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return X.none;if(this.textOffset)return e.child(t).marks;let o=e.maybeChild(t-1),n=e.maybeChild(t);if(!o){let l=o;o=n,n=l}let i=o.marks;for(var a=0;a<i.length;a++)i[a].type.spec.inclusive===!1&&(!n||!i[a].isInSet(n.marks))&&(i=i[a--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let o=t.marks,n=e.parent.maybeChild(e.index());for(var i=0;i<o.length;i++)o[i].type.spec.inclusive===!1&&(!n||!o[i].isInSet(n.marks))&&(o=o[i--].removeFromSet(o));return o}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let o=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);o>=0;o--)if(e.pos<=this.end(o)&&(!t||t(this.node(o))))return new In(this,e,o);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let o=[],n=0,i=t;for(let a=e;;){let{index:l,offset:d}=a.content.findIndex(i),c=i-d;if(o.push(a,l,n+d),!c||(a=a.child(l),a.isText))break;i=c-1,n+=d+1}return new vo(t,o,i)}static resolveCached(e,t){let o=fd.get(e);if(o)for(let i=0;i<o.elts.length;i++){let a=o.elts[i];if(a.pos==t)return a}else fd.set(e,o=new rg);let n=o.elts[o.i]=vo.resolve(e,t);return o.i=(o.i+1)%og,n}}class rg{constructor(){this.elts=[],this.i=0}}const og=12,fd=new WeakMap;class In{constructor(e,t,o){this.$from=e,this.$to=t,this.depth=o}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const ng=Object.create(null);let Ft=class Dl{constructor(e,t,o,n=X.none){this.type=e,this.attrs=t,this.marks=n,this.content=o||B.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,o,n=0){this.content.nodesBetween(e,t,o,n,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,o,n){return this.content.textBetween(e,t,o,n)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,o){return this.type==e&&Pn(this.attrs,t||e.defaultAttrs||ng)&&X.sameSet(this.marks,o||X.none)}copy(e=null){return e==this.content?this:new Dl(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new Dl(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return e==0&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,o=!1){if(e==t)return P.empty;let n=this.resolve(e),i=this.resolve(t),a=o?0:n.sharedDepth(t),l=n.start(a),c=n.node(a).content.cut(n.pos-l,i.pos-l);return new P(c,n.depth-a,i.depth-a)}replace(e,t,o){return eg(this.resolve(e),this.resolve(t),o)}nodeAt(e){for(let t=this;;){let{index:o,offset:n}=t.content.findIndex(e);if(t=t.maybeChild(o),!t)return null;if(n==e||t.isText)return t;e-=n+1}}childAfter(e){let{index:t,offset:o}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:o}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:t,offset:o}=this.content.findIndex(e);if(o<e)return{node:this.content.child(t),index:t,offset:o};let n=this.content.child(t-1);return{node:n,index:t-1,offset:o-n.nodeSize}}resolve(e){return vo.resolveCached(this,e)}resolveNoCache(e){return vo.resolve(this,e)}rangeHasMark(e,t,o){let n=!1;return t>e&&this.nodesBetween(e,t,i=>(o.isInSet(i.marks)&&(n=!0),!n)),n}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),bd(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,o=B.empty,n=0,i=o.childCount){let a=this.contentMatchAt(e).matchFragment(o,n,i),l=a&&a.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let d=n;d<i;d++)if(!this.type.allowsMarks(o.child(d).marks))return!1;return!0}canReplaceWith(e,t,o,n){if(n&&!this.type.allowsMarks(n))return!1;let i=this.contentMatchAt(e).matchType(o),a=i&&i.matchFragment(this.content,t);return a?a.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=X.none;for(let t=0;t<this.marks.length;t++){let o=this.marks[t];o.type.checkAttrs(o.attrs),e=o.addToSet(e)}if(!X.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(t=>t.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let o;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");o=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,o)}let n=B.fromJSON(e,t.content),i=e.nodeType(t.type).create(t.attrs,n,o);return i.type.checkAttrs(i.attrs),i}};Ft.prototype.text=void 0;class Ln extends Ft{constructor(e,t,o,n){if(super(e,t,null,n),!o)throw new RangeError("Empty text nodes are not allowed");this.text=o}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):bd(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Ln(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ln(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function bd(r,e){for(let t=r.length-1;t>=0;t--)e=r[t].type.name+"("+e+")";return e}class pr{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let o=new ig(e,t);if(o.next==null)return pr.empty;let n=yd(o);o.next&&o.err("Unexpected trailing text");let i=ug(pg(n));return mg(i,o),i}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,o=e.childCount){let n=this;for(let i=t;n&&i<o;i++)n=n.matchType(e.child(i).type);return n}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let o=0;o<e.next.length;o++)if(this.next[t].type==e.next[o].type)return!0;return!1}fillBefore(e,t=!1,o=0){let n=[this];function i(a,l){let d=a.matchFragment(e,o);if(d&&(!t||d.validEnd))return B.from(l.map(c=>c.createAndFill()));for(let c=0;c<a.next.length;c++){let{type:p,next:u}=a.next[c];if(!(p.isText||p.hasRequiredAttrs())&&n.indexOf(u)==-1){n.push(u);let m=i(u,l.concat(p));if(m)return m}}return null}return i(this,[])}findWrapping(e){for(let o=0;o<this.wrapCache.length;o+=2)if(this.wrapCache[o]==e)return this.wrapCache[o+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),o=[{match:this,type:null,via:null}];for(;o.length;){let n=o.shift(),i=n.match;if(i.matchType(e)){let a=[];for(let l=n;l.type;l=l.via)a.push(l.type);return a.reverse()}for(let a=0;a<i.next.length;a++){let{type:l,next:d}=i.next[a];!l.isLeaf&&!l.hasRequiredAttrs()&&!(l.name in t)&&(!n.type||d.validEnd)&&(o.push({match:l.contentMatch,type:l,via:n}),t[l.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(o){e.push(o);for(let n=0;n<o.next.length;n++)e.indexOf(o.next[n].next)==-1&&t(o.next[n].next)}return t(this),e.map((o,n)=>{let i=n+(o.validEnd?"*":" ")+" ";for(let a=0;a<o.next.length;a++)i+=(a?", ":"")+o.next[a].type.name+"->"+e.indexOf(o.next[a].next);return i}).join(`
12
- `)}}pr.empty=new pr(!0);class ig{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function yd(r){let e=[];do e.push(ag(r));while(r.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function ag(r){let e=[];do e.push(sg(r));while(r.next&&r.next!=")"&&r.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function sg(r){let e=cg(r);for(;;)if(r.eat("+"))e={type:"plus",expr:e};else if(r.eat("*"))e={type:"star",expr:e};else if(r.eat("?"))e={type:"opt",expr:e};else if(r.eat("{"))e=lg(r,e);else break;return e}function wd(r){/\D/.test(r.next)&&r.err("Expected number, got '"+r.next+"'");let e=Number(r.next);return r.pos++,e}function lg(r,e){let t=wd(r),o=t;return r.eat(",")&&(r.next!="}"?o=wd(r):o=-1),r.eat("}")||r.err("Unclosed braced range"),{type:"range",min:t,max:o,expr:e}}function dg(r,e){let t=r.nodeTypes,o=t[e];if(o)return[o];let n=[];for(let i in t){let a=t[i];a.isInGroup(e)&&n.push(a)}return n.length==0&&r.err("No node type or group '"+e+"' found"),n}function cg(r){if(r.eat("(")){let e=yd(r);return r.eat(")")||r.err("Missing closing paren"),e}else if(/\W/.test(r.next))r.err("Unexpected token '"+r.next+"'");else{let e=dg(r,r.next).map(t=>(r.inline==null?r.inline=t.isInline:r.inline!=t.isInline&&r.err("Mixing inline and block content"),{type:"name",value:t}));return r.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function pg(r){let e=[[]];return n(i(r,0),t()),e;function t(){return e.push([])-1}function o(a,l,d){let c={term:d,to:l};return e[a].push(c),c}function n(a,l){a.forEach(d=>d.to=l)}function i(a,l){if(a.type=="choice")return a.exprs.reduce((d,c)=>d.concat(i(c,l)),[]);if(a.type=="seq")for(let d=0;;d++){let c=i(a.exprs[d],l);if(d==a.exprs.length-1)return c;n(c,l=t())}else if(a.type=="star"){let d=t();return o(l,d),n(i(a.expr,d),d),[o(d)]}else if(a.type=="plus"){let d=t();return n(i(a.expr,l),d),n(i(a.expr,d),d),[o(d)]}else{if(a.type=="opt")return[o(l)].concat(i(a.expr,l));if(a.type=="range"){let d=l;for(let c=0;c<a.min;c++){let p=t();n(i(a.expr,d),p),d=p}if(a.max==-1)n(i(a.expr,d),d);else for(let c=a.min;c<a.max;c++){let p=t();o(d,p),n(i(a.expr,d),p),d=p}return[o(d)]}else{if(a.type=="name")return[o(l,void 0,a.value)];throw new Error("Unknown expr type")}}}}function xd(r,e){return e-r}function vd(r,e){let t=[];return o(e),t.sort(xd);function o(n){let i=r[n];if(i.length==1&&!i[0].term)return o(i[0].to);t.push(n);for(let a=0;a<i.length;a++){let{term:l,to:d}=i[a];!l&&t.indexOf(d)==-1&&o(d)}}}function ug(r){let e=Object.create(null);return t(vd(r,0));function t(o){let n=[];o.forEach(a=>{r[a].forEach(({term:l,to:d})=>{if(!l)return;let c;for(let p=0;p<n.length;p++)n[p][0]==l&&(c=n[p][1]);vd(r,d).forEach(p=>{c||n.push([l,c=[]]),c.indexOf(p)==-1&&c.push(p)})})});let i=e[o.join(",")]=new pr(o.indexOf(r.length-1)>-1);for(let a=0;a<n.length;a++){let l=n[a][1].sort(xd);i.next.push({type:n[a][0],next:e[l.join(",")]||t(l)})}return i}}function mg(r,e){for(let t=0,o=[r];t<o.length;t++){let n=o[t],i=!n.validEnd,a=[];for(let l=0;l<n.next.length;l++){let{type:d,next:c}=n.next[l];a.push(d.name),i&&!(d.isText||d.hasRequiredAttrs())&&(i=!1),o.indexOf(c)==-1&&o.push(c)}i&&e.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function kd(r){let e=Object.create(null);for(let t in r){let o=r[t];if(!o.hasDefault)return null;e[t]=o.default}return e}function Ed(r,e){let t=Object.create(null);for(let o in r){let n=e&&e[o];if(n===void 0){let i=r[o];if(i.hasDefault)n=i.default;else throw new RangeError("No value supplied for attribute "+o)}t[o]=n}return t}function Cd(r,e,t,o){for(let n in e)if(!(n in r))throw new RangeError(`Unsupported attribute ${n} for ${t} of type ${n}`);for(let n in r){let i=r[n];i.validate&&i.validate(e[n])}}function Sd(r,e){let t=Object.create(null);if(e)for(let o in e)t[o]=new gg(r,o,e[o]);return t}let Nd=class jm{constructor(e,t,o){this.name=e,this.schema=t,this.spec=o,this.markSet=null,this.groups=o.group?o.group.split(" "):[],this.attrs=Sd(e,o.attrs),this.defaultAttrs=kd(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(o.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==pr.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Ed(this.attrs,e)}create(e=null,t,o){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Ft(this,this.computeAttrs(e),B.from(t),X.setFrom(o))}createChecked(e=null,t,o){return t=B.from(t),this.checkContent(t),new Ft(this,this.computeAttrs(e),t,X.setFrom(o))}createAndFill(e=null,t,o){if(e=this.computeAttrs(e),t=B.from(t),t.size){let a=this.contentMatch.fillBefore(t);if(!a)return null;t=a.append(t)}let n=this.contentMatch.matchFragment(t),i=n&&n.fillBefore(B.empty,!0);return i?new Ft(this,e,t.append(i),X.setFrom(o)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let o=0;o<e.childCount;o++)if(!this.allowsMarks(e.child(o).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){Cd(this.attrs,e,"node",this.name)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let t;for(let o=0;o<e.length;o++)this.allowsMarkType(e[o].type)?t&&t.push(e[o]):t||(t=e.slice(0,o));return t?t.length?t:X.none:e}static compile(e,t){let o=Object.create(null);e.forEach((i,a)=>o[i]=new jm(i,t,a));let n=t.spec.topNode||"doc";if(!o[n])throw new RangeError("Schema is missing its top node type ('"+n+"')");if(!o.text)throw new RangeError("Every schema needs a 'text' type");for(let i in o.text.attrs)throw new RangeError("The text node type should not have attributes");return o}};function hg(r,e,t){let o=t.split("|");return n=>{let i=n===null?"null":typeof n;if(o.indexOf(i)<0)throw new RangeError(`Expected value of type ${o} for attribute ${e} on type ${r}, got ${i}`)}}class gg{constructor(e,t,o){this.hasDefault=Object.prototype.hasOwnProperty.call(o,"default"),this.default=o.default,this.validate=typeof o.validate=="string"?hg(e,t,o.validate):o.validate}get isRequired(){return!this.hasDefault}}class Rn{constructor(e,t,o,n){this.name=e,this.rank=t,this.schema=o,this.spec=n,this.attrs=Sd(e,n.attrs),this.excluded=null;let i=kd(this.attrs);this.instance=i?new X(this,i):null}create(e=null){return!e&&this.instance?this.instance:new X(this,Ed(this.attrs,e))}static compile(e,t){let o=Object.create(null),n=0;return e.forEach((i,a)=>o[i]=new Rn(i,n++,t,a)),o}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){Cd(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class Md{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=xe.from(e.nodes),t.marks=xe.from(e.marks||{}),this.nodes=Nd.compile(this.spec.nodes,this),this.marks=Rn.compile(this.spec.marks,this);let o=Object.create(null);for(let n in this.nodes){if(n in this.marks)throw new RangeError(n+" can not be both a node and a mark");let i=this.nodes[n],a=i.spec.content||"",l=i.spec.marks;if(i.contentMatch=o[a]||(o[a]=pr.parse(a,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!i.isInline||!i.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=i}i.markSet=l=="_"?null:l?Bd(this,l.split(" ")):l==""||!i.inlineContent?[]:null}for(let n in this.marks){let i=this.marks[n],a=i.spec.excludes;i.excluded=a==null?[i]:a==""?[]:Bd(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,o,n){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Nd){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(t,o,n)}text(e,t){let o=this.nodes.text;return new Ln(o,o.defaultAttrs,e,X.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return Ft.fromJSON(this,e)}markFromJSON(e){return X.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function Bd(r,e){let t=[];for(let o=0;o<e.length;o++){let n=e[o],i=r.marks[n],a=i;if(i)t.push(i);else for(let l in r.marks){let d=r.marks[l];(n=="_"||d.spec.group&&d.spec.group.split(" ").indexOf(n)>-1)&&t.push(a=d)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[o]+"'")}return t}function fg(r){return r.tag!=null}function bg(r){return r.style!=null}let ko=class Il{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let o=this.matchedStyles=[];t.forEach(n=>{if(fg(n))this.tags.push(n);else if(bg(n)){let i=/[^=]*/.exec(n.style)[0];o.indexOf(i)<0&&o.push(i),this.styles.push(n)}}),this.normalizeLists=!this.tags.some(n=>{if(!/^(ul|ol)\b/.test(n.tag)||!n.node)return!1;let i=e.nodes[n.node];return i.contentMatch.matchType(i)})}parse(e,t={}){let o=new Pd(this,t,!1);return o.addAll(e,X.none,t.from,t.to),o.finish()}parseSlice(e,t={}){let o=new Pd(this,t,!0);return o.addAll(e,X.none,t.from,t.to),P.maxOpen(o.finish())}matchTag(e,t,o){for(let n=o?this.tags.indexOf(o)+1:0;n<this.tags.length;n++){let i=this.tags[n];if(xg(e,i.tag)&&(i.namespace===void 0||e.namespaceURI==i.namespace)&&(!i.context||t.matchesContext(i.context))){if(i.getAttrs){let a=i.getAttrs(e);if(a===!1)continue;i.attrs=a||void 0}return i}}}matchStyle(e,t,o,n){for(let i=n?this.styles.indexOf(n)+1:0;i<this.styles.length;i++){let a=this.styles[i],l=a.style;if(!(l.indexOf(e)!=0||a.context&&!o.matchesContext(a.context)||l.length>e.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(a.getAttrs){let d=a.getAttrs(t);if(d===!1)continue;a.attrs=d||void 0}return a}}}static schemaRules(e){let t=[];function o(n){let i=n.priority==null?50:n.priority,a=0;for(;a<t.length;a++){let l=t[a];if((l.priority==null?50:l.priority)<i)break}t.splice(a,0,n)}for(let n in e.marks){let i=e.marks[n].spec.parseDOM;i&&i.forEach(a=>{o(a=Ad(a)),a.mark||a.ignore||a.clearMark||(a.mark=n)})}for(let n in e.nodes){let i=e.nodes[n].spec.parseDOM;i&&i.forEach(a=>{o(a=Ad(a)),a.node||a.ignore||a.mark||(a.node=n)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Il(e,Il.schemaRules(e)))}};const Td={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},yg={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Od={ol:!0,ul:!0},Eo=1,Ma=2,Co=4;function Vd(r,e,t){return e!=null?(e?Eo:0)|(e==="full"?Ma:0):r&&r.whitespace=="pre"?Eo|Ma:t&~Co}class _n{constructor(e,t,o,n,i,a){this.type=e,this.attrs=t,this.marks=o,this.solid=n,this.options=a,this.content=[],this.activeMarks=X.none,this.match=i||(a&Co?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(B.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let o=this.type.contentMatch,n;return(n=o.findWrapping(e.type))?(this.match=o,n):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Eo)){let o=this.content[this.content.length-1],n;if(o&&o.isText&&(n=/[ \t\r\n\u000c]+$/.exec(o.text))){let i=o;o.text.length==n[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-n[0].length))}}let t=B.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(B.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Td.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Pd{constructor(e,t,o){this.parser=e,this.options=t,this.isOpen=o,this.open=0,this.localPreserveWS=!1;let n=t.topNode,i,a=Vd(null,t.preserveWhitespace,0)|(o?Co:0);n?i=new _n(n.type,n.attrs,X.none,!0,t.topMatch||n.type.contentMatch,a):o?i=new _n(null,null,X.none,!0,null,a):i=new _n(e.schema.topNodeType,null,X.none,!0,null,a),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){e.nodeType==3?this.addTextNode(e,t):e.nodeType==1&&this.addElement(e,t)}addTextNode(e,t){let o=e.nodeValue,n=this.top,i=n.options&Ma?"full":this.localPreserveWS||(n.options&Eo)>0;if(i==="full"||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(o)){if(i)i!=="full"?o=o.replace(/\r?\n|\r/g," "):o=o.replace(/\r\n?/g,`
11
+ This will fail in production.`);l=bo,l._s.has(o)||(i?Ca(o,e,n,l):ad(o,n,l),process.env.NODE_ENV!=="production"&&(a._pinia=l));const p=l._s.get(o);if(process.env.NODE_ENV!=="production"&&d){const u="__hot:"+o,m=i?Ca(u,e,n,l,!0):ad(u,qe({},n),l,!0);d._hotUpdate(m),delete l.state.value[u],l._s.delete(u)}if(process.env.NODE_ENV!=="production"&&_t){const u=s.getCurrentInstance();if(u&&u.proxy&&!d){const m=u.proxy,h="_pStores"in m?m._pStores:m._pStores={};h[o]=p}}return p}return a.$id=o,a}const sd=Eh("pageBuilderState",{state:()=>({componentArrayAddMethod:null,localStorageItemName:null,showModalTipTap:!1,menuRight:!0,borderStyle:null,borderWidth:null,borderColor:null,borderRadiusGlobal:null,borderRadiusTopLeft:null,borderRadiusTopRight:null,borderRadiusBottomleft:null,borderRadiusBottomRight:null,elementContainsHyperlink:null,hyperlinkAbility:null,hyperlinkInput:null,hyperlinkMessage:null,hyperlinkError:null,hyberlinkEnable:!1,openHyperlinkinkInNewTab:null,opacity:null,backgroundOpacity:null,textAreaVueModel:null,nextSibling:null,parentElement:null,restoredElement:null,currentClasses:[],fontVerticalPadding:null,fontHorizontalPadding:null,fontVerticalMargin:null,fontHorizontalMargin:null,fontStyle:null,fontFamily:null,fontWeight:null,fontBase:null,fontDesktop:null,fontTablet:null,fontMobile:null,backgroundColor:null,textColor:null,element:null,component:null,components:[],basePrimaryImage:null,configPageBuilder:null,currentImage:{src:""},currentPreviewImage:null,isSaving:!1}),getters:{getComponentArrayAddMethod(r){return r.componentArrayAddMethod},getLocalStorageItemName(r){return r.localStorageItemName},getShowModalTipTap(r){return r.showModalTipTap},getMenuRight(r){return r.menuRight},getBorderStyle(r){return r.borderStyle},getBorderWidth(r){return r.borderWidth},getBorderColor(r){return r.borderColor},getBorderRadiusGlobal(r){return r.borderRadiusGlobal},getBorderRadiusTopLeft(r){return r.borderRadiusTopLeft},getBorderRadiusTopRight(r){return r.borderRadiusTopRight},getBorderRadiusBottomleft(r){return r.borderRadiusBottomleft},getBorderRadiusBottomRight(r){return r.borderRadiusBottomRight},getElementContainsHyperlink(r){return r.elementContainsHyperlink},getHyperlinkAbility(r){return r.hyperlinkAbility},getHyperlinkInput(r){return r.hyperlinkInput},getHyperlinkMessage(r){return r.hyperlinkMessage},getHyperlinkError(r){return r.hyperlinkError},getHyberlinkEnable(r){return r.hyberlinkEnable},getOpenHyperlinkInNewTab(r){return r.openHyperlinkinkInNewTab},getOpacity(r){return r.opacity},getBackgroundOpacity(r){return r.backgroundOpacity},getTextAreaVueModel(r){return r.textAreaVueModel},getNextSibling(r){return r.nextSibling},getParentElement(r){return r.parentElement},getRestoredElement(r){return r.restoredElement},getCurrentClasses(r){return r.currentClasses},getFontStyle(r){return r.fontStyle},getFontVerticalPadding(r){return r.fontVerticalPadding},getFontHorizontalPadding(r){return r.fontHorizontalPadding},getFontVerticalMargin(r){return r.fontVerticalMargin},getFontHorizontalMargin(r){return r.fontHorizontalMargin},getFontFamily(r){return r.fontFamily},getFontWeight(r){return r.fontWeight},getFontBase(r){return r.fontBase},getFontDesktop(r){return r.fontDesktop},getFontTablet(r){return r.fontTablet},getFontMobile(r){return r.fontMobile},getBackgroundColor(r){return r.backgroundColor},getTextColor(r){return r.textColor},getElement(r){return r.element},getComponent(r){return r.component},getComponents(r){return r.components},getBasePrimaryImage(r){return r.basePrimaryImage},getConfigPageBuilder(r){return r.configPageBuilder},getCurrentImage(r){return r.currentImage},getCurrentPreviewImage(r){return r.currentPreviewImage},getIsSaving:r=>r.isSaving},actions:{setComponentArrayAddMethod(r){this.componentArrayAddMethod=r},setLocalStorageItemName(r){this.localStorageItemName=r},setShowModalTipTap(r){this.showModalTipTap=r},setMenuRight(r){this.menuRight=r},setBorderStyle(r){this.borderStyle=r},setBorderWidth(r){this.borderWidth=r},setBorderColor(r){this.borderColor=r},setBorderRadiusGlobal(r){this.borderRadiusGlobal=r},setBorderRadiusTopLeft(r){this.borderRadiusTopLeft=r},setBorderRadiusTopRight(r){this.borderRadiusTopRight=r},setBorderRadiusBottomleft(r){this.borderRadiusBottomleft=r},setBorderRadiusBottomRight(r){this.borderRadiusBottomRight=r},setElementContainsHyperlink(r){this.elementContainsHyperlink=r},setHyperlinkAbility(r){this.hyperlinkAbility=r},setHyperlinkInput(r){this.hyperlinkInput=r},setHyperlinkMessage(r){this.hyperlinkMessage=r},setHyperlinkError(r){this.hyperlinkError=r},setHyberlinkEnable(r){this.hyberlinkEnable=r},setOpenHyperlinkInNewTab(r){this.openHyperlinkinkInNewTab=r},setOpacity(r){this.opacity=r},setBackgroundOpacity(r){this.backgroundOpacity=r},setTextAreaVueModel(r){this.textAreaVueModel=r},setNextSibling(r){this.nextSibling=r},setParentElement(r){this.parentElement=r},setRestoredElement(r){this.restoredElement=r},setClass(r){this.currentClasses=[...this.currentClasses,r]},removeClass(r){this.currentClasses=this.currentClasses.filter(e=>e!==r)},setCurrentClasses(r){this.currentClasses=Array.from(r)},setFontVerticalPadding(r){this.fontVerticalPadding=r},setFontHorizontalPadding(r){this.fontHorizontalPadding=r},setFontVerticalMargin(r){this.fontVerticalMargin=r},setFontHorizontalMargin(r){this.fontHorizontalMargin=r},setFontStyle(r){this.fontStyle=r},setFontFamily(r){this.fontFamily=r},setFontWeight(r){this.fontWeight=r},setFontBase(r){this.fontBase=r},setFontDesktop(r){this.fontDesktop=r},setFontTablet(r){this.fontTablet=r},setFontMobile(r){this.fontMobile=r},setBackgroundColor(r){this.backgroundColor=r},setTextColor(r){this.textColor=r},setElement(r){this.element=null,s.nextTick(()=>{this.element=r})},setComponent(r){if(!r){this.element=null,this.component=null;return}this.component=null,s.nextTick(()=>{this.component=r})},setComponents(r){this.components=[],s.nextTick(()=>{this.components=r||[]})},setPushComponents(r){const e=r.componentArrayAddMethod??"push";e==="push"?this.components.push(r.component):e==="unshift"&&this.components.unshift(r.component)},setBasePrimaryImage(r){this.element&&(this.element.src=r??void 0),this.basePrimaryImage=r},setCurrentLayoutPreview(r){localStorage.setItem("preview",r)},setConfigPageBuilder(r){this.configPageBuilder=r},setCurrentImage(r){this.currentImage=r},setCurrentPreviewImage(r){this.currentPreviewImage=r},setIsSaving(r){this.isSaving=r}}}),Sa=ed(),re=sd(Sa),Ch={class:"w-full inset-x-0 h-[90vh] bg-white overflow-x-scroll lg:pt-2 pt-2"},Sh={id:"page-builder-editor"},Nh=["innerHTML"],ld={__name:"Preview",emits:["firstPageBuilderPreviewModalButton"],setup(r,{emit:e}){const t=re;s.computed(()=>t.getConfigPageBuilder);const o=s.ref(""),n=localStorage.getItem("preview");if(n)try{const i=JSON.parse(n);o.value=Array.isArray(i)?i.join(""):""}catch(i){console.error("Error parsing preview data:",i),o.value=""}else o.value="";return(i,a)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",Ch,[s.createElementVNode("div",Sh,[s.createElementVNode("div",{class:"",innerHTML:o.value},null,8,Nh)])])]))}},Mh={class:"font-sans w-full relative inline-block align-bottom text-left overflow-hidden transform transition-all sm:align-middle"},Bh=["innerHTML"],Th={key:0,class:"py-4 flex sm:justify-end justify-center border-t border-gray-200 mt-4"},Oh={key:1},Vh={key:0},Ph=["disabled"],Ah={key:1},Dh={key:2},Ih={key:0},Lh={key:0},Rh=["disabled"],_h={key:1},zh={key:1},Fh={key:0},Hh=["disabled"],jh={key:1},Wh={key:2},qh={key:0},Uh=["disabled"],Kh={key:1},Gh={key:3},Jh={key:0},Yh=["disabled"],Qh={key:1},wo={__name:"DynamicModalBuilder",props:{showDynamicModalBuilder:{type:Boolean,default:!1,required:!0},simpleModal:{type:Boolean,default:!1,required:!1},disabled:{type:Boolean,default:!1,required:!1},disabledWhichButton:{type:String,default:"",required:!1},maxWidth:{type:String,required:!1,default:"2xl"},gridColumnAmount:{type:Number,required:!0},type:{type:String,required:!0},title:{type:String,required:!0},description:{required:!0},firstButtonText:{type:String},secondButtonText:{type:String},thirdButtonText:{type:String}},emits:["firstModalButtonFunctionDynamicModalBuilder","secondModalButtonFunctionDynamicModalBuilder","thirdModalButtonFunctionDynamicModalBuilder"],setup(r,{emit:e}){const t=e,o=function(){t("firstModalButtonFunctionDynamicModalBuilder")},n=function(){t("secondModalButtonFunctionDynamicModalBuilder")},i=function(){t("thirdModalButtonFunctionDynamicModalBuilder")};return(a,l)=>(s.openBlock(),s.createBlock(Dr,{title:r.title,showModalBuilder:r.showDynamicModalBuilder,onCloseMainModalBuilder:o,maxWidth:r.maxWidth},{default:s.withCtx(()=>[s.renderSlot(a.$slots,"content"),s.createElementVNode("div",Mh,[s.createElementVNode("div",{class:s.normalizeClass({"pr-4 pb-4":r.simpleModal!==!0})},[r.simpleModal!==!0?(s.openBlock(),s.createElementBlock("div",{key:0,innerHTML:r.description,class:"myPrimaryParagraph mb-6"},null,8,Bh)):s.createCommentVNode("",!0),s.renderSlot(a.$slots,"header"),s.renderSlot(a.$slots,"default")],2)]),r.simpleModal!==!0?(s.openBlock(),s.createElementBlock("div",Th,[s.renderSlot(a.$slots,"footer"),s.createElementVNode("div",{class:s.normalizeClass([{"sm:grid-cols-1":r.gridColumnAmount===1,"sm:grid-cols-2":r.gridColumnAmount===2,"sm:grid-cols-3":r.gridColumnAmount===3},"sm:items-end sm:justify-end flex sm:flex-row flex-col myPrimaryGap sm:w-5/6 w-full"])},[r.firstButtonText?(s.openBlock(),s.createElementBlock("button",{key:0,ref:"firstButtonRef",class:"mySecondaryButton",type:"button",onClick:o},s.toDisplayString(r.firstButtonText),513)):s.createCommentVNode("",!0),r.secondButtonText?(s.openBlock(),s.createElementBlock("div",Oh,[r.disabled&&r.disabledWhichButton==="secondButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Vh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-yellow-300 hover:bg-yellow-400 text-myPrimaryDarkGrayColor hover:text-myPrimaryDarkGrayColor focus:ring-yellow-400 w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button",onClick:n},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[0]||(l[0]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[0]})]),l[1]||(l[1]=s.createElementVNode("div",null,"Loading..",-1))],10,Ph)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="secondButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Ah,[s.createElementVNode("button",{class:"myPrimaryButton bg-yellow-300 hover:bg-yellow-400 text-myPrimaryDarkGrayColor hover:text-myPrimaryDarkGrayColor focus:ring-yellow-400 w-full",type:"button",onClick:n},s.toDisplayString(r.secondButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),r.thirdButtonText?(s.openBlock(),s.createElementBlock("div",Dh,[r.type==="default"?(s.openBlock(),s.createElementBlock("div",Ih,[r.disabled&&r.disabledWhichButton==="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Lh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button"},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[2]||(l[2]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[2]})]),l[3]||(l[3]=s.createElementVNode("div",null,"Loading..",-1))],10,Rh)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",_h,[s.createElementVNode("button",{class:"myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",type:"button",onClick:i},s.toDisplayString(r.thirdButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),r.type==="success"?(s.openBlock(),s.createElementBlock("div",zh,[r.disabled&&r.disabledWhichButton==="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Fh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button"},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[4]||(l[4]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[4]})]),l[5]||(l[5]=s.createElementVNode("div",null,"Loading..",-1))],10,Hh)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",jh,[s.createElementVNode("button",{class:"myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",type:"button",onClick:i},s.toDisplayString(r.thirdButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),r.type==="warning"?(s.openBlock(),s.createElementBlock("div",Wh,[r.disabled&&r.disabledWhichButton==="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",qh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button"},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[6]||(l[6]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[6]})]),l[7]||(l[7]=s.createElementVNode("div",null,"Loading..",-1))],10,Uh)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Kh,[s.createElementVNode("button",{class:"flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",type:"button",onClick:i},s.toDisplayString(r.thirdButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),r.type==="danger"||r.type==="delete"?(s.openBlock(),s.createElementBlock("div",Gh,[r.disabled&&r.disabledWhichButton==="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Jh,[s.createElementVNode("button",{class:s.normalizeClass(["flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",{"opacity-25 cursor-default":r.disabled}]),disabled:r.disabled,type:"button"},[s.createElementVNode("div",null,[s.createVNode(s.Transition,{name:"bounce"},{default:s.withCtx(()=>l[8]||(l[8]=[s.createElementVNode("div",{role:"status",class:"flex items-center"},[s.createElementVNode("svg",{"aria-hidden":"true",class:"w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center","stroke-width":"1.5",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})])],-1)])),_:1,__:[8]})]),l[9]||(l[9]=s.createElementVNode("div",null,"Loading..",-1))],10,Yh)])):s.createCommentVNode("",!0),!r.disabled||r.disabledWhichButton!=="thirdButtonBuilder"?(s.openBlock(),s.createElementBlock("div",Qh,[s.createElementVNode("button",{class:"flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",type:"button",onClick:i},s.toDisplayString(r.thirdButtonText),1)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)],2)])):s.createCommentVNode("",!0)]),_:3},8,["title","showModalBuilder","maxWidth"]))}},Xh={class:"flex flex-col items-center justify-center myPrimaryGap"},Zh={class:"flex gap-2 items-center justify-center"},$h={__name:"ComponentTopMenu",setup(r){const e=re,t=s.ref(!1),o=s.ref(""),n=s.ref(1),i=s.ref(""),a=s.ref(""),l=s.ref(""),d=s.ref(null),c=s.ref(null),p=s.ref(null),u=s.ref(null),m=s.ref(null),h=new se(e),g=function(f){t.value=!0,o.value="delete",n.value=2,i.value="Remove Component?",a.value="Are you sure you want to remove this Component?",l.value="Close",d.value=null,c.value="Delete",p.value=function(){t.value=!1},m.value=function(){h.deleteComponent(),t.value=!1}};return(f,b)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createVNode(wo,{showDynamicModalBuilder:t.value,type:o.value,gridColumnAmount:n.value,title:i.value,description:a.value,firstButtonText:l.value,secondButtonText:d.value,thirdButtonText:c.value,onFirstModalButtonFunctionDynamicModalBuilder:p.value,onSecondModalButtonFunctionDynamicModalBuilder:u.value,onThirdModalButtonFunctionDynamicModalBuilder:m.value},{default:s.withCtx(()=>b[3]||(b[3]=[s.createElementVNode("header",null,null,-1),s.createElementVNode("main",null,null,-1)])),_:1,__:[3]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"]),s.createElementVNode("div",Xh,[s.createElementVNode("div",Zh,[s.createElementVNode("div",{onClick:b[0]||(b[0]=w=>g()),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryErrorColor hover:text-white text-myPrimaryErrorColor"},b[4]||(b[4]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," delete_forever ",-1)]))]),s.createElementVNode("button",{type:"button",onClick:b[1]||(b[1]=w=>s.unref(h).moveComponent(-1)),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},b[5]||(b[5]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," move_up ",-1)])),s.createElementVNode("button",{type:"button",onClick:b[2]||(b[2]=w=>s.unref(h).moveComponent(1)),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},b[6]||(b[6]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," move_down ",-1)]))])],64))}};function xe(r){this.content=r}xe.prototype={constructor:xe,find:function(r){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===r)return e;return-1},get:function(r){var e=this.find(r);return e==-1?void 0:this.content[e+1]},update:function(r,e,t){var o=t&&t!=r?this.remove(t):this,n=o.find(r),i=o.content.slice();return n==-1?i.push(t||r,e):(i[n+1]=e,t&&(i[n]=t)),new xe(i)},remove:function(r){var e=this.find(r);if(e==-1)return this;var t=this.content.slice();return t.splice(e,2),new xe(t)},addToStart:function(r,e){return new xe([r,e].concat(this.remove(r).content))},addToEnd:function(r,e){var t=this.remove(r).content.slice();return t.push(r,e),new xe(t)},addBefore:function(r,e,t){var o=this.remove(e),n=o.content.slice(),i=o.find(r);return n.splice(i==-1?n.length:i,0,e,t),new xe(n)},forEach:function(r){for(var e=0;e<this.content.length;e+=2)r(this.content[e],this.content[e+1])},prepend:function(r){return r=xe.from(r),r.size?new xe(r.content.concat(this.subtract(r).content)):this},append:function(r){return r=xe.from(r),r.size?new xe(this.subtract(r).content.concat(r.content)):this},subtract:function(r){var e=this;r=xe.from(r);for(var t=0;t<r.content.length;t+=2)e=e.remove(r.content[t]);return e},toObject:function(){var r={};return this.forEach(function(e,t){r[e]=t}),r},get size(){return this.content.length>>1}},xe.from=function(r){if(r instanceof xe)return r;var e=[];if(r)for(var t in r)e.push(t,r[t]);return new xe(e)};function dd(r,e,t){for(let o=0;;o++){if(o==r.childCount||o==e.childCount)return r.childCount==e.childCount?null:t;let n=r.child(o),i=e.child(o);if(n==i){t+=n.nodeSize;continue}if(!n.sameMarkup(i))return t;if(n.isText&&n.text!=i.text){for(let a=0;n.text[a]==i.text[a];a++)t++;return t}if(n.content.size||i.content.size){let a=dd(n.content,i.content,t+1);if(a!=null)return a}t+=n.nodeSize}}function cd(r,e,t,o){for(let n=r.childCount,i=e.childCount;;){if(n==0||i==0)return n==i?null:{a:t,b:o};let a=r.child(--n),l=e.child(--i),d=a.nodeSize;if(a==l){t-=d,o-=d;continue}if(!a.sameMarkup(l))return{a:t,b:o};if(a.isText&&a.text!=l.text){let c=0,p=Math.min(a.text.length,l.text.length);for(;c<p&&a.text[a.text.length-c-1]==l.text[l.text.length-c-1];)c++,t--,o--;return{a:t,b:o}}if(a.content.size||l.content.size){let c=cd(a.content,l.content,t-1,o-1);if(c)return c}t-=d,o-=d}}class B{constructor(e,t){if(this.content=e,this.size=t||0,t==null)for(let o=0;o<e.length;o++)this.size+=e[o].nodeSize}nodesBetween(e,t,o,n=0,i){for(let a=0,l=0;l<t;a++){let d=this.content[a],c=l+d.nodeSize;if(c>e&&o(d,n+l,i||null,a)!==!1&&d.content.size){let p=l+1;d.nodesBetween(Math.max(0,e-p),Math.min(d.content.size,t-p),o,n+p)}l=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,o,n){let i="",a=!0;return this.nodesBetween(e,t,(l,d)=>{let c=l.isText?l.text.slice(Math.max(e,d)-d,t-d):l.isLeaf?n?typeof n=="function"?n(l):n:l.type.spec.leafText?l.type.spec.leafText(l):"":"";l.isBlock&&(l.isLeaf&&c||l.isTextblock)&&o&&(a?a=!1:i+=o),i+=c},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,o=e.firstChild,n=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(o)&&(n[n.length-1]=t.withText(t.text+o.text),i=1);i<e.content.length;i++)n.push(e.content[i]);return new B(n,this.size+e.size)}cut(e,t=this.size){if(e==0&&t==this.size)return this;let o=[],n=0;if(t>e)for(let i=0,a=0;a<t;i++){let l=this.content[i],d=a+l.nodeSize;d>e&&((a<e||d>t)&&(l.isText?l=l.cut(Math.max(0,e-a),Math.min(l.text.length,t-a)):l=l.cut(Math.max(0,e-a-1),Math.min(l.content.size,t-a-1))),o.push(l),n+=l.nodeSize),a=d}return new B(o,n)}cutByIndex(e,t){return e==t?B.empty:e==0&&t==this.content.length?this:new B(this.content.slice(e,t))}replaceChild(e,t){let o=this.content[e];if(o==t)return this;let n=this.content.slice(),i=this.size+t.nodeSize-o.nodeSize;return n[e]=t,new B(n,i)}addToStart(e){return new B([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new B(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,o=0;t<this.content.length;t++){let n=this.content[t];e(n,o,t),o+=n.nodeSize}}findDiffStart(e,t=0){return dd(this,e,t)}findDiffEnd(e,t=this.size,o=e.size){return cd(this,e,t,o)}findIndex(e,t=-1){if(e==0)return Vn(0,e);if(e==this.size)return Vn(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let o=0,n=0;;o++){let i=this.child(o),a=n+i.nodeSize;if(a>=e)return a==e||t>0?Vn(o+1,a):Vn(o,n);n=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return B.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new B(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return B.empty;let t,o=0;for(let n=0;n<e.length;n++){let i=e[n];o+=i.nodeSize,n&&i.isText&&e[n-1].sameMarkup(i)?(t||(t=e.slice(0,n)),t[t.length-1]=i.withText(t[t.length-1].text+i.text)):t&&t.push(i)}return new B(t||e,o)}static from(e){if(!e)return B.empty;if(e instanceof B)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new B([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}B.empty=new B([],0);const Na={index:0,offset:0};function Vn(r,e){return Na.index=r,Na.offset=e,Na}function Pn(r,e){if(r===e)return!0;if(!(r&&typeof r=="object")||!(e&&typeof e=="object"))return!1;let t=Array.isArray(r);if(Array.isArray(e)!=t)return!1;if(t){if(r.length!=e.length)return!1;for(let o=0;o<r.length;o++)if(!Pn(r[o],e[o]))return!1}else{for(let o in r)if(!(o in e)||!Pn(r[o],e[o]))return!1;for(let o in e)if(!(o in r))return!1}return!0}let X=class Dl{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,o=!1;for(let n=0;n<e.length;n++){let i=e[n];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,n));else{if(i.type.excludes(this.type))return e;!o&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,n)),t.push(this),o=!0),t&&t.push(i)}}return t||(t=e.slice()),o||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Pn(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let o=e.marks[t.type];if(!o)throw new RangeError(`There is no mark type ${t.type} in this schema`);let n=o.create(t.attrs);return o.checkAttrs(n.attrs),n}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let o=0;o<e.length;o++)if(!e[o].eq(t[o]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return Dl.none;if(e instanceof Dl)return[e];let t=e.slice();return t.sort((o,n)=>o.type.rank-n.type.rank),t}};X.none=[];class An extends Error{}class P{constructor(e,t,o){this.content=e,this.openStart=t,this.openEnd=o}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let o=ud(this.content,e+this.openStart,t);return o&&new P(o,this.openStart,this.openEnd)}removeBetween(e,t){return new P(pd(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return P.empty;let o=t.openStart||0,n=t.openEnd||0;if(typeof o!="number"||typeof n!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new P(B.fromJSON(e,t.content),o,n)}static maxOpen(e,t=!0){let o=0,n=0;for(let i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)o++;for(let i=e.lastChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.lastChild)n++;return new P(e,o,n)}}P.empty=new P(B.empty,0,0);function pd(r,e,t){let{index:o,offset:n}=r.findIndex(e),i=r.maybeChild(o),{index:a,offset:l}=r.findIndex(t);if(n==e||i.isText){if(l!=t&&!r.child(a).isText)throw new RangeError("Removing non-flat range");return r.cut(0,e).append(r.cut(t))}if(o!=a)throw new RangeError("Removing non-flat range");return r.replaceChild(o,i.copy(pd(i.content,e-n-1,t-n-1)))}function ud(r,e,t,o){let{index:n,offset:i}=r.findIndex(e),a=r.maybeChild(n);if(i==e||a.isText)return r.cut(0,e).append(t).append(r.cut(e));let l=ud(a.content,e-i-1,t);return l&&r.replaceChild(n,a.copy(l))}function eg(r,e,t){if(t.openStart>r.depth)throw new An("Inserted content deeper than insertion position");if(r.depth-t.openStart!=e.depth-t.openEnd)throw new An("Inconsistent open depths");return md(r,e,t,0)}function md(r,e,t,o){let n=r.index(o),i=r.node(o);if(n==e.index(o)&&o<r.depth-t.openStart){let a=md(r,e,t,o+1);return i.copy(i.content.replaceChild(n,a))}else if(t.content.size)if(!t.openStart&&!t.openEnd&&r.depth==o&&e.depth==o){let a=r.parent,l=a.content;return cr(a,l.cut(0,r.parentOffset).append(t.content).append(l.cut(e.parentOffset)))}else{let{start:a,end:l}=tg(t,r);return cr(i,gd(r,a,l,e,o))}else return cr(i,Dn(r,e,o))}function hd(r,e){if(!e.type.compatibleContent(r.type))throw new An("Cannot join "+e.type.name+" onto "+r.type.name)}function Ma(r,e,t){let o=r.node(t);return hd(o,e.node(t)),o}function dr(r,e){let t=e.length-1;t>=0&&r.isText&&r.sameMarkup(e[t])?e[t]=r.withText(e[t].text+r.text):e.push(r)}function xo(r,e,t,o){let n=(e||r).node(t),i=0,a=e?e.index(t):n.childCount;r&&(i=r.index(t),r.depth>t?i++:r.textOffset&&(dr(r.nodeAfter,o),i++));for(let l=i;l<a;l++)dr(n.child(l),o);e&&e.depth==t&&e.textOffset&&dr(e.nodeBefore,o)}function cr(r,e){return r.type.checkContent(e),r.copy(e)}function gd(r,e,t,o,n){let i=r.depth>n&&Ma(r,e,n+1),a=o.depth>n&&Ma(t,o,n+1),l=[];return xo(null,r,n,l),i&&a&&e.index(n)==t.index(n)?(hd(i,a),dr(cr(i,gd(r,e,t,o,n+1)),l)):(i&&dr(cr(i,Dn(r,e,n+1)),l),xo(e,t,n,l),a&&dr(cr(a,Dn(t,o,n+1)),l)),xo(o,null,n,l),new B(l)}function Dn(r,e,t){let o=[];if(xo(null,r,t,o),r.depth>t){let n=Ma(r,e,t+1);dr(cr(n,Dn(r,e,t+1)),o)}return xo(e,null,t,o),new B(o)}function tg(r,e){let t=e.depth-r.openStart,n=e.node(t).copy(r.content);for(let i=t-1;i>=0;i--)n=e.node(i).copy(B.from(n));return{start:n.resolveNoCache(r.openStart+t),end:n.resolveNoCache(n.content.size-r.openEnd-t)}}class vo{constructor(e,t,o){this.pos=e,this.path=t,this.parentOffset=o,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let o=this.pos-this.path[this.path.length-1],n=e.child(t);return o?e.child(t).cut(o):n}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let o=this.path[t*3],n=t==0?0:this.path[t*3-1]+1;for(let i=0;i<e;i++)n+=o.child(i).nodeSize;return n}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return X.none;if(this.textOffset)return e.child(t).marks;let o=e.maybeChild(t-1),n=e.maybeChild(t);if(!o){let l=o;o=n,n=l}let i=o.marks;for(var a=0;a<i.length;a++)i[a].type.spec.inclusive===!1&&(!n||!i[a].isInSet(n.marks))&&(i=i[a--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let o=t.marks,n=e.parent.maybeChild(e.index());for(var i=0;i<o.length;i++)o[i].type.spec.inclusive===!1&&(!n||!o[i].isInSet(n.marks))&&(o=o[i--].removeFromSet(o));return o}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let o=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);o>=0;o--)if(e.pos<=this.end(o)&&(!t||t(this.node(o))))return new In(this,e,o);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let o=[],n=0,i=t;for(let a=e;;){let{index:l,offset:d}=a.content.findIndex(i),c=i-d;if(o.push(a,l,n+d),!c||(a=a.child(l),a.isText))break;i=c-1,n+=d+1}return new vo(t,o,i)}static resolveCached(e,t){let o=fd.get(e);if(o)for(let i=0;i<o.elts.length;i++){let a=o.elts[i];if(a.pos==t)return a}else fd.set(e,o=new rg);let n=o.elts[o.i]=vo.resolve(e,t);return o.i=(o.i+1)%og,n}}class rg{constructor(){this.elts=[],this.i=0}}const og=12,fd=new WeakMap;class In{constructor(e,t,o){this.$from=e,this.$to=t,this.depth=o}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const ng=Object.create(null);let Ft=class Il{constructor(e,t,o,n=X.none){this.type=e,this.attrs=t,this.marks=n,this.content=o||B.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,o,n=0){this.content.nodesBetween(e,t,o,n,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,o,n){return this.content.textBetween(e,t,o,n)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,o){return this.type==e&&Pn(this.attrs,t||e.defaultAttrs||ng)&&X.sameSet(this.marks,o||X.none)}copy(e=null){return e==this.content?this:new Il(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new Il(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return e==0&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,o=!1){if(e==t)return P.empty;let n=this.resolve(e),i=this.resolve(t),a=o?0:n.sharedDepth(t),l=n.start(a),c=n.node(a).content.cut(n.pos-l,i.pos-l);return new P(c,n.depth-a,i.depth-a)}replace(e,t,o){return eg(this.resolve(e),this.resolve(t),o)}nodeAt(e){for(let t=this;;){let{index:o,offset:n}=t.content.findIndex(e);if(t=t.maybeChild(o),!t)return null;if(n==e||t.isText)return t;e-=n+1}}childAfter(e){let{index:t,offset:o}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:o}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:t,offset:o}=this.content.findIndex(e);if(o<e)return{node:this.content.child(t),index:t,offset:o};let n=this.content.child(t-1);return{node:n,index:t-1,offset:o-n.nodeSize}}resolve(e){return vo.resolveCached(this,e)}resolveNoCache(e){return vo.resolve(this,e)}rangeHasMark(e,t,o){let n=!1;return t>e&&this.nodesBetween(e,t,i=>(o.isInSet(i.marks)&&(n=!0),!n)),n}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),bd(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,o=B.empty,n=0,i=o.childCount){let a=this.contentMatchAt(e).matchFragment(o,n,i),l=a&&a.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let d=n;d<i;d++)if(!this.type.allowsMarks(o.child(d).marks))return!1;return!0}canReplaceWith(e,t,o,n){if(n&&!this.type.allowsMarks(n))return!1;let i=this.contentMatchAt(e).matchType(o),a=i&&i.matchFragment(this.content,t);return a?a.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=X.none;for(let t=0;t<this.marks.length;t++){let o=this.marks[t];o.type.checkAttrs(o.attrs),e=o.addToSet(e)}if(!X.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(t=>t.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let o;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");o=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,o)}let n=B.fromJSON(e,t.content),i=e.nodeType(t.type).create(t.attrs,n,o);return i.type.checkAttrs(i.attrs),i}};Ft.prototype.text=void 0;class Ln extends Ft{constructor(e,t,o,n){if(super(e,t,null,n),!o)throw new RangeError("Empty text nodes are not allowed");this.text=o}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):bd(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Ln(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ln(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function bd(r,e){for(let t=r.length-1;t>=0;t--)e=r[t].type.name+"("+e+")";return e}class pr{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let o=new ig(e,t);if(o.next==null)return pr.empty;let n=yd(o);o.next&&o.err("Unexpected trailing text");let i=ug(pg(n));return mg(i,o),i}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,o=e.childCount){let n=this;for(let i=t;n&&i<o;i++)n=n.matchType(e.child(i).type);return n}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let o=0;o<e.next.length;o++)if(this.next[t].type==e.next[o].type)return!0;return!1}fillBefore(e,t=!1,o=0){let n=[this];function i(a,l){let d=a.matchFragment(e,o);if(d&&(!t||d.validEnd))return B.from(l.map(c=>c.createAndFill()));for(let c=0;c<a.next.length;c++){let{type:p,next:u}=a.next[c];if(!(p.isText||p.hasRequiredAttrs())&&n.indexOf(u)==-1){n.push(u);let m=i(u,l.concat(p));if(m)return m}}return null}return i(this,[])}findWrapping(e){for(let o=0;o<this.wrapCache.length;o+=2)if(this.wrapCache[o]==e)return this.wrapCache[o+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),o=[{match:this,type:null,via:null}];for(;o.length;){let n=o.shift(),i=n.match;if(i.matchType(e)){let a=[];for(let l=n;l.type;l=l.via)a.push(l.type);return a.reverse()}for(let a=0;a<i.next.length;a++){let{type:l,next:d}=i.next[a];!l.isLeaf&&!l.hasRequiredAttrs()&&!(l.name in t)&&(!n.type||d.validEnd)&&(o.push({match:l.contentMatch,type:l,via:n}),t[l.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(o){e.push(o);for(let n=0;n<o.next.length;n++)e.indexOf(o.next[n].next)==-1&&t(o.next[n].next)}return t(this),e.map((o,n)=>{let i=n+(o.validEnd?"*":" ")+" ";for(let a=0;a<o.next.length;a++)i+=(a?", ":"")+o.next[a].type.name+"->"+e.indexOf(o.next[a].next);return i}).join(`
12
+ `)}}pr.empty=new pr(!0);class ig{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function yd(r){let e=[];do e.push(ag(r));while(r.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function ag(r){let e=[];do e.push(sg(r));while(r.next&&r.next!=")"&&r.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function sg(r){let e=cg(r);for(;;)if(r.eat("+"))e={type:"plus",expr:e};else if(r.eat("*"))e={type:"star",expr:e};else if(r.eat("?"))e={type:"opt",expr:e};else if(r.eat("{"))e=lg(r,e);else break;return e}function wd(r){/\D/.test(r.next)&&r.err("Expected number, got '"+r.next+"'");let e=Number(r.next);return r.pos++,e}function lg(r,e){let t=wd(r),o=t;return r.eat(",")&&(r.next!="}"?o=wd(r):o=-1),r.eat("}")||r.err("Unclosed braced range"),{type:"range",min:t,max:o,expr:e}}function dg(r,e){let t=r.nodeTypes,o=t[e];if(o)return[o];let n=[];for(let i in t){let a=t[i];a.isInGroup(e)&&n.push(a)}return n.length==0&&r.err("No node type or group '"+e+"' found"),n}function cg(r){if(r.eat("(")){let e=yd(r);return r.eat(")")||r.err("Missing closing paren"),e}else if(/\W/.test(r.next))r.err("Unexpected token '"+r.next+"'");else{let e=dg(r,r.next).map(t=>(r.inline==null?r.inline=t.isInline:r.inline!=t.isInline&&r.err("Mixing inline and block content"),{type:"name",value:t}));return r.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function pg(r){let e=[[]];return n(i(r,0),t()),e;function t(){return e.push([])-1}function o(a,l,d){let c={term:d,to:l};return e[a].push(c),c}function n(a,l){a.forEach(d=>d.to=l)}function i(a,l){if(a.type=="choice")return a.exprs.reduce((d,c)=>d.concat(i(c,l)),[]);if(a.type=="seq")for(let d=0;;d++){let c=i(a.exprs[d],l);if(d==a.exprs.length-1)return c;n(c,l=t())}else if(a.type=="star"){let d=t();return o(l,d),n(i(a.expr,d),d),[o(d)]}else if(a.type=="plus"){let d=t();return n(i(a.expr,l),d),n(i(a.expr,d),d),[o(d)]}else{if(a.type=="opt")return[o(l)].concat(i(a.expr,l));if(a.type=="range"){let d=l;for(let c=0;c<a.min;c++){let p=t();n(i(a.expr,d),p),d=p}if(a.max==-1)n(i(a.expr,d),d);else for(let c=a.min;c<a.max;c++){let p=t();o(d,p),n(i(a.expr,d),p),d=p}return[o(d)]}else{if(a.type=="name")return[o(l,void 0,a.value)];throw new Error("Unknown expr type")}}}}function xd(r,e){return e-r}function vd(r,e){let t=[];return o(e),t.sort(xd);function o(n){let i=r[n];if(i.length==1&&!i[0].term)return o(i[0].to);t.push(n);for(let a=0;a<i.length;a++){let{term:l,to:d}=i[a];!l&&t.indexOf(d)==-1&&o(d)}}}function ug(r){let e=Object.create(null);return t(vd(r,0));function t(o){let n=[];o.forEach(a=>{r[a].forEach(({term:l,to:d})=>{if(!l)return;let c;for(let p=0;p<n.length;p++)n[p][0]==l&&(c=n[p][1]);vd(r,d).forEach(p=>{c||n.push([l,c=[]]),c.indexOf(p)==-1&&c.push(p)})})});let i=e[o.join(",")]=new pr(o.indexOf(r.length-1)>-1);for(let a=0;a<n.length;a++){let l=n[a][1].sort(xd);i.next.push({type:n[a][0],next:e[l.join(",")]||t(l)})}return i}}function mg(r,e){for(let t=0,o=[r];t<o.length;t++){let n=o[t],i=!n.validEnd,a=[];for(let l=0;l<n.next.length;l++){let{type:d,next:c}=n.next[l];a.push(d.name),i&&!(d.isText||d.hasRequiredAttrs())&&(i=!1),o.indexOf(c)==-1&&o.push(c)}i&&e.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function kd(r){let e=Object.create(null);for(let t in r){let o=r[t];if(!o.hasDefault)return null;e[t]=o.default}return e}function Ed(r,e){let t=Object.create(null);for(let o in r){let n=e&&e[o];if(n===void 0){let i=r[o];if(i.hasDefault)n=i.default;else throw new RangeError("No value supplied for attribute "+o)}t[o]=n}return t}function Cd(r,e,t,o){for(let n in e)if(!(n in r))throw new RangeError(`Unsupported attribute ${n} for ${t} of type ${n}`);for(let n in r){let i=r[n];i.validate&&i.validate(e[n])}}function Sd(r,e){let t=Object.create(null);if(e)for(let o in e)t[o]=new gg(r,o,e[o]);return t}let Nd=class jm{constructor(e,t,o){this.name=e,this.schema=t,this.spec=o,this.markSet=null,this.groups=o.group?o.group.split(" "):[],this.attrs=Sd(e,o.attrs),this.defaultAttrs=kd(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(o.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==pr.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Ed(this.attrs,e)}create(e=null,t,o){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Ft(this,this.computeAttrs(e),B.from(t),X.setFrom(o))}createChecked(e=null,t,o){return t=B.from(t),this.checkContent(t),new Ft(this,this.computeAttrs(e),t,X.setFrom(o))}createAndFill(e=null,t,o){if(e=this.computeAttrs(e),t=B.from(t),t.size){let a=this.contentMatch.fillBefore(t);if(!a)return null;t=a.append(t)}let n=this.contentMatch.matchFragment(t),i=n&&n.fillBefore(B.empty,!0);return i?new Ft(this,e,t.append(i),X.setFrom(o)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let o=0;o<e.childCount;o++)if(!this.allowsMarks(e.child(o).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){Cd(this.attrs,e,"node",this.name)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let t;for(let o=0;o<e.length;o++)this.allowsMarkType(e[o].type)?t&&t.push(e[o]):t||(t=e.slice(0,o));return t?t.length?t:X.none:e}static compile(e,t){let o=Object.create(null);e.forEach((i,a)=>o[i]=new jm(i,t,a));let n=t.spec.topNode||"doc";if(!o[n])throw new RangeError("Schema is missing its top node type ('"+n+"')");if(!o.text)throw new RangeError("Every schema needs a 'text' type");for(let i in o.text.attrs)throw new RangeError("The text node type should not have attributes");return o}};function hg(r,e,t){let o=t.split("|");return n=>{let i=n===null?"null":typeof n;if(o.indexOf(i)<0)throw new RangeError(`Expected value of type ${o} for attribute ${e} on type ${r}, got ${i}`)}}class gg{constructor(e,t,o){this.hasDefault=Object.prototype.hasOwnProperty.call(o,"default"),this.default=o.default,this.validate=typeof o.validate=="string"?hg(e,t,o.validate):o.validate}get isRequired(){return!this.hasDefault}}class Rn{constructor(e,t,o,n){this.name=e,this.rank=t,this.schema=o,this.spec=n,this.attrs=Sd(e,n.attrs),this.excluded=null;let i=kd(this.attrs);this.instance=i?new X(this,i):null}create(e=null){return!e&&this.instance?this.instance:new X(this,Ed(this.attrs,e))}static compile(e,t){let o=Object.create(null),n=0;return e.forEach((i,a)=>o[i]=new Rn(i,n++,t,a)),o}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){Cd(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class Md{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=xe.from(e.nodes),t.marks=xe.from(e.marks||{}),this.nodes=Nd.compile(this.spec.nodes,this),this.marks=Rn.compile(this.spec.marks,this);let o=Object.create(null);for(let n in this.nodes){if(n in this.marks)throw new RangeError(n+" can not be both a node and a mark");let i=this.nodes[n],a=i.spec.content||"",l=i.spec.marks;if(i.contentMatch=o[a]||(o[a]=pr.parse(a,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!i.isInline||!i.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=i}i.markSet=l=="_"?null:l?Bd(this,l.split(" ")):l==""||!i.inlineContent?[]:null}for(let n in this.marks){let i=this.marks[n],a=i.spec.excludes;i.excluded=a==null?[i]:a==""?[]:Bd(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,o,n){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Nd){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(t,o,n)}text(e,t){let o=this.nodes.text;return new Ln(o,o.defaultAttrs,e,X.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return Ft.fromJSON(this,e)}markFromJSON(e){return X.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function Bd(r,e){let t=[];for(let o=0;o<e.length;o++){let n=e[o],i=r.marks[n],a=i;if(i)t.push(i);else for(let l in r.marks){let d=r.marks[l];(n=="_"||d.spec.group&&d.spec.group.split(" ").indexOf(n)>-1)&&t.push(a=d)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[o]+"'")}return t}function fg(r){return r.tag!=null}function bg(r){return r.style!=null}let ko=class Ll{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let o=this.matchedStyles=[];t.forEach(n=>{if(fg(n))this.tags.push(n);else if(bg(n)){let i=/[^=]*/.exec(n.style)[0];o.indexOf(i)<0&&o.push(i),this.styles.push(n)}}),this.normalizeLists=!this.tags.some(n=>{if(!/^(ul|ol)\b/.test(n.tag)||!n.node)return!1;let i=e.nodes[n.node];return i.contentMatch.matchType(i)})}parse(e,t={}){let o=new Pd(this,t,!1);return o.addAll(e,X.none,t.from,t.to),o.finish()}parseSlice(e,t={}){let o=new Pd(this,t,!0);return o.addAll(e,X.none,t.from,t.to),P.maxOpen(o.finish())}matchTag(e,t,o){for(let n=o?this.tags.indexOf(o)+1:0;n<this.tags.length;n++){let i=this.tags[n];if(xg(e,i.tag)&&(i.namespace===void 0||e.namespaceURI==i.namespace)&&(!i.context||t.matchesContext(i.context))){if(i.getAttrs){let a=i.getAttrs(e);if(a===!1)continue;i.attrs=a||void 0}return i}}}matchStyle(e,t,o,n){for(let i=n?this.styles.indexOf(n)+1:0;i<this.styles.length;i++){let a=this.styles[i],l=a.style;if(!(l.indexOf(e)!=0||a.context&&!o.matchesContext(a.context)||l.length>e.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(a.getAttrs){let d=a.getAttrs(t);if(d===!1)continue;a.attrs=d||void 0}return a}}}static schemaRules(e){let t=[];function o(n){let i=n.priority==null?50:n.priority,a=0;for(;a<t.length;a++){let l=t[a];if((l.priority==null?50:l.priority)<i)break}t.splice(a,0,n)}for(let n in e.marks){let i=e.marks[n].spec.parseDOM;i&&i.forEach(a=>{o(a=Ad(a)),a.mark||a.ignore||a.clearMark||(a.mark=n)})}for(let n in e.nodes){let i=e.nodes[n].spec.parseDOM;i&&i.forEach(a=>{o(a=Ad(a)),a.node||a.ignore||a.mark||(a.node=n)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Ll(e,Ll.schemaRules(e)))}};const Td={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},yg={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Od={ol:!0,ul:!0},Eo=1,Ba=2,Co=4;function Vd(r,e,t){return e!=null?(e?Eo:0)|(e==="full"?Ba:0):r&&r.whitespace=="pre"?Eo|Ba:t&~Co}class _n{constructor(e,t,o,n,i,a){this.type=e,this.attrs=t,this.marks=o,this.solid=n,this.options=a,this.content=[],this.activeMarks=X.none,this.match=i||(a&Co?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(B.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let o=this.type.contentMatch,n;return(n=o.findWrapping(e.type))?(this.match=o,n):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Eo)){let o=this.content[this.content.length-1],n;if(o&&o.isText&&(n=/[ \t\r\n\u000c]+$/.exec(o.text))){let i=o;o.text.length==n[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-n[0].length))}}let t=B.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(B.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Td.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Pd{constructor(e,t,o){this.parser=e,this.options=t,this.isOpen=o,this.open=0,this.localPreserveWS=!1;let n=t.topNode,i,a=Vd(null,t.preserveWhitespace,0)|(o?Co:0);n?i=new _n(n.type,n.attrs,X.none,!0,t.topMatch||n.type.contentMatch,a):o?i=new _n(null,null,X.none,!0,null,a):i=new _n(e.schema.topNodeType,null,X.none,!0,null,a),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){e.nodeType==3?this.addTextNode(e,t):e.nodeType==1&&this.addElement(e,t)}addTextNode(e,t){let o=e.nodeValue,n=this.top,i=n.options&Ba?"full":this.localPreserveWS||(n.options&Eo)>0;if(i==="full"||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(o)){if(i)i!=="full"?o=o.replace(/\r?\n|\r/g," "):o=o.replace(/\r\n?/g,`
13
13
  `);else if(o=o.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(o)&&this.open==this.nodes.length-1){let a=n.content[n.content.length-1],l=e.previousSibling;(!a||l&&l.nodeName=="BR"||a.isText&&/[ \t\r\n\u000c]$/.test(a.text))&&(o=o.slice(1))}o&&this.insertNode(this.parser.schema.text(o),t,!/\S/.test(o)),this.findInText(e)}else this.findInside(e)}addElement(e,t,o){let n=this.localPreserveWS,i=this.top;(e.tagName=="PRE"||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let a=e.nodeName.toLowerCase(),l;Od.hasOwnProperty(a)&&this.parser.normalizeLists&&wg(e);let d=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(l=this.parser.matchTag(e,this,o));e:if(d?d.ignore:yg.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,t);else if(!d||d.skip||d.closeParent){d&&d.closeParent?this.open=Math.max(0,this.open-1):d&&d.skip.nodeType&&(e=d.skip);let c,p=this.needsBlock;if(Td.hasOwnProperty(a))i.content.length&&i.content[0].isInline&&this.open&&(this.open--,i=this.top),c=!0,i.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);break e}let u=d&&d.skip?t:this.readStyles(e,t);u&&this.addAll(e,u),c&&this.sync(i),this.needsBlock=p}else{let c=this.readStyles(e,t);c&&this.addElementByRule(e,d,c,d.consuming===!1?l:void 0)}this.localPreserveWS=n}leafFallback(e,t){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
14
- `),t)}ignoreFallback(e,t){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),t,!0)}readStyles(e,t){let o=e.style;if(o&&o.length)for(let n=0;n<this.parser.matchedStyles.length;n++){let i=this.parser.matchedStyles[n],a=o.getPropertyValue(i);if(a)for(let l=void 0;;){let d=this.parser.matchStyle(i,a,this,l);if(!d)break;if(d.ignore)return null;if(d.clearMark?t=t.filter(c=>!d.clearMark(c)):t=t.concat(this.parser.schema.marks[d.mark].create(d.attrs)),d.consuming===!1)l=d;else break}}return t}addElementByRule(e,t,o,n){let i,a;if(t.node)if(a=this.parser.schema.nodes[t.node],a.isLeaf)this.insertNode(a.create(t.attrs),o,e.nodeName=="BR")||this.leafFallback(e,o);else{let d=this.enter(a,t.attrs||null,o,t.preserveWhitespace);d&&(i=!0,o=d)}else{let d=this.parser.schema.marks[t.mark];o=o.concat(d.create(t.attrs))}let l=this.top;if(a&&a.isLeaf)this.findInside(e);else if(n)this.addElement(e,o,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(d=>this.insertNode(d,o,!1));else{let d=e;typeof t.contentElement=="string"?d=e.querySelector(t.contentElement):typeof t.contentElement=="function"?d=t.contentElement(e):t.contentElement&&(d=t.contentElement),this.findAround(e,d,!0),this.addAll(d,o),this.findAround(e,d,!1)}i&&this.sync(l)&&this.open--}addAll(e,t,o,n){let i=o||0;for(let a=o?e.childNodes[o]:e.firstChild,l=n==null?null:e.childNodes[n];a!=l;a=a.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(a,t);this.findAtPoint(e,i)}findPlace(e,t,o){let n,i;for(let a=this.open,l=0;a>=0;a--){let d=this.nodes[a],c=d.findWrapping(e);if(c&&(!n||n.length>c.length+l)&&(n=c,i=d,!c.length))break;if(d.solid){if(o)break;l+=2}}if(!n)return null;this.sync(i);for(let a=0;a<n.length;a++)t=this.enterInner(n[a],null,t,!1);return t}insertNode(e,t,o){if(e.isInline&&this.needsBlock&&!this.top.type){let i=this.textblockFromContext();i&&(t=this.enterInner(i,null,t))}let n=this.findPlace(e,t,o);if(n){this.closeExtra();let i=this.top;i.match&&(i.match=i.match.matchType(e.type));let a=X.none;for(let l of n.concat(e.marks))(i.type?i.type.allowsMarkType(l.type):Dd(l.type,e.type))&&(a=l.addToSet(a));return i.content.push(e.mark(a)),!0}return!1}enter(e,t,o,n){let i=this.findPlace(e.create(t),o,!1);return i&&(i=this.enterInner(e,t,o,!0,n)),i}enterInner(e,t,o,n=!1,i){this.closeExtra();let a=this.top;a.match=a.match&&a.match.matchType(e);let l=Vd(e,i,a.options);a.options&Co&&a.content.length==0&&(l|=Co);let d=X.none;return o=o.filter(c=>(a.type?a.type.allowsMarkType(c.type):Dd(c.type,e))?(d=c.addToSet(d),!1):!0),this.nodes.push(new _n(e,t,d,n,null,l)),this.open++,o}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=Eo)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let o=this.nodes[t].content;for(let n=o.length-1;n>=0;n--)e+=o[n].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let o=0;o<this.find.length;o++)this.find[o].node==e&&this.find[o].offset==t&&(this.find[o].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].pos==null&&e.nodeType==1&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,o){if(e!=t&&this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&e.nodeType==1&&e.contains(this.find[n].node)&&t.compareDocumentPosition(this.find[n].node)&(o?2:4)&&(this.find[n].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),o=this.options.context,n=!this.isOpen&&(!o||o.parent.type==this.nodes[0].type),i=-(o?o.depth+1:0)+(n?0:1),a=(l,d)=>{for(;l>=0;l--){let c=t[l];if(c==""){if(l==t.length-1||l==0)continue;for(;d>=i;d--)if(a(l-1,d))return!0;return!1}else{let p=d>0||d==0&&n?this.nodes[d].type:o&&d>=i?o.node(d-i).type:null;if(!p||p.name!=c&&!p.isInGroup(c))return!1;d--}}return!0};return a(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let o=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(o&&o.isTextblock&&o.defaultAttrs)return o}for(let t in this.parser.schema.nodes){let o=this.parser.schema.nodes[t];if(o.isTextblock&&o.defaultAttrs)return o}}}function wg(r){for(let e=r.firstChild,t=null;e;e=e.nextSibling){let o=e.nodeType==1?e.nodeName.toLowerCase():null;o&&Od.hasOwnProperty(o)&&t?(t.appendChild(e),e=t):o=="li"?t=e:o&&(t=null)}}function xg(r,e){return(r.matches||r.msMatchesSelector||r.webkitMatchesSelector||r.mozMatchesSelector).call(r,e)}function Ad(r){let e={};for(let t in r)e[t]=r[t];return e}function Dd(r,e){let t=e.schema.nodes;for(let o in t){let n=t[o];if(!n.allowsMarkType(r))continue;let i=[],a=l=>{i.push(l);for(let d=0;d<l.edgeCount;d++){let{type:c,next:p}=l.edge(d);if(c==e||i.indexOf(p)<0&&a(p))return!0}};if(a(n.contentMatch))return!0}}class ur{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},o){o||(o=Ba(t).createDocumentFragment());let n=o,i=[];return e.forEach(a=>{if(i.length||a.marks.length){let l=0,d=0;for(;l<i.length&&d<a.marks.length;){let c=a.marks[d];if(!this.marks[c.type.name]){d++;continue}if(!c.eq(i[l][0])||c.type.spec.spanning===!1)break;l++,d++}for(;l<i.length;)n=i.pop()[1];for(;d<a.marks.length;){let c=a.marks[d++],p=this.serializeMark(c,a.isInline,t);p&&(i.push([c,n]),n.appendChild(p.dom),n=p.contentDOM||p.dom)}}n.appendChild(this.serializeNodeInner(a,t))}),o}serializeNodeInner(e,t){let{dom:o,contentDOM:n}=zn(Ba(t),this.nodes[e.type.name](e),null,e.attrs);if(n){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,n)}return o}serializeNode(e,t={}){let o=this.serializeNodeInner(e,t);for(let n=e.marks.length-1;n>=0;n--){let i=this.serializeMark(e.marks[n],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(o),o=i.dom)}return o}serializeMark(e,t,o={}){let n=this.marks[e.type.name];return n&&zn(Ba(o),n(e,t),null,e.attrs)}static renderSpec(e,t,o=null,n){return zn(e,t,o,n)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new ur(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Id(e.nodes);return t.text||(t.text=o=>o.text),t}static marksFromSchema(e){return Id(e.marks)}}function Id(r){let e={};for(let t in r){let o=r[t].spec.toDOM;o&&(e[t]=o)}return e}function Ba(r){return r.document||window.document}const Ld=new WeakMap;function vg(r){let e=Ld.get(r);return e===void 0&&Ld.set(r,e=kg(r)),e}function kg(r){let e=null;function t(o){if(o&&typeof o=="object")if(Array.isArray(o))if(typeof o[0]=="string")e||(e=[]),e.push(o);else for(let n=0;n<o.length;n++)t(o[n]);else for(let n in o)t(o[n])}return t(r),e}function zn(r,e,t,o){if(typeof e=="string")return{dom:r.createTextNode(e)};if(e.nodeType!=null)return{dom:e};if(e.dom&&e.dom.nodeType!=null)return e;let n=e[0],i;if(typeof n!="string")throw new RangeError("Invalid array passed to renderSpec");if(o&&(i=vg(o))&&i.indexOf(e)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=n.indexOf(" ");a>0&&(t=n.slice(0,a),n=n.slice(a+1));let l,d=t?r.createElementNS(t,n):r.createElement(n),c=e[1],p=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){p=2;for(let u in c)if(c[u]!=null){let m=u.indexOf(" ");m>0?d.setAttributeNS(u.slice(0,m),u.slice(m+1),c[u]):d.setAttribute(u,c[u])}}for(let u=p;u<e.length;u++){let m=e[u];if(m===0){if(u<e.length-1||u>p)throw new RangeError("Content hole must be the only child of its parent node");return{dom:d,contentDOM:d}}else{let{dom:h,contentDOM:g}=zn(r,m,t,o);if(d.appendChild(h),g){if(l)throw new RangeError("Multiple content holes");l=g}}}return{dom:d,contentDOM:l}}const Rd=65535,_d=Math.pow(2,16);function Eg(r,e){return r+e*_d}function zd(r){return r&Rd}function Cg(r){return(r-(r&Rd))/_d}const Fd=1,Hd=2,Fn=4,jd=8;class Ta{constructor(e,t,o){this.pos=e,this.delInfo=t,this.recover=o}get deleted(){return(this.delInfo&jd)>0}get deletedBefore(){return(this.delInfo&(Fd|Fn))>0}get deletedAfter(){return(this.delInfo&(Hd|Fn))>0}get deletedAcross(){return(this.delInfo&Fn)>0}}class Fe{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&Fe.empty)return Fe.empty}recover(e){let t=0,o=zd(e);if(!this.inverted)for(let n=0;n<o;n++)t+=this.ranges[n*3+2]-this.ranges[n*3+1];return this.ranges[o*3]+t+Cg(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,o){let n=0,i=this.inverted?2:1,a=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let d=this.ranges[l]-(this.inverted?n:0);if(d>e)break;let c=this.ranges[l+i],p=this.ranges[l+a],u=d+c;if(e<=u){let m=c?e==d?-1:e==u?1:t:t,h=d+n+(m<0?0:p);if(o)return h;let g=e==(t<0?d:u)?null:Eg(l/3,e-d),f=e==d?Hd:e==u?Fd:Fn;return(t<0?e!=d:e!=u)&&(f|=jd),new Ta(h,f,g)}n+=p-c}return o?e+n:new Ta(e+n,0,null)}touches(e,t){let o=0,n=zd(t),i=this.inverted?2:1,a=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let d=this.ranges[l]-(this.inverted?o:0);if(d>e)break;let c=this.ranges[l+i],p=d+c;if(e<=p&&l==n*3)return!0;o+=this.ranges[l+a]-c}return!1}forEach(e){let t=this.inverted?2:1,o=this.inverted?1:2;for(let n=0,i=0;n<this.ranges.length;n+=3){let a=this.ranges[n],l=a-(this.inverted?i:0),d=a+(this.inverted?0:i),c=this.ranges[n+t],p=this.ranges[n+o];e(l,l+c,d,d+p),i+=p-c}}invert(){return new Fe(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?Fe.empty:new Fe(e<0?[0,-e,0]:[0,0,e])}}Fe.empty=new Fe([]);class So{constructor(e,t,o=0,n=e?e.length:0){this.mirror=t,this.from=o,this.to=n,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(e=0,t=this.maps.length){return new So(this._maps,this.mirror,e,t)}appendMap(e,t){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),t!=null&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,o=this._maps.length;t<e._maps.length;t++){let n=e.getMirror(t);this.appendMap(e._maps[t],n!=null&&n<t?o+n:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,o=this._maps.length+e._maps.length;t>=0;t--){let n=e.getMirror(t);this.appendMap(e._maps[t].invert(),n!=null&&n>t?o-n-1:void 0)}}invert(){let e=new So;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let o=this.from;o<this.to;o++)e=this._maps[o].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,o){let n=0;for(let i=this.from;i<this.to;i++){let a=this._maps[i],l=a.mapResult(e,t);if(l.recover!=null){let d=this.getMirror(i);if(d!=null&&d>i&&d<this.to){i=d,e=this._maps[d].recover(l.recover);continue}}n|=l.delInfo,e=l.pos}return o?e:new Ta(e,n,null)}}const Oa=Object.create(null);class Ne{getMap(){return Fe.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let o=Oa[t.stepType];if(!o)throw new RangeError(`No step type ${t.stepType} defined`);return o.fromJSON(e,t)}static jsonID(e,t){if(e in Oa)throw new RangeError("Duplicate use of step JSON ID "+e);return Oa[e]=t,t.prototype.jsonID=e,t}}class de{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new de(e,null)}static fail(e){return new de(null,e)}static fromReplace(e,t,o,n){try{return de.ok(e.replace(t,o,n))}catch(i){if(i instanceof An)return de.fail(i.message);throw i}}}function Va(r,e,t){let o=[];for(let n=0;n<r.childCount;n++){let i=r.child(n);i.content.size&&(i=i.copy(Va(i.content,e,i))),i.isInline&&(i=e(i,t,n)),o.push(i)}return B.fromArray(o)}class Ht extends Ne{constructor(e,t,o){super(),this.from=e,this.to=t,this.mark=o}apply(e){let t=e.slice(this.from,this.to),o=e.resolve(this.from),n=o.node(o.sharedDepth(this.to)),i=new P(Va(t.content,(a,l)=>!a.isAtom||!l.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),n),t.openStart,t.openEnd);return de.fromReplace(e,this.from,this.to,i)}invert(){return new dt(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),o=e.mapResult(this.to,-1);return t.deleted&&o.deleted||t.pos>=o.pos?null:new Ht(t.pos,o.pos,this.mark)}merge(e){return e instanceof Ht&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Ht(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Ht(t.from,t.to,e.markFromJSON(t.mark))}}Ne.jsonID("addMark",Ht);class dt extends Ne{constructor(e,t,o){super(),this.from=e,this.to=t,this.mark=o}apply(e){let t=e.slice(this.from,this.to),o=new P(Va(t.content,n=>n.mark(this.mark.removeFromSet(n.marks)),e),t.openStart,t.openEnd);return de.fromReplace(e,this.from,this.to,o)}invert(){return new Ht(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),o=e.mapResult(this.to,-1);return t.deleted&&o.deleted||t.pos>=o.pos?null:new dt(t.pos,o.pos,this.mark)}merge(e){return e instanceof dt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new dt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new dt(t.from,t.to,e.markFromJSON(t.mark))}}Ne.jsonID("removeMark",dt);class jt extends Ne{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return de.fail("No node at mark step's position");let o=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return de.fromReplace(e,this.pos,this.pos+1,new P(B.from(o),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let o=this.mark.addToSet(t.marks);if(o.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(o))return new jt(this.pos,t.marks[n]);return new jt(this.pos,this.mark)}}return new mr(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new jt(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new jt(t.pos,e.markFromJSON(t.mark))}}Ne.jsonID("addNodeMark",jt);class mr extends Ne{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return de.fail("No node at mark step's position");let o=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return de.fromReplace(e,this.pos,this.pos+1,new P(B.from(o),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new jt(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new mr(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new mr(t.pos,e.markFromJSON(t.mark))}}Ne.jsonID("removeNodeMark",mr);class he extends Ne{constructor(e,t,o,n=!1){super(),this.from=e,this.to=t,this.slice=o,this.structure=n}apply(e){return this.structure&&Pa(e,this.from,this.to)?de.fail("Structure replace would overwrite content"):de.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Fe([this.from,this.to-this.from,this.slice.size])}invert(e){return new he(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),o=e.mapResult(this.to,-1);return t.deletedAcross&&o.deletedAcross?null:new he(t.pos,Math.max(t.pos,o.pos),this.slice,this.structure)}merge(e){if(!(e instanceof he)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let t=this.slice.size+e.slice.size==0?P.empty:new P(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new he(this.from,this.to+(e.to-e.from),t,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let t=this.slice.size+e.slice.size==0?P.empty:new P(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new he(e.from,this.to,t,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new he(t.from,t.to,P.fromJSON(e,t.slice),!!t.structure)}}Ne.jsonID("replace",he);class ge extends Ne{constructor(e,t,o,n,i,a,l=!1){super(),this.from=e,this.to=t,this.gapFrom=o,this.gapTo=n,this.slice=i,this.insert=a,this.structure=l}apply(e){if(this.structure&&(Pa(e,this.from,this.gapFrom)||Pa(e,this.gapTo,this.to)))return de.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return de.fail("Gap is not a flat range");let o=this.slice.insertAt(this.insert,t.content);return o?de.fromReplace(e,this.from,this.to,o):de.fail("Content does not fit in gap")}getMap(){return new Fe([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new ge(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),o=e.mapResult(this.to,-1),n=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),i=this.to==this.gapTo?o.pos:e.map(this.gapTo,1);return t.deletedAcross&&o.deletedAcross||n<t.pos||i>o.pos?null:new ge(t.pos,o.pos,n,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number"||typeof t.gapFrom!="number"||typeof t.gapTo!="number"||typeof t.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new ge(t.from,t.to,t.gapFrom,t.gapTo,P.fromJSON(e,t.slice),t.insert,!!t.structure)}}Ne.jsonID("replaceAround",ge);function Pa(r,e,t){let o=r.resolve(e),n=t-e,i=o.depth;for(;n>0&&i>0&&o.indexAfter(i)==o.node(i).childCount;)i--,n--;if(n>0){let a=o.node(i).maybeChild(o.indexAfter(i));for(;n>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,n--}}return!1}function Sg(r,e,t,o){let n=[],i=[],a,l;r.doc.nodesBetween(e,t,(d,c,p)=>{if(!d.isInline)return;let u=d.marks;if(!o.isInSet(u)&&p.type.allowsMarkType(o.type)){let m=Math.max(c,e),h=Math.min(c+d.nodeSize,t),g=o.addToSet(u);for(let f=0;f<u.length;f++)u[f].isInSet(g)||(a&&a.to==m&&a.mark.eq(u[f])?a.to=h:n.push(a=new dt(m,h,u[f])));l&&l.to==m?l.to=h:i.push(l=new Ht(m,h,o))}}),n.forEach(d=>r.step(d)),i.forEach(d=>r.step(d))}function Ng(r,e,t,o){let n=[],i=0;r.doc.nodesBetween(e,t,(a,l)=>{if(!a.isInline)return;i++;let d=null;if(o instanceof Rn){let c=a.marks,p;for(;p=o.isInSet(c);)(d||(d=[])).push(p),c=p.removeFromSet(c)}else o?o.isInSet(a.marks)&&(d=[o]):d=a.marks;if(d&&d.length){let c=Math.min(l+a.nodeSize,t);for(let p=0;p<d.length;p++){let u=d[p],m;for(let h=0;h<n.length;h++){let g=n[h];g.step==i-1&&u.eq(n[h].style)&&(m=g)}m?(m.to=c,m.step=i):n.push({style:u,from:Math.max(l,e),to:c,step:i})}}}),n.forEach(a=>r.step(new dt(a.from,a.to,a.style)))}function Aa(r,e,t,o=t.contentMatch,n=!0){let i=r.doc.nodeAt(e),a=[],l=e+1;for(let d=0;d<i.childCount;d++){let c=i.child(d),p=l+c.nodeSize,u=o.matchType(c.type);if(!u)a.push(new he(l,p,P.empty));else{o=u;for(let m=0;m<c.marks.length;m++)t.allowsMarkType(c.marks[m].type)||r.step(new dt(l,p,c.marks[m]));if(n&&c.isText&&t.whitespace!="pre"){let m,h=/\r?\n|\r/g,g;for(;m=h.exec(c.text);)g||(g=new P(B.from(t.schema.text(" ",t.allowedMarks(c.marks))),0,0)),a.push(new he(l+m.index,l+m.index+m[0].length,g))}}l=p}if(!o.validEnd){let d=o.fillBefore(B.empty,!0);r.replace(l,l,new P(d,0,0))}for(let d=a.length-1;d>=0;d--)r.step(a[d])}function Mg(r,e,t){return(e==0||r.canReplace(e,r.childCount))&&(t==r.childCount||r.canReplace(0,t))}function _r(r){let t=r.parent.content.cutByIndex(r.startIndex,r.endIndex);for(let o=r.depth;;--o){let n=r.$from.node(o),i=r.$from.index(o),a=r.$to.indexAfter(o);if(o<r.depth&&n.canReplace(i,a,t))return o;if(o==0||n.type.spec.isolating||!Mg(n,i,a))break}return null}function Bg(r,e,t){let{$from:o,$to:n,depth:i}=e,a=o.before(i+1),l=n.after(i+1),d=a,c=l,p=B.empty,u=0;for(let g=i,f=!1;g>t;g--)f||o.index(g)>0?(f=!0,p=B.from(o.node(g).copy(p)),u++):d--;let m=B.empty,h=0;for(let g=i,f=!1;g>t;g--)f||n.after(g+1)<n.end(g)?(f=!0,m=B.from(n.node(g).copy(m)),h++):c++;r.step(new ge(d,c,a,l,new P(p.append(m),u,h),p.size-u,!0))}function Da(r,e,t=null,o=r){let n=Tg(r,e),i=n&&Og(o,e);return i?n.map(Wd).concat({type:e,attrs:t}).concat(i.map(Wd)):null}function Wd(r){return{type:r,attrs:null}}function Tg(r,e){let{parent:t,startIndex:o,endIndex:n}=r,i=t.contentMatchAt(o).findWrapping(e);if(!i)return null;let a=i.length?i[0]:e;return t.canReplaceWith(o,n,a)?i:null}function Og(r,e){let{parent:t,startIndex:o,endIndex:n}=r,i=t.child(o),a=e.contentMatch.findWrapping(i.type);if(!a)return null;let d=(a.length?a[a.length-1]:e).contentMatch;for(let c=o;d&&c<n;c++)d=d.matchType(t.child(c).type);return!d||!d.validEnd?null:a}function Vg(r,e,t){let o=B.empty;for(let a=t.length-1;a>=0;a--){if(o.size){let l=t[a].type.contentMatch.matchFragment(o);if(!l||!l.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}o=B.from(t[a].type.create(t[a].attrs,o))}let n=e.start,i=e.end;r.step(new ge(n,i,n,i,new P(o,0,0),t.length,!0))}function Pg(r,e,t,o,n){if(!o.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=r.steps.length;r.doc.nodesBetween(e,t,(a,l)=>{let d=typeof n=="function"?n(a):n;if(a.isTextblock&&!a.hasMarkup(o,d)&&Ag(r.doc,r.mapping.slice(i).map(l),o)){let c=null;if(o.schema.linebreakReplacement){let h=o.whitespace=="pre",g=!!o.contentMatch.matchType(o.schema.linebreakReplacement);h&&!g?c=!1:!h&&g&&(c=!0)}c===!1&&Ud(r,a,l,i),Aa(r,r.mapping.slice(i).map(l,1),o,void 0,c===null);let p=r.mapping.slice(i),u=p.map(l,1),m=p.map(l+a.nodeSize,1);return r.step(new ge(u,m,u+1,m-1,new P(B.from(o.create(d,null,a.marks)),0,0),1,!0)),c===!0&&qd(r,a,l,i),!1}})}function qd(r,e,t,o){e.forEach((n,i)=>{if(n.isText){let a,l=/\r?\n|\r/g;for(;a=l.exec(n.text);){let d=r.mapping.slice(o).map(t+1+i+a.index);r.replaceWith(d,d+1,e.type.schema.linebreakReplacement.create())}}})}function Ud(r,e,t,o){e.forEach((n,i)=>{if(n.type==n.type.schema.linebreakReplacement){let a=r.mapping.slice(o).map(t+1+i);r.replaceWith(a,a+1,e.type.schema.text(`
15
- `))}})}function Ag(r,e,t){let o=r.resolve(e),n=o.index();return o.parent.canReplaceWith(n,n+1,t)}function Dg(r,e,t,o,n){let i=r.doc.nodeAt(e);if(!i)throw new RangeError("No node at given position");t||(t=i.type);let a=t.create(o,null,n||i.marks);if(i.isLeaf)return r.replaceWith(e,e+i.nodeSize,a);if(!t.validContent(i.content))throw new RangeError("Invalid content for node type "+t.name);r.step(new ge(e,e+i.nodeSize,e+1,e+i.nodeSize-1,new P(B.from(a),0,0),1,!0))}function vt(r,e,t=1,o){let n=r.resolve(e),i=n.depth-t,a=o&&o[o.length-1]||n.parent;if(i<0||n.parent.type.spec.isolating||!n.parent.canReplace(n.index(),n.parent.childCount)||!a.type.validContent(n.parent.content.cutByIndex(n.index(),n.parent.childCount)))return!1;for(let c=n.depth-1,p=t-2;c>i;c--,p--){let u=n.node(c),m=n.index(c);if(u.type.spec.isolating)return!1;let h=u.content.cutByIndex(m,u.childCount),g=o&&o[p+1];g&&(h=h.replaceChild(0,g.type.create(g.attrs)));let f=o&&o[p]||u;if(!u.canReplace(m+1,u.childCount)||!f.type.validContent(h))return!1}let l=n.indexAfter(i),d=o&&o[0];return n.node(i).canReplaceWith(l,l,d?d.type:n.node(i+1).type)}function Ig(r,e,t=1,o){let n=r.doc.resolve(e),i=B.empty,a=B.empty;for(let l=n.depth,d=n.depth-t,c=t-1;l>d;l--,c--){i=B.from(n.node(l).copy(i));let p=o&&o[c];a=B.from(p?p.type.create(p.attrs,a):n.node(l).copy(a))}r.step(new he(e,e,new P(i.append(a),t,t),!0))}function Wt(r,e){let t=r.resolve(e),o=t.index();return Kd(t.nodeBefore,t.nodeAfter)&&t.parent.canReplace(o,o+1)}function Lg(r,e){e.content.size||r.type.compatibleContent(e.type);let t=r.contentMatchAt(r.childCount),{linebreakReplacement:o}=r.type.schema;for(let n=0;n<e.childCount;n++){let i=e.child(n),a=i.type==o?r.type.schema.nodes.text:i.type;if(t=t.matchType(a),!t||!r.type.allowsMarks(i.marks))return!1}return t.validEnd}function Kd(r,e){return!!(r&&e&&!r.isLeaf&&Lg(r,e))}function Hn(r,e,t=-1){let o=r.resolve(e);for(let n=o.depth;;n--){let i,a,l=o.index(n);if(n==o.depth?(i=o.nodeBefore,a=o.nodeAfter):t>0?(i=o.node(n+1),l++,a=o.node(n).maybeChild(l)):(i=o.node(n).maybeChild(l-1),a=o.node(n+1)),i&&!i.isTextblock&&Kd(i,a)&&o.node(n).canReplace(l,l+1))return e;if(n==0)break;e=t<0?o.before(n):o.after(n)}}function Rg(r,e,t){let o=null,{linebreakReplacement:n}=r.doc.type.schema,i=r.doc.resolve(e-t),a=i.node().type;if(n&&a.inlineContent){let p=a.whitespace=="pre",u=!!a.contentMatch.matchType(n);p&&!u?o=!1:!p&&u&&(o=!0)}let l=r.steps.length;if(o===!1){let p=r.doc.resolve(e+t);Ud(r,p.node(),p.before(),l)}a.inlineContent&&Aa(r,e+t-1,a,i.node().contentMatchAt(i.index()),o==null);let d=r.mapping.slice(l),c=d.map(e-t);if(r.step(new he(c,d.map(e+t,-1),P.empty,!0)),o===!0){let p=r.doc.resolve(c);qd(r,p.node(),p.before(),r.steps.length)}return r}function _g(r,e,t){let o=r.resolve(e);if(o.parent.canReplaceWith(o.index(),o.index(),t))return e;if(o.parentOffset==0)for(let n=o.depth-1;n>=0;n--){let i=o.index(n);if(o.node(n).canReplaceWith(i,i,t))return o.before(n+1);if(i>0)return null}if(o.parentOffset==o.parent.content.size)for(let n=o.depth-1;n>=0;n--){let i=o.indexAfter(n);if(o.node(n).canReplaceWith(i,i,t))return o.after(n+1);if(i<o.node(n).childCount)return null}return null}function Gd(r,e,t){let o=r.resolve(e);if(!t.content.size)return e;let n=t.content;for(let i=0;i<t.openStart;i++)n=n.firstChild.content;for(let i=1;i<=(t.openStart==0&&t.size?2:1);i++)for(let a=o.depth;a>=0;a--){let l=a==o.depth?0:o.pos<=(o.start(a+1)+o.end(a+1))/2?-1:1,d=o.index(a)+(l>0?1:0),c=o.node(a),p=!1;if(i==1)p=c.canReplace(d,d,n);else{let u=c.contentMatchAt(d).findWrapping(n.firstChild.type);p=u&&c.canReplaceWith(d,d,u[0])}if(p)return l==0?o.pos:l<0?o.before(a+1):o.after(a+1)}return null}function jn(r,e,t=e,o=P.empty){if(e==t&&!o.size)return null;let n=r.resolve(e),i=r.resolve(t);return Jd(n,i,o)?new he(e,t,o):new zg(n,i,o).fit()}function Jd(r,e,t){return!t.openStart&&!t.openEnd&&r.start()==e.start()&&r.parent.canReplace(r.index(),e.index(),t.content)}class zg{constructor(e,t,o){this.$from=e,this.$to=t,this.unplaced=o,this.frontier=[],this.placed=B.empty;for(let n=0;n<=e.depth;n++){let i=e.node(n);this.frontier.push({type:i.type,match:i.contentMatchAt(e.indexAfter(n))})}for(let n=e.depth;n>0;n--)this.placed=B.from(e.node(n).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,o=this.$from,n=this.close(e<0?this.$to:o.doc.resolve(e));if(!n)return null;let i=this.placed,a=o.depth,l=n.depth;for(;a&&l&&i.childCount==1;)i=i.firstChild.content,a--,l--;let d=new P(i,a,l);return e>-1?new ge(o.pos,e,this.$to.pos,this.$to.end(),d,t):d.size||o.pos!=this.$to.pos?new he(o.pos,n.pos,d):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,o=0,n=this.unplaced.openEnd;o<e;o++){let i=t.firstChild;if(t.childCount>1&&(n=0),i.type.spec.isolating&&n<=o){e=o;break}t=i.content}for(let t=1;t<=2;t++)for(let o=t==1?e:this.unplaced.openStart;o>=0;o--){let n,i=null;o?(i=Ia(this.unplaced.content,o-1).firstChild,n=i.content):n=this.unplaced.content;let a=n.firstChild;for(let l=this.depth;l>=0;l--){let{type:d,match:c}=this.frontier[l],p,u=null;if(t==1&&(a?c.matchType(a.type)||(u=c.fillBefore(B.from(a),!1)):i&&d.compatibleContent(i.type)))return{sliceDepth:o,frontierDepth:l,parent:i,inject:u};if(t==2&&a&&(p=c.findWrapping(a.type)))return{sliceDepth:o,frontierDepth:l,parent:i,wrap:p};if(i&&c.matchType(i.type))break}}}openMore(){let{content:e,openStart:t,openEnd:o}=this.unplaced,n=Ia(e,t);return!n.childCount||n.firstChild.isLeaf?!1:(this.unplaced=new P(e,t+1,Math.max(o,n.size+t>=e.size-o?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:o}=this.unplaced,n=Ia(e,t);if(n.childCount<=1&&t>0){let i=e.size-t<=t+n.size;this.unplaced=new P(No(e,t-1,1),t-1,i?t-1:o)}else this.unplaced=new P(No(e,t,1),t,o)}placeNodes({sliceDepth:e,frontierDepth:t,parent:o,inject:n,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let f=0;f<i.length;f++)this.openFrontierNode(i[f]);let a=this.unplaced,l=o?o.content:a.content,d=a.openStart-e,c=0,p=[],{match:u,type:m}=this.frontier[t];if(n){for(let f=0;f<n.childCount;f++)p.push(n.child(f));u=u.matchFragment(n)}let h=l.size+e-(a.content.size-a.openEnd);for(;c<l.childCount;){let f=l.child(c),b=u.matchType(f.type);if(!b)break;c++,(c>1||d==0||f.content.size)&&(u=b,p.push(Yd(f.mark(m.allowedMarks(f.marks)),c==1?d:0,c==l.childCount?h:-1)))}let g=c==l.childCount;g||(h=-1),this.placed=Mo(this.placed,t,B.from(p)),this.frontier[t].match=u,g&&h<0&&o&&o.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let f=0,b=l;f<h;f++){let w=b.lastChild;this.frontier.push({type:w.type,match:w.contentMatchAt(w.childCount)}),b=w.content}this.unplaced=g?e==0?P.empty:new P(No(a.content,e-1,1),e-1,h<0?a.openEnd:e-1):new P(No(a.content,e,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!La(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1;let{depth:o}=this.$to,n=this.$to.after(o);for(;o>1&&n==this.$to.end(--o);)++n;return n}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:o,type:n}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=La(e,t,n,o,i);if(a){for(let l=t-1;l>=0;l--){let{match:d,type:c}=this.frontier[l],p=La(e,l,c,d,!0);if(!p||p.childCount)continue e}return{depth:t,fit:a,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=Mo(this.placed,t.depth,t.fit)),e=t.move;for(let o=t.depth+1;o<=e.depth;o++){let n=e.node(o),i=n.type.contentMatch.fillBefore(n.content,!0,e.index(o));this.openFrontierNode(n.type,n.attrs,i)}return e}openFrontierNode(e,t=null,o){let n=this.frontier[this.depth];n.match=n.match.matchType(e),this.placed=Mo(this.placed,this.depth,B.from(e.create(t,o))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(B.empty,!0);t.childCount&&(this.placed=Mo(this.placed,this.frontier.length,t))}}function No(r,e,t){return e==0?r.cutByIndex(t,r.childCount):r.replaceChild(0,r.firstChild.copy(No(r.firstChild.content,e-1,t)))}function Mo(r,e,t){return e==0?r.append(t):r.replaceChild(r.childCount-1,r.lastChild.copy(Mo(r.lastChild.content,e-1,t)))}function Ia(r,e){for(let t=0;t<e;t++)r=r.firstChild.content;return r}function Yd(r,e,t){if(e<=0)return r;let o=r.content;return e>1&&(o=o.replaceChild(0,Yd(o.firstChild,e-1,o.childCount==1?t-1:0))),e>0&&(o=r.type.contentMatch.fillBefore(o).append(o),t<=0&&(o=o.append(r.type.contentMatch.matchFragment(o).fillBefore(B.empty,!0)))),r.copy(o)}function La(r,e,t,o,n){let i=r.node(e),a=n?r.indexAfter(e):r.index(e);if(a==i.childCount&&!t.compatibleContent(i.type))return null;let l=o.fillBefore(i.content,!0,a);return l&&!Fg(t,i.content,a)?l:null}function Fg(r,e,t){for(let o=t;o<e.childCount;o++)if(!r.allowsMarks(e.child(o).marks))return!0;return!1}function Hg(r){return r.spec.defining||r.spec.definingForContent}function jg(r,e,t,o){if(!o.size)return r.deleteRange(e,t);let n=r.doc.resolve(e),i=r.doc.resolve(t);if(Jd(n,i,o))return r.step(new he(e,t,o));let a=Xd(n,r.doc.resolve(t));a[a.length-1]==0&&a.pop();let l=-(n.depth+1);a.unshift(l);for(let m=n.depth,h=n.pos-1;m>0;m--,h--){let g=n.node(m).type.spec;if(g.defining||g.definingAsContext||g.isolating)break;a.indexOf(m)>-1?l=m:n.before(m)==h&&a.splice(1,0,-m)}let d=a.indexOf(l),c=[],p=o.openStart;for(let m=o.content,h=0;;h++){let g=m.firstChild;if(c.push(g),h==o.openStart)break;m=g.content}for(let m=p-1;m>=0;m--){let h=c[m],g=Hg(h.type);if(g&&!h.sameMarkup(n.node(Math.abs(l)-1)))p=m;else if(g||!h.type.isTextblock)break}for(let m=o.openStart;m>=0;m--){let h=(m+p+1)%(o.openStart+1),g=c[h];if(g)for(let f=0;f<a.length;f++){let b=a[(f+d)%a.length],w=!0;b<0&&(w=!1,b=-b);let C=n.node(b-1),k=n.index(b-1);if(C.canReplaceWith(k,k,g.type,g.marks))return r.replace(n.before(b),w?i.after(b):t,new P(Qd(o.content,0,o.openStart,h),h,o.openEnd))}}let u=r.steps.length;for(let m=a.length-1;m>=0&&(r.replace(e,t,o),!(r.steps.length>u));m--){let h=a[m];h<0||(e=n.before(h),t=i.after(h))}}function Qd(r,e,t,o,n){if(e<t){let i=r.firstChild;r=r.replaceChild(0,i.copy(Qd(i.content,e+1,t,o,i)))}if(e>o){let i=n.contentMatchAt(0),a=i.fillBefore(r).append(r);r=a.append(i.matchFragment(a).fillBefore(B.empty,!0))}return r}function Wg(r,e,t,o){if(!o.isInline&&e==t&&r.doc.resolve(e).parent.content.size){let n=_g(r.doc,e,o.type);n!=null&&(e=t=n)}r.replaceRange(e,t,new P(B.from(o),0,0))}function qg(r,e,t){let o=r.doc.resolve(e),n=r.doc.resolve(t),i=Xd(o,n);for(let a=0;a<i.length;a++){let l=i[a],d=a==i.length-1;if(d&&l==0||o.node(l).type.contentMatch.validEnd)return r.delete(o.start(l),n.end(l));if(l>0&&(d||o.node(l-1).canReplace(o.index(l-1),n.indexAfter(l-1))))return r.delete(o.before(l),n.after(l))}for(let a=1;a<=o.depth&&a<=n.depth;a++)if(e-o.start(a)==o.depth-a&&t>o.end(a)&&n.end(a)-t!=n.depth-a&&o.start(a-1)==n.start(a-1)&&o.node(a-1).canReplace(o.index(a-1),n.index(a-1)))return r.delete(o.before(a),t);r.delete(e,t)}function Xd(r,e){let t=[],o=Math.min(r.depth,e.depth);for(let n=o;n>=0;n--){let i=r.start(n);if(i<r.pos-(r.depth-n)||e.end(n)>e.pos+(e.depth-n)||r.node(n).type.spec.isolating||e.node(n).type.spec.isolating)break;(i==e.start(n)||n==r.depth&&n==e.depth&&r.parent.inlineContent&&e.parent.inlineContent&&n&&e.start(n-1)==i-1)&&t.push(n)}return t}class zr extends Ne{constructor(e,t,o){super(),this.pos=e,this.attr=t,this.value=o}apply(e){let t=e.nodeAt(this.pos);if(!t)return de.fail("No node at attribute step's position");let o=Object.create(null);for(let i in t.attrs)o[i]=t.attrs[i];o[this.attr]=this.value;let n=t.type.create(o,null,t.marks);return de.fromReplace(e,this.pos,this.pos+1,new P(B.from(n),0,t.isLeaf?0:1))}getMap(){return Fe.empty}invert(e){return new zr(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new zr(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.pos!="number"||typeof t.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new zr(t.pos,t.attr,t.value)}}Ne.jsonID("attr",zr);class Bo extends Ne{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let o=e.type.create(t,e.content,e.marks);return de.ok(o)}getMap(){return Fe.empty}invert(e){return new Bo(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Bo(t.attr,t.value)}}Ne.jsonID("docAttr",Bo);let Fr=class extends Error{};Fr=function r(e){let t=Error.call(this,e);return t.__proto__=r.prototype,t},Fr.prototype=Object.create(Error.prototype),Fr.prototype.constructor=Fr,Fr.prototype.name="TransformError";class Zd{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new So}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Fr(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,o=P.empty){let n=jn(this.doc,e,t,o);return n&&this.step(n),this}replaceWith(e,t,o){return this.replace(e,t,new P(B.from(o),0,0))}delete(e,t){return this.replace(e,t,P.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,o){return jg(this,e,t,o),this}replaceRangeWith(e,t,o){return Wg(this,e,t,o),this}deleteRange(e,t){return qg(this,e,t),this}lift(e,t){return Bg(this,e,t),this}join(e,t=1){return Rg(this,e,t),this}wrap(e,t){return Vg(this,e,t),this}setBlockType(e,t=e,o,n=null){return Pg(this,e,t,o,n),this}setNodeMarkup(e,t,o=null,n){return Dg(this,e,t,o,n),this}setNodeAttribute(e,t,o){return this.step(new zr(e,t,o)),this}setDocAttribute(e,t){return this.step(new Bo(e,t)),this}addNodeMark(e,t){return this.step(new jt(e,t)),this}removeNodeMark(e,t){let o=this.doc.nodeAt(e);if(!o)throw new RangeError("No node at position "+e);if(t instanceof X)t.isInSet(o.marks)&&this.step(new mr(e,t));else{let n=o.marks,i,a=[];for(;i=t.isInSet(n);)a.push(new mr(e,i)),n=i.removeFromSet(n);for(let l=a.length-1;l>=0;l--)this.step(a[l])}return this}split(e,t=1,o){return Ig(this,e,t,o),this}addMark(e,t,o){return Sg(this,e,t,o),this}removeMark(e,t,o){return Ng(this,e,t,o),this}clearIncompatible(e,t,o){return Aa(this,e,t,o),this}}const Ra=Object.create(null);class H{constructor(e,t,o){this.$anchor=e,this.$head=t,this.ranges=o||[new Ug(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=P.empty){let o=t.content.lastChild,n=null;for(let l=0;l<t.openEnd;l++)n=o,o=o.lastChild;let i=e.steps.length,a=this.ranges;for(let l=0;l<a.length;l++){let{$from:d,$to:c}=a[l],p=e.mapping.slice(i);e.replaceRange(p.map(d.pos),p.map(c.pos),l?P.empty:t),l==0&&tc(e,i,(o?o.isInline:n&&n.isTextblock)?-1:1)}}replaceWith(e,t){let o=e.steps.length,n=this.ranges;for(let i=0;i<n.length;i++){let{$from:a,$to:l}=n[i],d=e.mapping.slice(o),c=d.map(a.pos),p=d.map(l.pos);i?e.deleteRange(c,p):(e.replaceRangeWith(c,p,t),tc(e,o,t.isInline?-1:1))}}static findFrom(e,t,o=!1){let n=e.parent.inlineContent?new _(e):Hr(e.node(0),e.parent,e.pos,e.index(),t,o);if(n)return n;for(let i=e.depth-1;i>=0;i--){let a=t<0?Hr(e.node(0),e.node(i),e.before(i+1),e.index(i),t,o):Hr(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,o);if(a)return a}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new He(e.node(0))}static atStart(e){return Hr(e,e,0,0,1)||new He(e)}static atEnd(e){return Hr(e,e,e.content.size,e.childCount,-1)||new He(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let o=Ra[t.type];if(!o)throw new RangeError(`No selection type ${t.type} defined`);return o.fromJSON(e,t)}static jsonID(e,t){if(e in Ra)throw new RangeError("Duplicate use of selection JSON ID "+e);return Ra[e]=t,t.prototype.jsonID=e,t}getBookmark(){return _.between(this.$anchor,this.$head).getBookmark()}}H.prototype.visible=!0;class Ug{constructor(e,t){this.$from=e,this.$to=t}}let $d=!1;function ec(r){!$d&&!r.parent.inlineContent&&($d=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+r.parent.type.name+")"))}class _ extends H{constructor(e,t=e){ec(e),ec(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let o=e.resolve(t.map(this.head));if(!o.parent.inlineContent)return H.near(o);let n=e.resolve(t.map(this.anchor));return new _(n.parent.inlineContent?n:o,o)}replace(e,t=P.empty){if(super.replace(e,t),t==P.empty){let o=this.$from.marksAcross(this.$to);o&&e.ensureMarks(o)}}eq(e){return e instanceof _&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Wn(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if(typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new _(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,o=t){let n=e.resolve(t);return new this(n,o==t?n:e.resolve(o))}static between(e,t,o){let n=e.pos-t.pos;if((!o||n)&&(o=n>=0?1:-1),!t.parent.inlineContent){let i=H.findFrom(t,o,!0)||H.findFrom(t,-o,!0);if(i)t=i.$head;else return H.near(t,o)}return e.parent.inlineContent||(n==0?e=t:(e=(H.findFrom(e,-o,!0)||H.findFrom(e,o,!0)).$anchor,e.pos<t.pos!=n<0&&(e=t))),new _(e,t)}}H.jsonID("text",_);class Wn{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Wn(e.map(this.anchor),e.map(this.head))}resolve(e){return _.between(e.resolve(this.anchor),e.resolve(this.head))}}class L extends H{constructor(e){let t=e.nodeAfter,o=e.node(0).resolve(e.pos+t.nodeSize);super(e,o),this.node=t}map(e,t){let{deleted:o,pos:n}=t.mapResult(this.anchor),i=e.resolve(n);return o?H.near(i):new L(i)}content(){return new P(B.from(this.node),0,0)}eq(e){return e instanceof L&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new _a(this.anchor)}static fromJSON(e,t){if(typeof t.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new L(e.resolve(t.anchor))}static create(e,t){return new L(e.resolve(t))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}L.prototype.visible=!1,H.jsonID("node",L);class _a{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:o}=e.mapResult(this.anchor);return t?new Wn(o,o):new _a(o)}resolve(e){let t=e.resolve(this.anchor),o=t.nodeAfter;return o&&L.isSelectable(o)?new L(t):H.near(t)}}class He extends H{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=P.empty){if(t==P.empty){e.delete(0,e.doc.content.size);let o=H.atStart(e.doc);o.eq(e.selection)||e.setSelection(o)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new He(e)}map(e){return new He(e)}eq(e){return e instanceof He}getBookmark(){return Kg}}H.jsonID("all",He);const Kg={map(){return this},resolve(r){return new He(r)}};function Hr(r,e,t,o,n,i=!1){if(e.inlineContent)return _.create(r,t);for(let a=o-(n>0?0:1);n>0?a<e.childCount:a>=0;a+=n){let l=e.child(a);if(l.isAtom){if(!i&&L.isSelectable(l))return L.create(r,t-(n<0?l.nodeSize:0))}else{let d=Hr(r,l,t+n,n<0?l.childCount:0,n,i);if(d)return d}t+=l.nodeSize*n}return null}function tc(r,e,t){let o=r.steps.length-1;if(o<e)return;let n=r.steps[o];if(!(n instanceof he||n instanceof ge))return;let i=r.mapping.maps[o],a;i.forEach((l,d,c,p)=>{a==null&&(a=p)}),r.setSelection(H.near(r.doc.resolve(a),t))}const rc=1,qn=2,oc=4;class Gg extends Zd{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|rc)&~qn,this.storedMarks=null,this}get selectionSet(){return(this.updated&rc)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=qn,this}ensureMarks(e){return X.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&qn)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~qn,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let o=this.selection;return t&&(e=e.mark(this.storedMarks||(o.empty?o.$from.marks():o.$from.marksAcross(o.$to)||X.none))),o.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,o){let n=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(n.text(e),!0):this.deleteSelection();{if(o==null&&(o=t),o=o??t,!e)return this.deleteRange(t,o);let i=this.storedMarks;if(!i){let a=this.doc.resolve(t);i=o==t?a.marks():a.marksAcross(this.doc.resolve(o))}return this.replaceRangeWith(t,o,n.text(e,i)),this.selection.empty||this.setSelection(H.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e=="string"?e:e.key]=t,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=oc,this}get scrolledIntoView(){return(this.updated&oc)>0}}function nc(r,e){return!e||!r?r:r.bind(e)}class To{constructor(e,t,o){this.name=e,this.init=nc(t.init,o),this.apply=nc(t.apply,o)}}const Jg=[new To("doc",{init(r){return r.doc||r.schema.topNodeType.createAndFill()},apply(r){return r.doc}}),new To("selection",{init(r,e){return r.selection||H.atStart(e.doc)},apply(r){return r.selection}}),new To("storedMarks",{init(r){return r.storedMarks||null},apply(r,e,t,o){return o.selection.$cursor?r.storedMarks:null}}),new To("scrollToSelection",{init(){return 0},apply(r,e){return r.scrolledIntoView?e+1:e}})];class za{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Jg.slice(),t&&t.forEach(o=>{if(this.pluginsByKey[o.key])throw new RangeError("Adding different instances of a keyed plugin ("+o.key+")");this.plugins.push(o),this.pluginsByKey[o.key]=o,o.spec.state&&this.fields.push(new To(o.key,o.spec.state,o))})}}class jr{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let o=0;o<this.config.plugins.length;o++)if(o!=t){let n=this.config.plugins[o];if(n.spec.filterTransaction&&!n.spec.filterTransaction.call(n,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],o=this.applyInner(e),n=null;for(;;){let i=!1;for(let a=0;a<this.config.plugins.length;a++){let l=this.config.plugins[a];if(l.spec.appendTransaction){let d=n?n[a].n:0,c=n?n[a].state:this,p=d<t.length&&l.spec.appendTransaction.call(l,d?t.slice(d):t,c,o);if(p&&o.filterTransaction(p,a)){if(p.setMeta("appendedTransaction",e),!n){n=[];for(let u=0;u<this.config.plugins.length;u++)n.push(u<a?{state:o,n:t.length}:{state:this,n:0})}t.push(p),o=o.applyInner(p),i=!0}n&&(n[a]={state:o,n:t.length})}}if(!i)return{state:o,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new jr(this.config),o=this.config.fields;for(let n=0;n<o.length;n++){let i=o[n];t[i.name]=i.apply(e,this[i.name],this,t)}return t}get tr(){return new Gg(this)}static create(e){let t=new za(e.doc?e.doc.type.schema:e.schema,e.plugins),o=new jr(t);for(let n=0;n<t.fields.length;n++)o[t.fields[n].name]=t.fields[n].init(e,o);return o}reconfigure(e){let t=new za(this.schema,e.plugins),o=t.fields,n=new jr(t);for(let i=0;i<o.length;i++){let a=o[i].name;n[a]=this.hasOwnProperty(a)?this[a]:o[i].init(e,n)}return n}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(o=>o.toJSON())),e&&typeof e=="object")for(let o in e){if(o=="doc"||o=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let n=e[o],i=n.spec.state;i&&i.toJSON&&(t[o]=i.toJSON.call(n,this[n.key]))}return t}static fromJSON(e,t,o){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let n=new za(e.schema,e.plugins),i=new jr(n);return n.fields.forEach(a=>{if(a.name=="doc")i.doc=Ft.fromJSON(e.schema,t.doc);else if(a.name=="selection")i.selection=H.fromJSON(i.doc,t.selection);else if(a.name=="storedMarks")t.storedMarks&&(i.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(o)for(let l in o){let d=o[l],c=d.spec.state;if(d.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(t,l)){i[a.name]=c.fromJSON.call(d,e,t[l],i);return}}i[a.name]=a.init(e,i)}}),i}}function ic(r,e,t){for(let o in r){let n=r[o];n instanceof Function?n=n.bind(e):o=="handleDOMEvents"&&(n=ic(n,e,{})),t[o]=n}return t}class pe{constructor(e){this.spec=e,this.props={},e.props&&ic(e.props,this,this.props),this.key=e.key?e.key.key:ac("plugin")}getState(e){return e[this.key]}}const Fa=Object.create(null);function ac(r){return r in Fa?r+"$"+ ++Fa[r]:(Fa[r]=0,r+"$")}class Oe{constructor(e="key"){this.key=ac(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const ve=function(r){for(var e=0;;e++)if(r=r.previousSibling,!r)return e},Wr=function(r){let e=r.assignedSlot||r.parentNode;return e&&e.nodeType==11?e.host:e};let Ha=null;const kt=function(r,e,t){let o=Ha||(Ha=document.createRange());return o.setEnd(r,t??r.nodeValue.length),o.setStart(r,e||0),o},Yg=function(){Ha=null},hr=function(r,e,t,o){return t&&(sc(r,e,t,o,-1)||sc(r,e,t,o,1))},Qg=/^(img|br|input|textarea|hr)$/i;function sc(r,e,t,o,n){for(var i;;){if(r==t&&e==o)return!0;if(e==(n<0?0:Ue(r))){let a=r.parentNode;if(!a||a.nodeType!=1||Oo(r)||Qg.test(r.nodeName)||r.contentEditable=="false")return!1;e=ve(r)+(n<0?0:1),r=a}else if(r.nodeType==1){let a=r.childNodes[e+(n<0?-1:0)];if(a.nodeType==1&&a.contentEditable=="false")if(!((i=a.pmViewDesc)===null||i===void 0)&&i.ignoreForSelection)e+=n;else return!1;else r=a,e=n<0?Ue(r):0}else return!1}}function Ue(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}function Xg(r,e){for(;;){if(r.nodeType==3&&e)return r;if(r.nodeType==1&&e>0){if(r.contentEditable=="false")return null;r=r.childNodes[e-1],e=Ue(r)}else if(r.parentNode&&!Oo(r))e=ve(r),r=r.parentNode;else return null}}function Zg(r,e){for(;;){if(r.nodeType==3&&e<r.nodeValue.length)return r;if(r.nodeType==1&&e<r.childNodes.length){if(r.contentEditable=="false")return null;r=r.childNodes[e],e=0}else if(r.parentNode&&!Oo(r))e=ve(r)+1,r=r.parentNode;else return null}}function $g(r,e,t){for(let o=e==0,n=e==Ue(r);o||n;){if(r==t)return!0;let i=ve(r);if(r=r.parentNode,!r)return!1;o=o&&i==0,n=n&&i==Ue(r)}}function Oo(r){let e;for(let t=r;t&&!(e=t.pmViewDesc);t=t.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==r||e.contentDOM==r)}const Un=function(r){return r.focusNode&&hr(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)};function gr(r,e){let t=document.createEvent("Event");return t.initEvent("keydown",!0,!0),t.keyCode=r,t.key=t.code=e,t}function ef(r){let e=r.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function tf(r,e,t){if(r.caretPositionFromPoint)try{let o=r.caretPositionFromPoint(e,t);if(o)return{node:o.offsetNode,offset:Math.min(Ue(o.offsetNode),o.offset)}}catch{}if(r.caretRangeFromPoint){let o=r.caretRangeFromPoint(e,t);if(o)return{node:o.startContainer,offset:Math.min(Ue(o.startContainer),o.startOffset)}}}const ct=typeof navigator<"u"?navigator:null,lc=typeof document<"u"?document:null,qt=ct&&ct.userAgent||"",ja=/Edge\/(\d+)/.exec(qt),dc=/MSIE \d/.exec(qt),Wa=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(qt),Le=!!(dc||Wa||ja),Ut=dc?document.documentMode:Wa?+Wa[1]:ja?+ja[1]:0,rt=!Le&&/gecko\/(\d+)/i.test(qt);rt&&+(/Firefox\/(\d+)/.exec(qt)||[0,0])[1];const qa=!Le&&/Chrome\/(\d+)/.exec(qt),Me=!!qa,cc=qa?+qa[1]:0,Ve=!Le&&!!ct&&/Apple Computer/.test(ct.vendor),qr=Ve&&(/Mobile\/\w+/.test(qt)||!!ct&&ct.maxTouchPoints>2),Ke=qr||(ct?/Mac/.test(ct.platform):!1),rf=ct?/Win/.test(ct.platform):!1,Et=/Android \d/.test(qt),Vo=!!lc&&"webkitFontSmoothing"in lc.documentElement.style,of=Vo?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function nf(r){let e=r.defaultView&&r.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:r.documentElement.clientWidth,top:0,bottom:r.documentElement.clientHeight}}function Ct(r,e){return typeof r=="number"?r:r[e]}function af(r){let e=r.getBoundingClientRect(),t=e.width/r.offsetWidth||1,o=e.height/r.offsetHeight||1;return{left:e.left,right:e.left+r.clientWidth*t,top:e.top,bottom:e.top+r.clientHeight*o}}function pc(r,e,t){let o=r.someProp("scrollThreshold")||0,n=r.someProp("scrollMargin")||5,i=r.dom.ownerDocument;for(let a=t||r.dom;a;){if(a.nodeType!=1){a=Wr(a);continue}let l=a,d=l==i.body,c=d?nf(i):af(l),p=0,u=0;if(e.top<c.top+Ct(o,"top")?u=-(c.top-e.top+Ct(n,"top")):e.bottom>c.bottom-Ct(o,"bottom")&&(u=e.bottom-e.top>c.bottom-c.top?e.top+Ct(n,"top")-c.top:e.bottom-c.bottom+Ct(n,"bottom")),e.left<c.left+Ct(o,"left")?p=-(c.left-e.left+Ct(n,"left")):e.right>c.right-Ct(o,"right")&&(p=e.right-c.right+Ct(n,"right")),p||u)if(d)i.defaultView.scrollBy(p,u);else{let h=l.scrollLeft,g=l.scrollTop;u&&(l.scrollTop+=u),p&&(l.scrollLeft+=p);let f=l.scrollLeft-h,b=l.scrollTop-g;e={left:e.left-f,top:e.top-b,right:e.right-f,bottom:e.bottom-b}}let m=d?"fixed":getComputedStyle(a).position;if(/^(fixed|sticky)$/.test(m))break;a=m=="absolute"?a.offsetParent:Wr(a)}}function sf(r){let e=r.dom.getBoundingClientRect(),t=Math.max(0,e.top),o,n;for(let i=(e.left+e.right)/2,a=t+1;a<Math.min(innerHeight,e.bottom);a+=5){let l=r.root.elementFromPoint(i,a);if(!l||l==r.dom||!r.dom.contains(l))continue;let d=l.getBoundingClientRect();if(d.top>=t-20){o=l,n=d.top;break}}return{refDOM:o,refTop:n,stack:uc(r.dom)}}function uc(r){let e=[],t=r.ownerDocument;for(let o=r;o&&(e.push({dom:o,top:o.scrollTop,left:o.scrollLeft}),r!=t);o=Wr(o));return e}function lf({refDOM:r,refTop:e,stack:t}){let o=r?r.getBoundingClientRect().top:0;mc(t,o==0?0:o-e)}function mc(r,e){for(let t=0;t<r.length;t++){let{dom:o,top:n,left:i}=r[t];o.scrollTop!=n+e&&(o.scrollTop=n+e),o.scrollLeft!=i&&(o.scrollLeft=i)}}let Ur=null;function df(r){if(r.setActive)return r.setActive();if(Ur)return r.focus(Ur);let e=uc(r);r.focus(Ur==null?{get preventScroll(){return Ur={preventScroll:!0},!0}}:void 0),Ur||(Ur=!1,mc(e,0))}function hc(r,e){let t,o=2e8,n,i=0,a=e.top,l=e.top,d,c;for(let p=r.firstChild,u=0;p;p=p.nextSibling,u++){let m;if(p.nodeType==1)m=p.getClientRects();else if(p.nodeType==3)m=kt(p).getClientRects();else continue;for(let h=0;h<m.length;h++){let g=m[h];if(g.top<=a&&g.bottom>=l){a=Math.max(g.bottom,a),l=Math.min(g.top,l);let f=g.left>e.left?g.left-e.left:g.right<e.left?e.left-g.right:0;if(f<o){t=p,o=f,n=f&&t.nodeType==3?{left:g.right<e.left?g.right:g.left,top:e.top}:e,p.nodeType==1&&f&&(i=u+(e.left>=(g.left+g.right)/2?1:0));continue}}else g.top>e.top&&!d&&g.left<=e.left&&g.right>=e.left&&(d=p,c={left:Math.max(g.left,Math.min(g.right,e.left)),top:g.top});!t&&(e.left>=g.right&&e.top>=g.top||e.left>=g.left&&e.top>=g.bottom)&&(i=u+1)}}return!t&&d&&(t=d,n=c,o=0),t&&t.nodeType==3?cf(t,n):!t||o&&t.nodeType==1?{node:r,offset:i}:hc(t,n)}function cf(r,e){let t=r.nodeValue.length,o=document.createRange();for(let n=0;n<t;n++){o.setEnd(r,n+1),o.setStart(r,n);let i=Kt(o,1);if(i.top!=i.bottom&&Ua(e,i))return{node:r,offset:n+(e.left>=(i.left+i.right)/2?1:0)}}return{node:r,offset:0}}function Ua(r,e){return r.left>=e.left-1&&r.left<=e.right+1&&r.top>=e.top-1&&r.top<=e.bottom+1}function pf(r,e){let t=r.parentNode;return t&&/^li$/i.test(t.nodeName)&&e.left<r.getBoundingClientRect().left?t:r}function uf(r,e,t){let{node:o,offset:n}=hc(e,t),i=-1;if(o.nodeType==1&&!o.firstChild){let a=o.getBoundingClientRect();i=a.left!=a.right&&t.left>(a.left+a.right)/2?1:-1}return r.docView.posFromDOM(o,n,i)}function mf(r,e,t,o){let n=-1;for(let i=e,a=!1;i!=r.dom;){let l=r.docView.nearestDesc(i,!0),d;if(!l)return null;if(l.dom.nodeType==1&&(l.node.isBlock&&l.parent||!l.contentDOM)&&((d=l.dom.getBoundingClientRect()).width||d.height)&&(l.node.isBlock&&l.parent&&(!a&&d.left>o.left||d.top>o.top?n=l.posBefore:(!a&&d.right<o.left||d.bottom<o.top)&&(n=l.posAfter),a=!0),!l.contentDOM&&n<0&&!l.node.isText))return(l.node.isBlock?o.top<(d.top+d.bottom)/2:o.left<(d.left+d.right)/2)?l.posBefore:l.posAfter;i=l.dom.parentNode}return n>-1?n:r.docView.posFromDOM(e,t,-1)}function gc(r,e,t){let o=r.childNodes.length;if(o&&t.top<t.bottom)for(let n=Math.max(0,Math.min(o-1,Math.floor(o*(e.top-t.top)/(t.bottom-t.top))-2)),i=n;;){let a=r.childNodes[i];if(a.nodeType==1){let l=a.getClientRects();for(let d=0;d<l.length;d++){let c=l[d];if(Ua(e,c))return gc(a,e,c)}}if((i=(i+1)%o)==n)break}return r}function hf(r,e){let t=r.dom.ownerDocument,o,n=0,i=tf(t,e.left,e.top);i&&({node:o,offset:n}=i);let a=(r.root.elementFromPoint?r.root:t).elementFromPoint(e.left,e.top),l;if(!a||!r.dom.contains(a.nodeType!=1?a.parentNode:a)){let c=r.dom.getBoundingClientRect();if(!Ua(e,c)||(a=gc(r.dom,e,c),!a))return null}if(Ve)for(let c=a;o&&c;c=Wr(c))c.draggable&&(o=void 0);if(a=pf(a,e),o){if(rt&&o.nodeType==1&&(n=Math.min(n,o.childNodes.length),n<o.childNodes.length)){let p=o.childNodes[n],u;p.nodeName=="IMG"&&(u=p.getBoundingClientRect()).right<=e.left&&u.bottom>e.top&&n++}let c;Vo&&n&&o.nodeType==1&&(c=o.childNodes[n-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&n--,o==r.dom&&n==o.childNodes.length-1&&o.lastChild.nodeType==1&&e.top>o.lastChild.getBoundingClientRect().bottom?l=r.state.doc.content.size:(n==0||o.nodeType!=1||o.childNodes[n-1].nodeName!="BR")&&(l=mf(r,o,n,e))}l==null&&(l=uf(r,a,e));let d=r.docView.nearestDesc(a,!0);return{pos:l,inside:d?d.posAtStart-d.border:-1}}function fc(r){return r.top<r.bottom||r.left<r.right}function Kt(r,e){let t=r.getClientRects();if(t.length){let o=t[e<0?0:t.length-1];if(fc(o))return o}return Array.prototype.find.call(t,fc)||r.getBoundingClientRect()}const gf=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function bc(r,e,t){let{node:o,offset:n,atom:i}=r.docView.domFromPos(e,t<0?-1:1),a=Vo||rt;if(o.nodeType==3)if(a&&(gf.test(o.nodeValue)||(t<0?!n:n==o.nodeValue.length))){let d=Kt(kt(o,n,n),t);if(rt&&n&&/\s/.test(o.nodeValue[n-1])&&n<o.nodeValue.length){let c=Kt(kt(o,n-1,n-1),-1);if(c.top==d.top){let p=Kt(kt(o,n,n+1),-1);if(p.top!=d.top)return Po(p,p.left<c.left)}}return d}else{let d=n,c=n,p=t<0?1:-1;return t<0&&!n?(c++,p=-1):t>=0&&n==o.nodeValue.length?(d--,p=1):t<0?d--:c++,Po(Kt(kt(o,d,c),p),p<0)}if(!r.state.doc.resolve(e-(i||0)).parent.inlineContent){if(i==null&&n&&(t<0||n==Ue(o))){let d=o.childNodes[n-1];if(d.nodeType==1)return Ka(d.getBoundingClientRect(),!1)}if(i==null&&n<Ue(o)){let d=o.childNodes[n];if(d.nodeType==1)return Ka(d.getBoundingClientRect(),!0)}return Ka(o.getBoundingClientRect(),t>=0)}if(i==null&&n&&(t<0||n==Ue(o))){let d=o.childNodes[n-1],c=d.nodeType==3?kt(d,Ue(d)-(a?0:1)):d.nodeType==1&&(d.nodeName!="BR"||!d.nextSibling)?d:null;if(c)return Po(Kt(c,1),!1)}if(i==null&&n<Ue(o)){let d=o.childNodes[n];for(;d.pmViewDesc&&d.pmViewDesc.ignoreForCoords;)d=d.nextSibling;let c=d?d.nodeType==3?kt(d,0,a?0:1):d.nodeType==1?d:null:null;if(c)return Po(Kt(c,-1),!0)}return Po(Kt(o.nodeType==3?kt(o):o,-t),t>=0)}function Po(r,e){if(r.width==0)return r;let t=e?r.left:r.right;return{top:r.top,bottom:r.bottom,left:t,right:t}}function Ka(r,e){if(r.height==0)return r;let t=e?r.top:r.bottom;return{top:t,bottom:t,left:r.left,right:r.right}}function yc(r,e,t){let o=r.state,n=r.root.activeElement;o!=e&&r.updateState(e),n!=r.dom&&r.focus();try{return t()}finally{o!=e&&r.updateState(o),n!=r.dom&&n&&n.focus()}}function ff(r,e,t){let o=e.selection,n=t=="up"?o.$from:o.$to;return yc(r,e,()=>{let{node:i}=r.docView.domFromPos(n.pos,t=="up"?-1:1);for(;;){let l=r.docView.nearestDesc(i,!0);if(!l)break;if(l.node.isBlock){i=l.contentDOM||l.dom;break}i=l.dom.parentNode}let a=bc(r,n.pos,1);for(let l=i.firstChild;l;l=l.nextSibling){let d;if(l.nodeType==1)d=l.getClientRects();else if(l.nodeType==3)d=kt(l,0,l.nodeValue.length).getClientRects();else continue;for(let c=0;c<d.length;c++){let p=d[c];if(p.bottom>p.top+1&&(t=="up"?a.top-p.top>(p.bottom-a.top)*2:p.bottom-a.bottom>(a.bottom-p.top)*2))return!1}}return!0})}const bf=/[\u0590-\u08ac]/;function yf(r,e,t){let{$head:o}=e.selection;if(!o.parent.isTextblock)return!1;let n=o.parentOffset,i=!n,a=n==o.parent.content.size,l=r.domSelection();return l?!bf.test(o.parent.textContent)||!l.modify?t=="left"||t=="backward"?i:a:yc(r,e,()=>{let{focusNode:d,focusOffset:c,anchorNode:p,anchorOffset:u}=r.domSelectionRange(),m=l.caretBidiLevel;l.modify("move",t,"character");let h=o.depth?r.docView.domAfterPos(o.before()):r.dom,{focusNode:g,focusOffset:f}=r.domSelectionRange(),b=g&&!h.contains(g.nodeType==1?g:g.parentNode)||d==g&&c==f;try{l.collapse(p,u),d&&(d!=p||c!=u)&&l.extend&&l.extend(d,c)}catch{}return m!=null&&(l.caretBidiLevel=m),b}):o.pos==o.start()||o.pos==o.end()}let wc=null,xc=null,vc=!1;function wf(r,e,t){return wc==e&&xc==t?vc:(wc=e,xc=t,vc=t=="up"||t=="down"?ff(r,e,t):yf(r,e,t))}const Ge=0,kc=1,fr=2,pt=3;class Ao{constructor(e,t,o,n){this.parent=e,this.children=t,this.dom=o,this.contentDOM=n,this.dirty=Ge,o.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,o){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,o=this.posAtStart;;t++){let n=this.children[t];if(n==e)return o;o+=n.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,o){if(this.contentDOM&&this.contentDOM.contains(e.nodeType==1?e:e.parentNode))if(o<0){let i,a;if(e==this.contentDOM)i=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.previousSibling}for(;i&&!((a=i.pmViewDesc)&&a.parent==this);)i=i.previousSibling;return i?this.posBeforeChild(a)+a.size:this.posAtStart}else{let i,a;if(e==this.contentDOM)i=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.nextSibling}for(;i&&!((a=i.pmViewDesc)&&a.parent==this);)i=i.nextSibling;return i?this.posBeforeChild(a):this.posAtEnd}let n;if(e==this.dom&&this.contentDOM)n=t>ve(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))n=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(t==0)for(let i=e;;i=i.parentNode){if(i==this.dom){n=!1;break}if(i.previousSibling)break}if(n==null&&t==e.childNodes.length)for(let i=e;;i=i.parentNode){if(i==this.dom){n=!0;break}if(i.nextSibling)break}}return n??o>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let o=!0,n=e;n;n=n.parentNode){let i=this.getDesc(n),a;if(i&&(!t||i.node))if(o&&(a=i.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))o=!1;else return i}}getDesc(e){let t=e.pmViewDesc;for(let o=t;o;o=o.parent)if(o==this)return t}posFromDOM(e,t,o){for(let n=e;n;n=n.parentNode){let i=this.getDesc(n);if(i)return i.localPosFromDOM(e,t,o)}return-1}descAt(e){for(let t=0,o=0;t<this.children.length;t++){let n=this.children[t],i=o+n.size;if(o==e&&i!=o){for(;!n.border&&n.children.length;)for(let a=0;a<n.children.length;a++){let l=n.children[a];if(l.size){n=l;break}}return n}if(e<i)return n.descAt(e-o-n.border);o=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let o=0,n=0;for(let i=0;o<this.children.length;o++){let a=this.children[o],l=i+a.size;if(l>e||a instanceof Sc){n=e-i;break}i=l}if(n)return this.children[o].domFromPos(n-this.children[o].border,t);for(let i;o&&!(i=this.children[o-1]).size&&i instanceof Ec&&i.side>=0;o--);if(t<=0){let i,a=!0;for(;i=o?this.children[o-1]:null,!(!i||i.dom.parentNode==this.contentDOM);o--,a=!1);return i&&t&&a&&!i.border&&!i.domAtom?i.domFromPos(i.size,t):{node:this.contentDOM,offset:i?ve(i.dom)+1:0}}else{let i,a=!0;for(;i=o<this.children.length?this.children[o]:null,!(!i||i.dom.parentNode==this.contentDOM);o++,a=!1);return i&&a&&!i.border&&!i.domAtom?i.domFromPos(0,t):{node:this.contentDOM,offset:i?ve(i.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,o=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let n=-1,i=-1;for(let a=o,l=0;;l++){let d=this.children[l],c=a+d.size;if(n==-1&&e<=c){let p=a+d.border;if(e>=p&&t<=c-d.border&&d.node&&d.contentDOM&&this.contentDOM.contains(d.contentDOM))return d.parseRange(e,t,p);e=a;for(let u=l;u>0;u--){let m=this.children[u-1];if(m.size&&m.dom.parentNode==this.contentDOM&&!m.emptyChildAt(1)){n=ve(m.dom)+1;break}e-=m.size}n==-1&&(n=0)}if(n>-1&&(c>t||l==this.children.length-1)){t=c;for(let p=l+1;p<this.children.length;p++){let u=this.children[p];if(u.size&&u.dom.parentNode==this.contentDOM&&!u.emptyChildAt(-1)){i=ve(u.dom);break}t+=u.size}i==-1&&(i=this.contentDOM.childNodes.length);break}a=c}return{node:this.contentDOM,from:e,to:t,fromOffset:n,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return t.size==0||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:o}=this.domFromPos(e,0);if(t.nodeType!=1||o==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[o]}setSelection(e,t,o,n=!1){let i=Math.min(e,t),a=Math.max(e,t);for(let h=0,g=0;h<this.children.length;h++){let f=this.children[h],b=g+f.size;if(i>g&&a<b)return f.setSelection(e-g-f.border,t-g-f.border,o,n);g=b}let l=this.domFromPos(e,e?-1:1),d=t==e?l:this.domFromPos(t,t?-1:1),c=o.root.getSelection(),p=o.domSelectionRange(),u=!1;if((rt||Ve)&&e==t){let{node:h,offset:g}=l;if(h.nodeType==3){if(u=!!(g&&h.nodeValue[g-1]==`
16
- `),u&&g==h.nodeValue.length)for(let f=h,b;f;f=f.parentNode){if(b=f.nextSibling){b.nodeName=="BR"&&(l=d={node:b.parentNode,offset:ve(b)+1});break}let w=f.pmViewDesc;if(w&&w.node&&w.node.isBlock)break}}else{let f=h.childNodes[g-1];u=f&&(f.nodeName=="BR"||f.contentEditable=="false")}}if(rt&&p.focusNode&&p.focusNode!=d.node&&p.focusNode.nodeType==1){let h=p.focusNode.childNodes[p.focusOffset];h&&h.contentEditable=="false"&&(n=!0)}if(!(n||u&&Ve)&&hr(l.node,l.offset,p.anchorNode,p.anchorOffset)&&hr(d.node,d.offset,p.focusNode,p.focusOffset))return;let m=!1;if((c.extend||e==t)&&!u){c.collapse(l.node,l.offset);try{e!=t&&c.extend(d.node,d.offset),m=!0}catch{}}if(!m){if(e>t){let g=l;l=d,d=g}let h=document.createRange();h.setEnd(d.node,d.offset),h.setStart(l.node,l.offset),c.removeAllRanges(),c.addRange(h)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let o=0,n=0;n<this.children.length;n++){let i=this.children[n],a=o+i.size;if(o==a?e<=a&&t>=o:e<a&&t>o){let l=o+i.border,d=a-i.border;if(e>=l&&t<=d){this.dirty=e==o||t==a?fr:kc,e==l&&t==d&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=pt:i.markDirty(e-l,t-l);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?fr:pt}o=a}this.dirty=fr}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let o=e==1?fr:kc;t.dirty<o&&(t.dirty=o)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class Ec extends Ao{constructor(e,t,o,n){let i,a=t.type.toDOM;if(typeof a=="function"&&(a=a(o,()=>{if(!i)return n;if(i.parent)return i.parent.posBeforeChild(i)})),!t.type.spec.raw){if(a.nodeType!=1){let l=document.createElement("span");l.appendChild(a),a=l}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return this.dirty==Ge&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class xf extends Ao{constructor(e,t,o,n){super(e,[],t,null),this.textDOM=o,this.text=n}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class br extends Ao{constructor(e,t,o,n,i){super(e,[],o,n),this.mark=t,this.spec=i}static create(e,t,o,n){let i=n.nodeViews[t.type.name],a=i&&i(t,n,o);return(!a||!a.dom)&&(a=ur.renderSpec(document,t.type.spec.toDOM(t,o),null,t.attrs)),new br(e,t,a.dom,a.contentDOM||a.dom,a)}parseRule(){return this.dirty&pt||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=pt&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=Ge){let o=this.parent;for(;!o.node;)o=o.parent;o.dirty<this.dirty&&(o.dirty=this.dirty),this.dirty=Ge}}slice(e,t,o){let n=br.create(this.parent,this.mark,!0,o),i=this.children,a=this.size;t<a&&(i=Ja(i,t,a,o)),e>0&&(i=Ja(i,0,e,o));for(let l=0;l<i.length;l++)i[l].parent=n;return n.children=i,n}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class Gt extends Ao{constructor(e,t,o,n,i,a,l,d,c){super(e,[],i,a),this.node=t,this.outerDeco=o,this.innerDeco=n,this.nodeDOM=l}static create(e,t,o,n,i,a){let l=i.nodeViews[t.type.name],d,c=l&&l(t,i,()=>{if(!d)return a;if(d.parent)return d.parent.posBeforeChild(d)},o,n),p=c&&c.dom,u=c&&c.contentDOM;if(t.isText){if(!p)p=document.createTextNode(t.text);else if(p.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else p||({dom:p,contentDOM:u}=ur.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs));!u&&!t.isText&&p.nodeName!="BR"&&(p.hasAttribute("contenteditable")||(p.contentEditable="false"),t.type.spec.draggable&&(p.draggable=!0));let m=p;return p=Bc(p,o,t),c?d=new vf(e,t,o,n,p,u||null,m,c,i,a+1):t.isText?new Kn(e,t,o,n,p,m,i):new Gt(e,t,o,n,p,u||null,m,i,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let t=this.children.length-1;t>=0;t--){let o=this.children[t];if(this.dom.contains(o.dom.parentNode)){e.contentElement=o.dom.parentNode;break}}e.contentElement||(e.getContent=()=>B.empty)}return e}matchesNode(e,t,o){return this.dirty==Ge&&e.eq(this.node)&&Gn(t,this.outerDeco)&&o.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let o=this.node.inlineContent,n=t,i=e.composing?this.localCompositionInfo(e,t):null,a=i&&i.pos>-1?i:null,l=i&&i.pos<0,d=new Ef(this,a&&a.node,e);Nf(this.node,this.innerDeco,(c,p,u)=>{c.spec.marks?d.syncToMarks(c.spec.marks,o,e):c.type.side>=0&&!u&&d.syncToMarks(p==this.node.childCount?X.none:this.node.child(p).marks,o,e),d.placeWidget(c,e,n)},(c,p,u,m)=>{d.syncToMarks(c.marks,o,e);let h;d.findNodeMatch(c,p,u,m)||l&&e.state.selection.from>n&&e.state.selection.to<n+c.nodeSize&&(h=d.findIndexWithChild(i.node))>-1&&d.updateNodeAt(c,p,u,h,e)||d.updateNextNode(c,p,u,e,m,n)||d.addNode(c,p,u,e,n),n+=c.nodeSize}),d.syncToMarks([],o,e),this.node.isTextblock&&d.addTextblockHacks(),d.destroyRest(),(d.changed||this.dirty==fr)&&(a&&this.protectLocalComposition(e,a),Nc(this.contentDOM,this.children,e),qr&&Mf(this.dom))}localCompositionInfo(e,t){let{from:o,to:n}=e.state.selection;if(!(e.state.selection instanceof _)||o<t||n>t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let a=i.nodeValue,l=Bf(this.node.content,a,o-t,n-t);return l<0?null:{node:i,pos:l,text:a}}else return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:o,text:n}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new xf(this,i,t,n);e.input.compositionNodes.push(a),this.children=Ja(this.children,o,o+n.length,e,a)}update(e,t,o,n){return this.dirty==pt||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,o,n),!0)}updateInner(e,t,o,n){this.updateOuterDeco(t),this.node=e,this.innerDeco=o,this.contentDOM&&this.updateChildren(n,this.posAtStart),this.dirty=Ge}updateOuterDeco(e){if(Gn(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,o=this.dom;this.dom=Mc(this.dom,this.nodeDOM,Ga(this.outerDeco,this.node,t),Ga(e,this.node,t)),this.dom!=o&&(o.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function Cc(r,e,t,o,n){Bc(o,e,r);let i=new Gt(void 0,r,e,t,o,o,o,n,0);return i.contentDOM&&i.updateChildren(n,0),i}class Kn extends Gt{constructor(e,t,o,n,i,a,l){super(e,t,o,n,i,null,a,l,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,o,n){return this.dirty==pt||this.dirty!=Ge&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=Ge||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,n.trackWrites==this.nodeDOM&&(n.trackWrites=null)),this.node=e,this.dirty=Ge,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,o){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,o)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,t,o){let n=this.node.cut(e,t),i=document.createTextNode(n.text);return new Kn(this.parent,n,this.outerDeco,this.innerDeco,i,i,o)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=pt)}get domAtom(){return!1}isText(e){return this.node.text==e}}class Sc extends Ao{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Ge&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class vf extends Gt{constructor(e,t,o,n,i,a,l,d,c,p){super(e,t,o,n,i,a,l,c,p),this.spec=d}update(e,t,o,n){if(this.dirty==pt)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,o);return i&&this.updateInner(e,t,o,n),i}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,o,n)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,o,n){this.spec.setSelection?this.spec.setSelection(e,t,o.root):super.setSelection(e,t,o,n)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Nc(r,e,t){let o=r.firstChild,n=!1;for(let i=0;i<e.length;i++){let a=e[i],l=a.dom;if(l.parentNode==r){for(;l!=o;)o=Tc(o),n=!0;o=o.nextSibling}else n=!0,r.insertBefore(l,o);if(a instanceof br){let d=o?o.previousSibling:r.lastChild;Nc(a.contentDOM,a.children,t),o=d?d.nextSibling:r.firstChild}}for(;o;)o=Tc(o),n=!0;n&&t.trackWrites==r&&(t.trackWrites=null)}const Do=function(r){r&&(this.nodeName=r)};Do.prototype=Object.create(null);const yr=[new Do];function Ga(r,e,t){if(r.length==0)return yr;let o=t?yr[0]:new Do,n=[o];for(let i=0;i<r.length;i++){let a=r[i].type.attrs;if(a){a.nodeName&&n.push(o=new Do(a.nodeName));for(let l in a){let d=a[l];d!=null&&(t&&n.length==1&&n.push(o=new Do(e.isInline?"span":"div")),l=="class"?o.class=(o.class?o.class+" ":"")+d:l=="style"?o.style=(o.style?o.style+";":"")+d:l!="nodeName"&&(o[l]=d))}}}return n}function Mc(r,e,t,o){if(t==yr&&o==yr)return e;let n=e;for(let i=0;i<o.length;i++){let a=o[i],l=t[i];if(i){let d;l&&l.nodeName==a.nodeName&&n!=r&&(d=n.parentNode)&&d.nodeName.toLowerCase()==a.nodeName||(d=document.createElement(a.nodeName),d.pmIsDeco=!0,d.appendChild(n),l=yr[0]),n=d}kf(n,l||yr[0],a)}return n}function kf(r,e,t){for(let o in e)o!="class"&&o!="style"&&o!="nodeName"&&!(o in t)&&r.removeAttribute(o);for(let o in t)o!="class"&&o!="style"&&o!="nodeName"&&t[o]!=e[o]&&r.setAttribute(o,t[o]);if(e.class!=t.class){let o=e.class?e.class.split(" ").filter(Boolean):[],n=t.class?t.class.split(" ").filter(Boolean):[];for(let i=0;i<o.length;i++)n.indexOf(o[i])==-1&&r.classList.remove(o[i]);for(let i=0;i<n.length;i++)o.indexOf(n[i])==-1&&r.classList.add(n[i]);r.classList.length==0&&r.removeAttribute("class")}if(e.style!=t.style){if(e.style){let o=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,n;for(;n=o.exec(e.style);)r.style.removeProperty(n[1])}t.style&&(r.style.cssText+=t.style)}}function Bc(r,e,t){return Mc(r,r,yr,Ga(e,t,r.nodeType!=1))}function Gn(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++)if(!r[t].type.eq(e[t].type))return!1;return!0}function Tc(r){let e=r.nextSibling;return r.parentNode.removeChild(r),e}class Ef{constructor(e,t,o){this.lock=t,this.view=o,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=Cf(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let o=e;o<t;o++)this.top.children[o].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,o){let n=0,i=this.stack.length>>1,a=Math.min(i,e.length);for(;n<a&&(n==i-1?this.top:this.stack[n+1<<1]).matchesMark(e[n])&&e[n].type.spec.spanning!==!1;)n++;for(;n<i;)this.destroyRest(),this.top.dirty=Ge,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<e.length;){this.stack.push(this.top,this.index+1);let l=-1;for(let d=this.index;d<Math.min(this.index+3,this.top.children.length);d++){let c=this.top.children[d];if(c.matchesMark(e[i])&&!this.isLocked(c.dom)){l=d;break}}if(l>-1)l>this.index&&(this.changed=!0,this.destroyBetween(this.index,l)),this.top=this.top.children[this.index];else{let d=br.create(this.top,e[i],t,o);this.top.children.splice(this.index,0,d),this.top=d,this.changed=!0}this.index=0,i++}}findNodeMatch(e,t,o,n){let i=-1,a;if(n>=this.preMatch.index&&(a=this.preMatch.matches[n-this.preMatch.index]).parent==this.top&&a.matchesNode(e,t,o))i=this.top.children.indexOf(a,this.index);else for(let l=this.index,d=Math.min(this.top.children.length,l+5);l<d;l++){let c=this.top.children[l];if(c.matchesNode(e,t,o)&&!this.preMatch.matched.has(c)){i=l;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,o,n,i){let a=this.top.children[n];return a.dirty==pt&&a.dom==a.contentDOM&&(a.dirty=fr),a.update(e,t,o,i)?(this.destroyBetween(this.index,n),this.index++,!0):!1}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let o=e.pmViewDesc;if(o){for(let n=this.index;n<this.top.children.length;n++)if(this.top.children[n]==o)return n}return-1}e=t}}updateNextNode(e,t,o,n,i,a){for(let l=this.index;l<this.top.children.length;l++){let d=this.top.children[l];if(d instanceof Gt){let c=this.preMatch.matched.get(d);if(c!=null&&c!=i)return!1;let p=d.dom,u,m=this.isLocked(p)&&!(e.isText&&d.node&&d.node.isText&&d.nodeDOM.nodeValue==e.text&&d.dirty!=pt&&Gn(t,d.outerDeco));if(!m&&d.update(e,t,o,n))return this.destroyBetween(this.index,l),d.dom!=p&&(this.changed=!0),this.index++,!0;if(!m&&(u=this.recreateWrapper(d,e,t,o,n,a)))return this.destroyBetween(this.index,l),this.top.children[this.index]=u,u.contentDOM&&(u.dirty=fr,u.updateChildren(n,a+1),u.dirty=Ge),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,o,n,i,a){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!Gn(o,e.outerDeco)||!n.eq(e.innerDeco))return null;let l=Gt.create(this.top,t,o,n,i,a);if(l.contentDOM){l.children=e.children,e.children=[];for(let d of l.children)d.parent=l}return e.destroy(),l}addNode(e,t,o,n,i){let a=Gt.create(this.top,e,t,o,n,i);a.contentDOM&&a.updateChildren(n,i+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(e,t,o){let n=this.index<this.top.children.length?this.top.children[this.index]:null;if(n&&n.matchesWidget(e)&&(e==n.widget||!n.widget.type.toDOM.parentNode))this.index++;else{let i=new Ec(this.top,e,t,o);this.top.children.splice(this.index++,0,i),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof br;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof Kn)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Ve||Me)&&e&&e.dom.contentEditable=="false"&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let o=document.createElement(e);e=="IMG"&&(o.className="ProseMirror-separator",o.alt=""),e=="BR"&&(o.className="ProseMirror-trailingBreak");let n=new Sc(this.top,[],o,null);t!=this.top?t.children.push(n):t.children.splice(this.index++,0,n),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||e.nodeType==1&&e.contains(this.lock.parentNode))}}function Cf(r,e){let t=e,o=t.children.length,n=r.childCount,i=new Map,a=[];e:for(;n>0;){let l;for(;;)if(o){let c=t.children[o-1];if(c instanceof br)t=c,o=c.children.length;else{l=c,o--;break}}else{if(t==e)break e;o=t.parent.children.indexOf(t),t=t.parent}let d=l.node;if(d){if(d!=r.child(n-1))break;--n,i.set(l,n),a.push(l)}}return{index:n,matched:i,matches:a.reverse()}}function Sf(r,e){return r.type.side-e.type.side}function Nf(r,e,t,o){let n=e.locals(r),i=0;if(n.length==0){for(let c=0;c<r.childCount;c++){let p=r.child(c);o(p,n,e.forChild(i,p),c),i+=p.nodeSize}return}let a=0,l=[],d=null;for(let c=0;;){let p,u;for(;a<n.length&&n[a].to==i;){let b=n[a++];b.widget&&(p?(u||(u=[p])).push(b):p=b)}if(p)if(u){u.sort(Sf);for(let b=0;b<u.length;b++)t(u[b],c,!!d)}else t(p,c,!!d);let m,h;if(d)h=-1,m=d,d=null;else if(c<r.childCount)h=c,m=r.child(c++);else break;for(let b=0;b<l.length;b++)l[b].to<=i&&l.splice(b--,1);for(;a<n.length&&n[a].from<=i&&n[a].to>i;)l.push(n[a++]);let g=i+m.nodeSize;if(m.isText){let b=g;a<n.length&&n[a].from<b&&(b=n[a].from);for(let w=0;w<l.length;w++)l[w].to<b&&(b=l[w].to);b<g&&(d=m.cut(b-i),m=m.cut(0,b-i),g=b,h=-1)}else for(;a<n.length&&n[a].to<g;)a++;let f=m.isInline&&!m.isLeaf?l.filter(b=>!b.inline):l.slice();o(m,f,e.forChild(i,m),h),i=g}}function Mf(r){if(r.nodeName=="UL"||r.nodeName=="OL"){let e=r.style.cssText;r.style.cssText=e+"; list-style: square !important",window.getComputedStyle(r).listStyle,r.style.cssText=e}}function Bf(r,e,t,o){for(let n=0,i=0;n<r.childCount&&i<=o;){let a=r.child(n++),l=i;if(i+=a.nodeSize,!a.isText)continue;let d=a.text;for(;n<r.childCount;){let c=r.child(n++);if(i+=c.nodeSize,!c.isText)break;d+=c.text}if(i>=t){if(i>=o&&d.slice(o-e.length-l,o-l)==e)return o-e.length;let c=l<o?d.lastIndexOf(e,o-l-1):-1;if(c>=0&&c+e.length+l>=t)return l+c;if(t==o&&d.length>=o+e.length-l&&d.slice(o-l,o-l+e.length)==e)return o}}return-1}function Ja(r,e,t,o,n){let i=[];for(let a=0,l=0;a<r.length;a++){let d=r[a],c=l,p=l+=d.size;c>=t||p<=e?i.push(d):(c<e&&i.push(d.slice(0,e-c,o)),n&&(i.push(n),n=void 0),p>t&&i.push(d.slice(t-c,d.size,o)))}return i}function Ya(r,e=null){let t=r.domSelectionRange(),o=r.state.doc;if(!t.focusNode)return null;let n=r.docView.nearestDesc(t.focusNode),i=n&&n.size==0,a=r.docView.posFromDOM(t.focusNode,t.focusOffset,1);if(a<0)return null;let l=o.resolve(a),d,c;if(Un(t)){for(d=a;n&&!n.node;)n=n.parent;let u=n.node;if(n&&u.isAtom&&L.isSelectable(u)&&n.parent&&!(u.isInline&&$g(t.focusNode,t.focusOffset,n.dom))){let m=n.posBefore;c=new L(a==m?l:o.resolve(m))}}else{if(t instanceof r.dom.ownerDocument.defaultView.Selection&&t.rangeCount>1){let u=a,m=a;for(let h=0;h<t.rangeCount;h++){let g=t.getRangeAt(h);u=Math.min(u,r.docView.posFromDOM(g.startContainer,g.startOffset,1)),m=Math.max(m,r.docView.posFromDOM(g.endContainer,g.endOffset,-1))}if(u<0)return null;[d,a]=m==r.state.selection.anchor?[m,u]:[u,m],l=o.resolve(a)}else d=r.docView.posFromDOM(t.anchorNode,t.anchorOffset,1);if(d<0)return null}let p=o.resolve(d);if(!c){let u=e=="pointer"||r.state.selection.head<l.pos&&!i?1:-1;c=Xa(r,p,l,u)}return c}function Oc(r){return r.editable?r.hasFocus():Rc(r)&&document.activeElement&&document.activeElement.contains(r.dom)}function St(r,e=!1){let t=r.state.selection;if(Dc(r,t),!!Oc(r)){if(!e&&r.input.mouseDown&&r.input.mouseDown.allowDefault&&Me){let o=r.domSelectionRange(),n=r.domObserver.currentSelection;if(o.anchorNode&&n.anchorNode&&hr(o.anchorNode,o.anchorOffset,n.anchorNode,n.anchorOffset)){r.input.mouseDown.delayedSelectionSync=!0,r.domObserver.setCurSelection();return}}if(r.domObserver.disconnectSelection(),r.cursorWrapper)Of(r);else{let{anchor:o,head:n}=t,i,a;Vc&&!(t instanceof _)&&(t.$from.parent.inlineContent||(i=Pc(r,t.from)),!t.empty&&!t.$from.parent.inlineContent&&(a=Pc(r,t.to))),r.docView.setSelection(o,n,r,e),Vc&&(i&&Ac(i),a&&Ac(a)),t.visible?r.dom.classList.remove("ProseMirror-hideselection"):(r.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&Tf(r))}r.domObserver.setCurSelection(),r.domObserver.connectSelection()}}const Vc=Ve||Me&&cc<63;function Pc(r,e){let{node:t,offset:o}=r.docView.domFromPos(e,0),n=o<t.childNodes.length?t.childNodes[o]:null,i=o?t.childNodes[o-1]:null;if(Ve&&n&&n.contentEditable=="false")return Qa(n);if((!n||n.contentEditable=="false")&&(!i||i.contentEditable=="false")){if(n)return Qa(n);if(i)return Qa(i)}}function Qa(r){return r.contentEditable="true",Ve&&r.draggable&&(r.draggable=!1,r.wasDraggable=!0),r}function Ac(r){r.contentEditable="false",r.wasDraggable&&(r.draggable=!0,r.wasDraggable=null)}function Tf(r){let e=r.dom.ownerDocument;e.removeEventListener("selectionchange",r.input.hideSelectionGuard);let t=r.domSelectionRange(),o=t.anchorNode,n=t.anchorOffset;e.addEventListener("selectionchange",r.input.hideSelectionGuard=()=>{(t.anchorNode!=o||t.anchorOffset!=n)&&(e.removeEventListener("selectionchange",r.input.hideSelectionGuard),setTimeout(()=>{(!Oc(r)||r.state.selection.visible)&&r.dom.classList.remove("ProseMirror-hideselection")},20))})}function Of(r){let e=r.domSelection(),t=document.createRange();if(!e)return;let o=r.cursorWrapper.dom,n=o.nodeName=="IMG";n?t.setStart(o.parentNode,ve(o)+1):t.setStart(o,0),t.collapse(!0),e.removeAllRanges(),e.addRange(t),!n&&!r.state.selection.visible&&Le&&Ut<=11&&(o.disabled=!0,o.disabled=!1)}function Dc(r,e){if(e instanceof L){let t=r.docView.descAt(e.from);t!=r.lastSelectedViewDesc&&(Ic(r),t&&t.selectNode(),r.lastSelectedViewDesc=t)}else Ic(r)}function Ic(r){r.lastSelectedViewDesc&&(r.lastSelectedViewDesc.parent&&r.lastSelectedViewDesc.deselectNode(),r.lastSelectedViewDesc=void 0)}function Xa(r,e,t,o){return r.someProp("createSelectionBetween",n=>n(r,e,t))||_.between(e,t,o)}function Lc(r){return r.editable&&!r.hasFocus()?!1:Rc(r)}function Rc(r){let e=r.domSelectionRange();if(!e.anchorNode)return!1;try{return r.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(r.editable||r.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function Vf(r){let e=r.docView.domFromPos(r.state.selection.anchor,0),t=r.domSelectionRange();return hr(e.node,e.offset,t.anchorNode,t.anchorOffset)}function Za(r,e){let{$anchor:t,$head:o}=r.selection,n=e>0?t.max(o):t.min(o),i=n.parent.inlineContent?n.depth?r.doc.resolve(e>0?n.after():n.before()):null:n;return i&&H.findFrom(i,e)}function Jt(r,e){return r.dispatch(r.state.tr.setSelection(e).scrollIntoView()),!0}function _c(r,e,t){let o=r.state.selection;if(o instanceof _)if(t.indexOf("s")>-1){let{$head:n}=o,i=n.textOffset?null:e<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=r.state.doc.resolve(n.pos+i.nodeSize*(e<0?-1:1));return Jt(r,new _(o.$anchor,a))}else if(o.empty){if(r.endOfTextblock(e>0?"forward":"backward")){let n=Za(r.state,e);return n&&n instanceof L?Jt(r,n):!1}else if(!(Ke&&t.indexOf("m")>-1)){let n=o.$head,i=n.textOffset?null:e<0?n.nodeBefore:n.nodeAfter,a;if(!i||i.isText)return!1;let l=e<0?n.pos-i.nodeSize:n.pos;return i.isAtom||(a=r.docView.descAt(l))&&!a.contentDOM?L.isSelectable(i)?Jt(r,new L(e<0?r.state.doc.resolve(n.pos-i.nodeSize):n)):Vo?Jt(r,new _(r.state.doc.resolve(e<0?l:l+i.nodeSize))):!1:!1}}else return!1;else{if(o instanceof L&&o.node.isInline)return Jt(r,new _(e>0?o.$to:o.$from));{let n=Za(r.state,e);return n?Jt(r,n):!1}}}function Jn(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}function Io(r,e){let t=r.pmViewDesc;return t&&t.size==0&&(e<0||r.nextSibling||r.nodeName!="BR")}function Kr(r,e){return e<0?Pf(r):Af(r)}function Pf(r){let e=r.domSelectionRange(),t=e.focusNode,o=e.focusOffset;if(!t)return;let n,i,a=!1;for(rt&&t.nodeType==1&&o<Jn(t)&&Io(t.childNodes[o],-1)&&(a=!0);;)if(o>0){if(t.nodeType!=1)break;{let l=t.childNodes[o-1];if(Io(l,-1))n=t,i=--o;else if(l.nodeType==3)t=l,o=t.nodeValue.length;else break}}else{if(zc(t))break;{let l=t.previousSibling;for(;l&&Io(l,-1);)n=t.parentNode,i=ve(l),l=l.previousSibling;if(l)t=l,o=Jn(t);else{if(t=t.parentNode,t==r.dom)break;o=0}}}a?$a(r,t,o):n&&$a(r,n,i)}function Af(r){let e=r.domSelectionRange(),t=e.focusNode,o=e.focusOffset;if(!t)return;let n=Jn(t),i,a;for(;;)if(o<n){if(t.nodeType!=1)break;let l=t.childNodes[o];if(Io(l,1))i=t,a=++o;else break}else{if(zc(t))break;{let l=t.nextSibling;for(;l&&Io(l,1);)i=l.parentNode,a=ve(l)+1,l=l.nextSibling;if(l)t=l,o=0,n=Jn(t);else{if(t=t.parentNode,t==r.dom)break;o=n=0}}}i&&$a(r,i,a)}function zc(r){let e=r.pmViewDesc;return e&&e.node&&e.node.isBlock}function Df(r,e){for(;r&&e==r.childNodes.length&&!Oo(r);)e=ve(r)+1,r=r.parentNode;for(;r&&e<r.childNodes.length;){let t=r.childNodes[e];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;r=t,e=0}}function If(r,e){for(;r&&!e&&!Oo(r);)e=ve(r),r=r.parentNode;for(;r&&e;){let t=r.childNodes[e-1];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;r=t,e=r.childNodes.length}}function $a(r,e,t){if(e.nodeType!=3){let i,a;(a=Df(e,t))?(e=a,t=0):(i=If(e,t))&&(e=i,t=i.nodeValue.length)}let o=r.domSelection();if(!o)return;if(Un(o)){let i=document.createRange();i.setEnd(e,t),i.setStart(e,t),o.removeAllRanges(),o.addRange(i)}else o.extend&&o.extend(e,t);r.domObserver.setCurSelection();let{state:n}=r;setTimeout(()=>{r.state==n&&St(r)},50)}function Fc(r,e){let t=r.state.doc.resolve(e);if(!(Me||rf)&&t.parent.inlineContent){let n=r.coordsAtPos(e);if(e>t.start()){let i=r.coordsAtPos(e-1),a=(i.top+i.bottom)/2;if(a>n.top&&a<n.bottom&&Math.abs(i.left-n.left)>1)return i.left<n.left?"ltr":"rtl"}if(e<t.end()){let i=r.coordsAtPos(e+1),a=(i.top+i.bottom)/2;if(a>n.top&&a<n.bottom&&Math.abs(i.left-n.left)>1)return i.left>n.left?"ltr":"rtl"}}return getComputedStyle(r.dom).direction=="rtl"?"rtl":"ltr"}function Hc(r,e,t){let o=r.state.selection;if(o instanceof _&&!o.empty||t.indexOf("s")>-1||Ke&&t.indexOf("m")>-1)return!1;let{$from:n,$to:i}=o;if(!n.parent.inlineContent||r.endOfTextblock(e<0?"up":"down")){let a=Za(r.state,e);if(a&&a instanceof L)return Jt(r,a)}if(!n.parent.inlineContent){let a=e<0?n:i,l=o instanceof He?H.near(a,e):H.findFrom(a,e);return l?Jt(r,l):!1}return!1}function jc(r,e){if(!(r.state.selection instanceof _))return!0;let{$head:t,$anchor:o,empty:n}=r.state.selection;if(!t.sameParent(o))return!0;if(!n)return!1;if(r.endOfTextblock(e>0?"forward":"backward"))return!0;let i=!t.textOffset&&(e<0?t.nodeBefore:t.nodeAfter);if(i&&!i.isText){let a=r.state.tr;return e<0?a.delete(t.pos-i.nodeSize,t.pos):a.delete(t.pos,t.pos+i.nodeSize),r.dispatch(a),!0}return!1}function Wc(r,e,t){r.domObserver.stop(),e.contentEditable=t,r.domObserver.start()}function Lf(r){if(!Ve||r.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:t}=r.domSelectionRange();if(e&&e.nodeType==1&&t==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let o=e.firstChild;Wc(r,o,"true"),setTimeout(()=>Wc(r,o,"false"),20)}return!1}function Rf(r){let e="";return r.ctrlKey&&(e+="c"),r.metaKey&&(e+="m"),r.altKey&&(e+="a"),r.shiftKey&&(e+="s"),e}function _f(r,e){let t=e.keyCode,o=Rf(e);if(t==8||Ke&&t==72&&o=="c")return jc(r,-1)||Kr(r,-1);if(t==46&&!e.shiftKey||Ke&&t==68&&o=="c")return jc(r,1)||Kr(r,1);if(t==13||t==27)return!0;if(t==37||Ke&&t==66&&o=="c"){let n=t==37?Fc(r,r.state.selection.from)=="ltr"?-1:1:-1;return _c(r,n,o)||Kr(r,n)}else if(t==39||Ke&&t==70&&o=="c"){let n=t==39?Fc(r,r.state.selection.from)=="ltr"?1:-1:1;return _c(r,n,o)||Kr(r,n)}else{if(t==38||Ke&&t==80&&o=="c")return Hc(r,-1,o)||Kr(r,-1);if(t==40||Ke&&t==78&&o=="c")return Lf(r)||Hc(r,1,o)||Kr(r,1);if(o==(Ke?"m":"c")&&(t==66||t==73||t==89||t==90))return!0}return!1}function es(r,e){r.someProp("transformCopied",h=>{e=h(e,r)});let t=[],{content:o,openStart:n,openEnd:i}=e;for(;n>1&&i>1&&o.childCount==1&&o.firstChild.childCount==1;){n--,i--;let h=o.firstChild;t.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),o=h.content}let a=r.someProp("clipboardSerializer")||ur.fromSchema(r.state.schema),l=Xc(),d=l.createElement("div");d.appendChild(a.serializeFragment(o,{document:l}));let c=d.firstChild,p,u=0;for(;c&&c.nodeType==1&&(p=Yc[c.nodeName.toLowerCase()]);){for(let h=p.length-1;h>=0;h--){let g=l.createElement(p[h]);for(;d.firstChild;)g.appendChild(d.firstChild);d.appendChild(g),u++}c=d.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${n} ${i}${u?` -${u}`:""} ${JSON.stringify(t)}`);let m=r.someProp("clipboardTextSerializer",h=>h(e,r))||e.content.textBetween(0,e.content.size,`
14
+ `),t)}ignoreFallback(e,t){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),t,!0)}readStyles(e,t){let o=e.style;if(o&&o.length)for(let n=0;n<this.parser.matchedStyles.length;n++){let i=this.parser.matchedStyles[n],a=o.getPropertyValue(i);if(a)for(let l=void 0;;){let d=this.parser.matchStyle(i,a,this,l);if(!d)break;if(d.ignore)return null;if(d.clearMark?t=t.filter(c=>!d.clearMark(c)):t=t.concat(this.parser.schema.marks[d.mark].create(d.attrs)),d.consuming===!1)l=d;else break}}return t}addElementByRule(e,t,o,n){let i,a;if(t.node)if(a=this.parser.schema.nodes[t.node],a.isLeaf)this.insertNode(a.create(t.attrs),o,e.nodeName=="BR")||this.leafFallback(e,o);else{let d=this.enter(a,t.attrs||null,o,t.preserveWhitespace);d&&(i=!0,o=d)}else{let d=this.parser.schema.marks[t.mark];o=o.concat(d.create(t.attrs))}let l=this.top;if(a&&a.isLeaf)this.findInside(e);else if(n)this.addElement(e,o,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(d=>this.insertNode(d,o,!1));else{let d=e;typeof t.contentElement=="string"?d=e.querySelector(t.contentElement):typeof t.contentElement=="function"?d=t.contentElement(e):t.contentElement&&(d=t.contentElement),this.findAround(e,d,!0),this.addAll(d,o),this.findAround(e,d,!1)}i&&this.sync(l)&&this.open--}addAll(e,t,o,n){let i=o||0;for(let a=o?e.childNodes[o]:e.firstChild,l=n==null?null:e.childNodes[n];a!=l;a=a.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(a,t);this.findAtPoint(e,i)}findPlace(e,t,o){let n,i;for(let a=this.open,l=0;a>=0;a--){let d=this.nodes[a],c=d.findWrapping(e);if(c&&(!n||n.length>c.length+l)&&(n=c,i=d,!c.length))break;if(d.solid){if(o)break;l+=2}}if(!n)return null;this.sync(i);for(let a=0;a<n.length;a++)t=this.enterInner(n[a],null,t,!1);return t}insertNode(e,t,o){if(e.isInline&&this.needsBlock&&!this.top.type){let i=this.textblockFromContext();i&&(t=this.enterInner(i,null,t))}let n=this.findPlace(e,t,o);if(n){this.closeExtra();let i=this.top;i.match&&(i.match=i.match.matchType(e.type));let a=X.none;for(let l of n.concat(e.marks))(i.type?i.type.allowsMarkType(l.type):Dd(l.type,e.type))&&(a=l.addToSet(a));return i.content.push(e.mark(a)),!0}return!1}enter(e,t,o,n){let i=this.findPlace(e.create(t),o,!1);return i&&(i=this.enterInner(e,t,o,!0,n)),i}enterInner(e,t,o,n=!1,i){this.closeExtra();let a=this.top;a.match=a.match&&a.match.matchType(e);let l=Vd(e,i,a.options);a.options&Co&&a.content.length==0&&(l|=Co);let d=X.none;return o=o.filter(c=>(a.type?a.type.allowsMarkType(c.type):Dd(c.type,e))?(d=c.addToSet(d),!1):!0),this.nodes.push(new _n(e,t,d,n,null,l)),this.open++,o}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=Eo)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let o=this.nodes[t].content;for(let n=o.length-1;n>=0;n--)e+=o[n].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let o=0;o<this.find.length;o++)this.find[o].node==e&&this.find[o].offset==t&&(this.find[o].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].pos==null&&e.nodeType==1&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,o){if(e!=t&&this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&e.nodeType==1&&e.contains(this.find[n].node)&&t.compareDocumentPosition(this.find[n].node)&(o?2:4)&&(this.find[n].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),o=this.options.context,n=!this.isOpen&&(!o||o.parent.type==this.nodes[0].type),i=-(o?o.depth+1:0)+(n?0:1),a=(l,d)=>{for(;l>=0;l--){let c=t[l];if(c==""){if(l==t.length-1||l==0)continue;for(;d>=i;d--)if(a(l-1,d))return!0;return!1}else{let p=d>0||d==0&&n?this.nodes[d].type:o&&d>=i?o.node(d-i).type:null;if(!p||p.name!=c&&!p.isInGroup(c))return!1;d--}}return!0};return a(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let o=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(o&&o.isTextblock&&o.defaultAttrs)return o}for(let t in this.parser.schema.nodes){let o=this.parser.schema.nodes[t];if(o.isTextblock&&o.defaultAttrs)return o}}}function wg(r){for(let e=r.firstChild,t=null;e;e=e.nextSibling){let o=e.nodeType==1?e.nodeName.toLowerCase():null;o&&Od.hasOwnProperty(o)&&t?(t.appendChild(e),e=t):o=="li"?t=e:o&&(t=null)}}function xg(r,e){return(r.matches||r.msMatchesSelector||r.webkitMatchesSelector||r.mozMatchesSelector).call(r,e)}function Ad(r){let e={};for(let t in r)e[t]=r[t];return e}function Dd(r,e){let t=e.schema.nodes;for(let o in t){let n=t[o];if(!n.allowsMarkType(r))continue;let i=[],a=l=>{i.push(l);for(let d=0;d<l.edgeCount;d++){let{type:c,next:p}=l.edge(d);if(c==e||i.indexOf(p)<0&&a(p))return!0}};if(a(n.contentMatch))return!0}}class ur{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},o){o||(o=Ta(t).createDocumentFragment());let n=o,i=[];return e.forEach(a=>{if(i.length||a.marks.length){let l=0,d=0;for(;l<i.length&&d<a.marks.length;){let c=a.marks[d];if(!this.marks[c.type.name]){d++;continue}if(!c.eq(i[l][0])||c.type.spec.spanning===!1)break;l++,d++}for(;l<i.length;)n=i.pop()[1];for(;d<a.marks.length;){let c=a.marks[d++],p=this.serializeMark(c,a.isInline,t);p&&(i.push([c,n]),n.appendChild(p.dom),n=p.contentDOM||p.dom)}}n.appendChild(this.serializeNodeInner(a,t))}),o}serializeNodeInner(e,t){let{dom:o,contentDOM:n}=zn(Ta(t),this.nodes[e.type.name](e),null,e.attrs);if(n){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,n)}return o}serializeNode(e,t={}){let o=this.serializeNodeInner(e,t);for(let n=e.marks.length-1;n>=0;n--){let i=this.serializeMark(e.marks[n],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(o),o=i.dom)}return o}serializeMark(e,t,o={}){let n=this.marks[e.type.name];return n&&zn(Ta(o),n(e,t),null,e.attrs)}static renderSpec(e,t,o=null,n){return zn(e,t,o,n)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new ur(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Id(e.nodes);return t.text||(t.text=o=>o.text),t}static marksFromSchema(e){return Id(e.marks)}}function Id(r){let e={};for(let t in r){let o=r[t].spec.toDOM;o&&(e[t]=o)}return e}function Ta(r){return r.document||window.document}const Ld=new WeakMap;function vg(r){let e=Ld.get(r);return e===void 0&&Ld.set(r,e=kg(r)),e}function kg(r){let e=null;function t(o){if(o&&typeof o=="object")if(Array.isArray(o))if(typeof o[0]=="string")e||(e=[]),e.push(o);else for(let n=0;n<o.length;n++)t(o[n]);else for(let n in o)t(o[n])}return t(r),e}function zn(r,e,t,o){if(typeof e=="string")return{dom:r.createTextNode(e)};if(e.nodeType!=null)return{dom:e};if(e.dom&&e.dom.nodeType!=null)return e;let n=e[0],i;if(typeof n!="string")throw new RangeError("Invalid array passed to renderSpec");if(o&&(i=vg(o))&&i.indexOf(e)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=n.indexOf(" ");a>0&&(t=n.slice(0,a),n=n.slice(a+1));let l,d=t?r.createElementNS(t,n):r.createElement(n),c=e[1],p=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){p=2;for(let u in c)if(c[u]!=null){let m=u.indexOf(" ");m>0?d.setAttributeNS(u.slice(0,m),u.slice(m+1),c[u]):d.setAttribute(u,c[u])}}for(let u=p;u<e.length;u++){let m=e[u];if(m===0){if(u<e.length-1||u>p)throw new RangeError("Content hole must be the only child of its parent node");return{dom:d,contentDOM:d}}else{let{dom:h,contentDOM:g}=zn(r,m,t,o);if(d.appendChild(h),g){if(l)throw new RangeError("Multiple content holes");l=g}}}return{dom:d,contentDOM:l}}const Rd=65535,_d=Math.pow(2,16);function Eg(r,e){return r+e*_d}function zd(r){return r&Rd}function Cg(r){return(r-(r&Rd))/_d}const Fd=1,Hd=2,Fn=4,jd=8;class Oa{constructor(e,t,o){this.pos=e,this.delInfo=t,this.recover=o}get deleted(){return(this.delInfo&jd)>0}get deletedBefore(){return(this.delInfo&(Fd|Fn))>0}get deletedAfter(){return(this.delInfo&(Hd|Fn))>0}get deletedAcross(){return(this.delInfo&Fn)>0}}class Fe{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&Fe.empty)return Fe.empty}recover(e){let t=0,o=zd(e);if(!this.inverted)for(let n=0;n<o;n++)t+=this.ranges[n*3+2]-this.ranges[n*3+1];return this.ranges[o*3]+t+Cg(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,o){let n=0,i=this.inverted?2:1,a=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let d=this.ranges[l]-(this.inverted?n:0);if(d>e)break;let c=this.ranges[l+i],p=this.ranges[l+a],u=d+c;if(e<=u){let m=c?e==d?-1:e==u?1:t:t,h=d+n+(m<0?0:p);if(o)return h;let g=e==(t<0?d:u)?null:Eg(l/3,e-d),f=e==d?Hd:e==u?Fd:Fn;return(t<0?e!=d:e!=u)&&(f|=jd),new Oa(h,f,g)}n+=p-c}return o?e+n:new Oa(e+n,0,null)}touches(e,t){let o=0,n=zd(t),i=this.inverted?2:1,a=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let d=this.ranges[l]-(this.inverted?o:0);if(d>e)break;let c=this.ranges[l+i],p=d+c;if(e<=p&&l==n*3)return!0;o+=this.ranges[l+a]-c}return!1}forEach(e){let t=this.inverted?2:1,o=this.inverted?1:2;for(let n=0,i=0;n<this.ranges.length;n+=3){let a=this.ranges[n],l=a-(this.inverted?i:0),d=a+(this.inverted?0:i),c=this.ranges[n+t],p=this.ranges[n+o];e(l,l+c,d,d+p),i+=p-c}}invert(){return new Fe(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?Fe.empty:new Fe(e<0?[0,-e,0]:[0,0,e])}}Fe.empty=new Fe([]);class So{constructor(e,t,o=0,n=e?e.length:0){this.mirror=t,this.from=o,this.to=n,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(e=0,t=this.maps.length){return new So(this._maps,this.mirror,e,t)}appendMap(e,t){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),t!=null&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,o=this._maps.length;t<e._maps.length;t++){let n=e.getMirror(t);this.appendMap(e._maps[t],n!=null&&n<t?o+n:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,o=this._maps.length+e._maps.length;t>=0;t--){let n=e.getMirror(t);this.appendMap(e._maps[t].invert(),n!=null&&n>t?o-n-1:void 0)}}invert(){let e=new So;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let o=this.from;o<this.to;o++)e=this._maps[o].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,o){let n=0;for(let i=this.from;i<this.to;i++){let a=this._maps[i],l=a.mapResult(e,t);if(l.recover!=null){let d=this.getMirror(i);if(d!=null&&d>i&&d<this.to){i=d,e=this._maps[d].recover(l.recover);continue}}n|=l.delInfo,e=l.pos}return o?e:new Oa(e,n,null)}}const Va=Object.create(null);class Ne{getMap(){return Fe.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let o=Va[t.stepType];if(!o)throw new RangeError(`No step type ${t.stepType} defined`);return o.fromJSON(e,t)}static jsonID(e,t){if(e in Va)throw new RangeError("Duplicate use of step JSON ID "+e);return Va[e]=t,t.prototype.jsonID=e,t}}class de{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new de(e,null)}static fail(e){return new de(null,e)}static fromReplace(e,t,o,n){try{return de.ok(e.replace(t,o,n))}catch(i){if(i instanceof An)return de.fail(i.message);throw i}}}function Pa(r,e,t){let o=[];for(let n=0;n<r.childCount;n++){let i=r.child(n);i.content.size&&(i=i.copy(Pa(i.content,e,i))),i.isInline&&(i=e(i,t,n)),o.push(i)}return B.fromArray(o)}class Ht extends Ne{constructor(e,t,o){super(),this.from=e,this.to=t,this.mark=o}apply(e){let t=e.slice(this.from,this.to),o=e.resolve(this.from),n=o.node(o.sharedDepth(this.to)),i=new P(Pa(t.content,(a,l)=>!a.isAtom||!l.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),n),t.openStart,t.openEnd);return de.fromReplace(e,this.from,this.to,i)}invert(){return new dt(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),o=e.mapResult(this.to,-1);return t.deleted&&o.deleted||t.pos>=o.pos?null:new Ht(t.pos,o.pos,this.mark)}merge(e){return e instanceof Ht&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Ht(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Ht(t.from,t.to,e.markFromJSON(t.mark))}}Ne.jsonID("addMark",Ht);class dt extends Ne{constructor(e,t,o){super(),this.from=e,this.to=t,this.mark=o}apply(e){let t=e.slice(this.from,this.to),o=new P(Pa(t.content,n=>n.mark(this.mark.removeFromSet(n.marks)),e),t.openStart,t.openEnd);return de.fromReplace(e,this.from,this.to,o)}invert(){return new Ht(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),o=e.mapResult(this.to,-1);return t.deleted&&o.deleted||t.pos>=o.pos?null:new dt(t.pos,o.pos,this.mark)}merge(e){return e instanceof dt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new dt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new dt(t.from,t.to,e.markFromJSON(t.mark))}}Ne.jsonID("removeMark",dt);class jt extends Ne{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return de.fail("No node at mark step's position");let o=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return de.fromReplace(e,this.pos,this.pos+1,new P(B.from(o),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let o=this.mark.addToSet(t.marks);if(o.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(o))return new jt(this.pos,t.marks[n]);return new jt(this.pos,this.mark)}}return new mr(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new jt(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new jt(t.pos,e.markFromJSON(t.mark))}}Ne.jsonID("addNodeMark",jt);class mr extends Ne{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return de.fail("No node at mark step's position");let o=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return de.fromReplace(e,this.pos,this.pos+1,new P(B.from(o),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new jt(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new mr(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new mr(t.pos,e.markFromJSON(t.mark))}}Ne.jsonID("removeNodeMark",mr);class he extends Ne{constructor(e,t,o,n=!1){super(),this.from=e,this.to=t,this.slice=o,this.structure=n}apply(e){return this.structure&&Aa(e,this.from,this.to)?de.fail("Structure replace would overwrite content"):de.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Fe([this.from,this.to-this.from,this.slice.size])}invert(e){return new he(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),o=e.mapResult(this.to,-1);return t.deletedAcross&&o.deletedAcross?null:new he(t.pos,Math.max(t.pos,o.pos),this.slice,this.structure)}merge(e){if(!(e instanceof he)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let t=this.slice.size+e.slice.size==0?P.empty:new P(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new he(this.from,this.to+(e.to-e.from),t,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let t=this.slice.size+e.slice.size==0?P.empty:new P(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new he(e.from,this.to,t,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new he(t.from,t.to,P.fromJSON(e,t.slice),!!t.structure)}}Ne.jsonID("replace",he);class ge extends Ne{constructor(e,t,o,n,i,a,l=!1){super(),this.from=e,this.to=t,this.gapFrom=o,this.gapTo=n,this.slice=i,this.insert=a,this.structure=l}apply(e){if(this.structure&&(Aa(e,this.from,this.gapFrom)||Aa(e,this.gapTo,this.to)))return de.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return de.fail("Gap is not a flat range");let o=this.slice.insertAt(this.insert,t.content);return o?de.fromReplace(e,this.from,this.to,o):de.fail("Content does not fit in gap")}getMap(){return new Fe([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new ge(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),o=e.mapResult(this.to,-1),n=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),i=this.to==this.gapTo?o.pos:e.map(this.gapTo,1);return t.deletedAcross&&o.deletedAcross||n<t.pos||i>o.pos?null:new ge(t.pos,o.pos,n,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number"||typeof t.gapFrom!="number"||typeof t.gapTo!="number"||typeof t.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new ge(t.from,t.to,t.gapFrom,t.gapTo,P.fromJSON(e,t.slice),t.insert,!!t.structure)}}Ne.jsonID("replaceAround",ge);function Aa(r,e,t){let o=r.resolve(e),n=t-e,i=o.depth;for(;n>0&&i>0&&o.indexAfter(i)==o.node(i).childCount;)i--,n--;if(n>0){let a=o.node(i).maybeChild(o.indexAfter(i));for(;n>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,n--}}return!1}function Sg(r,e,t,o){let n=[],i=[],a,l;r.doc.nodesBetween(e,t,(d,c,p)=>{if(!d.isInline)return;let u=d.marks;if(!o.isInSet(u)&&p.type.allowsMarkType(o.type)){let m=Math.max(c,e),h=Math.min(c+d.nodeSize,t),g=o.addToSet(u);for(let f=0;f<u.length;f++)u[f].isInSet(g)||(a&&a.to==m&&a.mark.eq(u[f])?a.to=h:n.push(a=new dt(m,h,u[f])));l&&l.to==m?l.to=h:i.push(l=new Ht(m,h,o))}}),n.forEach(d=>r.step(d)),i.forEach(d=>r.step(d))}function Ng(r,e,t,o){let n=[],i=0;r.doc.nodesBetween(e,t,(a,l)=>{if(!a.isInline)return;i++;let d=null;if(o instanceof Rn){let c=a.marks,p;for(;p=o.isInSet(c);)(d||(d=[])).push(p),c=p.removeFromSet(c)}else o?o.isInSet(a.marks)&&(d=[o]):d=a.marks;if(d&&d.length){let c=Math.min(l+a.nodeSize,t);for(let p=0;p<d.length;p++){let u=d[p],m;for(let h=0;h<n.length;h++){let g=n[h];g.step==i-1&&u.eq(n[h].style)&&(m=g)}m?(m.to=c,m.step=i):n.push({style:u,from:Math.max(l,e),to:c,step:i})}}}),n.forEach(a=>r.step(new dt(a.from,a.to,a.style)))}function Da(r,e,t,o=t.contentMatch,n=!0){let i=r.doc.nodeAt(e),a=[],l=e+1;for(let d=0;d<i.childCount;d++){let c=i.child(d),p=l+c.nodeSize,u=o.matchType(c.type);if(!u)a.push(new he(l,p,P.empty));else{o=u;for(let m=0;m<c.marks.length;m++)t.allowsMarkType(c.marks[m].type)||r.step(new dt(l,p,c.marks[m]));if(n&&c.isText&&t.whitespace!="pre"){let m,h=/\r?\n|\r/g,g;for(;m=h.exec(c.text);)g||(g=new P(B.from(t.schema.text(" ",t.allowedMarks(c.marks))),0,0)),a.push(new he(l+m.index,l+m.index+m[0].length,g))}}l=p}if(!o.validEnd){let d=o.fillBefore(B.empty,!0);r.replace(l,l,new P(d,0,0))}for(let d=a.length-1;d>=0;d--)r.step(a[d])}function Mg(r,e,t){return(e==0||r.canReplace(e,r.childCount))&&(t==r.childCount||r.canReplace(0,t))}function _r(r){let t=r.parent.content.cutByIndex(r.startIndex,r.endIndex);for(let o=r.depth;;--o){let n=r.$from.node(o),i=r.$from.index(o),a=r.$to.indexAfter(o);if(o<r.depth&&n.canReplace(i,a,t))return o;if(o==0||n.type.spec.isolating||!Mg(n,i,a))break}return null}function Bg(r,e,t){let{$from:o,$to:n,depth:i}=e,a=o.before(i+1),l=n.after(i+1),d=a,c=l,p=B.empty,u=0;for(let g=i,f=!1;g>t;g--)f||o.index(g)>0?(f=!0,p=B.from(o.node(g).copy(p)),u++):d--;let m=B.empty,h=0;for(let g=i,f=!1;g>t;g--)f||n.after(g+1)<n.end(g)?(f=!0,m=B.from(n.node(g).copy(m)),h++):c++;r.step(new ge(d,c,a,l,new P(p.append(m),u,h),p.size-u,!0))}function Ia(r,e,t=null,o=r){let n=Tg(r,e),i=n&&Og(o,e);return i?n.map(Wd).concat({type:e,attrs:t}).concat(i.map(Wd)):null}function Wd(r){return{type:r,attrs:null}}function Tg(r,e){let{parent:t,startIndex:o,endIndex:n}=r,i=t.contentMatchAt(o).findWrapping(e);if(!i)return null;let a=i.length?i[0]:e;return t.canReplaceWith(o,n,a)?i:null}function Og(r,e){let{parent:t,startIndex:o,endIndex:n}=r,i=t.child(o),a=e.contentMatch.findWrapping(i.type);if(!a)return null;let d=(a.length?a[a.length-1]:e).contentMatch;for(let c=o;d&&c<n;c++)d=d.matchType(t.child(c).type);return!d||!d.validEnd?null:a}function Vg(r,e,t){let o=B.empty;for(let a=t.length-1;a>=0;a--){if(o.size){let l=t[a].type.contentMatch.matchFragment(o);if(!l||!l.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}o=B.from(t[a].type.create(t[a].attrs,o))}let n=e.start,i=e.end;r.step(new ge(n,i,n,i,new P(o,0,0),t.length,!0))}function Pg(r,e,t,o,n){if(!o.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=r.steps.length;r.doc.nodesBetween(e,t,(a,l)=>{let d=typeof n=="function"?n(a):n;if(a.isTextblock&&!a.hasMarkup(o,d)&&Ag(r.doc,r.mapping.slice(i).map(l),o)){let c=null;if(o.schema.linebreakReplacement){let h=o.whitespace=="pre",g=!!o.contentMatch.matchType(o.schema.linebreakReplacement);h&&!g?c=!1:!h&&g&&(c=!0)}c===!1&&Ud(r,a,l,i),Da(r,r.mapping.slice(i).map(l,1),o,void 0,c===null);let p=r.mapping.slice(i),u=p.map(l,1),m=p.map(l+a.nodeSize,1);return r.step(new ge(u,m,u+1,m-1,new P(B.from(o.create(d,null,a.marks)),0,0),1,!0)),c===!0&&qd(r,a,l,i),!1}})}function qd(r,e,t,o){e.forEach((n,i)=>{if(n.isText){let a,l=/\r?\n|\r/g;for(;a=l.exec(n.text);){let d=r.mapping.slice(o).map(t+1+i+a.index);r.replaceWith(d,d+1,e.type.schema.linebreakReplacement.create())}}})}function Ud(r,e,t,o){e.forEach((n,i)=>{if(n.type==n.type.schema.linebreakReplacement){let a=r.mapping.slice(o).map(t+1+i);r.replaceWith(a,a+1,e.type.schema.text(`
15
+ `))}})}function Ag(r,e,t){let o=r.resolve(e),n=o.index();return o.parent.canReplaceWith(n,n+1,t)}function Dg(r,e,t,o,n){let i=r.doc.nodeAt(e);if(!i)throw new RangeError("No node at given position");t||(t=i.type);let a=t.create(o,null,n||i.marks);if(i.isLeaf)return r.replaceWith(e,e+i.nodeSize,a);if(!t.validContent(i.content))throw new RangeError("Invalid content for node type "+t.name);r.step(new ge(e,e+i.nodeSize,e+1,e+i.nodeSize-1,new P(B.from(a),0,0),1,!0))}function vt(r,e,t=1,o){let n=r.resolve(e),i=n.depth-t,a=o&&o[o.length-1]||n.parent;if(i<0||n.parent.type.spec.isolating||!n.parent.canReplace(n.index(),n.parent.childCount)||!a.type.validContent(n.parent.content.cutByIndex(n.index(),n.parent.childCount)))return!1;for(let c=n.depth-1,p=t-2;c>i;c--,p--){let u=n.node(c),m=n.index(c);if(u.type.spec.isolating)return!1;let h=u.content.cutByIndex(m,u.childCount),g=o&&o[p+1];g&&(h=h.replaceChild(0,g.type.create(g.attrs)));let f=o&&o[p]||u;if(!u.canReplace(m+1,u.childCount)||!f.type.validContent(h))return!1}let l=n.indexAfter(i),d=o&&o[0];return n.node(i).canReplaceWith(l,l,d?d.type:n.node(i+1).type)}function Ig(r,e,t=1,o){let n=r.doc.resolve(e),i=B.empty,a=B.empty;for(let l=n.depth,d=n.depth-t,c=t-1;l>d;l--,c--){i=B.from(n.node(l).copy(i));let p=o&&o[c];a=B.from(p?p.type.create(p.attrs,a):n.node(l).copy(a))}r.step(new he(e,e,new P(i.append(a),t,t),!0))}function Wt(r,e){let t=r.resolve(e),o=t.index();return Kd(t.nodeBefore,t.nodeAfter)&&t.parent.canReplace(o,o+1)}function Lg(r,e){e.content.size||r.type.compatibleContent(e.type);let t=r.contentMatchAt(r.childCount),{linebreakReplacement:o}=r.type.schema;for(let n=0;n<e.childCount;n++){let i=e.child(n),a=i.type==o?r.type.schema.nodes.text:i.type;if(t=t.matchType(a),!t||!r.type.allowsMarks(i.marks))return!1}return t.validEnd}function Kd(r,e){return!!(r&&e&&!r.isLeaf&&Lg(r,e))}function Hn(r,e,t=-1){let o=r.resolve(e);for(let n=o.depth;;n--){let i,a,l=o.index(n);if(n==o.depth?(i=o.nodeBefore,a=o.nodeAfter):t>0?(i=o.node(n+1),l++,a=o.node(n).maybeChild(l)):(i=o.node(n).maybeChild(l-1),a=o.node(n+1)),i&&!i.isTextblock&&Kd(i,a)&&o.node(n).canReplace(l,l+1))return e;if(n==0)break;e=t<0?o.before(n):o.after(n)}}function Rg(r,e,t){let o=null,{linebreakReplacement:n}=r.doc.type.schema,i=r.doc.resolve(e-t),a=i.node().type;if(n&&a.inlineContent){let p=a.whitespace=="pre",u=!!a.contentMatch.matchType(n);p&&!u?o=!1:!p&&u&&(o=!0)}let l=r.steps.length;if(o===!1){let p=r.doc.resolve(e+t);Ud(r,p.node(),p.before(),l)}a.inlineContent&&Da(r,e+t-1,a,i.node().contentMatchAt(i.index()),o==null);let d=r.mapping.slice(l),c=d.map(e-t);if(r.step(new he(c,d.map(e+t,-1),P.empty,!0)),o===!0){let p=r.doc.resolve(c);qd(r,p.node(),p.before(),r.steps.length)}return r}function _g(r,e,t){let o=r.resolve(e);if(o.parent.canReplaceWith(o.index(),o.index(),t))return e;if(o.parentOffset==0)for(let n=o.depth-1;n>=0;n--){let i=o.index(n);if(o.node(n).canReplaceWith(i,i,t))return o.before(n+1);if(i>0)return null}if(o.parentOffset==o.parent.content.size)for(let n=o.depth-1;n>=0;n--){let i=o.indexAfter(n);if(o.node(n).canReplaceWith(i,i,t))return o.after(n+1);if(i<o.node(n).childCount)return null}return null}function Gd(r,e,t){let o=r.resolve(e);if(!t.content.size)return e;let n=t.content;for(let i=0;i<t.openStart;i++)n=n.firstChild.content;for(let i=1;i<=(t.openStart==0&&t.size?2:1);i++)for(let a=o.depth;a>=0;a--){let l=a==o.depth?0:o.pos<=(o.start(a+1)+o.end(a+1))/2?-1:1,d=o.index(a)+(l>0?1:0),c=o.node(a),p=!1;if(i==1)p=c.canReplace(d,d,n);else{let u=c.contentMatchAt(d).findWrapping(n.firstChild.type);p=u&&c.canReplaceWith(d,d,u[0])}if(p)return l==0?o.pos:l<0?o.before(a+1):o.after(a+1)}return null}function jn(r,e,t=e,o=P.empty){if(e==t&&!o.size)return null;let n=r.resolve(e),i=r.resolve(t);return Jd(n,i,o)?new he(e,t,o):new zg(n,i,o).fit()}function Jd(r,e,t){return!t.openStart&&!t.openEnd&&r.start()==e.start()&&r.parent.canReplace(r.index(),e.index(),t.content)}class zg{constructor(e,t,o){this.$from=e,this.$to=t,this.unplaced=o,this.frontier=[],this.placed=B.empty;for(let n=0;n<=e.depth;n++){let i=e.node(n);this.frontier.push({type:i.type,match:i.contentMatchAt(e.indexAfter(n))})}for(let n=e.depth;n>0;n--)this.placed=B.from(e.node(n).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,o=this.$from,n=this.close(e<0?this.$to:o.doc.resolve(e));if(!n)return null;let i=this.placed,a=o.depth,l=n.depth;for(;a&&l&&i.childCount==1;)i=i.firstChild.content,a--,l--;let d=new P(i,a,l);return e>-1?new ge(o.pos,e,this.$to.pos,this.$to.end(),d,t):d.size||o.pos!=this.$to.pos?new he(o.pos,n.pos,d):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,o=0,n=this.unplaced.openEnd;o<e;o++){let i=t.firstChild;if(t.childCount>1&&(n=0),i.type.spec.isolating&&n<=o){e=o;break}t=i.content}for(let t=1;t<=2;t++)for(let o=t==1?e:this.unplaced.openStart;o>=0;o--){let n,i=null;o?(i=La(this.unplaced.content,o-1).firstChild,n=i.content):n=this.unplaced.content;let a=n.firstChild;for(let l=this.depth;l>=0;l--){let{type:d,match:c}=this.frontier[l],p,u=null;if(t==1&&(a?c.matchType(a.type)||(u=c.fillBefore(B.from(a),!1)):i&&d.compatibleContent(i.type)))return{sliceDepth:o,frontierDepth:l,parent:i,inject:u};if(t==2&&a&&(p=c.findWrapping(a.type)))return{sliceDepth:o,frontierDepth:l,parent:i,wrap:p};if(i&&c.matchType(i.type))break}}}openMore(){let{content:e,openStart:t,openEnd:o}=this.unplaced,n=La(e,t);return!n.childCount||n.firstChild.isLeaf?!1:(this.unplaced=new P(e,t+1,Math.max(o,n.size+t>=e.size-o?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:o}=this.unplaced,n=La(e,t);if(n.childCount<=1&&t>0){let i=e.size-t<=t+n.size;this.unplaced=new P(No(e,t-1,1),t-1,i?t-1:o)}else this.unplaced=new P(No(e,t,1),t,o)}placeNodes({sliceDepth:e,frontierDepth:t,parent:o,inject:n,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let f=0;f<i.length;f++)this.openFrontierNode(i[f]);let a=this.unplaced,l=o?o.content:a.content,d=a.openStart-e,c=0,p=[],{match:u,type:m}=this.frontier[t];if(n){for(let f=0;f<n.childCount;f++)p.push(n.child(f));u=u.matchFragment(n)}let h=l.size+e-(a.content.size-a.openEnd);for(;c<l.childCount;){let f=l.child(c),b=u.matchType(f.type);if(!b)break;c++,(c>1||d==0||f.content.size)&&(u=b,p.push(Yd(f.mark(m.allowedMarks(f.marks)),c==1?d:0,c==l.childCount?h:-1)))}let g=c==l.childCount;g||(h=-1),this.placed=Mo(this.placed,t,B.from(p)),this.frontier[t].match=u,g&&h<0&&o&&o.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let f=0,b=l;f<h;f++){let w=b.lastChild;this.frontier.push({type:w.type,match:w.contentMatchAt(w.childCount)}),b=w.content}this.unplaced=g?e==0?P.empty:new P(No(a.content,e-1,1),e-1,h<0?a.openEnd:e-1):new P(No(a.content,e,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!Ra(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1;let{depth:o}=this.$to,n=this.$to.after(o);for(;o>1&&n==this.$to.end(--o);)++n;return n}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:o,type:n}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=Ra(e,t,n,o,i);if(a){for(let l=t-1;l>=0;l--){let{match:d,type:c}=this.frontier[l],p=Ra(e,l,c,d,!0);if(!p||p.childCount)continue e}return{depth:t,fit:a,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=Mo(this.placed,t.depth,t.fit)),e=t.move;for(let o=t.depth+1;o<=e.depth;o++){let n=e.node(o),i=n.type.contentMatch.fillBefore(n.content,!0,e.index(o));this.openFrontierNode(n.type,n.attrs,i)}return e}openFrontierNode(e,t=null,o){let n=this.frontier[this.depth];n.match=n.match.matchType(e),this.placed=Mo(this.placed,this.depth,B.from(e.create(t,o))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(B.empty,!0);t.childCount&&(this.placed=Mo(this.placed,this.frontier.length,t))}}function No(r,e,t){return e==0?r.cutByIndex(t,r.childCount):r.replaceChild(0,r.firstChild.copy(No(r.firstChild.content,e-1,t)))}function Mo(r,e,t){return e==0?r.append(t):r.replaceChild(r.childCount-1,r.lastChild.copy(Mo(r.lastChild.content,e-1,t)))}function La(r,e){for(let t=0;t<e;t++)r=r.firstChild.content;return r}function Yd(r,e,t){if(e<=0)return r;let o=r.content;return e>1&&(o=o.replaceChild(0,Yd(o.firstChild,e-1,o.childCount==1?t-1:0))),e>0&&(o=r.type.contentMatch.fillBefore(o).append(o),t<=0&&(o=o.append(r.type.contentMatch.matchFragment(o).fillBefore(B.empty,!0)))),r.copy(o)}function Ra(r,e,t,o,n){let i=r.node(e),a=n?r.indexAfter(e):r.index(e);if(a==i.childCount&&!t.compatibleContent(i.type))return null;let l=o.fillBefore(i.content,!0,a);return l&&!Fg(t,i.content,a)?l:null}function Fg(r,e,t){for(let o=t;o<e.childCount;o++)if(!r.allowsMarks(e.child(o).marks))return!0;return!1}function Hg(r){return r.spec.defining||r.spec.definingForContent}function jg(r,e,t,o){if(!o.size)return r.deleteRange(e,t);let n=r.doc.resolve(e),i=r.doc.resolve(t);if(Jd(n,i,o))return r.step(new he(e,t,o));let a=Xd(n,r.doc.resolve(t));a[a.length-1]==0&&a.pop();let l=-(n.depth+1);a.unshift(l);for(let m=n.depth,h=n.pos-1;m>0;m--,h--){let g=n.node(m).type.spec;if(g.defining||g.definingAsContext||g.isolating)break;a.indexOf(m)>-1?l=m:n.before(m)==h&&a.splice(1,0,-m)}let d=a.indexOf(l),c=[],p=o.openStart;for(let m=o.content,h=0;;h++){let g=m.firstChild;if(c.push(g),h==o.openStart)break;m=g.content}for(let m=p-1;m>=0;m--){let h=c[m],g=Hg(h.type);if(g&&!h.sameMarkup(n.node(Math.abs(l)-1)))p=m;else if(g||!h.type.isTextblock)break}for(let m=o.openStart;m>=0;m--){let h=(m+p+1)%(o.openStart+1),g=c[h];if(g)for(let f=0;f<a.length;f++){let b=a[(f+d)%a.length],w=!0;b<0&&(w=!1,b=-b);let C=n.node(b-1),k=n.index(b-1);if(C.canReplaceWith(k,k,g.type,g.marks))return r.replace(n.before(b),w?i.after(b):t,new P(Qd(o.content,0,o.openStart,h),h,o.openEnd))}}let u=r.steps.length;for(let m=a.length-1;m>=0&&(r.replace(e,t,o),!(r.steps.length>u));m--){let h=a[m];h<0||(e=n.before(h),t=i.after(h))}}function Qd(r,e,t,o,n){if(e<t){let i=r.firstChild;r=r.replaceChild(0,i.copy(Qd(i.content,e+1,t,o,i)))}if(e>o){let i=n.contentMatchAt(0),a=i.fillBefore(r).append(r);r=a.append(i.matchFragment(a).fillBefore(B.empty,!0))}return r}function Wg(r,e,t,o){if(!o.isInline&&e==t&&r.doc.resolve(e).parent.content.size){let n=_g(r.doc,e,o.type);n!=null&&(e=t=n)}r.replaceRange(e,t,new P(B.from(o),0,0))}function qg(r,e,t){let o=r.doc.resolve(e),n=r.doc.resolve(t),i=Xd(o,n);for(let a=0;a<i.length;a++){let l=i[a],d=a==i.length-1;if(d&&l==0||o.node(l).type.contentMatch.validEnd)return r.delete(o.start(l),n.end(l));if(l>0&&(d||o.node(l-1).canReplace(o.index(l-1),n.indexAfter(l-1))))return r.delete(o.before(l),n.after(l))}for(let a=1;a<=o.depth&&a<=n.depth;a++)if(e-o.start(a)==o.depth-a&&t>o.end(a)&&n.end(a)-t!=n.depth-a&&o.start(a-1)==n.start(a-1)&&o.node(a-1).canReplace(o.index(a-1),n.index(a-1)))return r.delete(o.before(a),t);r.delete(e,t)}function Xd(r,e){let t=[],o=Math.min(r.depth,e.depth);for(let n=o;n>=0;n--){let i=r.start(n);if(i<r.pos-(r.depth-n)||e.end(n)>e.pos+(e.depth-n)||r.node(n).type.spec.isolating||e.node(n).type.spec.isolating)break;(i==e.start(n)||n==r.depth&&n==e.depth&&r.parent.inlineContent&&e.parent.inlineContent&&n&&e.start(n-1)==i-1)&&t.push(n)}return t}class zr extends Ne{constructor(e,t,o){super(),this.pos=e,this.attr=t,this.value=o}apply(e){let t=e.nodeAt(this.pos);if(!t)return de.fail("No node at attribute step's position");let o=Object.create(null);for(let i in t.attrs)o[i]=t.attrs[i];o[this.attr]=this.value;let n=t.type.create(o,null,t.marks);return de.fromReplace(e,this.pos,this.pos+1,new P(B.from(n),0,t.isLeaf?0:1))}getMap(){return Fe.empty}invert(e){return new zr(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new zr(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.pos!="number"||typeof t.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new zr(t.pos,t.attr,t.value)}}Ne.jsonID("attr",zr);class Bo extends Ne{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let o=e.type.create(t,e.content,e.marks);return de.ok(o)}getMap(){return Fe.empty}invert(e){return new Bo(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Bo(t.attr,t.value)}}Ne.jsonID("docAttr",Bo);let Fr=class extends Error{};Fr=function r(e){let t=Error.call(this,e);return t.__proto__=r.prototype,t},Fr.prototype=Object.create(Error.prototype),Fr.prototype.constructor=Fr,Fr.prototype.name="TransformError";class Zd{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new So}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Fr(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,o=P.empty){let n=jn(this.doc,e,t,o);return n&&this.step(n),this}replaceWith(e,t,o){return this.replace(e,t,new P(B.from(o),0,0))}delete(e,t){return this.replace(e,t,P.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,o){return jg(this,e,t,o),this}replaceRangeWith(e,t,o){return Wg(this,e,t,o),this}deleteRange(e,t){return qg(this,e,t),this}lift(e,t){return Bg(this,e,t),this}join(e,t=1){return Rg(this,e,t),this}wrap(e,t){return Vg(this,e,t),this}setBlockType(e,t=e,o,n=null){return Pg(this,e,t,o,n),this}setNodeMarkup(e,t,o=null,n){return Dg(this,e,t,o,n),this}setNodeAttribute(e,t,o){return this.step(new zr(e,t,o)),this}setDocAttribute(e,t){return this.step(new Bo(e,t)),this}addNodeMark(e,t){return this.step(new jt(e,t)),this}removeNodeMark(e,t){let o=this.doc.nodeAt(e);if(!o)throw new RangeError("No node at position "+e);if(t instanceof X)t.isInSet(o.marks)&&this.step(new mr(e,t));else{let n=o.marks,i,a=[];for(;i=t.isInSet(n);)a.push(new mr(e,i)),n=i.removeFromSet(n);for(let l=a.length-1;l>=0;l--)this.step(a[l])}return this}split(e,t=1,o){return Ig(this,e,t,o),this}addMark(e,t,o){return Sg(this,e,t,o),this}removeMark(e,t,o){return Ng(this,e,t,o),this}clearIncompatible(e,t,o){return Da(this,e,t,o),this}}const _a=Object.create(null);class H{constructor(e,t,o){this.$anchor=e,this.$head=t,this.ranges=o||[new Ug(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=P.empty){let o=t.content.lastChild,n=null;for(let l=0;l<t.openEnd;l++)n=o,o=o.lastChild;let i=e.steps.length,a=this.ranges;for(let l=0;l<a.length;l++){let{$from:d,$to:c}=a[l],p=e.mapping.slice(i);e.replaceRange(p.map(d.pos),p.map(c.pos),l?P.empty:t),l==0&&tc(e,i,(o?o.isInline:n&&n.isTextblock)?-1:1)}}replaceWith(e,t){let o=e.steps.length,n=this.ranges;for(let i=0;i<n.length;i++){let{$from:a,$to:l}=n[i],d=e.mapping.slice(o),c=d.map(a.pos),p=d.map(l.pos);i?e.deleteRange(c,p):(e.replaceRangeWith(c,p,t),tc(e,o,t.isInline?-1:1))}}static findFrom(e,t,o=!1){let n=e.parent.inlineContent?new _(e):Hr(e.node(0),e.parent,e.pos,e.index(),t,o);if(n)return n;for(let i=e.depth-1;i>=0;i--){let a=t<0?Hr(e.node(0),e.node(i),e.before(i+1),e.index(i),t,o):Hr(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,o);if(a)return a}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new He(e.node(0))}static atStart(e){return Hr(e,e,0,0,1)||new He(e)}static atEnd(e){return Hr(e,e,e.content.size,e.childCount,-1)||new He(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let o=_a[t.type];if(!o)throw new RangeError(`No selection type ${t.type} defined`);return o.fromJSON(e,t)}static jsonID(e,t){if(e in _a)throw new RangeError("Duplicate use of selection JSON ID "+e);return _a[e]=t,t.prototype.jsonID=e,t}getBookmark(){return _.between(this.$anchor,this.$head).getBookmark()}}H.prototype.visible=!0;class Ug{constructor(e,t){this.$from=e,this.$to=t}}let $d=!1;function ec(r){!$d&&!r.parent.inlineContent&&($d=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+r.parent.type.name+")"))}class _ extends H{constructor(e,t=e){ec(e),ec(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let o=e.resolve(t.map(this.head));if(!o.parent.inlineContent)return H.near(o);let n=e.resolve(t.map(this.anchor));return new _(n.parent.inlineContent?n:o,o)}replace(e,t=P.empty){if(super.replace(e,t),t==P.empty){let o=this.$from.marksAcross(this.$to);o&&e.ensureMarks(o)}}eq(e){return e instanceof _&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Wn(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if(typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new _(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,o=t){let n=e.resolve(t);return new this(n,o==t?n:e.resolve(o))}static between(e,t,o){let n=e.pos-t.pos;if((!o||n)&&(o=n>=0?1:-1),!t.parent.inlineContent){let i=H.findFrom(t,o,!0)||H.findFrom(t,-o,!0);if(i)t=i.$head;else return H.near(t,o)}return e.parent.inlineContent||(n==0?e=t:(e=(H.findFrom(e,-o,!0)||H.findFrom(e,o,!0)).$anchor,e.pos<t.pos!=n<0&&(e=t))),new _(e,t)}}H.jsonID("text",_);class Wn{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Wn(e.map(this.anchor),e.map(this.head))}resolve(e){return _.between(e.resolve(this.anchor),e.resolve(this.head))}}class L extends H{constructor(e){let t=e.nodeAfter,o=e.node(0).resolve(e.pos+t.nodeSize);super(e,o),this.node=t}map(e,t){let{deleted:o,pos:n}=t.mapResult(this.anchor),i=e.resolve(n);return o?H.near(i):new L(i)}content(){return new P(B.from(this.node),0,0)}eq(e){return e instanceof L&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new za(this.anchor)}static fromJSON(e,t){if(typeof t.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new L(e.resolve(t.anchor))}static create(e,t){return new L(e.resolve(t))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}L.prototype.visible=!1,H.jsonID("node",L);class za{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:o}=e.mapResult(this.anchor);return t?new Wn(o,o):new za(o)}resolve(e){let t=e.resolve(this.anchor),o=t.nodeAfter;return o&&L.isSelectable(o)?new L(t):H.near(t)}}class He extends H{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=P.empty){if(t==P.empty){e.delete(0,e.doc.content.size);let o=H.atStart(e.doc);o.eq(e.selection)||e.setSelection(o)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new He(e)}map(e){return new He(e)}eq(e){return e instanceof He}getBookmark(){return Kg}}H.jsonID("all",He);const Kg={map(){return this},resolve(r){return new He(r)}};function Hr(r,e,t,o,n,i=!1){if(e.inlineContent)return _.create(r,t);for(let a=o-(n>0?0:1);n>0?a<e.childCount:a>=0;a+=n){let l=e.child(a);if(l.isAtom){if(!i&&L.isSelectable(l))return L.create(r,t-(n<0?l.nodeSize:0))}else{let d=Hr(r,l,t+n,n<0?l.childCount:0,n,i);if(d)return d}t+=l.nodeSize*n}return null}function tc(r,e,t){let o=r.steps.length-1;if(o<e)return;let n=r.steps[o];if(!(n instanceof he||n instanceof ge))return;let i=r.mapping.maps[o],a;i.forEach((l,d,c,p)=>{a==null&&(a=p)}),r.setSelection(H.near(r.doc.resolve(a),t))}const rc=1,qn=2,oc=4;class Gg extends Zd{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|rc)&~qn,this.storedMarks=null,this}get selectionSet(){return(this.updated&rc)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=qn,this}ensureMarks(e){return X.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&qn)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~qn,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let o=this.selection;return t&&(e=e.mark(this.storedMarks||(o.empty?o.$from.marks():o.$from.marksAcross(o.$to)||X.none))),o.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,o){let n=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(n.text(e),!0):this.deleteSelection();{if(o==null&&(o=t),o=o??t,!e)return this.deleteRange(t,o);let i=this.storedMarks;if(!i){let a=this.doc.resolve(t);i=o==t?a.marks():a.marksAcross(this.doc.resolve(o))}return this.replaceRangeWith(t,o,n.text(e,i)),this.selection.empty||this.setSelection(H.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e=="string"?e:e.key]=t,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=oc,this}get scrolledIntoView(){return(this.updated&oc)>0}}function nc(r,e){return!e||!r?r:r.bind(e)}class To{constructor(e,t,o){this.name=e,this.init=nc(t.init,o),this.apply=nc(t.apply,o)}}const Jg=[new To("doc",{init(r){return r.doc||r.schema.topNodeType.createAndFill()},apply(r){return r.doc}}),new To("selection",{init(r,e){return r.selection||H.atStart(e.doc)},apply(r){return r.selection}}),new To("storedMarks",{init(r){return r.storedMarks||null},apply(r,e,t,o){return o.selection.$cursor?r.storedMarks:null}}),new To("scrollToSelection",{init(){return 0},apply(r,e){return r.scrolledIntoView?e+1:e}})];class Fa{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Jg.slice(),t&&t.forEach(o=>{if(this.pluginsByKey[o.key])throw new RangeError("Adding different instances of a keyed plugin ("+o.key+")");this.plugins.push(o),this.pluginsByKey[o.key]=o,o.spec.state&&this.fields.push(new To(o.key,o.spec.state,o))})}}class jr{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let o=0;o<this.config.plugins.length;o++)if(o!=t){let n=this.config.plugins[o];if(n.spec.filterTransaction&&!n.spec.filterTransaction.call(n,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],o=this.applyInner(e),n=null;for(;;){let i=!1;for(let a=0;a<this.config.plugins.length;a++){let l=this.config.plugins[a];if(l.spec.appendTransaction){let d=n?n[a].n:0,c=n?n[a].state:this,p=d<t.length&&l.spec.appendTransaction.call(l,d?t.slice(d):t,c,o);if(p&&o.filterTransaction(p,a)){if(p.setMeta("appendedTransaction",e),!n){n=[];for(let u=0;u<this.config.plugins.length;u++)n.push(u<a?{state:o,n:t.length}:{state:this,n:0})}t.push(p),o=o.applyInner(p),i=!0}n&&(n[a]={state:o,n:t.length})}}if(!i)return{state:o,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new jr(this.config),o=this.config.fields;for(let n=0;n<o.length;n++){let i=o[n];t[i.name]=i.apply(e,this[i.name],this,t)}return t}get tr(){return new Gg(this)}static create(e){let t=new Fa(e.doc?e.doc.type.schema:e.schema,e.plugins),o=new jr(t);for(let n=0;n<t.fields.length;n++)o[t.fields[n].name]=t.fields[n].init(e,o);return o}reconfigure(e){let t=new Fa(this.schema,e.plugins),o=t.fields,n=new jr(t);for(let i=0;i<o.length;i++){let a=o[i].name;n[a]=this.hasOwnProperty(a)?this[a]:o[i].init(e,n)}return n}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(o=>o.toJSON())),e&&typeof e=="object")for(let o in e){if(o=="doc"||o=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let n=e[o],i=n.spec.state;i&&i.toJSON&&(t[o]=i.toJSON.call(n,this[n.key]))}return t}static fromJSON(e,t,o){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let n=new Fa(e.schema,e.plugins),i=new jr(n);return n.fields.forEach(a=>{if(a.name=="doc")i.doc=Ft.fromJSON(e.schema,t.doc);else if(a.name=="selection")i.selection=H.fromJSON(i.doc,t.selection);else if(a.name=="storedMarks")t.storedMarks&&(i.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(o)for(let l in o){let d=o[l],c=d.spec.state;if(d.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(t,l)){i[a.name]=c.fromJSON.call(d,e,t[l],i);return}}i[a.name]=a.init(e,i)}}),i}}function ic(r,e,t){for(let o in r){let n=r[o];n instanceof Function?n=n.bind(e):o=="handleDOMEvents"&&(n=ic(n,e,{})),t[o]=n}return t}class pe{constructor(e){this.spec=e,this.props={},e.props&&ic(e.props,this,this.props),this.key=e.key?e.key.key:ac("plugin")}getState(e){return e[this.key]}}const Ha=Object.create(null);function ac(r){return r in Ha?r+"$"+ ++Ha[r]:(Ha[r]=0,r+"$")}class Oe{constructor(e="key"){this.key=ac(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const ve=function(r){for(var e=0;;e++)if(r=r.previousSibling,!r)return e},Wr=function(r){let e=r.assignedSlot||r.parentNode;return e&&e.nodeType==11?e.host:e};let ja=null;const kt=function(r,e,t){let o=ja||(ja=document.createRange());return o.setEnd(r,t??r.nodeValue.length),o.setStart(r,e||0),o},Yg=function(){ja=null},hr=function(r,e,t,o){return t&&(sc(r,e,t,o,-1)||sc(r,e,t,o,1))},Qg=/^(img|br|input|textarea|hr)$/i;function sc(r,e,t,o,n){for(var i;;){if(r==t&&e==o)return!0;if(e==(n<0?0:Ue(r))){let a=r.parentNode;if(!a||a.nodeType!=1||Oo(r)||Qg.test(r.nodeName)||r.contentEditable=="false")return!1;e=ve(r)+(n<0?0:1),r=a}else if(r.nodeType==1){let a=r.childNodes[e+(n<0?-1:0)];if(a.nodeType==1&&a.contentEditable=="false")if(!((i=a.pmViewDesc)===null||i===void 0)&&i.ignoreForSelection)e+=n;else return!1;else r=a,e=n<0?Ue(r):0}else return!1}}function Ue(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}function Xg(r,e){for(;;){if(r.nodeType==3&&e)return r;if(r.nodeType==1&&e>0){if(r.contentEditable=="false")return null;r=r.childNodes[e-1],e=Ue(r)}else if(r.parentNode&&!Oo(r))e=ve(r),r=r.parentNode;else return null}}function Zg(r,e){for(;;){if(r.nodeType==3&&e<r.nodeValue.length)return r;if(r.nodeType==1&&e<r.childNodes.length){if(r.contentEditable=="false")return null;r=r.childNodes[e],e=0}else if(r.parentNode&&!Oo(r))e=ve(r)+1,r=r.parentNode;else return null}}function $g(r,e,t){for(let o=e==0,n=e==Ue(r);o||n;){if(r==t)return!0;let i=ve(r);if(r=r.parentNode,!r)return!1;o=o&&i==0,n=n&&i==Ue(r)}}function Oo(r){let e;for(let t=r;t&&!(e=t.pmViewDesc);t=t.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==r||e.contentDOM==r)}const Un=function(r){return r.focusNode&&hr(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)};function gr(r,e){let t=document.createEvent("Event");return t.initEvent("keydown",!0,!0),t.keyCode=r,t.key=t.code=e,t}function ef(r){let e=r.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function tf(r,e,t){if(r.caretPositionFromPoint)try{let o=r.caretPositionFromPoint(e,t);if(o)return{node:o.offsetNode,offset:Math.min(Ue(o.offsetNode),o.offset)}}catch{}if(r.caretRangeFromPoint){let o=r.caretRangeFromPoint(e,t);if(o)return{node:o.startContainer,offset:Math.min(Ue(o.startContainer),o.startOffset)}}}const ct=typeof navigator<"u"?navigator:null,lc=typeof document<"u"?document:null,qt=ct&&ct.userAgent||"",Wa=/Edge\/(\d+)/.exec(qt),dc=/MSIE \d/.exec(qt),qa=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(qt),Le=!!(dc||qa||Wa),Ut=dc?document.documentMode:qa?+qa[1]:Wa?+Wa[1]:0,rt=!Le&&/gecko\/(\d+)/i.test(qt);rt&&+(/Firefox\/(\d+)/.exec(qt)||[0,0])[1];const Ua=!Le&&/Chrome\/(\d+)/.exec(qt),Me=!!Ua,cc=Ua?+Ua[1]:0,Ve=!Le&&!!ct&&/Apple Computer/.test(ct.vendor),qr=Ve&&(/Mobile\/\w+/.test(qt)||!!ct&&ct.maxTouchPoints>2),Ke=qr||(ct?/Mac/.test(ct.platform):!1),rf=ct?/Win/.test(ct.platform):!1,Et=/Android \d/.test(qt),Vo=!!lc&&"webkitFontSmoothing"in lc.documentElement.style,of=Vo?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function nf(r){let e=r.defaultView&&r.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:r.documentElement.clientWidth,top:0,bottom:r.documentElement.clientHeight}}function Ct(r,e){return typeof r=="number"?r:r[e]}function af(r){let e=r.getBoundingClientRect(),t=e.width/r.offsetWidth||1,o=e.height/r.offsetHeight||1;return{left:e.left,right:e.left+r.clientWidth*t,top:e.top,bottom:e.top+r.clientHeight*o}}function pc(r,e,t){let o=r.someProp("scrollThreshold")||0,n=r.someProp("scrollMargin")||5,i=r.dom.ownerDocument;for(let a=t||r.dom;a;){if(a.nodeType!=1){a=Wr(a);continue}let l=a,d=l==i.body,c=d?nf(i):af(l),p=0,u=0;if(e.top<c.top+Ct(o,"top")?u=-(c.top-e.top+Ct(n,"top")):e.bottom>c.bottom-Ct(o,"bottom")&&(u=e.bottom-e.top>c.bottom-c.top?e.top+Ct(n,"top")-c.top:e.bottom-c.bottom+Ct(n,"bottom")),e.left<c.left+Ct(o,"left")?p=-(c.left-e.left+Ct(n,"left")):e.right>c.right-Ct(o,"right")&&(p=e.right-c.right+Ct(n,"right")),p||u)if(d)i.defaultView.scrollBy(p,u);else{let h=l.scrollLeft,g=l.scrollTop;u&&(l.scrollTop+=u),p&&(l.scrollLeft+=p);let f=l.scrollLeft-h,b=l.scrollTop-g;e={left:e.left-f,top:e.top-b,right:e.right-f,bottom:e.bottom-b}}let m=d?"fixed":getComputedStyle(a).position;if(/^(fixed|sticky)$/.test(m))break;a=m=="absolute"?a.offsetParent:Wr(a)}}function sf(r){let e=r.dom.getBoundingClientRect(),t=Math.max(0,e.top),o,n;for(let i=(e.left+e.right)/2,a=t+1;a<Math.min(innerHeight,e.bottom);a+=5){let l=r.root.elementFromPoint(i,a);if(!l||l==r.dom||!r.dom.contains(l))continue;let d=l.getBoundingClientRect();if(d.top>=t-20){o=l,n=d.top;break}}return{refDOM:o,refTop:n,stack:uc(r.dom)}}function uc(r){let e=[],t=r.ownerDocument;for(let o=r;o&&(e.push({dom:o,top:o.scrollTop,left:o.scrollLeft}),r!=t);o=Wr(o));return e}function lf({refDOM:r,refTop:e,stack:t}){let o=r?r.getBoundingClientRect().top:0;mc(t,o==0?0:o-e)}function mc(r,e){for(let t=0;t<r.length;t++){let{dom:o,top:n,left:i}=r[t];o.scrollTop!=n+e&&(o.scrollTop=n+e),o.scrollLeft!=i&&(o.scrollLeft=i)}}let Ur=null;function df(r){if(r.setActive)return r.setActive();if(Ur)return r.focus(Ur);let e=uc(r);r.focus(Ur==null?{get preventScroll(){return Ur={preventScroll:!0},!0}}:void 0),Ur||(Ur=!1,mc(e,0))}function hc(r,e){let t,o=2e8,n,i=0,a=e.top,l=e.top,d,c;for(let p=r.firstChild,u=0;p;p=p.nextSibling,u++){let m;if(p.nodeType==1)m=p.getClientRects();else if(p.nodeType==3)m=kt(p).getClientRects();else continue;for(let h=0;h<m.length;h++){let g=m[h];if(g.top<=a&&g.bottom>=l){a=Math.max(g.bottom,a),l=Math.min(g.top,l);let f=g.left>e.left?g.left-e.left:g.right<e.left?e.left-g.right:0;if(f<o){t=p,o=f,n=f&&t.nodeType==3?{left:g.right<e.left?g.right:g.left,top:e.top}:e,p.nodeType==1&&f&&(i=u+(e.left>=(g.left+g.right)/2?1:0));continue}}else g.top>e.top&&!d&&g.left<=e.left&&g.right>=e.left&&(d=p,c={left:Math.max(g.left,Math.min(g.right,e.left)),top:g.top});!t&&(e.left>=g.right&&e.top>=g.top||e.left>=g.left&&e.top>=g.bottom)&&(i=u+1)}}return!t&&d&&(t=d,n=c,o=0),t&&t.nodeType==3?cf(t,n):!t||o&&t.nodeType==1?{node:r,offset:i}:hc(t,n)}function cf(r,e){let t=r.nodeValue.length,o=document.createRange();for(let n=0;n<t;n++){o.setEnd(r,n+1),o.setStart(r,n);let i=Kt(o,1);if(i.top!=i.bottom&&Ka(e,i))return{node:r,offset:n+(e.left>=(i.left+i.right)/2?1:0)}}return{node:r,offset:0}}function Ka(r,e){return r.left>=e.left-1&&r.left<=e.right+1&&r.top>=e.top-1&&r.top<=e.bottom+1}function pf(r,e){let t=r.parentNode;return t&&/^li$/i.test(t.nodeName)&&e.left<r.getBoundingClientRect().left?t:r}function uf(r,e,t){let{node:o,offset:n}=hc(e,t),i=-1;if(o.nodeType==1&&!o.firstChild){let a=o.getBoundingClientRect();i=a.left!=a.right&&t.left>(a.left+a.right)/2?1:-1}return r.docView.posFromDOM(o,n,i)}function mf(r,e,t,o){let n=-1;for(let i=e,a=!1;i!=r.dom;){let l=r.docView.nearestDesc(i,!0),d;if(!l)return null;if(l.dom.nodeType==1&&(l.node.isBlock&&l.parent||!l.contentDOM)&&((d=l.dom.getBoundingClientRect()).width||d.height)&&(l.node.isBlock&&l.parent&&(!a&&d.left>o.left||d.top>o.top?n=l.posBefore:(!a&&d.right<o.left||d.bottom<o.top)&&(n=l.posAfter),a=!0),!l.contentDOM&&n<0&&!l.node.isText))return(l.node.isBlock?o.top<(d.top+d.bottom)/2:o.left<(d.left+d.right)/2)?l.posBefore:l.posAfter;i=l.dom.parentNode}return n>-1?n:r.docView.posFromDOM(e,t,-1)}function gc(r,e,t){let o=r.childNodes.length;if(o&&t.top<t.bottom)for(let n=Math.max(0,Math.min(o-1,Math.floor(o*(e.top-t.top)/(t.bottom-t.top))-2)),i=n;;){let a=r.childNodes[i];if(a.nodeType==1){let l=a.getClientRects();for(let d=0;d<l.length;d++){let c=l[d];if(Ka(e,c))return gc(a,e,c)}}if((i=(i+1)%o)==n)break}return r}function hf(r,e){let t=r.dom.ownerDocument,o,n=0,i=tf(t,e.left,e.top);i&&({node:o,offset:n}=i);let a=(r.root.elementFromPoint?r.root:t).elementFromPoint(e.left,e.top),l;if(!a||!r.dom.contains(a.nodeType!=1?a.parentNode:a)){let c=r.dom.getBoundingClientRect();if(!Ka(e,c)||(a=gc(r.dom,e,c),!a))return null}if(Ve)for(let c=a;o&&c;c=Wr(c))c.draggable&&(o=void 0);if(a=pf(a,e),o){if(rt&&o.nodeType==1&&(n=Math.min(n,o.childNodes.length),n<o.childNodes.length)){let p=o.childNodes[n],u;p.nodeName=="IMG"&&(u=p.getBoundingClientRect()).right<=e.left&&u.bottom>e.top&&n++}let c;Vo&&n&&o.nodeType==1&&(c=o.childNodes[n-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&n--,o==r.dom&&n==o.childNodes.length-1&&o.lastChild.nodeType==1&&e.top>o.lastChild.getBoundingClientRect().bottom?l=r.state.doc.content.size:(n==0||o.nodeType!=1||o.childNodes[n-1].nodeName!="BR")&&(l=mf(r,o,n,e))}l==null&&(l=uf(r,a,e));let d=r.docView.nearestDesc(a,!0);return{pos:l,inside:d?d.posAtStart-d.border:-1}}function fc(r){return r.top<r.bottom||r.left<r.right}function Kt(r,e){let t=r.getClientRects();if(t.length){let o=t[e<0?0:t.length-1];if(fc(o))return o}return Array.prototype.find.call(t,fc)||r.getBoundingClientRect()}const gf=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function bc(r,e,t){let{node:o,offset:n,atom:i}=r.docView.domFromPos(e,t<0?-1:1),a=Vo||rt;if(o.nodeType==3)if(a&&(gf.test(o.nodeValue)||(t<0?!n:n==o.nodeValue.length))){let d=Kt(kt(o,n,n),t);if(rt&&n&&/\s/.test(o.nodeValue[n-1])&&n<o.nodeValue.length){let c=Kt(kt(o,n-1,n-1),-1);if(c.top==d.top){let p=Kt(kt(o,n,n+1),-1);if(p.top!=d.top)return Po(p,p.left<c.left)}}return d}else{let d=n,c=n,p=t<0?1:-1;return t<0&&!n?(c++,p=-1):t>=0&&n==o.nodeValue.length?(d--,p=1):t<0?d--:c++,Po(Kt(kt(o,d,c),p),p<0)}if(!r.state.doc.resolve(e-(i||0)).parent.inlineContent){if(i==null&&n&&(t<0||n==Ue(o))){let d=o.childNodes[n-1];if(d.nodeType==1)return Ga(d.getBoundingClientRect(),!1)}if(i==null&&n<Ue(o)){let d=o.childNodes[n];if(d.nodeType==1)return Ga(d.getBoundingClientRect(),!0)}return Ga(o.getBoundingClientRect(),t>=0)}if(i==null&&n&&(t<0||n==Ue(o))){let d=o.childNodes[n-1],c=d.nodeType==3?kt(d,Ue(d)-(a?0:1)):d.nodeType==1&&(d.nodeName!="BR"||!d.nextSibling)?d:null;if(c)return Po(Kt(c,1),!1)}if(i==null&&n<Ue(o)){let d=o.childNodes[n];for(;d.pmViewDesc&&d.pmViewDesc.ignoreForCoords;)d=d.nextSibling;let c=d?d.nodeType==3?kt(d,0,a?0:1):d.nodeType==1?d:null:null;if(c)return Po(Kt(c,-1),!0)}return Po(Kt(o.nodeType==3?kt(o):o,-t),t>=0)}function Po(r,e){if(r.width==0)return r;let t=e?r.left:r.right;return{top:r.top,bottom:r.bottom,left:t,right:t}}function Ga(r,e){if(r.height==0)return r;let t=e?r.top:r.bottom;return{top:t,bottom:t,left:r.left,right:r.right}}function yc(r,e,t){let o=r.state,n=r.root.activeElement;o!=e&&r.updateState(e),n!=r.dom&&r.focus();try{return t()}finally{o!=e&&r.updateState(o),n!=r.dom&&n&&n.focus()}}function ff(r,e,t){let o=e.selection,n=t=="up"?o.$from:o.$to;return yc(r,e,()=>{let{node:i}=r.docView.domFromPos(n.pos,t=="up"?-1:1);for(;;){let l=r.docView.nearestDesc(i,!0);if(!l)break;if(l.node.isBlock){i=l.contentDOM||l.dom;break}i=l.dom.parentNode}let a=bc(r,n.pos,1);for(let l=i.firstChild;l;l=l.nextSibling){let d;if(l.nodeType==1)d=l.getClientRects();else if(l.nodeType==3)d=kt(l,0,l.nodeValue.length).getClientRects();else continue;for(let c=0;c<d.length;c++){let p=d[c];if(p.bottom>p.top+1&&(t=="up"?a.top-p.top>(p.bottom-a.top)*2:p.bottom-a.bottom>(a.bottom-p.top)*2))return!1}}return!0})}const bf=/[\u0590-\u08ac]/;function yf(r,e,t){let{$head:o}=e.selection;if(!o.parent.isTextblock)return!1;let n=o.parentOffset,i=!n,a=n==o.parent.content.size,l=r.domSelection();return l?!bf.test(o.parent.textContent)||!l.modify?t=="left"||t=="backward"?i:a:yc(r,e,()=>{let{focusNode:d,focusOffset:c,anchorNode:p,anchorOffset:u}=r.domSelectionRange(),m=l.caretBidiLevel;l.modify("move",t,"character");let h=o.depth?r.docView.domAfterPos(o.before()):r.dom,{focusNode:g,focusOffset:f}=r.domSelectionRange(),b=g&&!h.contains(g.nodeType==1?g:g.parentNode)||d==g&&c==f;try{l.collapse(p,u),d&&(d!=p||c!=u)&&l.extend&&l.extend(d,c)}catch{}return m!=null&&(l.caretBidiLevel=m),b}):o.pos==o.start()||o.pos==o.end()}let wc=null,xc=null,vc=!1;function wf(r,e,t){return wc==e&&xc==t?vc:(wc=e,xc=t,vc=t=="up"||t=="down"?ff(r,e,t):yf(r,e,t))}const Ge=0,kc=1,fr=2,pt=3;class Ao{constructor(e,t,o,n){this.parent=e,this.children=t,this.dom=o,this.contentDOM=n,this.dirty=Ge,o.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,o){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,o=this.posAtStart;;t++){let n=this.children[t];if(n==e)return o;o+=n.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,o){if(this.contentDOM&&this.contentDOM.contains(e.nodeType==1?e:e.parentNode))if(o<0){let i,a;if(e==this.contentDOM)i=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.previousSibling}for(;i&&!((a=i.pmViewDesc)&&a.parent==this);)i=i.previousSibling;return i?this.posBeforeChild(a)+a.size:this.posAtStart}else{let i,a;if(e==this.contentDOM)i=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.nextSibling}for(;i&&!((a=i.pmViewDesc)&&a.parent==this);)i=i.nextSibling;return i?this.posBeforeChild(a):this.posAtEnd}let n;if(e==this.dom&&this.contentDOM)n=t>ve(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))n=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(t==0)for(let i=e;;i=i.parentNode){if(i==this.dom){n=!1;break}if(i.previousSibling)break}if(n==null&&t==e.childNodes.length)for(let i=e;;i=i.parentNode){if(i==this.dom){n=!0;break}if(i.nextSibling)break}}return n??o>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let o=!0,n=e;n;n=n.parentNode){let i=this.getDesc(n),a;if(i&&(!t||i.node))if(o&&(a=i.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))o=!1;else return i}}getDesc(e){let t=e.pmViewDesc;for(let o=t;o;o=o.parent)if(o==this)return t}posFromDOM(e,t,o){for(let n=e;n;n=n.parentNode){let i=this.getDesc(n);if(i)return i.localPosFromDOM(e,t,o)}return-1}descAt(e){for(let t=0,o=0;t<this.children.length;t++){let n=this.children[t],i=o+n.size;if(o==e&&i!=o){for(;!n.border&&n.children.length;)for(let a=0;a<n.children.length;a++){let l=n.children[a];if(l.size){n=l;break}}return n}if(e<i)return n.descAt(e-o-n.border);o=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let o=0,n=0;for(let i=0;o<this.children.length;o++){let a=this.children[o],l=i+a.size;if(l>e||a instanceof Sc){n=e-i;break}i=l}if(n)return this.children[o].domFromPos(n-this.children[o].border,t);for(let i;o&&!(i=this.children[o-1]).size&&i instanceof Ec&&i.side>=0;o--);if(t<=0){let i,a=!0;for(;i=o?this.children[o-1]:null,!(!i||i.dom.parentNode==this.contentDOM);o--,a=!1);return i&&t&&a&&!i.border&&!i.domAtom?i.domFromPos(i.size,t):{node:this.contentDOM,offset:i?ve(i.dom)+1:0}}else{let i,a=!0;for(;i=o<this.children.length?this.children[o]:null,!(!i||i.dom.parentNode==this.contentDOM);o++,a=!1);return i&&a&&!i.border&&!i.domAtom?i.domFromPos(0,t):{node:this.contentDOM,offset:i?ve(i.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,o=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let n=-1,i=-1;for(let a=o,l=0;;l++){let d=this.children[l],c=a+d.size;if(n==-1&&e<=c){let p=a+d.border;if(e>=p&&t<=c-d.border&&d.node&&d.contentDOM&&this.contentDOM.contains(d.contentDOM))return d.parseRange(e,t,p);e=a;for(let u=l;u>0;u--){let m=this.children[u-1];if(m.size&&m.dom.parentNode==this.contentDOM&&!m.emptyChildAt(1)){n=ve(m.dom)+1;break}e-=m.size}n==-1&&(n=0)}if(n>-1&&(c>t||l==this.children.length-1)){t=c;for(let p=l+1;p<this.children.length;p++){let u=this.children[p];if(u.size&&u.dom.parentNode==this.contentDOM&&!u.emptyChildAt(-1)){i=ve(u.dom);break}t+=u.size}i==-1&&(i=this.contentDOM.childNodes.length);break}a=c}return{node:this.contentDOM,from:e,to:t,fromOffset:n,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return t.size==0||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:o}=this.domFromPos(e,0);if(t.nodeType!=1||o==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[o]}setSelection(e,t,o,n=!1){let i=Math.min(e,t),a=Math.max(e,t);for(let h=0,g=0;h<this.children.length;h++){let f=this.children[h],b=g+f.size;if(i>g&&a<b)return f.setSelection(e-g-f.border,t-g-f.border,o,n);g=b}let l=this.domFromPos(e,e?-1:1),d=t==e?l:this.domFromPos(t,t?-1:1),c=o.root.getSelection(),p=o.domSelectionRange(),u=!1;if((rt||Ve)&&e==t){let{node:h,offset:g}=l;if(h.nodeType==3){if(u=!!(g&&h.nodeValue[g-1]==`
16
+ `),u&&g==h.nodeValue.length)for(let f=h,b;f;f=f.parentNode){if(b=f.nextSibling){b.nodeName=="BR"&&(l=d={node:b.parentNode,offset:ve(b)+1});break}let w=f.pmViewDesc;if(w&&w.node&&w.node.isBlock)break}}else{let f=h.childNodes[g-1];u=f&&(f.nodeName=="BR"||f.contentEditable=="false")}}if(rt&&p.focusNode&&p.focusNode!=d.node&&p.focusNode.nodeType==1){let h=p.focusNode.childNodes[p.focusOffset];h&&h.contentEditable=="false"&&(n=!0)}if(!(n||u&&Ve)&&hr(l.node,l.offset,p.anchorNode,p.anchorOffset)&&hr(d.node,d.offset,p.focusNode,p.focusOffset))return;let m=!1;if((c.extend||e==t)&&!u){c.collapse(l.node,l.offset);try{e!=t&&c.extend(d.node,d.offset),m=!0}catch{}}if(!m){if(e>t){let g=l;l=d,d=g}let h=document.createRange();h.setEnd(d.node,d.offset),h.setStart(l.node,l.offset),c.removeAllRanges(),c.addRange(h)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let o=0,n=0;n<this.children.length;n++){let i=this.children[n],a=o+i.size;if(o==a?e<=a&&t>=o:e<a&&t>o){let l=o+i.border,d=a-i.border;if(e>=l&&t<=d){this.dirty=e==o||t==a?fr:kc,e==l&&t==d&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=pt:i.markDirty(e-l,t-l);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?fr:pt}o=a}this.dirty=fr}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let o=e==1?fr:kc;t.dirty<o&&(t.dirty=o)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class Ec extends Ao{constructor(e,t,o,n){let i,a=t.type.toDOM;if(typeof a=="function"&&(a=a(o,()=>{if(!i)return n;if(i.parent)return i.parent.posBeforeChild(i)})),!t.type.spec.raw){if(a.nodeType!=1){let l=document.createElement("span");l.appendChild(a),a=l}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return this.dirty==Ge&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class xf extends Ao{constructor(e,t,o,n){super(e,[],t,null),this.textDOM=o,this.text=n}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class br extends Ao{constructor(e,t,o,n,i){super(e,[],o,n),this.mark=t,this.spec=i}static create(e,t,o,n){let i=n.nodeViews[t.type.name],a=i&&i(t,n,o);return(!a||!a.dom)&&(a=ur.renderSpec(document,t.type.spec.toDOM(t,o),null,t.attrs)),new br(e,t,a.dom,a.contentDOM||a.dom,a)}parseRule(){return this.dirty&pt||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=pt&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=Ge){let o=this.parent;for(;!o.node;)o=o.parent;o.dirty<this.dirty&&(o.dirty=this.dirty),this.dirty=Ge}}slice(e,t,o){let n=br.create(this.parent,this.mark,!0,o),i=this.children,a=this.size;t<a&&(i=Ya(i,t,a,o)),e>0&&(i=Ya(i,0,e,o));for(let l=0;l<i.length;l++)i[l].parent=n;return n.children=i,n}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class Gt extends Ao{constructor(e,t,o,n,i,a,l,d,c){super(e,[],i,a),this.node=t,this.outerDeco=o,this.innerDeco=n,this.nodeDOM=l}static create(e,t,o,n,i,a){let l=i.nodeViews[t.type.name],d,c=l&&l(t,i,()=>{if(!d)return a;if(d.parent)return d.parent.posBeforeChild(d)},o,n),p=c&&c.dom,u=c&&c.contentDOM;if(t.isText){if(!p)p=document.createTextNode(t.text);else if(p.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else p||({dom:p,contentDOM:u}=ur.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs));!u&&!t.isText&&p.nodeName!="BR"&&(p.hasAttribute("contenteditable")||(p.contentEditable="false"),t.type.spec.draggable&&(p.draggable=!0));let m=p;return p=Bc(p,o,t),c?d=new vf(e,t,o,n,p,u||null,m,c,i,a+1):t.isText?new Kn(e,t,o,n,p,m,i):new Gt(e,t,o,n,p,u||null,m,i,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let t=this.children.length-1;t>=0;t--){let o=this.children[t];if(this.dom.contains(o.dom.parentNode)){e.contentElement=o.dom.parentNode;break}}e.contentElement||(e.getContent=()=>B.empty)}return e}matchesNode(e,t,o){return this.dirty==Ge&&e.eq(this.node)&&Gn(t,this.outerDeco)&&o.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let o=this.node.inlineContent,n=t,i=e.composing?this.localCompositionInfo(e,t):null,a=i&&i.pos>-1?i:null,l=i&&i.pos<0,d=new Ef(this,a&&a.node,e);Nf(this.node,this.innerDeco,(c,p,u)=>{c.spec.marks?d.syncToMarks(c.spec.marks,o,e):c.type.side>=0&&!u&&d.syncToMarks(p==this.node.childCount?X.none:this.node.child(p).marks,o,e),d.placeWidget(c,e,n)},(c,p,u,m)=>{d.syncToMarks(c.marks,o,e);let h;d.findNodeMatch(c,p,u,m)||l&&e.state.selection.from>n&&e.state.selection.to<n+c.nodeSize&&(h=d.findIndexWithChild(i.node))>-1&&d.updateNodeAt(c,p,u,h,e)||d.updateNextNode(c,p,u,e,m,n)||d.addNode(c,p,u,e,n),n+=c.nodeSize}),d.syncToMarks([],o,e),this.node.isTextblock&&d.addTextblockHacks(),d.destroyRest(),(d.changed||this.dirty==fr)&&(a&&this.protectLocalComposition(e,a),Nc(this.contentDOM,this.children,e),qr&&Mf(this.dom))}localCompositionInfo(e,t){let{from:o,to:n}=e.state.selection;if(!(e.state.selection instanceof _)||o<t||n>t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let a=i.nodeValue,l=Bf(this.node.content,a,o-t,n-t);return l<0?null:{node:i,pos:l,text:a}}else return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:o,text:n}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new xf(this,i,t,n);e.input.compositionNodes.push(a),this.children=Ya(this.children,o,o+n.length,e,a)}update(e,t,o,n){return this.dirty==pt||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,o,n),!0)}updateInner(e,t,o,n){this.updateOuterDeco(t),this.node=e,this.innerDeco=o,this.contentDOM&&this.updateChildren(n,this.posAtStart),this.dirty=Ge}updateOuterDeco(e){if(Gn(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,o=this.dom;this.dom=Mc(this.dom,this.nodeDOM,Ja(this.outerDeco,this.node,t),Ja(e,this.node,t)),this.dom!=o&&(o.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function Cc(r,e,t,o,n){Bc(o,e,r);let i=new Gt(void 0,r,e,t,o,o,o,n,0);return i.contentDOM&&i.updateChildren(n,0),i}class Kn extends Gt{constructor(e,t,o,n,i,a,l){super(e,t,o,n,i,null,a,l,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,o,n){return this.dirty==pt||this.dirty!=Ge&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=Ge||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,n.trackWrites==this.nodeDOM&&(n.trackWrites=null)),this.node=e,this.dirty=Ge,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,o){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,o)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,t,o){let n=this.node.cut(e,t),i=document.createTextNode(n.text);return new Kn(this.parent,n,this.outerDeco,this.innerDeco,i,i,o)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=pt)}get domAtom(){return!1}isText(e){return this.node.text==e}}class Sc extends Ao{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Ge&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class vf extends Gt{constructor(e,t,o,n,i,a,l,d,c,p){super(e,t,o,n,i,a,l,c,p),this.spec=d}update(e,t,o,n){if(this.dirty==pt)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,o);return i&&this.updateInner(e,t,o,n),i}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,o,n)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,o,n){this.spec.setSelection?this.spec.setSelection(e,t,o.root):super.setSelection(e,t,o,n)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Nc(r,e,t){let o=r.firstChild,n=!1;for(let i=0;i<e.length;i++){let a=e[i],l=a.dom;if(l.parentNode==r){for(;l!=o;)o=Tc(o),n=!0;o=o.nextSibling}else n=!0,r.insertBefore(l,o);if(a instanceof br){let d=o?o.previousSibling:r.lastChild;Nc(a.contentDOM,a.children,t),o=d?d.nextSibling:r.firstChild}}for(;o;)o=Tc(o),n=!0;n&&t.trackWrites==r&&(t.trackWrites=null)}const Do=function(r){r&&(this.nodeName=r)};Do.prototype=Object.create(null);const yr=[new Do];function Ja(r,e,t){if(r.length==0)return yr;let o=t?yr[0]:new Do,n=[o];for(let i=0;i<r.length;i++){let a=r[i].type.attrs;if(a){a.nodeName&&n.push(o=new Do(a.nodeName));for(let l in a){let d=a[l];d!=null&&(t&&n.length==1&&n.push(o=new Do(e.isInline?"span":"div")),l=="class"?o.class=(o.class?o.class+" ":"")+d:l=="style"?o.style=(o.style?o.style+";":"")+d:l!="nodeName"&&(o[l]=d))}}}return n}function Mc(r,e,t,o){if(t==yr&&o==yr)return e;let n=e;for(let i=0;i<o.length;i++){let a=o[i],l=t[i];if(i){let d;l&&l.nodeName==a.nodeName&&n!=r&&(d=n.parentNode)&&d.nodeName.toLowerCase()==a.nodeName||(d=document.createElement(a.nodeName),d.pmIsDeco=!0,d.appendChild(n),l=yr[0]),n=d}kf(n,l||yr[0],a)}return n}function kf(r,e,t){for(let o in e)o!="class"&&o!="style"&&o!="nodeName"&&!(o in t)&&r.removeAttribute(o);for(let o in t)o!="class"&&o!="style"&&o!="nodeName"&&t[o]!=e[o]&&r.setAttribute(o,t[o]);if(e.class!=t.class){let o=e.class?e.class.split(" ").filter(Boolean):[],n=t.class?t.class.split(" ").filter(Boolean):[];for(let i=0;i<o.length;i++)n.indexOf(o[i])==-1&&r.classList.remove(o[i]);for(let i=0;i<n.length;i++)o.indexOf(n[i])==-1&&r.classList.add(n[i]);r.classList.length==0&&r.removeAttribute("class")}if(e.style!=t.style){if(e.style){let o=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,n;for(;n=o.exec(e.style);)r.style.removeProperty(n[1])}t.style&&(r.style.cssText+=t.style)}}function Bc(r,e,t){return Mc(r,r,yr,Ja(e,t,r.nodeType!=1))}function Gn(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++)if(!r[t].type.eq(e[t].type))return!1;return!0}function Tc(r){let e=r.nextSibling;return r.parentNode.removeChild(r),e}class Ef{constructor(e,t,o){this.lock=t,this.view=o,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=Cf(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let o=e;o<t;o++)this.top.children[o].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,o){let n=0,i=this.stack.length>>1,a=Math.min(i,e.length);for(;n<a&&(n==i-1?this.top:this.stack[n+1<<1]).matchesMark(e[n])&&e[n].type.spec.spanning!==!1;)n++;for(;n<i;)this.destroyRest(),this.top.dirty=Ge,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<e.length;){this.stack.push(this.top,this.index+1);let l=-1;for(let d=this.index;d<Math.min(this.index+3,this.top.children.length);d++){let c=this.top.children[d];if(c.matchesMark(e[i])&&!this.isLocked(c.dom)){l=d;break}}if(l>-1)l>this.index&&(this.changed=!0,this.destroyBetween(this.index,l)),this.top=this.top.children[this.index];else{let d=br.create(this.top,e[i],t,o);this.top.children.splice(this.index,0,d),this.top=d,this.changed=!0}this.index=0,i++}}findNodeMatch(e,t,o,n){let i=-1,a;if(n>=this.preMatch.index&&(a=this.preMatch.matches[n-this.preMatch.index]).parent==this.top&&a.matchesNode(e,t,o))i=this.top.children.indexOf(a,this.index);else for(let l=this.index,d=Math.min(this.top.children.length,l+5);l<d;l++){let c=this.top.children[l];if(c.matchesNode(e,t,o)&&!this.preMatch.matched.has(c)){i=l;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,o,n,i){let a=this.top.children[n];return a.dirty==pt&&a.dom==a.contentDOM&&(a.dirty=fr),a.update(e,t,o,i)?(this.destroyBetween(this.index,n),this.index++,!0):!1}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let o=e.pmViewDesc;if(o){for(let n=this.index;n<this.top.children.length;n++)if(this.top.children[n]==o)return n}return-1}e=t}}updateNextNode(e,t,o,n,i,a){for(let l=this.index;l<this.top.children.length;l++){let d=this.top.children[l];if(d instanceof Gt){let c=this.preMatch.matched.get(d);if(c!=null&&c!=i)return!1;let p=d.dom,u,m=this.isLocked(p)&&!(e.isText&&d.node&&d.node.isText&&d.nodeDOM.nodeValue==e.text&&d.dirty!=pt&&Gn(t,d.outerDeco));if(!m&&d.update(e,t,o,n))return this.destroyBetween(this.index,l),d.dom!=p&&(this.changed=!0),this.index++,!0;if(!m&&(u=this.recreateWrapper(d,e,t,o,n,a)))return this.destroyBetween(this.index,l),this.top.children[this.index]=u,u.contentDOM&&(u.dirty=fr,u.updateChildren(n,a+1),u.dirty=Ge),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,o,n,i,a){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!Gn(o,e.outerDeco)||!n.eq(e.innerDeco))return null;let l=Gt.create(this.top,t,o,n,i,a);if(l.contentDOM){l.children=e.children,e.children=[];for(let d of l.children)d.parent=l}return e.destroy(),l}addNode(e,t,o,n,i){let a=Gt.create(this.top,e,t,o,n,i);a.contentDOM&&a.updateChildren(n,i+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(e,t,o){let n=this.index<this.top.children.length?this.top.children[this.index]:null;if(n&&n.matchesWidget(e)&&(e==n.widget||!n.widget.type.toDOM.parentNode))this.index++;else{let i=new Ec(this.top,e,t,o);this.top.children.splice(this.index++,0,i),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof br;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof Kn)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Ve||Me)&&e&&e.dom.contentEditable=="false"&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let o=document.createElement(e);e=="IMG"&&(o.className="ProseMirror-separator",o.alt=""),e=="BR"&&(o.className="ProseMirror-trailingBreak");let n=new Sc(this.top,[],o,null);t!=this.top?t.children.push(n):t.children.splice(this.index++,0,n),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||e.nodeType==1&&e.contains(this.lock.parentNode))}}function Cf(r,e){let t=e,o=t.children.length,n=r.childCount,i=new Map,a=[];e:for(;n>0;){let l;for(;;)if(o){let c=t.children[o-1];if(c instanceof br)t=c,o=c.children.length;else{l=c,o--;break}}else{if(t==e)break e;o=t.parent.children.indexOf(t),t=t.parent}let d=l.node;if(d){if(d!=r.child(n-1))break;--n,i.set(l,n),a.push(l)}}return{index:n,matched:i,matches:a.reverse()}}function Sf(r,e){return r.type.side-e.type.side}function Nf(r,e,t,o){let n=e.locals(r),i=0;if(n.length==0){for(let c=0;c<r.childCount;c++){let p=r.child(c);o(p,n,e.forChild(i,p),c),i+=p.nodeSize}return}let a=0,l=[],d=null;for(let c=0;;){let p,u;for(;a<n.length&&n[a].to==i;){let b=n[a++];b.widget&&(p?(u||(u=[p])).push(b):p=b)}if(p)if(u){u.sort(Sf);for(let b=0;b<u.length;b++)t(u[b],c,!!d)}else t(p,c,!!d);let m,h;if(d)h=-1,m=d,d=null;else if(c<r.childCount)h=c,m=r.child(c++);else break;for(let b=0;b<l.length;b++)l[b].to<=i&&l.splice(b--,1);for(;a<n.length&&n[a].from<=i&&n[a].to>i;)l.push(n[a++]);let g=i+m.nodeSize;if(m.isText){let b=g;a<n.length&&n[a].from<b&&(b=n[a].from);for(let w=0;w<l.length;w++)l[w].to<b&&(b=l[w].to);b<g&&(d=m.cut(b-i),m=m.cut(0,b-i),g=b,h=-1)}else for(;a<n.length&&n[a].to<g;)a++;let f=m.isInline&&!m.isLeaf?l.filter(b=>!b.inline):l.slice();o(m,f,e.forChild(i,m),h),i=g}}function Mf(r){if(r.nodeName=="UL"||r.nodeName=="OL"){let e=r.style.cssText;r.style.cssText=e+"; list-style: square !important",window.getComputedStyle(r).listStyle,r.style.cssText=e}}function Bf(r,e,t,o){for(let n=0,i=0;n<r.childCount&&i<=o;){let a=r.child(n++),l=i;if(i+=a.nodeSize,!a.isText)continue;let d=a.text;for(;n<r.childCount;){let c=r.child(n++);if(i+=c.nodeSize,!c.isText)break;d+=c.text}if(i>=t){if(i>=o&&d.slice(o-e.length-l,o-l)==e)return o-e.length;let c=l<o?d.lastIndexOf(e,o-l-1):-1;if(c>=0&&c+e.length+l>=t)return l+c;if(t==o&&d.length>=o+e.length-l&&d.slice(o-l,o-l+e.length)==e)return o}}return-1}function Ya(r,e,t,o,n){let i=[];for(let a=0,l=0;a<r.length;a++){let d=r[a],c=l,p=l+=d.size;c>=t||p<=e?i.push(d):(c<e&&i.push(d.slice(0,e-c,o)),n&&(i.push(n),n=void 0),p>t&&i.push(d.slice(t-c,d.size,o)))}return i}function Qa(r,e=null){let t=r.domSelectionRange(),o=r.state.doc;if(!t.focusNode)return null;let n=r.docView.nearestDesc(t.focusNode),i=n&&n.size==0,a=r.docView.posFromDOM(t.focusNode,t.focusOffset,1);if(a<0)return null;let l=o.resolve(a),d,c;if(Un(t)){for(d=a;n&&!n.node;)n=n.parent;let u=n.node;if(n&&u.isAtom&&L.isSelectable(u)&&n.parent&&!(u.isInline&&$g(t.focusNode,t.focusOffset,n.dom))){let m=n.posBefore;c=new L(a==m?l:o.resolve(m))}}else{if(t instanceof r.dom.ownerDocument.defaultView.Selection&&t.rangeCount>1){let u=a,m=a;for(let h=0;h<t.rangeCount;h++){let g=t.getRangeAt(h);u=Math.min(u,r.docView.posFromDOM(g.startContainer,g.startOffset,1)),m=Math.max(m,r.docView.posFromDOM(g.endContainer,g.endOffset,-1))}if(u<0)return null;[d,a]=m==r.state.selection.anchor?[m,u]:[u,m],l=o.resolve(a)}else d=r.docView.posFromDOM(t.anchorNode,t.anchorOffset,1);if(d<0)return null}let p=o.resolve(d);if(!c){let u=e=="pointer"||r.state.selection.head<l.pos&&!i?1:-1;c=Za(r,p,l,u)}return c}function Oc(r){return r.editable?r.hasFocus():Rc(r)&&document.activeElement&&document.activeElement.contains(r.dom)}function St(r,e=!1){let t=r.state.selection;if(Dc(r,t),!!Oc(r)){if(!e&&r.input.mouseDown&&r.input.mouseDown.allowDefault&&Me){let o=r.domSelectionRange(),n=r.domObserver.currentSelection;if(o.anchorNode&&n.anchorNode&&hr(o.anchorNode,o.anchorOffset,n.anchorNode,n.anchorOffset)){r.input.mouseDown.delayedSelectionSync=!0,r.domObserver.setCurSelection();return}}if(r.domObserver.disconnectSelection(),r.cursorWrapper)Of(r);else{let{anchor:o,head:n}=t,i,a;Vc&&!(t instanceof _)&&(t.$from.parent.inlineContent||(i=Pc(r,t.from)),!t.empty&&!t.$from.parent.inlineContent&&(a=Pc(r,t.to))),r.docView.setSelection(o,n,r,e),Vc&&(i&&Ac(i),a&&Ac(a)),t.visible?r.dom.classList.remove("ProseMirror-hideselection"):(r.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&Tf(r))}r.domObserver.setCurSelection(),r.domObserver.connectSelection()}}const Vc=Ve||Me&&cc<63;function Pc(r,e){let{node:t,offset:o}=r.docView.domFromPos(e,0),n=o<t.childNodes.length?t.childNodes[o]:null,i=o?t.childNodes[o-1]:null;if(Ve&&n&&n.contentEditable=="false")return Xa(n);if((!n||n.contentEditable=="false")&&(!i||i.contentEditable=="false")){if(n)return Xa(n);if(i)return Xa(i)}}function Xa(r){return r.contentEditable="true",Ve&&r.draggable&&(r.draggable=!1,r.wasDraggable=!0),r}function Ac(r){r.contentEditable="false",r.wasDraggable&&(r.draggable=!0,r.wasDraggable=null)}function Tf(r){let e=r.dom.ownerDocument;e.removeEventListener("selectionchange",r.input.hideSelectionGuard);let t=r.domSelectionRange(),o=t.anchorNode,n=t.anchorOffset;e.addEventListener("selectionchange",r.input.hideSelectionGuard=()=>{(t.anchorNode!=o||t.anchorOffset!=n)&&(e.removeEventListener("selectionchange",r.input.hideSelectionGuard),setTimeout(()=>{(!Oc(r)||r.state.selection.visible)&&r.dom.classList.remove("ProseMirror-hideselection")},20))})}function Of(r){let e=r.domSelection(),t=document.createRange();if(!e)return;let o=r.cursorWrapper.dom,n=o.nodeName=="IMG";n?t.setStart(o.parentNode,ve(o)+1):t.setStart(o,0),t.collapse(!0),e.removeAllRanges(),e.addRange(t),!n&&!r.state.selection.visible&&Le&&Ut<=11&&(o.disabled=!0,o.disabled=!1)}function Dc(r,e){if(e instanceof L){let t=r.docView.descAt(e.from);t!=r.lastSelectedViewDesc&&(Ic(r),t&&t.selectNode(),r.lastSelectedViewDesc=t)}else Ic(r)}function Ic(r){r.lastSelectedViewDesc&&(r.lastSelectedViewDesc.parent&&r.lastSelectedViewDesc.deselectNode(),r.lastSelectedViewDesc=void 0)}function Za(r,e,t,o){return r.someProp("createSelectionBetween",n=>n(r,e,t))||_.between(e,t,o)}function Lc(r){return r.editable&&!r.hasFocus()?!1:Rc(r)}function Rc(r){let e=r.domSelectionRange();if(!e.anchorNode)return!1;try{return r.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(r.editable||r.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function Vf(r){let e=r.docView.domFromPos(r.state.selection.anchor,0),t=r.domSelectionRange();return hr(e.node,e.offset,t.anchorNode,t.anchorOffset)}function $a(r,e){let{$anchor:t,$head:o}=r.selection,n=e>0?t.max(o):t.min(o),i=n.parent.inlineContent?n.depth?r.doc.resolve(e>0?n.after():n.before()):null:n;return i&&H.findFrom(i,e)}function Jt(r,e){return r.dispatch(r.state.tr.setSelection(e).scrollIntoView()),!0}function _c(r,e,t){let o=r.state.selection;if(o instanceof _)if(t.indexOf("s")>-1){let{$head:n}=o,i=n.textOffset?null:e<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=r.state.doc.resolve(n.pos+i.nodeSize*(e<0?-1:1));return Jt(r,new _(o.$anchor,a))}else if(o.empty){if(r.endOfTextblock(e>0?"forward":"backward")){let n=$a(r.state,e);return n&&n instanceof L?Jt(r,n):!1}else if(!(Ke&&t.indexOf("m")>-1)){let n=o.$head,i=n.textOffset?null:e<0?n.nodeBefore:n.nodeAfter,a;if(!i||i.isText)return!1;let l=e<0?n.pos-i.nodeSize:n.pos;return i.isAtom||(a=r.docView.descAt(l))&&!a.contentDOM?L.isSelectable(i)?Jt(r,new L(e<0?r.state.doc.resolve(n.pos-i.nodeSize):n)):Vo?Jt(r,new _(r.state.doc.resolve(e<0?l:l+i.nodeSize))):!1:!1}}else return!1;else{if(o instanceof L&&o.node.isInline)return Jt(r,new _(e>0?o.$to:o.$from));{let n=$a(r.state,e);return n?Jt(r,n):!1}}}function Jn(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}function Io(r,e){let t=r.pmViewDesc;return t&&t.size==0&&(e<0||r.nextSibling||r.nodeName!="BR")}function Kr(r,e){return e<0?Pf(r):Af(r)}function Pf(r){let e=r.domSelectionRange(),t=e.focusNode,o=e.focusOffset;if(!t)return;let n,i,a=!1;for(rt&&t.nodeType==1&&o<Jn(t)&&Io(t.childNodes[o],-1)&&(a=!0);;)if(o>0){if(t.nodeType!=1)break;{let l=t.childNodes[o-1];if(Io(l,-1))n=t,i=--o;else if(l.nodeType==3)t=l,o=t.nodeValue.length;else break}}else{if(zc(t))break;{let l=t.previousSibling;for(;l&&Io(l,-1);)n=t.parentNode,i=ve(l),l=l.previousSibling;if(l)t=l,o=Jn(t);else{if(t=t.parentNode,t==r.dom)break;o=0}}}a?es(r,t,o):n&&es(r,n,i)}function Af(r){let e=r.domSelectionRange(),t=e.focusNode,o=e.focusOffset;if(!t)return;let n=Jn(t),i,a;for(;;)if(o<n){if(t.nodeType!=1)break;let l=t.childNodes[o];if(Io(l,1))i=t,a=++o;else break}else{if(zc(t))break;{let l=t.nextSibling;for(;l&&Io(l,1);)i=l.parentNode,a=ve(l)+1,l=l.nextSibling;if(l)t=l,o=0,n=Jn(t);else{if(t=t.parentNode,t==r.dom)break;o=n=0}}}i&&es(r,i,a)}function zc(r){let e=r.pmViewDesc;return e&&e.node&&e.node.isBlock}function Df(r,e){for(;r&&e==r.childNodes.length&&!Oo(r);)e=ve(r)+1,r=r.parentNode;for(;r&&e<r.childNodes.length;){let t=r.childNodes[e];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;r=t,e=0}}function If(r,e){for(;r&&!e&&!Oo(r);)e=ve(r),r=r.parentNode;for(;r&&e;){let t=r.childNodes[e-1];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;r=t,e=r.childNodes.length}}function es(r,e,t){if(e.nodeType!=3){let i,a;(a=Df(e,t))?(e=a,t=0):(i=If(e,t))&&(e=i,t=i.nodeValue.length)}let o=r.domSelection();if(!o)return;if(Un(o)){let i=document.createRange();i.setEnd(e,t),i.setStart(e,t),o.removeAllRanges(),o.addRange(i)}else o.extend&&o.extend(e,t);r.domObserver.setCurSelection();let{state:n}=r;setTimeout(()=>{r.state==n&&St(r)},50)}function Fc(r,e){let t=r.state.doc.resolve(e);if(!(Me||rf)&&t.parent.inlineContent){let n=r.coordsAtPos(e);if(e>t.start()){let i=r.coordsAtPos(e-1),a=(i.top+i.bottom)/2;if(a>n.top&&a<n.bottom&&Math.abs(i.left-n.left)>1)return i.left<n.left?"ltr":"rtl"}if(e<t.end()){let i=r.coordsAtPos(e+1),a=(i.top+i.bottom)/2;if(a>n.top&&a<n.bottom&&Math.abs(i.left-n.left)>1)return i.left>n.left?"ltr":"rtl"}}return getComputedStyle(r.dom).direction=="rtl"?"rtl":"ltr"}function Hc(r,e,t){let o=r.state.selection;if(o instanceof _&&!o.empty||t.indexOf("s")>-1||Ke&&t.indexOf("m")>-1)return!1;let{$from:n,$to:i}=o;if(!n.parent.inlineContent||r.endOfTextblock(e<0?"up":"down")){let a=$a(r.state,e);if(a&&a instanceof L)return Jt(r,a)}if(!n.parent.inlineContent){let a=e<0?n:i,l=o instanceof He?H.near(a,e):H.findFrom(a,e);return l?Jt(r,l):!1}return!1}function jc(r,e){if(!(r.state.selection instanceof _))return!0;let{$head:t,$anchor:o,empty:n}=r.state.selection;if(!t.sameParent(o))return!0;if(!n)return!1;if(r.endOfTextblock(e>0?"forward":"backward"))return!0;let i=!t.textOffset&&(e<0?t.nodeBefore:t.nodeAfter);if(i&&!i.isText){let a=r.state.tr;return e<0?a.delete(t.pos-i.nodeSize,t.pos):a.delete(t.pos,t.pos+i.nodeSize),r.dispatch(a),!0}return!1}function Wc(r,e,t){r.domObserver.stop(),e.contentEditable=t,r.domObserver.start()}function Lf(r){if(!Ve||r.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:t}=r.domSelectionRange();if(e&&e.nodeType==1&&t==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let o=e.firstChild;Wc(r,o,"true"),setTimeout(()=>Wc(r,o,"false"),20)}return!1}function Rf(r){let e="";return r.ctrlKey&&(e+="c"),r.metaKey&&(e+="m"),r.altKey&&(e+="a"),r.shiftKey&&(e+="s"),e}function _f(r,e){let t=e.keyCode,o=Rf(e);if(t==8||Ke&&t==72&&o=="c")return jc(r,-1)||Kr(r,-1);if(t==46&&!e.shiftKey||Ke&&t==68&&o=="c")return jc(r,1)||Kr(r,1);if(t==13||t==27)return!0;if(t==37||Ke&&t==66&&o=="c"){let n=t==37?Fc(r,r.state.selection.from)=="ltr"?-1:1:-1;return _c(r,n,o)||Kr(r,n)}else if(t==39||Ke&&t==70&&o=="c"){let n=t==39?Fc(r,r.state.selection.from)=="ltr"?1:-1:1;return _c(r,n,o)||Kr(r,n)}else{if(t==38||Ke&&t==80&&o=="c")return Hc(r,-1,o)||Kr(r,-1);if(t==40||Ke&&t==78&&o=="c")return Lf(r)||Hc(r,1,o)||Kr(r,1);if(o==(Ke?"m":"c")&&(t==66||t==73||t==89||t==90))return!0}return!1}function ts(r,e){r.someProp("transformCopied",h=>{e=h(e,r)});let t=[],{content:o,openStart:n,openEnd:i}=e;for(;n>1&&i>1&&o.childCount==1&&o.firstChild.childCount==1;){n--,i--;let h=o.firstChild;t.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),o=h.content}let a=r.someProp("clipboardSerializer")||ur.fromSchema(r.state.schema),l=Xc(),d=l.createElement("div");d.appendChild(a.serializeFragment(o,{document:l}));let c=d.firstChild,p,u=0;for(;c&&c.nodeType==1&&(p=Yc[c.nodeName.toLowerCase()]);){for(let h=p.length-1;h>=0;h--){let g=l.createElement(p[h]);for(;d.firstChild;)g.appendChild(d.firstChild);d.appendChild(g),u++}c=d.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${n} ${i}${u?` -${u}`:""} ${JSON.stringify(t)}`);let m=r.someProp("clipboardTextSerializer",h=>h(e,r))||e.content.textBetween(0,e.content.size,`
17
17
 
18
18
  `);return{dom:d,text:m,slice:e}}function qc(r,e,t,o,n){let i=n.parent.type.spec.code,a,l;if(!t&&!e)return null;let d=e&&(o||i||!t);if(d){if(r.someProp("transformPastedText",m=>{e=m(e,i||o,r)}),i)return e?new P(B.from(r.state.schema.text(e.replace(/\r\n?/g,`
19
- `))),0,0):P.empty;let u=r.someProp("clipboardTextParser",m=>m(e,n,o,r));if(u)l=u;else{let m=n.marks(),{schema:h}=r.state,g=ur.fromSchema(h);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(f=>{let b=a.appendChild(document.createElement("p"));f&&b.appendChild(g.serializeNode(h.text(f,m)))})}}else r.someProp("transformPastedHTML",u=>{t=u(t,r)}),a=jf(t),Vo&&Wf(a);let c=a&&a.querySelector("[data-pm-slice]"),p=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(p&&p[3])for(let u=+p[3];u>0;u--){let m=a.firstChild;for(;m&&m.nodeType!=1;)m=m.nextSibling;if(!m)break;a=m}if(l||(l=(r.someProp("clipboardParser")||r.someProp("domParser")||ko.fromSchema(r.state.schema)).parseSlice(a,{preserveWhitespace:!!(d||p),context:n,ruleFromNode(m){return m.nodeName=="BR"&&!m.nextSibling&&m.parentNode&&!zf.test(m.parentNode.nodeName)?{ignore:!0}:null}})),p)l=qf(Jc(l,+p[1],+p[2]),p[4]);else if(l=P.maxOpen(Ff(l.content,n),!0),l.openStart||l.openEnd){let u=0,m=0;for(let h=l.content.firstChild;u<l.openStart&&!h.type.spec.isolating;u++,h=h.firstChild);for(let h=l.content.lastChild;m<l.openEnd&&!h.type.spec.isolating;m++,h=h.lastChild);l=Jc(l,u,m)}return r.someProp("transformPasted",u=>{l=u(l,r)}),l}const zf=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Ff(r,e){if(r.childCount<2)return r;for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.index(t)),i,a=[];if(r.forEach(l=>{if(!a)return;let d=n.findWrapping(l.type),c;if(!d)return a=null;if(c=a.length&&i.length&&Kc(d,i,l,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=Gc(a[a.length-1],i.length));let p=Uc(l,d);a.push(p),n=n.matchType(p.type),i=d}}),a)return B.from(a)}return r}function Uc(r,e,t=0){for(let o=e.length-1;o>=t;o--)r=e[o].create(null,B.from(r));return r}function Kc(r,e,t,o,n){if(n<r.length&&n<e.length&&r[n]==e[n]){let i=Kc(r,e,t,o.lastChild,n+1);if(i)return o.copy(o.content.replaceChild(o.childCount-1,i));if(o.contentMatchAt(o.childCount).matchType(n==r.length-1?t.type:r[n+1]))return o.copy(o.content.append(B.from(Uc(t,r,n+1))))}}function Gc(r,e){if(e==0)return r;let t=r.content.replaceChild(r.childCount-1,Gc(r.lastChild,e-1)),o=r.contentMatchAt(r.childCount).fillBefore(B.empty,!0);return r.copy(t.append(o))}function ts(r,e,t,o,n,i){let a=e<0?r.firstChild:r.lastChild,l=a.content;return r.childCount>1&&(i=0),n<o-1&&(l=ts(l,e,t,o,n+1,i)),n>=t&&(l=e<0?a.contentMatchAt(0).fillBefore(l,i<=n).append(l):l.append(a.contentMatchAt(a.childCount).fillBefore(B.empty,!0))),r.replaceChild(e<0?0:r.childCount-1,a.copy(l))}function Jc(r,e,t){return e<r.openStart&&(r=new P(ts(r.content,-1,e,r.openStart,0,r.openEnd),e,r.openEnd)),t<r.openEnd&&(r=new P(ts(r.content,1,t,r.openEnd,0,0),r.openStart,t)),r}const Yc={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let Qc=null;function Xc(){return Qc||(Qc=document.implementation.createHTMLDocument("title"))}let rs=null;function Hf(r){let e=window.trustedTypes;return e?(rs||(rs=e.defaultPolicy||e.createPolicy("ProseMirrorClipboard",{createHTML:t=>t})),rs.createHTML(r)):r}function jf(r){let e=/^(\s*<meta [^>]*>)*/.exec(r);e&&(r=r.slice(e[0].length));let t=Xc().createElement("div"),o=/<([a-z][^>\s]+)/i.exec(r),n;if((n=o&&Yc[o[1].toLowerCase()])&&(r=n.map(i=>"<"+i+">").join("")+r+n.map(i=>"</"+i+">").reverse().join("")),t.innerHTML=Hf(r),n)for(let i=0;i<n.length;i++)t=t.querySelector(n[i])||t;return t}function Wf(r){let e=r.querySelectorAll(Me?"span:not([class]):not([style])":"span.Apple-converted-space");for(let t=0;t<e.length;t++){let o=e[t];o.childNodes.length==1&&o.textContent==" "&&o.parentNode&&o.parentNode.replaceChild(r.ownerDocument.createTextNode(" "),o)}}function qf(r,e){if(!r.size)return r;let t=r.content.firstChild.type.schema,o;try{o=JSON.parse(e)}catch{return r}let{content:n,openStart:i,openEnd:a}=r;for(let l=o.length-2;l>=0;l-=2){let d=t.nodes[o[l]];if(!d||d.hasRequiredAttrs())break;n=B.from(d.create(o[l+1],n)),i++,a++}return new P(n,i,a)}const Pe={},Ae={},Uf={touchstart:!0,touchmove:!0};class Kf{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function Gf(r){for(let e in Pe){let t=Pe[e];r.dom.addEventListener(e,r.input.eventHandlers[e]=o=>{Yf(r,o)&&!is(r,o)&&(r.editable||!(o.type in Ae))&&t(r,o)},Uf[e]?{passive:!0}:void 0)}Ve&&r.dom.addEventListener("input",()=>null),ns(r)}function Yt(r,e){r.input.lastSelectionOrigin=e,r.input.lastSelectionTime=Date.now()}function Jf(r){r.domObserver.stop();for(let e in r.input.eventHandlers)r.dom.removeEventListener(e,r.input.eventHandlers[e]);clearTimeout(r.input.composingTimeout),clearTimeout(r.input.lastIOSEnterFallbackTimeout)}function ns(r){r.someProp("handleDOMEvents",e=>{for(let t in e)r.input.eventHandlers[t]||r.dom.addEventListener(t,r.input.eventHandlers[t]=o=>is(r,o))})}function is(r,e){return r.someProp("handleDOMEvents",t=>{let o=t[e.type];return o?o(r,e)||e.defaultPrevented:!1})}function Yf(r,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target;t!=r.dom;t=t.parentNode)if(!t||t.nodeType==11||t.pmViewDesc&&t.pmViewDesc.stopEvent(e))return!1;return!0}function Qf(r,e){!is(r,e)&&Pe[e.type]&&(r.editable||!(e.type in Ae))&&Pe[e.type](r,e)}Ae.keydown=(r,e)=>{let t=e;if(r.input.shiftKey=t.keyCode==16||t.shiftKey,!$c(r,t)&&(r.input.lastKeyCode=t.keyCode,r.input.lastKeyCodeTime=Date.now(),!(Et&&Me&&t.keyCode==13)))if(t.keyCode!=229&&r.domObserver.forceFlush(),qr&&t.keyCode==13&&!t.ctrlKey&&!t.altKey&&!t.metaKey){let o=Date.now();r.input.lastIOSEnter=o,r.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{r.input.lastIOSEnter==o&&(r.someProp("handleKeyDown",n=>n(r,gr(13,"Enter"))),r.input.lastIOSEnter=0)},200)}else r.someProp("handleKeyDown",o=>o(r,t))||_f(r,t)?t.preventDefault():Yt(r,"key")},Ae.keyup=(r,e)=>{e.keyCode==16&&(r.input.shiftKey=!1)},Ae.keypress=(r,e)=>{let t=e;if($c(r,t)||!t.charCode||t.ctrlKey&&!t.altKey||Ke&&t.metaKey)return;if(r.someProp("handleKeyPress",n=>n(r,t))){t.preventDefault();return}let o=r.state.selection;if(!(o instanceof _)||!o.$from.sameParent(o.$to)){let n=String.fromCharCode(t.charCode),i=()=>r.state.tr.insertText(n).scrollIntoView();!/[\r\n]/.test(n)&&!r.someProp("handleTextInput",a=>a(r,o.$from.pos,o.$to.pos,n,i))&&r.dispatch(i()),t.preventDefault()}};function Yn(r){return{left:r.clientX,top:r.clientY}}function Xf(r,e){let t=e.x-r.clientX,o=e.y-r.clientY;return t*t+o*o<100}function as(r,e,t,o,n){if(o==-1)return!1;let i=r.state.doc.resolve(o);for(let a=i.depth+1;a>0;a--)if(r.someProp(e,l=>a>i.depth?l(r,t,i.nodeAfter,i.before(a),n,!0):l(r,t,i.node(a),i.before(a),n,!1)))return!0;return!1}function Gr(r,e,t){if(r.focused||r.focus(),r.state.selection.eq(e))return;let o=r.state.tr.setSelection(e);o.setMeta("pointer",!0),r.dispatch(o)}function Zf(r,e){if(e==-1)return!1;let t=r.state.doc.resolve(e),o=t.nodeAfter;return o&&o.isAtom&&L.isSelectable(o)?(Gr(r,new L(t)),!0):!1}function $f(r,e){if(e==-1)return!1;let t=r.state.selection,o,n;t instanceof L&&(o=t.node);let i=r.state.doc.resolve(e);for(let a=i.depth+1;a>0;a--){let l=a>i.depth?i.nodeAfter:i.node(a);if(L.isSelectable(l)){o&&t.$from.depth>0&&a>=t.$from.depth&&i.before(t.$from.depth+1)==t.$from.pos?n=i.before(t.$from.depth):n=i.before(a);break}}return n!=null?(Gr(r,L.create(r.state.doc,n)),!0):!1}function e0(r,e,t,o,n){return as(r,"handleClickOn",e,t,o)||r.someProp("handleClick",i=>i(r,e,o))||(n?$f(r,t):Zf(r,t))}function t0(r,e,t,o){return as(r,"handleDoubleClickOn",e,t,o)||r.someProp("handleDoubleClick",n=>n(r,e,o))}function r0(r,e,t,o){return as(r,"handleTripleClickOn",e,t,o)||r.someProp("handleTripleClick",n=>n(r,e,o))||o0(r,t,o)}function o0(r,e,t){if(t.button!=0)return!1;let o=r.state.doc;if(e==-1)return o.inlineContent?(Gr(r,_.create(o,0,o.content.size)),!0):!1;let n=o.resolve(e);for(let i=n.depth+1;i>0;i--){let a=i>n.depth?n.nodeAfter:n.node(i),l=n.before(i);if(a.inlineContent)Gr(r,_.create(o,l+1,l+1+a.content.size));else if(L.isSelectable(a))Gr(r,L.create(o,l));else continue;return!0}}function ss(r){return Qn(r)}const Zc=Ke?"metaKey":"ctrlKey";Pe.mousedown=(r,e)=>{let t=e;r.input.shiftKey=t.shiftKey;let o=ss(r),n=Date.now(),i="singleClick";n-r.input.lastClick.time<500&&Xf(t,r.input.lastClick)&&!t[Zc]&&r.input.lastClick.button==t.button&&(r.input.lastClick.type=="singleClick"?i="doubleClick":r.input.lastClick.type=="doubleClick"&&(i="tripleClick")),r.input.lastClick={time:n,x:t.clientX,y:t.clientY,type:i,button:t.button};let a=r.posAtCoords(Yn(t));a&&(i=="singleClick"?(r.input.mouseDown&&r.input.mouseDown.done(),r.input.mouseDown=new n0(r,a,t,!!o)):(i=="doubleClick"?t0:r0)(r,a.pos,a.inside,t)?t.preventDefault():Yt(r,"pointer"))};class n0{constructor(e,t,o,n){this.view=e,this.pos=t,this.event=o,this.flushed=n,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!o[Zc],this.allowDefault=o.shiftKey;let i,a;if(t.inside>-1)i=e.state.doc.nodeAt(t.inside),a=t.inside;else{let p=e.state.doc.resolve(t.pos);i=p.parent,a=p.depth?p.before():0}const l=n?null:o.target,d=l?e.docView.nearestDesc(l,!0):null;this.target=d&&d.dom.nodeType==1?d.dom:null;let{selection:c}=e.state;(o.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||c instanceof L&&c.from<=a&&c.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&rt&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Yt(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>St(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Yn(e))),this.updateAllowDefault(e),this.allowDefault||!t?Yt(this.view,"pointer"):e0(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Ve&&this.mightDrag&&!this.mightDrag.node.isAtom||Me&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Gr(this.view,H.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):Yt(this.view,"pointer")}move(e){this.updateAllowDefault(e),Yt(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}Pe.touchstart=r=>{r.input.lastTouch=Date.now(),ss(r),Yt(r,"pointer")},Pe.touchmove=r=>{r.input.lastTouch=Date.now(),Yt(r,"pointer")},Pe.contextmenu=r=>ss(r);function $c(r,e){return r.composing?!0:Ve&&Math.abs(e.timeStamp-r.input.compositionEndedAt)<500?(r.input.compositionEndedAt=-2e8,!0):!1}const i0=Et?5e3:-1;Ae.compositionstart=Ae.compositionupdate=r=>{if(!r.composing){r.domObserver.flush();let{state:e}=r,t=e.selection.$to;if(e.selection instanceof _&&(e.storedMarks||!t.textOffset&&t.parentOffset&&t.nodeBefore.marks.some(o=>o.type.spec.inclusive===!1)))r.markCursor=r.state.storedMarks||t.marks(),Qn(r,!0),r.markCursor=null;else if(Qn(r,!e.selection.empty),rt&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let o=r.domSelectionRange();for(let n=o.focusNode,i=o.focusOffset;n&&n.nodeType==1&&i!=0;){let a=i<0?n.lastChild:n.childNodes[i-1];if(!a)break;if(a.nodeType==3){let l=r.domSelection();l&&l.collapse(a,a.nodeValue.length);break}else n=a,i=-1}}r.input.composing=!0}ep(r,i0)},Ae.compositionend=(r,e)=>{r.composing&&(r.input.composing=!1,r.input.compositionEndedAt=e.timeStamp,r.input.compositionPendingChanges=r.domObserver.pendingRecords().length?r.input.compositionID:0,r.input.compositionNode=null,r.input.compositionPendingChanges&&Promise.resolve().then(()=>r.domObserver.flush()),r.input.compositionID++,ep(r,20))};function ep(r,e){clearTimeout(r.input.composingTimeout),e>-1&&(r.input.composingTimeout=setTimeout(()=>Qn(r),e))}function tp(r){for(r.composing&&(r.input.composing=!1,r.input.compositionEndedAt=s0());r.input.compositionNodes.length>0;)r.input.compositionNodes.pop().markParentsDirty()}function a0(r){let e=r.domSelectionRange();if(!e.focusNode)return null;let t=Xg(e.focusNode,e.focusOffset),o=Zg(e.focusNode,e.focusOffset);if(t&&o&&t!=o){let n=o.pmViewDesc,i=r.domObserver.lastChangedTextNode;if(t==i||o==i)return i;if(!n||!n.isText(o.nodeValue))return o;if(r.input.compositionNode==o){let a=t.pmViewDesc;if(!(!a||!a.isText(t.nodeValue)))return o}}return t||o}function s0(){let r=document.createEvent("Event");return r.initEvent("event",!0,!0),r.timeStamp}function Qn(r,e=!1){if(!(Et&&r.domObserver.flushingSoon>=0)){if(r.domObserver.forceFlush(),tp(r),e||r.docView&&r.docView.dirty){let t=Ya(r),o=r.state.selection;return t&&!t.eq(o)?r.dispatch(r.state.tr.setSelection(t)):(r.markCursor||e)&&!o.$from.node(o.$from.sharedDepth(o.to)).inlineContent?r.dispatch(r.state.tr.deleteSelection()):r.updateState(r.state),!0}return!1}}function l0(r,e){if(!r.dom.parentNode)return;let t=r.dom.parentNode.appendChild(document.createElement("div"));t.appendChild(e),t.style.cssText="position: fixed; left: -10000px; top: 10px";let o=getSelection(),n=document.createRange();n.selectNodeContents(e),r.dom.blur(),o.removeAllRanges(),o.addRange(n),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t),r.focus()},50)}const Lo=Le&&Ut<15||qr&&of<604;Pe.copy=Ae.cut=(r,e)=>{let t=e,o=r.state.selection,n=t.type=="cut";if(o.empty)return;let i=Lo?null:t.clipboardData,a=o.content(),{dom:l,text:d}=es(r,a);i?(t.preventDefault(),i.clearData(),i.setData("text/html",l.innerHTML),i.setData("text/plain",d)):l0(r,l),n&&r.dispatch(r.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function d0(r){return r.openStart==0&&r.openEnd==0&&r.content.childCount==1?r.content.firstChild:null}function c0(r,e){if(!r.dom.parentNode)return;let t=r.input.shiftKey||r.state.selection.$from.parent.type.spec.code,o=r.dom.parentNode.appendChild(document.createElement(t?"textarea":"div"));t||(o.contentEditable="true"),o.style.cssText="position: fixed; left: -10000px; top: 10px",o.focus();let n=r.input.shiftKey&&r.input.lastKeyCode!=45;setTimeout(()=>{r.focus(),o.parentNode&&o.parentNode.removeChild(o),t?Ro(r,o.value,null,n,e):Ro(r,o.textContent,o.innerHTML,n,e)},50)}function Ro(r,e,t,o,n){let i=qc(r,e,t,o,r.state.selection.$from);if(r.someProp("handlePaste",d=>d(r,n,i||P.empty)))return!0;if(!i)return!1;let a=d0(i),l=a?r.state.tr.replaceSelectionWith(a,o):r.state.tr.replaceSelection(i);return r.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function rp(r){let e=r.getData("text/plain")||r.getData("Text");if(e)return e;let t=r.getData("text/uri-list");return t?t.replace(/\r?\n/g," "):""}Ae.paste=(r,e)=>{let t=e;if(r.composing&&!Et)return;let o=Lo?null:t.clipboardData,n=r.input.shiftKey&&r.input.lastKeyCode!=45;o&&Ro(r,rp(o),o.getData("text/html"),n,t)?t.preventDefault():c0(r,t)};class op{constructor(e,t,o){this.slice=e,this.move=t,this.node=o}}const p0=Ke?"altKey":"ctrlKey";function np(r,e){let t=r.someProp("dragCopies",o=>!o(e));return t??!e[p0]}Pe.dragstart=(r,e)=>{let t=e,o=r.input.mouseDown;if(o&&o.done(),!t.dataTransfer)return;let n=r.state.selection,i=n.empty?null:r.posAtCoords(Yn(t)),a;if(!(i&&i.pos>=n.from&&i.pos<=(n instanceof L?n.to-1:n.to))){if(o&&o.mightDrag)a=L.create(r.state.doc,o.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let u=r.docView.nearestDesc(t.target,!0);u&&u.node.type.spec.draggable&&u!=r.docView&&(a=L.create(r.state.doc,u.posBefore))}}let l=(a||r.state.selection).content(),{dom:d,text:c,slice:p}=es(r,l);(!t.dataTransfer.files.length||!Me||cc>120)&&t.dataTransfer.clearData(),t.dataTransfer.setData(Lo?"Text":"text/html",d.innerHTML),t.dataTransfer.effectAllowed="copyMove",Lo||t.dataTransfer.setData("text/plain",c),r.dragging=new op(p,np(r,t),a)},Pe.dragend=r=>{let e=r.dragging;window.setTimeout(()=>{r.dragging==e&&(r.dragging=null)},50)},Ae.dragover=Ae.dragenter=(r,e)=>e.preventDefault(),Ae.drop=(r,e)=>{let t=e,o=r.dragging;if(r.dragging=null,!t.dataTransfer)return;let n=r.posAtCoords(Yn(t));if(!n)return;let i=r.state.doc.resolve(n.pos),a=o&&o.slice;a?r.someProp("transformPasted",g=>{a=g(a,r)}):a=qc(r,rp(t.dataTransfer),Lo?null:t.dataTransfer.getData("text/html"),!1,i);let l=!!(o&&np(r,t));if(r.someProp("handleDrop",g=>g(r,t,a||P.empty,l))){t.preventDefault();return}if(!a)return;t.preventDefault();let d=a?Gd(r.state.doc,i.pos,a):i.pos;d==null&&(d=i.pos);let c=r.state.tr;if(l){let{node:g}=o;g?g.replace(c):c.deleteSelection()}let p=c.mapping.map(d),u=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,m=c.doc;if(u?c.replaceRangeWith(p,p,a.content.firstChild):c.replaceRange(p,p,a),c.doc.eq(m))return;let h=c.doc.resolve(p);if(u&&L.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new L(h));else{let g=c.mapping.map(d);c.mapping.maps[c.mapping.maps.length-1].forEach((f,b,w,C)=>g=C),c.setSelection(Xa(r,h,c.doc.resolve(g)))}r.focus(),r.dispatch(c.setMeta("uiEvent","drop"))},Pe.focus=r=>{r.input.lastFocus=Date.now(),r.focused||(r.domObserver.stop(),r.dom.classList.add("ProseMirror-focused"),r.domObserver.start(),r.focused=!0,setTimeout(()=>{r.docView&&r.hasFocus()&&!r.domObserver.currentSelection.eq(r.domSelectionRange())&&St(r)},20))},Pe.blur=(r,e)=>{let t=e;r.focused&&(r.domObserver.stop(),r.dom.classList.remove("ProseMirror-focused"),r.domObserver.start(),t.relatedTarget&&r.dom.contains(t.relatedTarget)&&r.domObserver.currentSelection.clear(),r.focused=!1)},Pe.beforeinput=(r,e)=>{if(Me&&Et&&e.inputType=="deleteContentBackward"){r.domObserver.flushSoon();let{domChangeCount:o}=r.input;setTimeout(()=>{if(r.input.domChangeCount!=o||(r.dom.blur(),r.focus(),r.someProp("handleKeyDown",i=>i(r,gr(8,"Backspace")))))return;let{$cursor:n}=r.state.selection;n&&n.pos>0&&r.dispatch(r.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let r in Ae)Pe[r]=Ae[r];function _o(r,e){if(r==e)return!0;for(let t in r)if(r[t]!==e[t])return!1;for(let t in e)if(!(t in r))return!1;return!0}class Xn{constructor(e,t){this.toDOM=e,this.spec=t||wr,this.side=this.spec.side||0}map(e,t,o,n){let{pos:i,deleted:a}=e.mapResult(t.from+n,this.side<0?-1:1);return a?null:new Je(i-o,i-o,this)}valid(){return!0}eq(e){return this==e||e instanceof Xn&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&_o(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Qt{constructor(e,t){this.attrs=e,this.spec=t||wr}map(e,t,o,n){let i=e.map(t.from+n,this.spec.inclusiveStart?-1:1)-o,a=e.map(t.to+n,this.spec.inclusiveEnd?1:-1)-o;return i>=a?null:new Je(i,a,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Qt&&_o(this.attrs,e.attrs)&&_o(this.spec,e.spec)}static is(e){return e.type instanceof Qt}destroy(){}}class ls{constructor(e,t){this.attrs=e,this.spec=t||wr}map(e,t,o,n){let i=e.mapResult(t.from+n,1);if(i.deleted)return null;let a=e.mapResult(t.to+n,-1);return a.deleted||a.pos<=i.pos?null:new Je(i.pos-o,a.pos-o,this)}valid(e,t){let{index:o,offset:n}=e.content.findIndex(t.from),i;return n==t.from&&!(i=e.child(o)).isText&&n+i.nodeSize==t.to}eq(e){return this==e||e instanceof ls&&_o(this.attrs,e.attrs)&&_o(this.spec,e.spec)}destroy(){}}class Je{constructor(e,t,o){this.from=e,this.to=t,this.type=o}copy(e,t){return new Je(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,o){return this.type.map(e,this,t,o)}static widget(e,t,o){return new Je(e,e,new Xn(t,o))}static inline(e,t,o,n){return new Je(e,t,new Qt(o,n))}static node(e,t,o,n){return new Je(e,t,new ls(o,n))}get spec(){return this.type.spec}get inline(){return this.type instanceof Qt}get widget(){return this.type instanceof Xn}}const Jr=[],wr={};class ue{constructor(e,t){this.local=e.length?e:Jr,this.children=t.length?t:Jr}static create(e,t){return t.length?Zn(t,e,0,wr):Be}find(e,t,o){let n=[];return this.findInner(e??0,t??1e9,n,0,o),n}findInner(e,t,o,n,i){for(let a=0;a<this.local.length;a++){let l=this.local[a];l.from<=t&&l.to>=e&&(!i||i(l.spec))&&o.push(l.copy(l.from+n,l.to+n))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<t&&this.children[a+1]>e){let l=this.children[a]+1;this.children[a+2].findInner(e-l,t-l,o,n+l,i)}}map(e,t,o){return this==Be||e.maps.length==0?this:this.mapInner(e,t,0,0,o||wr)}mapInner(e,t,o,n,i){let a;for(let l=0;l<this.local.length;l++){let d=this.local[l].map(e,o,n);d&&d.type.valid(t,d)?(a||(a=[])).push(d):i.onRemove&&i.onRemove(this.local[l].spec)}return this.children.length?u0(this.children,a||[],e,t,o,n,i):a?new ue(a.sort(xr),Jr):Be}add(e,t){return t.length?this==Be?ue.create(e,t):this.addInner(e,t,0):this}addInner(e,t,o){let n,i=0;e.forEach((l,d)=>{let c=d+o,p;if(p=ap(t,l,c)){for(n||(n=this.children.slice());i<n.length&&n[i]<d;)i+=3;n[i]==d?n[i+2]=n[i+2].addInner(l,p,c+1):n.splice(i,0,d,d+l.nodeSize,Zn(p,l,c+1,wr)),i+=3}});let a=ip(i?sp(t):t,-o);for(let l=0;l<a.length;l++)a[l].type.valid(e,a[l])||a.splice(l--,1);return new ue(a.length?this.local.concat(a).sort(xr):this.local,n||this.children)}remove(e){return e.length==0||this==Be?this:this.removeInner(e,0)}removeInner(e,t){let o=this.children,n=this.local;for(let i=0;i<o.length;i+=3){let a,l=o[i]+t,d=o[i+1]+t;for(let p=0,u;p<e.length;p++)(u=e[p])&&u.from>l&&u.to<d&&(e[p]=null,(a||(a=[])).push(u));if(!a)continue;o==this.children&&(o=this.children.slice());let c=o[i+2].removeInner(a,l+1);c!=Be?o[i+2]=c:(o.splice(i,3),i-=3)}if(n.length){for(let i=0,a;i<e.length;i++)if(a=e[i])for(let l=0;l<n.length;l++)n[l].eq(a,t)&&(n==this.local&&(n=this.local.slice()),n.splice(l--,1))}return o==this.children&&n==this.local?this:n.length||o.length?new ue(n,o):Be}forChild(e,t){if(this==Be)return this;if(t.isLeaf)return ue.empty;let o,n;for(let l=0;l<this.children.length;l+=3)if(this.children[l]>=e){this.children[l]==e&&(o=this.children[l+2]);break}let i=e+1,a=i+t.content.size;for(let l=0;l<this.local.length;l++){let d=this.local[l];if(d.from<a&&d.to>i&&d.type instanceof Qt){let c=Math.max(i,d.from)-i,p=Math.min(a,d.to)-i;c<p&&(n||(n=[])).push(d.copy(c,p))}}if(n){let l=new ue(n.sort(xr),Jr);return o?new Xt([l,o]):l}return o||Be}eq(e){if(this==e)return!0;if(!(e instanceof ue)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return ds(this.localsInner(e))}localsInner(e){if(this==Be)return Jr;if(e.inlineContent||!this.local.some(Qt.is))return this.local;let t=[];for(let o=0;o<this.local.length;o++)this.local[o].type instanceof Qt||t.push(this.local[o]);return t}forEachSet(e){e(this)}}ue.empty=new ue([],[]),ue.removeOverlap=ds;const Be=ue.empty;class Xt{constructor(e){this.members=e}map(e,t){const o=this.members.map(n=>n.map(e,t,wr));return Xt.from(o)}forChild(e,t){if(t.isLeaf)return ue.empty;let o=[];for(let n=0;n<this.members.length;n++){let i=this.members[n].forChild(e,t);i!=Be&&(i instanceof Xt?o=o.concat(i.members):o.push(i))}return Xt.from(o)}eq(e){if(!(e instanceof Xt)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,o=!0;for(let n=0;n<this.members.length;n++){let i=this.members[n].localsInner(e);if(i.length)if(!t)t=i;else{o&&(t=t.slice(),o=!1);for(let a=0;a<i.length;a++)t.push(i[a])}}return t?ds(o?t:t.sort(xr)):Jr}static from(e){switch(e.length){case 0:return Be;case 1:return e[0];default:return new Xt(e.every(t=>t instanceof ue)?e:e.reduce((t,o)=>t.concat(o instanceof ue?o:o.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}function u0(r,e,t,o,n,i,a){let l=r.slice();for(let c=0,p=i;c<t.maps.length;c++){let u=0;t.maps[c].forEach((m,h,g,f)=>{let b=f-g-(h-m);for(let w=0;w<l.length;w+=3){let C=l[w+1];if(C<0||m>C+p-u)continue;let k=l[w]+p-u;h>=k?l[w+1]=m<=k?-2:-1:m>=p&&b&&(l[w]+=b,l[w+1]+=b)}u+=b}),p=t.maps[c].map(p,-1)}let d=!1;for(let c=0;c<l.length;c+=3)if(l[c+1]<0){if(l[c+1]==-2){d=!0,l[c+1]=-1;continue}let p=t.map(r[c]+i),u=p-n;if(u<0||u>=o.content.size){d=!0;continue}let m=t.map(r[c+1]+i,-1),h=m-n,{index:g,offset:f}=o.content.findIndex(u),b=o.maybeChild(g);if(b&&f==u&&f+b.nodeSize==h){let w=l[c+2].mapInner(t,b,p+1,r[c]+i+1,a);w!=Be?(l[c]=u,l[c+1]=h,l[c+2]=w):(l[c+1]=-2,d=!0)}else d=!0}if(d){let c=m0(l,r,e,t,n,i,a),p=Zn(c,o,0,a);e=p.local;for(let u=0;u<l.length;u+=3)l[u+1]<0&&(l.splice(u,3),u-=3);for(let u=0,m=0;u<p.children.length;u+=3){let h=p.children[u];for(;m<l.length&&l[m]<h;)m+=3;l.splice(m,0,p.children[u],p.children[u+1],p.children[u+2])}}return new ue(e.sort(xr),l)}function ip(r,e){if(!e||!r.length)return r;let t=[];for(let o=0;o<r.length;o++){let n=r[o];t.push(new Je(n.from+e,n.to+e,n.type))}return t}function m0(r,e,t,o,n,i,a){function l(d,c){for(let p=0;p<d.local.length;p++){let u=d.local[p].map(o,n,c);u?t.push(u):a.onRemove&&a.onRemove(d.local[p].spec)}for(let p=0;p<d.children.length;p+=3)l(d.children[p+2],d.children[p]+c+1)}for(let d=0;d<r.length;d+=3)r[d+1]==-1&&l(r[d+2],e[d]+i+1);return t}function ap(r,e,t){if(e.isLeaf)return null;let o=t+e.nodeSize,n=null;for(let i=0,a;i<r.length;i++)(a=r[i])&&a.from>t&&a.to<o&&((n||(n=[])).push(a),r[i]=null);return n}function sp(r){let e=[];for(let t=0;t<r.length;t++)r[t]!=null&&e.push(r[t]);return e}function Zn(r,e,t,o){let n=[],i=!1;e.forEach((l,d)=>{let c=ap(r,l,d+t);if(c){i=!0;let p=Zn(c,l,t+d+1,o);p!=Be&&n.push(d,d+l.nodeSize,p)}});let a=ip(i?sp(r):r,-t).sort(xr);for(let l=0;l<a.length;l++)a[l].type.valid(e,a[l])||(o.onRemove&&o.onRemove(a[l].spec),a.splice(l--,1));return a.length||n.length?new ue(a,n):Be}function xr(r,e){return r.from-e.from||r.to-e.to}function ds(r){let e=r;for(let t=0;t<e.length-1;t++){let o=e[t];if(o.from!=o.to)for(let n=t+1;n<e.length;n++){let i=e[n];if(i.from==o.from){i.to!=o.to&&(e==r&&(e=r.slice()),e[n]=i.copy(i.from,o.to),lp(e,n+1,i.copy(o.to,i.to)));continue}else{i.from<o.to&&(e==r&&(e=r.slice()),e[t]=o.copy(o.from,i.from),lp(e,n,o.copy(i.from,o.to)));break}}}return e}function lp(r,e,t){for(;e<r.length&&xr(t,r[e])>0;)e++;r.splice(e,0,t)}function cs(r){let e=[];return r.someProp("decorations",t=>{let o=t(r.state);o&&o!=Be&&e.push(o)}),r.cursorWrapper&&e.push(ue.create(r.state.doc,[r.cursorWrapper.deco])),Xt.from(e)}const h0={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},g0=Le&&Ut<=11;class f0{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class b0{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new f0,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(o=>{for(let n=0;n<o.length;n++)this.queue.push(o[n]);Le&&Ut<=11&&o.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),g0&&(this.onCharData=o=>{this.queue.push({target:o.target,type:"characterData",oldValue:o.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,h0)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Lc(this.view)){if(this.suppressingSelectionUpdates)return St(this.view);if(Le&&Ut<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&hr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,o;for(let i=e.focusNode;i;i=Wr(i))t.add(i);for(let i=e.anchorNode;i;i=Wr(i))if(t.has(i)){o=i;break}let n=o&&this.view.docView.nearestDesc(o);if(n&&n.ignoreMutation({type:"selection",target:o.nodeType==3?o.parentNode:o}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let o=e.domSelectionRange(),n=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(o)&&Lc(e)&&!this.ignoreSelectionChange(o),i=-1,a=-1,l=!1,d=[];if(e.editable)for(let p=0;p<t.length;p++){let u=this.registerMutation(t[p],d);u&&(i=i<0?u.from:Math.min(u.from,i),a=a<0?u.to:Math.max(u.to,a),u.typeOver&&(l=!0))}if(rt&&d.length){let p=d.filter(u=>u.nodeName=="BR");if(p.length==2){let[u,m]=p;u.parentNode&&u.parentNode.parentNode==m.parentNode?m.remove():u.remove()}else{let{focusNode:u}=this.currentSelection;for(let m of p){let h=m.parentNode;h&&h.nodeName=="LI"&&(!u||x0(e,u)!=h)&&m.remove()}}}let c=null;i<0&&n&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Un(o)&&(c=Ya(e))&&c.eq(H.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,St(e),this.currentSelection.set(o),e.scrollToSelection()):(i>-1||n)&&(i>-1&&(e.docView.markDirty(i,a),y0(e)),this.handleDOMChange(i,a,l,d),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(o)||St(e),this.currentSelection.set(o))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let o=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(o==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!o||o.ignoreMutation(e))return null;if(e.type=="childList"){for(let p=0;p<e.addedNodes.length;p++){let u=e.addedNodes[p];t.push(u),u.nodeType==3&&(this.lastChangedTextNode=u)}if(o.contentDOM&&o.contentDOM!=o.dom&&!o.contentDOM.contains(e.target))return{from:o.posBefore,to:o.posAfter};let n=e.previousSibling,i=e.nextSibling;if(Le&&Ut<=11&&e.addedNodes.length)for(let p=0;p<e.addedNodes.length;p++){let{previousSibling:u,nextSibling:m}=e.addedNodes[p];(!u||Array.prototype.indexOf.call(e.addedNodes,u)<0)&&(n=u),(!m||Array.prototype.indexOf.call(e.addedNodes,m)<0)&&(i=m)}let a=n&&n.parentNode==e.target?ve(n)+1:0,l=o.localPosFromDOM(e.target,a,-1),d=i&&i.parentNode==e.target?ve(i):e.target.childNodes.length,c=o.localPosFromDOM(e.target,d,1);return{from:l,to:c}}else return e.type=="attributes"?{from:o.posAtStart-o.border,to:o.posAtEnd+o.border}:(this.lastChangedTextNode=e.target,{from:o.posAtStart,to:o.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let dp=new WeakMap,cp=!1;function y0(r){if(!dp.has(r)&&(dp.set(r,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(r.dom).whiteSpace)!==-1)){if(r.requiresGeckoHackNode=rt,cp)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),cp=!0}}function pp(r,e){let t=e.startContainer,o=e.startOffset,n=e.endContainer,i=e.endOffset,a=r.domAtPos(r.state.selection.anchor);return hr(a.node,a.offset,n,i)&&([t,o,n,i]=[n,i,t,o]),{anchorNode:t,anchorOffset:o,focusNode:n,focusOffset:i}}function w0(r,e){if(e.getComposedRanges){let n=e.getComposedRanges(r.root)[0];if(n)return pp(r,n)}let t;function o(n){n.preventDefault(),n.stopImmediatePropagation(),t=n.getTargetRanges()[0]}return r.dom.addEventListener("beforeinput",o,!0),document.execCommand("indent"),r.dom.removeEventListener("beforeinput",o,!0),t?pp(r,t):null}function x0(r,e){for(let t=e.parentNode;t&&t!=r.dom;t=t.parentNode){let o=r.docView.nearestDesc(t,!0);if(o&&o.node.isBlock)return t}return null}function v0(r,e,t){let{node:o,fromOffset:n,toOffset:i,from:a,to:l}=r.docView.parseRange(e,t),d=r.domSelectionRange(),c,p=d.anchorNode;if(p&&r.dom.contains(p.nodeType==1?p:p.parentNode)&&(c=[{node:p,offset:d.anchorOffset}],Un(d)||c.push({node:d.focusNode,offset:d.focusOffset})),Me&&r.input.lastKeyCode===8)for(let b=i;b>n;b--){let w=o.childNodes[b-1],C=w.pmViewDesc;if(w.nodeName=="BR"&&!C){i=b;break}if(!C||C.size)break}let u=r.state.doc,m=r.someProp("domParser")||ko.fromSchema(r.state.schema),h=u.resolve(a),g=null,f=m.parse(o,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:n,to:i,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:k0,context:h});if(c&&c[0].pos!=null){let b=c[0].pos,w=c[1]&&c[1].pos;w==null&&(w=b),g={anchor:b+a,head:w+a}}return{doc:f,sel:g,from:a,to:l}}function k0(r){let e=r.pmViewDesc;if(e)return e.parseRule();if(r.nodeName=="BR"&&r.parentNode){if(Ve&&/^(ul|ol)$/i.test(r.parentNode.nodeName)){let t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}else if(r.parentNode.lastChild==r||Ve&&/^(tr|table)$/i.test(r.parentNode.nodeName))return{ignore:!0}}else if(r.nodeName=="IMG"&&r.getAttribute("mark-placeholder"))return{ignore:!0};return null}const E0=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function C0(r,e,t,o,n){let i=r.input.compositionPendingChanges||(r.composing?r.input.compositionID:0);if(r.input.compositionPendingChanges=0,e<0){let O=r.input.lastSelectionTime>Date.now()-50?r.input.lastSelectionOrigin:null,A=Ya(r,O);if(A&&!r.state.selection.eq(A)){if(Me&&Et&&r.input.lastKeyCode===13&&Date.now()-100<r.input.lastKeyCodeTime&&r.someProp("handleKeyDown",x=>x(r,gr(13,"Enter"))))return;let v=r.state.tr.setSelection(A);O=="pointer"?v.setMeta("pointer",!0):O=="key"&&v.scrollIntoView(),i&&v.setMeta("composition",i),r.dispatch(v)}return}let a=r.state.doc.resolve(e),l=a.sharedDepth(t);e=a.before(l+1),t=r.state.doc.resolve(t).after(l+1);let d=r.state.selection,c=v0(r,e,t),p=r.state.doc,u=p.slice(c.from,c.to),m,h;r.input.lastKeyCode===8&&Date.now()-100<r.input.lastKeyCodeTime?(m=r.state.selection.to,h="end"):(m=r.state.selection.from,h="start"),r.input.lastKeyCode=null;let g=M0(u.content,c.doc.content,c.from,m,h);if(g&&r.input.domChangeCount++,(qr&&r.input.lastIOSEnter>Date.now()-225||Et)&&n.some(O=>O.nodeType==1&&!E0.test(O.nodeName))&&(!g||g.endA>=g.endB)&&r.someProp("handleKeyDown",O=>O(r,gr(13,"Enter")))){r.input.lastIOSEnter=0;return}if(!g)if(o&&d instanceof _&&!d.empty&&d.$head.sameParent(d.$anchor)&&!r.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))g={start:d.from,endA:d.to,endB:d.to};else{if(c.sel){let O=up(r,r.state.doc,c.sel);if(O&&!O.eq(r.state.selection)){let A=r.state.tr.setSelection(O);i&&A.setMeta("composition",i),r.dispatch(A)}}return}r.state.selection.from<r.state.selection.to&&g.start==g.endB&&r.state.selection instanceof _&&(g.start>r.state.selection.from&&g.start<=r.state.selection.from+2&&r.state.selection.from>=c.from?g.start=r.state.selection.from:g.endA<r.state.selection.to&&g.endA>=r.state.selection.to-2&&r.state.selection.to<=c.to&&(g.endB+=r.state.selection.to-g.endA,g.endA=r.state.selection.to)),Le&&Ut<=11&&g.endB==g.start+1&&g.endA==g.start&&g.start>c.from&&c.doc.textBetween(g.start-c.from-1,g.start-c.from+1)=="  "&&(g.start--,g.endA--,g.endB--);let f=c.doc.resolveNoCache(g.start-c.from),b=c.doc.resolveNoCache(g.endB-c.from),w=p.resolve(g.start),C=f.sameParent(b)&&f.parent.inlineContent&&w.end()>=g.endA,k;if((qr&&r.input.lastIOSEnter>Date.now()-225&&(!C||n.some(O=>O.nodeName=="DIV"||O.nodeName=="P"))||!C&&f.pos<c.doc.content.size&&(!f.sameParent(b)||!f.parent.inlineContent)&&!/\S/.test(c.doc.textBetween(f.pos,b.pos,"",""))&&(k=H.findFrom(c.doc.resolve(f.pos+1),1,!0))&&k.head>f.pos)&&r.someProp("handleKeyDown",O=>O(r,gr(13,"Enter")))){r.input.lastIOSEnter=0;return}if(r.state.selection.anchor>g.start&&N0(p,g.start,g.endA,f,b)&&r.someProp("handleKeyDown",O=>O(r,gr(8,"Backspace")))){Et&&Me&&r.domObserver.suppressSelectionUpdates();return}Me&&g.endB==g.start&&(r.input.lastChromeDelete=Date.now()),Et&&!C&&f.start()!=b.start()&&b.parentOffset==0&&f.depth==b.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==g.endA&&(g.endB-=2,b=c.doc.resolveNoCache(g.endB-c.from),setTimeout(()=>{r.someProp("handleKeyDown",function(O){return O(r,gr(13,"Enter"))})},20));let y=g.start,S=g.endA,E=O=>{let A=O||r.state.tr.replace(y,S,c.doc.slice(g.start-c.from,g.endB-c.from));if(c.sel){let v=up(r,A.doc,c.sel);v&&!(Me&&r.composing&&v.empty&&(g.start!=g.endB||r.input.lastChromeDelete<Date.now()-100)&&(v.head==y||v.head==A.mapping.map(S)-1)||Le&&v.empty&&v.head==y)&&A.setSelection(v)}return i&&A.setMeta("composition",i),A.scrollIntoView()},N;if(C){if(f.pos==b.pos){Le&&Ut<=11&&f.parentOffset==0&&(r.domObserver.suppressSelectionUpdates(),setTimeout(()=>St(r),20));let O=E(r.state.tr.delete(y,S)),A=p.resolve(g.start).marksAcross(p.resolve(g.endA));A&&O.ensureMarks(A),r.dispatch(O)}else if(g.endA==g.endB&&(N=S0(f.parent.content.cut(f.parentOffset,b.parentOffset),w.parent.content.cut(w.parentOffset,g.endA-w.start())))){let O=E(r.state.tr);N.type=="add"?O.addMark(y,S,N.mark):O.removeMark(y,S,N.mark),r.dispatch(O)}else if(f.parent.child(f.index()).isText&&f.index()==b.index()-(b.textOffset?0:1)){let O=f.parent.textBetween(f.parentOffset,b.parentOffset),A=()=>E(r.state.tr.insertText(O,y,S));r.someProp("handleTextInput",v=>v(r,y,S,O,A))||r.dispatch(A())}}else r.dispatch(E())}function up(r,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:Xa(r,e.resolve(t.anchor),e.resolve(t.head))}function S0(r,e){let t=r.firstChild.marks,o=e.firstChild.marks,n=t,i=o,a,l,d;for(let p=0;p<o.length;p++)n=o[p].removeFromSet(n);for(let p=0;p<t.length;p++)i=t[p].removeFromSet(i);if(n.length==1&&i.length==0)l=n[0],a="add",d=p=>p.mark(l.addToSet(p.marks));else if(n.length==0&&i.length==1)l=i[0],a="remove",d=p=>p.mark(l.removeFromSet(p.marks));else return null;let c=[];for(let p=0;p<e.childCount;p++)c.push(d(e.child(p)));if(B.from(c).eq(r))return{mark:l,type:a}}function N0(r,e,t,o,n){if(t-e<=n.pos-o.pos||ps(o,!0,!1)<n.pos)return!1;let i=r.resolve(e);if(!o.parent.isTextblock){let l=i.nodeAfter;return l!=null&&t==e+l.nodeSize}if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let a=r.resolve(ps(i,!0,!0));return!a.parent.isTextblock||a.pos>t||ps(a,!0,!1)<t?!1:o.parent.content.cut(o.parentOffset).eq(a.parent.content)}function ps(r,e,t){let o=r.depth,n=e?r.end():r.pos;for(;o>0&&(e||r.indexAfter(o)==r.node(o).childCount);)o--,n++,e=!1;if(t){let i=r.node(o).maybeChild(r.indexAfter(o));for(;i&&!i.isLeaf;)i=i.firstChild,n++}return n}function M0(r,e,t,o,n){let i=r.findDiffStart(e,t);if(i==null)return null;let{a,b:l}=r.findDiffEnd(e,t+r.size,t+e.size);if(n=="end"){let d=Math.max(0,i-Math.min(a,l));o-=a+d-i}if(a<i&&r.size<e.size){let d=o<=i&&o>=a?i-o:0;i-=d,i&&i<e.size&&mp(e.textBetween(i-1,i+1))&&(i+=d?1:-1),l=i+(l-a),a=i}else if(l<i){let d=o<=i&&o>=l?i-o:0;i-=d,i&&i<r.size&&mp(r.textBetween(i-1,i+1))&&(i+=d?1:-1),a=i+(a-l),l=i}return{start:i,endA:a,endB:l}}function mp(r){if(r.length!=2)return!1;let e=r.charCodeAt(0),t=r.charCodeAt(1);return e>=56320&&e<=57343&&t>=55296&&t<=56319}class hp{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new Kf,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(wp),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=bp(this),fp(this),this.nodeViews=yp(this),this.docView=Cc(this.state.doc,gp(this),cs(this),this.dom,this),this.domObserver=new b0(this,(o,n,i,a)=>C0(this,o,n,i,a)),this.domObserver.start(),Gf(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&ns(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(wp),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let o in this._props)t[o]=this._props[o];t.state=this.state;for(let o in e)t[o]=e[o];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var o;let n=this.state,i=!1,a=!1;e.storedMarks&&this.composing&&(tp(this),a=!0),this.state=e;let l=n.plugins!=e.plugins||this._props.plugins!=t.plugins;if(l||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let h=yp(this);T0(h,this.nodeViews)&&(this.nodeViews=h,i=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&ns(this),this.editable=bp(this),fp(this);let d=cs(this),c=gp(this),p=n.plugins!=e.plugins&&!n.doc.eq(e.doc)?"reset":e.scrollToSelection>n.scrollToSelection?"to selection":"preserve",u=i||!this.docView.matchesNode(e.doc,c,d);(u||!e.selection.eq(n.selection))&&(a=!0);let m=p=="preserve"&&a&&this.dom.style.overflowAnchor==null&&sf(this);if(a){this.domObserver.stop();let h=u&&(Le||Me)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&B0(n.selection,e.selection);if(u){let g=Me?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=a0(this)),(i||!this.docView.update(e.doc,c,d,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=Cc(e.doc,c,d,this.dom,this)),g&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Vf(this))?St(this,h):(Dc(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),!((o=this.dragging)===null||o===void 0)&&o.node&&!n.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,n),p=="reset"?this.dom.scrollTop=0:p=="to selection"?this.scrollToSelection():m&&lf(m)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof L){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&pc(this,t.getBoundingClientRect(),e)}else pc(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let t=0;t<this.directPlugins.length;t++){let o=this.directPlugins[t];o.spec.view&&this.pluginViews.push(o.spec.view(this))}for(let t=0;t<this.state.plugins.length;t++){let o=this.state.plugins[t];o.spec.view&&this.pluginViews.push(o.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let o=this.pluginViews[t];o.update&&o.update(this,e)}}updateDraggedNode(e,t){let o=e.node,n=-1;if(this.state.doc.nodeAt(o.from)==o.node)n=o.from;else{let i=o.from+(this.state.doc.content.size-t.doc.content.size);(i>0&&this.state.doc.nodeAt(i))==o.node&&(n=i)}this.dragging=new op(e.slice,e.move,n<0?void 0:L.create(this.state.doc,n))}someProp(e,t){let o=this._props&&this._props[e],n;if(o!=null&&(n=t?t(o):o))return n;for(let a=0;a<this.directPlugins.length;a++){let l=this.directPlugins[a].props[e];if(l!=null&&(n=t?t(l):l))return n}let i=this.state.plugins;if(i)for(let a=0;a<i.length;a++){let l=i[a].props[e];if(l!=null&&(n=t?t(l):l))return n}}hasFocus(){if(Le){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&df(this.dom),St(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let t=this.dom.parentNode;t;t=t.parentNode)if(t.nodeType==9||t.nodeType==11&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t}return e||document}updateRoot(){this._root=null}posAtCoords(e){return hf(this,e)}coordsAtPos(e,t=1){return bc(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,o=-1){let n=this.docView.posFromDOM(e,t,o);if(n==null)throw new RangeError("DOM position not inside the editor");return n}endOfTextblock(e,t){return wf(this,t||this.state,e)}pasteHTML(e,t){return Ro(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Ro(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return es(this,e)}destroy(){this.docView&&(Jf(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],cs(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,Yg())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return Qf(this,e)}domSelectionRange(){let e=this.domSelection();return e?Ve&&this.root.nodeType===11&&ef(this.dom.ownerDocument)==this.dom&&w0(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}hp.prototype.dispatch=function(r){let e=this._props.dispatchTransaction;e?e.call(this,r):this.updateState(this.state.apply(r))};function gp(r){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(r.editable),r.someProp("attributes",t=>{if(typeof t=="function"&&(t=t(r.state)),t)for(let o in t)o=="class"?e.class+=" "+t[o]:o=="style"?e.style=(e.style?e.style+";":"")+t[o]:!e[o]&&o!="contenteditable"&&o!="nodeName"&&(e[o]=String(t[o]))}),e.translate||(e.translate="no"),[Je.node(0,r.state.doc.content.size,e)]}function fp(r){if(r.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),r.cursorWrapper={dom:e,deco:Je.widget(r.state.selection.from,e,{raw:!0,marks:r.markCursor})}}else r.cursorWrapper=null}function bp(r){return!r.someProp("editable",e=>e(r.state)===!1)}function B0(r,e){let t=Math.min(r.$anchor.sharedDepth(r.head),e.$anchor.sharedDepth(e.head));return r.$anchor.start(t)!=e.$anchor.start(t)}function yp(r){let e=Object.create(null);function t(o){for(let n in o)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=o[n])}return r.someProp("nodeViews",t),r.someProp("markViews",t),e}function T0(r,e){let t=0,o=0;for(let n in r){if(r[n]!=e[n])return!0;t++}for(let n in e)o++;return t!=o}function wp(r){if(r.spec.state||r.spec.filterTransaction||r.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var Zt={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},$n={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},O0=typeof navigator<"u"&&/Mac/.test(navigator.platform),V0=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),ke=0;ke<10;ke++)Zt[48+ke]=Zt[96+ke]=String(ke);for(var ke=1;ke<=24;ke++)Zt[ke+111]="F"+ke;for(var ke=65;ke<=90;ke++)Zt[ke]=String.fromCharCode(ke+32),$n[ke]=String.fromCharCode(ke);for(var us in Zt)$n.hasOwnProperty(us)||($n[us]=Zt[us]);function P0(r){var e=O0&&r.metaKey&&r.shiftKey&&!r.ctrlKey&&!r.altKey||V0&&r.shiftKey&&r.key&&r.key.length==1||r.key=="Unidentified",t=!e&&r.key||(r.shiftKey?$n:Zt)[r.keyCode]||r.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}const A0=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),D0=typeof navigator<"u"&&/Win/.test(navigator.platform);function I0(r){let e=r.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let o,n,i,a;for(let l=0;l<e.length-1;l++){let d=e[l];if(/^(cmd|meta|m)$/i.test(d))a=!0;else if(/^a(lt)?$/i.test(d))o=!0;else if(/^(c|ctrl|control)$/i.test(d))n=!0;else if(/^s(hift)?$/i.test(d))i=!0;else if(/^mod$/i.test(d))A0?a=!0:n=!0;else throw new Error("Unrecognized modifier name: "+d)}return o&&(t="Alt-"+t),n&&(t="Ctrl-"+t),a&&(t="Meta-"+t),i&&(t="Shift-"+t),t}function L0(r){let e=Object.create(null);for(let t in r)e[I0(t)]=r[t];return e}function ms(r,e,t=!0){return e.altKey&&(r="Alt-"+r),e.ctrlKey&&(r="Ctrl-"+r),e.metaKey&&(r="Meta-"+r),t&&e.shiftKey&&(r="Shift-"+r),r}function R0(r){return new pe({props:{handleKeyDown:xp(r)}})}function xp(r){let e=L0(r);return function(t,o){let n=P0(o),i,a=e[ms(n,o)];if(a&&a(t.state,t.dispatch,t))return!0;if(n.length==1&&n!=" "){if(o.shiftKey){let l=e[ms(n,o,!1)];if(l&&l(t.state,t.dispatch,t))return!0}if((o.altKey||o.metaKey||o.ctrlKey)&&!(D0&&o.ctrlKey&&o.altKey)&&(i=Zt[o.keyCode])&&i!=n){let l=e[ms(i,o)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}const hs=(r,e)=>r.selection.empty?!1:(e&&e(r.tr.deleteSelection().scrollIntoView()),!0);function vp(r,e){let{$cursor:t}=r.selection;return!t||(e?!e.endOfTextblock("backward",r):t.parentOffset>0)?null:t}const kp=(r,e,t)=>{let o=vp(r,t);if(!o)return!1;let n=gs(o);if(!n){let a=o.blockRange(),l=a&&_r(a);return l==null?!1:(e&&e(r.tr.lift(a,l).scrollIntoView()),!0)}let i=n.nodeBefore;if(Vp(r,n,e,-1))return!0;if(o.parent.content.size==0&&(Yr(i,"end")||L.isSelectable(i)))for(let a=o.depth;;a--){let l=jn(r.doc,o.before(a),o.after(a),P.empty);if(l&&l.slice.size<l.to-l.from){if(e){let d=r.tr.step(l);d.setSelection(Yr(i,"end")?H.findFrom(d.doc.resolve(d.mapping.map(n.pos,-1)),-1):L.create(d.doc,n.pos-i.nodeSize)),e(d.scrollIntoView())}return!0}if(a==1||o.node(a-1).childCount>1)break}return i.isAtom&&n.depth==o.depth-1?(e&&e(r.tr.delete(n.pos-i.nodeSize,n.pos).scrollIntoView()),!0):!1},_0=(r,e,t)=>{let o=vp(r,t);if(!o)return!1;let n=gs(o);return n?Ep(r,n,e):!1},z0=(r,e,t)=>{let o=Sp(r,t);if(!o)return!1;let n=fs(o);return n?Ep(r,n,e):!1};function Ep(r,e,t){let o=e.nodeBefore,n=o,i=e.pos-1;for(;!n.isTextblock;i--){if(n.type.spec.isolating)return!1;let p=n.lastChild;if(!p)return!1;n=p}let a=e.nodeAfter,l=a,d=e.pos+1;for(;!l.isTextblock;d++){if(l.type.spec.isolating)return!1;let p=l.firstChild;if(!p)return!1;l=p}let c=jn(r.doc,i,d,P.empty);if(!c||c.from!=i||c instanceof he&&c.slice.size>=d-i)return!1;if(t){let p=r.tr.step(c);p.setSelection(_.create(p.doc,i)),t(p.scrollIntoView())}return!0}function Yr(r,e,t=!1){for(let o=r;o;o=e=="start"?o.firstChild:o.lastChild){if(o.isTextblock)return!0;if(t&&o.childCount!=1)return!1}return!1}const Cp=(r,e,t)=>{let{$head:o,empty:n}=r.selection,i=o;if(!n)return!1;if(o.parent.isTextblock){if(t?!t.endOfTextblock("backward",r):o.parentOffset>0)return!1;i=gs(o)}let a=i&&i.nodeBefore;return!a||!L.isSelectable(a)?!1:(e&&e(r.tr.setSelection(L.create(r.doc,i.pos-a.nodeSize)).scrollIntoView()),!0)};function gs(r){if(!r.parent.type.spec.isolating)for(let e=r.depth-1;e>=0;e--){if(r.index(e)>0)return r.doc.resolve(r.before(e+1));if(r.node(e).type.spec.isolating)break}return null}function Sp(r,e){let{$cursor:t}=r.selection;return!t||(e?!e.endOfTextblock("forward",r):t.parentOffset<t.parent.content.size)?null:t}const Np=(r,e,t)=>{let o=Sp(r,t);if(!o)return!1;let n=fs(o);if(!n)return!1;let i=n.nodeAfter;if(Vp(r,n,e,1))return!0;if(o.parent.content.size==0&&(Yr(i,"start")||L.isSelectable(i))){let a=jn(r.doc,o.before(),o.after(),P.empty);if(a&&a.slice.size<a.to-a.from){if(e){let l=r.tr.step(a);l.setSelection(Yr(i,"start")?H.findFrom(l.doc.resolve(l.mapping.map(n.pos)),1):L.create(l.doc,l.mapping.map(n.pos))),e(l.scrollIntoView())}return!0}}return i.isAtom&&n.depth==o.depth-1?(e&&e(r.tr.delete(n.pos,n.pos+i.nodeSize).scrollIntoView()),!0):!1},Mp=(r,e,t)=>{let{$head:o,empty:n}=r.selection,i=o;if(!n)return!1;if(o.parent.isTextblock){if(t?!t.endOfTextblock("forward",r):o.parentOffset<o.parent.content.size)return!1;i=fs(o)}let a=i&&i.nodeAfter;return!a||!L.isSelectable(a)?!1:(e&&e(r.tr.setSelection(L.create(r.doc,i.pos)).scrollIntoView()),!0)};function fs(r){if(!r.parent.type.spec.isolating)for(let e=r.depth-1;e>=0;e--){let t=r.node(e);if(r.index(e)+1<t.childCount)return r.doc.resolve(r.after(e+1));if(t.type.spec.isolating)break}return null}const F0=(r,e)=>{let t=r.selection,o=t instanceof L,n;if(o){if(t.node.isTextblock||!Wt(r.doc,t.from))return!1;n=t.from}else if(n=Hn(r.doc,t.from,-1),n==null)return!1;if(e){let i=r.tr.join(n);o&&i.setSelection(L.create(i.doc,n-r.doc.resolve(n).nodeBefore.nodeSize)),e(i.scrollIntoView())}return!0},H0=(r,e)=>{let t=r.selection,o;if(t instanceof L){if(t.node.isTextblock||!Wt(r.doc,t.to))return!1;o=t.to}else if(o=Hn(r.doc,t.to,1),o==null)return!1;return e&&e(r.tr.join(o).scrollIntoView()),!0},j0=(r,e)=>{let{$from:t,$to:o}=r.selection,n=t.blockRange(o),i=n&&_r(n);return i==null?!1:(e&&e(r.tr.lift(n,i).scrollIntoView()),!0)},Bp=(r,e)=>{let{$head:t,$anchor:o}=r.selection;return!t.parent.type.spec.code||!t.sameParent(o)?!1:(e&&e(r.tr.insertText(`
20
- `).scrollIntoView()),!0)};function bs(r){for(let e=0;e<r.edgeCount;e++){let{type:t}=r.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}const W0=(r,e)=>{let{$head:t,$anchor:o}=r.selection;if(!t.parent.type.spec.code||!t.sameParent(o))return!1;let n=t.node(-1),i=t.indexAfter(-1),a=bs(n.contentMatchAt(i));if(!a||!n.canReplaceWith(i,i,a))return!1;if(e){let l=t.after(),d=r.tr.replaceWith(l,l,a.createAndFill());d.setSelection(H.near(d.doc.resolve(l),1)),e(d.scrollIntoView())}return!0},Tp=(r,e)=>{let t=r.selection,{$from:o,$to:n}=t;if(t instanceof He||o.parent.inlineContent||n.parent.inlineContent)return!1;let i=bs(n.parent.contentMatchAt(n.indexAfter()));if(!i||!i.isTextblock)return!1;if(e){let a=(!o.parentOffset&&n.index()<n.parent.childCount?o:n).pos,l=r.tr.insert(a,i.createAndFill());l.setSelection(_.create(l.doc,a+1)),e(l.scrollIntoView())}return!0},Op=(r,e)=>{let{$cursor:t}=r.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let i=t.before();if(vt(r.doc,i))return e&&e(r.tr.split(i).scrollIntoView()),!0}let o=t.blockRange(),n=o&&_r(o);return n==null?!1:(e&&e(r.tr.lift(o,n).scrollIntoView()),!0)};function q0(r){return(e,t)=>{let{$from:o,$to:n}=e.selection;if(e.selection instanceof L&&e.selection.node.isBlock)return!o.parentOffset||!vt(e.doc,o.pos)?!1:(t&&t(e.tr.split(o.pos).scrollIntoView()),!0);if(!o.depth)return!1;let i=[],a,l,d=!1,c=!1;for(let h=o.depth;;h--)if(o.node(h).isBlock){d=o.end(h)==o.pos+(o.depth-h),c=o.start(h)==o.pos-(o.depth-h),l=bs(o.node(h-1).contentMatchAt(o.indexAfter(h-1))),i.unshift(d&&l?{type:l}:null),a=h;break}else{if(h==1)return!1;i.unshift(null)}let p=e.tr;(e.selection instanceof _||e.selection instanceof He)&&p.deleteSelection();let u=p.mapping.map(o.pos),m=vt(p.doc,u,i.length,i);if(m||(i[0]=l?{type:l}:null,m=vt(p.doc,u,i.length,i)),!m)return!1;if(p.split(u,i.length,i),!d&&c&&o.node(a).type!=l){let h=p.mapping.map(o.before(a)),g=p.doc.resolve(h);l&&o.node(a-1).canReplaceWith(g.index(),g.index()+1,l)&&p.setNodeMarkup(p.mapping.map(o.before(a)),l)}return t&&t(p.scrollIntoView()),!0}}const U0=q0(),K0=(r,e)=>{let{$from:t,to:o}=r.selection,n,i=t.sharedDepth(o);return i==0?!1:(n=t.before(i),e&&e(r.tr.setSelection(L.create(r.doc,n))),!0)};function G0(r,e,t){let o=e.nodeBefore,n=e.nodeAfter,i=e.index();return!o||!n||!o.type.compatibleContent(n.type)?!1:!o.content.size&&e.parent.canReplace(i-1,i)?(t&&t(r.tr.delete(e.pos-o.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(i,i+1)||!(n.isTextblock||Wt(r.doc,e.pos))?!1:(t&&t(r.tr.join(e.pos).scrollIntoView()),!0)}function Vp(r,e,t,o){let n=e.nodeBefore,i=e.nodeAfter,a,l,d=n.type.spec.isolating||i.type.spec.isolating;if(!d&&G0(r,e,t))return!0;let c=!d&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(a=(l=n.contentMatchAt(n.childCount)).findWrapping(i.type))&&l.matchType(a[0]||i.type).validEnd){if(t){let h=e.pos+i.nodeSize,g=B.empty;for(let w=a.length-1;w>=0;w--)g=B.from(a[w].create(null,g));g=B.from(n.copy(g));let f=r.tr.step(new ge(e.pos-1,h,e.pos,h,new P(g,1,0),a.length,!0)),b=f.doc.resolve(h+2*a.length);b.nodeAfter&&b.nodeAfter.type==n.type&&Wt(f.doc,b.pos)&&f.join(b.pos),t(f.scrollIntoView())}return!0}let p=i.type.spec.isolating||o>0&&d?null:H.findFrom(e,1),u=p&&p.$from.blockRange(p.$to),m=u&&_r(u);if(m!=null&&m>=e.depth)return t&&t(r.tr.lift(u,m).scrollIntoView()),!0;if(c&&Yr(i,"start",!0)&&Yr(n,"end")){let h=n,g=[];for(;g.push(h),!h.isTextblock;)h=h.lastChild;let f=i,b=1;for(;!f.isTextblock;f=f.firstChild)b++;if(h.canReplace(h.childCount,h.childCount,f.content)){if(t){let w=B.empty;for(let k=g.length-1;k>=0;k--)w=B.from(g[k].copy(w));let C=r.tr.step(new ge(e.pos-g.length,e.pos+i.nodeSize,e.pos+b,e.pos+i.nodeSize-b,new P(w,g.length,0),0,!0));t(C.scrollIntoView())}return!0}}return!1}function Pp(r){return function(e,t){let o=e.selection,n=r<0?o.$from:o.$to,i=n.depth;for(;n.node(i).isInline;){if(!i)return!1;i--}return n.node(i).isTextblock?(t&&t(e.tr.setSelection(_.create(e.doc,r<0?n.start(i):n.end(i)))),!0):!1}}const J0=Pp(-1),Y0=Pp(1);function Q0(r,e=null){return function(t,o){let{$from:n,$to:i}=t.selection,a=n.blockRange(i),l=a&&Da(a,r,e);return l?(o&&o(t.tr.wrap(a,l).scrollIntoView()),!0):!1}}function Ap(r,e=null){return function(t,o){let n=!1;for(let i=0;i<t.selection.ranges.length&&!n;i++){let{$from:{pos:a},$to:{pos:l}}=t.selection.ranges[i];t.doc.nodesBetween(a,l,(d,c)=>{if(n)return!1;if(!(!d.isTextblock||d.hasMarkup(r,e)))if(d.type==r)n=!0;else{let p=t.doc.resolve(c),u=p.index();n=p.parent.canReplaceWith(u,u+1,r)}})}if(!n)return!1;if(o){let i=t.tr;for(let a=0;a<t.selection.ranges.length;a++){let{$from:{pos:l},$to:{pos:d}}=t.selection.ranges[a];i.setBlockType(l,d,r,e)}o(i.scrollIntoView())}return!0}}function ys(...r){return function(e,t,o){for(let n=0;n<r.length;n++)if(r[n](e,t,o))return!0;return!1}}ys(hs,kp,Cp),ys(hs,Np,Mp),ys(Bp,Tp,Op,U0),typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function X0(r,e=null){return function(t,o){let{$from:n,$to:i}=t.selection,a=n.blockRange(i);if(!a)return!1;let l=o?t.tr:null;return Z0(l,a,r,e)?(o&&o(l.scrollIntoView()),!0):!1}}function Z0(r,e,t,o=null){let n=!1,i=e,a=e.$from.doc;if(e.depth>=2&&e.$from.node(e.depth-1).type.compatibleContent(t)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let d=a.resolve(e.start-2);i=new In(d,d,e.depth),e.endIndex<e.parent.childCount&&(e=new In(e.$from,a.resolve(e.$to.end(e.depth)),e.depth)),n=!0}let l=Da(i,t,o,e);return l?(r&&$0(r,e,l,n,t),!0):!1}function $0(r,e,t,o,n){let i=B.empty;for(let p=t.length-1;p>=0;p--)i=B.from(t[p].type.create(t[p].attrs,i));r.step(new ge(e.start-(o?2:0),e.end,e.start,e.end,new P(i,0,0),t.length,!0));let a=0;for(let p=0;p<t.length;p++)t[p].type==n&&(a=p+1);let l=t.length-a,d=e.start+t.length-(o?2:0),c=e.parent;for(let p=e.startIndex,u=e.endIndex,m=!0;p<u;p++,m=!1)!m&&vt(r.doc,d,l)&&(r.split(d,l),d+=2*l),d+=c.child(p).nodeSize;return r}function eb(r){return function(e,t){let{$from:o,$to:n}=e.selection,i=o.blockRange(n,a=>a.childCount>0&&a.firstChild.type==r);return i?t?o.node(i.depth-1).type==r?tb(e,t,r,i):rb(e,t,i):!0:!1}}function tb(r,e,t,o){let n=r.tr,i=o.end,a=o.$to.end(o.depth);i<a&&(n.step(new ge(i-1,a,i,a,new P(B.from(t.create(null,o.parent.copy())),1,0),1,!0)),o=new In(n.doc.resolve(o.$from.pos),n.doc.resolve(a),o.depth));const l=_r(o);if(l==null)return!1;n.lift(o,l);let d=n.doc.resolve(n.mapping.map(i,-1)-1);return Wt(n.doc,d.pos)&&d.nodeBefore.type==d.nodeAfter.type&&n.join(d.pos),e(n.scrollIntoView()),!0}function rb(r,e,t){let o=r.tr,n=t.parent;for(let h=t.end,g=t.endIndex-1,f=t.startIndex;g>f;g--)h-=n.child(g).nodeSize,o.delete(h-1,h+1);let i=o.doc.resolve(t.start),a=i.nodeAfter;if(o.mapping.map(t.end)!=t.start+i.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,d=t.endIndex==n.childCount,c=i.node(-1),p=i.index(-1);if(!c.canReplace(p+(l?0:1),p+1,a.content.append(d?B.empty:B.from(n))))return!1;let u=i.pos,m=u+a.nodeSize;return o.step(new ge(u-(l?1:0),m+(d?1:0),u+1,m-1,new P((l?B.empty:B.from(n.copy(B.empty))).append(d?B.empty:B.from(n.copy(B.empty))),l?0:1,d?0:1),l?0:1)),e(o.scrollIntoView()),!0}function ob(r){return function(e,t){let{$from:o,$to:n}=e.selection,i=o.blockRange(n,c=>c.childCount>0&&c.firstChild.type==r);if(!i)return!1;let a=i.startIndex;if(a==0)return!1;let l=i.parent,d=l.child(a-1);if(d.type!=r)return!1;if(t){let c=d.lastChild&&d.lastChild.type==l.type,p=B.from(c?r.create():null),u=new P(B.from(r.create(null,B.from(l.type.create(null,p)))),c?3:1,0),m=i.start,h=i.end;t(e.tr.step(new ge(m-(c?3:1),h,m,h,u,1,!0)).scrollIntoView())}return!0}}function ei(r){const{state:e,transaction:t}=r;let{selection:o}=t,{doc:n}=t,{storedMarks:i}=t;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return i},get selection(){return o},get doc(){return n},get tr(){return o=t.selection,n=t.doc,i=t.storedMarks,t}}}class ti{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:o}=this,{view:n}=t,{tr:i}=o,a=this.buildProps(i);return Object.fromEntries(Object.entries(e).map(([l,d])=>[l,(...p)=>{const u=d(...p)(a);return!i.getMeta("preventDispatch")&&!this.hasCustomState&&n.dispatch(i),u}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:o,editor:n,state:i}=this,{view:a}=n,l=[],d=!!e,c=e||i.tr,p=()=>(!d&&t&&!c.getMeta("preventDispatch")&&!this.hasCustomState&&a.dispatch(c),l.every(m=>m===!0)),u={...Object.fromEntries(Object.entries(o).map(([m,h])=>[m,(...f)=>{const b=this.buildProps(c,t),w=h(...f)(b);return l.push(w),u}])),run:p};return u}createCan(e){const{rawCommands:t,state:o}=this,n=!1,i=e||o.tr,a=this.buildProps(i,n);return{...Object.fromEntries(Object.entries(t).map(([d,c])=>[d,(...p)=>c(...p)({...a,dispatch:void 0})])),chain:()=>this.createChain(i,n)}}buildProps(e,t=!0){const{rawCommands:o,editor:n,state:i}=this,{view:a}=n,l={tr:e,editor:n,view:a,state:ei({state:i,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(o).map(([d,c])=>[d,(...p)=>c(...p)(l)]))}};return l}}class nb{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const o=this.callbacks[e];return o&&o.forEach(n=>n.apply(this,t)),this}off(e,t){const o=this.callbacks[e];return o&&(t?this.callbacks[e]=o.filter(n=>n!==t):delete this.callbacks[e]),this}once(e,t){const o=(...n)=>{this.off(e,o),t.apply(this,n)};return this.on(e,o)}removeAllListeners(){this.callbacks={}}}function D(r,e,t){return r.config[e]===void 0&&r.parent?D(r.parent,e,t):typeof r.config[e]=="function"?r.config[e].bind({...t,parent:r.parent?D(r.parent,e,t):null}):r.config[e]}function ri(r){const e=r.filter(n=>n.type==="extension"),t=r.filter(n=>n.type==="node"),o=r.filter(n=>n.type==="mark");return{baseExtensions:e,nodeExtensions:t,markExtensions:o}}function Dp(r){const e=[],{nodeExtensions:t,markExtensions:o}=ri(r),n=[...t,...o],i={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return r.forEach(a=>{const l={name:a.name,options:a.options,storage:a.storage,extensions:n},d=D(a,"addGlobalAttributes",l);if(!d)return;d().forEach(p=>{p.types.forEach(u=>{Object.entries(p.attributes).forEach(([m,h])=>{e.push({type:u,name:m,attribute:{...i,...h}})})})})}),n.forEach(a=>{const l={name:a.name,options:a.options,storage:a.storage},d=D(a,"addAttributes",l);if(!d)return;const c=d();Object.entries(c).forEach(([p,u])=>{const m={...i,...u};typeof(m==null?void 0:m.default)=="function"&&(m.default=m.default()),m!=null&&m.isRequired&&(m==null?void 0:m.default)===void 0&&delete m.default,e.push({type:a.name,name:p,attribute:m})})}),e}function fe(r,e){if(typeof r=="string"){if(!e.nodes[r])throw Error(`There is no node type named '${r}'. Maybe you forgot to add the extension?`);return e.nodes[r]}return r}function Ee(...r){return r.filter(e=>!!e).reduce((e,t)=>{const o={...e};return Object.entries(t).forEach(([n,i])=>{if(!o[n]){o[n]=i;return}if(n==="class"){const l=i?String(i).split(" "):[],d=o[n]?o[n].split(" "):[],c=l.filter(p=>!d.includes(p));o[n]=[...d,...c].join(" ")}else if(n==="style"){const l=i?i.split(";").map(p=>p.trim()).filter(Boolean):[],d=o[n]?o[n].split(";").map(p=>p.trim()).filter(Boolean):[],c=new Map;d.forEach(p=>{const[u,m]=p.split(":").map(h=>h.trim());c.set(u,m)}),l.forEach(p=>{const[u,m]=p.split(":").map(h=>h.trim());c.set(u,m)}),o[n]=Array.from(c.entries()).map(([p,u])=>`${p}: ${u}`).join("; ")}else o[n]=i}),o},{})}function ws(r,e){return e.filter(t=>t.type===r.type.name).filter(t=>t.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(r.attrs)||{}:{[t.name]:r.attrs[t.name]}).reduce((t,o)=>Ee(t,o),{})}function Ip(r){return typeof r=="function"}function W(r,e=void 0,...t){return Ip(r)?e?r.bind(e)(...t):r(...t):r}function ib(r={}){return Object.keys(r).length===0&&r.constructor===Object}function ab(r){return typeof r!="string"?r:r.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(r):r==="true"?!0:r==="false"?!1:r}function Lp(r,e){return"style"in r?r:{...r,getAttrs:t=>{const o=r.getAttrs?r.getAttrs(t):r.attrs;if(o===!1)return!1;const n=e.reduce((i,a)=>{const l=a.attribute.parseHTML?a.attribute.parseHTML(t):ab(t.getAttribute(a.name));return l==null?i:{...i,[a.name]:l}},{});return{...o,...n}}}}function Rp(r){return Object.fromEntries(Object.entries(r).filter(([e,t])=>e==="attrs"&&ib(t)?!1:t!=null))}function sb(r,e){var t;const o=Dp(r),{nodeExtensions:n,markExtensions:i}=ri(r),a=(t=n.find(c=>D(c,"topNode")))===null||t===void 0?void 0:t.name,l=Object.fromEntries(n.map(c=>{const p=o.filter(w=>w.type===c.name),u={name:c.name,options:c.options,storage:c.storage,editor:e},m=r.reduce((w,C)=>{const k=D(C,"extendNodeSchema",u);return{...w,...k?k(c):{}}},{}),h=Rp({...m,content:W(D(c,"content",u)),marks:W(D(c,"marks",u)),group:W(D(c,"group",u)),inline:W(D(c,"inline",u)),atom:W(D(c,"atom",u)),selectable:W(D(c,"selectable",u)),draggable:W(D(c,"draggable",u)),code:W(D(c,"code",u)),whitespace:W(D(c,"whitespace",u)),linebreakReplacement:W(D(c,"linebreakReplacement",u)),defining:W(D(c,"defining",u)),isolating:W(D(c,"isolating",u)),attrs:Object.fromEntries(p.map(w=>{var C;return[w.name,{default:(C=w==null?void 0:w.attribute)===null||C===void 0?void 0:C.default}]}))}),g=W(D(c,"parseHTML",u));g&&(h.parseDOM=g.map(w=>Lp(w,p)));const f=D(c,"renderHTML",u);f&&(h.toDOM=w=>f({node:w,HTMLAttributes:ws(w,p)}));const b=D(c,"renderText",u);return b&&(h.toText=b),[c.name,h]})),d=Object.fromEntries(i.map(c=>{const p=o.filter(b=>b.type===c.name),u={name:c.name,options:c.options,storage:c.storage,editor:e},m=r.reduce((b,w)=>{const C=D(w,"extendMarkSchema",u);return{...b,...C?C(c):{}}},{}),h=Rp({...m,inclusive:W(D(c,"inclusive",u)),excludes:W(D(c,"excludes",u)),group:W(D(c,"group",u)),spanning:W(D(c,"spanning",u)),code:W(D(c,"code",u)),attrs:Object.fromEntries(p.map(b=>{var w;return[b.name,{default:(w=b==null?void 0:b.attribute)===null||w===void 0?void 0:w.default}]}))}),g=W(D(c,"parseHTML",u));g&&(h.parseDOM=g.map(b=>Lp(b,p)));const f=D(c,"renderHTML",u);return f&&(h.toDOM=b=>f({mark:b,HTMLAttributes:ws(b,p)})),[c.name,h]}));return new Md({topNode:a,nodes:l,marks:d})}function xs(r,e){return e.nodes[r]||e.marks[r]||null}function _p(r,e){return Array.isArray(e)?e.some(t=>(typeof t=="string"?t:t.name)===r.name):e}function vs(r,e){const t=ur.fromSchema(e).serializeFragment(r),n=document.implementation.createHTMLDocument().createElement("div");return n.appendChild(t),n.innerHTML}const lb=(r,e=500)=>{let t="";const o=r.parentOffset;return r.parent.nodesBetween(Math.max(0,o-e),o,(n,i,a,l)=>{var d,c;const p=((c=(d=n.type.spec).toText)===null||c===void 0?void 0:c.call(d,{node:n,pos:i,parent:a,index:l}))||n.textContent||"%leaf%";t+=n.isAtom&&!n.isText?p:p.slice(0,Math.max(0,o-i))}),t};function ks(r){return Object.prototype.toString.call(r)==="[object RegExp]"}class oi{constructor(e){this.find=e.find,this.handler=e.handler}}const db=(r,e)=>{if(ks(e))return e.exec(r);const t=e(r);if(!t)return null;const o=[t.text];return o.index=t.index,o.input=r,o.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),o.push(t.replaceWith)),o};function ni(r){var e;const{editor:t,from:o,to:n,text:i,rules:a,plugin:l}=r,{view:d}=t;if(d.composing)return!1;const c=d.state.doc.resolve(o);if(c.parent.type.spec.code||!((e=c.nodeBefore||c.nodeAfter)===null||e===void 0)&&e.marks.find(m=>m.type.spec.code))return!1;let p=!1;const u=lb(c)+i;return a.forEach(m=>{if(p)return;const h=db(u,m.find);if(!h)return;const g=d.state.tr,f=ei({state:d.state,transaction:g}),b={from:o-(h[0].length-i.length),to:n},{commands:w,chain:C,can:k}=new ti({editor:t,state:f});m.handler({state:f,range:b,match:h,commands:w,chain:C,can:k})===null||!g.steps.length||(g.setMeta(l,{transform:g,from:o,to:n,text:i}),d.dispatch(g),p=!0)}),p}function cb(r){const{editor:e,rules:t}=r,o=new pe({state:{init(){return null},apply(n,i,a){const l=n.getMeta(o);if(l)return l;const d=n.getMeta("applyInputRules");return!!d&&setTimeout(()=>{let{text:p}=d;typeof p=="string"?p=p:p=vs(B.from(p),a.schema);const{from:u}=d,m=u+p.length;ni({editor:e,from:u,to:m,text:p,rules:t,plugin:o})}),n.selectionSet||n.docChanged?null:i}},props:{handleTextInput(n,i,a,l){return ni({editor:e,from:i,to:a,text:l,rules:t,plugin:o})},handleDOMEvents:{compositionend:n=>(setTimeout(()=>{const{$cursor:i}=n.state.selection;i&&ni({editor:e,from:i.pos,to:i.pos,text:"",rules:t,plugin:o})}),!1)},handleKeyDown(n,i){if(i.key!=="Enter")return!1;const{$cursor:a}=n.state.selection;return a?ni({editor:e,from:a.pos,to:a.pos,text:`
21
- `,rules:t,plugin:o}):!1}},isInputRules:!0});return o}function pb(r){return Object.prototype.toString.call(r).slice(8,-1)}function ii(r){return pb(r)!=="Object"?!1:r.constructor===Object&&Object.getPrototypeOf(r)===Object.prototype}function ai(r,e){const t={...r};return ii(r)&&ii(e)&&Object.keys(e).forEach(o=>{ii(e[o])&&ii(r[o])?t[o]=ai(r[o],e[o]):t[o]=e[o]}),t}class Nt{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=W(D(this,"addOptions",{name:this.name}))),this.storage=W(D(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Nt(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>ai(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new Nt(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=W(D(t,"addOptions",{name:t.name})),t.storage=W(D(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:o}=e.state,n=e.state.selection.$from;if(n.pos===n.end()){const a=n.marks();if(!!!a.find(c=>(c==null?void 0:c.type.name)===t.name))return!1;const d=a.find(c=>(c==null?void 0:c.type.name)===t.name);return d&&o.removeStoredMark(d),o.insertText(" ",n.pos),e.view.dispatch(o),!0}return!1}}function ub(r){return typeof r=="number"}class mb{constructor(e){this.find=e.find,this.handler=e.handler}}const hb=(r,e,t)=>{if(ks(e))return[...r.matchAll(e)];const o=e(r,t);return o?o.map(n=>{const i=[n.text];return i.index=n.index,i.input=r,i.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),i.push(n.replaceWith)),i}):[]};function gb(r){const{editor:e,state:t,from:o,to:n,rule:i,pasteEvent:a,dropEvent:l}=r,{commands:d,chain:c,can:p}=new ti({editor:e,state:t}),u=[];return t.doc.nodesBetween(o,n,(h,g)=>{if(!h.isTextblock||h.type.spec.code)return;const f=Math.max(o,g),b=Math.min(n,g+h.content.size),w=h.textBetween(f-g,b-g,void 0,"");hb(w,i.find,a).forEach(k=>{if(k.index===void 0)return;const y=f+k.index+1,S=y+k[0].length,E={from:t.tr.mapping.map(y),to:t.tr.mapping.map(S)},N=i.handler({state:t,range:E,match:k,commands:d,chain:c,can:p,pasteEvent:a,dropEvent:l});u.push(N)})}),u.every(h=>h!==null)}let si=null;const fb=r=>{var e;const t=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=t.clipboardData)===null||e===void 0||e.setData("text/html",r),t};function bb(r){const{editor:e,rules:t}=r;let o=null,n=!1,i=!1,a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,l;try{l=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{l=null}const d=({state:p,from:u,to:m,rule:h,pasteEvt:g})=>{const f=p.tr,b=ei({state:p,transaction:f});if(!(!gb({editor:e,state:b,from:Math.max(u-1,0),to:m.b-1,rule:h,pasteEvent:g,dropEvent:l})||!f.steps.length)){try{l=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{l=null}return a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,f}};return t.map(p=>new pe({view(u){const m=g=>{var f;o=!((f=u.dom.parentElement)===null||f===void 0)&&f.contains(g.target)?u.dom.parentElement:null,o&&(si=e)},h=()=>{si&&(si=null)};return window.addEventListener("dragstart",m),window.addEventListener("dragend",h),{destroy(){window.removeEventListener("dragstart",m),window.removeEventListener("dragend",h)}}},props:{handleDOMEvents:{drop:(u,m)=>{if(i=o===u.dom.parentElement,l=m,!i){const h=si;h&&setTimeout(()=>{const g=h.state.selection;g&&h.commands.deleteRange({from:g.from,to:g.to})},10)}return!1},paste:(u,m)=>{var h;const g=(h=m.clipboardData)===null||h===void 0?void 0:h.getData("text/html");return a=m,n=!!(g!=null&&g.includes("data-pm-slice")),!1}}},appendTransaction:(u,m,h)=>{const g=u[0],f=g.getMeta("uiEvent")==="paste"&&!n,b=g.getMeta("uiEvent")==="drop"&&!i,w=g.getMeta("applyPasteRules"),C=!!w;if(!f&&!b&&!C)return;if(C){let{text:S}=w;typeof S=="string"?S=S:S=vs(B.from(S),h.schema);const{from:E}=w,N=E+S.length,O=fb(S);return d({rule:p,state:h,from:E,to:{b:N},pasteEvt:O})}const k=m.doc.content.findDiffStart(h.doc.content),y=m.doc.content.findDiffEnd(h.doc.content);if(!(!ub(k)||!y||k===y.b))return d({rule:p,state:h,from:k,to:y,pasteEvt:a})}}))}function yb(r){const e=r.filter((t,o)=>r.indexOf(t)!==o);return Array.from(new Set(e))}class Qr{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=Qr.resolve(e),this.schema=sb(this.extensions,t),this.setupExtensions()}static resolve(e){const t=Qr.sort(Qr.flatten(e)),o=yb(t.map(n=>n.name));return o.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${o.map(n=>`'${n}'`).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map(t=>{const o={name:t.name,options:t.options,storage:t.storage},n=D(t,"addExtensions",o);return n?[t,...this.flatten(n())]:t}).flat(10)}static sort(e){return e.sort((o,n)=>{const i=D(o,"priority")||100,a=D(n,"priority")||100;return i>a?-1:i<a?1:0})}get commands(){return this.extensions.reduce((e,t)=>{const o={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:xs(t.name,this.schema)},n=D(t,"addCommands",o);return n?{...e,...n()}:e},{})}get plugins(){const{editor:e}=this,t=Qr.sort([...this.extensions].reverse()),o=[],n=[],i=t.map(a=>{const l={name:a.name,options:a.options,storage:a.storage,editor:e,type:xs(a.name,this.schema)},d=[],c=D(a,"addKeyboardShortcuts",l);let p={};if(a.type==="mark"&&D(a,"exitable",l)&&(p.ArrowRight=()=>Nt.handleExit({editor:e,mark:a})),c){const f=Object.fromEntries(Object.entries(c()).map(([b,w])=>[b,()=>w({editor:e})]));p={...p,...f}}const u=R0(p);d.push(u);const m=D(a,"addInputRules",l);_p(a,e.options.enableInputRules)&&m&&o.push(...m());const h=D(a,"addPasteRules",l);_p(a,e.options.enablePasteRules)&&h&&n.push(...h());const g=D(a,"addProseMirrorPlugins",l);if(g){const f=g();d.push(...f)}return d}).flat();return[cb({editor:e,rules:o}),...bb({editor:e,rules:n}),...i]}get attributes(){return Dp(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=ri(this.extensions);return Object.fromEntries(t.filter(o=>!!D(o,"addNodeView")).map(o=>{const n=this.attributes.filter(d=>d.type===o.name),i={name:o.name,options:o.options,storage:o.storage,editor:e,type:fe(o.name,this.schema)},a=D(o,"addNodeView",i);if(!a)return[];const l=(d,c,p,u,m)=>{const h=ws(d,n);return a()({node:d,view:c,getPos:p,decorations:u,innerDecorations:m,editor:e,extension:o,HTMLAttributes:h})};return[o.name,l]}))}setupExtensions(){this.extensions.forEach(e=>{var t;this.editor.extensionStorage[e.name]=e.storage;const o={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:xs(e.name,this.schema)};e.type==="mark"&&(!((t=W(D(e,"keepOnSplit",o)))!==null&&t!==void 0)||t)&&this.splittableMarks.push(e.name);const n=D(e,"onBeforeCreate",o),i=D(e,"onCreate",o),a=D(e,"onUpdate",o),l=D(e,"onSelectionUpdate",o),d=D(e,"onTransaction",o),c=D(e,"onFocus",o),p=D(e,"onBlur",o),u=D(e,"onDestroy",o);n&&this.editor.on("beforeCreate",n),i&&this.editor.on("create",i),a&&this.editor.on("update",a),l&&this.editor.on("selectionUpdate",l),d&&this.editor.on("transaction",d),c&&this.editor.on("focus",c),p&&this.editor.on("blur",p),u&&this.editor.on("destroy",u)})}}class Ce{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=W(D(this,"addOptions",{name:this.name}))),this.storage=W(D(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Ce(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>ai(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new Ce({...this.config,...e});return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=W(D(t,"addOptions",{name:t.name})),t.storage=W(D(t,"addStorage",{name:t.name,options:t.options})),t}}function zp(r,e,t){const{from:o,to:n}=e,{blockSeparator:i=`
19
+ `))),0,0):P.empty;let u=r.someProp("clipboardTextParser",m=>m(e,n,o,r));if(u)l=u;else{let m=n.marks(),{schema:h}=r.state,g=ur.fromSchema(h);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(f=>{let b=a.appendChild(document.createElement("p"));f&&b.appendChild(g.serializeNode(h.text(f,m)))})}}else r.someProp("transformPastedHTML",u=>{t=u(t,r)}),a=jf(t),Vo&&Wf(a);let c=a&&a.querySelector("[data-pm-slice]"),p=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(p&&p[3])for(let u=+p[3];u>0;u--){let m=a.firstChild;for(;m&&m.nodeType!=1;)m=m.nextSibling;if(!m)break;a=m}if(l||(l=(r.someProp("clipboardParser")||r.someProp("domParser")||ko.fromSchema(r.state.schema)).parseSlice(a,{preserveWhitespace:!!(d||p),context:n,ruleFromNode(m){return m.nodeName=="BR"&&!m.nextSibling&&m.parentNode&&!zf.test(m.parentNode.nodeName)?{ignore:!0}:null}})),p)l=qf(Jc(l,+p[1],+p[2]),p[4]);else if(l=P.maxOpen(Ff(l.content,n),!0),l.openStart||l.openEnd){let u=0,m=0;for(let h=l.content.firstChild;u<l.openStart&&!h.type.spec.isolating;u++,h=h.firstChild);for(let h=l.content.lastChild;m<l.openEnd&&!h.type.spec.isolating;m++,h=h.lastChild);l=Jc(l,u,m)}return r.someProp("transformPasted",u=>{l=u(l,r)}),l}const zf=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Ff(r,e){if(r.childCount<2)return r;for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.index(t)),i,a=[];if(r.forEach(l=>{if(!a)return;let d=n.findWrapping(l.type),c;if(!d)return a=null;if(c=a.length&&i.length&&Kc(d,i,l,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=Gc(a[a.length-1],i.length));let p=Uc(l,d);a.push(p),n=n.matchType(p.type),i=d}}),a)return B.from(a)}return r}function Uc(r,e,t=0){for(let o=e.length-1;o>=t;o--)r=e[o].create(null,B.from(r));return r}function Kc(r,e,t,o,n){if(n<r.length&&n<e.length&&r[n]==e[n]){let i=Kc(r,e,t,o.lastChild,n+1);if(i)return o.copy(o.content.replaceChild(o.childCount-1,i));if(o.contentMatchAt(o.childCount).matchType(n==r.length-1?t.type:r[n+1]))return o.copy(o.content.append(B.from(Uc(t,r,n+1))))}}function Gc(r,e){if(e==0)return r;let t=r.content.replaceChild(r.childCount-1,Gc(r.lastChild,e-1)),o=r.contentMatchAt(r.childCount).fillBefore(B.empty,!0);return r.copy(t.append(o))}function rs(r,e,t,o,n,i){let a=e<0?r.firstChild:r.lastChild,l=a.content;return r.childCount>1&&(i=0),n<o-1&&(l=rs(l,e,t,o,n+1,i)),n>=t&&(l=e<0?a.contentMatchAt(0).fillBefore(l,i<=n).append(l):l.append(a.contentMatchAt(a.childCount).fillBefore(B.empty,!0))),r.replaceChild(e<0?0:r.childCount-1,a.copy(l))}function Jc(r,e,t){return e<r.openStart&&(r=new P(rs(r.content,-1,e,r.openStart,0,r.openEnd),e,r.openEnd)),t<r.openEnd&&(r=new P(rs(r.content,1,t,r.openEnd,0,0),r.openStart,t)),r}const Yc={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let Qc=null;function Xc(){return Qc||(Qc=document.implementation.createHTMLDocument("title"))}let ns=null;function Hf(r){let e=window.trustedTypes;return e?(ns||(ns=e.defaultPolicy||e.createPolicy("ProseMirrorClipboard",{createHTML:t=>t})),ns.createHTML(r)):r}function jf(r){let e=/^(\s*<meta [^>]*>)*/.exec(r);e&&(r=r.slice(e[0].length));let t=Xc().createElement("div"),o=/<([a-z][^>\s]+)/i.exec(r),n;if((n=o&&Yc[o[1].toLowerCase()])&&(r=n.map(i=>"<"+i+">").join("")+r+n.map(i=>"</"+i+">").reverse().join("")),t.innerHTML=Hf(r),n)for(let i=0;i<n.length;i++)t=t.querySelector(n[i])||t;return t}function Wf(r){let e=r.querySelectorAll(Me?"span:not([class]):not([style])":"span.Apple-converted-space");for(let t=0;t<e.length;t++){let o=e[t];o.childNodes.length==1&&o.textContent==" "&&o.parentNode&&o.parentNode.replaceChild(r.ownerDocument.createTextNode(" "),o)}}function qf(r,e){if(!r.size)return r;let t=r.content.firstChild.type.schema,o;try{o=JSON.parse(e)}catch{return r}let{content:n,openStart:i,openEnd:a}=r;for(let l=o.length-2;l>=0;l-=2){let d=t.nodes[o[l]];if(!d||d.hasRequiredAttrs())break;n=B.from(d.create(o[l+1],n)),i++,a++}return new P(n,i,a)}const Pe={},Ae={},Uf={touchstart:!0,touchmove:!0};class Kf{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function Gf(r){for(let e in Pe){let t=Pe[e];r.dom.addEventListener(e,r.input.eventHandlers[e]=o=>{Yf(r,o)&&!as(r,o)&&(r.editable||!(o.type in Ae))&&t(r,o)},Uf[e]?{passive:!0}:void 0)}Ve&&r.dom.addEventListener("input",()=>null),is(r)}function Yt(r,e){r.input.lastSelectionOrigin=e,r.input.lastSelectionTime=Date.now()}function Jf(r){r.domObserver.stop();for(let e in r.input.eventHandlers)r.dom.removeEventListener(e,r.input.eventHandlers[e]);clearTimeout(r.input.composingTimeout),clearTimeout(r.input.lastIOSEnterFallbackTimeout)}function is(r){r.someProp("handleDOMEvents",e=>{for(let t in e)r.input.eventHandlers[t]||r.dom.addEventListener(t,r.input.eventHandlers[t]=o=>as(r,o))})}function as(r,e){return r.someProp("handleDOMEvents",t=>{let o=t[e.type];return o?o(r,e)||e.defaultPrevented:!1})}function Yf(r,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target;t!=r.dom;t=t.parentNode)if(!t||t.nodeType==11||t.pmViewDesc&&t.pmViewDesc.stopEvent(e))return!1;return!0}function Qf(r,e){!as(r,e)&&Pe[e.type]&&(r.editable||!(e.type in Ae))&&Pe[e.type](r,e)}Ae.keydown=(r,e)=>{let t=e;if(r.input.shiftKey=t.keyCode==16||t.shiftKey,!$c(r,t)&&(r.input.lastKeyCode=t.keyCode,r.input.lastKeyCodeTime=Date.now(),!(Et&&Me&&t.keyCode==13)))if(t.keyCode!=229&&r.domObserver.forceFlush(),qr&&t.keyCode==13&&!t.ctrlKey&&!t.altKey&&!t.metaKey){let o=Date.now();r.input.lastIOSEnter=o,r.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{r.input.lastIOSEnter==o&&(r.someProp("handleKeyDown",n=>n(r,gr(13,"Enter"))),r.input.lastIOSEnter=0)},200)}else r.someProp("handleKeyDown",o=>o(r,t))||_f(r,t)?t.preventDefault():Yt(r,"key")},Ae.keyup=(r,e)=>{e.keyCode==16&&(r.input.shiftKey=!1)},Ae.keypress=(r,e)=>{let t=e;if($c(r,t)||!t.charCode||t.ctrlKey&&!t.altKey||Ke&&t.metaKey)return;if(r.someProp("handleKeyPress",n=>n(r,t))){t.preventDefault();return}let o=r.state.selection;if(!(o instanceof _)||!o.$from.sameParent(o.$to)){let n=String.fromCharCode(t.charCode),i=()=>r.state.tr.insertText(n).scrollIntoView();!/[\r\n]/.test(n)&&!r.someProp("handleTextInput",a=>a(r,o.$from.pos,o.$to.pos,n,i))&&r.dispatch(i()),t.preventDefault()}};function Yn(r){return{left:r.clientX,top:r.clientY}}function Xf(r,e){let t=e.x-r.clientX,o=e.y-r.clientY;return t*t+o*o<100}function ss(r,e,t,o,n){if(o==-1)return!1;let i=r.state.doc.resolve(o);for(let a=i.depth+1;a>0;a--)if(r.someProp(e,l=>a>i.depth?l(r,t,i.nodeAfter,i.before(a),n,!0):l(r,t,i.node(a),i.before(a),n,!1)))return!0;return!1}function Gr(r,e,t){if(r.focused||r.focus(),r.state.selection.eq(e))return;let o=r.state.tr.setSelection(e);o.setMeta("pointer",!0),r.dispatch(o)}function Zf(r,e){if(e==-1)return!1;let t=r.state.doc.resolve(e),o=t.nodeAfter;return o&&o.isAtom&&L.isSelectable(o)?(Gr(r,new L(t)),!0):!1}function $f(r,e){if(e==-1)return!1;let t=r.state.selection,o,n;t instanceof L&&(o=t.node);let i=r.state.doc.resolve(e);for(let a=i.depth+1;a>0;a--){let l=a>i.depth?i.nodeAfter:i.node(a);if(L.isSelectable(l)){o&&t.$from.depth>0&&a>=t.$from.depth&&i.before(t.$from.depth+1)==t.$from.pos?n=i.before(t.$from.depth):n=i.before(a);break}}return n!=null?(Gr(r,L.create(r.state.doc,n)),!0):!1}function e0(r,e,t,o,n){return ss(r,"handleClickOn",e,t,o)||r.someProp("handleClick",i=>i(r,e,o))||(n?$f(r,t):Zf(r,t))}function t0(r,e,t,o){return ss(r,"handleDoubleClickOn",e,t,o)||r.someProp("handleDoubleClick",n=>n(r,e,o))}function r0(r,e,t,o){return ss(r,"handleTripleClickOn",e,t,o)||r.someProp("handleTripleClick",n=>n(r,e,o))||o0(r,t,o)}function o0(r,e,t){if(t.button!=0)return!1;let o=r.state.doc;if(e==-1)return o.inlineContent?(Gr(r,_.create(o,0,o.content.size)),!0):!1;let n=o.resolve(e);for(let i=n.depth+1;i>0;i--){let a=i>n.depth?n.nodeAfter:n.node(i),l=n.before(i);if(a.inlineContent)Gr(r,_.create(o,l+1,l+1+a.content.size));else if(L.isSelectable(a))Gr(r,L.create(o,l));else continue;return!0}}function ls(r){return Qn(r)}const Zc=Ke?"metaKey":"ctrlKey";Pe.mousedown=(r,e)=>{let t=e;r.input.shiftKey=t.shiftKey;let o=ls(r),n=Date.now(),i="singleClick";n-r.input.lastClick.time<500&&Xf(t,r.input.lastClick)&&!t[Zc]&&r.input.lastClick.button==t.button&&(r.input.lastClick.type=="singleClick"?i="doubleClick":r.input.lastClick.type=="doubleClick"&&(i="tripleClick")),r.input.lastClick={time:n,x:t.clientX,y:t.clientY,type:i,button:t.button};let a=r.posAtCoords(Yn(t));a&&(i=="singleClick"?(r.input.mouseDown&&r.input.mouseDown.done(),r.input.mouseDown=new n0(r,a,t,!!o)):(i=="doubleClick"?t0:r0)(r,a.pos,a.inside,t)?t.preventDefault():Yt(r,"pointer"))};class n0{constructor(e,t,o,n){this.view=e,this.pos=t,this.event=o,this.flushed=n,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!o[Zc],this.allowDefault=o.shiftKey;let i,a;if(t.inside>-1)i=e.state.doc.nodeAt(t.inside),a=t.inside;else{let p=e.state.doc.resolve(t.pos);i=p.parent,a=p.depth?p.before():0}const l=n?null:o.target,d=l?e.docView.nearestDesc(l,!0):null;this.target=d&&d.dom.nodeType==1?d.dom:null;let{selection:c}=e.state;(o.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||c instanceof L&&c.from<=a&&c.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&rt&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Yt(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>St(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Yn(e))),this.updateAllowDefault(e),this.allowDefault||!t?Yt(this.view,"pointer"):e0(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Ve&&this.mightDrag&&!this.mightDrag.node.isAtom||Me&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Gr(this.view,H.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):Yt(this.view,"pointer")}move(e){this.updateAllowDefault(e),Yt(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}Pe.touchstart=r=>{r.input.lastTouch=Date.now(),ls(r),Yt(r,"pointer")},Pe.touchmove=r=>{r.input.lastTouch=Date.now(),Yt(r,"pointer")},Pe.contextmenu=r=>ls(r);function $c(r,e){return r.composing?!0:Ve&&Math.abs(e.timeStamp-r.input.compositionEndedAt)<500?(r.input.compositionEndedAt=-2e8,!0):!1}const i0=Et?5e3:-1;Ae.compositionstart=Ae.compositionupdate=r=>{if(!r.composing){r.domObserver.flush();let{state:e}=r,t=e.selection.$to;if(e.selection instanceof _&&(e.storedMarks||!t.textOffset&&t.parentOffset&&t.nodeBefore.marks.some(o=>o.type.spec.inclusive===!1)))r.markCursor=r.state.storedMarks||t.marks(),Qn(r,!0),r.markCursor=null;else if(Qn(r,!e.selection.empty),rt&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let o=r.domSelectionRange();for(let n=o.focusNode,i=o.focusOffset;n&&n.nodeType==1&&i!=0;){let a=i<0?n.lastChild:n.childNodes[i-1];if(!a)break;if(a.nodeType==3){let l=r.domSelection();l&&l.collapse(a,a.nodeValue.length);break}else n=a,i=-1}}r.input.composing=!0}ep(r,i0)},Ae.compositionend=(r,e)=>{r.composing&&(r.input.composing=!1,r.input.compositionEndedAt=e.timeStamp,r.input.compositionPendingChanges=r.domObserver.pendingRecords().length?r.input.compositionID:0,r.input.compositionNode=null,r.input.compositionPendingChanges&&Promise.resolve().then(()=>r.domObserver.flush()),r.input.compositionID++,ep(r,20))};function ep(r,e){clearTimeout(r.input.composingTimeout),e>-1&&(r.input.composingTimeout=setTimeout(()=>Qn(r),e))}function tp(r){for(r.composing&&(r.input.composing=!1,r.input.compositionEndedAt=s0());r.input.compositionNodes.length>0;)r.input.compositionNodes.pop().markParentsDirty()}function a0(r){let e=r.domSelectionRange();if(!e.focusNode)return null;let t=Xg(e.focusNode,e.focusOffset),o=Zg(e.focusNode,e.focusOffset);if(t&&o&&t!=o){let n=o.pmViewDesc,i=r.domObserver.lastChangedTextNode;if(t==i||o==i)return i;if(!n||!n.isText(o.nodeValue))return o;if(r.input.compositionNode==o){let a=t.pmViewDesc;if(!(!a||!a.isText(t.nodeValue)))return o}}return t||o}function s0(){let r=document.createEvent("Event");return r.initEvent("event",!0,!0),r.timeStamp}function Qn(r,e=!1){if(!(Et&&r.domObserver.flushingSoon>=0)){if(r.domObserver.forceFlush(),tp(r),e||r.docView&&r.docView.dirty){let t=Qa(r),o=r.state.selection;return t&&!t.eq(o)?r.dispatch(r.state.tr.setSelection(t)):(r.markCursor||e)&&!o.$from.node(o.$from.sharedDepth(o.to)).inlineContent?r.dispatch(r.state.tr.deleteSelection()):r.updateState(r.state),!0}return!1}}function l0(r,e){if(!r.dom.parentNode)return;let t=r.dom.parentNode.appendChild(document.createElement("div"));t.appendChild(e),t.style.cssText="position: fixed; left: -10000px; top: 10px";let o=getSelection(),n=document.createRange();n.selectNodeContents(e),r.dom.blur(),o.removeAllRanges(),o.addRange(n),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t),r.focus()},50)}const Lo=Le&&Ut<15||qr&&of<604;Pe.copy=Ae.cut=(r,e)=>{let t=e,o=r.state.selection,n=t.type=="cut";if(o.empty)return;let i=Lo?null:t.clipboardData,a=o.content(),{dom:l,text:d}=ts(r,a);i?(t.preventDefault(),i.clearData(),i.setData("text/html",l.innerHTML),i.setData("text/plain",d)):l0(r,l),n&&r.dispatch(r.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function d0(r){return r.openStart==0&&r.openEnd==0&&r.content.childCount==1?r.content.firstChild:null}function c0(r,e){if(!r.dom.parentNode)return;let t=r.input.shiftKey||r.state.selection.$from.parent.type.spec.code,o=r.dom.parentNode.appendChild(document.createElement(t?"textarea":"div"));t||(o.contentEditable="true"),o.style.cssText="position: fixed; left: -10000px; top: 10px",o.focus();let n=r.input.shiftKey&&r.input.lastKeyCode!=45;setTimeout(()=>{r.focus(),o.parentNode&&o.parentNode.removeChild(o),t?Ro(r,o.value,null,n,e):Ro(r,o.textContent,o.innerHTML,n,e)},50)}function Ro(r,e,t,o,n){let i=qc(r,e,t,o,r.state.selection.$from);if(r.someProp("handlePaste",d=>d(r,n,i||P.empty)))return!0;if(!i)return!1;let a=d0(i),l=a?r.state.tr.replaceSelectionWith(a,o):r.state.tr.replaceSelection(i);return r.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function rp(r){let e=r.getData("text/plain")||r.getData("Text");if(e)return e;let t=r.getData("text/uri-list");return t?t.replace(/\r?\n/g," "):""}Ae.paste=(r,e)=>{let t=e;if(r.composing&&!Et)return;let o=Lo?null:t.clipboardData,n=r.input.shiftKey&&r.input.lastKeyCode!=45;o&&Ro(r,rp(o),o.getData("text/html"),n,t)?t.preventDefault():c0(r,t)};class op{constructor(e,t,o){this.slice=e,this.move=t,this.node=o}}const p0=Ke?"altKey":"ctrlKey";function np(r,e){let t=r.someProp("dragCopies",o=>!o(e));return t??!e[p0]}Pe.dragstart=(r,e)=>{let t=e,o=r.input.mouseDown;if(o&&o.done(),!t.dataTransfer)return;let n=r.state.selection,i=n.empty?null:r.posAtCoords(Yn(t)),a;if(!(i&&i.pos>=n.from&&i.pos<=(n instanceof L?n.to-1:n.to))){if(o&&o.mightDrag)a=L.create(r.state.doc,o.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let u=r.docView.nearestDesc(t.target,!0);u&&u.node.type.spec.draggable&&u!=r.docView&&(a=L.create(r.state.doc,u.posBefore))}}let l=(a||r.state.selection).content(),{dom:d,text:c,slice:p}=ts(r,l);(!t.dataTransfer.files.length||!Me||cc>120)&&t.dataTransfer.clearData(),t.dataTransfer.setData(Lo?"Text":"text/html",d.innerHTML),t.dataTransfer.effectAllowed="copyMove",Lo||t.dataTransfer.setData("text/plain",c),r.dragging=new op(p,np(r,t),a)},Pe.dragend=r=>{let e=r.dragging;window.setTimeout(()=>{r.dragging==e&&(r.dragging=null)},50)},Ae.dragover=Ae.dragenter=(r,e)=>e.preventDefault(),Ae.drop=(r,e)=>{let t=e,o=r.dragging;if(r.dragging=null,!t.dataTransfer)return;let n=r.posAtCoords(Yn(t));if(!n)return;let i=r.state.doc.resolve(n.pos),a=o&&o.slice;a?r.someProp("transformPasted",g=>{a=g(a,r)}):a=qc(r,rp(t.dataTransfer),Lo?null:t.dataTransfer.getData("text/html"),!1,i);let l=!!(o&&np(r,t));if(r.someProp("handleDrop",g=>g(r,t,a||P.empty,l))){t.preventDefault();return}if(!a)return;t.preventDefault();let d=a?Gd(r.state.doc,i.pos,a):i.pos;d==null&&(d=i.pos);let c=r.state.tr;if(l){let{node:g}=o;g?g.replace(c):c.deleteSelection()}let p=c.mapping.map(d),u=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,m=c.doc;if(u?c.replaceRangeWith(p,p,a.content.firstChild):c.replaceRange(p,p,a),c.doc.eq(m))return;let h=c.doc.resolve(p);if(u&&L.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new L(h));else{let g=c.mapping.map(d);c.mapping.maps[c.mapping.maps.length-1].forEach((f,b,w,C)=>g=C),c.setSelection(Za(r,h,c.doc.resolve(g)))}r.focus(),r.dispatch(c.setMeta("uiEvent","drop"))},Pe.focus=r=>{r.input.lastFocus=Date.now(),r.focused||(r.domObserver.stop(),r.dom.classList.add("ProseMirror-focused"),r.domObserver.start(),r.focused=!0,setTimeout(()=>{r.docView&&r.hasFocus()&&!r.domObserver.currentSelection.eq(r.domSelectionRange())&&St(r)},20))},Pe.blur=(r,e)=>{let t=e;r.focused&&(r.domObserver.stop(),r.dom.classList.remove("ProseMirror-focused"),r.domObserver.start(),t.relatedTarget&&r.dom.contains(t.relatedTarget)&&r.domObserver.currentSelection.clear(),r.focused=!1)},Pe.beforeinput=(r,e)=>{if(Me&&Et&&e.inputType=="deleteContentBackward"){r.domObserver.flushSoon();let{domChangeCount:o}=r.input;setTimeout(()=>{if(r.input.domChangeCount!=o||(r.dom.blur(),r.focus(),r.someProp("handleKeyDown",i=>i(r,gr(8,"Backspace")))))return;let{$cursor:n}=r.state.selection;n&&n.pos>0&&r.dispatch(r.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let r in Ae)Pe[r]=Ae[r];function _o(r,e){if(r==e)return!0;for(let t in r)if(r[t]!==e[t])return!1;for(let t in e)if(!(t in r))return!1;return!0}class Xn{constructor(e,t){this.toDOM=e,this.spec=t||wr,this.side=this.spec.side||0}map(e,t,o,n){let{pos:i,deleted:a}=e.mapResult(t.from+n,this.side<0?-1:1);return a?null:new Je(i-o,i-o,this)}valid(){return!0}eq(e){return this==e||e instanceof Xn&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&_o(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Qt{constructor(e,t){this.attrs=e,this.spec=t||wr}map(e,t,o,n){let i=e.map(t.from+n,this.spec.inclusiveStart?-1:1)-o,a=e.map(t.to+n,this.spec.inclusiveEnd?1:-1)-o;return i>=a?null:new Je(i,a,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Qt&&_o(this.attrs,e.attrs)&&_o(this.spec,e.spec)}static is(e){return e.type instanceof Qt}destroy(){}}class ds{constructor(e,t){this.attrs=e,this.spec=t||wr}map(e,t,o,n){let i=e.mapResult(t.from+n,1);if(i.deleted)return null;let a=e.mapResult(t.to+n,-1);return a.deleted||a.pos<=i.pos?null:new Je(i.pos-o,a.pos-o,this)}valid(e,t){let{index:o,offset:n}=e.content.findIndex(t.from),i;return n==t.from&&!(i=e.child(o)).isText&&n+i.nodeSize==t.to}eq(e){return this==e||e instanceof ds&&_o(this.attrs,e.attrs)&&_o(this.spec,e.spec)}destroy(){}}class Je{constructor(e,t,o){this.from=e,this.to=t,this.type=o}copy(e,t){return new Je(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,o){return this.type.map(e,this,t,o)}static widget(e,t,o){return new Je(e,e,new Xn(t,o))}static inline(e,t,o,n){return new Je(e,t,new Qt(o,n))}static node(e,t,o,n){return new Je(e,t,new ds(o,n))}get spec(){return this.type.spec}get inline(){return this.type instanceof Qt}get widget(){return this.type instanceof Xn}}const Jr=[],wr={};class ue{constructor(e,t){this.local=e.length?e:Jr,this.children=t.length?t:Jr}static create(e,t){return t.length?Zn(t,e,0,wr):Be}find(e,t,o){let n=[];return this.findInner(e??0,t??1e9,n,0,o),n}findInner(e,t,o,n,i){for(let a=0;a<this.local.length;a++){let l=this.local[a];l.from<=t&&l.to>=e&&(!i||i(l.spec))&&o.push(l.copy(l.from+n,l.to+n))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<t&&this.children[a+1]>e){let l=this.children[a]+1;this.children[a+2].findInner(e-l,t-l,o,n+l,i)}}map(e,t,o){return this==Be||e.maps.length==0?this:this.mapInner(e,t,0,0,o||wr)}mapInner(e,t,o,n,i){let a;for(let l=0;l<this.local.length;l++){let d=this.local[l].map(e,o,n);d&&d.type.valid(t,d)?(a||(a=[])).push(d):i.onRemove&&i.onRemove(this.local[l].spec)}return this.children.length?u0(this.children,a||[],e,t,o,n,i):a?new ue(a.sort(xr),Jr):Be}add(e,t){return t.length?this==Be?ue.create(e,t):this.addInner(e,t,0):this}addInner(e,t,o){let n,i=0;e.forEach((l,d)=>{let c=d+o,p;if(p=ap(t,l,c)){for(n||(n=this.children.slice());i<n.length&&n[i]<d;)i+=3;n[i]==d?n[i+2]=n[i+2].addInner(l,p,c+1):n.splice(i,0,d,d+l.nodeSize,Zn(p,l,c+1,wr)),i+=3}});let a=ip(i?sp(t):t,-o);for(let l=0;l<a.length;l++)a[l].type.valid(e,a[l])||a.splice(l--,1);return new ue(a.length?this.local.concat(a).sort(xr):this.local,n||this.children)}remove(e){return e.length==0||this==Be?this:this.removeInner(e,0)}removeInner(e,t){let o=this.children,n=this.local;for(let i=0;i<o.length;i+=3){let a,l=o[i]+t,d=o[i+1]+t;for(let p=0,u;p<e.length;p++)(u=e[p])&&u.from>l&&u.to<d&&(e[p]=null,(a||(a=[])).push(u));if(!a)continue;o==this.children&&(o=this.children.slice());let c=o[i+2].removeInner(a,l+1);c!=Be?o[i+2]=c:(o.splice(i,3),i-=3)}if(n.length){for(let i=0,a;i<e.length;i++)if(a=e[i])for(let l=0;l<n.length;l++)n[l].eq(a,t)&&(n==this.local&&(n=this.local.slice()),n.splice(l--,1))}return o==this.children&&n==this.local?this:n.length||o.length?new ue(n,o):Be}forChild(e,t){if(this==Be)return this;if(t.isLeaf)return ue.empty;let o,n;for(let l=0;l<this.children.length;l+=3)if(this.children[l]>=e){this.children[l]==e&&(o=this.children[l+2]);break}let i=e+1,a=i+t.content.size;for(let l=0;l<this.local.length;l++){let d=this.local[l];if(d.from<a&&d.to>i&&d.type instanceof Qt){let c=Math.max(i,d.from)-i,p=Math.min(a,d.to)-i;c<p&&(n||(n=[])).push(d.copy(c,p))}}if(n){let l=new ue(n.sort(xr),Jr);return o?new Xt([l,o]):l}return o||Be}eq(e){if(this==e)return!0;if(!(e instanceof ue)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return cs(this.localsInner(e))}localsInner(e){if(this==Be)return Jr;if(e.inlineContent||!this.local.some(Qt.is))return this.local;let t=[];for(let o=0;o<this.local.length;o++)this.local[o].type instanceof Qt||t.push(this.local[o]);return t}forEachSet(e){e(this)}}ue.empty=new ue([],[]),ue.removeOverlap=cs;const Be=ue.empty;class Xt{constructor(e){this.members=e}map(e,t){const o=this.members.map(n=>n.map(e,t,wr));return Xt.from(o)}forChild(e,t){if(t.isLeaf)return ue.empty;let o=[];for(let n=0;n<this.members.length;n++){let i=this.members[n].forChild(e,t);i!=Be&&(i instanceof Xt?o=o.concat(i.members):o.push(i))}return Xt.from(o)}eq(e){if(!(e instanceof Xt)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,o=!0;for(let n=0;n<this.members.length;n++){let i=this.members[n].localsInner(e);if(i.length)if(!t)t=i;else{o&&(t=t.slice(),o=!1);for(let a=0;a<i.length;a++)t.push(i[a])}}return t?cs(o?t:t.sort(xr)):Jr}static from(e){switch(e.length){case 0:return Be;case 1:return e[0];default:return new Xt(e.every(t=>t instanceof ue)?e:e.reduce((t,o)=>t.concat(o instanceof ue?o:o.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}function u0(r,e,t,o,n,i,a){let l=r.slice();for(let c=0,p=i;c<t.maps.length;c++){let u=0;t.maps[c].forEach((m,h,g,f)=>{let b=f-g-(h-m);for(let w=0;w<l.length;w+=3){let C=l[w+1];if(C<0||m>C+p-u)continue;let k=l[w]+p-u;h>=k?l[w+1]=m<=k?-2:-1:m>=p&&b&&(l[w]+=b,l[w+1]+=b)}u+=b}),p=t.maps[c].map(p,-1)}let d=!1;for(let c=0;c<l.length;c+=3)if(l[c+1]<0){if(l[c+1]==-2){d=!0,l[c+1]=-1;continue}let p=t.map(r[c]+i),u=p-n;if(u<0||u>=o.content.size){d=!0;continue}let m=t.map(r[c+1]+i,-1),h=m-n,{index:g,offset:f}=o.content.findIndex(u),b=o.maybeChild(g);if(b&&f==u&&f+b.nodeSize==h){let w=l[c+2].mapInner(t,b,p+1,r[c]+i+1,a);w!=Be?(l[c]=u,l[c+1]=h,l[c+2]=w):(l[c+1]=-2,d=!0)}else d=!0}if(d){let c=m0(l,r,e,t,n,i,a),p=Zn(c,o,0,a);e=p.local;for(let u=0;u<l.length;u+=3)l[u+1]<0&&(l.splice(u,3),u-=3);for(let u=0,m=0;u<p.children.length;u+=3){let h=p.children[u];for(;m<l.length&&l[m]<h;)m+=3;l.splice(m,0,p.children[u],p.children[u+1],p.children[u+2])}}return new ue(e.sort(xr),l)}function ip(r,e){if(!e||!r.length)return r;let t=[];for(let o=0;o<r.length;o++){let n=r[o];t.push(new Je(n.from+e,n.to+e,n.type))}return t}function m0(r,e,t,o,n,i,a){function l(d,c){for(let p=0;p<d.local.length;p++){let u=d.local[p].map(o,n,c);u?t.push(u):a.onRemove&&a.onRemove(d.local[p].spec)}for(let p=0;p<d.children.length;p+=3)l(d.children[p+2],d.children[p]+c+1)}for(let d=0;d<r.length;d+=3)r[d+1]==-1&&l(r[d+2],e[d]+i+1);return t}function ap(r,e,t){if(e.isLeaf)return null;let o=t+e.nodeSize,n=null;for(let i=0,a;i<r.length;i++)(a=r[i])&&a.from>t&&a.to<o&&((n||(n=[])).push(a),r[i]=null);return n}function sp(r){let e=[];for(let t=0;t<r.length;t++)r[t]!=null&&e.push(r[t]);return e}function Zn(r,e,t,o){let n=[],i=!1;e.forEach((l,d)=>{let c=ap(r,l,d+t);if(c){i=!0;let p=Zn(c,l,t+d+1,o);p!=Be&&n.push(d,d+l.nodeSize,p)}});let a=ip(i?sp(r):r,-t).sort(xr);for(let l=0;l<a.length;l++)a[l].type.valid(e,a[l])||(o.onRemove&&o.onRemove(a[l].spec),a.splice(l--,1));return a.length||n.length?new ue(a,n):Be}function xr(r,e){return r.from-e.from||r.to-e.to}function cs(r){let e=r;for(let t=0;t<e.length-1;t++){let o=e[t];if(o.from!=o.to)for(let n=t+1;n<e.length;n++){let i=e[n];if(i.from==o.from){i.to!=o.to&&(e==r&&(e=r.slice()),e[n]=i.copy(i.from,o.to),lp(e,n+1,i.copy(o.to,i.to)));continue}else{i.from<o.to&&(e==r&&(e=r.slice()),e[t]=o.copy(o.from,i.from),lp(e,n,o.copy(i.from,o.to)));break}}}return e}function lp(r,e,t){for(;e<r.length&&xr(t,r[e])>0;)e++;r.splice(e,0,t)}function ps(r){let e=[];return r.someProp("decorations",t=>{let o=t(r.state);o&&o!=Be&&e.push(o)}),r.cursorWrapper&&e.push(ue.create(r.state.doc,[r.cursorWrapper.deco])),Xt.from(e)}const h0={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},g0=Le&&Ut<=11;class f0{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class b0{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new f0,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(o=>{for(let n=0;n<o.length;n++)this.queue.push(o[n]);Le&&Ut<=11&&o.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),g0&&(this.onCharData=o=>{this.queue.push({target:o.target,type:"characterData",oldValue:o.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,h0)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Lc(this.view)){if(this.suppressingSelectionUpdates)return St(this.view);if(Le&&Ut<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&hr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,o;for(let i=e.focusNode;i;i=Wr(i))t.add(i);for(let i=e.anchorNode;i;i=Wr(i))if(t.has(i)){o=i;break}let n=o&&this.view.docView.nearestDesc(o);if(n&&n.ignoreMutation({type:"selection",target:o.nodeType==3?o.parentNode:o}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let o=e.domSelectionRange(),n=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(o)&&Lc(e)&&!this.ignoreSelectionChange(o),i=-1,a=-1,l=!1,d=[];if(e.editable)for(let p=0;p<t.length;p++){let u=this.registerMutation(t[p],d);u&&(i=i<0?u.from:Math.min(u.from,i),a=a<0?u.to:Math.max(u.to,a),u.typeOver&&(l=!0))}if(rt&&d.length){let p=d.filter(u=>u.nodeName=="BR");if(p.length==2){let[u,m]=p;u.parentNode&&u.parentNode.parentNode==m.parentNode?m.remove():u.remove()}else{let{focusNode:u}=this.currentSelection;for(let m of p){let h=m.parentNode;h&&h.nodeName=="LI"&&(!u||x0(e,u)!=h)&&m.remove()}}}let c=null;i<0&&n&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Un(o)&&(c=Qa(e))&&c.eq(H.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,St(e),this.currentSelection.set(o),e.scrollToSelection()):(i>-1||n)&&(i>-1&&(e.docView.markDirty(i,a),y0(e)),this.handleDOMChange(i,a,l,d),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(o)||St(e),this.currentSelection.set(o))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let o=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(o==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!o||o.ignoreMutation(e))return null;if(e.type=="childList"){for(let p=0;p<e.addedNodes.length;p++){let u=e.addedNodes[p];t.push(u),u.nodeType==3&&(this.lastChangedTextNode=u)}if(o.contentDOM&&o.contentDOM!=o.dom&&!o.contentDOM.contains(e.target))return{from:o.posBefore,to:o.posAfter};let n=e.previousSibling,i=e.nextSibling;if(Le&&Ut<=11&&e.addedNodes.length)for(let p=0;p<e.addedNodes.length;p++){let{previousSibling:u,nextSibling:m}=e.addedNodes[p];(!u||Array.prototype.indexOf.call(e.addedNodes,u)<0)&&(n=u),(!m||Array.prototype.indexOf.call(e.addedNodes,m)<0)&&(i=m)}let a=n&&n.parentNode==e.target?ve(n)+1:0,l=o.localPosFromDOM(e.target,a,-1),d=i&&i.parentNode==e.target?ve(i):e.target.childNodes.length,c=o.localPosFromDOM(e.target,d,1);return{from:l,to:c}}else return e.type=="attributes"?{from:o.posAtStart-o.border,to:o.posAtEnd+o.border}:(this.lastChangedTextNode=e.target,{from:o.posAtStart,to:o.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let dp=new WeakMap,cp=!1;function y0(r){if(!dp.has(r)&&(dp.set(r,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(r.dom).whiteSpace)!==-1)){if(r.requiresGeckoHackNode=rt,cp)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),cp=!0}}function pp(r,e){let t=e.startContainer,o=e.startOffset,n=e.endContainer,i=e.endOffset,a=r.domAtPos(r.state.selection.anchor);return hr(a.node,a.offset,n,i)&&([t,o,n,i]=[n,i,t,o]),{anchorNode:t,anchorOffset:o,focusNode:n,focusOffset:i}}function w0(r,e){if(e.getComposedRanges){let n=e.getComposedRanges(r.root)[0];if(n)return pp(r,n)}let t;function o(n){n.preventDefault(),n.stopImmediatePropagation(),t=n.getTargetRanges()[0]}return r.dom.addEventListener("beforeinput",o,!0),document.execCommand("indent"),r.dom.removeEventListener("beforeinput",o,!0),t?pp(r,t):null}function x0(r,e){for(let t=e.parentNode;t&&t!=r.dom;t=t.parentNode){let o=r.docView.nearestDesc(t,!0);if(o&&o.node.isBlock)return t}return null}function v0(r,e,t){let{node:o,fromOffset:n,toOffset:i,from:a,to:l}=r.docView.parseRange(e,t),d=r.domSelectionRange(),c,p=d.anchorNode;if(p&&r.dom.contains(p.nodeType==1?p:p.parentNode)&&(c=[{node:p,offset:d.anchorOffset}],Un(d)||c.push({node:d.focusNode,offset:d.focusOffset})),Me&&r.input.lastKeyCode===8)for(let b=i;b>n;b--){let w=o.childNodes[b-1],C=w.pmViewDesc;if(w.nodeName=="BR"&&!C){i=b;break}if(!C||C.size)break}let u=r.state.doc,m=r.someProp("domParser")||ko.fromSchema(r.state.schema),h=u.resolve(a),g=null,f=m.parse(o,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:n,to:i,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:k0,context:h});if(c&&c[0].pos!=null){let b=c[0].pos,w=c[1]&&c[1].pos;w==null&&(w=b),g={anchor:b+a,head:w+a}}return{doc:f,sel:g,from:a,to:l}}function k0(r){let e=r.pmViewDesc;if(e)return e.parseRule();if(r.nodeName=="BR"&&r.parentNode){if(Ve&&/^(ul|ol)$/i.test(r.parentNode.nodeName)){let t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}else if(r.parentNode.lastChild==r||Ve&&/^(tr|table)$/i.test(r.parentNode.nodeName))return{ignore:!0}}else if(r.nodeName=="IMG"&&r.getAttribute("mark-placeholder"))return{ignore:!0};return null}const E0=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function C0(r,e,t,o,n){let i=r.input.compositionPendingChanges||(r.composing?r.input.compositionID:0);if(r.input.compositionPendingChanges=0,e<0){let O=r.input.lastSelectionTime>Date.now()-50?r.input.lastSelectionOrigin:null,A=Qa(r,O);if(A&&!r.state.selection.eq(A)){if(Me&&Et&&r.input.lastKeyCode===13&&Date.now()-100<r.input.lastKeyCodeTime&&r.someProp("handleKeyDown",x=>x(r,gr(13,"Enter"))))return;let v=r.state.tr.setSelection(A);O=="pointer"?v.setMeta("pointer",!0):O=="key"&&v.scrollIntoView(),i&&v.setMeta("composition",i),r.dispatch(v)}return}let a=r.state.doc.resolve(e),l=a.sharedDepth(t);e=a.before(l+1),t=r.state.doc.resolve(t).after(l+1);let d=r.state.selection,c=v0(r,e,t),p=r.state.doc,u=p.slice(c.from,c.to),m,h;r.input.lastKeyCode===8&&Date.now()-100<r.input.lastKeyCodeTime?(m=r.state.selection.to,h="end"):(m=r.state.selection.from,h="start"),r.input.lastKeyCode=null;let g=M0(u.content,c.doc.content,c.from,m,h);if(g&&r.input.domChangeCount++,(qr&&r.input.lastIOSEnter>Date.now()-225||Et)&&n.some(O=>O.nodeType==1&&!E0.test(O.nodeName))&&(!g||g.endA>=g.endB)&&r.someProp("handleKeyDown",O=>O(r,gr(13,"Enter")))){r.input.lastIOSEnter=0;return}if(!g)if(o&&d instanceof _&&!d.empty&&d.$head.sameParent(d.$anchor)&&!r.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))g={start:d.from,endA:d.to,endB:d.to};else{if(c.sel){let O=up(r,r.state.doc,c.sel);if(O&&!O.eq(r.state.selection)){let A=r.state.tr.setSelection(O);i&&A.setMeta("composition",i),r.dispatch(A)}}return}r.state.selection.from<r.state.selection.to&&g.start==g.endB&&r.state.selection instanceof _&&(g.start>r.state.selection.from&&g.start<=r.state.selection.from+2&&r.state.selection.from>=c.from?g.start=r.state.selection.from:g.endA<r.state.selection.to&&g.endA>=r.state.selection.to-2&&r.state.selection.to<=c.to&&(g.endB+=r.state.selection.to-g.endA,g.endA=r.state.selection.to)),Le&&Ut<=11&&g.endB==g.start+1&&g.endA==g.start&&g.start>c.from&&c.doc.textBetween(g.start-c.from-1,g.start-c.from+1)=="  "&&(g.start--,g.endA--,g.endB--);let f=c.doc.resolveNoCache(g.start-c.from),b=c.doc.resolveNoCache(g.endB-c.from),w=p.resolve(g.start),C=f.sameParent(b)&&f.parent.inlineContent&&w.end()>=g.endA,k;if((qr&&r.input.lastIOSEnter>Date.now()-225&&(!C||n.some(O=>O.nodeName=="DIV"||O.nodeName=="P"))||!C&&f.pos<c.doc.content.size&&(!f.sameParent(b)||!f.parent.inlineContent)&&!/\S/.test(c.doc.textBetween(f.pos,b.pos,"",""))&&(k=H.findFrom(c.doc.resolve(f.pos+1),1,!0))&&k.head>f.pos)&&r.someProp("handleKeyDown",O=>O(r,gr(13,"Enter")))){r.input.lastIOSEnter=0;return}if(r.state.selection.anchor>g.start&&N0(p,g.start,g.endA,f,b)&&r.someProp("handleKeyDown",O=>O(r,gr(8,"Backspace")))){Et&&Me&&r.domObserver.suppressSelectionUpdates();return}Me&&g.endB==g.start&&(r.input.lastChromeDelete=Date.now()),Et&&!C&&f.start()!=b.start()&&b.parentOffset==0&&f.depth==b.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==g.endA&&(g.endB-=2,b=c.doc.resolveNoCache(g.endB-c.from),setTimeout(()=>{r.someProp("handleKeyDown",function(O){return O(r,gr(13,"Enter"))})},20));let y=g.start,S=g.endA,E=O=>{let A=O||r.state.tr.replace(y,S,c.doc.slice(g.start-c.from,g.endB-c.from));if(c.sel){let v=up(r,A.doc,c.sel);v&&!(Me&&r.composing&&v.empty&&(g.start!=g.endB||r.input.lastChromeDelete<Date.now()-100)&&(v.head==y||v.head==A.mapping.map(S)-1)||Le&&v.empty&&v.head==y)&&A.setSelection(v)}return i&&A.setMeta("composition",i),A.scrollIntoView()},N;if(C){if(f.pos==b.pos){Le&&Ut<=11&&f.parentOffset==0&&(r.domObserver.suppressSelectionUpdates(),setTimeout(()=>St(r),20));let O=E(r.state.tr.delete(y,S)),A=p.resolve(g.start).marksAcross(p.resolve(g.endA));A&&O.ensureMarks(A),r.dispatch(O)}else if(g.endA==g.endB&&(N=S0(f.parent.content.cut(f.parentOffset,b.parentOffset),w.parent.content.cut(w.parentOffset,g.endA-w.start())))){let O=E(r.state.tr);N.type=="add"?O.addMark(y,S,N.mark):O.removeMark(y,S,N.mark),r.dispatch(O)}else if(f.parent.child(f.index()).isText&&f.index()==b.index()-(b.textOffset?0:1)){let O=f.parent.textBetween(f.parentOffset,b.parentOffset),A=()=>E(r.state.tr.insertText(O,y,S));r.someProp("handleTextInput",v=>v(r,y,S,O,A))||r.dispatch(A())}}else r.dispatch(E())}function up(r,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:Za(r,e.resolve(t.anchor),e.resolve(t.head))}function S0(r,e){let t=r.firstChild.marks,o=e.firstChild.marks,n=t,i=o,a,l,d;for(let p=0;p<o.length;p++)n=o[p].removeFromSet(n);for(let p=0;p<t.length;p++)i=t[p].removeFromSet(i);if(n.length==1&&i.length==0)l=n[0],a="add",d=p=>p.mark(l.addToSet(p.marks));else if(n.length==0&&i.length==1)l=i[0],a="remove",d=p=>p.mark(l.removeFromSet(p.marks));else return null;let c=[];for(let p=0;p<e.childCount;p++)c.push(d(e.child(p)));if(B.from(c).eq(r))return{mark:l,type:a}}function N0(r,e,t,o,n){if(t-e<=n.pos-o.pos||us(o,!0,!1)<n.pos)return!1;let i=r.resolve(e);if(!o.parent.isTextblock){let l=i.nodeAfter;return l!=null&&t==e+l.nodeSize}if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let a=r.resolve(us(i,!0,!0));return!a.parent.isTextblock||a.pos>t||us(a,!0,!1)<t?!1:o.parent.content.cut(o.parentOffset).eq(a.parent.content)}function us(r,e,t){let o=r.depth,n=e?r.end():r.pos;for(;o>0&&(e||r.indexAfter(o)==r.node(o).childCount);)o--,n++,e=!1;if(t){let i=r.node(o).maybeChild(r.indexAfter(o));for(;i&&!i.isLeaf;)i=i.firstChild,n++}return n}function M0(r,e,t,o,n){let i=r.findDiffStart(e,t);if(i==null)return null;let{a,b:l}=r.findDiffEnd(e,t+r.size,t+e.size);if(n=="end"){let d=Math.max(0,i-Math.min(a,l));o-=a+d-i}if(a<i&&r.size<e.size){let d=o<=i&&o>=a?i-o:0;i-=d,i&&i<e.size&&mp(e.textBetween(i-1,i+1))&&(i+=d?1:-1),l=i+(l-a),a=i}else if(l<i){let d=o<=i&&o>=l?i-o:0;i-=d,i&&i<r.size&&mp(r.textBetween(i-1,i+1))&&(i+=d?1:-1),a=i+(a-l),l=i}return{start:i,endA:a,endB:l}}function mp(r){if(r.length!=2)return!1;let e=r.charCodeAt(0),t=r.charCodeAt(1);return e>=56320&&e<=57343&&t>=55296&&t<=56319}class hp{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new Kf,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(wp),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=bp(this),fp(this),this.nodeViews=yp(this),this.docView=Cc(this.state.doc,gp(this),ps(this),this.dom,this),this.domObserver=new b0(this,(o,n,i,a)=>C0(this,o,n,i,a)),this.domObserver.start(),Gf(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&is(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(wp),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let o in this._props)t[o]=this._props[o];t.state=this.state;for(let o in e)t[o]=e[o];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var o;let n=this.state,i=!1,a=!1;e.storedMarks&&this.composing&&(tp(this),a=!0),this.state=e;let l=n.plugins!=e.plugins||this._props.plugins!=t.plugins;if(l||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let h=yp(this);T0(h,this.nodeViews)&&(this.nodeViews=h,i=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&is(this),this.editable=bp(this),fp(this);let d=ps(this),c=gp(this),p=n.plugins!=e.plugins&&!n.doc.eq(e.doc)?"reset":e.scrollToSelection>n.scrollToSelection?"to selection":"preserve",u=i||!this.docView.matchesNode(e.doc,c,d);(u||!e.selection.eq(n.selection))&&(a=!0);let m=p=="preserve"&&a&&this.dom.style.overflowAnchor==null&&sf(this);if(a){this.domObserver.stop();let h=u&&(Le||Me)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&B0(n.selection,e.selection);if(u){let g=Me?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=a0(this)),(i||!this.docView.update(e.doc,c,d,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=Cc(e.doc,c,d,this.dom,this)),g&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Vf(this))?St(this,h):(Dc(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),!((o=this.dragging)===null||o===void 0)&&o.node&&!n.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,n),p=="reset"?this.dom.scrollTop=0:p=="to selection"?this.scrollToSelection():m&&lf(m)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof L){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&pc(this,t.getBoundingClientRect(),e)}else pc(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let t=0;t<this.directPlugins.length;t++){let o=this.directPlugins[t];o.spec.view&&this.pluginViews.push(o.spec.view(this))}for(let t=0;t<this.state.plugins.length;t++){let o=this.state.plugins[t];o.spec.view&&this.pluginViews.push(o.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let o=this.pluginViews[t];o.update&&o.update(this,e)}}updateDraggedNode(e,t){let o=e.node,n=-1;if(this.state.doc.nodeAt(o.from)==o.node)n=o.from;else{let i=o.from+(this.state.doc.content.size-t.doc.content.size);(i>0&&this.state.doc.nodeAt(i))==o.node&&(n=i)}this.dragging=new op(e.slice,e.move,n<0?void 0:L.create(this.state.doc,n))}someProp(e,t){let o=this._props&&this._props[e],n;if(o!=null&&(n=t?t(o):o))return n;for(let a=0;a<this.directPlugins.length;a++){let l=this.directPlugins[a].props[e];if(l!=null&&(n=t?t(l):l))return n}let i=this.state.plugins;if(i)for(let a=0;a<i.length;a++){let l=i[a].props[e];if(l!=null&&(n=t?t(l):l))return n}}hasFocus(){if(Le){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&df(this.dom),St(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let t=this.dom.parentNode;t;t=t.parentNode)if(t.nodeType==9||t.nodeType==11&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t}return e||document}updateRoot(){this._root=null}posAtCoords(e){return hf(this,e)}coordsAtPos(e,t=1){return bc(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,o=-1){let n=this.docView.posFromDOM(e,t,o);if(n==null)throw new RangeError("DOM position not inside the editor");return n}endOfTextblock(e,t){return wf(this,t||this.state,e)}pasteHTML(e,t){return Ro(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Ro(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return ts(this,e)}destroy(){this.docView&&(Jf(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],ps(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,Yg())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return Qf(this,e)}domSelectionRange(){let e=this.domSelection();return e?Ve&&this.root.nodeType===11&&ef(this.dom.ownerDocument)==this.dom&&w0(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}hp.prototype.dispatch=function(r){let e=this._props.dispatchTransaction;e?e.call(this,r):this.updateState(this.state.apply(r))};function gp(r){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(r.editable),r.someProp("attributes",t=>{if(typeof t=="function"&&(t=t(r.state)),t)for(let o in t)o=="class"?e.class+=" "+t[o]:o=="style"?e.style=(e.style?e.style+";":"")+t[o]:!e[o]&&o!="contenteditable"&&o!="nodeName"&&(e[o]=String(t[o]))}),e.translate||(e.translate="no"),[Je.node(0,r.state.doc.content.size,e)]}function fp(r){if(r.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),r.cursorWrapper={dom:e,deco:Je.widget(r.state.selection.from,e,{raw:!0,marks:r.markCursor})}}else r.cursorWrapper=null}function bp(r){return!r.someProp("editable",e=>e(r.state)===!1)}function B0(r,e){let t=Math.min(r.$anchor.sharedDepth(r.head),e.$anchor.sharedDepth(e.head));return r.$anchor.start(t)!=e.$anchor.start(t)}function yp(r){let e=Object.create(null);function t(o){for(let n in o)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=o[n])}return r.someProp("nodeViews",t),r.someProp("markViews",t),e}function T0(r,e){let t=0,o=0;for(let n in r){if(r[n]!=e[n])return!0;t++}for(let n in e)o++;return t!=o}function wp(r){if(r.spec.state||r.spec.filterTransaction||r.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var Zt={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},$n={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},O0=typeof navigator<"u"&&/Mac/.test(navigator.platform),V0=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),ke=0;ke<10;ke++)Zt[48+ke]=Zt[96+ke]=String(ke);for(var ke=1;ke<=24;ke++)Zt[ke+111]="F"+ke;for(var ke=65;ke<=90;ke++)Zt[ke]=String.fromCharCode(ke+32),$n[ke]=String.fromCharCode(ke);for(var ms in Zt)$n.hasOwnProperty(ms)||($n[ms]=Zt[ms]);function P0(r){var e=O0&&r.metaKey&&r.shiftKey&&!r.ctrlKey&&!r.altKey||V0&&r.shiftKey&&r.key&&r.key.length==1||r.key=="Unidentified",t=!e&&r.key||(r.shiftKey?$n:Zt)[r.keyCode]||r.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}const A0=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),D0=typeof navigator<"u"&&/Win/.test(navigator.platform);function I0(r){let e=r.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let o,n,i,a;for(let l=0;l<e.length-1;l++){let d=e[l];if(/^(cmd|meta|m)$/i.test(d))a=!0;else if(/^a(lt)?$/i.test(d))o=!0;else if(/^(c|ctrl|control)$/i.test(d))n=!0;else if(/^s(hift)?$/i.test(d))i=!0;else if(/^mod$/i.test(d))A0?a=!0:n=!0;else throw new Error("Unrecognized modifier name: "+d)}return o&&(t="Alt-"+t),n&&(t="Ctrl-"+t),a&&(t="Meta-"+t),i&&(t="Shift-"+t),t}function L0(r){let e=Object.create(null);for(let t in r)e[I0(t)]=r[t];return e}function hs(r,e,t=!0){return e.altKey&&(r="Alt-"+r),e.ctrlKey&&(r="Ctrl-"+r),e.metaKey&&(r="Meta-"+r),t&&e.shiftKey&&(r="Shift-"+r),r}function R0(r){return new pe({props:{handleKeyDown:xp(r)}})}function xp(r){let e=L0(r);return function(t,o){let n=P0(o),i,a=e[hs(n,o)];if(a&&a(t.state,t.dispatch,t))return!0;if(n.length==1&&n!=" "){if(o.shiftKey){let l=e[hs(n,o,!1)];if(l&&l(t.state,t.dispatch,t))return!0}if((o.altKey||o.metaKey||o.ctrlKey)&&!(D0&&o.ctrlKey&&o.altKey)&&(i=Zt[o.keyCode])&&i!=n){let l=e[hs(i,o)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}const gs=(r,e)=>r.selection.empty?!1:(e&&e(r.tr.deleteSelection().scrollIntoView()),!0);function vp(r,e){let{$cursor:t}=r.selection;return!t||(e?!e.endOfTextblock("backward",r):t.parentOffset>0)?null:t}const kp=(r,e,t)=>{let o=vp(r,t);if(!o)return!1;let n=fs(o);if(!n){let a=o.blockRange(),l=a&&_r(a);return l==null?!1:(e&&e(r.tr.lift(a,l).scrollIntoView()),!0)}let i=n.nodeBefore;if(Vp(r,n,e,-1))return!0;if(o.parent.content.size==0&&(Yr(i,"end")||L.isSelectable(i)))for(let a=o.depth;;a--){let l=jn(r.doc,o.before(a),o.after(a),P.empty);if(l&&l.slice.size<l.to-l.from){if(e){let d=r.tr.step(l);d.setSelection(Yr(i,"end")?H.findFrom(d.doc.resolve(d.mapping.map(n.pos,-1)),-1):L.create(d.doc,n.pos-i.nodeSize)),e(d.scrollIntoView())}return!0}if(a==1||o.node(a-1).childCount>1)break}return i.isAtom&&n.depth==o.depth-1?(e&&e(r.tr.delete(n.pos-i.nodeSize,n.pos).scrollIntoView()),!0):!1},_0=(r,e,t)=>{let o=vp(r,t);if(!o)return!1;let n=fs(o);return n?Ep(r,n,e):!1},z0=(r,e,t)=>{let o=Sp(r,t);if(!o)return!1;let n=bs(o);return n?Ep(r,n,e):!1};function Ep(r,e,t){let o=e.nodeBefore,n=o,i=e.pos-1;for(;!n.isTextblock;i--){if(n.type.spec.isolating)return!1;let p=n.lastChild;if(!p)return!1;n=p}let a=e.nodeAfter,l=a,d=e.pos+1;for(;!l.isTextblock;d++){if(l.type.spec.isolating)return!1;let p=l.firstChild;if(!p)return!1;l=p}let c=jn(r.doc,i,d,P.empty);if(!c||c.from!=i||c instanceof he&&c.slice.size>=d-i)return!1;if(t){let p=r.tr.step(c);p.setSelection(_.create(p.doc,i)),t(p.scrollIntoView())}return!0}function Yr(r,e,t=!1){for(let o=r;o;o=e=="start"?o.firstChild:o.lastChild){if(o.isTextblock)return!0;if(t&&o.childCount!=1)return!1}return!1}const Cp=(r,e,t)=>{let{$head:o,empty:n}=r.selection,i=o;if(!n)return!1;if(o.parent.isTextblock){if(t?!t.endOfTextblock("backward",r):o.parentOffset>0)return!1;i=fs(o)}let a=i&&i.nodeBefore;return!a||!L.isSelectable(a)?!1:(e&&e(r.tr.setSelection(L.create(r.doc,i.pos-a.nodeSize)).scrollIntoView()),!0)};function fs(r){if(!r.parent.type.spec.isolating)for(let e=r.depth-1;e>=0;e--){if(r.index(e)>0)return r.doc.resolve(r.before(e+1));if(r.node(e).type.spec.isolating)break}return null}function Sp(r,e){let{$cursor:t}=r.selection;return!t||(e?!e.endOfTextblock("forward",r):t.parentOffset<t.parent.content.size)?null:t}const Np=(r,e,t)=>{let o=Sp(r,t);if(!o)return!1;let n=bs(o);if(!n)return!1;let i=n.nodeAfter;if(Vp(r,n,e,1))return!0;if(o.parent.content.size==0&&(Yr(i,"start")||L.isSelectable(i))){let a=jn(r.doc,o.before(),o.after(),P.empty);if(a&&a.slice.size<a.to-a.from){if(e){let l=r.tr.step(a);l.setSelection(Yr(i,"start")?H.findFrom(l.doc.resolve(l.mapping.map(n.pos)),1):L.create(l.doc,l.mapping.map(n.pos))),e(l.scrollIntoView())}return!0}}return i.isAtom&&n.depth==o.depth-1?(e&&e(r.tr.delete(n.pos,n.pos+i.nodeSize).scrollIntoView()),!0):!1},Mp=(r,e,t)=>{let{$head:o,empty:n}=r.selection,i=o;if(!n)return!1;if(o.parent.isTextblock){if(t?!t.endOfTextblock("forward",r):o.parentOffset<o.parent.content.size)return!1;i=bs(o)}let a=i&&i.nodeAfter;return!a||!L.isSelectable(a)?!1:(e&&e(r.tr.setSelection(L.create(r.doc,i.pos)).scrollIntoView()),!0)};function bs(r){if(!r.parent.type.spec.isolating)for(let e=r.depth-1;e>=0;e--){let t=r.node(e);if(r.index(e)+1<t.childCount)return r.doc.resolve(r.after(e+1));if(t.type.spec.isolating)break}return null}const F0=(r,e)=>{let t=r.selection,o=t instanceof L,n;if(o){if(t.node.isTextblock||!Wt(r.doc,t.from))return!1;n=t.from}else if(n=Hn(r.doc,t.from,-1),n==null)return!1;if(e){let i=r.tr.join(n);o&&i.setSelection(L.create(i.doc,n-r.doc.resolve(n).nodeBefore.nodeSize)),e(i.scrollIntoView())}return!0},H0=(r,e)=>{let t=r.selection,o;if(t instanceof L){if(t.node.isTextblock||!Wt(r.doc,t.to))return!1;o=t.to}else if(o=Hn(r.doc,t.to,1),o==null)return!1;return e&&e(r.tr.join(o).scrollIntoView()),!0},j0=(r,e)=>{let{$from:t,$to:o}=r.selection,n=t.blockRange(o),i=n&&_r(n);return i==null?!1:(e&&e(r.tr.lift(n,i).scrollIntoView()),!0)},Bp=(r,e)=>{let{$head:t,$anchor:o}=r.selection;return!t.parent.type.spec.code||!t.sameParent(o)?!1:(e&&e(r.tr.insertText(`
20
+ `).scrollIntoView()),!0)};function ys(r){for(let e=0;e<r.edgeCount;e++){let{type:t}=r.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}const W0=(r,e)=>{let{$head:t,$anchor:o}=r.selection;if(!t.parent.type.spec.code||!t.sameParent(o))return!1;let n=t.node(-1),i=t.indexAfter(-1),a=ys(n.contentMatchAt(i));if(!a||!n.canReplaceWith(i,i,a))return!1;if(e){let l=t.after(),d=r.tr.replaceWith(l,l,a.createAndFill());d.setSelection(H.near(d.doc.resolve(l),1)),e(d.scrollIntoView())}return!0},Tp=(r,e)=>{let t=r.selection,{$from:o,$to:n}=t;if(t instanceof He||o.parent.inlineContent||n.parent.inlineContent)return!1;let i=ys(n.parent.contentMatchAt(n.indexAfter()));if(!i||!i.isTextblock)return!1;if(e){let a=(!o.parentOffset&&n.index()<n.parent.childCount?o:n).pos,l=r.tr.insert(a,i.createAndFill());l.setSelection(_.create(l.doc,a+1)),e(l.scrollIntoView())}return!0},Op=(r,e)=>{let{$cursor:t}=r.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let i=t.before();if(vt(r.doc,i))return e&&e(r.tr.split(i).scrollIntoView()),!0}let o=t.blockRange(),n=o&&_r(o);return n==null?!1:(e&&e(r.tr.lift(o,n).scrollIntoView()),!0)};function q0(r){return(e,t)=>{let{$from:o,$to:n}=e.selection;if(e.selection instanceof L&&e.selection.node.isBlock)return!o.parentOffset||!vt(e.doc,o.pos)?!1:(t&&t(e.tr.split(o.pos).scrollIntoView()),!0);if(!o.depth)return!1;let i=[],a,l,d=!1,c=!1;for(let h=o.depth;;h--)if(o.node(h).isBlock){d=o.end(h)==o.pos+(o.depth-h),c=o.start(h)==o.pos-(o.depth-h),l=ys(o.node(h-1).contentMatchAt(o.indexAfter(h-1))),i.unshift(d&&l?{type:l}:null),a=h;break}else{if(h==1)return!1;i.unshift(null)}let p=e.tr;(e.selection instanceof _||e.selection instanceof He)&&p.deleteSelection();let u=p.mapping.map(o.pos),m=vt(p.doc,u,i.length,i);if(m||(i[0]=l?{type:l}:null,m=vt(p.doc,u,i.length,i)),!m)return!1;if(p.split(u,i.length,i),!d&&c&&o.node(a).type!=l){let h=p.mapping.map(o.before(a)),g=p.doc.resolve(h);l&&o.node(a-1).canReplaceWith(g.index(),g.index()+1,l)&&p.setNodeMarkup(p.mapping.map(o.before(a)),l)}return t&&t(p.scrollIntoView()),!0}}const U0=q0(),K0=(r,e)=>{let{$from:t,to:o}=r.selection,n,i=t.sharedDepth(o);return i==0?!1:(n=t.before(i),e&&e(r.tr.setSelection(L.create(r.doc,n))),!0)};function G0(r,e,t){let o=e.nodeBefore,n=e.nodeAfter,i=e.index();return!o||!n||!o.type.compatibleContent(n.type)?!1:!o.content.size&&e.parent.canReplace(i-1,i)?(t&&t(r.tr.delete(e.pos-o.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(i,i+1)||!(n.isTextblock||Wt(r.doc,e.pos))?!1:(t&&t(r.tr.join(e.pos).scrollIntoView()),!0)}function Vp(r,e,t,o){let n=e.nodeBefore,i=e.nodeAfter,a,l,d=n.type.spec.isolating||i.type.spec.isolating;if(!d&&G0(r,e,t))return!0;let c=!d&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(a=(l=n.contentMatchAt(n.childCount)).findWrapping(i.type))&&l.matchType(a[0]||i.type).validEnd){if(t){let h=e.pos+i.nodeSize,g=B.empty;for(let w=a.length-1;w>=0;w--)g=B.from(a[w].create(null,g));g=B.from(n.copy(g));let f=r.tr.step(new ge(e.pos-1,h,e.pos,h,new P(g,1,0),a.length,!0)),b=f.doc.resolve(h+2*a.length);b.nodeAfter&&b.nodeAfter.type==n.type&&Wt(f.doc,b.pos)&&f.join(b.pos),t(f.scrollIntoView())}return!0}let p=i.type.spec.isolating||o>0&&d?null:H.findFrom(e,1),u=p&&p.$from.blockRange(p.$to),m=u&&_r(u);if(m!=null&&m>=e.depth)return t&&t(r.tr.lift(u,m).scrollIntoView()),!0;if(c&&Yr(i,"start",!0)&&Yr(n,"end")){let h=n,g=[];for(;g.push(h),!h.isTextblock;)h=h.lastChild;let f=i,b=1;for(;!f.isTextblock;f=f.firstChild)b++;if(h.canReplace(h.childCount,h.childCount,f.content)){if(t){let w=B.empty;for(let k=g.length-1;k>=0;k--)w=B.from(g[k].copy(w));let C=r.tr.step(new ge(e.pos-g.length,e.pos+i.nodeSize,e.pos+b,e.pos+i.nodeSize-b,new P(w,g.length,0),0,!0));t(C.scrollIntoView())}return!0}}return!1}function Pp(r){return function(e,t){let o=e.selection,n=r<0?o.$from:o.$to,i=n.depth;for(;n.node(i).isInline;){if(!i)return!1;i--}return n.node(i).isTextblock?(t&&t(e.tr.setSelection(_.create(e.doc,r<0?n.start(i):n.end(i)))),!0):!1}}const J0=Pp(-1),Y0=Pp(1);function Q0(r,e=null){return function(t,o){let{$from:n,$to:i}=t.selection,a=n.blockRange(i),l=a&&Ia(a,r,e);return l?(o&&o(t.tr.wrap(a,l).scrollIntoView()),!0):!1}}function Ap(r,e=null){return function(t,o){let n=!1;for(let i=0;i<t.selection.ranges.length&&!n;i++){let{$from:{pos:a},$to:{pos:l}}=t.selection.ranges[i];t.doc.nodesBetween(a,l,(d,c)=>{if(n)return!1;if(!(!d.isTextblock||d.hasMarkup(r,e)))if(d.type==r)n=!0;else{let p=t.doc.resolve(c),u=p.index();n=p.parent.canReplaceWith(u,u+1,r)}})}if(!n)return!1;if(o){let i=t.tr;for(let a=0;a<t.selection.ranges.length;a++){let{$from:{pos:l},$to:{pos:d}}=t.selection.ranges[a];i.setBlockType(l,d,r,e)}o(i.scrollIntoView())}return!0}}function ws(...r){return function(e,t,o){for(let n=0;n<r.length;n++)if(r[n](e,t,o))return!0;return!1}}ws(gs,kp,Cp),ws(gs,Np,Mp),ws(Bp,Tp,Op,U0),typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function X0(r,e=null){return function(t,o){let{$from:n,$to:i}=t.selection,a=n.blockRange(i);if(!a)return!1;let l=o?t.tr:null;return Z0(l,a,r,e)?(o&&o(l.scrollIntoView()),!0):!1}}function Z0(r,e,t,o=null){let n=!1,i=e,a=e.$from.doc;if(e.depth>=2&&e.$from.node(e.depth-1).type.compatibleContent(t)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let d=a.resolve(e.start-2);i=new In(d,d,e.depth),e.endIndex<e.parent.childCount&&(e=new In(e.$from,a.resolve(e.$to.end(e.depth)),e.depth)),n=!0}let l=Ia(i,t,o,e);return l?(r&&$0(r,e,l,n,t),!0):!1}function $0(r,e,t,o,n){let i=B.empty;for(let p=t.length-1;p>=0;p--)i=B.from(t[p].type.create(t[p].attrs,i));r.step(new ge(e.start-(o?2:0),e.end,e.start,e.end,new P(i,0,0),t.length,!0));let a=0;for(let p=0;p<t.length;p++)t[p].type==n&&(a=p+1);let l=t.length-a,d=e.start+t.length-(o?2:0),c=e.parent;for(let p=e.startIndex,u=e.endIndex,m=!0;p<u;p++,m=!1)!m&&vt(r.doc,d,l)&&(r.split(d,l),d+=2*l),d+=c.child(p).nodeSize;return r}function eb(r){return function(e,t){let{$from:o,$to:n}=e.selection,i=o.blockRange(n,a=>a.childCount>0&&a.firstChild.type==r);return i?t?o.node(i.depth-1).type==r?tb(e,t,r,i):rb(e,t,i):!0:!1}}function tb(r,e,t,o){let n=r.tr,i=o.end,a=o.$to.end(o.depth);i<a&&(n.step(new ge(i-1,a,i,a,new P(B.from(t.create(null,o.parent.copy())),1,0),1,!0)),o=new In(n.doc.resolve(o.$from.pos),n.doc.resolve(a),o.depth));const l=_r(o);if(l==null)return!1;n.lift(o,l);let d=n.doc.resolve(n.mapping.map(i,-1)-1);return Wt(n.doc,d.pos)&&d.nodeBefore.type==d.nodeAfter.type&&n.join(d.pos),e(n.scrollIntoView()),!0}function rb(r,e,t){let o=r.tr,n=t.parent;for(let h=t.end,g=t.endIndex-1,f=t.startIndex;g>f;g--)h-=n.child(g).nodeSize,o.delete(h-1,h+1);let i=o.doc.resolve(t.start),a=i.nodeAfter;if(o.mapping.map(t.end)!=t.start+i.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,d=t.endIndex==n.childCount,c=i.node(-1),p=i.index(-1);if(!c.canReplace(p+(l?0:1),p+1,a.content.append(d?B.empty:B.from(n))))return!1;let u=i.pos,m=u+a.nodeSize;return o.step(new ge(u-(l?1:0),m+(d?1:0),u+1,m-1,new P((l?B.empty:B.from(n.copy(B.empty))).append(d?B.empty:B.from(n.copy(B.empty))),l?0:1,d?0:1),l?0:1)),e(o.scrollIntoView()),!0}function ob(r){return function(e,t){let{$from:o,$to:n}=e.selection,i=o.blockRange(n,c=>c.childCount>0&&c.firstChild.type==r);if(!i)return!1;let a=i.startIndex;if(a==0)return!1;let l=i.parent,d=l.child(a-1);if(d.type!=r)return!1;if(t){let c=d.lastChild&&d.lastChild.type==l.type,p=B.from(c?r.create():null),u=new P(B.from(r.create(null,B.from(l.type.create(null,p)))),c?3:1,0),m=i.start,h=i.end;t(e.tr.step(new ge(m-(c?3:1),h,m,h,u,1,!0)).scrollIntoView())}return!0}}function ei(r){const{state:e,transaction:t}=r;let{selection:o}=t,{doc:n}=t,{storedMarks:i}=t;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return i},get selection(){return o},get doc(){return n},get tr(){return o=t.selection,n=t.doc,i=t.storedMarks,t}}}class ti{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:o}=this,{view:n}=t,{tr:i}=o,a=this.buildProps(i);return Object.fromEntries(Object.entries(e).map(([l,d])=>[l,(...p)=>{const u=d(...p)(a);return!i.getMeta("preventDispatch")&&!this.hasCustomState&&n.dispatch(i),u}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:o,editor:n,state:i}=this,{view:a}=n,l=[],d=!!e,c=e||i.tr,p=()=>(!d&&t&&!c.getMeta("preventDispatch")&&!this.hasCustomState&&a.dispatch(c),l.every(m=>m===!0)),u={...Object.fromEntries(Object.entries(o).map(([m,h])=>[m,(...f)=>{const b=this.buildProps(c,t),w=h(...f)(b);return l.push(w),u}])),run:p};return u}createCan(e){const{rawCommands:t,state:o}=this,n=!1,i=e||o.tr,a=this.buildProps(i,n);return{...Object.fromEntries(Object.entries(t).map(([d,c])=>[d,(...p)=>c(...p)({...a,dispatch:void 0})])),chain:()=>this.createChain(i,n)}}buildProps(e,t=!0){const{rawCommands:o,editor:n,state:i}=this,{view:a}=n,l={tr:e,editor:n,view:a,state:ei({state:i,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(o).map(([d,c])=>[d,(...p)=>c(...p)(l)]))}};return l}}class nb{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const o=this.callbacks[e];return o&&o.forEach(n=>n.apply(this,t)),this}off(e,t){const o=this.callbacks[e];return o&&(t?this.callbacks[e]=o.filter(n=>n!==t):delete this.callbacks[e]),this}once(e,t){const o=(...n)=>{this.off(e,o),t.apply(this,n)};return this.on(e,o)}removeAllListeners(){this.callbacks={}}}function D(r,e,t){return r.config[e]===void 0&&r.parent?D(r.parent,e,t):typeof r.config[e]=="function"?r.config[e].bind({...t,parent:r.parent?D(r.parent,e,t):null}):r.config[e]}function ri(r){const e=r.filter(n=>n.type==="extension"),t=r.filter(n=>n.type==="node"),o=r.filter(n=>n.type==="mark");return{baseExtensions:e,nodeExtensions:t,markExtensions:o}}function Dp(r){const e=[],{nodeExtensions:t,markExtensions:o}=ri(r),n=[...t,...o],i={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return r.forEach(a=>{const l={name:a.name,options:a.options,storage:a.storage,extensions:n},d=D(a,"addGlobalAttributes",l);if(!d)return;d().forEach(p=>{p.types.forEach(u=>{Object.entries(p.attributes).forEach(([m,h])=>{e.push({type:u,name:m,attribute:{...i,...h}})})})})}),n.forEach(a=>{const l={name:a.name,options:a.options,storage:a.storage},d=D(a,"addAttributes",l);if(!d)return;const c=d();Object.entries(c).forEach(([p,u])=>{const m={...i,...u};typeof(m==null?void 0:m.default)=="function"&&(m.default=m.default()),m!=null&&m.isRequired&&(m==null?void 0:m.default)===void 0&&delete m.default,e.push({type:a.name,name:p,attribute:m})})}),e}function fe(r,e){if(typeof r=="string"){if(!e.nodes[r])throw Error(`There is no node type named '${r}'. Maybe you forgot to add the extension?`);return e.nodes[r]}return r}function Ee(...r){return r.filter(e=>!!e).reduce((e,t)=>{const o={...e};return Object.entries(t).forEach(([n,i])=>{if(!o[n]){o[n]=i;return}if(n==="class"){const l=i?String(i).split(" "):[],d=o[n]?o[n].split(" "):[],c=l.filter(p=>!d.includes(p));o[n]=[...d,...c].join(" ")}else if(n==="style"){const l=i?i.split(";").map(p=>p.trim()).filter(Boolean):[],d=o[n]?o[n].split(";").map(p=>p.trim()).filter(Boolean):[],c=new Map;d.forEach(p=>{const[u,m]=p.split(":").map(h=>h.trim());c.set(u,m)}),l.forEach(p=>{const[u,m]=p.split(":").map(h=>h.trim());c.set(u,m)}),o[n]=Array.from(c.entries()).map(([p,u])=>`${p}: ${u}`).join("; ")}else o[n]=i}),o},{})}function xs(r,e){return e.filter(t=>t.type===r.type.name).filter(t=>t.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(r.attrs)||{}:{[t.name]:r.attrs[t.name]}).reduce((t,o)=>Ee(t,o),{})}function Ip(r){return typeof r=="function"}function W(r,e=void 0,...t){return Ip(r)?e?r.bind(e)(...t):r(...t):r}function ib(r={}){return Object.keys(r).length===0&&r.constructor===Object}function ab(r){return typeof r!="string"?r:r.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(r):r==="true"?!0:r==="false"?!1:r}function Lp(r,e){return"style"in r?r:{...r,getAttrs:t=>{const o=r.getAttrs?r.getAttrs(t):r.attrs;if(o===!1)return!1;const n=e.reduce((i,a)=>{const l=a.attribute.parseHTML?a.attribute.parseHTML(t):ab(t.getAttribute(a.name));return l==null?i:{...i,[a.name]:l}},{});return{...o,...n}}}}function Rp(r){return Object.fromEntries(Object.entries(r).filter(([e,t])=>e==="attrs"&&ib(t)?!1:t!=null))}function sb(r,e){var t;const o=Dp(r),{nodeExtensions:n,markExtensions:i}=ri(r),a=(t=n.find(c=>D(c,"topNode")))===null||t===void 0?void 0:t.name,l=Object.fromEntries(n.map(c=>{const p=o.filter(w=>w.type===c.name),u={name:c.name,options:c.options,storage:c.storage,editor:e},m=r.reduce((w,C)=>{const k=D(C,"extendNodeSchema",u);return{...w,...k?k(c):{}}},{}),h=Rp({...m,content:W(D(c,"content",u)),marks:W(D(c,"marks",u)),group:W(D(c,"group",u)),inline:W(D(c,"inline",u)),atom:W(D(c,"atom",u)),selectable:W(D(c,"selectable",u)),draggable:W(D(c,"draggable",u)),code:W(D(c,"code",u)),whitespace:W(D(c,"whitespace",u)),linebreakReplacement:W(D(c,"linebreakReplacement",u)),defining:W(D(c,"defining",u)),isolating:W(D(c,"isolating",u)),attrs:Object.fromEntries(p.map(w=>{var C;return[w.name,{default:(C=w==null?void 0:w.attribute)===null||C===void 0?void 0:C.default}]}))}),g=W(D(c,"parseHTML",u));g&&(h.parseDOM=g.map(w=>Lp(w,p)));const f=D(c,"renderHTML",u);f&&(h.toDOM=w=>f({node:w,HTMLAttributes:xs(w,p)}));const b=D(c,"renderText",u);return b&&(h.toText=b),[c.name,h]})),d=Object.fromEntries(i.map(c=>{const p=o.filter(b=>b.type===c.name),u={name:c.name,options:c.options,storage:c.storage,editor:e},m=r.reduce((b,w)=>{const C=D(w,"extendMarkSchema",u);return{...b,...C?C(c):{}}},{}),h=Rp({...m,inclusive:W(D(c,"inclusive",u)),excludes:W(D(c,"excludes",u)),group:W(D(c,"group",u)),spanning:W(D(c,"spanning",u)),code:W(D(c,"code",u)),attrs:Object.fromEntries(p.map(b=>{var w;return[b.name,{default:(w=b==null?void 0:b.attribute)===null||w===void 0?void 0:w.default}]}))}),g=W(D(c,"parseHTML",u));g&&(h.parseDOM=g.map(b=>Lp(b,p)));const f=D(c,"renderHTML",u);return f&&(h.toDOM=b=>f({mark:b,HTMLAttributes:xs(b,p)})),[c.name,h]}));return new Md({topNode:a,nodes:l,marks:d})}function vs(r,e){return e.nodes[r]||e.marks[r]||null}function _p(r,e){return Array.isArray(e)?e.some(t=>(typeof t=="string"?t:t.name)===r.name):e}function ks(r,e){const t=ur.fromSchema(e).serializeFragment(r),n=document.implementation.createHTMLDocument().createElement("div");return n.appendChild(t),n.innerHTML}const lb=(r,e=500)=>{let t="";const o=r.parentOffset;return r.parent.nodesBetween(Math.max(0,o-e),o,(n,i,a,l)=>{var d,c;const p=((c=(d=n.type.spec).toText)===null||c===void 0?void 0:c.call(d,{node:n,pos:i,parent:a,index:l}))||n.textContent||"%leaf%";t+=n.isAtom&&!n.isText?p:p.slice(0,Math.max(0,o-i))}),t};function Es(r){return Object.prototype.toString.call(r)==="[object RegExp]"}class oi{constructor(e){this.find=e.find,this.handler=e.handler}}const db=(r,e)=>{if(Es(e))return e.exec(r);const t=e(r);if(!t)return null;const o=[t.text];return o.index=t.index,o.input=r,o.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),o.push(t.replaceWith)),o};function ni(r){var e;const{editor:t,from:o,to:n,text:i,rules:a,plugin:l}=r,{view:d}=t;if(d.composing)return!1;const c=d.state.doc.resolve(o);if(c.parent.type.spec.code||!((e=c.nodeBefore||c.nodeAfter)===null||e===void 0)&&e.marks.find(m=>m.type.spec.code))return!1;let p=!1;const u=lb(c)+i;return a.forEach(m=>{if(p)return;const h=db(u,m.find);if(!h)return;const g=d.state.tr,f=ei({state:d.state,transaction:g}),b={from:o-(h[0].length-i.length),to:n},{commands:w,chain:C,can:k}=new ti({editor:t,state:f});m.handler({state:f,range:b,match:h,commands:w,chain:C,can:k})===null||!g.steps.length||(g.setMeta(l,{transform:g,from:o,to:n,text:i}),d.dispatch(g),p=!0)}),p}function cb(r){const{editor:e,rules:t}=r,o=new pe({state:{init(){return null},apply(n,i,a){const l=n.getMeta(o);if(l)return l;const d=n.getMeta("applyInputRules");return!!d&&setTimeout(()=>{let{text:p}=d;typeof p=="string"?p=p:p=ks(B.from(p),a.schema);const{from:u}=d,m=u+p.length;ni({editor:e,from:u,to:m,text:p,rules:t,plugin:o})}),n.selectionSet||n.docChanged?null:i}},props:{handleTextInput(n,i,a,l){return ni({editor:e,from:i,to:a,text:l,rules:t,plugin:o})},handleDOMEvents:{compositionend:n=>(setTimeout(()=>{const{$cursor:i}=n.state.selection;i&&ni({editor:e,from:i.pos,to:i.pos,text:"",rules:t,plugin:o})}),!1)},handleKeyDown(n,i){if(i.key!=="Enter")return!1;const{$cursor:a}=n.state.selection;return a?ni({editor:e,from:a.pos,to:a.pos,text:`
21
+ `,rules:t,plugin:o}):!1}},isInputRules:!0});return o}function pb(r){return Object.prototype.toString.call(r).slice(8,-1)}function ii(r){return pb(r)!=="Object"?!1:r.constructor===Object&&Object.getPrototypeOf(r)===Object.prototype}function ai(r,e){const t={...r};return ii(r)&&ii(e)&&Object.keys(e).forEach(o=>{ii(e[o])&&ii(r[o])?t[o]=ai(r[o],e[o]):t[o]=e[o]}),t}class Nt{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=W(D(this,"addOptions",{name:this.name}))),this.storage=W(D(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Nt(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>ai(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new Nt(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=W(D(t,"addOptions",{name:t.name})),t.storage=W(D(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:o}=e.state,n=e.state.selection.$from;if(n.pos===n.end()){const a=n.marks();if(!!!a.find(c=>(c==null?void 0:c.type.name)===t.name))return!1;const d=a.find(c=>(c==null?void 0:c.type.name)===t.name);return d&&o.removeStoredMark(d),o.insertText(" ",n.pos),e.view.dispatch(o),!0}return!1}}function ub(r){return typeof r=="number"}class mb{constructor(e){this.find=e.find,this.handler=e.handler}}const hb=(r,e,t)=>{if(Es(e))return[...r.matchAll(e)];const o=e(r,t);return o?o.map(n=>{const i=[n.text];return i.index=n.index,i.input=r,i.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),i.push(n.replaceWith)),i}):[]};function gb(r){const{editor:e,state:t,from:o,to:n,rule:i,pasteEvent:a,dropEvent:l}=r,{commands:d,chain:c,can:p}=new ti({editor:e,state:t}),u=[];return t.doc.nodesBetween(o,n,(h,g)=>{if(!h.isTextblock||h.type.spec.code)return;const f=Math.max(o,g),b=Math.min(n,g+h.content.size),w=h.textBetween(f-g,b-g,void 0,"");hb(w,i.find,a).forEach(k=>{if(k.index===void 0)return;const y=f+k.index+1,S=y+k[0].length,E={from:t.tr.mapping.map(y),to:t.tr.mapping.map(S)},N=i.handler({state:t,range:E,match:k,commands:d,chain:c,can:p,pasteEvent:a,dropEvent:l});u.push(N)})}),u.every(h=>h!==null)}let si=null;const fb=r=>{var e;const t=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=t.clipboardData)===null||e===void 0||e.setData("text/html",r),t};function bb(r){const{editor:e,rules:t}=r;let o=null,n=!1,i=!1,a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,l;try{l=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{l=null}const d=({state:p,from:u,to:m,rule:h,pasteEvt:g})=>{const f=p.tr,b=ei({state:p,transaction:f});if(!(!gb({editor:e,state:b,from:Math.max(u-1,0),to:m.b-1,rule:h,pasteEvent:g,dropEvent:l})||!f.steps.length)){try{l=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{l=null}return a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,f}};return t.map(p=>new pe({view(u){const m=g=>{var f;o=!((f=u.dom.parentElement)===null||f===void 0)&&f.contains(g.target)?u.dom.parentElement:null,o&&(si=e)},h=()=>{si&&(si=null)};return window.addEventListener("dragstart",m),window.addEventListener("dragend",h),{destroy(){window.removeEventListener("dragstart",m),window.removeEventListener("dragend",h)}}},props:{handleDOMEvents:{drop:(u,m)=>{if(i=o===u.dom.parentElement,l=m,!i){const h=si;h&&setTimeout(()=>{const g=h.state.selection;g&&h.commands.deleteRange({from:g.from,to:g.to})},10)}return!1},paste:(u,m)=>{var h;const g=(h=m.clipboardData)===null||h===void 0?void 0:h.getData("text/html");return a=m,n=!!(g!=null&&g.includes("data-pm-slice")),!1}}},appendTransaction:(u,m,h)=>{const g=u[0],f=g.getMeta("uiEvent")==="paste"&&!n,b=g.getMeta("uiEvent")==="drop"&&!i,w=g.getMeta("applyPasteRules"),C=!!w;if(!f&&!b&&!C)return;if(C){let{text:S}=w;typeof S=="string"?S=S:S=ks(B.from(S),h.schema);const{from:E}=w,N=E+S.length,O=fb(S);return d({rule:p,state:h,from:E,to:{b:N},pasteEvt:O})}const k=m.doc.content.findDiffStart(h.doc.content),y=m.doc.content.findDiffEnd(h.doc.content);if(!(!ub(k)||!y||k===y.b))return d({rule:p,state:h,from:k,to:y,pasteEvt:a})}}))}function yb(r){const e=r.filter((t,o)=>r.indexOf(t)!==o);return Array.from(new Set(e))}class Qr{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=Qr.resolve(e),this.schema=sb(this.extensions,t),this.setupExtensions()}static resolve(e){const t=Qr.sort(Qr.flatten(e)),o=yb(t.map(n=>n.name));return o.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${o.map(n=>`'${n}'`).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map(t=>{const o={name:t.name,options:t.options,storage:t.storage},n=D(t,"addExtensions",o);return n?[t,...this.flatten(n())]:t}).flat(10)}static sort(e){return e.sort((o,n)=>{const i=D(o,"priority")||100,a=D(n,"priority")||100;return i>a?-1:i<a?1:0})}get commands(){return this.extensions.reduce((e,t)=>{const o={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:vs(t.name,this.schema)},n=D(t,"addCommands",o);return n?{...e,...n()}:e},{})}get plugins(){const{editor:e}=this,t=Qr.sort([...this.extensions].reverse()),o=[],n=[],i=t.map(a=>{const l={name:a.name,options:a.options,storage:a.storage,editor:e,type:vs(a.name,this.schema)},d=[],c=D(a,"addKeyboardShortcuts",l);let p={};if(a.type==="mark"&&D(a,"exitable",l)&&(p.ArrowRight=()=>Nt.handleExit({editor:e,mark:a})),c){const f=Object.fromEntries(Object.entries(c()).map(([b,w])=>[b,()=>w({editor:e})]));p={...p,...f}}const u=R0(p);d.push(u);const m=D(a,"addInputRules",l);_p(a,e.options.enableInputRules)&&m&&o.push(...m());const h=D(a,"addPasteRules",l);_p(a,e.options.enablePasteRules)&&h&&n.push(...h());const g=D(a,"addProseMirrorPlugins",l);if(g){const f=g();d.push(...f)}return d}).flat();return[cb({editor:e,rules:o}),...bb({editor:e,rules:n}),...i]}get attributes(){return Dp(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=ri(this.extensions);return Object.fromEntries(t.filter(o=>!!D(o,"addNodeView")).map(o=>{const n=this.attributes.filter(d=>d.type===o.name),i={name:o.name,options:o.options,storage:o.storage,editor:e,type:fe(o.name,this.schema)},a=D(o,"addNodeView",i);if(!a)return[];const l=(d,c,p,u,m)=>{const h=xs(d,n);return a()({node:d,view:c,getPos:p,decorations:u,innerDecorations:m,editor:e,extension:o,HTMLAttributes:h})};return[o.name,l]}))}setupExtensions(){this.extensions.forEach(e=>{var t;this.editor.extensionStorage[e.name]=e.storage;const o={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:vs(e.name,this.schema)};e.type==="mark"&&(!((t=W(D(e,"keepOnSplit",o)))!==null&&t!==void 0)||t)&&this.splittableMarks.push(e.name);const n=D(e,"onBeforeCreate",o),i=D(e,"onCreate",o),a=D(e,"onUpdate",o),l=D(e,"onSelectionUpdate",o),d=D(e,"onTransaction",o),c=D(e,"onFocus",o),p=D(e,"onBlur",o),u=D(e,"onDestroy",o);n&&this.editor.on("beforeCreate",n),i&&this.editor.on("create",i),a&&this.editor.on("update",a),l&&this.editor.on("selectionUpdate",l),d&&this.editor.on("transaction",d),c&&this.editor.on("focus",c),p&&this.editor.on("blur",p),u&&this.editor.on("destroy",u)})}}class Ce{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=W(D(this,"addOptions",{name:this.name}))),this.storage=W(D(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Ce(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>ai(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new Ce({...this.config,...e});return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=W(D(t,"addOptions",{name:t.name})),t.storage=W(D(t,"addStorage",{name:t.name,options:t.options})),t}}function zp(r,e,t){const{from:o,to:n}=e,{blockSeparator:i=`
22
22
 
23
- `,textSerializers:a={}}=t||{};let l="";return r.nodesBetween(o,n,(d,c,p,u)=>{var m;d.isBlock&&c>o&&(l+=i);const h=a==null?void 0:a[d.type.name];if(h)return p&&(l+=h({node:d,pos:c,parent:p,index:u,range:e})),!1;d.isText&&(l+=(m=d==null?void 0:d.text)===null||m===void 0?void 0:m.slice(Math.max(o,c)-c,n-c))}),l}function Es(r){return Object.fromEntries(Object.entries(r.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}const wb=Ce.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new pe({key:new Oe("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:r}=this,{state:e,schema:t}=r,{doc:o,selection:n}=e,{ranges:i}=n,a=Math.min(...i.map(p=>p.$from.pos)),l=Math.max(...i.map(p=>p.$to.pos)),d=Es(t);return zp(o,{from:a,to:l},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:d})}}})]}}),xb=()=>({editor:r,view:e})=>(requestAnimationFrame(()=>{var t;r.isDestroyed||(e.dom.blur(),(t=window==null?void 0:window.getSelection())===null||t===void 0||t.removeAllRanges())}),!0),vb=(r=!1)=>({commands:e})=>e.setContent("",r),kb=()=>({state:r,tr:e,dispatch:t})=>{const{selection:o}=e,{ranges:n}=o;return t&&n.forEach(({$from:i,$to:a})=>{r.doc.nodesBetween(i.pos,a.pos,(l,d)=>{if(l.type.isText)return;const{doc:c,mapping:p}=e,u=c.resolve(p.map(d)),m=c.resolve(p.map(d+l.nodeSize)),h=u.blockRange(m);if(!h)return;const g=_r(h);if(l.type.isTextblock){const{defaultType:f}=u.parent.contentMatchAt(u.index());e.setNodeMarkup(h.start,f)}(g||g===0)&&e.lift(h,g)})}),!0},Eb=r=>e=>r(e),Cb=()=>({state:r,dispatch:e})=>Tp(r,e),Sb=(r,e)=>({editor:t,tr:o})=>{const{state:n}=t,i=n.doc.slice(r.from,r.to);o.deleteRange(r.from,r.to);const a=o.mapping.map(e);return o.insert(a,i.content),o.setSelection(new _(o.doc.resolve(a-1))),!0},Nb=()=>({tr:r,dispatch:e})=>{const{selection:t}=r,o=t.$anchor.node();if(o.content.size>0)return!1;const n=r.selection.$anchor;for(let i=n.depth;i>0;i-=1)if(n.node(i).type===o.type){if(e){const l=n.before(i),d=n.after(i);r.delete(l,d).scrollIntoView()}return!0}return!1},Mb=r=>({tr:e,state:t,dispatch:o})=>{const n=fe(r,t.schema),i=e.selection.$anchor;for(let a=i.depth;a>0;a-=1)if(i.node(a).type===n){if(o){const d=i.before(a),c=i.after(a);e.delete(d,c).scrollIntoView()}return!0}return!1},Bb=r=>({tr:e,dispatch:t})=>{const{from:o,to:n}=r;return t&&e.delete(o,n),!0},Tb=()=>({state:r,dispatch:e})=>hs(r,e),Ob=()=>({commands:r})=>r.keyboardShortcut("Enter"),Vb=()=>({state:r,dispatch:e})=>W0(r,e);function li(r,e,t={strict:!0}){const o=Object.keys(e);return o.length?o.every(n=>t.strict?e[n]===r[n]:ks(e[n])?e[n].test(r[n]):e[n]===r[n]):!0}function Fp(r,e,t={}){return r.find(o=>o.type===e&&li(Object.fromEntries(Object.keys(t).map(n=>[n,o.attrs[n]])),t))}function Hp(r,e,t={}){return!!Fp(r,e,t)}function Cs(r,e,t){var o;if(!r||!e)return;let n=r.parent.childAfter(r.parentOffset);if((!n.node||!n.node.marks.some(p=>p.type===e))&&(n=r.parent.childBefore(r.parentOffset)),!n.node||!n.node.marks.some(p=>p.type===e)||(t=t||((o=n.node.marks[0])===null||o===void 0?void 0:o.attrs),!Fp([...n.node.marks],e,t)))return;let a=n.index,l=r.start()+n.offset,d=a+1,c=l+n.node.nodeSize;for(;a>0&&Hp([...r.parent.child(a-1).marks],e,t);)a-=1,l-=r.parent.child(a).nodeSize;for(;d<r.parent.childCount&&Hp([...r.parent.child(d).marks],e,t);)c+=r.parent.child(d).nodeSize,d+=1;return{from:l,to:c}}function $t(r,e){if(typeof r=="string"){if(!e.marks[r])throw Error(`There is no mark type named '${r}'. Maybe you forgot to add the extension?`);return e.marks[r]}return r}const Pb=(r,e={})=>({tr:t,state:o,dispatch:n})=>{const i=$t(r,o.schema),{doc:a,selection:l}=t,{$from:d,from:c,to:p}=l;if(n){const u=Cs(d,i,e);if(u&&u.from<=c&&u.to>=p){const m=_.create(a,u.from,u.to);t.setSelection(m)}}return!0},Ab=r=>e=>{const t=typeof r=="function"?r(e):r;for(let o=0;o<t.length;o+=1)if(t[o](e))return!0;return!1};function Ss(r){return r instanceof _}function Mt(r=0,e=0,t=0){return Math.min(Math.max(r,e),t)}function jp(r,e=null){if(!e)return null;const t=H.atStart(r),o=H.atEnd(r);if(e==="start"||e===!0)return t;if(e==="end")return o;const n=t.from,i=o.to;return e==="all"?_.create(r,Mt(0,n,i),Mt(r.content.size,n,i)):_.create(r,Mt(e,n,i),Mt(e,n,i))}function Db(){return navigator.platform==="Android"||/android/i.test(navigator.userAgent)}function Ns(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const Ib=(r=null,e={})=>({editor:t,view:o,tr:n,dispatch:i})=>{e={scrollIntoView:!0,...e};const a=()=>{(Ns()||Db())&&o.dom.focus(),requestAnimationFrame(()=>{t.isDestroyed||(o.focus(),e!=null&&e.scrollIntoView&&t.commands.scrollIntoView())})};if(o.hasFocus()&&r===null||r===!1)return!0;if(i&&r===null&&!Ss(t.state.selection))return a(),!0;const l=jp(n.doc,r)||t.state.selection,d=t.state.selection.eq(l);return i&&(d||n.setSelection(l),d&&n.storedMarks&&n.setStoredMarks(n.storedMarks),a()),!0},Lb=(r,e)=>t=>r.every((o,n)=>e(o,{...t,index:n})),Rb=(r,e)=>({tr:t,commands:o})=>o.insertContentAt({from:t.selection.from,to:t.selection.to},r,e),Wp=r=>{const e=r.childNodes;for(let t=e.length-1;t>=0;t-=1){const o=e[t];o.nodeType===3&&o.nodeValue&&/^(\n\s\s|\n)$/.test(o.nodeValue)?r.removeChild(o):o.nodeType===1&&Wp(o)}return r};function di(r){const e=`<body>${r}</body>`,t=new window.DOMParser().parseFromString(e,"text/html").body;return Wp(t)}function zo(r,e,t){if(r instanceof Ft||r instanceof B)return r;t={slice:!0,parseOptions:{},...t};const o=typeof r=="object"&&r!==null,n=typeof r=="string";if(o)try{if(Array.isArray(r)&&r.length>0)return B.fromArray(r.map(l=>e.nodeFromJSON(l)));const a=e.nodeFromJSON(r);return t.errorOnInvalidContent&&a.check(),a}catch(i){if(t.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:i});return console.warn("[tiptap warn]: Invalid content.","Passed value:",r,"Error:",i),zo("",e,t)}if(n){if(t.errorOnInvalidContent){let a=!1,l="";const d=new Md({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:c=>(a=!0,l=typeof c=="string"?c:c.outerHTML,null)}]}})});if(t.slice?ko.fromSchema(d).parseSlice(di(r),t.parseOptions):ko.fromSchema(d).parse(di(r),t.parseOptions),t.errorOnInvalidContent&&a)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${l}`)})}const i=ko.fromSchema(e);return t.slice?i.parseSlice(di(r),t.parseOptions).content:i.parse(di(r),t.parseOptions)}return zo("",e,t)}function _b(r,e,t){const o=r.steps.length-1;if(o<e)return;const n=r.steps[o];if(!(n instanceof he||n instanceof ge))return;const i=r.mapping.maps[o];let a=0;i.forEach((l,d,c,p)=>{a===0&&(a=p)}),r.setSelection(H.near(r.doc.resolve(a),t))}const zb=r=>!("type"in r),Fb=(r,e,t)=>({tr:o,dispatch:n,editor:i})=>{var a;if(n){t={parseOptions:i.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...t};let l;const d=b=>{i.emit("contentError",{editor:i,error:b,disableCollaboration:()=>{i.storage.collaboration&&(i.storage.collaboration.isDisabled=!0)}})},c={preserveWhitespace:"full",...t.parseOptions};if(!t.errorOnInvalidContent&&!i.options.enableContentCheck&&i.options.emitContentError)try{zo(e,i.schema,{parseOptions:c,errorOnInvalidContent:!0})}catch(b){d(b)}try{l=zo(e,i.schema,{parseOptions:c,errorOnInvalidContent:(a=t.errorOnInvalidContent)!==null&&a!==void 0?a:i.options.enableContentCheck})}catch(b){return d(b),!1}let{from:p,to:u}=typeof r=="number"?{from:r,to:r}:{from:r.from,to:r.to},m=!0,h=!0;if((zb(l)?l:[l]).forEach(b=>{b.check(),m=m?b.isText&&b.marks.length===0:!1,h=h?b.isBlock:!1}),p===u&&h){const{parent:b}=o.doc.resolve(p);b.isTextblock&&!b.type.spec.code&&!b.childCount&&(p-=1,u+=1)}let f;if(m){if(Array.isArray(e))f=e.map(b=>b.text||"").join("");else if(e instanceof B){let b="";e.forEach(w=>{w.text&&(b+=w.text)}),f=b}else typeof e=="object"&&e&&e.text?f=e.text:f=e;o.insertText(f,p,u)}else f=l,o.replaceWith(p,u,f);t.updateSelection&&_b(o,o.steps.length-1,-1),t.applyInputRules&&o.setMeta("applyInputRules",{from:p,text:f}),t.applyPasteRules&&o.setMeta("applyPasteRules",{from:p,text:f})}return!0},Hb=()=>({state:r,dispatch:e})=>F0(r,e),jb=()=>({state:r,dispatch:e})=>H0(r,e),Wb=()=>({state:r,dispatch:e})=>kp(r,e),qb=()=>({state:r,dispatch:e})=>Np(r,e),Ub=()=>({state:r,dispatch:e,tr:t})=>{try{const o=Hn(r.doc,r.selection.$from.pos,-1);return o==null?!1:(t.join(o,2),e&&e(t),!0)}catch{return!1}},Kb=()=>({state:r,dispatch:e,tr:t})=>{try{const o=Hn(r.doc,r.selection.$from.pos,1);return o==null?!1:(t.join(o,2),e&&e(t),!0)}catch{return!1}},Gb=()=>({state:r,dispatch:e})=>_0(r,e),Jb=()=>({state:r,dispatch:e})=>z0(r,e);function qp(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function Yb(r){const e=r.split(/-(?!$)/);let t=e[e.length-1];t==="Space"&&(t=" ");let o,n,i,a;for(let l=0;l<e.length-1;l+=1){const d=e[l];if(/^(cmd|meta|m)$/i.test(d))a=!0;else if(/^a(lt)?$/i.test(d))o=!0;else if(/^(c|ctrl|control)$/i.test(d))n=!0;else if(/^s(hift)?$/i.test(d))i=!0;else if(/^mod$/i.test(d))Ns()||qp()?a=!0:n=!0;else throw new Error(`Unrecognized modifier name: ${d}`)}return o&&(t=`Alt-${t}`),n&&(t=`Ctrl-${t}`),a&&(t=`Meta-${t}`),i&&(t=`Shift-${t}`),t}const Qb=r=>({editor:e,view:t,tr:o,dispatch:n})=>{const i=Yb(r).split(/-(?!$)/),a=i.find(c=>!["Alt","Ctrl","Meta","Shift"].includes(c)),l=new KeyboardEvent("keydown",{key:a==="Space"?" ":a,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),d=e.captureTransaction(()=>{t.someProp("handleKeyDown",c=>c(t,l))});return d==null||d.steps.forEach(c=>{const p=c.map(o.mapping);p&&n&&o.maybeStep(p)}),!0};function Fo(r,e,t={}){const{from:o,to:n,empty:i}=r.selection,a=e?fe(e,r.schema):null,l=[];r.doc.nodesBetween(o,n,(u,m)=>{if(u.isText)return;const h=Math.max(o,m),g=Math.min(n,m+u.nodeSize);l.push({node:u,from:h,to:g})});const d=n-o,c=l.filter(u=>a?a.name===u.node.type.name:!0).filter(u=>li(u.node.attrs,t,{strict:!1}));return i?!!c.length:c.reduce((u,m)=>u+m.to-m.from,0)>=d}const Xb=(r,e={})=>({state:t,dispatch:o})=>{const n=fe(r,t.schema);return Fo(t,n,e)?j0(t,o):!1},Zb=()=>({state:r,dispatch:e})=>Op(r,e),$b=r=>({state:e,dispatch:t})=>{const o=fe(r,e.schema);return eb(o)(e,t)},ey=()=>({state:r,dispatch:e})=>Bp(r,e);function ci(r,e){return e.nodes[r]?"node":e.marks[r]?"mark":null}function Up(r,e){const t=typeof e=="string"?[e]:e;return Object.keys(r).reduce((o,n)=>(t.includes(n)||(o[n]=r[n]),o),{})}const ty=(r,e)=>({tr:t,state:o,dispatch:n})=>{let i=null,a=null;const l=ci(typeof r=="string"?r:r.name,o.schema);return l?(l==="node"&&(i=fe(r,o.schema)),l==="mark"&&(a=$t(r,o.schema)),n&&t.selection.ranges.forEach(d=>{o.doc.nodesBetween(d.$from.pos,d.$to.pos,(c,p)=>{i&&i===c.type&&t.setNodeMarkup(p,void 0,Up(c.attrs,e)),a&&c.marks.length&&c.marks.forEach(u=>{a===u.type&&t.addMark(p,p+c.nodeSize,a.create(Up(u.attrs,e)))})})}),!0):!1},ry=()=>({tr:r,dispatch:e})=>(e&&r.scrollIntoView(),!0),oy=()=>({tr:r,dispatch:e})=>{if(e){const t=new He(r.doc);r.setSelection(t)}return!0},ny=()=>({state:r,dispatch:e})=>Cp(r,e),iy=()=>({state:r,dispatch:e})=>Mp(r,e),ay=()=>({state:r,dispatch:e})=>K0(r,e),sy=()=>({state:r,dispatch:e})=>Y0(r,e),ly=()=>({state:r,dispatch:e})=>J0(r,e);function Ms(r,e,t={},o={}){return zo(r,e,{slice:!1,parseOptions:t,errorOnInvalidContent:o.errorOnInvalidContent})}const dy=(r,e=!1,t={},o={})=>({editor:n,tr:i,dispatch:a,commands:l})=>{var d,c;const{doc:p}=i;if(t.preserveWhitespace!=="full"){const u=Ms(r,n.schema,t,{errorOnInvalidContent:(d=o.errorOnInvalidContent)!==null&&d!==void 0?d:n.options.enableContentCheck});return a&&i.replaceWith(0,p.content.size,u).setMeta("preventUpdate",!e),!0}return a&&i.setMeta("preventUpdate",!e),l.insertContentAt({from:0,to:p.content.size},r,{parseOptions:t,errorOnInvalidContent:(c=o.errorOnInvalidContent)!==null&&c!==void 0?c:n.options.enableContentCheck})};function Kp(r,e){const t=$t(e,r.schema),{from:o,to:n,empty:i}=r.selection,a=[];i?(r.storedMarks&&a.push(...r.storedMarks),a.push(...r.selection.$head.marks())):r.doc.nodesBetween(o,n,d=>{a.push(...d.marks)});const l=a.find(d=>d.type.name===t.name);return l?{...l.attrs}:{}}function cy(r,e){const t=new Zd(r);return e.forEach(o=>{o.steps.forEach(n=>{t.step(n)})}),t}function py(r){for(let e=0;e<r.edgeCount;e+=1){const{type:t}=r.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}function uy(r,e,t){const o=[];return r.nodesBetween(e.from,e.to,(n,i)=>{t(n)&&o.push({node:n,pos:i})}),o}function my(r,e){for(let t=r.depth;t>0;t-=1){const o=r.node(t);if(e(o))return{pos:t>0?r.before(t):0,start:r.start(t),depth:t,node:o}}}function Bs(r){return e=>my(e.$from,r)}function Gp(r,e){const t={from:0,to:r.content.size};return zp(r,t,e)}function hy(r,e){const t=fe(e,r.schema),{from:o,to:n}=r.selection,i=[];r.doc.nodesBetween(o,n,l=>{i.push(l)});const a=i.reverse().find(l=>l.type.name===t.name);return a?{...a.attrs}:{}}function Jp(r,e){const t=ci(typeof e=="string"?e:e.name,r.schema);return t==="node"?hy(r,e):t==="mark"?Kp(r,e):{}}function gy(r,e=JSON.stringify){const t={};return r.filter(o=>{const n=e(o);return Object.prototype.hasOwnProperty.call(t,n)?!1:t[n]=!0})}function fy(r){const e=gy(r);return e.length===1?e:e.filter((t,o)=>!e.filter((i,a)=>a!==o).some(i=>t.oldRange.from>=i.oldRange.from&&t.oldRange.to<=i.oldRange.to&&t.newRange.from>=i.newRange.from&&t.newRange.to<=i.newRange.to))}function by(r){const{mapping:e,steps:t}=r,o=[];return e.maps.forEach((n,i)=>{const a=[];if(n.ranges.length)n.forEach((l,d)=>{a.push({from:l,to:d})});else{const{from:l,to:d}=t[i];if(l===void 0||d===void 0)return;a.push({from:l,to:d})}a.forEach(({from:l,to:d})=>{const c=e.slice(i).map(l,-1),p=e.slice(i).map(d),u=e.invert().map(c,-1),m=e.invert().map(p);o.push({oldRange:{from:u,to:m},newRange:{from:c,to:p}})})}),fy(o)}function Ts(r,e,t){const o=[];return r===e?t.resolve(r).marks().forEach(n=>{const i=t.resolve(r),a=Cs(i,n.type);a&&o.push({mark:n,...a})}):t.nodesBetween(r,e,(n,i)=>{!n||(n==null?void 0:n.nodeSize)===void 0||o.push(...n.marks.map(a=>({from:i,to:i+n.nodeSize,mark:a})))}),o}function pi(r,e,t){return Object.fromEntries(Object.entries(t).filter(([o])=>{const n=r.find(i=>i.type===e&&i.name===o);return n?n.attribute.keepOnSplit:!1}))}function Os(r,e,t={}){const{empty:o,ranges:n}=r.selection,i=e?$t(e,r.schema):null;if(o)return!!(r.storedMarks||r.selection.$from.marks()).filter(u=>i?i.name===u.type.name:!0).find(u=>li(u.attrs,t,{strict:!1}));let a=0;const l=[];if(n.forEach(({$from:u,$to:m})=>{const h=u.pos,g=m.pos;r.doc.nodesBetween(h,g,(f,b)=>{if(!f.isText&&!f.marks.length)return;const w=Math.max(h,b),C=Math.min(g,b+f.nodeSize),k=C-w;a+=k,l.push(...f.marks.map(y=>({mark:y,from:w,to:C})))})}),a===0)return!1;const d=l.filter(u=>i?i.name===u.mark.type.name:!0).filter(u=>li(u.mark.attrs,t,{strict:!1})).reduce((u,m)=>u+m.to-m.from,0),c=l.filter(u=>i?u.mark.type!==i&&u.mark.type.excludes(i):!0).reduce((u,m)=>u+m.to-m.from,0);return(d>0?d+c:d)>=a}function yy(r,e,t={}){if(!e)return Fo(r,null,t)||Os(r,null,t);const o=ci(e,r.schema);return o==="node"?Fo(r,e,t):o==="mark"?Os(r,e,t):!1}function Yp(r,e){const{nodeExtensions:t}=ri(e),o=t.find(a=>a.name===r);if(!o)return!1;const n={name:o.name,options:o.options,storage:o.storage},i=W(D(o,"group",n));return typeof i!="string"?!1:i.split(" ").includes("list")}function Vs(r,{checkChildren:e=!0,ignoreWhitespace:t=!1}={}){var o;if(t){if(r.type.name==="hardBreak")return!0;if(r.isText)return/^\s*$/m.test((o=r.text)!==null&&o!==void 0?o:"")}if(r.isText)return!r.text;if(r.isAtom||r.isLeaf)return!1;if(r.content.childCount===0)return!0;if(e){let n=!0;return r.content.forEach(i=>{n!==!1&&(Vs(i,{ignoreWhitespace:t,checkChildren:e})||(n=!1))}),n}return!1}function Qp(r){return r instanceof L}function Xp(r,e,t){const n=r.state.doc.content.size,i=Mt(e,0,n),a=Mt(t,0,n),l=r.coordsAtPos(i),d=r.coordsAtPos(a,-1),c=Math.min(l.top,d.top),p=Math.max(l.bottom,d.bottom),u=Math.min(l.left,d.left),m=Math.max(l.right,d.right),h=m-u,g=p-c,w={top:c,bottom:p,left:u,right:m,width:h,height:g,x:u,y:c};return{...w,toJSON:()=>w}}function wy(r,e,t){var o;const{selection:n}=e;let i=null;if(Ss(n)&&(i=n.$cursor),i){const l=(o=r.storedMarks)!==null&&o!==void 0?o:i.marks();return!!t.isInSet(l)||!l.some(d=>d.type.excludes(t))}const{ranges:a}=n;return a.some(({$from:l,$to:d})=>{let c=l.depth===0?r.doc.inlineContent&&r.doc.type.allowsMarkType(t):!1;return r.doc.nodesBetween(l.pos,d.pos,(p,u,m)=>{if(c)return!1;if(p.isInline){const h=!m||m.type.allowsMarkType(t),g=!!t.isInSet(p.marks)||!p.marks.some(f=>f.type.excludes(t));c=h&&g}return!c}),c})}const xy=(r,e={})=>({tr:t,state:o,dispatch:n})=>{const{selection:i}=t,{empty:a,ranges:l}=i,d=$t(r,o.schema);if(n)if(a){const c=Kp(o,d);t.addStoredMark(d.create({...c,...e}))}else l.forEach(c=>{const p=c.$from.pos,u=c.$to.pos;o.doc.nodesBetween(p,u,(m,h)=>{const g=Math.max(h,p),f=Math.min(h+m.nodeSize,u);m.marks.find(w=>w.type===d)?m.marks.forEach(w=>{d===w.type&&t.addMark(g,f,d.create({...w.attrs,...e}))}):t.addMark(g,f,d.create(e))})});return wy(o,t,d)},vy=(r,e)=>({tr:t})=>(t.setMeta(r,e),!0),ky=(r,e={})=>({state:t,dispatch:o,chain:n})=>{const i=fe(r,t.schema);let a;return t.selection.$anchor.sameParent(t.selection.$head)&&(a=t.selection.$anchor.parent.attrs),i.isTextblock?n().command(({commands:l})=>Ap(i,{...a,...e})(t)?!0:l.clearNodes()).command(({state:l})=>Ap(i,{...a,...e})(l,o)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},Ey=r=>({tr:e,dispatch:t})=>{if(t){const{doc:o}=e,n=Mt(r,0,o.content.size),i=L.create(o,n);e.setSelection(i)}return!0},Cy=r=>({tr:e,dispatch:t})=>{if(t){const{doc:o}=e,{from:n,to:i}=typeof r=="number"?{from:r,to:r}:r,a=_.atStart(o).from,l=_.atEnd(o).to,d=Mt(n,a,l),c=Mt(i,a,l),p=_.create(o,d,c);e.setSelection(p)}return!0},Sy=r=>({state:e,dispatch:t})=>{const o=fe(r,e.schema);return ob(o)(e,t)};function Zp(r,e){const t=r.storedMarks||r.selection.$to.parentOffset&&r.selection.$from.marks();if(t){const o=t.filter(n=>e==null?void 0:e.includes(n.type.name));r.tr.ensureMarks(o)}}const Ny=({keepMarks:r=!0}={})=>({tr:e,state:t,dispatch:o,editor:n})=>{const{selection:i,doc:a}=e,{$from:l,$to:d}=i,c=n.extensionManager.attributes,p=pi(c,l.node().type.name,l.node().attrs);if(i instanceof L&&i.node.isBlock)return!l.parentOffset||!vt(a,l.pos)?!1:(o&&(r&&Zp(t,n.extensionManager.splittableMarks),e.split(l.pos).scrollIntoView()),!0);if(!l.parent.isBlock)return!1;const u=d.parentOffset===d.parent.content.size,m=l.depth===0?void 0:py(l.node(-1).contentMatchAt(l.indexAfter(-1)));let h=u&&m?[{type:m,attrs:p}]:void 0,g=vt(e.doc,e.mapping.map(l.pos),1,h);if(!h&&!g&&vt(e.doc,e.mapping.map(l.pos),1,m?[{type:m}]:void 0)&&(g=!0,h=m?[{type:m,attrs:p}]:void 0),o){if(g&&(i instanceof _&&e.deleteSelection(),e.split(e.mapping.map(l.pos),1,h),m&&!u&&!l.parentOffset&&l.parent.type!==m)){const f=e.mapping.map(l.before()),b=e.doc.resolve(f);l.node(-1).canReplaceWith(b.index(),b.index()+1,m)&&e.setNodeMarkup(e.mapping.map(l.before()),m)}r&&Zp(t,n.extensionManager.splittableMarks),e.scrollIntoView()}return g},My=(r,e={})=>({tr:t,state:o,dispatch:n,editor:i})=>{var a;const l=fe(r,o.schema),{$from:d,$to:c}=o.selection,p=o.selection.node;if(p&&p.isBlock||d.depth<2||!d.sameParent(c))return!1;const u=d.node(-1);if(u.type!==l)return!1;const m=i.extensionManager.attributes;if(d.parent.content.size===0&&d.node(-1).childCount===d.indexAfter(-1)){if(d.depth===2||d.node(-3).type!==l||d.index(-2)!==d.node(-2).childCount-1)return!1;if(n){let w=B.empty;const C=d.index(-1)?1:d.index(-2)?2:3;for(let O=d.depth-C;O>=d.depth-3;O-=1)w=B.from(d.node(O).copy(w));const k=d.indexAfter(-1)<d.node(-2).childCount?1:d.indexAfter(-2)<d.node(-3).childCount?2:3,y={...pi(m,d.node().type.name,d.node().attrs),...e},S=((a=l.contentMatch.defaultType)===null||a===void 0?void 0:a.createAndFill(y))||void 0;w=w.append(B.from(l.createAndFill(null,S)||void 0));const E=d.before(d.depth-(C-1));t.replace(E,d.after(-k),new P(w,4-C,0));let N=-1;t.doc.nodesBetween(E,t.doc.content.size,(O,A)=>{if(N>-1)return!1;O.isTextblock&&O.content.size===0&&(N=A+1)}),N>-1&&t.setSelection(_.near(t.doc.resolve(N))),t.scrollIntoView()}return!0}const h=c.pos===d.end()?u.contentMatchAt(0).defaultType:null,g={...pi(m,u.type.name,u.attrs),...e},f={...pi(m,d.node().type.name,d.node().attrs),...e};t.delete(d.pos,c.pos);const b=h?[{type:l,attrs:g},{type:h,attrs:f}]:[{type:l,attrs:g}];if(!vt(t.doc,d.pos,2))return!1;if(n){const{selection:w,storedMarks:C}=o,{splittableMarks:k}=i.extensionManager,y=C||w.$to.parentOffset&&w.$from.marks();if(t.split(d.pos,2,b).scrollIntoView(),!y||!n)return!0;const S=y.filter(E=>k.includes(E.type.name));t.ensureMarks(S)}return!0},Ps=(r,e)=>{const t=Bs(a=>a.type===e)(r.selection);if(!t)return!0;const o=r.doc.resolve(Math.max(0,t.pos-1)).before(t.depth);if(o===void 0)return!0;const n=r.doc.nodeAt(o);return t.node.type===(n==null?void 0:n.type)&&Wt(r.doc,t.pos)&&r.join(t.pos),!0},As=(r,e)=>{const t=Bs(a=>a.type===e)(r.selection);if(!t)return!0;const o=r.doc.resolve(t.start).after(t.depth);if(o===void 0)return!0;const n=r.doc.nodeAt(o);return t.node.type===(n==null?void 0:n.type)&&Wt(r.doc,o)&&r.join(o),!0};var By=Object.freeze({__proto__:null,blur:xb,clearContent:vb,clearNodes:kb,command:Eb,createParagraphNear:Cb,cut:Sb,deleteCurrentNode:Nb,deleteNode:Mb,deleteRange:Bb,deleteSelection:Tb,enter:Ob,exitCode:Vb,extendMarkRange:Pb,first:Ab,focus:Ib,forEach:Lb,insertContent:Rb,insertContentAt:Fb,joinBackward:Wb,joinDown:jb,joinForward:qb,joinItemBackward:Ub,joinItemForward:Kb,joinTextblockBackward:Gb,joinTextblockForward:Jb,joinUp:Hb,keyboardShortcut:Qb,lift:Xb,liftEmptyBlock:Zb,liftListItem:$b,newlineInCode:ey,resetAttributes:ty,scrollIntoView:ry,selectAll:oy,selectNodeBackward:ny,selectNodeForward:iy,selectParentNode:ay,selectTextblockEnd:sy,selectTextblockStart:ly,setContent:dy,setMark:xy,setMeta:vy,setNode:ky,setNodeSelection:Ey,setTextSelection:Cy,sinkListItem:Sy,splitBlock:Ny,splitListItem:My,toggleList:(r,e,t,o={})=>({editor:n,tr:i,state:a,dispatch:l,chain:d,commands:c,can:p})=>{const{extensions:u,splittableMarks:m}=n.extensionManager,h=fe(r,a.schema),g=fe(e,a.schema),{selection:f,storedMarks:b}=a,{$from:w,$to:C}=f,k=w.blockRange(C),y=b||f.$to.parentOffset&&f.$from.marks();if(!k)return!1;const S=Bs(E=>Yp(E.type.name,u))(f);if(k.depth>=1&&S&&k.depth-S.depth<=1){if(S.node.type===h)return c.liftListItem(g);if(Yp(S.node.type.name,u)&&h.validContent(S.node.content)&&l)return d().command(()=>(i.setNodeMarkup(S.pos,h),!0)).command(()=>Ps(i,h)).command(()=>As(i,h)).run()}return!t||!y||!l?d().command(()=>p().wrapInList(h,o)?!0:c.clearNodes()).wrapInList(h,o).command(()=>Ps(i,h)).command(()=>As(i,h)).run():d().command(()=>{const E=p().wrapInList(h,o),N=y.filter(O=>m.includes(O.type.name));return i.ensureMarks(N),E?!0:c.clearNodes()}).wrapInList(h,o).command(()=>Ps(i,h)).command(()=>As(i,h)).run()},toggleMark:(r,e={},t={})=>({state:o,commands:n})=>{const{extendEmptyMarkRange:i=!1}=t,a=$t(r,o.schema);return Os(o,a,e)?n.unsetMark(a,{extendEmptyMarkRange:i}):n.setMark(a,e)},toggleNode:(r,e,t={})=>({state:o,commands:n})=>{const i=fe(r,o.schema),a=fe(e,o.schema),l=Fo(o,i,t);let d;return o.selection.$anchor.sameParent(o.selection.$head)&&(d=o.selection.$anchor.parent.attrs),l?n.setNode(a,d):n.setNode(i,{...d,...t})},toggleWrap:(r,e={})=>({state:t,commands:o})=>{const n=fe(r,t.schema);return Fo(t,n,e)?o.lift(n):o.wrapIn(n,e)},undoInputRule:()=>({state:r,dispatch:e})=>{const t=r.plugins;for(let o=0;o<t.length;o+=1){const n=t[o];let i;if(n.spec.isInputRules&&(i=n.getState(r))){if(e){const a=r.tr,l=i.transform;for(let d=l.steps.length-1;d>=0;d-=1)a.step(l.steps[d].invert(l.docs[d]));if(i.text){const d=a.doc.resolve(i.from).marks();a.replaceWith(i.from,i.to,r.schema.text(i.text,d))}else a.delete(i.from,i.to)}return!0}}return!1},unsetAllMarks:()=>({tr:r,dispatch:e})=>{const{selection:t}=r,{empty:o,ranges:n}=t;return o||e&&n.forEach(i=>{r.removeMark(i.$from.pos,i.$to.pos)}),!0},unsetMark:(r,e={})=>({tr:t,state:o,dispatch:n})=>{var i;const{extendEmptyMarkRange:a=!1}=e,{selection:l}=t,d=$t(r,o.schema),{$from:c,empty:p,ranges:u}=l;if(!n)return!0;if(p&&a){let{from:m,to:h}=l;const g=(i=c.marks().find(b=>b.type===d))===null||i===void 0?void 0:i.attrs,f=Cs(c,d,g);f&&(m=f.from,h=f.to),t.removeMark(m,h,d)}else u.forEach(m=>{t.removeMark(m.$from.pos,m.$to.pos,d)});return t.removeStoredMark(d),!0},updateAttributes:(r,e={})=>({tr:t,state:o,dispatch:n})=>{let i=null,a=null;const l=ci(typeof r=="string"?r:r.name,o.schema);return l?(l==="node"&&(i=fe(r,o.schema)),l==="mark"&&(a=$t(r,o.schema)),n&&t.selection.ranges.forEach(d=>{const c=d.$from.pos,p=d.$to.pos;let u,m,h,g;t.selection.empty?o.doc.nodesBetween(c,p,(f,b)=>{i&&i===f.type&&(h=Math.max(b,c),g=Math.min(b+f.nodeSize,p),u=b,m=f)}):o.doc.nodesBetween(c,p,(f,b)=>{b<c&&i&&i===f.type&&(h=Math.max(b,c),g=Math.min(b+f.nodeSize,p),u=b,m=f),b>=c&&b<=p&&(i&&i===f.type&&t.setNodeMarkup(b,void 0,{...f.attrs,...e}),a&&f.marks.length&&f.marks.forEach(w=>{if(a===w.type){const C=Math.max(b,c),k=Math.min(b+f.nodeSize,p);t.addMark(C,k,a.create({...w.attrs,...e}))}}))}),m&&(u!==void 0&&t.setNodeMarkup(u,void 0,{...m.attrs,...e}),a&&m.marks.length&&m.marks.forEach(f=>{a===f.type&&t.addMark(h,g,a.create({...f.attrs,...e}))}))}),!0):!1},wrapIn:(r,e={})=>({state:t,dispatch:o})=>{const n=fe(r,t.schema);return Q0(n,e)(t,o)},wrapInList:(r,e={})=>({state:t,dispatch:o})=>{const n=fe(r,t.schema);return X0(n,e)(t,o)}});const Ty=Ce.create({name:"commands",addCommands(){return{...By}}}),Oy=Ce.create({name:"drop",addProseMirrorPlugins(){return[new pe({key:new Oe("tiptapDrop"),props:{handleDrop:(r,e,t,o)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:t,moved:o})}}})]}}),Vy=Ce.create({name:"editable",addProseMirrorPlugins(){return[new pe({key:new Oe("editable"),props:{editable:()=>this.editor.options.editable}})]}}),Py=new Oe("focusEvents"),Ay=Ce.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:r}=this;return[new pe({key:Py,props:{handleDOMEvents:{focus:(e,t)=>{r.isFocused=!0;const o=r.state.tr.setMeta("focus",{event:t}).setMeta("addToHistory",!1);return e.dispatch(o),!1},blur:(e,t)=>{r.isFocused=!1;const o=r.state.tr.setMeta("blur",{event:t}).setMeta("addToHistory",!1);return e.dispatch(o),!1}}}})]}}),Dy=Ce.create({name:"keymap",addKeyboardShortcuts(){const r=()=>this.editor.commands.first(({commands:a})=>[()=>a.undoInputRule(),()=>a.command(({tr:l})=>{const{selection:d,doc:c}=l,{empty:p,$anchor:u}=d,{pos:m,parent:h}=u,g=u.parent.isTextblock&&m>0?l.doc.resolve(m-1):u,f=g.parent.type.spec.isolating,b=u.pos-u.parentOffset,w=f&&g.parent.childCount===1?b===u.pos:H.atStart(c).from===m;return!p||!h.type.isTextblock||h.textContent.length||!w||w&&u.parent.type.name==="paragraph"?!1:a.clearNodes()}),()=>a.deleteSelection(),()=>a.joinBackward(),()=>a.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:a})=>[()=>a.deleteSelection(),()=>a.deleteCurrentNode(),()=>a.joinForward(),()=>a.selectNodeForward()]),o={Enter:()=>this.editor.commands.first(({commands:a})=>[()=>a.newlineInCode(),()=>a.createParagraphNear(),()=>a.liftEmptyBlock(),()=>a.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:r,"Mod-Backspace":r,"Shift-Backspace":r,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},n={...o},i={...o,"Ctrl-h":r,"Alt-Backspace":r,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Ns()||qp()?i:n},addProseMirrorPlugins(){return[new pe({key:new Oe("clearDocument"),appendTransaction:(r,e,t)=>{if(r.some(f=>f.getMeta("composition")))return;const o=r.some(f=>f.docChanged)&&!e.doc.eq(t.doc),n=r.some(f=>f.getMeta("preventClearDocument"));if(!o||n)return;const{empty:i,from:a,to:l}=e.selection,d=H.atStart(e.doc).from,c=H.atEnd(e.doc).to;if(i||!(a===d&&l===c)||!Vs(t.doc))return;const m=t.tr,h=ei({state:t,transaction:m}),{commands:g}=new ti({editor:this.editor,state:h});if(g.clearNodes(),!!m.steps.length)return m}})]}}),Iy=Ce.create({name:"paste",addProseMirrorPlugins(){return[new pe({key:new Oe("tiptapPaste"),props:{handlePaste:(r,e,t)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:t})}}})]}}),Ly=Ce.create({name:"tabindex",addProseMirrorPlugins(){return[new pe({key:new Oe("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class vr{get name(){return this.node.type.name}constructor(e,t,o=!1,n=null){this.currentNode=null,this.actualDepth=null,this.isBlock=o,this.resolvedPos=e,this.editor=t,this.currentNode=n}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!==null&&e!==void 0?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,o=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}t=this.from+1,o=this.to-1}this.editor.commands.insertContentAt({from:t,to:o},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),t=this.resolvedPos.doc.resolve(e);return new vr(t,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new vr(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new vr(e,this.editor)}get children(){const e=[];return this.node.content.forEach((t,o)=>{const n=t.isBlock&&!t.isTextblock,i=t.isAtom&&!t.isText,a=this.pos+o+(i?0:1),l=this.resolvedPos.doc.resolve(a);if(!n&&l.depth<=this.depth)return;const d=new vr(l,this.editor,n,n?t:null);n&&(d.actualDepth=this.depth+1),e.push(new vr(l,this.editor,n,n?t:null))}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,t={}){let o=null,n=this.parent;for(;n&&!o;){if(n.node.type.name===e)if(Object.keys(t).length>0){const i=n.node.attrs,a=Object.keys(t);for(let l=0;l<a.length;l+=1){const d=a[l];if(i[d]!==t[d])break}}else o=n;n=n.parent}return o}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},o=!1){let n=[];if(!this.children||this.children.length===0)return n;const i=Object.keys(t);return this.children.forEach(a=>{o&&n.length>0||(a.node.type.name===e&&i.every(d=>t[d]===a.node.attrs[d])&&n.push(a),!(o&&n.length>0)&&(n=n.concat(a.querySelectorAll(e,t,o))))}),n}setAttribute(e){const{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}}const Ry=`.ProseMirror {
23
+ `,textSerializers:a={}}=t||{};let l="";return r.nodesBetween(o,n,(d,c,p,u)=>{var m;d.isBlock&&c>o&&(l+=i);const h=a==null?void 0:a[d.type.name];if(h)return p&&(l+=h({node:d,pos:c,parent:p,index:u,range:e})),!1;d.isText&&(l+=(m=d==null?void 0:d.text)===null||m===void 0?void 0:m.slice(Math.max(o,c)-c,n-c))}),l}function Cs(r){return Object.fromEntries(Object.entries(r.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}const wb=Ce.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new pe({key:new Oe("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:r}=this,{state:e,schema:t}=r,{doc:o,selection:n}=e,{ranges:i}=n,a=Math.min(...i.map(p=>p.$from.pos)),l=Math.max(...i.map(p=>p.$to.pos)),d=Cs(t);return zp(o,{from:a,to:l},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:d})}}})]}}),xb=()=>({editor:r,view:e})=>(requestAnimationFrame(()=>{var t;r.isDestroyed||(e.dom.blur(),(t=window==null?void 0:window.getSelection())===null||t===void 0||t.removeAllRanges())}),!0),vb=(r=!1)=>({commands:e})=>e.setContent("",r),kb=()=>({state:r,tr:e,dispatch:t})=>{const{selection:o}=e,{ranges:n}=o;return t&&n.forEach(({$from:i,$to:a})=>{r.doc.nodesBetween(i.pos,a.pos,(l,d)=>{if(l.type.isText)return;const{doc:c,mapping:p}=e,u=c.resolve(p.map(d)),m=c.resolve(p.map(d+l.nodeSize)),h=u.blockRange(m);if(!h)return;const g=_r(h);if(l.type.isTextblock){const{defaultType:f}=u.parent.contentMatchAt(u.index());e.setNodeMarkup(h.start,f)}(g||g===0)&&e.lift(h,g)})}),!0},Eb=r=>e=>r(e),Cb=()=>({state:r,dispatch:e})=>Tp(r,e),Sb=(r,e)=>({editor:t,tr:o})=>{const{state:n}=t,i=n.doc.slice(r.from,r.to);o.deleteRange(r.from,r.to);const a=o.mapping.map(e);return o.insert(a,i.content),o.setSelection(new _(o.doc.resolve(a-1))),!0},Nb=()=>({tr:r,dispatch:e})=>{const{selection:t}=r,o=t.$anchor.node();if(o.content.size>0)return!1;const n=r.selection.$anchor;for(let i=n.depth;i>0;i-=1)if(n.node(i).type===o.type){if(e){const l=n.before(i),d=n.after(i);r.delete(l,d).scrollIntoView()}return!0}return!1},Mb=r=>({tr:e,state:t,dispatch:o})=>{const n=fe(r,t.schema),i=e.selection.$anchor;for(let a=i.depth;a>0;a-=1)if(i.node(a).type===n){if(o){const d=i.before(a),c=i.after(a);e.delete(d,c).scrollIntoView()}return!0}return!1},Bb=r=>({tr:e,dispatch:t})=>{const{from:o,to:n}=r;return t&&e.delete(o,n),!0},Tb=()=>({state:r,dispatch:e})=>gs(r,e),Ob=()=>({commands:r})=>r.keyboardShortcut("Enter"),Vb=()=>({state:r,dispatch:e})=>W0(r,e);function li(r,e,t={strict:!0}){const o=Object.keys(e);return o.length?o.every(n=>t.strict?e[n]===r[n]:Es(e[n])?e[n].test(r[n]):e[n]===r[n]):!0}function Fp(r,e,t={}){return r.find(o=>o.type===e&&li(Object.fromEntries(Object.keys(t).map(n=>[n,o.attrs[n]])),t))}function Hp(r,e,t={}){return!!Fp(r,e,t)}function Ss(r,e,t){var o;if(!r||!e)return;let n=r.parent.childAfter(r.parentOffset);if((!n.node||!n.node.marks.some(p=>p.type===e))&&(n=r.parent.childBefore(r.parentOffset)),!n.node||!n.node.marks.some(p=>p.type===e)||(t=t||((o=n.node.marks[0])===null||o===void 0?void 0:o.attrs),!Fp([...n.node.marks],e,t)))return;let a=n.index,l=r.start()+n.offset,d=a+1,c=l+n.node.nodeSize;for(;a>0&&Hp([...r.parent.child(a-1).marks],e,t);)a-=1,l-=r.parent.child(a).nodeSize;for(;d<r.parent.childCount&&Hp([...r.parent.child(d).marks],e,t);)c+=r.parent.child(d).nodeSize,d+=1;return{from:l,to:c}}function $t(r,e){if(typeof r=="string"){if(!e.marks[r])throw Error(`There is no mark type named '${r}'. Maybe you forgot to add the extension?`);return e.marks[r]}return r}const Pb=(r,e={})=>({tr:t,state:o,dispatch:n})=>{const i=$t(r,o.schema),{doc:a,selection:l}=t,{$from:d,from:c,to:p}=l;if(n){const u=Ss(d,i,e);if(u&&u.from<=c&&u.to>=p){const m=_.create(a,u.from,u.to);t.setSelection(m)}}return!0},Ab=r=>e=>{const t=typeof r=="function"?r(e):r;for(let o=0;o<t.length;o+=1)if(t[o](e))return!0;return!1};function Ns(r){return r instanceof _}function Mt(r=0,e=0,t=0){return Math.min(Math.max(r,e),t)}function jp(r,e=null){if(!e)return null;const t=H.atStart(r),o=H.atEnd(r);if(e==="start"||e===!0)return t;if(e==="end")return o;const n=t.from,i=o.to;return e==="all"?_.create(r,Mt(0,n,i),Mt(r.content.size,n,i)):_.create(r,Mt(e,n,i),Mt(e,n,i))}function Db(){return navigator.platform==="Android"||/android/i.test(navigator.userAgent)}function Ms(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const Ib=(r=null,e={})=>({editor:t,view:o,tr:n,dispatch:i})=>{e={scrollIntoView:!0,...e};const a=()=>{(Ms()||Db())&&o.dom.focus(),requestAnimationFrame(()=>{t.isDestroyed||(o.focus(),e!=null&&e.scrollIntoView&&t.commands.scrollIntoView())})};if(o.hasFocus()&&r===null||r===!1)return!0;if(i&&r===null&&!Ns(t.state.selection))return a(),!0;const l=jp(n.doc,r)||t.state.selection,d=t.state.selection.eq(l);return i&&(d||n.setSelection(l),d&&n.storedMarks&&n.setStoredMarks(n.storedMarks),a()),!0},Lb=(r,e)=>t=>r.every((o,n)=>e(o,{...t,index:n})),Rb=(r,e)=>({tr:t,commands:o})=>o.insertContentAt({from:t.selection.from,to:t.selection.to},r,e),Wp=r=>{const e=r.childNodes;for(let t=e.length-1;t>=0;t-=1){const o=e[t];o.nodeType===3&&o.nodeValue&&/^(\n\s\s|\n)$/.test(o.nodeValue)?r.removeChild(o):o.nodeType===1&&Wp(o)}return r};function di(r){const e=`<body>${r}</body>`,t=new window.DOMParser().parseFromString(e,"text/html").body;return Wp(t)}function zo(r,e,t){if(r instanceof Ft||r instanceof B)return r;t={slice:!0,parseOptions:{},...t};const o=typeof r=="object"&&r!==null,n=typeof r=="string";if(o)try{if(Array.isArray(r)&&r.length>0)return B.fromArray(r.map(l=>e.nodeFromJSON(l)));const a=e.nodeFromJSON(r);return t.errorOnInvalidContent&&a.check(),a}catch(i){if(t.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:i});return console.warn("[tiptap warn]: Invalid content.","Passed value:",r,"Error:",i),zo("",e,t)}if(n){if(t.errorOnInvalidContent){let a=!1,l="";const d=new Md({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:c=>(a=!0,l=typeof c=="string"?c:c.outerHTML,null)}]}})});if(t.slice?ko.fromSchema(d).parseSlice(di(r),t.parseOptions):ko.fromSchema(d).parse(di(r),t.parseOptions),t.errorOnInvalidContent&&a)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${l}`)})}const i=ko.fromSchema(e);return t.slice?i.parseSlice(di(r),t.parseOptions).content:i.parse(di(r),t.parseOptions)}return zo("",e,t)}function _b(r,e,t){const o=r.steps.length-1;if(o<e)return;const n=r.steps[o];if(!(n instanceof he||n instanceof ge))return;const i=r.mapping.maps[o];let a=0;i.forEach((l,d,c,p)=>{a===0&&(a=p)}),r.setSelection(H.near(r.doc.resolve(a),t))}const zb=r=>!("type"in r),Fb=(r,e,t)=>({tr:o,dispatch:n,editor:i})=>{var a;if(n){t={parseOptions:i.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...t};let l;const d=b=>{i.emit("contentError",{editor:i,error:b,disableCollaboration:()=>{i.storage.collaboration&&(i.storage.collaboration.isDisabled=!0)}})},c={preserveWhitespace:"full",...t.parseOptions};if(!t.errorOnInvalidContent&&!i.options.enableContentCheck&&i.options.emitContentError)try{zo(e,i.schema,{parseOptions:c,errorOnInvalidContent:!0})}catch(b){d(b)}try{l=zo(e,i.schema,{parseOptions:c,errorOnInvalidContent:(a=t.errorOnInvalidContent)!==null&&a!==void 0?a:i.options.enableContentCheck})}catch(b){return d(b),!1}let{from:p,to:u}=typeof r=="number"?{from:r,to:r}:{from:r.from,to:r.to},m=!0,h=!0;if((zb(l)?l:[l]).forEach(b=>{b.check(),m=m?b.isText&&b.marks.length===0:!1,h=h?b.isBlock:!1}),p===u&&h){const{parent:b}=o.doc.resolve(p);b.isTextblock&&!b.type.spec.code&&!b.childCount&&(p-=1,u+=1)}let f;if(m){if(Array.isArray(e))f=e.map(b=>b.text||"").join("");else if(e instanceof B){let b="";e.forEach(w=>{w.text&&(b+=w.text)}),f=b}else typeof e=="object"&&e&&e.text?f=e.text:f=e;o.insertText(f,p,u)}else f=l,o.replaceWith(p,u,f);t.updateSelection&&_b(o,o.steps.length-1,-1),t.applyInputRules&&o.setMeta("applyInputRules",{from:p,text:f}),t.applyPasteRules&&o.setMeta("applyPasteRules",{from:p,text:f})}return!0},Hb=()=>({state:r,dispatch:e})=>F0(r,e),jb=()=>({state:r,dispatch:e})=>H0(r,e),Wb=()=>({state:r,dispatch:e})=>kp(r,e),qb=()=>({state:r,dispatch:e})=>Np(r,e),Ub=()=>({state:r,dispatch:e,tr:t})=>{try{const o=Hn(r.doc,r.selection.$from.pos,-1);return o==null?!1:(t.join(o,2),e&&e(t),!0)}catch{return!1}},Kb=()=>({state:r,dispatch:e,tr:t})=>{try{const o=Hn(r.doc,r.selection.$from.pos,1);return o==null?!1:(t.join(o,2),e&&e(t),!0)}catch{return!1}},Gb=()=>({state:r,dispatch:e})=>_0(r,e),Jb=()=>({state:r,dispatch:e})=>z0(r,e);function qp(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function Yb(r){const e=r.split(/-(?!$)/);let t=e[e.length-1];t==="Space"&&(t=" ");let o,n,i,a;for(let l=0;l<e.length-1;l+=1){const d=e[l];if(/^(cmd|meta|m)$/i.test(d))a=!0;else if(/^a(lt)?$/i.test(d))o=!0;else if(/^(c|ctrl|control)$/i.test(d))n=!0;else if(/^s(hift)?$/i.test(d))i=!0;else if(/^mod$/i.test(d))Ms()||qp()?a=!0:n=!0;else throw new Error(`Unrecognized modifier name: ${d}`)}return o&&(t=`Alt-${t}`),n&&(t=`Ctrl-${t}`),a&&(t=`Meta-${t}`),i&&(t=`Shift-${t}`),t}const Qb=r=>({editor:e,view:t,tr:o,dispatch:n})=>{const i=Yb(r).split(/-(?!$)/),a=i.find(c=>!["Alt","Ctrl","Meta","Shift"].includes(c)),l=new KeyboardEvent("keydown",{key:a==="Space"?" ":a,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),d=e.captureTransaction(()=>{t.someProp("handleKeyDown",c=>c(t,l))});return d==null||d.steps.forEach(c=>{const p=c.map(o.mapping);p&&n&&o.maybeStep(p)}),!0};function Fo(r,e,t={}){const{from:o,to:n,empty:i}=r.selection,a=e?fe(e,r.schema):null,l=[];r.doc.nodesBetween(o,n,(u,m)=>{if(u.isText)return;const h=Math.max(o,m),g=Math.min(n,m+u.nodeSize);l.push({node:u,from:h,to:g})});const d=n-o,c=l.filter(u=>a?a.name===u.node.type.name:!0).filter(u=>li(u.node.attrs,t,{strict:!1}));return i?!!c.length:c.reduce((u,m)=>u+m.to-m.from,0)>=d}const Xb=(r,e={})=>({state:t,dispatch:o})=>{const n=fe(r,t.schema);return Fo(t,n,e)?j0(t,o):!1},Zb=()=>({state:r,dispatch:e})=>Op(r,e),$b=r=>({state:e,dispatch:t})=>{const o=fe(r,e.schema);return eb(o)(e,t)},ey=()=>({state:r,dispatch:e})=>Bp(r,e);function ci(r,e){return e.nodes[r]?"node":e.marks[r]?"mark":null}function Up(r,e){const t=typeof e=="string"?[e]:e;return Object.keys(r).reduce((o,n)=>(t.includes(n)||(o[n]=r[n]),o),{})}const ty=(r,e)=>({tr:t,state:o,dispatch:n})=>{let i=null,a=null;const l=ci(typeof r=="string"?r:r.name,o.schema);return l?(l==="node"&&(i=fe(r,o.schema)),l==="mark"&&(a=$t(r,o.schema)),n&&t.selection.ranges.forEach(d=>{o.doc.nodesBetween(d.$from.pos,d.$to.pos,(c,p)=>{i&&i===c.type&&t.setNodeMarkup(p,void 0,Up(c.attrs,e)),a&&c.marks.length&&c.marks.forEach(u=>{a===u.type&&t.addMark(p,p+c.nodeSize,a.create(Up(u.attrs,e)))})})}),!0):!1},ry=()=>({tr:r,dispatch:e})=>(e&&r.scrollIntoView(),!0),oy=()=>({tr:r,dispatch:e})=>{if(e){const t=new He(r.doc);r.setSelection(t)}return!0},ny=()=>({state:r,dispatch:e})=>Cp(r,e),iy=()=>({state:r,dispatch:e})=>Mp(r,e),ay=()=>({state:r,dispatch:e})=>K0(r,e),sy=()=>({state:r,dispatch:e})=>Y0(r,e),ly=()=>({state:r,dispatch:e})=>J0(r,e);function Bs(r,e,t={},o={}){return zo(r,e,{slice:!1,parseOptions:t,errorOnInvalidContent:o.errorOnInvalidContent})}const dy=(r,e=!1,t={},o={})=>({editor:n,tr:i,dispatch:a,commands:l})=>{var d,c;const{doc:p}=i;if(t.preserveWhitespace!=="full"){const u=Bs(r,n.schema,t,{errorOnInvalidContent:(d=o.errorOnInvalidContent)!==null&&d!==void 0?d:n.options.enableContentCheck});return a&&i.replaceWith(0,p.content.size,u).setMeta("preventUpdate",!e),!0}return a&&i.setMeta("preventUpdate",!e),l.insertContentAt({from:0,to:p.content.size},r,{parseOptions:t,errorOnInvalidContent:(c=o.errorOnInvalidContent)!==null&&c!==void 0?c:n.options.enableContentCheck})};function Kp(r,e){const t=$t(e,r.schema),{from:o,to:n,empty:i}=r.selection,a=[];i?(r.storedMarks&&a.push(...r.storedMarks),a.push(...r.selection.$head.marks())):r.doc.nodesBetween(o,n,d=>{a.push(...d.marks)});const l=a.find(d=>d.type.name===t.name);return l?{...l.attrs}:{}}function cy(r,e){const t=new Zd(r);return e.forEach(o=>{o.steps.forEach(n=>{t.step(n)})}),t}function py(r){for(let e=0;e<r.edgeCount;e+=1){const{type:t}=r.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}function uy(r,e,t){const o=[];return r.nodesBetween(e.from,e.to,(n,i)=>{t(n)&&o.push({node:n,pos:i})}),o}function my(r,e){for(let t=r.depth;t>0;t-=1){const o=r.node(t);if(e(o))return{pos:t>0?r.before(t):0,start:r.start(t),depth:t,node:o}}}function Ts(r){return e=>my(e.$from,r)}function Gp(r,e){const t={from:0,to:r.content.size};return zp(r,t,e)}function hy(r,e){const t=fe(e,r.schema),{from:o,to:n}=r.selection,i=[];r.doc.nodesBetween(o,n,l=>{i.push(l)});const a=i.reverse().find(l=>l.type.name===t.name);return a?{...a.attrs}:{}}function Jp(r,e){const t=ci(typeof e=="string"?e:e.name,r.schema);return t==="node"?hy(r,e):t==="mark"?Kp(r,e):{}}function gy(r,e=JSON.stringify){const t={};return r.filter(o=>{const n=e(o);return Object.prototype.hasOwnProperty.call(t,n)?!1:t[n]=!0})}function fy(r){const e=gy(r);return e.length===1?e:e.filter((t,o)=>!e.filter((i,a)=>a!==o).some(i=>t.oldRange.from>=i.oldRange.from&&t.oldRange.to<=i.oldRange.to&&t.newRange.from>=i.newRange.from&&t.newRange.to<=i.newRange.to))}function by(r){const{mapping:e,steps:t}=r,o=[];return e.maps.forEach((n,i)=>{const a=[];if(n.ranges.length)n.forEach((l,d)=>{a.push({from:l,to:d})});else{const{from:l,to:d}=t[i];if(l===void 0||d===void 0)return;a.push({from:l,to:d})}a.forEach(({from:l,to:d})=>{const c=e.slice(i).map(l,-1),p=e.slice(i).map(d),u=e.invert().map(c,-1),m=e.invert().map(p);o.push({oldRange:{from:u,to:m},newRange:{from:c,to:p}})})}),fy(o)}function Os(r,e,t){const o=[];return r===e?t.resolve(r).marks().forEach(n=>{const i=t.resolve(r),a=Ss(i,n.type);a&&o.push({mark:n,...a})}):t.nodesBetween(r,e,(n,i)=>{!n||(n==null?void 0:n.nodeSize)===void 0||o.push(...n.marks.map(a=>({from:i,to:i+n.nodeSize,mark:a})))}),o}function pi(r,e,t){return Object.fromEntries(Object.entries(t).filter(([o])=>{const n=r.find(i=>i.type===e&&i.name===o);return n?n.attribute.keepOnSplit:!1}))}function Vs(r,e,t={}){const{empty:o,ranges:n}=r.selection,i=e?$t(e,r.schema):null;if(o)return!!(r.storedMarks||r.selection.$from.marks()).filter(u=>i?i.name===u.type.name:!0).find(u=>li(u.attrs,t,{strict:!1}));let a=0;const l=[];if(n.forEach(({$from:u,$to:m})=>{const h=u.pos,g=m.pos;r.doc.nodesBetween(h,g,(f,b)=>{if(!f.isText&&!f.marks.length)return;const w=Math.max(h,b),C=Math.min(g,b+f.nodeSize),k=C-w;a+=k,l.push(...f.marks.map(y=>({mark:y,from:w,to:C})))})}),a===0)return!1;const d=l.filter(u=>i?i.name===u.mark.type.name:!0).filter(u=>li(u.mark.attrs,t,{strict:!1})).reduce((u,m)=>u+m.to-m.from,0),c=l.filter(u=>i?u.mark.type!==i&&u.mark.type.excludes(i):!0).reduce((u,m)=>u+m.to-m.from,0);return(d>0?d+c:d)>=a}function yy(r,e,t={}){if(!e)return Fo(r,null,t)||Vs(r,null,t);const o=ci(e,r.schema);return o==="node"?Fo(r,e,t):o==="mark"?Vs(r,e,t):!1}function Yp(r,e){const{nodeExtensions:t}=ri(e),o=t.find(a=>a.name===r);if(!o)return!1;const n={name:o.name,options:o.options,storage:o.storage},i=W(D(o,"group",n));return typeof i!="string"?!1:i.split(" ").includes("list")}function Ps(r,{checkChildren:e=!0,ignoreWhitespace:t=!1}={}){var o;if(t){if(r.type.name==="hardBreak")return!0;if(r.isText)return/^\s*$/m.test((o=r.text)!==null&&o!==void 0?o:"")}if(r.isText)return!r.text;if(r.isAtom||r.isLeaf)return!1;if(r.content.childCount===0)return!0;if(e){let n=!0;return r.content.forEach(i=>{n!==!1&&(Ps(i,{ignoreWhitespace:t,checkChildren:e})||(n=!1))}),n}return!1}function Qp(r){return r instanceof L}function Xp(r,e,t){const n=r.state.doc.content.size,i=Mt(e,0,n),a=Mt(t,0,n),l=r.coordsAtPos(i),d=r.coordsAtPos(a,-1),c=Math.min(l.top,d.top),p=Math.max(l.bottom,d.bottom),u=Math.min(l.left,d.left),m=Math.max(l.right,d.right),h=m-u,g=p-c,w={top:c,bottom:p,left:u,right:m,width:h,height:g,x:u,y:c};return{...w,toJSON:()=>w}}function wy(r,e,t){var o;const{selection:n}=e;let i=null;if(Ns(n)&&(i=n.$cursor),i){const l=(o=r.storedMarks)!==null&&o!==void 0?o:i.marks();return!!t.isInSet(l)||!l.some(d=>d.type.excludes(t))}const{ranges:a}=n;return a.some(({$from:l,$to:d})=>{let c=l.depth===0?r.doc.inlineContent&&r.doc.type.allowsMarkType(t):!1;return r.doc.nodesBetween(l.pos,d.pos,(p,u,m)=>{if(c)return!1;if(p.isInline){const h=!m||m.type.allowsMarkType(t),g=!!t.isInSet(p.marks)||!p.marks.some(f=>f.type.excludes(t));c=h&&g}return!c}),c})}const xy=(r,e={})=>({tr:t,state:o,dispatch:n})=>{const{selection:i}=t,{empty:a,ranges:l}=i,d=$t(r,o.schema);if(n)if(a){const c=Kp(o,d);t.addStoredMark(d.create({...c,...e}))}else l.forEach(c=>{const p=c.$from.pos,u=c.$to.pos;o.doc.nodesBetween(p,u,(m,h)=>{const g=Math.max(h,p),f=Math.min(h+m.nodeSize,u);m.marks.find(w=>w.type===d)?m.marks.forEach(w=>{d===w.type&&t.addMark(g,f,d.create({...w.attrs,...e}))}):t.addMark(g,f,d.create(e))})});return wy(o,t,d)},vy=(r,e)=>({tr:t})=>(t.setMeta(r,e),!0),ky=(r,e={})=>({state:t,dispatch:o,chain:n})=>{const i=fe(r,t.schema);let a;return t.selection.$anchor.sameParent(t.selection.$head)&&(a=t.selection.$anchor.parent.attrs),i.isTextblock?n().command(({commands:l})=>Ap(i,{...a,...e})(t)?!0:l.clearNodes()).command(({state:l})=>Ap(i,{...a,...e})(l,o)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},Ey=r=>({tr:e,dispatch:t})=>{if(t){const{doc:o}=e,n=Mt(r,0,o.content.size),i=L.create(o,n);e.setSelection(i)}return!0},Cy=r=>({tr:e,dispatch:t})=>{if(t){const{doc:o}=e,{from:n,to:i}=typeof r=="number"?{from:r,to:r}:r,a=_.atStart(o).from,l=_.atEnd(o).to,d=Mt(n,a,l),c=Mt(i,a,l),p=_.create(o,d,c);e.setSelection(p)}return!0},Sy=r=>({state:e,dispatch:t})=>{const o=fe(r,e.schema);return ob(o)(e,t)};function Zp(r,e){const t=r.storedMarks||r.selection.$to.parentOffset&&r.selection.$from.marks();if(t){const o=t.filter(n=>e==null?void 0:e.includes(n.type.name));r.tr.ensureMarks(o)}}const Ny=({keepMarks:r=!0}={})=>({tr:e,state:t,dispatch:o,editor:n})=>{const{selection:i,doc:a}=e,{$from:l,$to:d}=i,c=n.extensionManager.attributes,p=pi(c,l.node().type.name,l.node().attrs);if(i instanceof L&&i.node.isBlock)return!l.parentOffset||!vt(a,l.pos)?!1:(o&&(r&&Zp(t,n.extensionManager.splittableMarks),e.split(l.pos).scrollIntoView()),!0);if(!l.parent.isBlock)return!1;const u=d.parentOffset===d.parent.content.size,m=l.depth===0?void 0:py(l.node(-1).contentMatchAt(l.indexAfter(-1)));let h=u&&m?[{type:m,attrs:p}]:void 0,g=vt(e.doc,e.mapping.map(l.pos),1,h);if(!h&&!g&&vt(e.doc,e.mapping.map(l.pos),1,m?[{type:m}]:void 0)&&(g=!0,h=m?[{type:m,attrs:p}]:void 0),o){if(g&&(i instanceof _&&e.deleteSelection(),e.split(e.mapping.map(l.pos),1,h),m&&!u&&!l.parentOffset&&l.parent.type!==m)){const f=e.mapping.map(l.before()),b=e.doc.resolve(f);l.node(-1).canReplaceWith(b.index(),b.index()+1,m)&&e.setNodeMarkup(e.mapping.map(l.before()),m)}r&&Zp(t,n.extensionManager.splittableMarks),e.scrollIntoView()}return g},My=(r,e={})=>({tr:t,state:o,dispatch:n,editor:i})=>{var a;const l=fe(r,o.schema),{$from:d,$to:c}=o.selection,p=o.selection.node;if(p&&p.isBlock||d.depth<2||!d.sameParent(c))return!1;const u=d.node(-1);if(u.type!==l)return!1;const m=i.extensionManager.attributes;if(d.parent.content.size===0&&d.node(-1).childCount===d.indexAfter(-1)){if(d.depth===2||d.node(-3).type!==l||d.index(-2)!==d.node(-2).childCount-1)return!1;if(n){let w=B.empty;const C=d.index(-1)?1:d.index(-2)?2:3;for(let O=d.depth-C;O>=d.depth-3;O-=1)w=B.from(d.node(O).copy(w));const k=d.indexAfter(-1)<d.node(-2).childCount?1:d.indexAfter(-2)<d.node(-3).childCount?2:3,y={...pi(m,d.node().type.name,d.node().attrs),...e},S=((a=l.contentMatch.defaultType)===null||a===void 0?void 0:a.createAndFill(y))||void 0;w=w.append(B.from(l.createAndFill(null,S)||void 0));const E=d.before(d.depth-(C-1));t.replace(E,d.after(-k),new P(w,4-C,0));let N=-1;t.doc.nodesBetween(E,t.doc.content.size,(O,A)=>{if(N>-1)return!1;O.isTextblock&&O.content.size===0&&(N=A+1)}),N>-1&&t.setSelection(_.near(t.doc.resolve(N))),t.scrollIntoView()}return!0}const h=c.pos===d.end()?u.contentMatchAt(0).defaultType:null,g={...pi(m,u.type.name,u.attrs),...e},f={...pi(m,d.node().type.name,d.node().attrs),...e};t.delete(d.pos,c.pos);const b=h?[{type:l,attrs:g},{type:h,attrs:f}]:[{type:l,attrs:g}];if(!vt(t.doc,d.pos,2))return!1;if(n){const{selection:w,storedMarks:C}=o,{splittableMarks:k}=i.extensionManager,y=C||w.$to.parentOffset&&w.$from.marks();if(t.split(d.pos,2,b).scrollIntoView(),!y||!n)return!0;const S=y.filter(E=>k.includes(E.type.name));t.ensureMarks(S)}return!0},As=(r,e)=>{const t=Ts(a=>a.type===e)(r.selection);if(!t)return!0;const o=r.doc.resolve(Math.max(0,t.pos-1)).before(t.depth);if(o===void 0)return!0;const n=r.doc.nodeAt(o);return t.node.type===(n==null?void 0:n.type)&&Wt(r.doc,t.pos)&&r.join(t.pos),!0},Ds=(r,e)=>{const t=Ts(a=>a.type===e)(r.selection);if(!t)return!0;const o=r.doc.resolve(t.start).after(t.depth);if(o===void 0)return!0;const n=r.doc.nodeAt(o);return t.node.type===(n==null?void 0:n.type)&&Wt(r.doc,o)&&r.join(o),!0};var By=Object.freeze({__proto__:null,blur:xb,clearContent:vb,clearNodes:kb,command:Eb,createParagraphNear:Cb,cut:Sb,deleteCurrentNode:Nb,deleteNode:Mb,deleteRange:Bb,deleteSelection:Tb,enter:Ob,exitCode:Vb,extendMarkRange:Pb,first:Ab,focus:Ib,forEach:Lb,insertContent:Rb,insertContentAt:Fb,joinBackward:Wb,joinDown:jb,joinForward:qb,joinItemBackward:Ub,joinItemForward:Kb,joinTextblockBackward:Gb,joinTextblockForward:Jb,joinUp:Hb,keyboardShortcut:Qb,lift:Xb,liftEmptyBlock:Zb,liftListItem:$b,newlineInCode:ey,resetAttributes:ty,scrollIntoView:ry,selectAll:oy,selectNodeBackward:ny,selectNodeForward:iy,selectParentNode:ay,selectTextblockEnd:sy,selectTextblockStart:ly,setContent:dy,setMark:xy,setMeta:vy,setNode:ky,setNodeSelection:Ey,setTextSelection:Cy,sinkListItem:Sy,splitBlock:Ny,splitListItem:My,toggleList:(r,e,t,o={})=>({editor:n,tr:i,state:a,dispatch:l,chain:d,commands:c,can:p})=>{const{extensions:u,splittableMarks:m}=n.extensionManager,h=fe(r,a.schema),g=fe(e,a.schema),{selection:f,storedMarks:b}=a,{$from:w,$to:C}=f,k=w.blockRange(C),y=b||f.$to.parentOffset&&f.$from.marks();if(!k)return!1;const S=Ts(E=>Yp(E.type.name,u))(f);if(k.depth>=1&&S&&k.depth-S.depth<=1){if(S.node.type===h)return c.liftListItem(g);if(Yp(S.node.type.name,u)&&h.validContent(S.node.content)&&l)return d().command(()=>(i.setNodeMarkup(S.pos,h),!0)).command(()=>As(i,h)).command(()=>Ds(i,h)).run()}return!t||!y||!l?d().command(()=>p().wrapInList(h,o)?!0:c.clearNodes()).wrapInList(h,o).command(()=>As(i,h)).command(()=>Ds(i,h)).run():d().command(()=>{const E=p().wrapInList(h,o),N=y.filter(O=>m.includes(O.type.name));return i.ensureMarks(N),E?!0:c.clearNodes()}).wrapInList(h,o).command(()=>As(i,h)).command(()=>Ds(i,h)).run()},toggleMark:(r,e={},t={})=>({state:o,commands:n})=>{const{extendEmptyMarkRange:i=!1}=t,a=$t(r,o.schema);return Vs(o,a,e)?n.unsetMark(a,{extendEmptyMarkRange:i}):n.setMark(a,e)},toggleNode:(r,e,t={})=>({state:o,commands:n})=>{const i=fe(r,o.schema),a=fe(e,o.schema),l=Fo(o,i,t);let d;return o.selection.$anchor.sameParent(o.selection.$head)&&(d=o.selection.$anchor.parent.attrs),l?n.setNode(a,d):n.setNode(i,{...d,...t})},toggleWrap:(r,e={})=>({state:t,commands:o})=>{const n=fe(r,t.schema);return Fo(t,n,e)?o.lift(n):o.wrapIn(n,e)},undoInputRule:()=>({state:r,dispatch:e})=>{const t=r.plugins;for(let o=0;o<t.length;o+=1){const n=t[o];let i;if(n.spec.isInputRules&&(i=n.getState(r))){if(e){const a=r.tr,l=i.transform;for(let d=l.steps.length-1;d>=0;d-=1)a.step(l.steps[d].invert(l.docs[d]));if(i.text){const d=a.doc.resolve(i.from).marks();a.replaceWith(i.from,i.to,r.schema.text(i.text,d))}else a.delete(i.from,i.to)}return!0}}return!1},unsetAllMarks:()=>({tr:r,dispatch:e})=>{const{selection:t}=r,{empty:o,ranges:n}=t;return o||e&&n.forEach(i=>{r.removeMark(i.$from.pos,i.$to.pos)}),!0},unsetMark:(r,e={})=>({tr:t,state:o,dispatch:n})=>{var i;const{extendEmptyMarkRange:a=!1}=e,{selection:l}=t,d=$t(r,o.schema),{$from:c,empty:p,ranges:u}=l;if(!n)return!0;if(p&&a){let{from:m,to:h}=l;const g=(i=c.marks().find(b=>b.type===d))===null||i===void 0?void 0:i.attrs,f=Ss(c,d,g);f&&(m=f.from,h=f.to),t.removeMark(m,h,d)}else u.forEach(m=>{t.removeMark(m.$from.pos,m.$to.pos,d)});return t.removeStoredMark(d),!0},updateAttributes:(r,e={})=>({tr:t,state:o,dispatch:n})=>{let i=null,a=null;const l=ci(typeof r=="string"?r:r.name,o.schema);return l?(l==="node"&&(i=fe(r,o.schema)),l==="mark"&&(a=$t(r,o.schema)),n&&t.selection.ranges.forEach(d=>{const c=d.$from.pos,p=d.$to.pos;let u,m,h,g;t.selection.empty?o.doc.nodesBetween(c,p,(f,b)=>{i&&i===f.type&&(h=Math.max(b,c),g=Math.min(b+f.nodeSize,p),u=b,m=f)}):o.doc.nodesBetween(c,p,(f,b)=>{b<c&&i&&i===f.type&&(h=Math.max(b,c),g=Math.min(b+f.nodeSize,p),u=b,m=f),b>=c&&b<=p&&(i&&i===f.type&&t.setNodeMarkup(b,void 0,{...f.attrs,...e}),a&&f.marks.length&&f.marks.forEach(w=>{if(a===w.type){const C=Math.max(b,c),k=Math.min(b+f.nodeSize,p);t.addMark(C,k,a.create({...w.attrs,...e}))}}))}),m&&(u!==void 0&&t.setNodeMarkup(u,void 0,{...m.attrs,...e}),a&&m.marks.length&&m.marks.forEach(f=>{a===f.type&&t.addMark(h,g,a.create({...f.attrs,...e}))}))}),!0):!1},wrapIn:(r,e={})=>({state:t,dispatch:o})=>{const n=fe(r,t.schema);return Q0(n,e)(t,o)},wrapInList:(r,e={})=>({state:t,dispatch:o})=>{const n=fe(r,t.schema);return X0(n,e)(t,o)}});const Ty=Ce.create({name:"commands",addCommands(){return{...By}}}),Oy=Ce.create({name:"drop",addProseMirrorPlugins(){return[new pe({key:new Oe("tiptapDrop"),props:{handleDrop:(r,e,t,o)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:t,moved:o})}}})]}}),Vy=Ce.create({name:"editable",addProseMirrorPlugins(){return[new pe({key:new Oe("editable"),props:{editable:()=>this.editor.options.editable}})]}}),Py=new Oe("focusEvents"),Ay=Ce.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:r}=this;return[new pe({key:Py,props:{handleDOMEvents:{focus:(e,t)=>{r.isFocused=!0;const o=r.state.tr.setMeta("focus",{event:t}).setMeta("addToHistory",!1);return e.dispatch(o),!1},blur:(e,t)=>{r.isFocused=!1;const o=r.state.tr.setMeta("blur",{event:t}).setMeta("addToHistory",!1);return e.dispatch(o),!1}}}})]}}),Dy=Ce.create({name:"keymap",addKeyboardShortcuts(){const r=()=>this.editor.commands.first(({commands:a})=>[()=>a.undoInputRule(),()=>a.command(({tr:l})=>{const{selection:d,doc:c}=l,{empty:p,$anchor:u}=d,{pos:m,parent:h}=u,g=u.parent.isTextblock&&m>0?l.doc.resolve(m-1):u,f=g.parent.type.spec.isolating,b=u.pos-u.parentOffset,w=f&&g.parent.childCount===1?b===u.pos:H.atStart(c).from===m;return!p||!h.type.isTextblock||h.textContent.length||!w||w&&u.parent.type.name==="paragraph"?!1:a.clearNodes()}),()=>a.deleteSelection(),()=>a.joinBackward(),()=>a.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:a})=>[()=>a.deleteSelection(),()=>a.deleteCurrentNode(),()=>a.joinForward(),()=>a.selectNodeForward()]),o={Enter:()=>this.editor.commands.first(({commands:a})=>[()=>a.newlineInCode(),()=>a.createParagraphNear(),()=>a.liftEmptyBlock(),()=>a.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:r,"Mod-Backspace":r,"Shift-Backspace":r,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},n={...o},i={...o,"Ctrl-h":r,"Alt-Backspace":r,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Ms()||qp()?i:n},addProseMirrorPlugins(){return[new pe({key:new Oe("clearDocument"),appendTransaction:(r,e,t)=>{if(r.some(f=>f.getMeta("composition")))return;const o=r.some(f=>f.docChanged)&&!e.doc.eq(t.doc),n=r.some(f=>f.getMeta("preventClearDocument"));if(!o||n)return;const{empty:i,from:a,to:l}=e.selection,d=H.atStart(e.doc).from,c=H.atEnd(e.doc).to;if(i||!(a===d&&l===c)||!Ps(t.doc))return;const m=t.tr,h=ei({state:t,transaction:m}),{commands:g}=new ti({editor:this.editor,state:h});if(g.clearNodes(),!!m.steps.length)return m}})]}}),Iy=Ce.create({name:"paste",addProseMirrorPlugins(){return[new pe({key:new Oe("tiptapPaste"),props:{handlePaste:(r,e,t)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:t})}}})]}}),Ly=Ce.create({name:"tabindex",addProseMirrorPlugins(){return[new pe({key:new Oe("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class vr{get name(){return this.node.type.name}constructor(e,t,o=!1,n=null){this.currentNode=null,this.actualDepth=null,this.isBlock=o,this.resolvedPos=e,this.editor=t,this.currentNode=n}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!==null&&e!==void 0?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,o=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}t=this.from+1,o=this.to-1}this.editor.commands.insertContentAt({from:t,to:o},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),t=this.resolvedPos.doc.resolve(e);return new vr(t,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new vr(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new vr(e,this.editor)}get children(){const e=[];return this.node.content.forEach((t,o)=>{const n=t.isBlock&&!t.isTextblock,i=t.isAtom&&!t.isText,a=this.pos+o+(i?0:1),l=this.resolvedPos.doc.resolve(a);if(!n&&l.depth<=this.depth)return;const d=new vr(l,this.editor,n,n?t:null);n&&(d.actualDepth=this.depth+1),e.push(new vr(l,this.editor,n,n?t:null))}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,t={}){let o=null,n=this.parent;for(;n&&!o;){if(n.node.type.name===e)if(Object.keys(t).length>0){const i=n.node.attrs,a=Object.keys(t);for(let l=0;l<a.length;l+=1){const d=a[l];if(i[d]!==t[d])break}}else o=n;n=n.parent}return o}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},o=!1){let n=[];if(!this.children||this.children.length===0)return n;const i=Object.keys(t);return this.children.forEach(a=>{o&&n.length>0||(a.node.type.name===e&&i.every(d=>t[d]===a.node.attrs[d])&&n.push(a),!(o&&n.length>0)&&(n=n.concat(a.querySelectorAll(e,t,o))))}),n}setAttribute(e){const{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}}const Ry=`.ProseMirror {
24
24
  position: relative;
25
25
  }
26
26
 
@@ -94,40 +94,40 @@ img.ProseMirror-separator {
94
94
 
95
95
  .tippy-box[data-animation=fade][data-state=hidden] {
96
96
  opacity: 0
97
- }`;function _y(r,e,t){const o=document.querySelector("style[data-tiptap-style]");if(o!==null)return o;const n=document.createElement("style");return e&&n.setAttribute("nonce",e),n.setAttribute("data-tiptap-style",""),n.innerHTML=r,document.getElementsByTagName("head")[0].appendChild(n),n}let zy=class extends nb{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:t})=>{throw t},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:t,slice:o,moved:n})=>this.options.onDrop(t,o,n)),this.on("paste",({event:t,slice:o})=>this.options.onPaste(t,o)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=_y(Ry,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const o=Ip(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],n=this.state.reconfigure({plugins:o});return this.view.updateState(n),n}unregisterPlugin(e){if(this.isDestroyed)return;const t=this.state.plugins;let o=t;if([].concat(e).forEach(i=>{const a=typeof i=="string"?`${i}$`:i.key;o=o.filter(l=>!l.key.startsWith(a))}),t.length===o.length)return;const n=this.state.reconfigure({plugins:o});return this.view.updateState(n),n}createExtensionManager(){var e,t;const n=[...this.options.enableCoreExtensions?[Vy,wb.configure({blockSeparator:(t=(e=this.options.coreExtensionOptions)===null||e===void 0?void 0:e.clipboardTextSerializer)===null||t===void 0?void 0:t.blockSeparator}),Ty,Ay,Dy,Ly,Oy,Iy].filter(i=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[i.name]!==!1:!0):[],...this.options.extensions].filter(i=>["extension","node","mark"].includes(i==null?void 0:i.type));this.extensionManager=new Qr(n,this)}createCommandManager(){this.commandManager=new ti({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let t;try{t=Ms(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(a){if(!(a instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(a.message))throw a;this.emit("contentError",{editor:this,error:a,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(l=>l.name!=="collaboration"),this.createExtensionManager()}}),t=Ms(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const o=jp(t,this.options.autofocus);this.view=new hp(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...(e=this.options.editorProps)===null||e===void 0?void 0:e.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:jr.create({doc:t,selection:o||void 0})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews(),this.prependClass();const i=this.view.dom;i.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(a=>{var l;return(l=this.capturedTransaction)===null||l===void 0?void 0:l.step(a)});return}const t=this.state.apply(e),o=!this.state.selection.eq(t.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}),this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),o&&this.emit("selectionUpdate",{editor:this,transaction:e});const n=e.getMeta("focus"),i=e.getMeta("blur");n&&this.emit("focus",{editor:this,event:n.event,transaction:e}),i&&this.emit("blur",{editor:this,event:i.event,transaction:e}),!(!e.docChanged||e.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return Jp(this.state,e)}isActive(e,t){const o=typeof e=="string"?e:null,n=typeof e=="string"?t:e;return yy(this.state,o,n)}getJSON(){return this.state.doc.toJSON()}getHTML(){return vs(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t=`
97
+ }`;function _y(r,e,t){const o=document.querySelector("style[data-tiptap-style]");if(o!==null)return o;const n=document.createElement("style");return e&&n.setAttribute("nonce",e),n.setAttribute("data-tiptap-style",""),n.innerHTML=r,document.getElementsByTagName("head")[0].appendChild(n),n}let zy=class extends nb{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:t})=>{throw t},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:t,slice:o,moved:n})=>this.options.onDrop(t,o,n)),this.on("paste",({event:t,slice:o})=>this.options.onPaste(t,o)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=_y(Ry,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const o=Ip(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],n=this.state.reconfigure({plugins:o});return this.view.updateState(n),n}unregisterPlugin(e){if(this.isDestroyed)return;const t=this.state.plugins;let o=t;if([].concat(e).forEach(i=>{const a=typeof i=="string"?`${i}$`:i.key;o=o.filter(l=>!l.key.startsWith(a))}),t.length===o.length)return;const n=this.state.reconfigure({plugins:o});return this.view.updateState(n),n}createExtensionManager(){var e,t;const n=[...this.options.enableCoreExtensions?[Vy,wb.configure({blockSeparator:(t=(e=this.options.coreExtensionOptions)===null||e===void 0?void 0:e.clipboardTextSerializer)===null||t===void 0?void 0:t.blockSeparator}),Ty,Ay,Dy,Ly,Oy,Iy].filter(i=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[i.name]!==!1:!0):[],...this.options.extensions].filter(i=>["extension","node","mark"].includes(i==null?void 0:i.type));this.extensionManager=new Qr(n,this)}createCommandManager(){this.commandManager=new ti({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let t;try{t=Bs(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(a){if(!(a instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(a.message))throw a;this.emit("contentError",{editor:this,error:a,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(l=>l.name!=="collaboration"),this.createExtensionManager()}}),t=Bs(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const o=jp(t,this.options.autofocus);this.view=new hp(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...(e=this.options.editorProps)===null||e===void 0?void 0:e.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:jr.create({doc:t,selection:o||void 0})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews(),this.prependClass();const i=this.view.dom;i.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(a=>{var l;return(l=this.capturedTransaction)===null||l===void 0?void 0:l.step(a)});return}const t=this.state.apply(e),o=!this.state.selection.eq(t.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}),this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),o&&this.emit("selectionUpdate",{editor:this,transaction:e});const n=e.getMeta("focus"),i=e.getMeta("blur");n&&this.emit("focus",{editor:this,event:n.event,transaction:e}),i&&this.emit("blur",{editor:this,event:i.event,transaction:e}),!(!e.docChanged||e.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return Jp(this.state,e)}isActive(e,t){const o=typeof e=="string"?e:null,n=typeof e=="string"?t:e;return yy(this.state,o,n)}getJSON(){return this.state.doc.toJSON()}getHTML(){return ks(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t=`
98
98
 
99
- `,textSerializers:o={}}=e||{};return Gp(this.state.doc,{blockSeparator:t,textSerializers:{...Es(this.schema),...o}})}get isEmpty(){return Vs(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(!((e=this.view)===null||e===void 0)&&e.docView)}$node(e,t){var o;return((o=this.$doc)===null||o===void 0?void 0:o.querySelector(e,t))||null}$nodes(e,t){var o;return((o=this.$doc)===null||o===void 0?void 0:o.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new vr(t,this)}get $doc(){return this.$pos(0)}};function Xr(r){return new oi({find:r.find,handler:({state:e,range:t,match:o})=>{const n=W(r.getAttributes,void 0,o);if(n===!1||n===null)return null;const{tr:i}=e,a=o[o.length-1],l=o[0];if(a){const d=l.search(/\S/),c=t.from+l.indexOf(a),p=c+a.length;if(Ts(t.from,t.to,e.doc).filter(h=>h.mark.type.excluded.find(f=>f===r.type&&f!==h.mark.type)).filter(h=>h.to>c).length)return null;p<t.to&&i.delete(p,t.to),c>t.from&&i.delete(t.from+d,c);const m=t.from+d+a.length;i.addMark(t.from+d,m,r.type.create(n||{})),i.removeStoredMark(r.type)}}})}function Fy(r){return new oi({find:r.find,handler:({state:e,range:t,match:o})=>{const n=W(r.getAttributes,void 0,o)||{},{tr:i}=e,a=t.from;let l=t.to;const d=r.type.create(n);if(o[1]){const c=o[0].lastIndexOf(o[1]);let p=a+c;p>l?p=l:l=p+o[1].length;const u=o[0][o[0].length-1];i.insertText(u,a+o[0].length-1),i.replaceWith(p,l,d)}else if(o[0]){const c=r.type.isInline?a:a-1;i.insert(c,r.type.create(n)).delete(i.mapping.map(a),i.mapping.map(l))}i.scrollIntoView()}})}function Ds(r){return new oi({find:r.find,handler:({state:e,range:t,match:o})=>{const n=e.doc.resolve(t.from),i=W(r.getAttributes,void 0,o)||{};if(!n.node(-1).canReplaceWith(n.index(-1),n.indexAfter(-1),r.type))return null;e.tr.delete(t.from,t.to).setBlockType(t.from,t.from,r.type,i)}})}function Ho(r){return new oi({find:r.find,handler:({state:e,range:t,match:o,chain:n})=>{const i=W(r.getAttributes,void 0,o)||{},a=e.tr.delete(t.from,t.to),d=a.doc.resolve(t.from).blockRange(),c=d&&Da(d,r.type,i);if(!c)return null;if(a.wrap(d,c),r.keepMarks&&r.editor){const{selection:u,storedMarks:m}=e,{splittableMarks:h}=r.editor.extensionManager,g=m||u.$to.parentOffset&&u.$from.marks();if(g){const f=g.filter(b=>h.includes(b.type.name));a.ensureMarks(f)}}if(r.keepAttributes){const u=r.type.name==="bulletList"||r.type.name==="orderedList"?"listItem":"taskList";n().updateAttributes(u,i).run()}const p=a.doc.resolve(t.from-1).nodeBefore;p&&p.type===r.type&&Wt(a.doc,t.from-1)&&(!r.joinPredicate||r.joinPredicate(o,p))&&a.join(t.from-1)}})}let ot=class Ll{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=W(D(this,"addOptions",{name:this.name}))),this.storage=W(D(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Ll(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>ai(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new Ll(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=W(D(t,"addOptions",{name:t.name})),t.storage=W(D(t,"addStorage",{name:t.name,options:t.options})),t}};function kr(r){return new mb({find:r.find,handler:({state:e,range:t,match:o,pasteEvent:n})=>{const i=W(r.getAttributes,void 0,o,n);if(i===!1||i===null)return null;const{tr:a}=e,l=o[o.length-1],d=o[0];let c=t.to;if(l){const p=d.search(/\S/),u=t.from+d.indexOf(l),m=u+l.length;if(Ts(t.from,t.to,e.doc).filter(g=>g.mark.type.excluded.find(b=>b===r.type&&b!==g.mark.type)).filter(g=>g.to>u).length)return null;m<t.to&&a.delete(m,t.to),u>t.from&&a.delete(t.from+p,u),c=t.from+p+l.length,a.addMark(t.from+p,c,r.type.create(i||{})),a.removeStoredMark(r.type)}}})}var Re="top",Ye="bottom",Qe="right",_e="left",Is="auto",jo=[Re,Ye,Qe,_e],Zr="start",Wo="end",Hy="clippingParents",$p="viewport",qo="popper",jy="reference",eu=jo.reduce(function(r,e){return r.concat([e+"-"+Zr,e+"-"+Wo])},[]),tu=[].concat(jo,[Is]).reduce(function(r,e){return r.concat([e,e+"-"+Zr,e+"-"+Wo])},[]),Wy="beforeRead",qy="read",Uy="afterRead",Ky="beforeMain",Gy="main",Jy="afterMain",Yy="beforeWrite",Qy="write",Xy="afterWrite",Zy=[Wy,qy,Uy,Ky,Gy,Jy,Yy,Qy,Xy];function ut(r){return r?(r.nodeName||"").toLowerCase():null}function je(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var e=r.ownerDocument;return e&&e.defaultView||window}return r}function Er(r){var e=je(r).Element;return r instanceof e||r instanceof Element}function Xe(r){var e=je(r).HTMLElement;return r instanceof e||r instanceof HTMLElement}function Ls(r){if(typeof ShadowRoot>"u")return!1;var e=je(r).ShadowRoot;return r instanceof e||r instanceof ShadowRoot}function $y(r){var e=r.state;Object.keys(e.elements).forEach(function(t){var o=e.styles[t]||{},n=e.attributes[t]||{},i=e.elements[t];!Xe(i)||!ut(i)||(Object.assign(i.style,o),Object.keys(n).forEach(function(a){var l=n[a];l===!1?i.removeAttribute(a):i.setAttribute(a,l===!0?"":l)}))})}function ew(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(o){var n=e.elements[o],i=e.attributes[o]||{},a=Object.keys(e.styles.hasOwnProperty(o)?e.styles[o]:t[o]),l=a.reduce(function(d,c){return d[c]="",d},{});!Xe(n)||!ut(n)||(Object.assign(n.style,l),Object.keys(i).forEach(function(d){n.removeAttribute(d)}))})}}const ru={name:"applyStyles",enabled:!0,phase:"write",fn:$y,effect:ew,requires:["computeStyles"]};function mt(r){return r.split("-")[0]}var Cr=Math.max,ui=Math.min,$r=Math.round;function Rs(){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 ou(){return!/^((?!chrome|android).)*safari/i.test(Rs())}function eo(r,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var o=r.getBoundingClientRect(),n=1,i=1;e&&Xe(r)&&(n=r.offsetWidth>0&&$r(o.width)/r.offsetWidth||1,i=r.offsetHeight>0&&$r(o.height)/r.offsetHeight||1);var a=Er(r)?je(r):window,l=a.visualViewport,d=!ou()&&t,c=(o.left+(d&&l?l.offsetLeft:0))/n,p=(o.top+(d&&l?l.offsetTop:0))/i,u=o.width/n,m=o.height/i;return{width:u,height:m,top:p,right:c+u,bottom:p+m,left:c,x:c,y:p}}function _s(r){var e=eo(r),t=r.offsetWidth,o=r.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:r.offsetLeft,y:r.offsetTop,width:t,height:o}}function nu(r,e){var t=e.getRootNode&&e.getRootNode();if(r.contains(e))return!0;if(t&&Ls(t)){var o=e;do{if(o&&r.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Bt(r){return je(r).getComputedStyle(r)}function tw(r){return["table","td","th"].indexOf(ut(r))>=0}function er(r){return((Er(r)?r.ownerDocument:r.document)||window.document).documentElement}function mi(r){return ut(r)==="html"?r:r.assignedSlot||r.parentNode||(Ls(r)?r.host:null)||er(r)}function iu(r){return!Xe(r)||Bt(r).position==="fixed"?null:r.offsetParent}function rw(r){var e=/firefox/i.test(Rs()),t=/Trident/i.test(Rs());if(t&&Xe(r)){var o=Bt(r);if(o.position==="fixed")return null}var n=mi(r);for(Ls(n)&&(n=n.host);Xe(n)&&["html","body"].indexOf(ut(n))<0;){var i=Bt(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 Uo(r){for(var e=je(r),t=iu(r);t&&tw(t)&&Bt(t).position==="static";)t=iu(t);return t&&(ut(t)==="html"||ut(t)==="body"&&Bt(t).position==="static")?e:t||rw(r)||e}function zs(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function Ko(r,e,t){return Cr(r,ui(e,t))}function ow(r,e,t){var o=Ko(r,e,t);return o>t?t:o}function au(){return{top:0,right:0,bottom:0,left:0}}function su(r){return Object.assign({},au(),r)}function lu(r,e){return e.reduce(function(t,o){return t[o]=r,t},{})}var nw=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,su(typeof e!="number"?e:lu(e,jo))};function iw(r){var e,t=r.state,o=r.name,n=r.options,i=t.elements.arrow,a=t.modifiersData.popperOffsets,l=mt(t.placement),d=zs(l),c=[_e,Qe].indexOf(l)>=0,p=c?"height":"width";if(!(!i||!a)){var u=nw(n.padding,t),m=_s(i),h=d==="y"?Re:_e,g=d==="y"?Ye:Qe,f=t.rects.reference[p]+t.rects.reference[d]-a[d]-t.rects.popper[p],b=a[d]-t.rects.reference[d],w=Uo(i),C=w?d==="y"?w.clientHeight||0:w.clientWidth||0:0,k=f/2-b/2,y=u[h],S=C-m[p]-u[g],E=C/2-m[p]/2+k,N=Ko(y,E,S),O=d;t.modifiersData[o]=(e={},e[O]=N,e.centerOffset=N-E,e)}}function aw(r){var e=r.state,t=r.options,o=t.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||nu(e.elements.popper,n)&&(e.elements.arrow=n))}const sw={name:"arrow",enabled:!0,phase:"main",fn:iw,effect:aw,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function to(r){return r.split("-")[1]}var lw={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dw(r,e){var t=r.x,o=r.y,n=e.devicePixelRatio||1;return{x:$r(t*n)/n||0,y:$r(o*n)/n||0}}function du(r){var e,t=r.popper,o=r.popperRect,n=r.placement,i=r.variation,a=r.offsets,l=r.position,d=r.gpuAcceleration,c=r.adaptive,p=r.roundOffsets,u=r.isFixed,m=a.x,h=m===void 0?0:m,g=a.y,f=g===void 0?0:g,b=typeof p=="function"?p({x:h,y:f}):{x:h,y:f};h=b.x,f=b.y;var w=a.hasOwnProperty("x"),C=a.hasOwnProperty("y"),k=_e,y=Re,S=window;if(c){var E=Uo(t),N="clientHeight",O="clientWidth";if(E===je(t)&&(E=er(t),Bt(E).position!=="static"&&l==="absolute"&&(N="scrollHeight",O="scrollWidth")),E=E,n===Re||(n===_e||n===Qe)&&i===Wo){y=Ye;var A=u&&E===S&&S.visualViewport?S.visualViewport.height:E[N];f-=A-o.height,f*=d?1:-1}if(n===_e||(n===Re||n===Ye)&&i===Wo){k=Qe;var v=u&&E===S&&S.visualViewport?S.visualViewport.width:E[O];h-=v-o.width,h*=d?1:-1}}var x=Object.assign({position:l},c&&lw),V=p===!0?dw({x:h,y:f},je(t)):{x:h,y:f};if(h=V.x,f=V.y,d){var z;return Object.assign({},x,(z={},z[y]=C?"0":"",z[k]=w?"0":"",z.transform=(S.devicePixelRatio||1)<=1?"translate("+h+"px, "+f+"px)":"translate3d("+h+"px, "+f+"px, 0)",z))}return Object.assign({},x,(e={},e[y]=C?f+"px":"",e[k]=w?h+"px":"",e.transform="",e))}function cw(r){var e=r.state,t=r.options,o=t.gpuAcceleration,n=o===void 0?!0:o,i=t.adaptive,a=i===void 0?!0:i,l=t.roundOffsets,d=l===void 0?!0:l,c={placement:mt(e.placement),variation:to(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,du(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:d})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,du(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const pw={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cw,data:{}};var hi={passive:!0};function uw(r){var e=r.state,t=r.instance,o=r.options,n=o.scroll,i=n===void 0?!0:n,a=o.resize,l=a===void 0?!0:a,d=je(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach(function(p){p.addEventListener("scroll",t.update,hi)}),l&&d.addEventListener("resize",t.update,hi),function(){i&&c.forEach(function(p){p.removeEventListener("scroll",t.update,hi)}),l&&d.removeEventListener("resize",t.update,hi)}}const mw={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:uw,data:{}};var hw={left:"right",right:"left",bottom:"top",top:"bottom"};function gi(r){return r.replace(/left|right|bottom|top/g,function(e){return hw[e]})}var gw={start:"end",end:"start"};function cu(r){return r.replace(/start|end/g,function(e){return gw[e]})}function Fs(r){var e=je(r),t=e.pageXOffset,o=e.pageYOffset;return{scrollLeft:t,scrollTop:o}}function Hs(r){return eo(er(r)).left+Fs(r).scrollLeft}function fw(r,e){var t=je(r),o=er(r),n=t.visualViewport,i=o.clientWidth,a=o.clientHeight,l=0,d=0;if(n){i=n.width,a=n.height;var c=ou();(c||!c&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:i,height:a,x:l+Hs(r),y:d}}function bw(r){var e,t=er(r),o=Fs(r),n=(e=r.ownerDocument)==null?void 0:e.body,i=Cr(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=Cr(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),l=-o.scrollLeft+Hs(r),d=-o.scrollTop;return Bt(n||t).direction==="rtl"&&(l+=Cr(t.clientWidth,n?n.clientWidth:0)-i),{width:i,height:a,x:l,y:d}}function js(r){var e=Bt(r),t=e.overflow,o=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+n+o)}function pu(r){return["html","body","#document"].indexOf(ut(r))>=0?r.ownerDocument.body:Xe(r)&&js(r)?r:pu(mi(r))}function Go(r,e){var t;e===void 0&&(e=[]);var o=pu(r),n=o===((t=r.ownerDocument)==null?void 0:t.body),i=je(o),a=n?[i].concat(i.visualViewport||[],js(o)?o:[]):o,l=e.concat(a);return n?l:l.concat(Go(mi(a)))}function Ws(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function yw(r,e){var t=eo(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 uu(r,e,t){return e===$p?Ws(fw(r,t)):Er(e)?yw(e,t):Ws(bw(er(r)))}function ww(r){var e=Go(mi(r)),t=["absolute","fixed"].indexOf(Bt(r).position)>=0,o=t&&Xe(r)?Uo(r):r;return Er(o)?e.filter(function(n){return Er(n)&&nu(n,o)&&ut(n)!=="body"}):[]}function xw(r,e,t,o){var n=e==="clippingParents"?ww(r):[].concat(e),i=[].concat(n,[t]),a=i[0],l=i.reduce(function(d,c){var p=uu(r,c,o);return d.top=Cr(p.top,d.top),d.right=ui(p.right,d.right),d.bottom=ui(p.bottom,d.bottom),d.left=Cr(p.left,d.left),d},uu(r,a,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function mu(r){var e=r.reference,t=r.element,o=r.placement,n=o?mt(o):null,i=o?to(o):null,a=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,d;switch(n){case Re:d={x:a,y:e.y-t.height};break;case Ye:d={x:a,y:e.y+e.height};break;case Qe:d={x:e.x+e.width,y:l};break;case _e:d={x:e.x-t.width,y:l};break;default:d={x:e.x,y:e.y}}var c=n?zs(n):null;if(c!=null){var p=c==="y"?"height":"width";switch(i){case Zr:d[c]=d[c]-(e[p]/2-t[p]/2);break;case Wo:d[c]=d[c]+(e[p]/2-t[p]/2);break}}return d}function Jo(r,e){e===void 0&&(e={});var t=e,o=t.placement,n=o===void 0?r.placement:o,i=t.strategy,a=i===void 0?r.strategy:i,l=t.boundary,d=l===void 0?Hy:l,c=t.rootBoundary,p=c===void 0?$p:c,u=t.elementContext,m=u===void 0?qo:u,h=t.altBoundary,g=h===void 0?!1:h,f=t.padding,b=f===void 0?0:f,w=su(typeof b!="number"?b:lu(b,jo)),C=m===qo?jy:qo,k=r.rects.popper,y=r.elements[g?C:m],S=xw(Er(y)?y:y.contextElement||er(r.elements.popper),d,p,a),E=eo(r.elements.reference),N=mu({reference:E,element:k,placement:n}),O=Ws(Object.assign({},k,N)),A=m===qo?O:E,v={top:S.top-A.top+w.top,bottom:A.bottom-S.bottom+w.bottom,left:S.left-A.left+w.left,right:A.right-S.right+w.right},x=r.modifiersData.offset;if(m===qo&&x){var V=x[n];Object.keys(v).forEach(function(z){var ee=[Qe,Ye].indexOf(z)>=0?1:-1,te=[Re,Ye].indexOf(z)>=0?"y":"x";v[z]+=V[te]*ee})}return v}function vw(r,e){e===void 0&&(e={});var t=e,o=t.placement,n=t.boundary,i=t.rootBoundary,a=t.padding,l=t.flipVariations,d=t.allowedAutoPlacements,c=d===void 0?tu:d,p=to(o),u=p?l?eu:eu.filter(function(g){return to(g)===p}):jo,m=u.filter(function(g){return c.indexOf(g)>=0});m.length===0&&(m=u);var h=m.reduce(function(g,f){return g[f]=Jo(r,{placement:f,boundary:n,rootBoundary:i,padding:a})[mt(f)],g},{});return Object.keys(h).sort(function(g,f){return h[g]-h[f]})}function kw(r){if(mt(r)===Is)return[];var e=gi(r);return[cu(r),e,cu(e)]}function Ew(r){var e=r.state,t=r.options,o=r.name;if(!e.modifiersData[o]._skip){for(var n=t.mainAxis,i=n===void 0?!0:n,a=t.altAxis,l=a===void 0?!0:a,d=t.fallbackPlacements,c=t.padding,p=t.boundary,u=t.rootBoundary,m=t.altBoundary,h=t.flipVariations,g=h===void 0?!0:h,f=t.allowedAutoPlacements,b=e.options.placement,w=mt(b),C=w===b,k=d||(C||!g?[gi(b)]:kw(b)),y=[b].concat(k).reduce(function(At,at){return At.concat(mt(at)===Is?vw(e,{placement:at,boundary:p,rootBoundary:u,padding:c,flipVariations:g,allowedAutoPlacements:f}):at)},[]),S=e.rects.reference,E=e.rects.popper,N=new Map,O=!0,A=y[0],v=0;v<y.length;v++){var x=y[v],V=mt(x),z=to(x)===Zr,ee=[Re,Ye].indexOf(V)>=0,te=ee?"width":"height",K=Jo(e,{placement:x,boundary:p,rootBoundary:u,altBoundary:m,padding:c}),F=ee?z?Qe:_e:z?Ye:Re;S[te]>E[te]&&(F=gi(F));var Z=gi(F),oe=[];if(i&&oe.push(K[V]<=0),l&&oe.push(K[F]<=0,K[Z]<=0),oe.every(function(At){return At})){A=x,O=!1;break}N.set(x,oe)}if(O)for(var yt=g?3:1,Tr=function(at){var Dt=y.find(function(po){var It=N.get(po);if(It)return It.slice(0,at).every(function(uo){return uo})});if(Dt)return A=Dt,"break"},wt=yt;wt>0;wt--){var Or=Tr(wt);if(Or==="break")break}e.placement!==A&&(e.modifiersData[o]._skip=!0,e.placement=A,e.reset=!0)}}const Cw={name:"flip",enabled:!0,phase:"main",fn:Ew,requiresIfExists:["offset"],data:{_skip:!1}};function hu(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 gu(r){return[Re,Qe,Ye,_e].some(function(e){return r[e]>=0})}function Sw(r){var e=r.state,t=r.name,o=e.rects.reference,n=e.rects.popper,i=e.modifiersData.preventOverflow,a=Jo(e,{elementContext:"reference"}),l=Jo(e,{altBoundary:!0}),d=hu(a,o),c=hu(l,n,i),p=gu(d),u=gu(c);e.modifiersData[t]={referenceClippingOffsets:d,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}const Nw={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Sw};function Mw(r,e,t){var o=mt(r),n=[_e,Re].indexOf(o)>=0?-1:1,i=typeof t=="function"?t(Object.assign({},e,{placement:r})):t,a=i[0],l=i[1];return a=a||0,l=(l||0)*n,[_e,Qe].indexOf(o)>=0?{x:l,y:a}:{x:a,y:l}}function Bw(r){var e=r.state,t=r.options,o=r.name,n=t.offset,i=n===void 0?[0,0]:n,a=tu.reduce(function(p,u){return p[u]=Mw(u,e.rects,i),p},{}),l=a[e.placement],d=l.x,c=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=c),e.modifiersData[o]=a}const Tw={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Bw};function Ow(r){var e=r.state,t=r.name;e.modifiersData[t]=mu({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const Vw={name:"popperOffsets",enabled:!0,phase:"read",fn:Ow,data:{}};function Pw(r){return r==="x"?"y":"x"}function Aw(r){var e=r.state,t=r.options,o=r.name,n=t.mainAxis,i=n===void 0?!0:n,a=t.altAxis,l=a===void 0?!1:a,d=t.boundary,c=t.rootBoundary,p=t.altBoundary,u=t.padding,m=t.tether,h=m===void 0?!0:m,g=t.tetherOffset,f=g===void 0?0:g,b=Jo(e,{boundary:d,rootBoundary:c,padding:u,altBoundary:p}),w=mt(e.placement),C=to(e.placement),k=!C,y=zs(w),S=Pw(y),E=e.modifiersData.popperOffsets,N=e.rects.reference,O=e.rects.popper,A=typeof f=="function"?f(Object.assign({},e.rects,{placement:e.placement})):f,v=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),x=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(E){if(i){var z,ee=y==="y"?Re:_e,te=y==="y"?Ye:Qe,K=y==="y"?"height":"width",F=E[y],Z=F+b[ee],oe=F-b[te],yt=h?-O[K]/2:0,Tr=C===Zr?N[K]:O[K],wt=C===Zr?-O[K]:-N[K],Or=e.elements.arrow,At=h&&Or?_s(Or):{width:0,height:0},at=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:au(),Dt=at[ee],po=at[te],It=Ko(0,N[K],At[K]),uo=k?N[K]/2-yt-It-Dt-v.mainAxis:Tr-It-Dt-v.mainAxis,ir=k?-N[K]/2+yt+It+po+v.mainAxis:wt+It+po+v.mainAxis,mo=e.elements.arrow&&Uo(e.elements.arrow),ia=mo?y==="y"?mo.clientTop||0:mo.clientLeft||0:0,gn=(z=x==null?void 0:x[y])!=null?z:0,aa=F+uo-gn-ia,sa=F+ir-gn,fn=Ko(h?ui(Z,aa):Z,F,h?Cr(oe,sa):oe);E[y]=fn,V[y]=fn-F}if(l){var bn,la=y==="x"?Re:_e,da=y==="x"?Ye:Qe,Lt=E[S],ar=S==="y"?"height":"width",yn=Lt+b[la],Vr=Lt-b[da],wn=[Re,_e].indexOf(w)!==-1,ca=(bn=x==null?void 0:x[S])!=null?bn:0,pa=wn?yn:Lt-N[ar]-O[ar]-ca+v.altAxis,ua=wn?Lt+N[ar]+O[ar]-ca-v.altAxis:Vr,ma=h&&wn?ow(pa,Lt,ua):Ko(h?pa:yn,Lt,h?ua:Vr);E[S]=ma,V[S]=ma-Lt}e.modifiersData[o]=V}}const Dw={name:"preventOverflow",enabled:!0,phase:"main",fn:Aw,requiresIfExists:["offset"]};function Iw(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function Lw(r){return r===je(r)||!Xe(r)?Fs(r):Iw(r)}function Rw(r){var e=r.getBoundingClientRect(),t=$r(e.width)/r.offsetWidth||1,o=$r(e.height)/r.offsetHeight||1;return t!==1||o!==1}function _w(r,e,t){t===void 0&&(t=!1);var o=Xe(e),n=Xe(e)&&Rw(e),i=er(e),a=eo(r,n,t),l={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!t)&&((ut(e)!=="body"||js(i))&&(l=Lw(e)),Xe(e)?(d=eo(e,!0),d.x+=e.clientLeft,d.y+=e.clientTop):i&&(d.x=Hs(i))),{x:a.left+l.scrollLeft-d.x,y:a.top+l.scrollTop-d.y,width:a.width,height:a.height}}function zw(r){var e=new Map,t=new Set,o=[];r.forEach(function(i){e.set(i.name,i)});function n(i){t.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(l){if(!t.has(l)){var d=e.get(l);d&&n(d)}}),o.push(i)}return r.forEach(function(i){t.has(i.name)||n(i)}),o}function Fw(r){var e=zw(r);return Zy.reduce(function(t,o){return t.concat(e.filter(function(n){return n.phase===o}))},[])}function Hw(r){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(r())})})),e}}function jw(r){var e=r.reduce(function(t,o){var n=t[o.name];return t[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,t},{});return Object.keys(e).map(function(t){return e[t]})}var fu={placement:"bottom",modifiers:[],strategy:"absolute"};function bu(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return!e.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Ww(r){r===void 0&&(r={});var e=r,t=e.defaultModifiers,o=t===void 0?[]:t,n=e.defaultOptions,i=n===void 0?fu:n;return function(l,d,c){c===void 0&&(c=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},fu,i),modifiersData:{},elements:{reference:l,popper:d},attributes:{},styles:{}},u=[],m=!1,h={state:p,setOptions:function(w){var C=typeof w=="function"?w(p.options):w;f(),p.options=Object.assign({},i,p.options,C),p.scrollParents={reference:Er(l)?Go(l):l.contextElement?Go(l.contextElement):[],popper:Go(d)};var k=Fw(jw([].concat(o,p.options.modifiers)));return p.orderedModifiers=k.filter(function(y){return y.enabled}),g(),h.update()},forceUpdate:function(){if(!m){var w=p.elements,C=w.reference,k=w.popper;if(bu(C,k)){p.rects={reference:_w(C,Uo(k),p.options.strategy==="fixed"),popper:_s(k)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(v){return p.modifiersData[v.name]=Object.assign({},v.data)});for(var y=0;y<p.orderedModifiers.length;y++){if(p.reset===!0){p.reset=!1,y=-1;continue}var S=p.orderedModifiers[y],E=S.fn,N=S.options,O=N===void 0?{}:N,A=S.name;typeof E=="function"&&(p=E({state:p,options:O,name:A,instance:h})||p)}}}},update:Hw(function(){return new Promise(function(b){h.forceUpdate(),b(p)})}),destroy:function(){f(),m=!0}};if(!bu(l,d))return h;h.setOptions(c).then(function(b){!m&&c.onFirstUpdate&&c.onFirstUpdate(b)});function g(){p.orderedModifiers.forEach(function(b){var w=b.name,C=b.options,k=C===void 0?{}:C,y=b.effect;if(typeof y=="function"){var S=y({state:p,name:w,instance:h,options:k}),E=function(){};u.push(S||E)}})}function f(){u.forEach(function(b){return b()}),u=[]}return h}}var qw=[mw,Vw,pw,ru,Tw,Cw,Dw,sw,Nw],Uw=Ww({defaultModifiers:qw}),Kw="tippy-box",yu="tippy-content",Gw="tippy-backdrop",wu="tippy-arrow",xu="tippy-svg-arrow",Sr={passive:!0,capture:!0},vu=function(){return document.body};function Jw(r,e){return{}.hasOwnProperty.call(r,e)}function qs(r,e,t){if(Array.isArray(r)){var o=r[e];return o??(Array.isArray(t)?t[e]:t)}return r}function Us(r,e){var t={}.toString.call(r);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function ku(r,e){return typeof r=="function"?r.apply(void 0,e):r}function Eu(r,e){if(e===0)return r;var t;return function(o){clearTimeout(t),t=setTimeout(function(){r(o)},e)}}function Yw(r,e){var t=Object.assign({},r);return e.forEach(function(o){delete t[o]}),t}function Qw(r){return r.split(/\s+/).filter(Boolean)}function ro(r){return[].concat(r)}function Cu(r,e){r.indexOf(e)===-1&&r.push(e)}function Xw(r){return r.filter(function(e,t){return r.indexOf(e)===t})}function Zw(r){return r.split("-")[0]}function fi(r){return[].slice.call(r)}function Su(r){return Object.keys(r).reduce(function(e,t){return r[t]!==void 0&&(e[t]=r[t]),e},{})}function Yo(){return document.createElement("div")}function Qo(r){return["Element","Fragment"].some(function(e){return Us(r,e)})}function $w(r){return Us(r,"NodeList")}function e1(r){return Us(r,"MouseEvent")}function t1(r){return!!(r&&r._tippy&&r._tippy.reference===r)}function r1(r){return Qo(r)?[r]:$w(r)?fi(r):Array.isArray(r)?r:fi(document.querySelectorAll(r))}function Ks(r,e){r.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function Nu(r,e){r.forEach(function(t){t&&t.setAttribute("data-state",e)})}function o1(r){var e,t=ro(r),o=t[0];return o!=null&&(e=o.ownerDocument)!=null&&e.body?o.ownerDocument:document}function n1(r,e){var t=e.clientX,o=e.clientY;return r.every(function(n){var i=n.popperRect,a=n.popperState,l=n.props,d=l.interactiveBorder,c=Zw(a.placement),p=a.modifiersData.offset;if(!p)return!0;var u=c==="bottom"?p.top.y:0,m=c==="top"?p.bottom.y:0,h=c==="right"?p.left.x:0,g=c==="left"?p.right.x:0,f=i.top-o+u>d,b=o-i.bottom-m>d,w=i.left-t+h>d,C=t-i.right-g>d;return f||b||w||C})}function Gs(r,e,t){var o=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(n){r[o](n,t)})}function Mu(r,e){for(var t=e;t;){var o;if(r.contains(t))return!0;t=t.getRootNode==null||(o=t.getRootNode())==null?void 0:o.host}return!1}var ht={isTouch:!1},Bu=0;function i1(){ht.isTouch||(ht.isTouch=!0,window.performance&&document.addEventListener("mousemove",Tu))}function Tu(){var r=performance.now();r-Bu<20&&(ht.isTouch=!1,document.removeEventListener("mousemove",Tu)),Bu=r}function a1(){var r=document.activeElement;if(t1(r)){var e=r._tippy;r.blur&&!e.state.isVisible&&r.blur()}}function s1(){document.addEventListener("touchstart",i1,Sr),window.addEventListener("blur",a1)}var l1=typeof window<"u"&&typeof document<"u",d1=l1?!!window.msCrypto:!1;function oo(r){var e=r==="destroy"?"n already-":" ";return[r+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Ou(r){var e=/[ \t]{2,}/g,t=/^[ \t]*/gm;return r.replace(e," ").replace(t,"").trim()}function c1(r){return Ou(`
99
+ `,textSerializers:o={}}=e||{};return Gp(this.state.doc,{blockSeparator:t,textSerializers:{...Cs(this.schema),...o}})}get isEmpty(){return Ps(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(!((e=this.view)===null||e===void 0)&&e.docView)}$node(e,t){var o;return((o=this.$doc)===null||o===void 0?void 0:o.querySelector(e,t))||null}$nodes(e,t){var o;return((o=this.$doc)===null||o===void 0?void 0:o.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new vr(t,this)}get $doc(){return this.$pos(0)}};function Xr(r){return new oi({find:r.find,handler:({state:e,range:t,match:o})=>{const n=W(r.getAttributes,void 0,o);if(n===!1||n===null)return null;const{tr:i}=e,a=o[o.length-1],l=o[0];if(a){const d=l.search(/\S/),c=t.from+l.indexOf(a),p=c+a.length;if(Os(t.from,t.to,e.doc).filter(h=>h.mark.type.excluded.find(f=>f===r.type&&f!==h.mark.type)).filter(h=>h.to>c).length)return null;p<t.to&&i.delete(p,t.to),c>t.from&&i.delete(t.from+d,c);const m=t.from+d+a.length;i.addMark(t.from+d,m,r.type.create(n||{})),i.removeStoredMark(r.type)}}})}function Fy(r){return new oi({find:r.find,handler:({state:e,range:t,match:o})=>{const n=W(r.getAttributes,void 0,o)||{},{tr:i}=e,a=t.from;let l=t.to;const d=r.type.create(n);if(o[1]){const c=o[0].lastIndexOf(o[1]);let p=a+c;p>l?p=l:l=p+o[1].length;const u=o[0][o[0].length-1];i.insertText(u,a+o[0].length-1),i.replaceWith(p,l,d)}else if(o[0]){const c=r.type.isInline?a:a-1;i.insert(c,r.type.create(n)).delete(i.mapping.map(a),i.mapping.map(l))}i.scrollIntoView()}})}function Is(r){return new oi({find:r.find,handler:({state:e,range:t,match:o})=>{const n=e.doc.resolve(t.from),i=W(r.getAttributes,void 0,o)||{};if(!n.node(-1).canReplaceWith(n.index(-1),n.indexAfter(-1),r.type))return null;e.tr.delete(t.from,t.to).setBlockType(t.from,t.from,r.type,i)}})}function Ho(r){return new oi({find:r.find,handler:({state:e,range:t,match:o,chain:n})=>{const i=W(r.getAttributes,void 0,o)||{},a=e.tr.delete(t.from,t.to),d=a.doc.resolve(t.from).blockRange(),c=d&&Ia(d,r.type,i);if(!c)return null;if(a.wrap(d,c),r.keepMarks&&r.editor){const{selection:u,storedMarks:m}=e,{splittableMarks:h}=r.editor.extensionManager,g=m||u.$to.parentOffset&&u.$from.marks();if(g){const f=g.filter(b=>h.includes(b.type.name));a.ensureMarks(f)}}if(r.keepAttributes){const u=r.type.name==="bulletList"||r.type.name==="orderedList"?"listItem":"taskList";n().updateAttributes(u,i).run()}const p=a.doc.resolve(t.from-1).nodeBefore;p&&p.type===r.type&&Wt(a.doc,t.from-1)&&(!r.joinPredicate||r.joinPredicate(o,p))&&a.join(t.from-1)}})}let ot=class Rl{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=W(D(this,"addOptions",{name:this.name}))),this.storage=W(D(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Rl(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>ai(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new Rl(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=W(D(t,"addOptions",{name:t.name})),t.storage=W(D(t,"addStorage",{name:t.name,options:t.options})),t}};function kr(r){return new mb({find:r.find,handler:({state:e,range:t,match:o,pasteEvent:n})=>{const i=W(r.getAttributes,void 0,o,n);if(i===!1||i===null)return null;const{tr:a}=e,l=o[o.length-1],d=o[0];let c=t.to;if(l){const p=d.search(/\S/),u=t.from+d.indexOf(l),m=u+l.length;if(Os(t.from,t.to,e.doc).filter(g=>g.mark.type.excluded.find(b=>b===r.type&&b!==g.mark.type)).filter(g=>g.to>u).length)return null;m<t.to&&a.delete(m,t.to),u>t.from&&a.delete(t.from+p,u),c=t.from+p+l.length,a.addMark(t.from+p,c,r.type.create(i||{})),a.removeStoredMark(r.type)}}})}var Re="top",Ye="bottom",Qe="right",_e="left",Ls="auto",jo=[Re,Ye,Qe,_e],Zr="start",Wo="end",Hy="clippingParents",$p="viewport",qo="popper",jy="reference",eu=jo.reduce(function(r,e){return r.concat([e+"-"+Zr,e+"-"+Wo])},[]),tu=[].concat(jo,[Ls]).reduce(function(r,e){return r.concat([e,e+"-"+Zr,e+"-"+Wo])},[]),Wy="beforeRead",qy="read",Uy="afterRead",Ky="beforeMain",Gy="main",Jy="afterMain",Yy="beforeWrite",Qy="write",Xy="afterWrite",Zy=[Wy,qy,Uy,Ky,Gy,Jy,Yy,Qy,Xy];function ut(r){return r?(r.nodeName||"").toLowerCase():null}function je(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var e=r.ownerDocument;return e&&e.defaultView||window}return r}function Er(r){var e=je(r).Element;return r instanceof e||r instanceof Element}function Xe(r){var e=je(r).HTMLElement;return r instanceof e||r instanceof HTMLElement}function Rs(r){if(typeof ShadowRoot>"u")return!1;var e=je(r).ShadowRoot;return r instanceof e||r instanceof ShadowRoot}function $y(r){var e=r.state;Object.keys(e.elements).forEach(function(t){var o=e.styles[t]||{},n=e.attributes[t]||{},i=e.elements[t];!Xe(i)||!ut(i)||(Object.assign(i.style,o),Object.keys(n).forEach(function(a){var l=n[a];l===!1?i.removeAttribute(a):i.setAttribute(a,l===!0?"":l)}))})}function ew(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(o){var n=e.elements[o],i=e.attributes[o]||{},a=Object.keys(e.styles.hasOwnProperty(o)?e.styles[o]:t[o]),l=a.reduce(function(d,c){return d[c]="",d},{});!Xe(n)||!ut(n)||(Object.assign(n.style,l),Object.keys(i).forEach(function(d){n.removeAttribute(d)}))})}}const ru={name:"applyStyles",enabled:!0,phase:"write",fn:$y,effect:ew,requires:["computeStyles"]};function mt(r){return r.split("-")[0]}var Cr=Math.max,ui=Math.min,$r=Math.round;function _s(){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 ou(){return!/^((?!chrome|android).)*safari/i.test(_s())}function eo(r,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var o=r.getBoundingClientRect(),n=1,i=1;e&&Xe(r)&&(n=r.offsetWidth>0&&$r(o.width)/r.offsetWidth||1,i=r.offsetHeight>0&&$r(o.height)/r.offsetHeight||1);var a=Er(r)?je(r):window,l=a.visualViewport,d=!ou()&&t,c=(o.left+(d&&l?l.offsetLeft:0))/n,p=(o.top+(d&&l?l.offsetTop:0))/i,u=o.width/n,m=o.height/i;return{width:u,height:m,top:p,right:c+u,bottom:p+m,left:c,x:c,y:p}}function zs(r){var e=eo(r),t=r.offsetWidth,o=r.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:r.offsetLeft,y:r.offsetTop,width:t,height:o}}function nu(r,e){var t=e.getRootNode&&e.getRootNode();if(r.contains(e))return!0;if(t&&Rs(t)){var o=e;do{if(o&&r.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Bt(r){return je(r).getComputedStyle(r)}function tw(r){return["table","td","th"].indexOf(ut(r))>=0}function er(r){return((Er(r)?r.ownerDocument:r.document)||window.document).documentElement}function mi(r){return ut(r)==="html"?r:r.assignedSlot||r.parentNode||(Rs(r)?r.host:null)||er(r)}function iu(r){return!Xe(r)||Bt(r).position==="fixed"?null:r.offsetParent}function rw(r){var e=/firefox/i.test(_s()),t=/Trident/i.test(_s());if(t&&Xe(r)){var o=Bt(r);if(o.position==="fixed")return null}var n=mi(r);for(Rs(n)&&(n=n.host);Xe(n)&&["html","body"].indexOf(ut(n))<0;){var i=Bt(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 Uo(r){for(var e=je(r),t=iu(r);t&&tw(t)&&Bt(t).position==="static";)t=iu(t);return t&&(ut(t)==="html"||ut(t)==="body"&&Bt(t).position==="static")?e:t||rw(r)||e}function Fs(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function Ko(r,e,t){return Cr(r,ui(e,t))}function ow(r,e,t){var o=Ko(r,e,t);return o>t?t:o}function au(){return{top:0,right:0,bottom:0,left:0}}function su(r){return Object.assign({},au(),r)}function lu(r,e){return e.reduce(function(t,o){return t[o]=r,t},{})}var nw=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,su(typeof e!="number"?e:lu(e,jo))};function iw(r){var e,t=r.state,o=r.name,n=r.options,i=t.elements.arrow,a=t.modifiersData.popperOffsets,l=mt(t.placement),d=Fs(l),c=[_e,Qe].indexOf(l)>=0,p=c?"height":"width";if(!(!i||!a)){var u=nw(n.padding,t),m=zs(i),h=d==="y"?Re:_e,g=d==="y"?Ye:Qe,f=t.rects.reference[p]+t.rects.reference[d]-a[d]-t.rects.popper[p],b=a[d]-t.rects.reference[d],w=Uo(i),C=w?d==="y"?w.clientHeight||0:w.clientWidth||0:0,k=f/2-b/2,y=u[h],S=C-m[p]-u[g],E=C/2-m[p]/2+k,N=Ko(y,E,S),O=d;t.modifiersData[o]=(e={},e[O]=N,e.centerOffset=N-E,e)}}function aw(r){var e=r.state,t=r.options,o=t.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||nu(e.elements.popper,n)&&(e.elements.arrow=n))}const sw={name:"arrow",enabled:!0,phase:"main",fn:iw,effect:aw,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function to(r){return r.split("-")[1]}var lw={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dw(r,e){var t=r.x,o=r.y,n=e.devicePixelRatio||1;return{x:$r(t*n)/n||0,y:$r(o*n)/n||0}}function du(r){var e,t=r.popper,o=r.popperRect,n=r.placement,i=r.variation,a=r.offsets,l=r.position,d=r.gpuAcceleration,c=r.adaptive,p=r.roundOffsets,u=r.isFixed,m=a.x,h=m===void 0?0:m,g=a.y,f=g===void 0?0:g,b=typeof p=="function"?p({x:h,y:f}):{x:h,y:f};h=b.x,f=b.y;var w=a.hasOwnProperty("x"),C=a.hasOwnProperty("y"),k=_e,y=Re,S=window;if(c){var E=Uo(t),N="clientHeight",O="clientWidth";if(E===je(t)&&(E=er(t),Bt(E).position!=="static"&&l==="absolute"&&(N="scrollHeight",O="scrollWidth")),E=E,n===Re||(n===_e||n===Qe)&&i===Wo){y=Ye;var A=u&&E===S&&S.visualViewport?S.visualViewport.height:E[N];f-=A-o.height,f*=d?1:-1}if(n===_e||(n===Re||n===Ye)&&i===Wo){k=Qe;var v=u&&E===S&&S.visualViewport?S.visualViewport.width:E[O];h-=v-o.width,h*=d?1:-1}}var x=Object.assign({position:l},c&&lw),V=p===!0?dw({x:h,y:f},je(t)):{x:h,y:f};if(h=V.x,f=V.y,d){var z;return Object.assign({},x,(z={},z[y]=C?"0":"",z[k]=w?"0":"",z.transform=(S.devicePixelRatio||1)<=1?"translate("+h+"px, "+f+"px)":"translate3d("+h+"px, "+f+"px, 0)",z))}return Object.assign({},x,(e={},e[y]=C?f+"px":"",e[k]=w?h+"px":"",e.transform="",e))}function cw(r){var e=r.state,t=r.options,o=t.gpuAcceleration,n=o===void 0?!0:o,i=t.adaptive,a=i===void 0?!0:i,l=t.roundOffsets,d=l===void 0?!0:l,c={placement:mt(e.placement),variation:to(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,du(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:d})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,du(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const pw={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cw,data:{}};var hi={passive:!0};function uw(r){var e=r.state,t=r.instance,o=r.options,n=o.scroll,i=n===void 0?!0:n,a=o.resize,l=a===void 0?!0:a,d=je(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach(function(p){p.addEventListener("scroll",t.update,hi)}),l&&d.addEventListener("resize",t.update,hi),function(){i&&c.forEach(function(p){p.removeEventListener("scroll",t.update,hi)}),l&&d.removeEventListener("resize",t.update,hi)}}const mw={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:uw,data:{}};var hw={left:"right",right:"left",bottom:"top",top:"bottom"};function gi(r){return r.replace(/left|right|bottom|top/g,function(e){return hw[e]})}var gw={start:"end",end:"start"};function cu(r){return r.replace(/start|end/g,function(e){return gw[e]})}function Hs(r){var e=je(r),t=e.pageXOffset,o=e.pageYOffset;return{scrollLeft:t,scrollTop:o}}function js(r){return eo(er(r)).left+Hs(r).scrollLeft}function fw(r,e){var t=je(r),o=er(r),n=t.visualViewport,i=o.clientWidth,a=o.clientHeight,l=0,d=0;if(n){i=n.width,a=n.height;var c=ou();(c||!c&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:i,height:a,x:l+js(r),y:d}}function bw(r){var e,t=er(r),o=Hs(r),n=(e=r.ownerDocument)==null?void 0:e.body,i=Cr(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=Cr(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),l=-o.scrollLeft+js(r),d=-o.scrollTop;return Bt(n||t).direction==="rtl"&&(l+=Cr(t.clientWidth,n?n.clientWidth:0)-i),{width:i,height:a,x:l,y:d}}function Ws(r){var e=Bt(r),t=e.overflow,o=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+n+o)}function pu(r){return["html","body","#document"].indexOf(ut(r))>=0?r.ownerDocument.body:Xe(r)&&Ws(r)?r:pu(mi(r))}function Go(r,e){var t;e===void 0&&(e=[]);var o=pu(r),n=o===((t=r.ownerDocument)==null?void 0:t.body),i=je(o),a=n?[i].concat(i.visualViewport||[],Ws(o)?o:[]):o,l=e.concat(a);return n?l:l.concat(Go(mi(a)))}function qs(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function yw(r,e){var t=eo(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 uu(r,e,t){return e===$p?qs(fw(r,t)):Er(e)?yw(e,t):qs(bw(er(r)))}function ww(r){var e=Go(mi(r)),t=["absolute","fixed"].indexOf(Bt(r).position)>=0,o=t&&Xe(r)?Uo(r):r;return Er(o)?e.filter(function(n){return Er(n)&&nu(n,o)&&ut(n)!=="body"}):[]}function xw(r,e,t,o){var n=e==="clippingParents"?ww(r):[].concat(e),i=[].concat(n,[t]),a=i[0],l=i.reduce(function(d,c){var p=uu(r,c,o);return d.top=Cr(p.top,d.top),d.right=ui(p.right,d.right),d.bottom=ui(p.bottom,d.bottom),d.left=Cr(p.left,d.left),d},uu(r,a,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function mu(r){var e=r.reference,t=r.element,o=r.placement,n=o?mt(o):null,i=o?to(o):null,a=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,d;switch(n){case Re:d={x:a,y:e.y-t.height};break;case Ye:d={x:a,y:e.y+e.height};break;case Qe:d={x:e.x+e.width,y:l};break;case _e:d={x:e.x-t.width,y:l};break;default:d={x:e.x,y:e.y}}var c=n?Fs(n):null;if(c!=null){var p=c==="y"?"height":"width";switch(i){case Zr:d[c]=d[c]-(e[p]/2-t[p]/2);break;case Wo:d[c]=d[c]+(e[p]/2-t[p]/2);break}}return d}function Jo(r,e){e===void 0&&(e={});var t=e,o=t.placement,n=o===void 0?r.placement:o,i=t.strategy,a=i===void 0?r.strategy:i,l=t.boundary,d=l===void 0?Hy:l,c=t.rootBoundary,p=c===void 0?$p:c,u=t.elementContext,m=u===void 0?qo:u,h=t.altBoundary,g=h===void 0?!1:h,f=t.padding,b=f===void 0?0:f,w=su(typeof b!="number"?b:lu(b,jo)),C=m===qo?jy:qo,k=r.rects.popper,y=r.elements[g?C:m],S=xw(Er(y)?y:y.contextElement||er(r.elements.popper),d,p,a),E=eo(r.elements.reference),N=mu({reference:E,element:k,placement:n}),O=qs(Object.assign({},k,N)),A=m===qo?O:E,v={top:S.top-A.top+w.top,bottom:A.bottom-S.bottom+w.bottom,left:S.left-A.left+w.left,right:A.right-S.right+w.right},x=r.modifiersData.offset;if(m===qo&&x){var V=x[n];Object.keys(v).forEach(function(z){var ee=[Qe,Ye].indexOf(z)>=0?1:-1,te=[Re,Ye].indexOf(z)>=0?"y":"x";v[z]+=V[te]*ee})}return v}function vw(r,e){e===void 0&&(e={});var t=e,o=t.placement,n=t.boundary,i=t.rootBoundary,a=t.padding,l=t.flipVariations,d=t.allowedAutoPlacements,c=d===void 0?tu:d,p=to(o),u=p?l?eu:eu.filter(function(g){return to(g)===p}):jo,m=u.filter(function(g){return c.indexOf(g)>=0});m.length===0&&(m=u);var h=m.reduce(function(g,f){return g[f]=Jo(r,{placement:f,boundary:n,rootBoundary:i,padding:a})[mt(f)],g},{});return Object.keys(h).sort(function(g,f){return h[g]-h[f]})}function kw(r){if(mt(r)===Ls)return[];var e=gi(r);return[cu(r),e,cu(e)]}function Ew(r){var e=r.state,t=r.options,o=r.name;if(!e.modifiersData[o]._skip){for(var n=t.mainAxis,i=n===void 0?!0:n,a=t.altAxis,l=a===void 0?!0:a,d=t.fallbackPlacements,c=t.padding,p=t.boundary,u=t.rootBoundary,m=t.altBoundary,h=t.flipVariations,g=h===void 0?!0:h,f=t.allowedAutoPlacements,b=e.options.placement,w=mt(b),C=w===b,k=d||(C||!g?[gi(b)]:kw(b)),y=[b].concat(k).reduce(function(At,at){return At.concat(mt(at)===Ls?vw(e,{placement:at,boundary:p,rootBoundary:u,padding:c,flipVariations:g,allowedAutoPlacements:f}):at)},[]),S=e.rects.reference,E=e.rects.popper,N=new Map,O=!0,A=y[0],v=0;v<y.length;v++){var x=y[v],V=mt(x),z=to(x)===Zr,ee=[Re,Ye].indexOf(V)>=0,te=ee?"width":"height",K=Jo(e,{placement:x,boundary:p,rootBoundary:u,altBoundary:m,padding:c}),F=ee?z?Qe:_e:z?Ye:Re;S[te]>E[te]&&(F=gi(F));var Z=gi(F),oe=[];if(i&&oe.push(K[V]<=0),l&&oe.push(K[F]<=0,K[Z]<=0),oe.every(function(At){return At})){A=x,O=!1;break}N.set(x,oe)}if(O)for(var yt=g?3:1,Tr=function(at){var Dt=y.find(function(po){var It=N.get(po);if(It)return It.slice(0,at).every(function(uo){return uo})});if(Dt)return A=Dt,"break"},wt=yt;wt>0;wt--){var Or=Tr(wt);if(Or==="break")break}e.placement!==A&&(e.modifiersData[o]._skip=!0,e.placement=A,e.reset=!0)}}const Cw={name:"flip",enabled:!0,phase:"main",fn:Ew,requiresIfExists:["offset"],data:{_skip:!1}};function hu(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 gu(r){return[Re,Qe,Ye,_e].some(function(e){return r[e]>=0})}function Sw(r){var e=r.state,t=r.name,o=e.rects.reference,n=e.rects.popper,i=e.modifiersData.preventOverflow,a=Jo(e,{elementContext:"reference"}),l=Jo(e,{altBoundary:!0}),d=hu(a,o),c=hu(l,n,i),p=gu(d),u=gu(c);e.modifiersData[t]={referenceClippingOffsets:d,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}const Nw={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Sw};function Mw(r,e,t){var o=mt(r),n=[_e,Re].indexOf(o)>=0?-1:1,i=typeof t=="function"?t(Object.assign({},e,{placement:r})):t,a=i[0],l=i[1];return a=a||0,l=(l||0)*n,[_e,Qe].indexOf(o)>=0?{x:l,y:a}:{x:a,y:l}}function Bw(r){var e=r.state,t=r.options,o=r.name,n=t.offset,i=n===void 0?[0,0]:n,a=tu.reduce(function(p,u){return p[u]=Mw(u,e.rects,i),p},{}),l=a[e.placement],d=l.x,c=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=c),e.modifiersData[o]=a}const Tw={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Bw};function Ow(r){var e=r.state,t=r.name;e.modifiersData[t]=mu({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const Vw={name:"popperOffsets",enabled:!0,phase:"read",fn:Ow,data:{}};function Pw(r){return r==="x"?"y":"x"}function Aw(r){var e=r.state,t=r.options,o=r.name,n=t.mainAxis,i=n===void 0?!0:n,a=t.altAxis,l=a===void 0?!1:a,d=t.boundary,c=t.rootBoundary,p=t.altBoundary,u=t.padding,m=t.tether,h=m===void 0?!0:m,g=t.tetherOffset,f=g===void 0?0:g,b=Jo(e,{boundary:d,rootBoundary:c,padding:u,altBoundary:p}),w=mt(e.placement),C=to(e.placement),k=!C,y=Fs(w),S=Pw(y),E=e.modifiersData.popperOffsets,N=e.rects.reference,O=e.rects.popper,A=typeof f=="function"?f(Object.assign({},e.rects,{placement:e.placement})):f,v=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),x=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(E){if(i){var z,ee=y==="y"?Re:_e,te=y==="y"?Ye:Qe,K=y==="y"?"height":"width",F=E[y],Z=F+b[ee],oe=F-b[te],yt=h?-O[K]/2:0,Tr=C===Zr?N[K]:O[K],wt=C===Zr?-O[K]:-N[K],Or=e.elements.arrow,At=h&&Or?zs(Or):{width:0,height:0},at=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:au(),Dt=at[ee],po=at[te],It=Ko(0,N[K],At[K]),uo=k?N[K]/2-yt-It-Dt-v.mainAxis:Tr-It-Dt-v.mainAxis,ir=k?-N[K]/2+yt+It+po+v.mainAxis:wt+It+po+v.mainAxis,mo=e.elements.arrow&&Uo(e.elements.arrow),ia=mo?y==="y"?mo.clientTop||0:mo.clientLeft||0:0,gn=(z=x==null?void 0:x[y])!=null?z:0,aa=F+uo-gn-ia,sa=F+ir-gn,fn=Ko(h?ui(Z,aa):Z,F,h?Cr(oe,sa):oe);E[y]=fn,V[y]=fn-F}if(l){var bn,la=y==="x"?Re:_e,da=y==="x"?Ye:Qe,Lt=E[S],ar=S==="y"?"height":"width",yn=Lt+b[la],Vr=Lt-b[da],wn=[Re,_e].indexOf(w)!==-1,ca=(bn=x==null?void 0:x[S])!=null?bn:0,pa=wn?yn:Lt-N[ar]-O[ar]-ca+v.altAxis,ua=wn?Lt+N[ar]+O[ar]-ca-v.altAxis:Vr,ma=h&&wn?ow(pa,Lt,ua):Ko(h?pa:yn,Lt,h?ua:Vr);E[S]=ma,V[S]=ma-Lt}e.modifiersData[o]=V}}const Dw={name:"preventOverflow",enabled:!0,phase:"main",fn:Aw,requiresIfExists:["offset"]};function Iw(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function Lw(r){return r===je(r)||!Xe(r)?Hs(r):Iw(r)}function Rw(r){var e=r.getBoundingClientRect(),t=$r(e.width)/r.offsetWidth||1,o=$r(e.height)/r.offsetHeight||1;return t!==1||o!==1}function _w(r,e,t){t===void 0&&(t=!1);var o=Xe(e),n=Xe(e)&&Rw(e),i=er(e),a=eo(r,n,t),l={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!t)&&((ut(e)!=="body"||Ws(i))&&(l=Lw(e)),Xe(e)?(d=eo(e,!0),d.x+=e.clientLeft,d.y+=e.clientTop):i&&(d.x=js(i))),{x:a.left+l.scrollLeft-d.x,y:a.top+l.scrollTop-d.y,width:a.width,height:a.height}}function zw(r){var e=new Map,t=new Set,o=[];r.forEach(function(i){e.set(i.name,i)});function n(i){t.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(l){if(!t.has(l)){var d=e.get(l);d&&n(d)}}),o.push(i)}return r.forEach(function(i){t.has(i.name)||n(i)}),o}function Fw(r){var e=zw(r);return Zy.reduce(function(t,o){return t.concat(e.filter(function(n){return n.phase===o}))},[])}function Hw(r){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(r())})})),e}}function jw(r){var e=r.reduce(function(t,o){var n=t[o.name];return t[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,t},{});return Object.keys(e).map(function(t){return e[t]})}var fu={placement:"bottom",modifiers:[],strategy:"absolute"};function bu(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return!e.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Ww(r){r===void 0&&(r={});var e=r,t=e.defaultModifiers,o=t===void 0?[]:t,n=e.defaultOptions,i=n===void 0?fu:n;return function(l,d,c){c===void 0&&(c=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},fu,i),modifiersData:{},elements:{reference:l,popper:d},attributes:{},styles:{}},u=[],m=!1,h={state:p,setOptions:function(w){var C=typeof w=="function"?w(p.options):w;f(),p.options=Object.assign({},i,p.options,C),p.scrollParents={reference:Er(l)?Go(l):l.contextElement?Go(l.contextElement):[],popper:Go(d)};var k=Fw(jw([].concat(o,p.options.modifiers)));return p.orderedModifiers=k.filter(function(y){return y.enabled}),g(),h.update()},forceUpdate:function(){if(!m){var w=p.elements,C=w.reference,k=w.popper;if(bu(C,k)){p.rects={reference:_w(C,Uo(k),p.options.strategy==="fixed"),popper:zs(k)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(v){return p.modifiersData[v.name]=Object.assign({},v.data)});for(var y=0;y<p.orderedModifiers.length;y++){if(p.reset===!0){p.reset=!1,y=-1;continue}var S=p.orderedModifiers[y],E=S.fn,N=S.options,O=N===void 0?{}:N,A=S.name;typeof E=="function"&&(p=E({state:p,options:O,name:A,instance:h})||p)}}}},update:Hw(function(){return new Promise(function(b){h.forceUpdate(),b(p)})}),destroy:function(){f(),m=!0}};if(!bu(l,d))return h;h.setOptions(c).then(function(b){!m&&c.onFirstUpdate&&c.onFirstUpdate(b)});function g(){p.orderedModifiers.forEach(function(b){var w=b.name,C=b.options,k=C===void 0?{}:C,y=b.effect;if(typeof y=="function"){var S=y({state:p,name:w,instance:h,options:k}),E=function(){};u.push(S||E)}})}function f(){u.forEach(function(b){return b()}),u=[]}return h}}var qw=[mw,Vw,pw,ru,Tw,Cw,Dw,sw,Nw],Uw=Ww({defaultModifiers:qw}),Kw="tippy-box",yu="tippy-content",Gw="tippy-backdrop",wu="tippy-arrow",xu="tippy-svg-arrow",Sr={passive:!0,capture:!0},vu=function(){return document.body};function Jw(r,e){return{}.hasOwnProperty.call(r,e)}function Us(r,e,t){if(Array.isArray(r)){var o=r[e];return o??(Array.isArray(t)?t[e]:t)}return r}function Ks(r,e){var t={}.toString.call(r);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function ku(r,e){return typeof r=="function"?r.apply(void 0,e):r}function Eu(r,e){if(e===0)return r;var t;return function(o){clearTimeout(t),t=setTimeout(function(){r(o)},e)}}function Yw(r,e){var t=Object.assign({},r);return e.forEach(function(o){delete t[o]}),t}function Qw(r){return r.split(/\s+/).filter(Boolean)}function ro(r){return[].concat(r)}function Cu(r,e){r.indexOf(e)===-1&&r.push(e)}function Xw(r){return r.filter(function(e,t){return r.indexOf(e)===t})}function Zw(r){return r.split("-")[0]}function fi(r){return[].slice.call(r)}function Su(r){return Object.keys(r).reduce(function(e,t){return r[t]!==void 0&&(e[t]=r[t]),e},{})}function Yo(){return document.createElement("div")}function Qo(r){return["Element","Fragment"].some(function(e){return Ks(r,e)})}function $w(r){return Ks(r,"NodeList")}function e1(r){return Ks(r,"MouseEvent")}function t1(r){return!!(r&&r._tippy&&r._tippy.reference===r)}function r1(r){return Qo(r)?[r]:$w(r)?fi(r):Array.isArray(r)?r:fi(document.querySelectorAll(r))}function Gs(r,e){r.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function Nu(r,e){r.forEach(function(t){t&&t.setAttribute("data-state",e)})}function o1(r){var e,t=ro(r),o=t[0];return o!=null&&(e=o.ownerDocument)!=null&&e.body?o.ownerDocument:document}function n1(r,e){var t=e.clientX,o=e.clientY;return r.every(function(n){var i=n.popperRect,a=n.popperState,l=n.props,d=l.interactiveBorder,c=Zw(a.placement),p=a.modifiersData.offset;if(!p)return!0;var u=c==="bottom"?p.top.y:0,m=c==="top"?p.bottom.y:0,h=c==="right"?p.left.x:0,g=c==="left"?p.right.x:0,f=i.top-o+u>d,b=o-i.bottom-m>d,w=i.left-t+h>d,C=t-i.right-g>d;return f||b||w||C})}function Js(r,e,t){var o=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(n){r[o](n,t)})}function Mu(r,e){for(var t=e;t;){var o;if(r.contains(t))return!0;t=t.getRootNode==null||(o=t.getRootNode())==null?void 0:o.host}return!1}var ht={isTouch:!1},Bu=0;function i1(){ht.isTouch||(ht.isTouch=!0,window.performance&&document.addEventListener("mousemove",Tu))}function Tu(){var r=performance.now();r-Bu<20&&(ht.isTouch=!1,document.removeEventListener("mousemove",Tu)),Bu=r}function a1(){var r=document.activeElement;if(t1(r)){var e=r._tippy;r.blur&&!e.state.isVisible&&r.blur()}}function s1(){document.addEventListener("touchstart",i1,Sr),window.addEventListener("blur",a1)}var l1=typeof window<"u"&&typeof document<"u",d1=l1?!!window.msCrypto:!1;function oo(r){var e=r==="destroy"?"n already-":" ";return[r+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Ou(r){var e=/[ \t]{2,}/g,t=/^[ \t]*/gm;return r.replace(e," ").replace(t,"").trim()}function c1(r){return Ou(`
100
100
  %ctippy.js
101
101
 
102
102
  %c`+Ou(r)+`
103
103
 
104
104
  %c👷‍ This is a development-only message. It will be removed in production.
105
- `)}function Vu(r){return[c1(r),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Xo;process.env.NODE_ENV!=="production"&&p1();function p1(){Xo=new Set}function Tt(r,e){if(r&&!Xo.has(e)){var t;Xo.add(e),(t=console).warn.apply(t,Vu(e))}}function Js(r,e){if(r&&!Xo.has(e)){var t;Xo.add(e),(t=console).error.apply(t,Vu(e))}}function u1(r){var e=!r,t=Object.prototype.toString.call(r)==="[object Object]"&&!r.addEventListener;Js(e,["tippy() was passed","`"+String(r)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Js(t,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var Pu={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},m1={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},We=Object.assign({appendTo:vu,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Pu,m1),h1=Object.keys(We),g1=function(e){process.env.NODE_ENV!=="production"&&Iu(e,[]);var t=Object.keys(e);t.forEach(function(o){We[o]=e[o]})};function Au(r){var e=r.plugins||[],t=e.reduce(function(o,n){var i=n.name,a=n.defaultValue;if(i){var l;o[i]=r[i]!==void 0?r[i]:(l=We[i])!=null?l:a}return o},{});return Object.assign({},r,t)}function f1(r,e){var t=e?Object.keys(Au(Object.assign({},We,{plugins:e}))):h1,o=t.reduce(function(n,i){var a=(r.getAttribute("data-tippy-"+i)||"").trim();if(!a)return n;if(i==="content")n[i]=a;else try{n[i]=JSON.parse(a)}catch{n[i]=a}return n},{});return o}function Du(r,e){var t=Object.assign({},e,{content:ku(e.content,[r])},e.ignoreAttributes?{}:f1(r,e.plugins));return t.aria=Object.assign({},We.aria,t.aria),t.aria={expanded:t.aria.expanded==="auto"?e.interactive:t.aria.expanded,content:t.aria.content==="auto"?e.interactive?null:"describedby":t.aria.content},t}function Iu(r,e){r===void 0&&(r={}),e===void 0&&(e=[]);var t=Object.keys(r);t.forEach(function(o){var n=Yw(We,Object.keys(Pu)),i=!Jw(n,o);i&&(i=e.filter(function(a){return a.name===o}).length===0),Tt(i,["`"+o+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
105
+ `)}function Vu(r){return[c1(r),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Xo;process.env.NODE_ENV!=="production"&&p1();function p1(){Xo=new Set}function Tt(r,e){if(r&&!Xo.has(e)){var t;Xo.add(e),(t=console).warn.apply(t,Vu(e))}}function Ys(r,e){if(r&&!Xo.has(e)){var t;Xo.add(e),(t=console).error.apply(t,Vu(e))}}function u1(r){var e=!r,t=Object.prototype.toString.call(r)==="[object Object]"&&!r.addEventListener;Ys(e,["tippy() was passed","`"+String(r)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Ys(t,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var Pu={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},m1={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},We=Object.assign({appendTo:vu,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Pu,m1),h1=Object.keys(We),g1=function(e){process.env.NODE_ENV!=="production"&&Iu(e,[]);var t=Object.keys(e);t.forEach(function(o){We[o]=e[o]})};function Au(r){var e=r.plugins||[],t=e.reduce(function(o,n){var i=n.name,a=n.defaultValue;if(i){var l;o[i]=r[i]!==void 0?r[i]:(l=We[i])!=null?l:a}return o},{});return Object.assign({},r,t)}function f1(r,e){var t=e?Object.keys(Au(Object.assign({},We,{plugins:e}))):h1,o=t.reduce(function(n,i){var a=(r.getAttribute("data-tippy-"+i)||"").trim();if(!a)return n;if(i==="content")n[i]=a;else try{n[i]=JSON.parse(a)}catch{n[i]=a}return n},{});return o}function Du(r,e){var t=Object.assign({},e,{content:ku(e.content,[r])},e.ignoreAttributes?{}:f1(r,e.plugins));return t.aria=Object.assign({},We.aria,t.aria),t.aria={expanded:t.aria.expanded==="auto"?e.interactive:t.aria.expanded,content:t.aria.content==="auto"?e.interactive?null:"describedby":t.aria.content},t}function Iu(r,e){r===void 0&&(r={}),e===void 0&&(e=[]);var t=Object.keys(r);t.forEach(function(o){var n=Yw(We,Object.keys(Pu)),i=!Jw(n,o);i&&(i=e.filter(function(a){return a.name===o}).length===0),Tt(i,["`"+o+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
106
106
 
107
107
  `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
108
- `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var b1=function(){return"innerHTML"};function Ys(r,e){r[b1()]=e}function Lu(r){var e=Yo();return r===!0?e.className=wu:(e.className=xu,Qo(r)?e.appendChild(r):Ys(e,r)),e}function Ru(r,e){Qo(e.content)?(Ys(r,""),r.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?Ys(r,e.content):r.textContent=e.content)}function Qs(r){var e=r.firstElementChild,t=fi(e.children);return{box:e,content:t.find(function(o){return o.classList.contains(yu)}),arrow:t.find(function(o){return o.classList.contains(wu)||o.classList.contains(xu)}),backdrop:t.find(function(o){return o.classList.contains(Gw)})}}function _u(r){var e=Yo(),t=Yo();t.className=Kw,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var o=Yo();o.className=yu,o.setAttribute("data-state","hidden"),Ru(o,r.props),e.appendChild(t),t.appendChild(o),n(r.props,r.props);function n(i,a){var l=Qs(e),d=l.box,c=l.content,p=l.arrow;a.theme?d.setAttribute("data-theme",a.theme):d.removeAttribute("data-theme"),typeof a.animation=="string"?d.setAttribute("data-animation",a.animation):d.removeAttribute("data-animation"),a.inertia?d.setAttribute("data-inertia",""):d.removeAttribute("data-inertia"),d.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?d.setAttribute("role",a.role):d.removeAttribute("role"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&Ru(c,r.props),a.arrow?p?i.arrow!==a.arrow&&(d.removeChild(p),d.appendChild(Lu(a.arrow))):d.appendChild(Lu(a.arrow)):p&&d.removeChild(p)}return{popper:e,onUpdate:n}}_u.$$tippy=!0;var y1=1,bi=[],Xs=[];function w1(r,e){var t=Du(r,Object.assign({},We,Au(Su(e)))),o,n,i,a=!1,l=!1,d=!1,c=!1,p,u,m,h=[],g=Eu(aa,t.interactiveDebounce),f,b=y1++,w=null,C=Xw(t.plugins),k={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:b,reference:r,popper:Yo(),popperInstance:w,props:t,state:k,plugins:C,clearDelayTimeouts:pa,setProps:ua,setContent:ma,show:q6,hide:U6,hideWithInteractivity:K6,enable:wn,disable:ca,unmount:G6,destroy:J6};if(!t.render)return process.env.NODE_ENV!=="production"&&Js(!0,"render() function has not been supplied."),y;var S=t.render(y),E=S.popper,N=S.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+y.id,y.popper=E,r._tippy=y,E._tippy=y;var O=C.map(function(M){return M.fn(y)}),A=r.hasAttribute("aria-expanded");return mo(),yt(),F(),Z("onCreate",[y]),t.showOnCreate&&yn(),E.addEventListener("mouseenter",function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()}),E.addEventListener("mouseleave",function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&ee().addEventListener("mousemove",g)}),y;function v(){var M=y.props.touch;return Array.isArray(M)?M:[M,0]}function x(){return v()[0]==="hold"}function V(){var M;return!!((M=y.props.render)!=null&&M.$$tippy)}function z(){return f||r}function ee(){var M=z().parentNode;return M?o1(M):document}function te(){return Qs(E)}function K(M){return y.state.isMounted&&!y.state.isVisible||ht.isTouch||p&&p.type==="focus"?0:qs(y.props.delay,M?0:1,We.delay)}function F(M){M===void 0&&(M=!1),E.style.pointerEvents=y.props.interactive&&!M?"":"none",E.style.zIndex=""+y.props.zIndex}function Z(M,I,R){if(R===void 0&&(R=!0),O.forEach(function(G){G[M]&&G[M].apply(G,I)}),R){var J;(J=y.props)[M].apply(J,I)}}function oe(){var M=y.props.aria;if(M.content){var I="aria-"+M.content,R=E.id,J=ro(y.props.triggerTarget||r);J.forEach(function(G){var Ie=G.getAttribute(I);if(y.state.isVisible)G.setAttribute(I,Ie?Ie+" "+R:R);else{var et=Ie&&Ie.replace(R,"").trim();et?G.setAttribute(I,et):G.removeAttribute(I)}})}}function yt(){if(!(A||!y.props.aria.expanded)){var M=ro(y.props.triggerTarget||r);M.forEach(function(I){y.props.interactive?I.setAttribute("aria-expanded",y.state.isVisible&&I===z()?"true":"false"):I.removeAttribute("aria-expanded")})}}function Tr(){ee().removeEventListener("mousemove",g),bi=bi.filter(function(M){return M!==g})}function wt(M){if(!(ht.isTouch&&(d||M.type==="mousedown"))){var I=M.composedPath&&M.composedPath()[0]||M.target;if(!(y.props.interactive&&Mu(E,I))){if(ro(y.props.triggerTarget||r).some(function(R){return Mu(R,I)})){if(ht.isTouch||y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else Z("onClickOutside",[y,M]);y.props.hideOnClick===!0&&(y.clearDelayTimeouts(),y.hide(),l=!0,setTimeout(function(){l=!1}),y.state.isMounted||Dt())}}}function Or(){d=!0}function At(){d=!1}function at(){var M=ee();M.addEventListener("mousedown",wt,!0),M.addEventListener("touchend",wt,Sr),M.addEventListener("touchstart",At,Sr),M.addEventListener("touchmove",Or,Sr)}function Dt(){var M=ee();M.removeEventListener("mousedown",wt,!0),M.removeEventListener("touchend",wt,Sr),M.removeEventListener("touchstart",At,Sr),M.removeEventListener("touchmove",Or,Sr)}function po(M,I){uo(M,function(){!y.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&I()})}function It(M,I){uo(M,I)}function uo(M,I){var R=te().box;function J(G){G.target===R&&(Gs(R,"remove",J),I())}if(M===0)return I();Gs(R,"remove",u),Gs(R,"add",J),u=J}function ir(M,I,R){R===void 0&&(R=!1);var J=ro(y.props.triggerTarget||r);J.forEach(function(G){G.addEventListener(M,I,R),h.push({node:G,eventType:M,handler:I,options:R})})}function mo(){x()&&(ir("touchstart",gn,{passive:!0}),ir("touchend",sa,{passive:!0})),Qw(y.props.trigger).forEach(function(M){if(M!=="manual")switch(ir(M,gn),M){case"mouseenter":ir("mouseleave",sa);break;case"focus":ir(d1?"focusout":"blur",fn);break;case"focusin":ir("focusout",fn);break}})}function ia(){h.forEach(function(M){var I=M.node,R=M.eventType,J=M.handler,G=M.options;I.removeEventListener(R,J,G)}),h=[]}function gn(M){var I,R=!1;if(!(!y.state.isEnabled||bn(M)||l)){var J=((I=p)==null?void 0:I.type)==="focus";p=M,f=M.currentTarget,yt(),!y.state.isVisible&&e1(M)&&bi.forEach(function(G){return G(M)}),M.type==="click"&&(y.props.trigger.indexOf("mouseenter")<0||a)&&y.props.hideOnClick!==!1&&y.state.isVisible?R=!0:yn(M),M.type==="click"&&(a=!R),R&&!J&&Vr(M)}}function aa(M){var I=M.target,R=z().contains(I)||E.contains(I);if(!(M.type==="mousemove"&&R)){var J=ar().concat(E).map(function(G){var Ie,et=G._tippy,ho=(Ie=et.popperInstance)==null?void 0:Ie.state;return ho?{popperRect:G.getBoundingClientRect(),popperState:ho,props:t}:null}).filter(Boolean);n1(J,M)&&(Tr(),Vr(M))}}function sa(M){var I=bn(M)||y.props.trigger.indexOf("click")>=0&&a;if(!I){if(y.props.interactive){y.hideWithInteractivity(M);return}Vr(M)}}function fn(M){y.props.trigger.indexOf("focusin")<0&&M.target!==z()||y.props.interactive&&M.relatedTarget&&E.contains(M.relatedTarget)||Vr(M)}function bn(M){return ht.isTouch?x()!==M.type.indexOf("touch")>=0:!1}function la(){da();var M=y.props,I=M.popperOptions,R=M.placement,J=M.offset,G=M.getReferenceClientRect,Ie=M.moveTransition,et=V()?Qs(E).arrow:null,ho=G?{getBoundingClientRect:G,contextElement:G.contextElement||z()}:r,Am={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(ha){var go=ha.state;if(V()){var Y6=te(),Vl=Y6.box;["placement","reference-hidden","escaped"].forEach(function(ga){ga==="placement"?Vl.setAttribute("data-placement",go.placement):go.attributes.popper["data-popper-"+ga]?Vl.setAttribute("data-"+ga,""):Vl.removeAttribute("data-"+ga)}),go.attributes.popper={}}}},Pr=[{name:"offset",options:{offset:J}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ie}},Am];V()&&et&&Pr.push({name:"arrow",options:{element:et,padding:3}}),Pr.push.apply(Pr,(I==null?void 0:I.modifiers)||[]),y.popperInstance=Uw(ho,E,Object.assign({},I,{placement:R,onFirstUpdate:m,modifiers:Pr}))}function da(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Lt(){var M=y.props.appendTo,I,R=z();y.props.interactive&&M===vu||M==="parent"?I=R.parentNode:I=ku(M,[R]),I.contains(E)||I.appendChild(E),y.state.isMounted=!0,la(),process.env.NODE_ENV!=="production"&&Tt(y.props.interactive&&M===We.appendTo&&R.nextElementSibling!==E,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
108
+ `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var b1=function(){return"innerHTML"};function Qs(r,e){r[b1()]=e}function Lu(r){var e=Yo();return r===!0?e.className=wu:(e.className=xu,Qo(r)?e.appendChild(r):Qs(e,r)),e}function Ru(r,e){Qo(e.content)?(Qs(r,""),r.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?Qs(r,e.content):r.textContent=e.content)}function Xs(r){var e=r.firstElementChild,t=fi(e.children);return{box:e,content:t.find(function(o){return o.classList.contains(yu)}),arrow:t.find(function(o){return o.classList.contains(wu)||o.classList.contains(xu)}),backdrop:t.find(function(o){return o.classList.contains(Gw)})}}function _u(r){var e=Yo(),t=Yo();t.className=Kw,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var o=Yo();o.className=yu,o.setAttribute("data-state","hidden"),Ru(o,r.props),e.appendChild(t),t.appendChild(o),n(r.props,r.props);function n(i,a){var l=Xs(e),d=l.box,c=l.content,p=l.arrow;a.theme?d.setAttribute("data-theme",a.theme):d.removeAttribute("data-theme"),typeof a.animation=="string"?d.setAttribute("data-animation",a.animation):d.removeAttribute("data-animation"),a.inertia?d.setAttribute("data-inertia",""):d.removeAttribute("data-inertia"),d.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?d.setAttribute("role",a.role):d.removeAttribute("role"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&Ru(c,r.props),a.arrow?p?i.arrow!==a.arrow&&(d.removeChild(p),d.appendChild(Lu(a.arrow))):d.appendChild(Lu(a.arrow)):p&&d.removeChild(p)}return{popper:e,onUpdate:n}}_u.$$tippy=!0;var y1=1,bi=[],Zs=[];function w1(r,e){var t=Du(r,Object.assign({},We,Au(Su(e)))),o,n,i,a=!1,l=!1,d=!1,c=!1,p,u,m,h=[],g=Eu(aa,t.interactiveDebounce),f,b=y1++,w=null,C=Xw(t.plugins),k={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:b,reference:r,popper:Yo(),popperInstance:w,props:t,state:k,plugins:C,clearDelayTimeouts:pa,setProps:ua,setContent:ma,show:q6,hide:U6,hideWithInteractivity:K6,enable:wn,disable:ca,unmount:G6,destroy:J6};if(!t.render)return process.env.NODE_ENV!=="production"&&Ys(!0,"render() function has not been supplied."),y;var S=t.render(y),E=S.popper,N=S.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+y.id,y.popper=E,r._tippy=y,E._tippy=y;var O=C.map(function(M){return M.fn(y)}),A=r.hasAttribute("aria-expanded");return mo(),yt(),F(),Z("onCreate",[y]),t.showOnCreate&&yn(),E.addEventListener("mouseenter",function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()}),E.addEventListener("mouseleave",function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&ee().addEventListener("mousemove",g)}),y;function v(){var M=y.props.touch;return Array.isArray(M)?M:[M,0]}function x(){return v()[0]==="hold"}function V(){var M;return!!((M=y.props.render)!=null&&M.$$tippy)}function z(){return f||r}function ee(){var M=z().parentNode;return M?o1(M):document}function te(){return Xs(E)}function K(M){return y.state.isMounted&&!y.state.isVisible||ht.isTouch||p&&p.type==="focus"?0:Us(y.props.delay,M?0:1,We.delay)}function F(M){M===void 0&&(M=!1),E.style.pointerEvents=y.props.interactive&&!M?"":"none",E.style.zIndex=""+y.props.zIndex}function Z(M,I,R){if(R===void 0&&(R=!0),O.forEach(function(G){G[M]&&G[M].apply(G,I)}),R){var J;(J=y.props)[M].apply(J,I)}}function oe(){var M=y.props.aria;if(M.content){var I="aria-"+M.content,R=E.id,J=ro(y.props.triggerTarget||r);J.forEach(function(G){var Ie=G.getAttribute(I);if(y.state.isVisible)G.setAttribute(I,Ie?Ie+" "+R:R);else{var et=Ie&&Ie.replace(R,"").trim();et?G.setAttribute(I,et):G.removeAttribute(I)}})}}function yt(){if(!(A||!y.props.aria.expanded)){var M=ro(y.props.triggerTarget||r);M.forEach(function(I){y.props.interactive?I.setAttribute("aria-expanded",y.state.isVisible&&I===z()?"true":"false"):I.removeAttribute("aria-expanded")})}}function Tr(){ee().removeEventListener("mousemove",g),bi=bi.filter(function(M){return M!==g})}function wt(M){if(!(ht.isTouch&&(d||M.type==="mousedown"))){var I=M.composedPath&&M.composedPath()[0]||M.target;if(!(y.props.interactive&&Mu(E,I))){if(ro(y.props.triggerTarget||r).some(function(R){return Mu(R,I)})){if(ht.isTouch||y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else Z("onClickOutside",[y,M]);y.props.hideOnClick===!0&&(y.clearDelayTimeouts(),y.hide(),l=!0,setTimeout(function(){l=!1}),y.state.isMounted||Dt())}}}function Or(){d=!0}function At(){d=!1}function at(){var M=ee();M.addEventListener("mousedown",wt,!0),M.addEventListener("touchend",wt,Sr),M.addEventListener("touchstart",At,Sr),M.addEventListener("touchmove",Or,Sr)}function Dt(){var M=ee();M.removeEventListener("mousedown",wt,!0),M.removeEventListener("touchend",wt,Sr),M.removeEventListener("touchstart",At,Sr),M.removeEventListener("touchmove",Or,Sr)}function po(M,I){uo(M,function(){!y.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&I()})}function It(M,I){uo(M,I)}function uo(M,I){var R=te().box;function J(G){G.target===R&&(Js(R,"remove",J),I())}if(M===0)return I();Js(R,"remove",u),Js(R,"add",J),u=J}function ir(M,I,R){R===void 0&&(R=!1);var J=ro(y.props.triggerTarget||r);J.forEach(function(G){G.addEventListener(M,I,R),h.push({node:G,eventType:M,handler:I,options:R})})}function mo(){x()&&(ir("touchstart",gn,{passive:!0}),ir("touchend",sa,{passive:!0})),Qw(y.props.trigger).forEach(function(M){if(M!=="manual")switch(ir(M,gn),M){case"mouseenter":ir("mouseleave",sa);break;case"focus":ir(d1?"focusout":"blur",fn);break;case"focusin":ir("focusout",fn);break}})}function ia(){h.forEach(function(M){var I=M.node,R=M.eventType,J=M.handler,G=M.options;I.removeEventListener(R,J,G)}),h=[]}function gn(M){var I,R=!1;if(!(!y.state.isEnabled||bn(M)||l)){var J=((I=p)==null?void 0:I.type)==="focus";p=M,f=M.currentTarget,yt(),!y.state.isVisible&&e1(M)&&bi.forEach(function(G){return G(M)}),M.type==="click"&&(y.props.trigger.indexOf("mouseenter")<0||a)&&y.props.hideOnClick!==!1&&y.state.isVisible?R=!0:yn(M),M.type==="click"&&(a=!R),R&&!J&&Vr(M)}}function aa(M){var I=M.target,R=z().contains(I)||E.contains(I);if(!(M.type==="mousemove"&&R)){var J=ar().concat(E).map(function(G){var Ie,et=G._tippy,ho=(Ie=et.popperInstance)==null?void 0:Ie.state;return ho?{popperRect:G.getBoundingClientRect(),popperState:ho,props:t}:null}).filter(Boolean);n1(J,M)&&(Tr(),Vr(M))}}function sa(M){var I=bn(M)||y.props.trigger.indexOf("click")>=0&&a;if(!I){if(y.props.interactive){y.hideWithInteractivity(M);return}Vr(M)}}function fn(M){y.props.trigger.indexOf("focusin")<0&&M.target!==z()||y.props.interactive&&M.relatedTarget&&E.contains(M.relatedTarget)||Vr(M)}function bn(M){return ht.isTouch?x()!==M.type.indexOf("touch")>=0:!1}function la(){da();var M=y.props,I=M.popperOptions,R=M.placement,J=M.offset,G=M.getReferenceClientRect,Ie=M.moveTransition,et=V()?Xs(E).arrow:null,ho=G?{getBoundingClientRect:G,contextElement:G.contextElement||z()}:r,Am={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(ha){var go=ha.state;if(V()){var Y6=te(),Pl=Y6.box;["placement","reference-hidden","escaped"].forEach(function(ga){ga==="placement"?Pl.setAttribute("data-placement",go.placement):go.attributes.popper["data-popper-"+ga]?Pl.setAttribute("data-"+ga,""):Pl.removeAttribute("data-"+ga)}),go.attributes.popper={}}}},Pr=[{name:"offset",options:{offset:J}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ie}},Am];V()&&et&&Pr.push({name:"arrow",options:{element:et,padding:3}}),Pr.push.apply(Pr,(I==null?void 0:I.modifiers)||[]),y.popperInstance=Uw(ho,E,Object.assign({},I,{placement:R,onFirstUpdate:m,modifiers:Pr}))}function da(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Lt(){var M=y.props.appendTo,I,R=z();y.props.interactive&&M===vu||M==="parent"?I=R.parentNode:I=ku(M,[R]),I.contains(E)||I.appendChild(E),y.state.isMounted=!0,la(),process.env.NODE_ENV!=="production"&&Tt(y.props.interactive&&M===We.appendTo&&R.nextElementSibling!==E,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
109
109
 
110
110
  `,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
111
111
 
112
112
  `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
113
113
 
114
- `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function ar(){return fi(E.querySelectorAll("[data-tippy-root]"))}function yn(M){y.clearDelayTimeouts(),M&&Z("onTrigger",[y,M]),at();var I=K(!0),R=v(),J=R[0],G=R[1];ht.isTouch&&J==="hold"&&G&&(I=G),I?o=setTimeout(function(){y.show()},I):y.show()}function Vr(M){if(y.clearDelayTimeouts(),Z("onUntrigger",[y,M]),!y.state.isVisible){Dt();return}if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(M.type)>=0&&a)){var I=K(!1);I?n=setTimeout(function(){y.state.isVisible&&y.hide()},I):i=requestAnimationFrame(function(){y.hide()})}}function wn(){y.state.isEnabled=!0}function ca(){y.hide(),y.state.isEnabled=!1}function pa(){clearTimeout(o),clearTimeout(n),cancelAnimationFrame(i)}function ua(M){if(process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("setProps")),!y.state.isDestroyed){Z("onBeforeUpdate",[y,M]),ia();var I=y.props,R=Du(r,Object.assign({},I,Su(M),{ignoreAttributes:!0}));y.props=R,mo(),I.interactiveDebounce!==R.interactiveDebounce&&(Tr(),g=Eu(aa,R.interactiveDebounce)),I.triggerTarget&&!R.triggerTarget?ro(I.triggerTarget).forEach(function(J){J.removeAttribute("aria-expanded")}):R.triggerTarget&&r.removeAttribute("aria-expanded"),yt(),F(),N&&N(I,R),y.popperInstance&&(la(),ar().forEach(function(J){requestAnimationFrame(J._tippy.popperInstance.forceUpdate)})),Z("onAfterUpdate",[y,M])}}function ma(M){y.setProps({content:M})}function q6(){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("show"));var M=y.state.isVisible,I=y.state.isDestroyed,R=!y.state.isEnabled,J=ht.isTouch&&!y.props.touch,G=qs(y.props.duration,0,We.duration);if(!(M||I||R||J)&&!z().hasAttribute("disabled")&&(Z("onShow",[y],!1),y.props.onShow(y)!==!1)){if(y.state.isVisible=!0,V()&&(E.style.visibility="visible"),F(),at(),y.state.isMounted||(E.style.transition="none"),V()){var Ie=te(),et=Ie.box,ho=Ie.content;Ks([et,ho],0)}m=function(){var Pr;if(!(!y.state.isVisible||c)){if(c=!0,E.offsetHeight,E.style.transition=y.props.moveTransition,V()&&y.props.animation){var Ol=te(),ha=Ol.box,go=Ol.content;Ks([ha,go],G),Nu([ha,go],"visible")}oe(),yt(),Cu(Xs,y),(Pr=y.popperInstance)==null||Pr.forceUpdate(),Z("onMount",[y]),y.props.animation&&V()&&It(G,function(){y.state.isShown=!0,Z("onShown",[y])})}},Lt()}}function U6(){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("hide"));var M=!y.state.isVisible,I=y.state.isDestroyed,R=!y.state.isEnabled,J=qs(y.props.duration,1,We.duration);if(!(M||I||R)&&(Z("onHide",[y],!1),y.props.onHide(y)!==!1)){if(y.state.isVisible=!1,y.state.isShown=!1,c=!1,a=!1,V()&&(E.style.visibility="hidden"),Tr(),Dt(),F(!0),V()){var G=te(),Ie=G.box,et=G.content;y.props.animation&&(Ks([Ie,et],J),Nu([Ie,et],"hidden"))}oe(),yt(),y.props.animation?V()&&po(J,y.unmount):y.unmount()}}function K6(M){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("hideWithInteractivity")),ee().addEventListener("mousemove",g),Cu(bi,g),g(M)}function G6(){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("unmount")),y.state.isVisible&&y.hide(),y.state.isMounted&&(da(),ar().forEach(function(M){M._tippy.unmount()}),E.parentNode&&E.parentNode.removeChild(E),Xs=Xs.filter(function(M){return M!==y}),y.state.isMounted=!1,Z("onHidden",[y]))}function J6(){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("destroy")),!y.state.isDestroyed&&(y.clearDelayTimeouts(),y.unmount(),ia(),delete r._tippy,y.state.isDestroyed=!0,Z("onDestroy",[y]))}}function no(r,e){e===void 0&&(e={});var t=We.plugins.concat(e.plugins||[]);process.env.NODE_ENV!=="production"&&(u1(r),Iu(e,t)),s1();var o=Object.assign({},e,{plugins:t}),n=r1(r);if(process.env.NODE_ENV!=="production"){var i=Qo(o.content),a=n.length>1;Tt(i&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
114
+ `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function ar(){return fi(E.querySelectorAll("[data-tippy-root]"))}function yn(M){y.clearDelayTimeouts(),M&&Z("onTrigger",[y,M]),at();var I=K(!0),R=v(),J=R[0],G=R[1];ht.isTouch&&J==="hold"&&G&&(I=G),I?o=setTimeout(function(){y.show()},I):y.show()}function Vr(M){if(y.clearDelayTimeouts(),Z("onUntrigger",[y,M]),!y.state.isVisible){Dt();return}if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(M.type)>=0&&a)){var I=K(!1);I?n=setTimeout(function(){y.state.isVisible&&y.hide()},I):i=requestAnimationFrame(function(){y.hide()})}}function wn(){y.state.isEnabled=!0}function ca(){y.hide(),y.state.isEnabled=!1}function pa(){clearTimeout(o),clearTimeout(n),cancelAnimationFrame(i)}function ua(M){if(process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("setProps")),!y.state.isDestroyed){Z("onBeforeUpdate",[y,M]),ia();var I=y.props,R=Du(r,Object.assign({},I,Su(M),{ignoreAttributes:!0}));y.props=R,mo(),I.interactiveDebounce!==R.interactiveDebounce&&(Tr(),g=Eu(aa,R.interactiveDebounce)),I.triggerTarget&&!R.triggerTarget?ro(I.triggerTarget).forEach(function(J){J.removeAttribute("aria-expanded")}):R.triggerTarget&&r.removeAttribute("aria-expanded"),yt(),F(),N&&N(I,R),y.popperInstance&&(la(),ar().forEach(function(J){requestAnimationFrame(J._tippy.popperInstance.forceUpdate)})),Z("onAfterUpdate",[y,M])}}function ma(M){y.setProps({content:M})}function q6(){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("show"));var M=y.state.isVisible,I=y.state.isDestroyed,R=!y.state.isEnabled,J=ht.isTouch&&!y.props.touch,G=Us(y.props.duration,0,We.duration);if(!(M||I||R||J)&&!z().hasAttribute("disabled")&&(Z("onShow",[y],!1),y.props.onShow(y)!==!1)){if(y.state.isVisible=!0,V()&&(E.style.visibility="visible"),F(),at(),y.state.isMounted||(E.style.transition="none"),V()){var Ie=te(),et=Ie.box,ho=Ie.content;Gs([et,ho],0)}m=function(){var Pr;if(!(!y.state.isVisible||c)){if(c=!0,E.offsetHeight,E.style.transition=y.props.moveTransition,V()&&y.props.animation){var Vl=te(),ha=Vl.box,go=Vl.content;Gs([ha,go],G),Nu([ha,go],"visible")}oe(),yt(),Cu(Zs,y),(Pr=y.popperInstance)==null||Pr.forceUpdate(),Z("onMount",[y]),y.props.animation&&V()&&It(G,function(){y.state.isShown=!0,Z("onShown",[y])})}},Lt()}}function U6(){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("hide"));var M=!y.state.isVisible,I=y.state.isDestroyed,R=!y.state.isEnabled,J=Us(y.props.duration,1,We.duration);if(!(M||I||R)&&(Z("onHide",[y],!1),y.props.onHide(y)!==!1)){if(y.state.isVisible=!1,y.state.isShown=!1,c=!1,a=!1,V()&&(E.style.visibility="hidden"),Tr(),Dt(),F(!0),V()){var G=te(),Ie=G.box,et=G.content;y.props.animation&&(Gs([Ie,et],J),Nu([Ie,et],"hidden"))}oe(),yt(),y.props.animation?V()&&po(J,y.unmount):y.unmount()}}function K6(M){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("hideWithInteractivity")),ee().addEventListener("mousemove",g),Cu(bi,g),g(M)}function G6(){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("unmount")),y.state.isVisible&&y.hide(),y.state.isMounted&&(da(),ar().forEach(function(M){M._tippy.unmount()}),E.parentNode&&E.parentNode.removeChild(E),Zs=Zs.filter(function(M){return M!==y}),y.state.isMounted=!1,Z("onHidden",[y]))}function J6(){process.env.NODE_ENV!=="production"&&Tt(y.state.isDestroyed,oo("destroy")),!y.state.isDestroyed&&(y.clearDelayTimeouts(),y.unmount(),ia(),delete r._tippy,y.state.isDestroyed=!0,Z("onDestroy",[y]))}}function no(r,e){e===void 0&&(e={});var t=We.plugins.concat(e.plugins||[]);process.env.NODE_ENV!=="production"&&(u1(r),Iu(e,t)),s1();var o=Object.assign({},e,{plugins:t}),n=r1(r);if(process.env.NODE_ENV!=="production"){var i=Qo(o.content),a=n.length>1;Tt(i&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
115
115
 
116
116
  `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
117
117
 
118
118
  `,`1) content: element.innerHTML
119
- `,"2) content: () => element.cloneNode(true)"].join(" "))}var l=n.reduce(function(d,c){var p=c&&w1(c,o);return p&&d.push(p),d},[]);return Qo(r)?l[0]:l}no.defaultProps=We,no.setDefaultProps=g1,no.currentInput=ht,Object.assign({},ru,{effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow)}}),no.setDefaultProps({render:_u});class x1{constructor({editor:e,element:t,view:o,tippyOptions:n={},updateDelay:i=250,shouldShow:a}){this.preventHide=!1,this.shouldShow=({view:l,state:d,from:c,to:p})=>{const{doc:u,selection:m}=d,{empty:h}=m,g=!u.textBetween(c,p).length&&Ss(d.selection),f=this.element.contains(document.activeElement);return!(!(l.hasFocus()||f)||h||g||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:l})=>{var d;if(this.preventHide){this.preventHide=!1;return}l!=null&&l.relatedTarget&&(!((d=this.element.parentNode)===null||d===void 0)&&d.contains(l.relatedTarget))||(l==null?void 0:l.relatedTarget)!==this.editor.view.dom&&this.hide()},this.tippyBlurHandler=l=>{this.blurHandler({event:l})},this.handleDebouncedUpdate=(l,d)=>{const c=!(d!=null&&d.selection.eq(l.state.selection)),p=!(d!=null&&d.doc.eq(l.state.doc));!c&&!p||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(l,c,p,d)},this.updateDelay))},this.updateHandler=(l,d,c,p)=>{var u,m,h;const{state:g,composing:f}=l,{selection:b}=g;if(f||!d&&!c)return;this.createTooltip();const{ranges:C}=b,k=Math.min(...C.map(E=>E.$from.pos)),y=Math.max(...C.map(E=>E.$to.pos));if(!((u=this.shouldShow)===null||u===void 0?void 0:u.call(this,{editor:this.editor,element:this.element,view:l,state:g,oldState:p,from:k,to:y}))){this.hide();return}(m=this.tippy)===null||m===void 0||m.setProps({getReferenceClientRect:((h=this.tippyOptions)===null||h===void 0?void 0:h.getReferenceClientRect)||(()=>{if(Qp(g.selection)){let E=l.nodeDOM(k);if(E){const N=E.dataset.nodeViewWrapper?E:E.querySelector("[data-node-view-wrapper]");if(N&&(E=N.firstChild),E)return E.getBoundingClientRect()}}return Xp(l,k,y)})}),this.show()},this.editor=e,this.element=t,this.view=o,this.updateDelay=i,a&&(this.shouldShow=a),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=n,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=no(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:o}=e,n=o.selection.from!==o.selection.to;if(this.updateDelay>0&&n){this.handleDebouncedUpdate(e,t);return}const i=!(t!=null&&t.selection.eq(e.state.selection)),a=!(t!=null&&t.doc.eq(e.state.doc));this.updateHandler(e,i,a,t)}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const zu=r=>new pe({key:typeof r.pluginKey=="string"?new Oe(r.pluginKey):r.pluginKey,view:e=>new x1({view:e,...r})});Ce.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[zu({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class v1{getTextContent(e){return Gp(e,{textSerializers:Es(this.editor.schema)})}constructor({editor:e,element:t,view:o,tippyOptions:n={},shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:a,state:l})=>{const{selection:d}=l,{$anchor:c,empty:p}=d,u=c.depth===1,m=c.parent.isTextblock&&!c.parent.type.spec.code&&!c.parent.textContent&&c.parent.childCount===0&&!this.getTextContent(c.parent);return!(!a.hasFocus()||!p||!u||!m||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:a})=>{var l;if(this.preventHide){this.preventHide=!1;return}a!=null&&a.relatedTarget&&(!((l=this.element.parentNode)===null||l===void 0)&&l.contains(a.relatedTarget))||(a==null?void 0:a.relatedTarget)!==this.editor.view.dom&&this.hide()},this.tippyBlurHandler=a=>{this.blurHandler({event:a})},this.editor=e,this.element=t,this.view=o,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=n,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=no(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var o,n,i;const{state:a}=e,{doc:l,selection:d}=a,{from:c,to:p}=d;if(t&&t.doc.eq(l)&&t.selection.eq(d))return;if(this.createTooltip(),!((o=this.shouldShow)===null||o===void 0?void 0:o.call(this,{editor:this.editor,view:e,state:a,oldState:t}))){this.hide();return}(n=this.tippy)===null||n===void 0||n.setProps({getReferenceClientRect:((i=this.tippyOptions)===null||i===void 0?void 0:i.getReferenceClientRect)||(()=>Xp(e,c,p))}),this.show()}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Fu=r=>new pe({key:typeof r.pluginKey=="string"?new Oe(r.pluginKey):r.pluginKey,view:e=>new v1({view:e,...r})});Ce.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Fu({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}}),s.defineComponent({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(r,{slots:e}){const t=s.ref(null);return s.onMounted(()=>{const{updateDelay:o,editor:n,pluginKey:i,shouldShow:a,tippyOptions:l}=r;n.registerPlugin(zu({updateDelay:o,editor:n,element:t.value,pluginKey:i,shouldShow:a,tippyOptions:l}))}),s.onBeforeUnmount(()=>{const{pluginKey:o,editor:n}=r;n.unregisterPlugin(o)}),()=>{var o;return s.h("div",{ref:t},(o=e.default)===null||o===void 0?void 0:o.call(e))}}});function Hu(r){return s.customRef((e,t)=>({get(){return e(),r},set(o){r=o,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class k1 extends zy{constructor(e={}){return super(e),this.contentComponent=null,this.appContext=null,this.reactiveState=Hu(this.view.state),this.reactiveExtensionStorage=Hu(this.extensionStorage),this.on("beforeTransaction",({nextState:t})=>{this.reactiveState.value=t,this.reactiveExtensionStorage.value=this.extensionStorage}),s.markRaw(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,t){const o=super.registerPlugin(e,t);return this.reactiveState&&(this.reactiveState.value=o),o}unregisterPlugin(e){const t=super.unregisterPlugin(e);return this.reactiveState&&t&&(this.reactiveState.value=t),t}}const E1=s.defineComponent({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(r){const e=s.ref(),t=s.getCurrentInstance();return s.watchEffect(()=>{const o=r.editor;o&&o.options.element&&e.value&&s.nextTick(()=>{if(!e.value||!o.options.element.firstChild)return;const n=s.unref(e.value);e.value.append(...o.options.element.childNodes),o.contentComponent=t.ctx._,t&&(o.appContext={...t.appContext,provides:t.provides}),o.setOptions({element:n}),o.createNodeViews()})}),s.onBeforeUnmount(()=>{const o=r.editor;o&&(o.contentComponent=null,o.appContext=null)}),{rootEl:e}},render(){return s.h("div",{ref:r=>{this.rootEl=r}})}});s.defineComponent({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(r,{slots:e}){const t=s.ref(null);return s.onMounted(()=>{const{pluginKey:o,editor:n,tippyOptions:i,shouldShow:a}=r;n.registerPlugin(Fu({pluginKey:o,editor:n,element:t.value,tippyOptions:i,shouldShow:a}))}),s.onBeforeUnmount(()=>{const{pluginKey:o,editor:n}=r;n.unregisterPlugin(o)}),()=>{var o;return s.h("div",{ref:t},(o=e.default)===null||o===void 0?void 0:o.call(e))}}}),s.defineComponent({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return s.h(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}}),s.defineComponent({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var r,e;return s.h(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(e=(r=this.$slots).default)===null||e===void 0?void 0:e.call(r))}});const C1=(r={})=>{const e=s.shallowRef();return s.onMounted(()=>{e.value=new k1(r)}),s.onBeforeUnmount(()=>{var t,o,n;const i=(t=e.value)===null||t===void 0?void 0:t.options.element,a=i==null?void 0:i.cloneNode(!0);(o=i==null?void 0:i.parentNode)===null||o===void 0||o.replaceChild(a,i),(n=e.value)===null||n===void 0||n.destroy()}),e},S1=/^\s*>\s$/,N1=ot.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:r}){return["blockquote",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setBlockquote:()=>({commands:r})=>r.wrapIn(this.name),toggleBlockquote:()=>({commands:r})=>r.toggleWrap(this.name),unsetBlockquote:()=>({commands:r})=>r.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[Ho({find:S1,type:this.type})]}}),M1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,B1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,T1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,O1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,V1=Nt.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:r=>r.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:r=>r.type.name===this.name},{style:"font-weight",getAttrs:r=>/^(bold(er)?|[5-9]\d{2,})$/.test(r)&&null}]},renderHTML({HTMLAttributes:r}){return["strong",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setBold:()=>({commands:r})=>r.setMark(this.name),toggleBold:()=>({commands:r})=>r.toggleMark(this.name),unsetBold:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Xr({find:M1,type:this.type}),Xr({find:T1,type:this.type})]},addPasteRules(){return[kr({find:B1,type:this.type}),kr({find:O1,type:this.type})]}}),P1="listItem",ju="textStyle",Wu=/^\s*([-+*])\s$/,A1=ot.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:r}){return["ul",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{toggleBulletList:()=>({commands:r,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(P1,this.editor.getAttributes(ju)).run():r.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let r=Ho({find:Wu,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(r=Ho({find:Wu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(ju),editor:this.editor})),[r]}}),D1=/(^|[^`])`([^`]+)`(?!`)/,I1=/(^|[^`])`([^`]+)`(?!`)/g,L1=Nt.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:r}){return["code",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setCode:()=>({commands:r})=>r.setMark(this.name),toggleCode:()=>({commands:r})=>r.toggleMark(this.name),unsetCode:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[Xr({find:D1,type:this.type})]},addPasteRules(){return[kr({find:I1,type:this.type})]}}),R1=/^```([a-z]+)?[\s\n]$/,_1=/^~~~([a-z]+)?[\s\n]$/,z1=ot.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:r=>{var e;const{languageClassPrefix:t}=this.options,i=[...((e=r.firstElementChild)===null||e===void 0?void 0:e.classList)||[]].filter(a=>a.startsWith(t)).map(a=>a.replace(t,""))[0];return i||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:r,HTMLAttributes:e}){return["pre",Ee(this.options.HTMLAttributes,e),["code",{class:r.attrs.language?this.options.languageClassPrefix+r.attrs.language:null},0]]},addCommands(){return{setCodeBlock:r=>({commands:e})=>e.setNode(this.name,r),toggleCodeBlock:r=>({commands:e})=>e.toggleNode(this.name,"paragraph",r)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:r,$anchor:e}=this.editor.state.selection,t=e.pos===1;return!r||e.parent.type.name!==this.name?!1:t||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:r})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=r,{selection:t}=e,{$from:o,empty:n}=t;if(!n||o.parent.type!==this.type)return!1;const i=o.parentOffset===o.parent.nodeSize-2,a=o.parent.textContent.endsWith(`
119
+ `,"2) content: () => element.cloneNode(true)"].join(" "))}var l=n.reduce(function(d,c){var p=c&&w1(c,o);return p&&d.push(p),d},[]);return Qo(r)?l[0]:l}no.defaultProps=We,no.setDefaultProps=g1,no.currentInput=ht,Object.assign({},ru,{effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow)}}),no.setDefaultProps({render:_u});class x1{constructor({editor:e,element:t,view:o,tippyOptions:n={},updateDelay:i=250,shouldShow:a}){this.preventHide=!1,this.shouldShow=({view:l,state:d,from:c,to:p})=>{const{doc:u,selection:m}=d,{empty:h}=m,g=!u.textBetween(c,p).length&&Ns(d.selection),f=this.element.contains(document.activeElement);return!(!(l.hasFocus()||f)||h||g||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:l})=>{var d;if(this.preventHide){this.preventHide=!1;return}l!=null&&l.relatedTarget&&(!((d=this.element.parentNode)===null||d===void 0)&&d.contains(l.relatedTarget))||(l==null?void 0:l.relatedTarget)!==this.editor.view.dom&&this.hide()},this.tippyBlurHandler=l=>{this.blurHandler({event:l})},this.handleDebouncedUpdate=(l,d)=>{const c=!(d!=null&&d.selection.eq(l.state.selection)),p=!(d!=null&&d.doc.eq(l.state.doc));!c&&!p||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(l,c,p,d)},this.updateDelay))},this.updateHandler=(l,d,c,p)=>{var u,m,h;const{state:g,composing:f}=l,{selection:b}=g;if(f||!d&&!c)return;this.createTooltip();const{ranges:C}=b,k=Math.min(...C.map(E=>E.$from.pos)),y=Math.max(...C.map(E=>E.$to.pos));if(!((u=this.shouldShow)===null||u===void 0?void 0:u.call(this,{editor:this.editor,element:this.element,view:l,state:g,oldState:p,from:k,to:y}))){this.hide();return}(m=this.tippy)===null||m===void 0||m.setProps({getReferenceClientRect:((h=this.tippyOptions)===null||h===void 0?void 0:h.getReferenceClientRect)||(()=>{if(Qp(g.selection)){let E=l.nodeDOM(k);if(E){const N=E.dataset.nodeViewWrapper?E:E.querySelector("[data-node-view-wrapper]");if(N&&(E=N.firstChild),E)return E.getBoundingClientRect()}}return Xp(l,k,y)})}),this.show()},this.editor=e,this.element=t,this.view=o,this.updateDelay=i,a&&(this.shouldShow=a),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=n,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=no(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:o}=e,n=o.selection.from!==o.selection.to;if(this.updateDelay>0&&n){this.handleDebouncedUpdate(e,t);return}const i=!(t!=null&&t.selection.eq(e.state.selection)),a=!(t!=null&&t.doc.eq(e.state.doc));this.updateHandler(e,i,a,t)}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const zu=r=>new pe({key:typeof r.pluginKey=="string"?new Oe(r.pluginKey):r.pluginKey,view:e=>new x1({view:e,...r})});Ce.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[zu({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class v1{getTextContent(e){return Gp(e,{textSerializers:Cs(this.editor.schema)})}constructor({editor:e,element:t,view:o,tippyOptions:n={},shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:a,state:l})=>{const{selection:d}=l,{$anchor:c,empty:p}=d,u=c.depth===1,m=c.parent.isTextblock&&!c.parent.type.spec.code&&!c.parent.textContent&&c.parent.childCount===0&&!this.getTextContent(c.parent);return!(!a.hasFocus()||!p||!u||!m||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:a})=>{var l;if(this.preventHide){this.preventHide=!1;return}a!=null&&a.relatedTarget&&(!((l=this.element.parentNode)===null||l===void 0)&&l.contains(a.relatedTarget))||(a==null?void 0:a.relatedTarget)!==this.editor.view.dom&&this.hide()},this.tippyBlurHandler=a=>{this.blurHandler({event:a})},this.editor=e,this.element=t,this.view=o,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=n,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=no(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var o,n,i;const{state:a}=e,{doc:l,selection:d}=a,{from:c,to:p}=d;if(t&&t.doc.eq(l)&&t.selection.eq(d))return;if(this.createTooltip(),!((o=this.shouldShow)===null||o===void 0?void 0:o.call(this,{editor:this.editor,view:e,state:a,oldState:t}))){this.hide();return}(n=this.tippy)===null||n===void 0||n.setProps({getReferenceClientRect:((i=this.tippyOptions)===null||i===void 0?void 0:i.getReferenceClientRect)||(()=>Xp(e,c,p))}),this.show()}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Fu=r=>new pe({key:typeof r.pluginKey=="string"?new Oe(r.pluginKey):r.pluginKey,view:e=>new v1({view:e,...r})});Ce.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Fu({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}}),s.defineComponent({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(r,{slots:e}){const t=s.ref(null);return s.onMounted(()=>{const{updateDelay:o,editor:n,pluginKey:i,shouldShow:a,tippyOptions:l}=r;n.registerPlugin(zu({updateDelay:o,editor:n,element:t.value,pluginKey:i,shouldShow:a,tippyOptions:l}))}),s.onBeforeUnmount(()=>{const{pluginKey:o,editor:n}=r;n.unregisterPlugin(o)}),()=>{var o;return s.h("div",{ref:t},(o=e.default)===null||o===void 0?void 0:o.call(e))}}});function Hu(r){return s.customRef((e,t)=>({get(){return e(),r},set(o){r=o,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class k1 extends zy{constructor(e={}){return super(e),this.contentComponent=null,this.appContext=null,this.reactiveState=Hu(this.view.state),this.reactiveExtensionStorage=Hu(this.extensionStorage),this.on("beforeTransaction",({nextState:t})=>{this.reactiveState.value=t,this.reactiveExtensionStorage.value=this.extensionStorage}),s.markRaw(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,t){const o=super.registerPlugin(e,t);return this.reactiveState&&(this.reactiveState.value=o),o}unregisterPlugin(e){const t=super.unregisterPlugin(e);return this.reactiveState&&t&&(this.reactiveState.value=t),t}}const E1=s.defineComponent({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(r){const e=s.ref(),t=s.getCurrentInstance();return s.watchEffect(()=>{const o=r.editor;o&&o.options.element&&e.value&&s.nextTick(()=>{if(!e.value||!o.options.element.firstChild)return;const n=s.unref(e.value);e.value.append(...o.options.element.childNodes),o.contentComponent=t.ctx._,t&&(o.appContext={...t.appContext,provides:t.provides}),o.setOptions({element:n}),o.createNodeViews()})}),s.onBeforeUnmount(()=>{const o=r.editor;o&&(o.contentComponent=null,o.appContext=null)}),{rootEl:e}},render(){return s.h("div",{ref:r=>{this.rootEl=r}})}});s.defineComponent({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(r,{slots:e}){const t=s.ref(null);return s.onMounted(()=>{const{pluginKey:o,editor:n,tippyOptions:i,shouldShow:a}=r;n.registerPlugin(Fu({pluginKey:o,editor:n,element:t.value,tippyOptions:i,shouldShow:a}))}),s.onBeforeUnmount(()=>{const{pluginKey:o,editor:n}=r;n.unregisterPlugin(o)}),()=>{var o;return s.h("div",{ref:t},(o=e.default)===null||o===void 0?void 0:o.call(e))}}}),s.defineComponent({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return s.h(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}}),s.defineComponent({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var r,e;return s.h(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(e=(r=this.$slots).default)===null||e===void 0?void 0:e.call(r))}});const C1=(r={})=>{const e=s.shallowRef();return s.onMounted(()=>{e.value=new k1(r)}),s.onBeforeUnmount(()=>{var t,o,n;const i=(t=e.value)===null||t===void 0?void 0:t.options.element,a=i==null?void 0:i.cloneNode(!0);(o=i==null?void 0:i.parentNode)===null||o===void 0||o.replaceChild(a,i),(n=e.value)===null||n===void 0||n.destroy()}),e},S1=/^\s*>\s$/,N1=ot.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:r}){return["blockquote",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setBlockquote:()=>({commands:r})=>r.wrapIn(this.name),toggleBlockquote:()=>({commands:r})=>r.toggleWrap(this.name),unsetBlockquote:()=>({commands:r})=>r.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[Ho({find:S1,type:this.type})]}}),M1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,B1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,T1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,O1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,V1=Nt.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:r=>r.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:r=>r.type.name===this.name},{style:"font-weight",getAttrs:r=>/^(bold(er)?|[5-9]\d{2,})$/.test(r)&&null}]},renderHTML({HTMLAttributes:r}){return["strong",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setBold:()=>({commands:r})=>r.setMark(this.name),toggleBold:()=>({commands:r})=>r.toggleMark(this.name),unsetBold:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Xr({find:M1,type:this.type}),Xr({find:T1,type:this.type})]},addPasteRules(){return[kr({find:B1,type:this.type}),kr({find:O1,type:this.type})]}}),P1="listItem",ju="textStyle",Wu=/^\s*([-+*])\s$/,A1=ot.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:r}){return["ul",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{toggleBulletList:()=>({commands:r,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(P1,this.editor.getAttributes(ju)).run():r.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let r=Ho({find:Wu,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(r=Ho({find:Wu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(ju),editor:this.editor})),[r]}}),D1=/(^|[^`])`([^`]+)`(?!`)/,I1=/(^|[^`])`([^`]+)`(?!`)/g,L1=Nt.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:r}){return["code",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setCode:()=>({commands:r})=>r.setMark(this.name),toggleCode:()=>({commands:r})=>r.toggleMark(this.name),unsetCode:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[Xr({find:D1,type:this.type})]},addPasteRules(){return[kr({find:I1,type:this.type})]}}),R1=/^```([a-z]+)?[\s\n]$/,_1=/^~~~([a-z]+)?[\s\n]$/,z1=ot.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:r=>{var e;const{languageClassPrefix:t}=this.options,i=[...((e=r.firstElementChild)===null||e===void 0?void 0:e.classList)||[]].filter(a=>a.startsWith(t)).map(a=>a.replace(t,""))[0];return i||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:r,HTMLAttributes:e}){return["pre",Ee(this.options.HTMLAttributes,e),["code",{class:r.attrs.language?this.options.languageClassPrefix+r.attrs.language:null},0]]},addCommands(){return{setCodeBlock:r=>({commands:e})=>e.setNode(this.name,r),toggleCodeBlock:r=>({commands:e})=>e.toggleNode(this.name,"paragraph",r)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:r,$anchor:e}=this.editor.state.selection,t=e.pos===1;return!r||e.parent.type.name!==this.name?!1:t||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:r})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=r,{selection:t}=e,{$from:o,empty:n}=t;if(!n||o.parent.type!==this.type)return!1;const i=o.parentOffset===o.parent.nodeSize-2,a=o.parent.textContent.endsWith(`
120
120
 
121
- `);return!i||!a?!1:r.chain().command(({tr:l})=>(l.delete(o.pos-2,o.pos),!0)).exitCode().run()},ArrowDown:({editor:r})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=r,{selection:t,doc:o}=e,{$from:n,empty:i}=t;if(!i||n.parent.type!==this.type||!(n.parentOffset===n.parent.nodeSize-2))return!1;const l=n.after();return l===void 0?!1:o.nodeAt(l)?r.commands.command(({tr:c})=>(c.setSelection(H.near(o.resolve(l))),!0)):r.commands.exitCode()}}},addInputRules(){return[Ds({find:R1,type:this.type,getAttributes:r=>({language:r[1]})}),Ds({find:_1,type:this.type,getAttributes:r=>({language:r[1]})})]},addProseMirrorPlugins(){return[new pe({key:new Oe("codeBlockVSCodeHandler"),props:{handlePaste:(r,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const t=e.clipboardData.getData("text/plain"),o=e.clipboardData.getData("vscode-editor-data"),n=o?JSON.parse(o):void 0,i=n==null?void 0:n.mode;if(!t||!i)return!1;const{tr:a,schema:l}=r.state,d=l.text(t.replace(/\r\n?/g,`
122
- `));return a.replaceSelectionWith(this.type.create({language:i},d)),a.selection.$from.parent.type!==this.type&&a.setSelection(_.near(a.doc.resolve(Math.max(0,a.selection.from-2)))),a.setMeta("paste",!0),r.dispatch(a),!0}}})]}}),F1=ot.create({name:"doc",topNode:!0,content:"block+"});function H1(r={}){return new pe({view(e){return new j1(e,r)}})}class j1{constructor(e,t){var o;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(o=t.width)!==null&&o!==void 0?o:1,this.color=t.color===!1?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(n=>{let i=a=>{this[n](a)};return e.dom.addEventListener(n,i),{name:n,handler:i}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){this.cursorPos!=null&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,o,n=this.editorView.dom,i=n.getBoundingClientRect(),a=i.width/n.offsetWidth,l=i.height/n.offsetHeight;if(t){let u=e.nodeBefore,m=e.nodeAfter;if(u||m){let h=this.editorView.nodeDOM(this.cursorPos-(u?u.nodeSize:0));if(h){let g=h.getBoundingClientRect(),f=u?g.bottom:g.top;u&&m&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let b=this.width/2*l;o={left:g.left,right:g.right,top:f-b,bottom:f+b}}}}if(!o){let u=this.editorView.coordsAtPos(this.cursorPos),m=this.width/2*a;o={left:u.left-m,right:u.left+m,top:u.top,bottom:u.bottom}}let d=this.editorView.dom.offsetParent;this.element||(this.element=d.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",t),this.element.classList.toggle("prosemirror-dropcursor-inline",!t);let c,p;if(!d||d==document.body&&getComputedStyle(d).position=="static")c=-pageXOffset,p=-pageYOffset;else{let u=d.getBoundingClientRect(),m=u.width/d.offsetWidth,h=u.height/d.offsetHeight;c=u.left-d.scrollLeft*m,p=u.top-d.scrollTop*h}this.element.style.left=(o.left-c)/a+"px",this.element.style.top=(o.top-p)/l+"px",this.element.style.width=(o.right-o.left)/a+"px",this.element.style.height=(o.bottom-o.top)/l+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),o=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),n=o&&o.type.spec.disableDropCursor,i=typeof n=="function"?n(this.editorView,t,e):n;if(t&&!i){let a=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let l=Gd(this.editorView.state.doc,a,this.editorView.dragging.slice);l!=null&&(a=l)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}const W1=Ce.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[H1(this.options)]}});class ie extends H{constructor(e){super(e,e)}map(e,t){let o=e.resolve(t.map(this.head));return ie.valid(o)?new ie(o):H.near(o)}content(){return P.empty}eq(e){return e instanceof ie&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new ie(e.resolve(t.pos))}getBookmark(){return new Zs(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!q1(e)||!U1(e))return!1;let o=t.type.spec.allowGapCursor;if(o!=null)return o;let n=t.contentMatchAt(e.index()).defaultType;return n&&n.isTextblock}static findGapCursorFrom(e,t,o=!1){e:for(;;){if(!o&&ie.valid(e))return e;let n=e.pos,i=null;for(let a=e.depth;;a--){let l=e.node(a);if(t>0?e.indexAfter(a)<l.childCount:e.index(a)>0){i=l.child(t>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;n+=t;let d=e.doc.resolve(n);if(ie.valid(d))return d}for(;;){let a=t>0?i.firstChild:i.lastChild;if(!a){if(i.isAtom&&!i.isText&&!L.isSelectable(i)){e=e.doc.resolve(n+i.nodeSize*t),o=!1;continue e}break}i=a,n+=t;let l=e.doc.resolve(n);if(ie.valid(l))return l}return null}}}ie.prototype.visible=!1,ie.findFrom=ie.findGapCursorFrom,H.jsonID("gapcursor",ie);class Zs{constructor(e){this.pos=e}map(e){return new Zs(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return ie.valid(t)?new ie(t):H.near(t)}}function q1(r){for(let e=r.depth;e>=0;e--){let t=r.index(e),o=r.node(e);if(t==0){if(o.type.spec.isolating)return!0;continue}for(let n=o.child(t-1);;n=n.lastChild){if(n.childCount==0&&!n.inlineContent||n.isAtom||n.type.spec.isolating)return!0;if(n.inlineContent)return!1}}return!0}function U1(r){for(let e=r.depth;e>=0;e--){let t=r.indexAfter(e),o=r.node(e);if(t==o.childCount){if(o.type.spec.isolating)return!0;continue}for(let n=o.child(t);;n=n.firstChild){if(n.childCount==0&&!n.inlineContent||n.isAtom||n.type.spec.isolating)return!0;if(n.inlineContent)return!1}}return!0}function K1(){return new pe({props:{decorations:Q1,createSelectionBetween(r,e,t){return e.pos==t.pos&&ie.valid(t)?new ie(t):null},handleClick:J1,handleKeyDown:G1,handleDOMEvents:{beforeinput:Y1}}})}const G1=xp({ArrowLeft:yi("horiz",-1),ArrowRight:yi("horiz",1),ArrowUp:yi("vert",-1),ArrowDown:yi("vert",1)});function yi(r,e){const t=r=="vert"?e>0?"down":"up":e>0?"right":"left";return function(o,n,i){let a=o.selection,l=e>0?a.$to:a.$from,d=a.empty;if(a instanceof _){if(!i.endOfTextblock(t)||l.depth==0)return!1;d=!1,l=o.doc.resolve(e>0?l.after():l.before())}let c=ie.findGapCursorFrom(l,e,d);return c?(n&&n(o.tr.setSelection(new ie(c))),!0):!1}}function J1(r,e,t){if(!r||!r.editable)return!1;let o=r.state.doc.resolve(e);if(!ie.valid(o))return!1;let n=r.posAtCoords({left:t.clientX,top:t.clientY});return n&&n.inside>-1&&L.isSelectable(r.state.doc.nodeAt(n.inside))?!1:(r.dispatch(r.state.tr.setSelection(new ie(o))),!0)}function Y1(r,e){if(e.inputType!="insertCompositionText"||!(r.state.selection instanceof ie))return!1;let{$from:t}=r.state.selection,o=t.parent.contentMatchAt(t.index()).findWrapping(r.state.schema.nodes.text);if(!o)return!1;let n=B.empty;for(let a=o.length-1;a>=0;a--)n=B.from(o[a].createAndFill(null,n));let i=r.state.tr.replace(t.pos,t.pos,new P(n,0,0));return i.setSelection(_.near(i.doc.resolve(t.pos+1))),r.dispatch(i),!1}function Q1(r){if(!(r.selection instanceof ie))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",ue.create(r.doc,[Je.widget(r.selection.head,e,{key:"gapcursor"})])}const X1=Ce.create({name:"gapCursor",addProseMirrorPlugins(){return[K1()]},extendNodeSchema(r){var e;const t={name:r.name,options:r.options,storage:r.storage};return{allowGapCursor:(e=W(D(r,"allowGapCursor",t)))!==null&&e!==void 0?e:null}}}),Z1=ot.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:r}){return["br",Ee(this.options.HTMLAttributes,r)]},renderText(){return`
123
- `},addCommands(){return{setHardBreak:()=>({commands:r,chain:e,state:t,editor:o})=>r.first([()=>r.exitCode(),()=>r.command(()=>{const{selection:n,storedMarks:i}=t;if(n.$from.parent.type.spec.isolating)return!1;const{keepMarks:a}=this.options,{splittableMarks:l}=o.extensionManager,d=i||n.$to.parentOffset&&n.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:p})=>{if(p&&d&&a){const u=d.filter(m=>l.includes(m.type.name));c.ensureMarks(u)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),$1=ot.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(r=>({tag:`h${r}`,attrs:{level:r}}))},renderHTML({node:r,HTMLAttributes:e}){return[`h${this.options.levels.includes(r.attrs.level)?r.attrs.level:this.options.levels[0]}`,Ee(this.options.HTMLAttributes,e),0]},addCommands(){return{setHeading:r=>({commands:e})=>this.options.levels.includes(r.level)?e.setNode(this.name,r):!1,toggleHeading:r=>({commands:e})=>this.options.levels.includes(r.level)?e.toggleNode(this.name,"paragraph",r):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((r,e)=>({...r,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(r=>Ds({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${r}})\\s$`),type:this.type,getAttributes:{level:r}}))}});var wi=200,be=function(){};be.prototype.append=function(e){return e.length?(e=be.from(e),!this.length&&e||e.length<wi&&this.leafAppend(e)||this.length<wi&&e.leafPrepend(this)||this.appendInner(e)):this},be.prototype.prepend=function(e){return e.length?be.from(e).append(this):this},be.prototype.appendInner=function(e){return new e2(this,e)},be.prototype.slice=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=this.length),e>=t?be.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},be.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},be.prototype.forEach=function(e,t,o){t===void 0&&(t=0),o===void 0&&(o=this.length),t<=o?this.forEachInner(e,t,o,0):this.forEachInvertedInner(e,t,o,0)},be.prototype.map=function(e,t,o){t===void 0&&(t=0),o===void 0&&(o=this.length);var n=[];return this.forEach(function(i,a){return n.push(e(i,a))},t,o),n},be.from=function(e){return e instanceof be?e:e&&e.length?new qu(e):be.empty};var qu=function(r){function e(o){r.call(this),this.values=o}r&&(e.__proto__=r),e.prototype=Object.create(r&&r.prototype),e.prototype.constructor=e;var t={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(n,i){return n==0&&i==this.length?this:new e(this.values.slice(n,i))},e.prototype.getInner=function(n){return this.values[n]},e.prototype.forEachInner=function(n,i,a,l){for(var d=i;d<a;d++)if(n(this.values[d],l+d)===!1)return!1},e.prototype.forEachInvertedInner=function(n,i,a,l){for(var d=i-1;d>=a;d--)if(n(this.values[d],l+d)===!1)return!1},e.prototype.leafAppend=function(n){if(this.length+n.length<=wi)return new e(this.values.concat(n.flatten()))},e.prototype.leafPrepend=function(n){if(this.length+n.length<=wi)return new e(n.flatten().concat(this.values))},t.length.get=function(){return this.values.length},t.depth.get=function(){return 0},Object.defineProperties(e.prototype,t),e}(be);be.empty=new qu([]);var e2=function(r){function e(t,o){r.call(this),this.left=t,this.right=o,this.length=t.length+o.length,this.depth=Math.max(t.depth,o.depth)+1}return r&&(e.__proto__=r),e.prototype=Object.create(r&&r.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(o){return o<this.left.length?this.left.get(o):this.right.get(o-this.left.length)},e.prototype.forEachInner=function(o,n,i,a){var l=this.left.length;if(n<l&&this.left.forEachInner(o,n,Math.min(i,l),a)===!1||i>l&&this.right.forEachInner(o,Math.max(n-l,0),Math.min(this.length,i)-l,a+l)===!1)return!1},e.prototype.forEachInvertedInner=function(o,n,i,a){var l=this.left.length;if(n>l&&this.right.forEachInvertedInner(o,n-l,Math.max(i,l)-l,a+l)===!1||i<l&&this.left.forEachInvertedInner(o,Math.min(n,l),i,a)===!1)return!1},e.prototype.sliceInner=function(o,n){if(o==0&&n==this.length)return this;var i=this.left.length;return n<=i?this.left.slice(o,n):o>=i?this.right.slice(o-i,n-i):this.left.slice(o,i).append(this.right.slice(0,n-i))},e.prototype.leafAppend=function(o){var n=this.right.leafAppend(o);if(n)return new e(this.left,n)},e.prototype.leafPrepend=function(o){var n=this.left.leafPrepend(o);if(n)return new e(n,this.right)},e.prototype.appendInner=function(o){return this.left.depth>=Math.max(this.right.depth,o.depth)+1?new e(this.left,new e(this.right,o)):new e(this,o)},e}(be);const t2=500;class nt{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(this.eventCount==0)return null;let o=this.items.length;for(;;o--)if(this.items.get(o-1).selection){--o;break}let n,i;t&&(n=this.remapping(o,this.items.length),i=n.maps.length);let a=e.tr,l,d,c=[],p=[];return this.items.forEach((u,m)=>{if(!u.step){n||(n=this.remapping(o,m+1),i=n.maps.length),i--,p.push(u);return}if(n){p.push(new gt(u.map));let h=u.step.map(n.slice(i)),g;h&&a.maybeStep(h).doc&&(g=a.mapping.maps[a.mapping.maps.length-1],c.push(new gt(g,void 0,void 0,c.length+p.length))),i--,g&&n.appendMap(g,i)}else a.maybeStep(u.step);if(u.selection)return l=n?u.selection.map(n.slice(i)):u.selection,d=new nt(this.items.slice(0,o).append(p.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:d,transform:a,selection:l}}addTransform(e,t,o,n){let i=[],a=this.eventCount,l=this.items,d=!n&&l.length?l.get(l.length-1):null;for(let p=0;p<e.steps.length;p++){let u=e.steps[p].invert(e.docs[p]),m=new gt(e.mapping.maps[p],u,t),h;(h=d&&d.merge(m))&&(m=h,p?i.pop():l=l.slice(0,l.length-1)),i.push(m),t&&(a++,t=void 0),n||(d=m)}let c=a-o.depth;return c>o2&&(l=r2(l,c),a-=c),new nt(l.append(i),a)}remapping(e,t){let o=new So;return this.items.forEach((n,i)=>{let a=n.mirrorOffset!=null&&i-n.mirrorOffset>=e?o.maps.length-n.mirrorOffset:void 0;o.appendMap(n.map,a)},e,t),o}addMaps(e){return this.eventCount==0?this:new nt(this.items.append(e.map(t=>new gt(t))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let o=[],n=Math.max(0,this.items.length-t),i=e.mapping,a=e.steps.length,l=this.eventCount;this.items.forEach(m=>{m.selection&&l--},n);let d=t;this.items.forEach(m=>{let h=i.getMirror(--d);if(h==null)return;a=Math.min(a,h);let g=i.maps[h];if(m.step){let f=e.steps[h].invert(e.docs[h]),b=m.selection&&m.selection.map(i.slice(d+1,h));b&&l++,o.push(new gt(g,f,b))}else o.push(new gt(g))},n);let c=[];for(let m=t;m<a;m++)c.push(new gt(i.maps[m]));let p=this.items.slice(0,n).append(c).append(o),u=new nt(p,l);return u.emptyItemCount()>t2&&(u=u.compress(this.items.length-o.length)),u}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),o=t.maps.length,n=[],i=0;return this.items.forEach((a,l)=>{if(l>=e)n.push(a),a.selection&&i++;else if(a.step){let d=a.step.map(t.slice(o)),c=d&&d.getMap();if(o--,c&&t.appendMap(c,o),d){let p=a.selection&&a.selection.map(t.slice(o));p&&i++;let u=new gt(c.invert(),d,p),m,h=n.length-1;(m=n.length&&n[h].merge(u))?n[h]=m:n.push(u)}}else a.map&&o--},this.items.length,0),new nt(be.from(n.reverse()),i)}}nt.empty=new nt(be.empty,0);function r2(r,e){let t;return r.forEach((o,n)=>{if(o.selection&&e--==0)return t=n,!1}),r.slice(t)}class gt{constructor(e,t,o,n){this.map=e,this.step=t,this.selection=o,this.mirrorOffset=n}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new gt(t.getMap().invert(),t,this.selection)}}}class tr{constructor(e,t,o,n,i){this.done=e,this.undone=t,this.prevRanges=o,this.prevTime=n,this.prevComposition=i}}const o2=20;function n2(r,e,t,o){let n=t.getMeta(Nr),i;if(n)return n.historyState;t.getMeta(s2)&&(r=new tr(r.done,r.undone,null,0,-1));let a=t.getMeta("appendedTransaction");if(t.steps.length==0)return r;if(a&&a.getMeta(Nr))return a.getMeta(Nr).redo?new tr(r.done.addTransform(t,void 0,o,xi(e)),r.undone,Uu(t.mapping.maps),r.prevTime,r.prevComposition):new tr(r.done,r.undone.addTransform(t,void 0,o,xi(e)),null,r.prevTime,r.prevComposition);if(t.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let l=t.getMeta("composition"),d=r.prevTime==0||!a&&r.prevComposition!=l&&(r.prevTime<(t.time||0)-o.newGroupDelay||!i2(t,r.prevRanges)),c=a?$s(r.prevRanges,t.mapping):Uu(t.mapping.maps);return new tr(r.done.addTransform(t,d?e.selection.getBookmark():void 0,o,xi(e)),nt.empty,c,t.time,l??r.prevComposition)}else return(i=t.getMeta("rebased"))?new tr(r.done.rebased(t,i),r.undone.rebased(t,i),$s(r.prevRanges,t.mapping),r.prevTime,r.prevComposition):new tr(r.done.addMaps(t.mapping.maps),r.undone.addMaps(t.mapping.maps),$s(r.prevRanges,t.mapping),r.prevTime,r.prevComposition)}function i2(r,e){if(!e)return!1;if(!r.docChanged)return!0;let t=!1;return r.mapping.maps[0].forEach((o,n)=>{for(let i=0;i<e.length;i+=2)o<=e[i+1]&&n>=e[i]&&(t=!0)}),t}function Uu(r){let e=[];for(let t=r.length-1;t>=0&&e.length==0;t--)r[t].forEach((o,n,i,a)=>e.push(i,a));return e}function $s(r,e){if(!r)return null;let t=[];for(let o=0;o<r.length;o+=2){let n=e.map(r[o],1),i=e.map(r[o+1],-1);n<=i&&t.push(n,i)}return t}function a2(r,e,t){let o=xi(e),n=Nr.get(e).spec.config,i=(t?r.undone:r.done).popEvent(e,o);if(!i)return null;let a=i.selection.resolve(i.transform.doc),l=(t?r.done:r.undone).addTransform(i.transform,e.selection.getBookmark(),n,o),d=new tr(t?l:i.remaining,t?i.remaining:l,null,0,-1);return i.transform.setSelection(a).setMeta(Nr,{redo:t,historyState:d})}let el=!1,Ku=null;function xi(r){let e=r.plugins;if(Ku!=e){el=!1,Ku=e;for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){el=!0;break}}return el}const Nr=new Oe("history"),s2=new Oe("closeHistory");function l2(r={}){return r={depth:r.depth||100,newGroupDelay:r.newGroupDelay||500},new pe({key:Nr,state:{init(){return new tr(nt.empty,nt.empty,null,0,-1)},apply(e,t,o){return n2(t,o,e,r)}},config:r,props:{handleDOMEvents:{beforeinput(e,t){let o=t.inputType,n=o=="historyUndo"?Ju:o=="historyRedo"?Yu:null;return n?(t.preventDefault(),n(e.state,e.dispatch)):!1}}}})}function Gu(r,e){return(t,o)=>{let n=Nr.getState(t);if(!n||(r?n.undone:n.done).eventCount==0)return!1;if(o){let i=a2(n,t,r);i&&o(e?i.scrollIntoView():i)}return!0}}const Ju=Gu(!1,!0),Yu=Gu(!0,!0),d2=Ce.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:r,dispatch:e})=>Ju(r,e),redo:()=>({state:r,dispatch:e})=>Yu(r,e)}},addProseMirrorPlugins(){return[l2(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),c2=ot.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:r}){return["hr",Ee(this.options.HTMLAttributes,r)]},addCommands(){return{setHorizontalRule:()=>({chain:r,state:e})=>{const{selection:t}=e,{$from:o,$to:n}=t,i=r();return o.parentOffset===0?i.insertContentAt({from:Math.max(o.pos-1,0),to:n.pos},{type:this.name}):Qp(t)?i.insertContentAt(n.pos,{type:this.name}):i.insertContent({type:this.name}),i.command(({tr:a,dispatch:l})=>{var d;if(l){const{$to:c}=a.selection,p=c.end();if(c.nodeAfter)c.nodeAfter.isTextblock?a.setSelection(_.create(a.doc,c.pos+1)):c.nodeAfter.isBlock?a.setSelection(L.create(a.doc,c.pos)):a.setSelection(_.create(a.doc,c.pos));else{const u=(d=c.parent.type.contentMatch.defaultType)===null||d===void 0?void 0:d.create();u&&(a.insert(p,u),a.setSelection(_.create(a.doc,p+1)))}a.scrollIntoView()}return!0}).run()}}},addInputRules(){return[Fy({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),p2=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,u2=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,m2=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,h2=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,g2=Nt.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:r=>r.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:r=>r.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:r}){return["em",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setItalic:()=>({commands:r})=>r.setMark(this.name),toggleItalic:()=>({commands:r})=>r.toggleMark(this.name),unsetItalic:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Xr({find:p2,type:this.type}),Xr({find:m2,type:this.type})]},addPasteRules(){return[kr({find:u2,type:this.type}),kr({find:h2,type:this.type})]}}),f2=ot.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:r}){return["li",Ee(this.options.HTMLAttributes,r),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),b2="listItem",Qu="textStyle",Xu=/^(\d+)\.\s$/,y2=ot.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:r=>r.hasAttribute("start")?parseInt(r.getAttribute("start")||"",10):1},type:{default:null,parseHTML:r=>r.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:r}){const{start:e,...t}=r;return e===1?["ol",Ee(this.options.HTMLAttributes,t),0]:["ol",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{toggleOrderedList:()=>({commands:r,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(b2,this.editor.getAttributes(Qu)).run():r.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let r=Ho({find:Xu,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(r=Ho({find:Xu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Qu)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[r]}}),w2=ot.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:r}){return["p",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setParagraph:()=>({commands:r})=>r.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),x2=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,v2=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,k2=Nt.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:r=>r.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:r}){return["s",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setStrike:()=>({commands:r})=>r.setMark(this.name),toggleStrike:()=>({commands:r})=>r.toggleMark(this.name),unsetStrike:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[Xr({find:x2,type:this.type})]},addPasteRules(){return[kr({find:v2,type:this.type})]}}),E2=ot.create({name:"text",group:"inline"}),C2=Ce.create({name:"starterKit",addExtensions(){const r=[];return this.options.bold!==!1&&r.push(V1.configure(this.options.bold)),this.options.blockquote!==!1&&r.push(N1.configure(this.options.blockquote)),this.options.bulletList!==!1&&r.push(A1.configure(this.options.bulletList)),this.options.code!==!1&&r.push(L1.configure(this.options.code)),this.options.codeBlock!==!1&&r.push(z1.configure(this.options.codeBlock)),this.options.document!==!1&&r.push(F1.configure(this.options.document)),this.options.dropcursor!==!1&&r.push(W1.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&r.push(X1.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&r.push(Z1.configure(this.options.hardBreak)),this.options.heading!==!1&&r.push($1.configure(this.options.heading)),this.options.history!==!1&&r.push(d2.configure(this.options.history)),this.options.horizontalRule!==!1&&r.push(c2.configure(this.options.horizontalRule)),this.options.italic!==!1&&r.push(g2.configure(this.options.italic)),this.options.listItem!==!1&&r.push(f2.configure(this.options.listItem)),this.options.orderedList!==!1&&r.push(y2.configure(this.options.orderedList)),this.options.paragraph!==!1&&r.push(w2.configure(this.options.paragraph)),this.options.strike!==!1&&r.push(k2.configure(this.options.strike)),this.options.text!==!1&&r.push(E2.configure(this.options.text)),r}}),S2="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",N2="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",io=(r,e)=>{for(const t in e)r[t]=e[t];return r},tl="numeric",rl="ascii",ol="alpha",Zo="asciinumeric",$o="alphanumeric",nl="domain",Zu="emoji",M2="scheme",B2="slashscheme",il="whitespace";function T2(r,e){return r in e||(e[r]=[]),e[r]}function Mr(r,e,t){e[tl]&&(e[Zo]=!0,e[$o]=!0),e[rl]&&(e[Zo]=!0,e[ol]=!0),e[Zo]&&(e[$o]=!0),e[ol]&&(e[$o]=!0),e[$o]&&(e[nl]=!0),e[Zu]&&(e[nl]=!0);for(const o in e){const n=T2(o,t);n.indexOf(r)<0&&n.push(r)}}function O2(r,e){const t={};for(const o in e)e[o].indexOf(r)>=0&&(t[o]=!0);return t}function ze(r=null){this.j={},this.jr=[],this.jd=null,this.t=r}ze.groups={},ze.prototype={accepts(){return!!this.t},go(r){const e=this,t=e.j[r];if(t)return t;for(let o=0;o<e.jr.length;o++){const n=e.jr[o][0],i=e.jr[o][1];if(i&&n.test(r))return i}return e.jd},has(r,e=!1){return e?r in this.j:!!this.go(r)},ta(r,e,t,o){for(let n=0;n<r.length;n++)this.tt(r[n],e,t,o)},tr(r,e,t,o){o=o||ze.groups;let n;return e&&e.j?n=e:(n=new ze(e),t&&o&&Mr(e,t,o)),this.jr.push([r,n]),n},ts(r,e,t,o){let n=this;const i=r.length;if(!i)return n;for(let a=0;a<i-1;a++)n=n.tt(r[a]);return n.tt(r[i-1],e,t,o)},tt(r,e,t,o){o=o||ze.groups;const n=this;if(e&&e.j)return n.j[r]=e,e;const i=e;let a,l=n.go(r);if(l?(a=new ze,io(a.j,l.j),a.jr.push.apply(a.jr,l.jr),a.jd=l.jd,a.t=l.t):a=new ze,i){if(o)if(a.t&&typeof a.t=="string"){const d=io(O2(a.t,o),t);Mr(i,d,o)}else t&&Mr(i,t,o);a.t=i}return n.j[r]=a,a}};const j=(r,e,t,o,n)=>r.ta(e,t,o,n),ae=(r,e,t,o,n)=>r.tr(e,t,o,n),$u=(r,e,t,o,n)=>r.ts(e,t,o,n),T=(r,e,t,o,n)=>r.tt(e,t,o,n),Ot="WORD",al="UWORD",em="ASCIINUMERICAL",tm="ALPHANUMERICAL",en="LOCALHOST",sl="TLD",ll="UTLD",vi="SCHEME",ao="SLASH_SCHEME",dl="NUM",cl="WS",pl="NL",tn="OPENBRACE",rn="CLOSEBRACE",ki="OPENBRACKET",Ei="CLOSEBRACKET",Ci="OPENPAREN",Si="CLOSEPAREN",Ni="OPENANGLEBRACKET",Mi="CLOSEANGLEBRACKET",Bi="FULLWIDTHLEFTPAREN",Ti="FULLWIDTHRIGHTPAREN",Oi="LEFTCORNERBRACKET",Vi="RIGHTCORNERBRACKET",Pi="LEFTWHITECORNERBRACKET",Ai="RIGHTWHITECORNERBRACKET",Di="FULLWIDTHLESSTHAN",Ii="FULLWIDTHGREATERTHAN",Li="AMPERSAND",Ri="APOSTROPHE",_i="ASTERISK",rr="AT",zi="BACKSLASH",Fi="BACKTICK",Hi="CARET",or="COLON",ul="COMMA",ji="DOLLAR",ft="DOT",Wi="EQUALS",ml="EXCLAMATION",Ze="HYPHEN",on="PERCENT",qi="PIPE",Ui="PLUS",Ki="POUND",nn="QUERY",hl="QUOTE",rm="FULLWIDTHMIDDLEDOT",gl="SEMI",bt="SLASH",an="TILDE",Gi="UNDERSCORE",om="EMOJI",Ji="SYM";var nm=Object.freeze({__proto__:null,ALPHANUMERICAL:tm,AMPERSAND:Li,APOSTROPHE:Ri,ASCIINUMERICAL:em,ASTERISK:_i,AT:rr,BACKSLASH:zi,BACKTICK:Fi,CARET:Hi,CLOSEANGLEBRACKET:Mi,CLOSEBRACE:rn,CLOSEBRACKET:Ei,CLOSEPAREN:Si,COLON:or,COMMA:ul,DOLLAR:ji,DOT:ft,EMOJI:om,EQUALS:Wi,EXCLAMATION:ml,FULLWIDTHGREATERTHAN:Ii,FULLWIDTHLEFTPAREN:Bi,FULLWIDTHLESSTHAN:Di,FULLWIDTHMIDDLEDOT:rm,FULLWIDTHRIGHTPAREN:Ti,HYPHEN:Ze,LEFTCORNERBRACKET:Oi,LEFTWHITECORNERBRACKET:Pi,LOCALHOST:en,NL:pl,NUM:dl,OPENANGLEBRACKET:Ni,OPENBRACE:tn,OPENBRACKET:ki,OPENPAREN:Ci,PERCENT:on,PIPE:qi,PLUS:Ui,POUND:Ki,QUERY:nn,QUOTE:hl,RIGHTCORNERBRACKET:Vi,RIGHTWHITECORNERBRACKET:Ai,SCHEME:vi,SEMI:gl,SLASH:bt,SLASH_SCHEME:ao,SYM:Ji,TILDE:an,TLD:sl,UNDERSCORE:Gi,UTLD:ll,UWORD:al,WORD:Ot,WS:cl});const Vt=/[a-z]/,sn=new RegExp("\\p{L}","u"),fl=new RegExp("\\p{Emoji}","u"),Pt=/\d/,bl=/\s/,im="\r",yl=`
124
- `,V2="️",P2="‍",wl="";let Yi=null,Qi=null;function A2(r=[]){const e={};ze.groups=e;const t=new ze;Yi==null&&(Yi=sm(S2)),Qi==null&&(Qi=sm(N2)),T(t,"'",Ri),T(t,"{",tn),T(t,"}",rn),T(t,"[",ki),T(t,"]",Ei),T(t,"(",Ci),T(t,")",Si),T(t,"<",Ni),T(t,">",Mi),T(t,"(",Bi),T(t,")",Ti),T(t,"「",Oi),T(t,"」",Vi),T(t,"『",Pi),T(t,"』",Ai),T(t,"<",Di),T(t,">",Ii),T(t,"&",Li),T(t,"*",_i),T(t,"@",rr),T(t,"`",Fi),T(t,"^",Hi),T(t,":",or),T(t,",",ul),T(t,"$",ji),T(t,".",ft),T(t,"=",Wi),T(t,"!",ml),T(t,"-",Ze),T(t,"%",on),T(t,"|",qi),T(t,"+",Ui),T(t,"#",Ki),T(t,"?",nn),T(t,'"',hl),T(t,"/",bt),T(t,";",gl),T(t,"~",an),T(t,"_",Gi),T(t,"\\",zi),T(t,"・",rm);const o=ae(t,Pt,dl,{[tl]:!0});ae(o,Pt,o);const n=ae(o,Vt,em,{[Zo]:!0}),i=ae(o,sn,tm,{[$o]:!0}),a=ae(t,Vt,Ot,{[rl]:!0});ae(a,Pt,n),ae(a,Vt,a),ae(n,Pt,n),ae(n,Vt,n);const l=ae(t,sn,al,{[ol]:!0});ae(l,Vt),ae(l,Pt,i),ae(l,sn,l),ae(i,Pt,i),ae(i,Vt),ae(i,sn,i);const d=T(t,yl,pl,{[il]:!0}),c=T(t,im,cl,{[il]:!0}),p=ae(t,bl,cl,{[il]:!0});T(t,wl,p),T(c,yl,d),T(c,wl,p),ae(c,bl,p),T(p,im),T(p,yl),ae(p,bl,p),T(p,wl,p);const u=ae(t,fl,om,{[Zu]:!0});T(u,"#"),ae(u,fl,u),T(u,V2,u);const m=T(u,P2);T(m,"#"),ae(m,fl,u);const h=[[Vt,a],[Pt,n]],g=[[Vt,null],[sn,l],[Pt,i]];for(let f=0;f<Yi.length;f++)nr(t,Yi[f],sl,Ot,h);for(let f=0;f<Qi.length;f++)nr(t,Qi[f],ll,al,g);Mr(sl,{tld:!0,ascii:!0},e),Mr(ll,{utld:!0,alpha:!0},e),nr(t,"file",vi,Ot,h),nr(t,"mailto",vi,Ot,h),nr(t,"http",ao,Ot,h),nr(t,"https",ao,Ot,h),nr(t,"ftp",ao,Ot,h),nr(t,"ftps",ao,Ot,h),Mr(vi,{scheme:!0,ascii:!0},e),Mr(ao,{slashscheme:!0,ascii:!0},e),r=r.sort((f,b)=>f[0]>b[0]?1:-1);for(let f=0;f<r.length;f++){const b=r[f][0],C=r[f][1]?{[M2]:!0}:{[B2]:!0};b.indexOf("-")>=0?C[nl]=!0:Vt.test(b)?Pt.test(b)?C[Zo]=!0:C[rl]=!0:C[tl]=!0,$u(t,b,b,C)}return $u(t,"localhost",en,{ascii:!0}),t.jd=new ze(Ji),{start:t,tokens:io({groups:e},nm)}}function am(r,e){const t=D2(e.replace(/[A-Z]/g,l=>l.toLowerCase())),o=t.length,n=[];let i=0,a=0;for(;a<o;){let l=r,d=null,c=0,p=null,u=-1,m=-1;for(;a<o&&(d=l.go(t[a]));)l=d,l.accepts()?(u=0,m=0,p=l):u>=0&&(u+=t[a].length,m++),c+=t[a].length,i+=t[a].length,a++;i-=u,a-=m,c-=u,n.push({t:p.t,v:e.slice(i-c,i),s:i-c,e:i})}return n}function D2(r){const e=[],t=r.length;let o=0;for(;o<t;){let n=r.charCodeAt(o),i,a=n<55296||n>56319||o+1===t||(i=r.charCodeAt(o+1))<56320||i>57343?r[o]:r.slice(o,o+2);e.push(a),o+=a.length}return e}function nr(r,e,t,o,n){let i;const a=e.length;for(let l=0;l<a-1;l++){const d=e[l];r.j[d]?i=r.j[d]:(i=new ze(o),i.jr=n.slice(),r.j[d]=i),r=i}return i=new ze(t),i.jr=n.slice(),r.j[e[a-1]]=i,i}function sm(r){const e=[],t=[];let o=0,n="0123456789";for(;o<r.length;){let i=0;for(;n.indexOf(r[o+i])>=0;)i++;if(i>0){e.push(t.join(""));for(let a=parseInt(r.substring(o,o+i),10);a>0;a--)t.pop();o+=i}else t.push(r[o]),o++}return e}const ln={defaultProtocol:"http",events:null,format:lm,formatHref:lm,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function xl(r,e=null){let t=io({},ln);r&&(t=io(t,r instanceof xl?r.o:r));const o=t.ignoreTags,n=[];for(let i=0;i<o.length;i++)n.push(o[i].toUpperCase());this.o=t,e&&(this.defaultRender=e),this.ignoreTags=n}xl.prototype={o:ln,ignoreTags:[],defaultRender(r){return r},check(r){return this.get("validate",r.toString(),r)},get(r,e,t){const o=e!=null;let n=this.o[r];return n&&(typeof n=="object"?(n=t.t in n?n[t.t]:ln[r],typeof n=="function"&&o&&(n=n(e,t))):typeof n=="function"&&o&&(n=n(e,t.t,t)),n)},getObj(r,e,t){let o=this.o[r];return typeof o=="function"&&e!=null&&(o=o(e,t.t,t)),o},render(r){const e=r.render(this);return(this.get("render",null,r)||this.defaultRender)(e,r.t,r)}};function lm(r){return r}function dm(r,e){this.t="token",this.v=r,this.tk=e}dm.prototype={isLink:!1,toString(){return this.v},toHref(r){return this.toString()},toFormattedString(r){const e=this.toString(),t=r.get("truncate",e,this),o=r.get("format",e,this);return t&&o.length>t?o.substring(0,t)+"…":o},toFormattedHref(r){return r.get("formatHref",this.toHref(r.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(r=ln.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(r),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(r){return{type:this.t,value:this.toFormattedString(r),isLink:this.isLink,href:this.toFormattedHref(r),start:this.startIndex(),end:this.endIndex()}},validate(r){return r.get("validate",this.toString(),this)},render(r){const e=this,t=this.toHref(r.get("defaultProtocol")),o=r.get("formatHref",t,this),n=r.get("tagName",t,e),i=this.toFormattedString(r),a={},l=r.get("className",t,e),d=r.get("target",t,e),c=r.get("rel",t,e),p=r.getObj("attributes",t,e),u=r.getObj("events",t,e);return a.href=o,l&&(a.class=l),d&&(a.target=d),c&&(a.rel=c),p&&io(a,p),{tagName:n,attributes:a,content:i,eventListeners:u}}};function Xi(r,e){class t extends dm{constructor(n,i){super(n,i),this.t=r}}for(const o in e)t.prototype[o]=e[o];return t.t=r,t}const cm=Xi("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),pm=Xi("text"),I2=Xi("nl"),Zi=Xi("url",{isLink:!0,toHref(r=ln.defaultProtocol){return this.hasProtocol()?this.v:`${r}://${this.v}`},hasProtocol(){const r=this.tk;return r.length>=2&&r[0].t!==en&&r[1].t===or}}),$e=r=>new ze(r);function L2({groups:r}){const e=r.domain.concat([Li,_i,rr,zi,Fi,Hi,ji,Wi,Ze,dl,on,qi,Ui,Ki,bt,Ji,an,Gi]),t=[Ri,or,ul,ft,ml,on,nn,hl,gl,Ni,Mi,tn,rn,Ei,ki,Ci,Si,Bi,Ti,Oi,Vi,Pi,Ai,Di,Ii],o=[Li,Ri,_i,zi,Fi,Hi,ji,Wi,Ze,tn,rn,on,qi,Ui,Ki,nn,bt,Ji,an,Gi],n=$e(),i=T(n,an);j(i,o,i),j(i,r.domain,i);const a=$e(),l=$e(),d=$e();j(n,r.domain,a),j(n,r.scheme,l),j(n,r.slashscheme,d),j(a,o,i),j(a,r.domain,a);const c=T(a,rr);T(i,rr,c),T(l,rr,c),T(d,rr,c);const p=T(i,ft);j(p,o,i),j(p,r.domain,i);const u=$e();j(c,r.domain,u),j(u,r.domain,u);const m=T(u,ft);j(m,r.domain,u);const h=$e(cm);j(m,r.tld,h),j(m,r.utld,h),T(c,en,h);const g=T(u,Ze);T(g,Ze,g),j(g,r.domain,u),j(h,r.domain,u),T(h,ft,m),T(h,Ze,g);const f=T(h,or);j(f,r.numeric,cm);const b=T(a,Ze),w=T(a,ft);T(b,Ze,b),j(b,r.domain,a),j(w,o,i),j(w,r.domain,a);const C=$e(Zi);j(w,r.tld,C),j(w,r.utld,C),j(C,r.domain,a),j(C,o,i),T(C,ft,w),T(C,Ze,b),T(C,rr,c);const k=T(C,or),y=$e(Zi);j(k,r.numeric,y);const S=$e(Zi),E=$e();j(S,e,S),j(S,t,E),j(E,e,S),j(E,t,E),T(C,bt,S),T(y,bt,S);const N=T(l,or),O=T(d,or),A=T(O,bt),v=T(A,bt);j(l,r.domain,a),T(l,ft,w),T(l,Ze,b),j(d,r.domain,a),T(d,ft,w),T(d,Ze,b),j(N,r.domain,S),T(N,bt,S),T(N,nn,S),j(v,r.domain,S),j(v,e,S),T(v,bt,S);const x=[[tn,rn],[ki,Ei],[Ci,Si],[Ni,Mi],[Bi,Ti],[Oi,Vi],[Pi,Ai],[Di,Ii]];for(let V=0;V<x.length;V++){const[z,ee]=x[V],te=T(S,z);T(E,z,te),T(te,ee,S);const K=$e(Zi);j(te,e,K);const F=$e();j(te,t),j(K,e,K),j(K,t,F),j(F,e,K),j(F,t,F),T(K,ee,S),T(F,ee,S)}return T(n,en,C),T(n,pl,I2),{start:n,tokens:nm}}function R2(r,e,t){let o=t.length,n=0,i=[],a=[];for(;n<o;){let l=r,d=null,c=null,p=0,u=null,m=-1;for(;n<o&&!(d=l.go(t[n].t));)a.push(t[n++]);for(;n<o&&(c=d||l.go(t[n].t));)d=null,l=c,l.accepts()?(m=0,u=l):m>=0&&m++,n++,p++;if(m<0)n-=p,n<o&&(a.push(t[n]),n++);else{a.length>0&&(i.push(vl(pm,e,a)),a=[]),n-=m,p-=m;const h=u.t,g=t.slice(n-p,n);i.push(vl(h,e,g))}}return a.length>0&&i.push(vl(pm,e,a)),i}function vl(r,e,t){const o=t[0].s,n=t[t.length-1].e,i=e.slice(o,n);return new r(i,t)}const _2=typeof console<"u"&&console&&console.warn||(()=>{}),z2="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",$={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function F2(){return ze.groups={},$.scanner=null,$.parser=null,$.tokenQueue=[],$.pluginQueue=[],$.customSchemes=[],$.initialized=!1,$}function um(r,e=!1){if($.initialized&&_2(`linkifyjs: already initialized - will not register custom scheme "${r}" ${z2}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(r))throw new Error(`linkifyjs: incorrect scheme format.
121
+ `);return!i||!a?!1:r.chain().command(({tr:l})=>(l.delete(o.pos-2,o.pos),!0)).exitCode().run()},ArrowDown:({editor:r})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=r,{selection:t,doc:o}=e,{$from:n,empty:i}=t;if(!i||n.parent.type!==this.type||!(n.parentOffset===n.parent.nodeSize-2))return!1;const l=n.after();return l===void 0?!1:o.nodeAt(l)?r.commands.command(({tr:c})=>(c.setSelection(H.near(o.resolve(l))),!0)):r.commands.exitCode()}}},addInputRules(){return[Is({find:R1,type:this.type,getAttributes:r=>({language:r[1]})}),Is({find:_1,type:this.type,getAttributes:r=>({language:r[1]})})]},addProseMirrorPlugins(){return[new pe({key:new Oe("codeBlockVSCodeHandler"),props:{handlePaste:(r,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const t=e.clipboardData.getData("text/plain"),o=e.clipboardData.getData("vscode-editor-data"),n=o?JSON.parse(o):void 0,i=n==null?void 0:n.mode;if(!t||!i)return!1;const{tr:a,schema:l}=r.state,d=l.text(t.replace(/\r\n?/g,`
122
+ `));return a.replaceSelectionWith(this.type.create({language:i},d)),a.selection.$from.parent.type!==this.type&&a.setSelection(_.near(a.doc.resolve(Math.max(0,a.selection.from-2)))),a.setMeta("paste",!0),r.dispatch(a),!0}}})]}}),F1=ot.create({name:"doc",topNode:!0,content:"block+"});function H1(r={}){return new pe({view(e){return new j1(e,r)}})}class j1{constructor(e,t){var o;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(o=t.width)!==null&&o!==void 0?o:1,this.color=t.color===!1?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(n=>{let i=a=>{this[n](a)};return e.dom.addEventListener(n,i),{name:n,handler:i}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){this.cursorPos!=null&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,o,n=this.editorView.dom,i=n.getBoundingClientRect(),a=i.width/n.offsetWidth,l=i.height/n.offsetHeight;if(t){let u=e.nodeBefore,m=e.nodeAfter;if(u||m){let h=this.editorView.nodeDOM(this.cursorPos-(u?u.nodeSize:0));if(h){let g=h.getBoundingClientRect(),f=u?g.bottom:g.top;u&&m&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let b=this.width/2*l;o={left:g.left,right:g.right,top:f-b,bottom:f+b}}}}if(!o){let u=this.editorView.coordsAtPos(this.cursorPos),m=this.width/2*a;o={left:u.left-m,right:u.left+m,top:u.top,bottom:u.bottom}}let d=this.editorView.dom.offsetParent;this.element||(this.element=d.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",t),this.element.classList.toggle("prosemirror-dropcursor-inline",!t);let c,p;if(!d||d==document.body&&getComputedStyle(d).position=="static")c=-pageXOffset,p=-pageYOffset;else{let u=d.getBoundingClientRect(),m=u.width/d.offsetWidth,h=u.height/d.offsetHeight;c=u.left-d.scrollLeft*m,p=u.top-d.scrollTop*h}this.element.style.left=(o.left-c)/a+"px",this.element.style.top=(o.top-p)/l+"px",this.element.style.width=(o.right-o.left)/a+"px",this.element.style.height=(o.bottom-o.top)/l+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),o=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),n=o&&o.type.spec.disableDropCursor,i=typeof n=="function"?n(this.editorView,t,e):n;if(t&&!i){let a=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let l=Gd(this.editorView.state.doc,a,this.editorView.dragging.slice);l!=null&&(a=l)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}const W1=Ce.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[H1(this.options)]}});class ie extends H{constructor(e){super(e,e)}map(e,t){let o=e.resolve(t.map(this.head));return ie.valid(o)?new ie(o):H.near(o)}content(){return P.empty}eq(e){return e instanceof ie&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new ie(e.resolve(t.pos))}getBookmark(){return new $s(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!q1(e)||!U1(e))return!1;let o=t.type.spec.allowGapCursor;if(o!=null)return o;let n=t.contentMatchAt(e.index()).defaultType;return n&&n.isTextblock}static findGapCursorFrom(e,t,o=!1){e:for(;;){if(!o&&ie.valid(e))return e;let n=e.pos,i=null;for(let a=e.depth;;a--){let l=e.node(a);if(t>0?e.indexAfter(a)<l.childCount:e.index(a)>0){i=l.child(t>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;n+=t;let d=e.doc.resolve(n);if(ie.valid(d))return d}for(;;){let a=t>0?i.firstChild:i.lastChild;if(!a){if(i.isAtom&&!i.isText&&!L.isSelectable(i)){e=e.doc.resolve(n+i.nodeSize*t),o=!1;continue e}break}i=a,n+=t;let l=e.doc.resolve(n);if(ie.valid(l))return l}return null}}}ie.prototype.visible=!1,ie.findFrom=ie.findGapCursorFrom,H.jsonID("gapcursor",ie);class $s{constructor(e){this.pos=e}map(e){return new $s(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return ie.valid(t)?new ie(t):H.near(t)}}function q1(r){for(let e=r.depth;e>=0;e--){let t=r.index(e),o=r.node(e);if(t==0){if(o.type.spec.isolating)return!0;continue}for(let n=o.child(t-1);;n=n.lastChild){if(n.childCount==0&&!n.inlineContent||n.isAtom||n.type.spec.isolating)return!0;if(n.inlineContent)return!1}}return!0}function U1(r){for(let e=r.depth;e>=0;e--){let t=r.indexAfter(e),o=r.node(e);if(t==o.childCount){if(o.type.spec.isolating)return!0;continue}for(let n=o.child(t);;n=n.firstChild){if(n.childCount==0&&!n.inlineContent||n.isAtom||n.type.spec.isolating)return!0;if(n.inlineContent)return!1}}return!0}function K1(){return new pe({props:{decorations:Q1,createSelectionBetween(r,e,t){return e.pos==t.pos&&ie.valid(t)?new ie(t):null},handleClick:J1,handleKeyDown:G1,handleDOMEvents:{beforeinput:Y1}}})}const G1=xp({ArrowLeft:yi("horiz",-1),ArrowRight:yi("horiz",1),ArrowUp:yi("vert",-1),ArrowDown:yi("vert",1)});function yi(r,e){const t=r=="vert"?e>0?"down":"up":e>0?"right":"left";return function(o,n,i){let a=o.selection,l=e>0?a.$to:a.$from,d=a.empty;if(a instanceof _){if(!i.endOfTextblock(t)||l.depth==0)return!1;d=!1,l=o.doc.resolve(e>0?l.after():l.before())}let c=ie.findGapCursorFrom(l,e,d);return c?(n&&n(o.tr.setSelection(new ie(c))),!0):!1}}function J1(r,e,t){if(!r||!r.editable)return!1;let o=r.state.doc.resolve(e);if(!ie.valid(o))return!1;let n=r.posAtCoords({left:t.clientX,top:t.clientY});return n&&n.inside>-1&&L.isSelectable(r.state.doc.nodeAt(n.inside))?!1:(r.dispatch(r.state.tr.setSelection(new ie(o))),!0)}function Y1(r,e){if(e.inputType!="insertCompositionText"||!(r.state.selection instanceof ie))return!1;let{$from:t}=r.state.selection,o=t.parent.contentMatchAt(t.index()).findWrapping(r.state.schema.nodes.text);if(!o)return!1;let n=B.empty;for(let a=o.length-1;a>=0;a--)n=B.from(o[a].createAndFill(null,n));let i=r.state.tr.replace(t.pos,t.pos,new P(n,0,0));return i.setSelection(_.near(i.doc.resolve(t.pos+1))),r.dispatch(i),!1}function Q1(r){if(!(r.selection instanceof ie))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",ue.create(r.doc,[Je.widget(r.selection.head,e,{key:"gapcursor"})])}const X1=Ce.create({name:"gapCursor",addProseMirrorPlugins(){return[K1()]},extendNodeSchema(r){var e;const t={name:r.name,options:r.options,storage:r.storage};return{allowGapCursor:(e=W(D(r,"allowGapCursor",t)))!==null&&e!==void 0?e:null}}}),Z1=ot.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:r}){return["br",Ee(this.options.HTMLAttributes,r)]},renderText(){return`
123
+ `},addCommands(){return{setHardBreak:()=>({commands:r,chain:e,state:t,editor:o})=>r.first([()=>r.exitCode(),()=>r.command(()=>{const{selection:n,storedMarks:i}=t;if(n.$from.parent.type.spec.isolating)return!1;const{keepMarks:a}=this.options,{splittableMarks:l}=o.extensionManager,d=i||n.$to.parentOffset&&n.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:p})=>{if(p&&d&&a){const u=d.filter(m=>l.includes(m.type.name));c.ensureMarks(u)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),$1=ot.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(r=>({tag:`h${r}`,attrs:{level:r}}))},renderHTML({node:r,HTMLAttributes:e}){return[`h${this.options.levels.includes(r.attrs.level)?r.attrs.level:this.options.levels[0]}`,Ee(this.options.HTMLAttributes,e),0]},addCommands(){return{setHeading:r=>({commands:e})=>this.options.levels.includes(r.level)?e.setNode(this.name,r):!1,toggleHeading:r=>({commands:e})=>this.options.levels.includes(r.level)?e.toggleNode(this.name,"paragraph",r):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((r,e)=>({...r,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(r=>Is({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${r}})\\s$`),type:this.type,getAttributes:{level:r}}))}});var wi=200,be=function(){};be.prototype.append=function(e){return e.length?(e=be.from(e),!this.length&&e||e.length<wi&&this.leafAppend(e)||this.length<wi&&e.leafPrepend(this)||this.appendInner(e)):this},be.prototype.prepend=function(e){return e.length?be.from(e).append(this):this},be.prototype.appendInner=function(e){return new e2(this,e)},be.prototype.slice=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=this.length),e>=t?be.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},be.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},be.prototype.forEach=function(e,t,o){t===void 0&&(t=0),o===void 0&&(o=this.length),t<=o?this.forEachInner(e,t,o,0):this.forEachInvertedInner(e,t,o,0)},be.prototype.map=function(e,t,o){t===void 0&&(t=0),o===void 0&&(o=this.length);var n=[];return this.forEach(function(i,a){return n.push(e(i,a))},t,o),n},be.from=function(e){return e instanceof be?e:e&&e.length?new qu(e):be.empty};var qu=function(r){function e(o){r.call(this),this.values=o}r&&(e.__proto__=r),e.prototype=Object.create(r&&r.prototype),e.prototype.constructor=e;var t={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(n,i){return n==0&&i==this.length?this:new e(this.values.slice(n,i))},e.prototype.getInner=function(n){return this.values[n]},e.prototype.forEachInner=function(n,i,a,l){for(var d=i;d<a;d++)if(n(this.values[d],l+d)===!1)return!1},e.prototype.forEachInvertedInner=function(n,i,a,l){for(var d=i-1;d>=a;d--)if(n(this.values[d],l+d)===!1)return!1},e.prototype.leafAppend=function(n){if(this.length+n.length<=wi)return new e(this.values.concat(n.flatten()))},e.prototype.leafPrepend=function(n){if(this.length+n.length<=wi)return new e(n.flatten().concat(this.values))},t.length.get=function(){return this.values.length},t.depth.get=function(){return 0},Object.defineProperties(e.prototype,t),e}(be);be.empty=new qu([]);var e2=function(r){function e(t,o){r.call(this),this.left=t,this.right=o,this.length=t.length+o.length,this.depth=Math.max(t.depth,o.depth)+1}return r&&(e.__proto__=r),e.prototype=Object.create(r&&r.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(o){return o<this.left.length?this.left.get(o):this.right.get(o-this.left.length)},e.prototype.forEachInner=function(o,n,i,a){var l=this.left.length;if(n<l&&this.left.forEachInner(o,n,Math.min(i,l),a)===!1||i>l&&this.right.forEachInner(o,Math.max(n-l,0),Math.min(this.length,i)-l,a+l)===!1)return!1},e.prototype.forEachInvertedInner=function(o,n,i,a){var l=this.left.length;if(n>l&&this.right.forEachInvertedInner(o,n-l,Math.max(i,l)-l,a+l)===!1||i<l&&this.left.forEachInvertedInner(o,Math.min(n,l),i,a)===!1)return!1},e.prototype.sliceInner=function(o,n){if(o==0&&n==this.length)return this;var i=this.left.length;return n<=i?this.left.slice(o,n):o>=i?this.right.slice(o-i,n-i):this.left.slice(o,i).append(this.right.slice(0,n-i))},e.prototype.leafAppend=function(o){var n=this.right.leafAppend(o);if(n)return new e(this.left,n)},e.prototype.leafPrepend=function(o){var n=this.left.leafPrepend(o);if(n)return new e(n,this.right)},e.prototype.appendInner=function(o){return this.left.depth>=Math.max(this.right.depth,o.depth)+1?new e(this.left,new e(this.right,o)):new e(this,o)},e}(be);const t2=500;class nt{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(this.eventCount==0)return null;let o=this.items.length;for(;;o--)if(this.items.get(o-1).selection){--o;break}let n,i;t&&(n=this.remapping(o,this.items.length),i=n.maps.length);let a=e.tr,l,d,c=[],p=[];return this.items.forEach((u,m)=>{if(!u.step){n||(n=this.remapping(o,m+1),i=n.maps.length),i--,p.push(u);return}if(n){p.push(new gt(u.map));let h=u.step.map(n.slice(i)),g;h&&a.maybeStep(h).doc&&(g=a.mapping.maps[a.mapping.maps.length-1],c.push(new gt(g,void 0,void 0,c.length+p.length))),i--,g&&n.appendMap(g,i)}else a.maybeStep(u.step);if(u.selection)return l=n?u.selection.map(n.slice(i)):u.selection,d=new nt(this.items.slice(0,o).append(p.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:d,transform:a,selection:l}}addTransform(e,t,o,n){let i=[],a=this.eventCount,l=this.items,d=!n&&l.length?l.get(l.length-1):null;for(let p=0;p<e.steps.length;p++){let u=e.steps[p].invert(e.docs[p]),m=new gt(e.mapping.maps[p],u,t),h;(h=d&&d.merge(m))&&(m=h,p?i.pop():l=l.slice(0,l.length-1)),i.push(m),t&&(a++,t=void 0),n||(d=m)}let c=a-o.depth;return c>o2&&(l=r2(l,c),a-=c),new nt(l.append(i),a)}remapping(e,t){let o=new So;return this.items.forEach((n,i)=>{let a=n.mirrorOffset!=null&&i-n.mirrorOffset>=e?o.maps.length-n.mirrorOffset:void 0;o.appendMap(n.map,a)},e,t),o}addMaps(e){return this.eventCount==0?this:new nt(this.items.append(e.map(t=>new gt(t))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let o=[],n=Math.max(0,this.items.length-t),i=e.mapping,a=e.steps.length,l=this.eventCount;this.items.forEach(m=>{m.selection&&l--},n);let d=t;this.items.forEach(m=>{let h=i.getMirror(--d);if(h==null)return;a=Math.min(a,h);let g=i.maps[h];if(m.step){let f=e.steps[h].invert(e.docs[h]),b=m.selection&&m.selection.map(i.slice(d+1,h));b&&l++,o.push(new gt(g,f,b))}else o.push(new gt(g))},n);let c=[];for(let m=t;m<a;m++)c.push(new gt(i.maps[m]));let p=this.items.slice(0,n).append(c).append(o),u=new nt(p,l);return u.emptyItemCount()>t2&&(u=u.compress(this.items.length-o.length)),u}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),o=t.maps.length,n=[],i=0;return this.items.forEach((a,l)=>{if(l>=e)n.push(a),a.selection&&i++;else if(a.step){let d=a.step.map(t.slice(o)),c=d&&d.getMap();if(o--,c&&t.appendMap(c,o),d){let p=a.selection&&a.selection.map(t.slice(o));p&&i++;let u=new gt(c.invert(),d,p),m,h=n.length-1;(m=n.length&&n[h].merge(u))?n[h]=m:n.push(u)}}else a.map&&o--},this.items.length,0),new nt(be.from(n.reverse()),i)}}nt.empty=new nt(be.empty,0);function r2(r,e){let t;return r.forEach((o,n)=>{if(o.selection&&e--==0)return t=n,!1}),r.slice(t)}class gt{constructor(e,t,o,n){this.map=e,this.step=t,this.selection=o,this.mirrorOffset=n}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new gt(t.getMap().invert(),t,this.selection)}}}class tr{constructor(e,t,o,n,i){this.done=e,this.undone=t,this.prevRanges=o,this.prevTime=n,this.prevComposition=i}}const o2=20;function n2(r,e,t,o){let n=t.getMeta(Nr),i;if(n)return n.historyState;t.getMeta(s2)&&(r=new tr(r.done,r.undone,null,0,-1));let a=t.getMeta("appendedTransaction");if(t.steps.length==0)return r;if(a&&a.getMeta(Nr))return a.getMeta(Nr).redo?new tr(r.done.addTransform(t,void 0,o,xi(e)),r.undone,Uu(t.mapping.maps),r.prevTime,r.prevComposition):new tr(r.done,r.undone.addTransform(t,void 0,o,xi(e)),null,r.prevTime,r.prevComposition);if(t.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let l=t.getMeta("composition"),d=r.prevTime==0||!a&&r.prevComposition!=l&&(r.prevTime<(t.time||0)-o.newGroupDelay||!i2(t,r.prevRanges)),c=a?el(r.prevRanges,t.mapping):Uu(t.mapping.maps);return new tr(r.done.addTransform(t,d?e.selection.getBookmark():void 0,o,xi(e)),nt.empty,c,t.time,l??r.prevComposition)}else return(i=t.getMeta("rebased"))?new tr(r.done.rebased(t,i),r.undone.rebased(t,i),el(r.prevRanges,t.mapping),r.prevTime,r.prevComposition):new tr(r.done.addMaps(t.mapping.maps),r.undone.addMaps(t.mapping.maps),el(r.prevRanges,t.mapping),r.prevTime,r.prevComposition)}function i2(r,e){if(!e)return!1;if(!r.docChanged)return!0;let t=!1;return r.mapping.maps[0].forEach((o,n)=>{for(let i=0;i<e.length;i+=2)o<=e[i+1]&&n>=e[i]&&(t=!0)}),t}function Uu(r){let e=[];for(let t=r.length-1;t>=0&&e.length==0;t--)r[t].forEach((o,n,i,a)=>e.push(i,a));return e}function el(r,e){if(!r)return null;let t=[];for(let o=0;o<r.length;o+=2){let n=e.map(r[o],1),i=e.map(r[o+1],-1);n<=i&&t.push(n,i)}return t}function a2(r,e,t){let o=xi(e),n=Nr.get(e).spec.config,i=(t?r.undone:r.done).popEvent(e,o);if(!i)return null;let a=i.selection.resolve(i.transform.doc),l=(t?r.done:r.undone).addTransform(i.transform,e.selection.getBookmark(),n,o),d=new tr(t?l:i.remaining,t?i.remaining:l,null,0,-1);return i.transform.setSelection(a).setMeta(Nr,{redo:t,historyState:d})}let tl=!1,Ku=null;function xi(r){let e=r.plugins;if(Ku!=e){tl=!1,Ku=e;for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){tl=!0;break}}return tl}const Nr=new Oe("history"),s2=new Oe("closeHistory");function l2(r={}){return r={depth:r.depth||100,newGroupDelay:r.newGroupDelay||500},new pe({key:Nr,state:{init(){return new tr(nt.empty,nt.empty,null,0,-1)},apply(e,t,o){return n2(t,o,e,r)}},config:r,props:{handleDOMEvents:{beforeinput(e,t){let o=t.inputType,n=o=="historyUndo"?Ju:o=="historyRedo"?Yu:null;return n?(t.preventDefault(),n(e.state,e.dispatch)):!1}}}})}function Gu(r,e){return(t,o)=>{let n=Nr.getState(t);if(!n||(r?n.undone:n.done).eventCount==0)return!1;if(o){let i=a2(n,t,r);i&&o(e?i.scrollIntoView():i)}return!0}}const Ju=Gu(!1,!0),Yu=Gu(!0,!0),d2=Ce.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:r,dispatch:e})=>Ju(r,e),redo:()=>({state:r,dispatch:e})=>Yu(r,e)}},addProseMirrorPlugins(){return[l2(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),c2=ot.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:r}){return["hr",Ee(this.options.HTMLAttributes,r)]},addCommands(){return{setHorizontalRule:()=>({chain:r,state:e})=>{const{selection:t}=e,{$from:o,$to:n}=t,i=r();return o.parentOffset===0?i.insertContentAt({from:Math.max(o.pos-1,0),to:n.pos},{type:this.name}):Qp(t)?i.insertContentAt(n.pos,{type:this.name}):i.insertContent({type:this.name}),i.command(({tr:a,dispatch:l})=>{var d;if(l){const{$to:c}=a.selection,p=c.end();if(c.nodeAfter)c.nodeAfter.isTextblock?a.setSelection(_.create(a.doc,c.pos+1)):c.nodeAfter.isBlock?a.setSelection(L.create(a.doc,c.pos)):a.setSelection(_.create(a.doc,c.pos));else{const u=(d=c.parent.type.contentMatch.defaultType)===null||d===void 0?void 0:d.create();u&&(a.insert(p,u),a.setSelection(_.create(a.doc,p+1)))}a.scrollIntoView()}return!0}).run()}}},addInputRules(){return[Fy({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),p2=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,u2=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,m2=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,h2=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,g2=Nt.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:r=>r.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:r=>r.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:r}){return["em",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setItalic:()=>({commands:r})=>r.setMark(this.name),toggleItalic:()=>({commands:r})=>r.toggleMark(this.name),unsetItalic:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Xr({find:p2,type:this.type}),Xr({find:m2,type:this.type})]},addPasteRules(){return[kr({find:u2,type:this.type}),kr({find:h2,type:this.type})]}}),f2=ot.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:r}){return["li",Ee(this.options.HTMLAttributes,r),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),b2="listItem",Qu="textStyle",Xu=/^(\d+)\.\s$/,y2=ot.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:r=>r.hasAttribute("start")?parseInt(r.getAttribute("start")||"",10):1},type:{default:null,parseHTML:r=>r.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:r}){const{start:e,...t}=r;return e===1?["ol",Ee(this.options.HTMLAttributes,t),0]:["ol",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{toggleOrderedList:()=>({commands:r,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(b2,this.editor.getAttributes(Qu)).run():r.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let r=Ho({find:Xu,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(r=Ho({find:Xu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Qu)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[r]}}),w2=ot.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:r}){return["p",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setParagraph:()=>({commands:r})=>r.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),x2=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,v2=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,k2=Nt.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:r=>r.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:r}){return["s",Ee(this.options.HTMLAttributes,r),0]},addCommands(){return{setStrike:()=>({commands:r})=>r.setMark(this.name),toggleStrike:()=>({commands:r})=>r.toggleMark(this.name),unsetStrike:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[Xr({find:x2,type:this.type})]},addPasteRules(){return[kr({find:v2,type:this.type})]}}),E2=ot.create({name:"text",group:"inline"}),C2=Ce.create({name:"starterKit",addExtensions(){const r=[];return this.options.bold!==!1&&r.push(V1.configure(this.options.bold)),this.options.blockquote!==!1&&r.push(N1.configure(this.options.blockquote)),this.options.bulletList!==!1&&r.push(A1.configure(this.options.bulletList)),this.options.code!==!1&&r.push(L1.configure(this.options.code)),this.options.codeBlock!==!1&&r.push(z1.configure(this.options.codeBlock)),this.options.document!==!1&&r.push(F1.configure(this.options.document)),this.options.dropcursor!==!1&&r.push(W1.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&r.push(X1.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&r.push(Z1.configure(this.options.hardBreak)),this.options.heading!==!1&&r.push($1.configure(this.options.heading)),this.options.history!==!1&&r.push(d2.configure(this.options.history)),this.options.horizontalRule!==!1&&r.push(c2.configure(this.options.horizontalRule)),this.options.italic!==!1&&r.push(g2.configure(this.options.italic)),this.options.listItem!==!1&&r.push(f2.configure(this.options.listItem)),this.options.orderedList!==!1&&r.push(y2.configure(this.options.orderedList)),this.options.paragraph!==!1&&r.push(w2.configure(this.options.paragraph)),this.options.strike!==!1&&r.push(k2.configure(this.options.strike)),this.options.text!==!1&&r.push(E2.configure(this.options.text)),r}}),S2="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",N2="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",io=(r,e)=>{for(const t in e)r[t]=e[t];return r},rl="numeric",ol="ascii",nl="alpha",Zo="asciinumeric",$o="alphanumeric",il="domain",Zu="emoji",M2="scheme",B2="slashscheme",al="whitespace";function T2(r,e){return r in e||(e[r]=[]),e[r]}function Mr(r,e,t){e[rl]&&(e[Zo]=!0,e[$o]=!0),e[ol]&&(e[Zo]=!0,e[nl]=!0),e[Zo]&&(e[$o]=!0),e[nl]&&(e[$o]=!0),e[$o]&&(e[il]=!0),e[Zu]&&(e[il]=!0);for(const o in e){const n=T2(o,t);n.indexOf(r)<0&&n.push(r)}}function O2(r,e){const t={};for(const o in e)e[o].indexOf(r)>=0&&(t[o]=!0);return t}function ze(r=null){this.j={},this.jr=[],this.jd=null,this.t=r}ze.groups={},ze.prototype={accepts(){return!!this.t},go(r){const e=this,t=e.j[r];if(t)return t;for(let o=0;o<e.jr.length;o++){const n=e.jr[o][0],i=e.jr[o][1];if(i&&n.test(r))return i}return e.jd},has(r,e=!1){return e?r in this.j:!!this.go(r)},ta(r,e,t,o){for(let n=0;n<r.length;n++)this.tt(r[n],e,t,o)},tr(r,e,t,o){o=o||ze.groups;let n;return e&&e.j?n=e:(n=new ze(e),t&&o&&Mr(e,t,o)),this.jr.push([r,n]),n},ts(r,e,t,o){let n=this;const i=r.length;if(!i)return n;for(let a=0;a<i-1;a++)n=n.tt(r[a]);return n.tt(r[i-1],e,t,o)},tt(r,e,t,o){o=o||ze.groups;const n=this;if(e&&e.j)return n.j[r]=e,e;const i=e;let a,l=n.go(r);if(l?(a=new ze,io(a.j,l.j),a.jr.push.apply(a.jr,l.jr),a.jd=l.jd,a.t=l.t):a=new ze,i){if(o)if(a.t&&typeof a.t=="string"){const d=io(O2(a.t,o),t);Mr(i,d,o)}else t&&Mr(i,t,o);a.t=i}return n.j[r]=a,a}};const j=(r,e,t,o,n)=>r.ta(e,t,o,n),ae=(r,e,t,o,n)=>r.tr(e,t,o,n),$u=(r,e,t,o,n)=>r.ts(e,t,o,n),T=(r,e,t,o,n)=>r.tt(e,t,o,n),Ot="WORD",sl="UWORD",em="ASCIINUMERICAL",tm="ALPHANUMERICAL",en="LOCALHOST",ll="TLD",dl="UTLD",vi="SCHEME",ao="SLASH_SCHEME",cl="NUM",pl="WS",ul="NL",tn="OPENBRACE",rn="CLOSEBRACE",ki="OPENBRACKET",Ei="CLOSEBRACKET",Ci="OPENPAREN",Si="CLOSEPAREN",Ni="OPENANGLEBRACKET",Mi="CLOSEANGLEBRACKET",Bi="FULLWIDTHLEFTPAREN",Ti="FULLWIDTHRIGHTPAREN",Oi="LEFTCORNERBRACKET",Vi="RIGHTCORNERBRACKET",Pi="LEFTWHITECORNERBRACKET",Ai="RIGHTWHITECORNERBRACKET",Di="FULLWIDTHLESSTHAN",Ii="FULLWIDTHGREATERTHAN",Li="AMPERSAND",Ri="APOSTROPHE",_i="ASTERISK",rr="AT",zi="BACKSLASH",Fi="BACKTICK",Hi="CARET",or="COLON",ml="COMMA",ji="DOLLAR",ft="DOT",Wi="EQUALS",hl="EXCLAMATION",Ze="HYPHEN",on="PERCENT",qi="PIPE",Ui="PLUS",Ki="POUND",nn="QUERY",gl="QUOTE",rm="FULLWIDTHMIDDLEDOT",fl="SEMI",bt="SLASH",an="TILDE",Gi="UNDERSCORE",om="EMOJI",Ji="SYM";var nm=Object.freeze({__proto__:null,ALPHANUMERICAL:tm,AMPERSAND:Li,APOSTROPHE:Ri,ASCIINUMERICAL:em,ASTERISK:_i,AT:rr,BACKSLASH:zi,BACKTICK:Fi,CARET:Hi,CLOSEANGLEBRACKET:Mi,CLOSEBRACE:rn,CLOSEBRACKET:Ei,CLOSEPAREN:Si,COLON:or,COMMA:ml,DOLLAR:ji,DOT:ft,EMOJI:om,EQUALS:Wi,EXCLAMATION:hl,FULLWIDTHGREATERTHAN:Ii,FULLWIDTHLEFTPAREN:Bi,FULLWIDTHLESSTHAN:Di,FULLWIDTHMIDDLEDOT:rm,FULLWIDTHRIGHTPAREN:Ti,HYPHEN:Ze,LEFTCORNERBRACKET:Oi,LEFTWHITECORNERBRACKET:Pi,LOCALHOST:en,NL:ul,NUM:cl,OPENANGLEBRACKET:Ni,OPENBRACE:tn,OPENBRACKET:ki,OPENPAREN:Ci,PERCENT:on,PIPE:qi,PLUS:Ui,POUND:Ki,QUERY:nn,QUOTE:gl,RIGHTCORNERBRACKET:Vi,RIGHTWHITECORNERBRACKET:Ai,SCHEME:vi,SEMI:fl,SLASH:bt,SLASH_SCHEME:ao,SYM:Ji,TILDE:an,TLD:ll,UNDERSCORE:Gi,UTLD:dl,UWORD:sl,WORD:Ot,WS:pl});const Vt=/[a-z]/,sn=new RegExp("\\p{L}","u"),bl=new RegExp("\\p{Emoji}","u"),Pt=/\d/,yl=/\s/,im="\r",wl=`
124
+ `,V2="️",P2="‍",xl="";let Yi=null,Qi=null;function A2(r=[]){const e={};ze.groups=e;const t=new ze;Yi==null&&(Yi=sm(S2)),Qi==null&&(Qi=sm(N2)),T(t,"'",Ri),T(t,"{",tn),T(t,"}",rn),T(t,"[",ki),T(t,"]",Ei),T(t,"(",Ci),T(t,")",Si),T(t,"<",Ni),T(t,">",Mi),T(t,"(",Bi),T(t,")",Ti),T(t,"「",Oi),T(t,"」",Vi),T(t,"『",Pi),T(t,"』",Ai),T(t,"<",Di),T(t,">",Ii),T(t,"&",Li),T(t,"*",_i),T(t,"@",rr),T(t,"`",Fi),T(t,"^",Hi),T(t,":",or),T(t,",",ml),T(t,"$",ji),T(t,".",ft),T(t,"=",Wi),T(t,"!",hl),T(t,"-",Ze),T(t,"%",on),T(t,"|",qi),T(t,"+",Ui),T(t,"#",Ki),T(t,"?",nn),T(t,'"',gl),T(t,"/",bt),T(t,";",fl),T(t,"~",an),T(t,"_",Gi),T(t,"\\",zi),T(t,"・",rm);const o=ae(t,Pt,cl,{[rl]:!0});ae(o,Pt,o);const n=ae(o,Vt,em,{[Zo]:!0}),i=ae(o,sn,tm,{[$o]:!0}),a=ae(t,Vt,Ot,{[ol]:!0});ae(a,Pt,n),ae(a,Vt,a),ae(n,Pt,n),ae(n,Vt,n);const l=ae(t,sn,sl,{[nl]:!0});ae(l,Vt),ae(l,Pt,i),ae(l,sn,l),ae(i,Pt,i),ae(i,Vt),ae(i,sn,i);const d=T(t,wl,ul,{[al]:!0}),c=T(t,im,pl,{[al]:!0}),p=ae(t,yl,pl,{[al]:!0});T(t,xl,p),T(c,wl,d),T(c,xl,p),ae(c,yl,p),T(p,im),T(p,wl),ae(p,yl,p),T(p,xl,p);const u=ae(t,bl,om,{[Zu]:!0});T(u,"#"),ae(u,bl,u),T(u,V2,u);const m=T(u,P2);T(m,"#"),ae(m,bl,u);const h=[[Vt,a],[Pt,n]],g=[[Vt,null],[sn,l],[Pt,i]];for(let f=0;f<Yi.length;f++)nr(t,Yi[f],ll,Ot,h);for(let f=0;f<Qi.length;f++)nr(t,Qi[f],dl,sl,g);Mr(ll,{tld:!0,ascii:!0},e),Mr(dl,{utld:!0,alpha:!0},e),nr(t,"file",vi,Ot,h),nr(t,"mailto",vi,Ot,h),nr(t,"http",ao,Ot,h),nr(t,"https",ao,Ot,h),nr(t,"ftp",ao,Ot,h),nr(t,"ftps",ao,Ot,h),Mr(vi,{scheme:!0,ascii:!0},e),Mr(ao,{slashscheme:!0,ascii:!0},e),r=r.sort((f,b)=>f[0]>b[0]?1:-1);for(let f=0;f<r.length;f++){const b=r[f][0],C=r[f][1]?{[M2]:!0}:{[B2]:!0};b.indexOf("-")>=0?C[il]=!0:Vt.test(b)?Pt.test(b)?C[Zo]=!0:C[ol]=!0:C[rl]=!0,$u(t,b,b,C)}return $u(t,"localhost",en,{ascii:!0}),t.jd=new ze(Ji),{start:t,tokens:io({groups:e},nm)}}function am(r,e){const t=D2(e.replace(/[A-Z]/g,l=>l.toLowerCase())),o=t.length,n=[];let i=0,a=0;for(;a<o;){let l=r,d=null,c=0,p=null,u=-1,m=-1;for(;a<o&&(d=l.go(t[a]));)l=d,l.accepts()?(u=0,m=0,p=l):u>=0&&(u+=t[a].length,m++),c+=t[a].length,i+=t[a].length,a++;i-=u,a-=m,c-=u,n.push({t:p.t,v:e.slice(i-c,i),s:i-c,e:i})}return n}function D2(r){const e=[],t=r.length;let o=0;for(;o<t;){let n=r.charCodeAt(o),i,a=n<55296||n>56319||o+1===t||(i=r.charCodeAt(o+1))<56320||i>57343?r[o]:r.slice(o,o+2);e.push(a),o+=a.length}return e}function nr(r,e,t,o,n){let i;const a=e.length;for(let l=0;l<a-1;l++){const d=e[l];r.j[d]?i=r.j[d]:(i=new ze(o),i.jr=n.slice(),r.j[d]=i),r=i}return i=new ze(t),i.jr=n.slice(),r.j[e[a-1]]=i,i}function sm(r){const e=[],t=[];let o=0,n="0123456789";for(;o<r.length;){let i=0;for(;n.indexOf(r[o+i])>=0;)i++;if(i>0){e.push(t.join(""));for(let a=parseInt(r.substring(o,o+i),10);a>0;a--)t.pop();o+=i}else t.push(r[o]),o++}return e}const ln={defaultProtocol:"http",events:null,format:lm,formatHref:lm,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function vl(r,e=null){let t=io({},ln);r&&(t=io(t,r instanceof vl?r.o:r));const o=t.ignoreTags,n=[];for(let i=0;i<o.length;i++)n.push(o[i].toUpperCase());this.o=t,e&&(this.defaultRender=e),this.ignoreTags=n}vl.prototype={o:ln,ignoreTags:[],defaultRender(r){return r},check(r){return this.get("validate",r.toString(),r)},get(r,e,t){const o=e!=null;let n=this.o[r];return n&&(typeof n=="object"?(n=t.t in n?n[t.t]:ln[r],typeof n=="function"&&o&&(n=n(e,t))):typeof n=="function"&&o&&(n=n(e,t.t,t)),n)},getObj(r,e,t){let o=this.o[r];return typeof o=="function"&&e!=null&&(o=o(e,t.t,t)),o},render(r){const e=r.render(this);return(this.get("render",null,r)||this.defaultRender)(e,r.t,r)}};function lm(r){return r}function dm(r,e){this.t="token",this.v=r,this.tk=e}dm.prototype={isLink:!1,toString(){return this.v},toHref(r){return this.toString()},toFormattedString(r){const e=this.toString(),t=r.get("truncate",e,this),o=r.get("format",e,this);return t&&o.length>t?o.substring(0,t)+"…":o},toFormattedHref(r){return r.get("formatHref",this.toHref(r.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(r=ln.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(r),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(r){return{type:this.t,value:this.toFormattedString(r),isLink:this.isLink,href:this.toFormattedHref(r),start:this.startIndex(),end:this.endIndex()}},validate(r){return r.get("validate",this.toString(),this)},render(r){const e=this,t=this.toHref(r.get("defaultProtocol")),o=r.get("formatHref",t,this),n=r.get("tagName",t,e),i=this.toFormattedString(r),a={},l=r.get("className",t,e),d=r.get("target",t,e),c=r.get("rel",t,e),p=r.getObj("attributes",t,e),u=r.getObj("events",t,e);return a.href=o,l&&(a.class=l),d&&(a.target=d),c&&(a.rel=c),p&&io(a,p),{tagName:n,attributes:a,content:i,eventListeners:u}}};function Xi(r,e){class t extends dm{constructor(n,i){super(n,i),this.t=r}}for(const o in e)t.prototype[o]=e[o];return t.t=r,t}const cm=Xi("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),pm=Xi("text"),I2=Xi("nl"),Zi=Xi("url",{isLink:!0,toHref(r=ln.defaultProtocol){return this.hasProtocol()?this.v:`${r}://${this.v}`},hasProtocol(){const r=this.tk;return r.length>=2&&r[0].t!==en&&r[1].t===or}}),$e=r=>new ze(r);function L2({groups:r}){const e=r.domain.concat([Li,_i,rr,zi,Fi,Hi,ji,Wi,Ze,cl,on,qi,Ui,Ki,bt,Ji,an,Gi]),t=[Ri,or,ml,ft,hl,on,nn,gl,fl,Ni,Mi,tn,rn,Ei,ki,Ci,Si,Bi,Ti,Oi,Vi,Pi,Ai,Di,Ii],o=[Li,Ri,_i,zi,Fi,Hi,ji,Wi,Ze,tn,rn,on,qi,Ui,Ki,nn,bt,Ji,an,Gi],n=$e(),i=T(n,an);j(i,o,i),j(i,r.domain,i);const a=$e(),l=$e(),d=$e();j(n,r.domain,a),j(n,r.scheme,l),j(n,r.slashscheme,d),j(a,o,i),j(a,r.domain,a);const c=T(a,rr);T(i,rr,c),T(l,rr,c),T(d,rr,c);const p=T(i,ft);j(p,o,i),j(p,r.domain,i);const u=$e();j(c,r.domain,u),j(u,r.domain,u);const m=T(u,ft);j(m,r.domain,u);const h=$e(cm);j(m,r.tld,h),j(m,r.utld,h),T(c,en,h);const g=T(u,Ze);T(g,Ze,g),j(g,r.domain,u),j(h,r.domain,u),T(h,ft,m),T(h,Ze,g);const f=T(h,or);j(f,r.numeric,cm);const b=T(a,Ze),w=T(a,ft);T(b,Ze,b),j(b,r.domain,a),j(w,o,i),j(w,r.domain,a);const C=$e(Zi);j(w,r.tld,C),j(w,r.utld,C),j(C,r.domain,a),j(C,o,i),T(C,ft,w),T(C,Ze,b),T(C,rr,c);const k=T(C,or),y=$e(Zi);j(k,r.numeric,y);const S=$e(Zi),E=$e();j(S,e,S),j(S,t,E),j(E,e,S),j(E,t,E),T(C,bt,S),T(y,bt,S);const N=T(l,or),O=T(d,or),A=T(O,bt),v=T(A,bt);j(l,r.domain,a),T(l,ft,w),T(l,Ze,b),j(d,r.domain,a),T(d,ft,w),T(d,Ze,b),j(N,r.domain,S),T(N,bt,S),T(N,nn,S),j(v,r.domain,S),j(v,e,S),T(v,bt,S);const x=[[tn,rn],[ki,Ei],[Ci,Si],[Ni,Mi],[Bi,Ti],[Oi,Vi],[Pi,Ai],[Di,Ii]];for(let V=0;V<x.length;V++){const[z,ee]=x[V],te=T(S,z);T(E,z,te),T(te,ee,S);const K=$e(Zi);j(te,e,K);const F=$e();j(te,t),j(K,e,K),j(K,t,F),j(F,e,K),j(F,t,F),T(K,ee,S),T(F,ee,S)}return T(n,en,C),T(n,ul,I2),{start:n,tokens:nm}}function R2(r,e,t){let o=t.length,n=0,i=[],a=[];for(;n<o;){let l=r,d=null,c=null,p=0,u=null,m=-1;for(;n<o&&!(d=l.go(t[n].t));)a.push(t[n++]);for(;n<o&&(c=d||l.go(t[n].t));)d=null,l=c,l.accepts()?(m=0,u=l):m>=0&&m++,n++,p++;if(m<0)n-=p,n<o&&(a.push(t[n]),n++);else{a.length>0&&(i.push(kl(pm,e,a)),a=[]),n-=m,p-=m;const h=u.t,g=t.slice(n-p,n);i.push(kl(h,e,g))}}return a.length>0&&i.push(kl(pm,e,a)),i}function kl(r,e,t){const o=t[0].s,n=t[t.length-1].e,i=e.slice(o,n);return new r(i,t)}const _2=typeof console<"u"&&console&&console.warn||(()=>{}),z2="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",$={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function F2(){return ze.groups={},$.scanner=null,$.parser=null,$.tokenQueue=[],$.pluginQueue=[],$.customSchemes=[],$.initialized=!1,$}function um(r,e=!1){if($.initialized&&_2(`linkifyjs: already initialized - will not register custom scheme "${r}" ${z2}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(r))throw new Error(`linkifyjs: incorrect scheme format.
125
125
  1. Must only contain digits, lowercase ASCII letters or "-"
126
126
  2. Cannot start or end with "-"
127
- 3. "-" cannot repeat`);$.customSchemes.push([r,e])}function H2(){$.scanner=A2($.customSchemes);for(let r=0;r<$.tokenQueue.length;r++)$.tokenQueue[r][1]({scanner:$.scanner});$.parser=L2($.scanner.tokens);for(let r=0;r<$.pluginQueue.length;r++)$.pluginQueue[r][1]({scanner:$.scanner,parser:$.parser});return $.initialized=!0,$}function kl(r){return $.initialized||H2(),R2($.parser.start,r,am($.scanner.start,r))}kl.scan=am;function mm(r,e=null,t=null){if(e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const o=new xl(t),n=kl(r),i=[];for(let a=0;a<n.length;a++){const l=n[a];l.isLink&&(!e||l.t===e)&&o.check(l)&&i.push(l.toFormattedObject(o))}return i}function j2(r){return r.length===1?r[0].isLink:r.length===3&&r[1].isLink?["()","[]"].includes(r[0].value+r[2].value):!1}function W2(r){return new pe({key:new Oe("autolink"),appendTransaction:(e,t,o)=>{const n=e.some(c=>c.docChanged)&&!t.doc.eq(o.doc),i=e.some(c=>c.getMeta("preventAutolink"));if(!n||i)return;const{tr:a}=o,l=cy(t.doc,[...e]);if(by(l).forEach(({newRange:c})=>{const p=uy(o.doc,c,h=>h.isTextblock);let u,m;if(p.length>1?(u=p[0],m=o.doc.textBetween(u.pos,u.pos+u.node.nodeSize,void 0," ")):p.length&&o.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(u=p[0],m=o.doc.textBetween(u.pos,c.to,void 0," ")),u&&m){const h=m.split(" ").filter(w=>w!=="");if(h.length<=0)return!1;const g=h[h.length-1],f=u.pos+m.lastIndexOf(g);if(!g)return!1;const b=kl(g).map(w=>w.toObject(r.defaultProtocol));if(!j2(b))return!1;b.filter(w=>w.isLink).map(w=>({...w,from:f+w.start+1,to:f+w.end+1})).filter(w=>o.schema.marks.code?!o.doc.rangeHasMark(w.from,w.to,o.schema.marks.code):!0).filter(w=>r.validate(w.value)).filter(w=>r.shouldAutoLink(w.value)).forEach(w=>{Ts(w.from,w.to,o.doc).some(C=>C.mark.type===r.type)||a.addMark(w.from,w.to,r.type.create({href:w.href}))})}}),!!a.steps.length)return a}})}function q2(r){return new pe({key:new Oe("handleClickLink"),props:{handleClick:(e,t,o)=>{var n,i;if(o.button!==0||!e.editable)return!1;let a=o.target;const l=[];for(;a.nodeName!=="DIV";)l.push(a),a=a.parentNode;if(!l.find(m=>m.nodeName==="A"))return!1;const d=Jp(e.state,r.type.name),c=o.target,p=(n=c==null?void 0:c.href)!==null&&n!==void 0?n:d.href,u=(i=c==null?void 0:c.target)!==null&&i!==void 0?i:d.target;return c&&p?(window.open(p,u),!0):!1}}})}function U2(r){return new pe({key:new Oe("handlePasteLink"),props:{handlePaste:(e,t,o)=>{const{state:n}=e,{selection:i}=n,{empty:a}=i;if(a)return!1;let l="";o.content.forEach(c=>{l+=c.textContent});const d=mm(l,{defaultProtocol:r.defaultProtocol}).find(c=>c.isLink&&c.value===l);return!l||!d?!1:r.editor.commands.setMark(r.type,{href:d.href})}}})}const K2=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function Br(r,e){const t=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(o=>{const n=typeof o=="string"?o:o.scheme;n&&t.push(n)}),!r||r.replace(K2,"").match(new RegExp(`^(?:(?:${t.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const G2=Nt.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(r=>{if(typeof r=="string"){um(r);return}um(r.scheme,r.optionalSlashes)})},onDestroy(){F2()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(r,e)=>!!Br(r,e.protocols),validate:r=>!!r,shouldAutoLink:r=>!!r}},addAttributes(){return{href:{default:null,parseHTML(r){return r.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:r=>{const e=r.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!Br(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:r}){return this.options.isAllowedUri(r.href,{defaultValidate:e=>!!Br(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",Ee(this.options.HTMLAttributes,r),0]:["a",Ee(this.options.HTMLAttributes,{...r,href:""}),0]},addCommands(){return{setLink:r=>({chain:e})=>{const{href:t}=r;return this.options.isAllowedUri(t,{defaultValidate:o=>!!Br(o,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,r).setMeta("preventAutolink",!0).run():!1},toggleLink:r=>({chain:e})=>{const{href:t}=r;return this.options.isAllowedUri(t,{defaultValidate:o=>!!Br(o,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().toggleMark(this.name,r,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run():!1},unsetLink:()=>({chain:r})=>r().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[kr({find:r=>{const e=[];if(r){const{protocols:t,defaultProtocol:o}=this.options,n=mm(r).filter(i=>i.isLink&&this.options.isAllowedUri(i.value,{defaultValidate:a=>!!Br(a,t),protocols:t,defaultProtocol:o}));n.length&&n.forEach(i=>e.push({text:i.value,data:{href:i.href},index:i.start}))}return e},type:this.type,getAttributes:r=>{var e;return{href:(e=r.data)===null||e===void 0?void 0:e.href}}})]},addProseMirrorPlugins(){const r=[],{protocols:e,defaultProtocol:t}=this.options;return this.options.autolink&&r.push(W2({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:o=>this.options.isAllowedUri(o,{defaultValidate:n=>!!Br(n,e),protocols:e,defaultProtocol:t}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&r.push(q2({type:this.type})),this.options.linkOnPaste&&r.push(U2({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),r}}),J2={class:"myInputGroup"},Y2={key:0,class:"min-h-[2.5rem] flex items-center justify-start"},Q2={class:"myPrimaryInputError mt-2 mb-0 py-0 self-start"},X2={class:"blockease-linear duration-200 block ease-linear"},Z2={key:0},$2={class:"relative rounded-lg"},ex={class:"flex justify-between myPrimaryGap items-center py-4 px-4 overflow-x-auto border-b border-gray-200"},tx={class:"px-2 flex items-center justify-start gap-2 w-max p-1 rounded-full border border-gray-200 shadow-sm"},rx={class:"flex items-center p-1 rounded-full border border-gray-200 shadow-sm"},ox={class:"px-2 flex items-center justify-start gap-2 w-max"},nx={class:"px-2 flex items-center justify-start gap-2 w-max"},ix={class:"px-2 flex items-center justify-start gap-2 w-max"},ax={class:"px-2 flex items-center justify-start gap-2 w-max"},sx={class:"px-2 flex items-center justify-start gap-2 w-max"},lx={class:"px-2 flex items-center justify-start gap-2 w-max"},dx={__name:"TipTapInput",setup(r){const e=re,t=s.ref(!1),o=s.ref(""),n=s.ref(1),i=s.ref(""),a=s.ref(""),l=s.ref(""),d=s.ref(null),c=s.ref(null),p=s.ref(null),u=s.ref(null),m=s.ref(null),h=new se(e),g=s.computed(()=>e.getElement),f=s.ref(""),b=s.computed(()=>{if(C.value)return C.value.getHTML()}),w=s.ref(0);s.watch(g,v=>{const x=document.createElement("div");if(v){x.innerHTML=v;const V=x.textContent;w.value=V.length}});const C=C1({content:"",extensions:[C2,G2.configure({openOnClick:!1})],editorProps:{attributes:{class:"prose-sm sm:prose-sm lg:prose-sm focus:outline-none"}}});s.watch(b,async v=>{h.selectedElementIsValidText()&&g.value&&(e.setTextAreaVueModel(v),typeof v=="string"&&v!==f.value&&await h.handleTextInput(v))});const k=function(){h.selectedElementIsValidText()&&C.value&&C.value.commands.setContent(g.value.innerHTML)};s.watch(g,()=>{k()});const y=s.ref(""),S=s.ref(""),E=s.ref(null);s.watch(y,v=>{S.value=v});const N=function(){y.value=C.value.getAttributes("link").href,t.value=!0,o.value="success",n.value=2,i.value="Enter URL",a.value="Add a valid URL to transform the selected text into a clickable hyperlink that directs users to the specified web address.",l.value="Close",d.value=y.value?"Remove url":null,c.value="Save",p.value=function(){t.value=!1,E.value=null},u.value=function(){C.value.chain().focus().extendMarkRange("link").unsetLink().run(),t.value=!1},m.value=function(){const v=O();v||(v||A(),t.value=!1)}},O=function(){E.value=null;const v=/^https?:\/\//,x=s.ref(!0);return x.value=v.test(S.value),x.value===!1?(E.value="The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.",!0):!1},A=function(){C.value.chain().focus().extendMarkRange("link").setLink({href:S.value}).run()};return s.onBeforeMount(()=>{var v;(v=C.value)==null||v.destroy()}),s.onMounted(()=>{k()}),(v,x)=>(s.openBlock(),s.createElementBlock("div",null,[s.createVNode(wo,{maxWidth:"4xl",showDynamicModalBuilder:t.value,type:o.value,gridColumnAmount:n.value,title:i.value,description:a.value,firstButtonText:l.value,secondButtonText:d.value,thirdButtonText:c.value,onFirstModalButtonFunctionDynamicModalBuilder:p.value,onSecondModalButtonFunctionDynamicModalBuilder:u.value,onThirdModalButtonFunctionDynamicModalBuilder:m.value},{default:s.withCtx(()=>[x[8]||(x[8]=s.createElementVNode("header",null,null,-1)),s.createElementVNode("main",null,[s.createElementVNode("div",J2,[x[7]||(x[7]=s.createElementVNode("label",{class:"myPrimaryInputLabel",for:"roles"},[s.createElementVNode("span",null,"Enter URL")],-1)),s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":x[0]||(x[0]=V=>y.value=V),class:"myPrimaryInput mt-1",type:"url",placeholder:"url"},null,512),[[s.vModelText,y.value]]),E.value?(s.openBlock(),s.createElementBlock("div",Y2,[s.createElementVNode("p",Q2,s.toDisplayString(E.value),1)])):s.createCommentVNode("",!0)])])]),_:1,__:[8]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"]),s.createElementVNode("div",X2,[s.unref(h).selectedElementIsValidText()&&s.unref(C)?(s.openBlock(),s.createElementBlock("div",Z2,[s.createElementVNode("div",$2,[s.createElementVNode("div",ex,[s.createElementVNode("div",null,[s.createElementVNode("div",null,[s.createElementVNode("div",tx,[s.createElementVNode("button",{onClick:x[1]||(x[1]=V=>s.unref(h).toggleTipTapModal(!1)),type:"button",class:"myPrimaryTag"},x[9]||(x[9]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," Save ",-1),s.createElementVNode("span",null,"Save",-1)]))])])]),s.createElementVNode("div",rx,[s.createElementVNode("div",ox,[s.createElementVNode("button",{onClick:x[2]||(x[2]=V=>s.unref(C).chain().focus().setHardBreak().run()),type:"button",class:"myPrimaryTag"},x[10]||(x[10]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," keyboard_return ",-1),s.createElementVNode("span",null,"Line break",-1)]))]),s.createElementVNode("div",nx,[s.createElementVNode("button",{onClick:x[3]||(x[3]=V=>s.unref(C).chain().focus().toggleBold().run()),type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("bold")}])},x[11]||(x[11]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," format_bold ",-1),s.createElementVNode("span",null,"Bold",-1)]),2)]),s.createElementVNode("div",ix,[s.createElementVNode("button",{onClick:N,type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("link")}])},x[12]||(x[12]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," link ",-1),s.createElementVNode("span",null,"Link",-1)]),2)]),s.createElementVNode("div",ax,[s.createElementVNode("button",{onClick:x[4]||(x[4]=V=>s.unref(C).chain().focus().toggleHeading({level:2}).run()),type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("heading",{level:2})}])},x[13]||(x[13]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," titlecase ",-1),s.createElementVNode("span",null,"Header 2",-1)]),2)]),s.createElementVNode("div",sx,[s.createElementVNode("button",{onClick:x[5]||(x[5]=V=>s.unref(C).chain().focus().toggleHeading({level:3}).run()),type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("heading",{level:3})}])},x[14]||(x[14]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," titlecase ",-1),s.createElementVNode("span",null,"Header 3",-1)]),2)]),s.createElementVNode("div",lx,[s.createElementVNode("button",{onClick:x[6]||(x[6]=V=>s.unref(C).chain().focus().toggleBulletList().run()),type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("bulletList")}])},x[15]||(x[15]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," list ",-1),s.createElementVNode("span",null,"List",-1)]),2)])])]),s.createVNode(s.unref(E1),{id:"page-builder-editor",editor:s.unref(C),class:"p-2 prounded-lg lg:min-h-[20rem] lg:max-h-[30rem] md:min-h-[20rem] md:max-h-[20rem] min-h-[20rem] max-h-[20rem] overflow-y-auto"},null,8,["editor"])])])):s.createCommentVNode("",!0)])]))}},El=(r,e)=>{const t=r.__vccOpts||r;for(const[o,n]of e)t[o]=n;return t},cx={},px={class:"min-h-40"};function ux(r,e){return s.openBlock(),s.createElementBlock("div",px,e[0]||(e[0]=[s.createElementVNode("p",{class:"myPrimaryParagraph"},[s.createTextVNode(" Provide your own Media Library Component to integrate a custom media picker into the Page Builder. "),s.createElementVNode("br"),s.createTextVNode(" This allows full control over how media is selected and inserted. ")],-1)]))}const mx=El(cx,[["render",ux]]),hx={key:0,class:"w-full"},gx={key:1},hm={__name:"MediaLibraryModal",props:{title:{type:String,required:!0},description:{required:!0},firstButtonText:{type:String},secondButtonText:{type:String},thirdButtonText:{type:String},open:{required:!0},customMediaComponent:{type:Object,default:null}},emits:["firstMediaButtonFunction"],setup(r,{emit:e}){const t=e,o=function(){t("firstMediaButtonFunction")},n=()=>{o()};return s.provide("closeMediaLibraryModal",n),(i,a)=>(s.openBlock(),s.createBlock(Dr,{title:r.title,showModalBuilder:r.open,onCloseMainModalBuilder:o,maxWidth:"7xl"},{default:s.withCtx(()=>[r.customMediaComponent?(s.openBlock(),s.createElementBlock("div",hx,[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(r.customMediaComponent)))])):(s.openBlock(),s.createElementBlock("div",gx,[s.createVNode(mx)]))]),_:1},8,["title","showModalBuilder"]))}};function fx(r,e,t){let o=s.ref(t==null?void 0:t.value),n=s.computed(()=>r.value!==void 0);return[s.computed(()=>n.value?r.value:o.value),function(i){return n.value||(o.value=i),e==null?void 0:e(i)}]}var gm;let bx=Symbol("headlessui.useid"),yx=0;const $i=(gm=Rl.useId)!=null?gm:function(){return Rl.inject(bx,()=>`${++yx}`)()};function le(r){var e;if(r==null||r.value==null)return null;let t=(e=r.value.$el)!=null?e:r.value;return t instanceof Node?t:null}function it(r,e,...t){if(r in e){let n=e[r];return typeof n=="function"?n(...t):n}let o=new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,it),o}var wx=Object.defineProperty,xx=(r,e,t)=>e in r?wx(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,fm=(r,e,t)=>(xx(r,typeof e!="symbol"?e+"":e,t),t);let vx=class{constructor(){fm(this,"current",this.detect()),fm(this,"currentId",0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Cl=new vx;function kx(r){if(Cl.isServer)return null;if(r instanceof Node)return r.ownerDocument;if(r!=null&&r.hasOwnProperty("value")){let e=le(r);if(e)return e.ownerDocument}return document}let bm=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(r=>`${r}:not([tabindex='-1'])`).join(",");var Ex=(r=>(r[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r))(Ex||{}),Cx=(r=>(r[r.Error=0]="Error",r[r.Overflow=1]="Overflow",r[r.Success=2]="Success",r[r.Underflow=3]="Underflow",r))(Cx||{}),Sx=(r=>(r[r.Previous=-1]="Previous",r[r.Next=1]="Next",r))(Sx||{}),Sl=(r=>(r[r.Strict=0]="Strict",r[r.Loose=1]="Loose",r))(Sl||{});function ym(r,e=0){var t;return r===((t=kx(r))==null?void 0:t.body)?!1:it(e,{0(){return r.matches(bm)},1(){let o=r;for(;o!==null;){if(o.matches(bm))return!0;o=o.parentElement}return!1}})}var Nx=(r=>(r[r.Keyboard=0]="Keyboard",r[r.Mouse=1]="Mouse",r))(Nx||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",r=>{r.metaKey||r.altKey||r.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",r=>{r.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:r.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Mx(r,e=t=>t){return r.slice().sort((t,o)=>{let n=e(t),i=e(o);if(n===null||i===null)return 0;let a=n.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Bx(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Tx(){return/Android/gi.test(window.navigator.userAgent)}function Ox(){return Bx()||Tx()}function ea(r,e,t){Cl.isServer||s.watchEffect(o=>{document.addEventListener(r,e,t),o(()=>document.removeEventListener(r,e,t))})}function Vx(r,e,t){Cl.isServer||s.watchEffect(o=>{window.addEventListener(r,e,t),o(()=>window.removeEventListener(r,e,t))})}function Px(r,e,t=s.computed(()=>!0)){function o(i,a){if(!t.value||i.defaultPrevented)return;let l=a(i);if(l===null||!l.getRootNode().contains(l))return;let d=function c(p){return typeof p=="function"?c(p()):Array.isArray(p)||p instanceof Set?p:[p]}(r);for(let c of d){if(c===null)continue;let p=c instanceof HTMLElement?c:le(c);if(p!=null&&p.contains(l)||i.composed&&i.composedPath().includes(p))return}return!ym(l,Sl.Loose)&&l.tabIndex!==-1&&i.preventDefault(),e(i,l)}let n=s.ref(null);ea("pointerdown",i=>{var a,l;t.value&&(n.value=((l=(a=i.composedPath)==null?void 0:a.call(i))==null?void 0:l[0])||i.target)},!0),ea("mousedown",i=>{var a,l;t.value&&(n.value=((l=(a=i.composedPath)==null?void 0:a.call(i))==null?void 0:l[0])||i.target)},!0),ea("click",i=>{Ox()||n.value&&(o(i,()=>n.value),n.value=null)},!0),ea("touchend",i=>o(i,()=>i.target instanceof HTMLElement?i.target:null),!0),Vx("blur",i=>o(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function wm(r,e){if(r)return r;let t=e??"button";if(typeof t=="string"&&t.toLowerCase()==="button")return"button"}function Ax(r,e){let t=s.ref(wm(r.value.type,r.value.as));return s.onMounted(()=>{t.value=wm(r.value.type,r.value.as)}),s.watchEffect(()=>{var o;t.value||le(e)&&le(e)instanceof HTMLButtonElement&&!((o=le(e))!=null&&o.hasAttribute("type"))&&(t.value="button")}),t}function xm(r){return[r.screenX,r.screenY]}function Dx(){let r=s.ref([-1,-1]);return{wasMoved(e){let t=xm(e);return r.value[0]===t[0]&&r.value[1]===t[1]?!1:(r.value=t,!0)},update(e){r.value=xm(e)}}}var Nl=(r=>(r[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r))(Nl||{}),Ix=(r=>(r[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r))(Ix||{});function so({visible:r=!0,features:e=0,ourProps:t,theirProps:o,...n}){var i;let a=km(o,t),l=Object.assign(n,{props:a});if(r||e&2&&a.static)return Ml(l);if(e&1){let d=(i=a.unmount)==null||i?0:1;return it(d,{0(){return null},1(){return Ml({...n,props:{...a,hidden:!0,style:{display:"none"}}})}})}return Ml(l)}function Ml({props:r,attrs:e,slots:t,slot:o,name:n}){var i,a;let{as:l,...d}=Em(r,["unmount","static"]),c=(i=t.default)==null?void 0:i.call(t,o),p={};if(o){let u=!1,m=[];for(let[h,g]of Object.entries(o))typeof g=="boolean"&&(u=!0),g===!0&&m.push(h);u&&(p["data-headlessui-state"]=m.join(" "))}if(l==="template"){if(c=vm(c??[]),Object.keys(d).length>0||Object.keys(e).length>0){let[u,...m]=c??[];if(!Rx(u)||m.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${n} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(d).concat(Object.keys(e)).map(f=>f.trim()).filter((f,b,w)=>w.indexOf(f)===b).sort((f,b)=>f.localeCompare(b)).map(f=>` - ${f}`).join(`
127
+ 3. "-" cannot repeat`);$.customSchemes.push([r,e])}function H2(){$.scanner=A2($.customSchemes);for(let r=0;r<$.tokenQueue.length;r++)$.tokenQueue[r][1]({scanner:$.scanner});$.parser=L2($.scanner.tokens);for(let r=0;r<$.pluginQueue.length;r++)$.pluginQueue[r][1]({scanner:$.scanner,parser:$.parser});return $.initialized=!0,$}function El(r){return $.initialized||H2(),R2($.parser.start,r,am($.scanner.start,r))}El.scan=am;function mm(r,e=null,t=null){if(e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const o=new vl(t),n=El(r),i=[];for(let a=0;a<n.length;a++){const l=n[a];l.isLink&&(!e||l.t===e)&&o.check(l)&&i.push(l.toFormattedObject(o))}return i}function j2(r){return r.length===1?r[0].isLink:r.length===3&&r[1].isLink?["()","[]"].includes(r[0].value+r[2].value):!1}function W2(r){return new pe({key:new Oe("autolink"),appendTransaction:(e,t,o)=>{const n=e.some(c=>c.docChanged)&&!t.doc.eq(o.doc),i=e.some(c=>c.getMeta("preventAutolink"));if(!n||i)return;const{tr:a}=o,l=cy(t.doc,[...e]);if(by(l).forEach(({newRange:c})=>{const p=uy(o.doc,c,h=>h.isTextblock);let u,m;if(p.length>1?(u=p[0],m=o.doc.textBetween(u.pos,u.pos+u.node.nodeSize,void 0," ")):p.length&&o.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(u=p[0],m=o.doc.textBetween(u.pos,c.to,void 0," ")),u&&m){const h=m.split(" ").filter(w=>w!=="");if(h.length<=0)return!1;const g=h[h.length-1],f=u.pos+m.lastIndexOf(g);if(!g)return!1;const b=El(g).map(w=>w.toObject(r.defaultProtocol));if(!j2(b))return!1;b.filter(w=>w.isLink).map(w=>({...w,from:f+w.start+1,to:f+w.end+1})).filter(w=>o.schema.marks.code?!o.doc.rangeHasMark(w.from,w.to,o.schema.marks.code):!0).filter(w=>r.validate(w.value)).filter(w=>r.shouldAutoLink(w.value)).forEach(w=>{Os(w.from,w.to,o.doc).some(C=>C.mark.type===r.type)||a.addMark(w.from,w.to,r.type.create({href:w.href}))})}}),!!a.steps.length)return a}})}function q2(r){return new pe({key:new Oe("handleClickLink"),props:{handleClick:(e,t,o)=>{var n,i;if(o.button!==0||!e.editable)return!1;let a=o.target;const l=[];for(;a.nodeName!=="DIV";)l.push(a),a=a.parentNode;if(!l.find(m=>m.nodeName==="A"))return!1;const d=Jp(e.state,r.type.name),c=o.target,p=(n=c==null?void 0:c.href)!==null&&n!==void 0?n:d.href,u=(i=c==null?void 0:c.target)!==null&&i!==void 0?i:d.target;return c&&p?(window.open(p,u),!0):!1}}})}function U2(r){return new pe({key:new Oe("handlePasteLink"),props:{handlePaste:(e,t,o)=>{const{state:n}=e,{selection:i}=n,{empty:a}=i;if(a)return!1;let l="";o.content.forEach(c=>{l+=c.textContent});const d=mm(l,{defaultProtocol:r.defaultProtocol}).find(c=>c.isLink&&c.value===l);return!l||!d?!1:r.editor.commands.setMark(r.type,{href:d.href})}}})}const K2=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function Br(r,e){const t=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(o=>{const n=typeof o=="string"?o:o.scheme;n&&t.push(n)}),!r||r.replace(K2,"").match(new RegExp(`^(?:(?:${t.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const G2=Nt.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(r=>{if(typeof r=="string"){um(r);return}um(r.scheme,r.optionalSlashes)})},onDestroy(){F2()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(r,e)=>!!Br(r,e.protocols),validate:r=>!!r,shouldAutoLink:r=>!!r}},addAttributes(){return{href:{default:null,parseHTML(r){return r.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:r=>{const e=r.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!Br(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:r}){return this.options.isAllowedUri(r.href,{defaultValidate:e=>!!Br(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",Ee(this.options.HTMLAttributes,r),0]:["a",Ee(this.options.HTMLAttributes,{...r,href:""}),0]},addCommands(){return{setLink:r=>({chain:e})=>{const{href:t}=r;return this.options.isAllowedUri(t,{defaultValidate:o=>!!Br(o,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,r).setMeta("preventAutolink",!0).run():!1},toggleLink:r=>({chain:e})=>{const{href:t}=r;return this.options.isAllowedUri(t,{defaultValidate:o=>!!Br(o,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().toggleMark(this.name,r,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run():!1},unsetLink:()=>({chain:r})=>r().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[kr({find:r=>{const e=[];if(r){const{protocols:t,defaultProtocol:o}=this.options,n=mm(r).filter(i=>i.isLink&&this.options.isAllowedUri(i.value,{defaultValidate:a=>!!Br(a,t),protocols:t,defaultProtocol:o}));n.length&&n.forEach(i=>e.push({text:i.value,data:{href:i.href},index:i.start}))}return e},type:this.type,getAttributes:r=>{var e;return{href:(e=r.data)===null||e===void 0?void 0:e.href}}})]},addProseMirrorPlugins(){const r=[],{protocols:e,defaultProtocol:t}=this.options;return this.options.autolink&&r.push(W2({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:o=>this.options.isAllowedUri(o,{defaultValidate:n=>!!Br(n,e),protocols:e,defaultProtocol:t}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&r.push(q2({type:this.type})),this.options.linkOnPaste&&r.push(U2({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),r}}),J2={class:"myInputGroup"},Y2={key:0,class:"min-h-[2.5rem] flex items-center justify-start"},Q2={class:"myPrimaryInputError mt-2 mb-0 py-0 self-start"},X2={class:"blockease-linear duration-200 block ease-linear"},Z2={key:0},$2={class:"relative rounded-lg"},ex={class:"flex justify-between myPrimaryGap items-center py-4 px-4 overflow-x-auto border-b border-gray-200"},tx={class:"px-2 flex items-center justify-start gap-2 w-max p-1 rounded-full border border-gray-200 shadow-sm"},rx={class:"flex items-center p-1 rounded-full border border-gray-200 shadow-sm"},ox={class:"px-2 flex items-center justify-start gap-2 w-max"},nx={class:"px-2 flex items-center justify-start gap-2 w-max"},ix={class:"px-2 flex items-center justify-start gap-2 w-max"},ax={class:"px-2 flex items-center justify-start gap-2 w-max"},sx={class:"px-2 flex items-center justify-start gap-2 w-max"},lx={class:"px-2 flex items-center justify-start gap-2 w-max"},dx={__name:"TipTapInput",setup(r){const e=re,t=s.ref(!1),o=s.ref(""),n=s.ref(1),i=s.ref(""),a=s.ref(""),l=s.ref(""),d=s.ref(null),c=s.ref(null),p=s.ref(null),u=s.ref(null),m=s.ref(null),h=new se(e),g=s.computed(()=>e.getElement),f=s.ref(""),b=s.computed(()=>{if(C.value)return C.value.getHTML()}),w=s.ref(0);s.watch(g,v=>{const x=document.createElement("div");if(v){x.innerHTML=v;const V=x.textContent;w.value=V.length}});const C=C1({content:"",extensions:[C2,G2.configure({openOnClick:!1})],editorProps:{attributes:{class:"prose-sm sm:prose-sm lg:prose-sm focus:outline-none"}}});s.watch(b,async v=>{h.selectedElementIsValidText()&&g.value&&(e.setTextAreaVueModel(v),typeof v=="string"&&v!==f.value&&await h.handleTextInput(v))});const k=function(){h.selectedElementIsValidText()&&C.value&&C.value.commands.setContent(g.value.innerHTML)};s.watch(g,()=>{k()});const y=s.ref(""),S=s.ref(""),E=s.ref(null);s.watch(y,v=>{S.value=v});const N=function(){y.value=C.value.getAttributes("link").href,t.value=!0,o.value="success",n.value=2,i.value="Enter URL",a.value="Add a valid URL to transform the selected text into a clickable hyperlink that directs users to the specified web address.",l.value="Close",d.value=y.value?"Remove url":null,c.value="Save",p.value=function(){t.value=!1,E.value=null},u.value=function(){C.value.chain().focus().extendMarkRange("link").unsetLink().run(),t.value=!1},m.value=function(){const v=O();v||(v||A(),t.value=!1)}},O=function(){E.value=null;const v=/^https?:\/\//,x=s.ref(!0);return x.value=v.test(S.value),x.value===!1?(E.value="The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.",!0):!1},A=function(){C.value.chain().focus().extendMarkRange("link").setLink({href:S.value}).run()};return s.onBeforeMount(()=>{var v;(v=C.value)==null||v.destroy()}),s.onMounted(()=>{k()}),(v,x)=>(s.openBlock(),s.createElementBlock("div",null,[s.createVNode(wo,{maxWidth:"4xl",showDynamicModalBuilder:t.value,type:o.value,gridColumnAmount:n.value,title:i.value,description:a.value,firstButtonText:l.value,secondButtonText:d.value,thirdButtonText:c.value,onFirstModalButtonFunctionDynamicModalBuilder:p.value,onSecondModalButtonFunctionDynamicModalBuilder:u.value,onThirdModalButtonFunctionDynamicModalBuilder:m.value},{default:s.withCtx(()=>[x[8]||(x[8]=s.createElementVNode("header",null,null,-1)),s.createElementVNode("main",null,[s.createElementVNode("div",J2,[x[7]||(x[7]=s.createElementVNode("label",{class:"myPrimaryInputLabel",for:"roles"},[s.createElementVNode("span",null,"Enter URL")],-1)),s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":x[0]||(x[0]=V=>y.value=V),class:"myPrimaryInput mt-1",type:"url",placeholder:"url"},null,512),[[s.vModelText,y.value]]),E.value?(s.openBlock(),s.createElementBlock("div",Y2,[s.createElementVNode("p",Q2,s.toDisplayString(E.value),1)])):s.createCommentVNode("",!0)])])]),_:1,__:[8]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"]),s.createElementVNode("div",X2,[s.unref(h).selectedElementIsValidText()&&s.unref(C)?(s.openBlock(),s.createElementBlock("div",Z2,[s.createElementVNode("div",$2,[s.createElementVNode("div",ex,[s.createElementVNode("div",null,[s.createElementVNode("div",null,[s.createElementVNode("div",tx,[s.createElementVNode("button",{onClick:x[1]||(x[1]=V=>s.unref(h).toggleTipTapModal(!1)),type:"button",class:"myPrimaryTag"},x[9]||(x[9]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," Save ",-1),s.createElementVNode("span",null,"Save",-1)]))])])]),s.createElementVNode("div",rx,[s.createElementVNode("div",ox,[s.createElementVNode("button",{onClick:x[2]||(x[2]=V=>s.unref(C).chain().focus().setHardBreak().run()),type:"button",class:"myPrimaryTag"},x[10]||(x[10]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," keyboard_return ",-1),s.createElementVNode("span",null,"Line break",-1)]))]),s.createElementVNode("div",nx,[s.createElementVNode("button",{onClick:x[3]||(x[3]=V=>s.unref(C).chain().focus().toggleBold().run()),type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("bold")}])},x[11]||(x[11]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," format_bold ",-1),s.createElementVNode("span",null,"Bold",-1)]),2)]),s.createElementVNode("div",ix,[s.createElementVNode("button",{onClick:N,type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("link")}])},x[12]||(x[12]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," link ",-1),s.createElementVNode("span",null,"Link",-1)]),2)]),s.createElementVNode("div",ax,[s.createElementVNode("button",{onClick:x[4]||(x[4]=V=>s.unref(C).chain().focus().toggleHeading({level:2}).run()),type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("heading",{level:2})}])},x[13]||(x[13]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," titlecase ",-1),s.createElementVNode("span",null,"Header 2",-1)]),2)]),s.createElementVNode("div",sx,[s.createElementVNode("button",{onClick:x[5]||(x[5]=V=>s.unref(C).chain().focus().toggleHeading({level:3}).run()),type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("heading",{level:3})}])},x[14]||(x[14]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," titlecase ",-1),s.createElementVNode("span",null,"Header 3",-1)]),2)]),s.createElementVNode("div",lx,[s.createElementVNode("button",{onClick:x[6]||(x[6]=V=>s.unref(C).chain().focus().toggleBulletList().run()),type:"button",class:s.normalizeClass(["myPrimaryTag",{"bg-myPrimaryLinkColor text-white":s.unref(C).isActive("bulletList")}])},x[15]||(x[15]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," list ",-1),s.createElementVNode("span",null,"List",-1)]),2)])])]),s.createVNode(s.unref(E1),{id:"page-builder-editor",editor:s.unref(C),class:"p-2 prounded-lg lg:min-h-[20rem] lg:max-h-[30rem] md:min-h-[20rem] md:max-h-[20rem] min-h-[20rem] max-h-[20rem] overflow-y-auto"},null,8,["editor"])])])):s.createCommentVNode("",!0)])]))}},Cl=(r,e)=>{const t=r.__vccOpts||r;for(const[o,n]of e)t[o]=n;return t},cx={},px={class:"min-h-40"};function ux(r,e){return s.openBlock(),s.createElementBlock("div",px,e[0]||(e[0]=[s.createElementVNode("p",{class:"myPrimaryParagraph"},[s.createTextVNode(" Provide your own Media Library Component to integrate a custom media picker into the Page Builder. "),s.createElementVNode("br"),s.createTextVNode(" This allows full control over how media is selected and inserted. ")],-1)]))}const mx=Cl(cx,[["render",ux]]),hx={key:0,class:"w-full"},gx={key:1},hm={__name:"MediaLibraryModal",props:{title:{type:String,required:!0},description:{required:!0},firstButtonText:{type:String},secondButtonText:{type:String},thirdButtonText:{type:String},open:{required:!0},customMediaComponent:{type:Object,default:null}},emits:["firstMediaButtonFunction"],setup(r,{emit:e}){const t=e,o=function(){t("firstMediaButtonFunction")},n=()=>{o()};return s.provide("closeMediaLibraryModal",n),(i,a)=>(s.openBlock(),s.createBlock(Dr,{title:r.title,showModalBuilder:r.open,onCloseMainModalBuilder:o,maxWidth:"7xl"},{default:s.withCtx(()=>[r.customMediaComponent?(s.openBlock(),s.createElementBlock("div",hx,[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(r.customMediaComponent)))])):(s.openBlock(),s.createElementBlock("div",gx,[s.createVNode(mx)]))]),_:1},8,["title","showModalBuilder"]))}};function fx(r,e,t){let o=s.ref(t==null?void 0:t.value),n=s.computed(()=>r.value!==void 0);return[s.computed(()=>n.value?r.value:o.value),function(i){return n.value||(o.value=i),e==null?void 0:e(i)}]}var gm;let bx=Symbol("headlessui.useid"),yx=0;const $i=(gm=_l.useId)!=null?gm:function(){return _l.inject(bx,()=>`${++yx}`)()};function le(r){var e;if(r==null||r.value==null)return null;let t=(e=r.value.$el)!=null?e:r.value;return t instanceof Node?t:null}function it(r,e,...t){if(r in e){let n=e[r];return typeof n=="function"?n(...t):n}let o=new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,it),o}var wx=Object.defineProperty,xx=(r,e,t)=>e in r?wx(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,fm=(r,e,t)=>(xx(r,typeof e!="symbol"?e+"":e,t),t);let vx=class{constructor(){fm(this,"current",this.detect()),fm(this,"currentId",0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Sl=new vx;function kx(r){if(Sl.isServer)return null;if(r instanceof Node)return r.ownerDocument;if(r!=null&&r.hasOwnProperty("value")){let e=le(r);if(e)return e.ownerDocument}return document}let bm=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(r=>`${r}:not([tabindex='-1'])`).join(",");var Ex=(r=>(r[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r))(Ex||{}),Cx=(r=>(r[r.Error=0]="Error",r[r.Overflow=1]="Overflow",r[r.Success=2]="Success",r[r.Underflow=3]="Underflow",r))(Cx||{}),Sx=(r=>(r[r.Previous=-1]="Previous",r[r.Next=1]="Next",r))(Sx||{}),Nl=(r=>(r[r.Strict=0]="Strict",r[r.Loose=1]="Loose",r))(Nl||{});function ym(r,e=0){var t;return r===((t=kx(r))==null?void 0:t.body)?!1:it(e,{0(){return r.matches(bm)},1(){let o=r;for(;o!==null;){if(o.matches(bm))return!0;o=o.parentElement}return!1}})}var Nx=(r=>(r[r.Keyboard=0]="Keyboard",r[r.Mouse=1]="Mouse",r))(Nx||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",r=>{r.metaKey||r.altKey||r.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",r=>{r.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:r.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Mx(r,e=t=>t){return r.slice().sort((t,o)=>{let n=e(t),i=e(o);if(n===null||i===null)return 0;let a=n.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Bx(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Tx(){return/Android/gi.test(window.navigator.userAgent)}function Ox(){return Bx()||Tx()}function ea(r,e,t){Sl.isServer||s.watchEffect(o=>{document.addEventListener(r,e,t),o(()=>document.removeEventListener(r,e,t))})}function Vx(r,e,t){Sl.isServer||s.watchEffect(o=>{window.addEventListener(r,e,t),o(()=>window.removeEventListener(r,e,t))})}function Px(r,e,t=s.computed(()=>!0)){function o(i,a){if(!t.value||i.defaultPrevented)return;let l=a(i);if(l===null||!l.getRootNode().contains(l))return;let d=function c(p){return typeof p=="function"?c(p()):Array.isArray(p)||p instanceof Set?p:[p]}(r);for(let c of d){if(c===null)continue;let p=c instanceof HTMLElement?c:le(c);if(p!=null&&p.contains(l)||i.composed&&i.composedPath().includes(p))return}return!ym(l,Nl.Loose)&&l.tabIndex!==-1&&i.preventDefault(),e(i,l)}let n=s.ref(null);ea("pointerdown",i=>{var a,l;t.value&&(n.value=((l=(a=i.composedPath)==null?void 0:a.call(i))==null?void 0:l[0])||i.target)},!0),ea("mousedown",i=>{var a,l;t.value&&(n.value=((l=(a=i.composedPath)==null?void 0:a.call(i))==null?void 0:l[0])||i.target)},!0),ea("click",i=>{Ox()||n.value&&(o(i,()=>n.value),n.value=null)},!0),ea("touchend",i=>o(i,()=>i.target instanceof HTMLElement?i.target:null),!0),Vx("blur",i=>o(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function wm(r,e){if(r)return r;let t=e??"button";if(typeof t=="string"&&t.toLowerCase()==="button")return"button"}function Ax(r,e){let t=s.ref(wm(r.value.type,r.value.as));return s.onMounted(()=>{t.value=wm(r.value.type,r.value.as)}),s.watchEffect(()=>{var o;t.value||le(e)&&le(e)instanceof HTMLButtonElement&&!((o=le(e))!=null&&o.hasAttribute("type"))&&(t.value="button")}),t}function xm(r){return[r.screenX,r.screenY]}function Dx(){let r=s.ref([-1,-1]);return{wasMoved(e){let t=xm(e);return r.value[0]===t[0]&&r.value[1]===t[1]?!1:(r.value=t,!0)},update(e){r.value=xm(e)}}}var Ml=(r=>(r[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r))(Ml||{}),Ix=(r=>(r[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r))(Ix||{});function so({visible:r=!0,features:e=0,ourProps:t,theirProps:o,...n}){var i;let a=km(o,t),l=Object.assign(n,{props:a});if(r||e&2&&a.static)return Bl(l);if(e&1){let d=(i=a.unmount)==null||i?0:1;return it(d,{0(){return null},1(){return Bl({...n,props:{...a,hidden:!0,style:{display:"none"}}})}})}return Bl(l)}function Bl({props:r,attrs:e,slots:t,slot:o,name:n}){var i,a;let{as:l,...d}=Em(r,["unmount","static"]),c=(i=t.default)==null?void 0:i.call(t,o),p={};if(o){let u=!1,m=[];for(let[h,g]of Object.entries(o))typeof g=="boolean"&&(u=!0),g===!0&&m.push(h);u&&(p["data-headlessui-state"]=m.join(" "))}if(l==="template"){if(c=vm(c??[]),Object.keys(d).length>0||Object.keys(e).length>0){let[u,...m]=c??[];if(!Rx(u)||m.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${n} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(d).concat(Object.keys(e)).map(f=>f.trim()).filter((f,b,w)=>w.indexOf(f)===b).sort((f,b)=>f.localeCompare(b)).map(f=>` - ${f}`).join(`
128
128
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(f=>` - ${f}`).join(`
129
129
  `)].join(`
130
- `));let h=km((a=u.props)!=null?a:{},d,p),g=s.cloneVNode(u,h,!0);for(let f in h)f.startsWith("on")&&(g.props||(g.props={}),g.props[f]=h[f]);return g}return Array.isArray(c)&&c.length===1?c[0]:c}return s.h(l,Object.assign({},d,p),{default:()=>c})}function vm(r){return r.flatMap(e=>e.type===s.Fragment?vm(e.children):[e])}function km(...r){if(r.length===0)return{};if(r.length===1)return r[0];let e={},t={};for(let o of r)for(let n in o)n.startsWith("on")&&typeof o[n]=="function"?(t[n]!=null||(t[n]=[]),t[n].push(o[n])):e[n]=o[n];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(t).map(o=>[o,void 0])));for(let o in t)Object.assign(e,{[o](n,...i){let a=t[o];for(let l of a){if(n instanceof Event&&n.defaultPrevented)return;l(n,...i)}}});return e}function Lx(r){let e=Object.assign({},r);for(let t in e)e[t]===void 0&&delete e[t];return e}function Em(r,e=[]){let t=Object.assign({},r);for(let o of e)o in t&&delete t[o];return t}function Rx(r){return r==null?!1:typeof r.type=="string"||typeof r.type=="object"||typeof r.type=="function"}var Cm=(r=>(r[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r))(Cm||{});let _x=s.defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(r,{slots:e,attrs:t}){return()=>{var o;let{features:n,...i}=r,a={"aria-hidden":(n&2)===2?!0:(o=i["aria-hidden"])!=null?o:void 0,hidden:(n&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return so({ourProps:a,theirProps:i,slot:{},attrs:t,slots:e,name:"Hidden"})}}}),Sm=Symbol("Context");var dn=(r=>(r[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r))(dn||{});function zx(){return s.inject(Sm,null)}function Fx(r){s.provide(Sm,r)}var ye=(r=>(r.Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r))(ye||{});function Hx(r){throw new Error("Unexpected object: "+r)}var De=(r=>(r[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r))(De||{});function jx(r,e){let t=e.resolveItems();if(t.length<=0)return null;let o=e.resolveActiveIndex(),n=o??-1;switch(r.focus){case 0:{for(let i=0;i<t.length;++i)if(!e.resolveDisabled(t[i],i,t))return i;return o}case 1:{n===-1&&(n=t.length);for(let i=n-1;i>=0;--i)if(!e.resolveDisabled(t[i],i,t))return i;return o}case 2:{for(let i=n+1;i<t.length;++i)if(!e.resolveDisabled(t[i],i,t))return i;return o}case 3:{for(let i=t.length-1;i>=0;--i)if(!e.resolveDisabled(t[i],i,t))return i;return o}case 4:{for(let i=0;i<t.length;++i)if(e.resolveId(t[i],i,t)===r.id)return i;return o}case 5:return null;default:Hx(r)}}function Nm(r={},e=null,t=[]){for(let[o,n]of Object.entries(r))Bm(t,Mm(e,o),n);return t}function Mm(r,e){return r?r+"["+e+"]":e}function Bm(r,e,t){if(Array.isArray(t))for(let[o,n]of t.entries())Bm(r,Mm(e,o.toString()),n);else t instanceof Date?r.push([e,t.toISOString()]):typeof t=="boolean"?r.push([e,t?"1":"0"]):typeof t=="string"?r.push([e,t]):typeof t=="number"?r.push([e,`${t}`]):t==null?r.push([e,""]):Nm(t,e,r)}let Tm=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Om(r){var e,t;let o=(e=r.innerText)!=null?e:"",n=r.cloneNode(!0);if(!(n instanceof HTMLElement))return o;let i=!1;for(let l of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))l.remove(),i=!0;let a=i?(t=n.innerText)!=null?t:"":o;return Tm.test(a)&&(a=a.replace(Tm,"")),a}function Wx(r){let e=r.getAttribute("aria-label");if(typeof e=="string")return e.trim();let t=r.getAttribute("aria-labelledby");if(t){let o=t.split(" ").map(n=>{let i=document.getElementById(n);if(i){let a=i.getAttribute("aria-label");return typeof a=="string"?a.trim():Om(i).trim()}return null}).filter(Boolean);if(o.length>0)return o.join(", ")}return Om(r).trim()}function qx(r){let e=s.ref(""),t=s.ref("");return()=>{let o=le(r);if(!o)return"";let n=o.innerText;if(e.value===n)return t.value;let i=Wx(o).trim().toLowerCase();return e.value=n,t.value=i,i}}function Ux(r,e){return r===e}var Kx=(r=>(r[r.Open=0]="Open",r[r.Closed=1]="Closed",r))(Kx||{}),Gx=(r=>(r[r.Single=0]="Single",r[r.Multi=1]="Multi",r))(Gx||{}),Jx=(r=>(r[r.Pointer=0]="Pointer",r[r.Other=1]="Other",r))(Jx||{});function Yx(r){requestAnimationFrame(()=>requestAnimationFrame(r))}let Vm=Symbol("ListboxContext");function cn(r){let e=s.inject(Vm,null);if(e===null){let t=new Error(`<${r} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,cn),t}return e}let pn=s.defineComponent({name:"Listbox",emits:{"update:modelValue":r=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Ux},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(r,{slots:e,attrs:t,emit:o}){let n=s.ref(1),i=s.ref(null),a=s.ref(null),l=s.ref(null),d=s.ref([]),c=s.ref(""),p=s.ref(null),u=s.ref(1);function m(k=y=>y){let y=p.value!==null?d.value[p.value]:null,S=Mx(k(d.value.slice()),N=>le(N.dataRef.domRef)),E=y?S.indexOf(y):null;return E===-1&&(E=null),{options:S,activeOptionIndex:E}}let h=s.computed(()=>r.multiple?1:0),[g,f]=fx(s.computed(()=>r.modelValue),k=>o("update:modelValue",k),s.computed(()=>r.defaultValue)),b=s.computed(()=>g.value===void 0?it(h.value,{1:[],0:void 0}):g.value),w={listboxState:n,value:b,mode:h,compare(k,y){if(typeof r.by=="string"){let S=r.by;return(k==null?void 0:k[S])===(y==null?void 0:y[S])}return r.by(k,y)},orientation:s.computed(()=>r.horizontal?"horizontal":"vertical"),labelRef:i,buttonRef:a,optionsRef:l,disabled:s.computed(()=>r.disabled),options:d,searchQuery:c,activeOptionIndex:p,activationTrigger:u,closeListbox(){r.disabled||n.value!==1&&(n.value=1,p.value=null)},openListbox(){r.disabled||n.value!==0&&(n.value=0)},goToOption(k,y,S){if(r.disabled||n.value===1)return;let E=m(),N=jx(k===De.Specific?{focus:De.Specific,id:y}:{focus:k},{resolveItems:()=>E.options,resolveActiveIndex:()=>E.activeOptionIndex,resolveId:O=>O.id,resolveDisabled:O=>O.dataRef.disabled});c.value="",p.value=N,u.value=S??1,d.value=E.options},search(k){if(r.disabled||n.value===1)return;let y=c.value!==""?0:1;c.value+=k.toLowerCase();let S=(p.value!==null?d.value.slice(p.value+y).concat(d.value.slice(0,p.value+y)):d.value).find(N=>N.dataRef.textValue.startsWith(c.value)&&!N.dataRef.disabled),E=S?d.value.indexOf(S):-1;E===-1||E===p.value||(p.value=E,u.value=1)},clearSearch(){r.disabled||n.value!==1&&c.value!==""&&(c.value="")},registerOption(k,y){let S=m(E=>[...E,{id:k,dataRef:y}]);d.value=S.options,p.value=S.activeOptionIndex},unregisterOption(k){let y=m(S=>{let E=S.findIndex(N=>N.id===k);return E!==-1&&S.splice(E,1),S});d.value=y.options,p.value=y.activeOptionIndex,u.value=1},theirOnChange(k){r.disabled||f(k)},select(k){r.disabled||f(it(h.value,{0:()=>k,1:()=>{let y=s.toRaw(w.value.value).slice(),S=s.toRaw(k),E=y.findIndex(N=>w.compare(S,s.toRaw(N)));return E===-1?y.push(S):y.splice(E,1),y}}))}};Px([a,l],(k,y)=>{var S;w.closeListbox(),ym(y,Sl.Loose)||(k.preventDefault(),(S=le(a))==null||S.focus())},s.computed(()=>n.value===0)),s.provide(Vm,w),Fx(s.computed(()=>it(n.value,{0:dn.Open,1:dn.Closed})));let C=s.computed(()=>{var k;return(k=le(a))==null?void 0:k.closest("form")});return s.onMounted(()=>{s.watch([C],()=>{if(!C.value||r.defaultValue===void 0)return;function k(){w.theirOnChange(r.defaultValue)}return C.value.addEventListener("reset",k),()=>{var y;(y=C.value)==null||y.removeEventListener("reset",k)}},{immediate:!0})}),()=>{let{name:k,modelValue:y,disabled:S,form:E,...N}=r,O={open:n.value===0,disabled:S,value:b.value};return s.h(s.Fragment,[...k!=null&&b.value!=null?Nm({[k]:b.value}).map(([A,v])=>s.h(_x,Lx({features:Cm.Hidden,key:A,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:E,disabled:S,name:A,value:v}))):[],so({ourProps:{},theirProps:{...t,...Em(N,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:O,slots:e,attrs:t,name:"Listbox"})])}}});s.defineComponent({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(r,{attrs:e,slots:t}){var o;let n=(o=r.id)!=null?o:`headlessui-listbox-label-${$i()}`,i=cn("ListboxLabel");function a(){var l;(l=le(i.buttonRef))==null||l.focus({preventScroll:!0})}return()=>{let l={open:i.listboxState.value===0,disabled:i.disabled.value},{...d}=r,c={id:n,ref:i.labelRef,onClick:a};return so({ourProps:c,theirProps:d,slot:l,attrs:e,slots:t,name:"ListboxLabel"})}}});let un=s.defineComponent({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(r,{attrs:e,slots:t,expose:o}){var n;let i=(n=r.id)!=null?n:`headlessui-listbox-button-${$i()}`,a=cn("ListboxButton");o({el:a.buttonRef,$el:a.buttonRef});function l(u){switch(u.key){case ye.Space:case ye.Enter:case ye.ArrowDown:u.preventDefault(),a.openListbox(),s.nextTick(()=>{var m;(m=le(a.optionsRef))==null||m.focus({preventScroll:!0}),a.value.value||a.goToOption(De.First)});break;case ye.ArrowUp:u.preventDefault(),a.openListbox(),s.nextTick(()=>{var m;(m=le(a.optionsRef))==null||m.focus({preventScroll:!0}),a.value.value||a.goToOption(De.Last)});break}}function d(u){switch(u.key){case ye.Space:u.preventDefault();break}}function c(u){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),s.nextTick(()=>{var m;return(m=le(a.buttonRef))==null?void 0:m.focus({preventScroll:!0})})):(u.preventDefault(),a.openListbox(),Yx(()=>{var m;return(m=le(a.optionsRef))==null?void 0:m.focus({preventScroll:!0})})))}let p=Ax(s.computed(()=>({as:r.as,type:e.type})),a.buttonRef);return()=>{var u,m;let h={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...g}=r,f={ref:a.buttonRef,id:i,type:p.value,"aria-haspopup":"listbox","aria-controls":(u=le(a.optionsRef))==null?void 0:u.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[(m=le(a.labelRef))==null?void 0:m.id,i].join(" "):void 0,disabled:a.disabled.value===!0?!0:void 0,onKeydown:l,onKeyup:d,onClick:c};return so({ourProps:f,theirProps:g,slot:h,attrs:e,slots:t,name:"ListboxButton"})}}}),mn=s.defineComponent({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(r,{attrs:e,slots:t,expose:o}){var n;let i=(n=r.id)!=null?n:`headlessui-listbox-options-${$i()}`,a=cn("ListboxOptions"),l=s.ref(null);o({el:a.optionsRef,$el:a.optionsRef});function d(u){switch(l.value&&clearTimeout(l.value),u.key){case ye.Space:if(a.searchQuery.value!=="")return u.preventDefault(),u.stopPropagation(),a.search(u.key);case ye.Enter:if(u.preventDefault(),u.stopPropagation(),a.activeOptionIndex.value!==null){let m=a.options.value[a.activeOptionIndex.value];a.select(m.dataRef.value)}a.mode.value===0&&(a.closeListbox(),s.nextTick(()=>{var m;return(m=le(a.buttonRef))==null?void 0:m.focus({preventScroll:!0})}));break;case it(a.orientation.value,{vertical:ye.ArrowDown,horizontal:ye.ArrowRight}):return u.preventDefault(),u.stopPropagation(),a.goToOption(De.Next);case it(a.orientation.value,{vertical:ye.ArrowUp,horizontal:ye.ArrowLeft}):return u.preventDefault(),u.stopPropagation(),a.goToOption(De.Previous);case ye.Home:case ye.PageUp:return u.preventDefault(),u.stopPropagation(),a.goToOption(De.First);case ye.End:case ye.PageDown:return u.preventDefault(),u.stopPropagation(),a.goToOption(De.Last);case ye.Escape:u.preventDefault(),u.stopPropagation(),a.closeListbox(),s.nextTick(()=>{var m;return(m=le(a.buttonRef))==null?void 0:m.focus({preventScroll:!0})});break;case ye.Tab:u.preventDefault(),u.stopPropagation();break;default:u.key.length===1&&(a.search(u.key),l.value=setTimeout(()=>a.clearSearch(),350));break}}let c=zx(),p=s.computed(()=>c!==null?(c.value&dn.Open)===dn.Open:a.listboxState.value===0);return()=>{var u,m;let h={open:a.listboxState.value===0},{...g}=r,f={"aria-activedescendant":a.activeOptionIndex.value===null||(u=a.options.value[a.activeOptionIndex.value])==null?void 0:u.id,"aria-multiselectable":a.mode.value===1?!0:void 0,"aria-labelledby":(m=le(a.buttonRef))==null?void 0:m.id,"aria-orientation":a.orientation.value,id:i,onKeydown:d,role:"listbox",tabIndex:0,ref:a.optionsRef};return so({ourProps:f,theirProps:g,slot:h,attrs:e,slots:t,features:Nl.RenderStrategy|Nl.Static,visible:p.value,name:"ListboxOptions"})}}}),hn=s.defineComponent({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(r,{slots:e,attrs:t,expose:o}){var n;let i=(n=r.id)!=null?n:`headlessui-listbox-option-${$i()}`,a=cn("ListboxOption"),l=s.ref(null);o({el:l,$el:l});let d=s.computed(()=>a.activeOptionIndex.value!==null?a.options.value[a.activeOptionIndex.value].id===i:!1),c=s.computed(()=>it(a.mode.value,{0:()=>a.compare(s.toRaw(a.value.value),s.toRaw(r.value)),1:()=>s.toRaw(a.value.value).some(k=>a.compare(s.toRaw(k),s.toRaw(r.value)))})),p=s.computed(()=>it(a.mode.value,{1:()=>{var k;let y=s.toRaw(a.value.value);return((k=a.options.value.find(S=>y.some(E=>a.compare(s.toRaw(E),s.toRaw(S.dataRef.value)))))==null?void 0:k.id)===i},0:()=>c.value})),u=qx(l),m=s.computed(()=>({disabled:r.disabled,value:r.value,get textValue(){return u()},domRef:l}));s.onMounted(()=>a.registerOption(i,m)),s.onUnmounted(()=>a.unregisterOption(i)),s.onMounted(()=>{s.watch([a.listboxState,c],()=>{a.listboxState.value===0&&c.value&&it(a.mode.value,{1:()=>{p.value&&a.goToOption(De.Specific,i)},0:()=>{a.goToOption(De.Specific,i)}})},{immediate:!0})}),s.watchEffect(()=>{a.listboxState.value===0&&d.value&&a.activationTrigger.value!==0&&s.nextTick(()=>{var k,y;return(y=(k=le(l))==null?void 0:k.scrollIntoView)==null?void 0:y.call(k,{block:"nearest"})})});function h(k){if(r.disabled)return k.preventDefault();a.select(r.value),a.mode.value===0&&(a.closeListbox(),s.nextTick(()=>{var y;return(y=le(a.buttonRef))==null?void 0:y.focus({preventScroll:!0})}))}function g(){if(r.disabled)return a.goToOption(De.Nothing);a.goToOption(De.Specific,i)}let f=Dx();function b(k){f.update(k)}function w(k){f.wasMoved(k)&&(r.disabled||d.value||a.goToOption(De.Specific,i,0))}function C(k){f.wasMoved(k)&&(r.disabled||d.value&&a.goToOption(De.Nothing))}return()=>{let{disabled:k}=r,y={active:d.value,selected:c.value,disabled:k},{value:S,disabled:E,...N}=r,O={id:i,ref:l,role:"option",tabIndex:k===!0?void 0:-1,"aria-disabled":k===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:g,onPointerenter:b,onMouseenter:b,onPointermove:w,onMousemove:w,onPointerleave:C,onMouseleave:C};return so({ourProps:O,theirProps:N,slot:y,attrs:t,slots:e,name:"ListboxOption"})}}});const Qx={class:"relative"},Xx={key:0,class:"flex gap-2 items-center"},Zx={key:1,class:"flex items-center gap-2"},$x={class:"block truncate text-[12.5px]"},ev={key:0,class:"flex items-center"},tv={key:1,class:"flex items-center"},rv={class:"ml-3"},ov={__name:"TextColorEditor",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getTextColor);return s.watch(n,async i=>{o.value=i,await t.handlePageBuilderMethods()},{immediate:!0}),(i,a)=>(s.openBlock(),s.createBlock(s.unref(pn),{as:"div",modelValue:o.value,"onUpdate:modelValue":a[1]||(a[1]=l=>o.value=l)},{default:s.withCtx(()=>[s.createElementVNode("div",Qx,[s.createVNode(s.unref(un),{class:"w-max flex items-center myPrimaryTag"},{default:s.withCtx(()=>{var l;return[n.value==="none"?(s.openBlock(),s.createElementBlock("div",Xx,a[2]||(a[2]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," format_color_text ",-1),s.createElementVNode("span",{class:"block truncate text-[12.5px]"},"Text color",-1)]))):s.createCommentVNode("",!0),o.value!=="none"?(s.openBlock(),s.createElementBlock("div",Zx,[s.createElementVNode("div",{class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-800 rounded-sm",`bg-${(l=o.value)==null?void 0:l.replace("text-","")}`])},null,2),s.createElementVNode("span",$x,s.toDisplayString(o.value),1)])):s.createCommentVNode("",!0)]}),_:1}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute min-w-[12rem] z-40 mt-1 max-h-56 w-full overflow-auto rounded-md bg-gray-50 py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(vn).textColorVariables,l=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:a[0]||(a[0]=d=>s.unref(t).handleTextColor(o.value)),key:l,value:l},{default:s.withCtx(({active:d,textColor:c})=>[s.createElementVNode("li",{class:s.normalizeClass([d?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[l==="none"?(s.openBlock(),s.createElementBlock("div",ev,a[3]||(a[3]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," invert_colors ",-1),s.createElementVNode("span",{class:"ml-3"},"Default black",-1)]))):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("div",tv,[s.createElementVNode("div",{class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-100 rounded-sm",`bg-${l.replace("text-","")}`])},null,2),s.createElementVNode("span",rv,s.toDisplayString(l),1)])):s.createCommentVNode("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"]))}},nv={class:"relative"},iv={key:0,class:"flex gap-2 items-center"},av={key:1,class:"flex items-center gap-2"},sv={class:"block truncate"},lv={key:0,class:"flex items-center"},dv={key:1,class:"flex items-center"},cv={class:"ml-3"},pv={__name:"BackgroundColorEditor",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getBackgroundColor);return s.watch(n,async i=>{o.value=i,await t.handlePageBuilderMethods()},{immediate:!0}),(i,a)=>(s.openBlock(),s.createBlock(s.unref(pn),{as:"div",modelValue:o.value,"onUpdate:modelValue":a[1]||(a[1]=l=>o.value=l)},{default:s.withCtx(()=>[s.createElementVNode("div",nv,[s.createVNode(s.unref(un),{class:"w-max flex items-center myPrimaryTag"},{default:s.withCtx(()=>{var l;return[n.value==="none"?(s.openBlock(),s.createElementBlock("div",iv,a[2]||(a[2]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," colors ",-1),s.createElementVNode("span",{class:"block truncate text-[12.5px]"},"Background color ",-1)]))):s.createCommentVNode("",!0),o.value!=="none"?(s.openBlock(),s.createElementBlock("div",av,[s.createElementVNode("div",{class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-800 rounded-sm",`bg-${(l=o.value)==null?void 0:l.replace("bg-","")}`])},null,2),s.createElementVNode("span",sv,s.toDisplayString(o.value),1)])):s.createCommentVNode("",!0)]}),_:1}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute min-w-[12rem] z-40 mt-1 max-h-56 w-full overflow-auto rounded-md bg-gray-50 py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(vn).backgroundColorVariables,l=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:a[0]||(a[0]=d=>s.unref(t).handleBackgroundColor(o.value)),key:l,value:l},{default:s.withCtx(({active:d,backgroundColor:c})=>[s.createElementVNode("li",{class:s.normalizeClass([d?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[l==="none"?(s.openBlock(),s.createElementBlock("div",lv,a[3]||(a[3]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ",-1),s.createElementVNode("span",{class:"ml-3"},"Transparent",-1)]))):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("div",dv,[s.createElementVNode("div",{class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-100 rounded-sm",`bg-${l.replace("bg-","")}`])},null,2),s.createElementVNode("span",cv,s.toDisplayString(l),1)])):s.createCommentVNode("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"]))}},uv={class:"myInputGroup"},mv={class:"myPrimaryFormOrganizationHeaderDescriptionSection"},hv={class:"myPrimaryFormOrganizationHeader"},gv={key:0,class:"min-h-[2.5rem] flex items-center justify-start"},fv={class:"myPrimaryInputError mt-2 mb-0 py-0 self-start"},bv={class:"overflow-y-auto"},yv={class:"z-20 px-2 py-1 h-24 flex items-center justify-center mt-2 mx-2 border-b border-myPrimaryLightGrayColor"},wv={key:0,class:"px-2 flex items-center justify-start gap-2 w-max"},xv={class:"px-2"},vv={key:2,class:"px-2 flex items-center justify-start gap-2 w-max"},kv={key:3,class:"px-2"},Ev={__name:"EditGetElement",setup(r){const e=re,t=s.inject("CustomMediaComponent"),o=new se(e),n=s.computed(()=>e.getElement),i=s.computed(()=>{const K=e.getShowModalTipTap;return K&&w(),K}),a=s.computed(()=>e.getComponent),l=s.ref(""),d=s.ref(1),c=s.ref(""),p=s.ref(""),u=s.ref(""),m=s.ref(null),h=s.ref(null),g=s.ref(null),f=s.ref(null),b=s.ref(null),w=function(){o.toggleTipTapModal(!0),l.value="success",d.value=2,c.value="Manage Content",p.value=null,u.value=null,m.value=null,h.value="Save",g.value=function(){o.toggleTipTapModal(!1)},b.value=function(){o.toggleTipTapModal(!0)}},C=s.computed(()=>e.getBasePrimaryImage),k=s.ref(!1),y=s.ref(""),S=s.ref(""),E=s.ref(""),N=s.ref(null),O=s.ref(null),A=s.ref(null),v=function(){k.value=!0,y.value="Media Library",S.value=null,E.value="Close",N.value="Select image",A.value=function(){k.value=!1}},x=s.ref(null),V=s.ref(""),z=s.ref(!1),ee=function(){x.value=null;const K=/^https?:\/\//,F=s.ref(!0);return F.value=K.test(V.value),F.value===!1?(x.value="The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.",!0):!1},te=function(){var F;x.value=null;const K=n.value&&((F=n.value.firstElementChild)==null?void 0:F.tagName)==="IFRAME"&&n.value.firstElementChild.hasAttribute("src")&&n.value.firstElementChild.getAttribute("src").trim()!==""?n.value.firstElementChild.src:"";V.value=K,z.value=!0,l.value="success",d.value=2,c.value="Add video url",p.value=null,u.value="Close",m.value="Save",h.value=null,g.value=function(){z.value=!1},f.value=function(){ee()||(n.value&&n.value.firstElementChild&&n.value.firstElementChild.tagName==="IFRAME"&&(V.value=V.value.replace("watch?v=","embed/"),V.value=V.value.replace(/&ab_channel=[^&]*/,"").replace(/&list=[^&]*/,"").replace(/&start_radio=[^&]*/,"").replace(/&t=[^&]*/,""),n.value.firstElementChild.src=V.value),z.value=!1)}};return(K,F)=>(s.openBlock(),s.createElementBlock("div",null,[s.createVNode(wo,{showDynamicModalBuilder:z.value,maxWidth:"2xl",type:l.value,gridColumnAmount:d.value,title:c.value,description:p.value,firstButtonText:u.value,secondButtonText:m.value,thirdButtonText:h.value,onFirstModalButtonFunctionDynamicModalBuilder:g.value,onSecondModalButtonFunctionDynamicModalBuilder:f.value,onThirdModalButtonFunctionDynamicModalBuilder:b.value},{default:s.withCtx(()=>[F[2]||(F[2]=s.createElementVNode("header",null,null,-1)),s.createElementVNode("main",null,[s.createElementVNode("div",uv,[s.createElementVNode("div",mv,[s.createElementVNode("div",hv,[F[1]||(F[1]=s.createElementVNode("label",{for:"video",class:"myPrimaryInputLabel"},"Video url:",-1)),s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":F[0]||(F[0]=Z=>V.value=Z),type:"text",class:"myPrimaryInput",name:"video"},null,512),[[s.vModelText,V.value]]),x.value?(s.openBlock(),s.createElementBlock("div",gv,[s.createElementVNode("p",fv,s.toDisplayString(x.value),1)])):s.createCommentVNode("",!0)])])])])]),_:1,__:[2]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"]),s.createVNode(wo,{simpleModal:!0,showDynamicModalBuilder:i.value,maxWidth:"6xl",type:l.value,gridColumnAmount:d.value,title:c.value,description:p.value,firstButtonText:u.value,secondButtonText:m.value,thirdButtonText:h.value,onFirstModalButtonFunctionDynamicModalBuilder:g.value,onSecondModalButtonFunctionDynamicModalBuilder:f.value,onThirdModalButtonFunctionDynamicModalBuilder:b.value},{default:s.withCtx(()=>[F[3]||(F[3]=s.createElementVNode("header",null,null,-1)),s.createElementVNode("main",bv,[s.createVNode(dx)])]),_:1,__:[3]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"]),s.createVNode(hm,{open:k.value,title:y.value,description:S.value,firstButtonText:E.value,secondButtonText:N.value,thirdButtonText:O.value,customMediaComponent:s.unref(t),onFirstMediaButtonFunction:A.value},null,8,["open","title","description","firstButtonText","secondButtonText","thirdButtonText","customMediaComponent","onFirstMediaButtonFunction"]),s.createElementVNode("div",yv,[s.createElementVNode("div",{class:s.normalizeClass(["flex items-center justify-center",{"rounded-full border border-gray-200 shadow-sm":n.value}])},[s.unref(o).ElOrFirstChildIsIframe()?(s.openBlock(),s.createElementBlock("div",wv,[s.createElementVNode("button",{onClick:te,type:"button",class:"myPrimaryTag"},F[4]||(F[4]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," play_circle ",-1),s.createElementVNode("span",null,"Add YouTube",-1)]))])):s.createCommentVNode("",!0),s.unref(o).selectedElementIsValidText()&&!s.unref(o).ElOrFirstChildIsIframe()?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createElementVNode("div",{class:"px-2 flex items-center justify-start gap-2 w-max"},[s.createElementVNode("button",{onClick:w,type:"button",class:"myPrimaryTag"},F[5]||(F[5]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," edit ",-1),s.createElementVNode("span",null,"Edit text and links",-1)]))]),s.createElementVNode("div",xv,[s.createVNode(ov)])],64)):s.createCommentVNode("",!0),n.value&&a.value&&C.value!==null&&!s.unref(o).ElOrFirstChildIsIframe()?(s.openBlock(),s.createElementBlock("div",vv,[s.createElementVNode("button",{onClick:v,type:"button",class:"myPrimaryTag"},F[6]||(F[6]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," add_photo_alternate ",-1),s.createElementVNode("span",null,"Update image",-1)]))])):s.createCommentVNode("",!0),n.value&&n.value.nodeType===1&&!C.value&&!s.unref(o).ElOrFirstChildIsIframe()?(s.openBlock(),s.createElementBlock("div",kv,[s.createVNode(pv)])):s.createCommentVNode("",!0)],2)])]))}},Cv=[{html_code:`
130
+ `));let h=km((a=u.props)!=null?a:{},d,p),g=s.cloneVNode(u,h,!0);for(let f in h)f.startsWith("on")&&(g.props||(g.props={}),g.props[f]=h[f]);return g}return Array.isArray(c)&&c.length===1?c[0]:c}return s.h(l,Object.assign({},d,p),{default:()=>c})}function vm(r){return r.flatMap(e=>e.type===s.Fragment?vm(e.children):[e])}function km(...r){if(r.length===0)return{};if(r.length===1)return r[0];let e={},t={};for(let o of r)for(let n in o)n.startsWith("on")&&typeof o[n]=="function"?(t[n]!=null||(t[n]=[]),t[n].push(o[n])):e[n]=o[n];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(t).map(o=>[o,void 0])));for(let o in t)Object.assign(e,{[o](n,...i){let a=t[o];for(let l of a){if(n instanceof Event&&n.defaultPrevented)return;l(n,...i)}}});return e}function Lx(r){let e=Object.assign({},r);for(let t in e)e[t]===void 0&&delete e[t];return e}function Em(r,e=[]){let t=Object.assign({},r);for(let o of e)o in t&&delete t[o];return t}function Rx(r){return r==null?!1:typeof r.type=="string"||typeof r.type=="object"||typeof r.type=="function"}var Cm=(r=>(r[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r))(Cm||{});let _x=s.defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(r,{slots:e,attrs:t}){return()=>{var o;let{features:n,...i}=r,a={"aria-hidden":(n&2)===2?!0:(o=i["aria-hidden"])!=null?o:void 0,hidden:(n&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return so({ourProps:a,theirProps:i,slot:{},attrs:t,slots:e,name:"Hidden"})}}}),Sm=Symbol("Context");var dn=(r=>(r[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r))(dn||{});function zx(){return s.inject(Sm,null)}function Fx(r){s.provide(Sm,r)}var ye=(r=>(r.Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r))(ye||{});function Hx(r){throw new Error("Unexpected object: "+r)}var De=(r=>(r[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r))(De||{});function jx(r,e){let t=e.resolveItems();if(t.length<=0)return null;let o=e.resolveActiveIndex(),n=o??-1;switch(r.focus){case 0:{for(let i=0;i<t.length;++i)if(!e.resolveDisabled(t[i],i,t))return i;return o}case 1:{n===-1&&(n=t.length);for(let i=n-1;i>=0;--i)if(!e.resolveDisabled(t[i],i,t))return i;return o}case 2:{for(let i=n+1;i<t.length;++i)if(!e.resolveDisabled(t[i],i,t))return i;return o}case 3:{for(let i=t.length-1;i>=0;--i)if(!e.resolveDisabled(t[i],i,t))return i;return o}case 4:{for(let i=0;i<t.length;++i)if(e.resolveId(t[i],i,t)===r.id)return i;return o}case 5:return null;default:Hx(r)}}function Nm(r={},e=null,t=[]){for(let[o,n]of Object.entries(r))Bm(t,Mm(e,o),n);return t}function Mm(r,e){return r?r+"["+e+"]":e}function Bm(r,e,t){if(Array.isArray(t))for(let[o,n]of t.entries())Bm(r,Mm(e,o.toString()),n);else t instanceof Date?r.push([e,t.toISOString()]):typeof t=="boolean"?r.push([e,t?"1":"0"]):typeof t=="string"?r.push([e,t]):typeof t=="number"?r.push([e,`${t}`]):t==null?r.push([e,""]):Nm(t,e,r)}let Tm=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Om(r){var e,t;let o=(e=r.innerText)!=null?e:"",n=r.cloneNode(!0);if(!(n instanceof HTMLElement))return o;let i=!1;for(let l of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))l.remove(),i=!0;let a=i?(t=n.innerText)!=null?t:"":o;return Tm.test(a)&&(a=a.replace(Tm,"")),a}function Wx(r){let e=r.getAttribute("aria-label");if(typeof e=="string")return e.trim();let t=r.getAttribute("aria-labelledby");if(t){let o=t.split(" ").map(n=>{let i=document.getElementById(n);if(i){let a=i.getAttribute("aria-label");return typeof a=="string"?a.trim():Om(i).trim()}return null}).filter(Boolean);if(o.length>0)return o.join(", ")}return Om(r).trim()}function qx(r){let e=s.ref(""),t=s.ref("");return()=>{let o=le(r);if(!o)return"";let n=o.innerText;if(e.value===n)return t.value;let i=Wx(o).trim().toLowerCase();return e.value=n,t.value=i,i}}function Ux(r,e){return r===e}var Kx=(r=>(r[r.Open=0]="Open",r[r.Closed=1]="Closed",r))(Kx||{}),Gx=(r=>(r[r.Single=0]="Single",r[r.Multi=1]="Multi",r))(Gx||{}),Jx=(r=>(r[r.Pointer=0]="Pointer",r[r.Other=1]="Other",r))(Jx||{});function Yx(r){requestAnimationFrame(()=>requestAnimationFrame(r))}let Vm=Symbol("ListboxContext");function cn(r){let e=s.inject(Vm,null);if(e===null){let t=new Error(`<${r} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,cn),t}return e}let pn=s.defineComponent({name:"Listbox",emits:{"update:modelValue":r=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Ux},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(r,{slots:e,attrs:t,emit:o}){let n=s.ref(1),i=s.ref(null),a=s.ref(null),l=s.ref(null),d=s.ref([]),c=s.ref(""),p=s.ref(null),u=s.ref(1);function m(k=y=>y){let y=p.value!==null?d.value[p.value]:null,S=Mx(k(d.value.slice()),N=>le(N.dataRef.domRef)),E=y?S.indexOf(y):null;return E===-1&&(E=null),{options:S,activeOptionIndex:E}}let h=s.computed(()=>r.multiple?1:0),[g,f]=fx(s.computed(()=>r.modelValue),k=>o("update:modelValue",k),s.computed(()=>r.defaultValue)),b=s.computed(()=>g.value===void 0?it(h.value,{1:[],0:void 0}):g.value),w={listboxState:n,value:b,mode:h,compare(k,y){if(typeof r.by=="string"){let S=r.by;return(k==null?void 0:k[S])===(y==null?void 0:y[S])}return r.by(k,y)},orientation:s.computed(()=>r.horizontal?"horizontal":"vertical"),labelRef:i,buttonRef:a,optionsRef:l,disabled:s.computed(()=>r.disabled),options:d,searchQuery:c,activeOptionIndex:p,activationTrigger:u,closeListbox(){r.disabled||n.value!==1&&(n.value=1,p.value=null)},openListbox(){r.disabled||n.value!==0&&(n.value=0)},goToOption(k,y,S){if(r.disabled||n.value===1)return;let E=m(),N=jx(k===De.Specific?{focus:De.Specific,id:y}:{focus:k},{resolveItems:()=>E.options,resolveActiveIndex:()=>E.activeOptionIndex,resolveId:O=>O.id,resolveDisabled:O=>O.dataRef.disabled});c.value="",p.value=N,u.value=S??1,d.value=E.options},search(k){if(r.disabled||n.value===1)return;let y=c.value!==""?0:1;c.value+=k.toLowerCase();let S=(p.value!==null?d.value.slice(p.value+y).concat(d.value.slice(0,p.value+y)):d.value).find(N=>N.dataRef.textValue.startsWith(c.value)&&!N.dataRef.disabled),E=S?d.value.indexOf(S):-1;E===-1||E===p.value||(p.value=E,u.value=1)},clearSearch(){r.disabled||n.value!==1&&c.value!==""&&(c.value="")},registerOption(k,y){let S=m(E=>[...E,{id:k,dataRef:y}]);d.value=S.options,p.value=S.activeOptionIndex},unregisterOption(k){let y=m(S=>{let E=S.findIndex(N=>N.id===k);return E!==-1&&S.splice(E,1),S});d.value=y.options,p.value=y.activeOptionIndex,u.value=1},theirOnChange(k){r.disabled||f(k)},select(k){r.disabled||f(it(h.value,{0:()=>k,1:()=>{let y=s.toRaw(w.value.value).slice(),S=s.toRaw(k),E=y.findIndex(N=>w.compare(S,s.toRaw(N)));return E===-1?y.push(S):y.splice(E,1),y}}))}};Px([a,l],(k,y)=>{var S;w.closeListbox(),ym(y,Nl.Loose)||(k.preventDefault(),(S=le(a))==null||S.focus())},s.computed(()=>n.value===0)),s.provide(Vm,w),Fx(s.computed(()=>it(n.value,{0:dn.Open,1:dn.Closed})));let C=s.computed(()=>{var k;return(k=le(a))==null?void 0:k.closest("form")});return s.onMounted(()=>{s.watch([C],()=>{if(!C.value||r.defaultValue===void 0)return;function k(){w.theirOnChange(r.defaultValue)}return C.value.addEventListener("reset",k),()=>{var y;(y=C.value)==null||y.removeEventListener("reset",k)}},{immediate:!0})}),()=>{let{name:k,modelValue:y,disabled:S,form:E,...N}=r,O={open:n.value===0,disabled:S,value:b.value};return s.h(s.Fragment,[...k!=null&&b.value!=null?Nm({[k]:b.value}).map(([A,v])=>s.h(_x,Lx({features:Cm.Hidden,key:A,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:E,disabled:S,name:A,value:v}))):[],so({ourProps:{},theirProps:{...t,...Em(N,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:O,slots:e,attrs:t,name:"Listbox"})])}}});s.defineComponent({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(r,{attrs:e,slots:t}){var o;let n=(o=r.id)!=null?o:`headlessui-listbox-label-${$i()}`,i=cn("ListboxLabel");function a(){var l;(l=le(i.buttonRef))==null||l.focus({preventScroll:!0})}return()=>{let l={open:i.listboxState.value===0,disabled:i.disabled.value},{...d}=r,c={id:n,ref:i.labelRef,onClick:a};return so({ourProps:c,theirProps:d,slot:l,attrs:e,slots:t,name:"ListboxLabel"})}}});let un=s.defineComponent({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(r,{attrs:e,slots:t,expose:o}){var n;let i=(n=r.id)!=null?n:`headlessui-listbox-button-${$i()}`,a=cn("ListboxButton");o({el:a.buttonRef,$el:a.buttonRef});function l(u){switch(u.key){case ye.Space:case ye.Enter:case ye.ArrowDown:u.preventDefault(),a.openListbox(),s.nextTick(()=>{var m;(m=le(a.optionsRef))==null||m.focus({preventScroll:!0}),a.value.value||a.goToOption(De.First)});break;case ye.ArrowUp:u.preventDefault(),a.openListbox(),s.nextTick(()=>{var m;(m=le(a.optionsRef))==null||m.focus({preventScroll:!0}),a.value.value||a.goToOption(De.Last)});break}}function d(u){switch(u.key){case ye.Space:u.preventDefault();break}}function c(u){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),s.nextTick(()=>{var m;return(m=le(a.buttonRef))==null?void 0:m.focus({preventScroll:!0})})):(u.preventDefault(),a.openListbox(),Yx(()=>{var m;return(m=le(a.optionsRef))==null?void 0:m.focus({preventScroll:!0})})))}let p=Ax(s.computed(()=>({as:r.as,type:e.type})),a.buttonRef);return()=>{var u,m;let h={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...g}=r,f={ref:a.buttonRef,id:i,type:p.value,"aria-haspopup":"listbox","aria-controls":(u=le(a.optionsRef))==null?void 0:u.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[(m=le(a.labelRef))==null?void 0:m.id,i].join(" "):void 0,disabled:a.disabled.value===!0?!0:void 0,onKeydown:l,onKeyup:d,onClick:c};return so({ourProps:f,theirProps:g,slot:h,attrs:e,slots:t,name:"ListboxButton"})}}}),mn=s.defineComponent({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(r,{attrs:e,slots:t,expose:o}){var n;let i=(n=r.id)!=null?n:`headlessui-listbox-options-${$i()}`,a=cn("ListboxOptions"),l=s.ref(null);o({el:a.optionsRef,$el:a.optionsRef});function d(u){switch(l.value&&clearTimeout(l.value),u.key){case ye.Space:if(a.searchQuery.value!=="")return u.preventDefault(),u.stopPropagation(),a.search(u.key);case ye.Enter:if(u.preventDefault(),u.stopPropagation(),a.activeOptionIndex.value!==null){let m=a.options.value[a.activeOptionIndex.value];a.select(m.dataRef.value)}a.mode.value===0&&(a.closeListbox(),s.nextTick(()=>{var m;return(m=le(a.buttonRef))==null?void 0:m.focus({preventScroll:!0})}));break;case it(a.orientation.value,{vertical:ye.ArrowDown,horizontal:ye.ArrowRight}):return u.preventDefault(),u.stopPropagation(),a.goToOption(De.Next);case it(a.orientation.value,{vertical:ye.ArrowUp,horizontal:ye.ArrowLeft}):return u.preventDefault(),u.stopPropagation(),a.goToOption(De.Previous);case ye.Home:case ye.PageUp:return u.preventDefault(),u.stopPropagation(),a.goToOption(De.First);case ye.End:case ye.PageDown:return u.preventDefault(),u.stopPropagation(),a.goToOption(De.Last);case ye.Escape:u.preventDefault(),u.stopPropagation(),a.closeListbox(),s.nextTick(()=>{var m;return(m=le(a.buttonRef))==null?void 0:m.focus({preventScroll:!0})});break;case ye.Tab:u.preventDefault(),u.stopPropagation();break;default:u.key.length===1&&(a.search(u.key),l.value=setTimeout(()=>a.clearSearch(),350));break}}let c=zx(),p=s.computed(()=>c!==null?(c.value&dn.Open)===dn.Open:a.listboxState.value===0);return()=>{var u,m;let h={open:a.listboxState.value===0},{...g}=r,f={"aria-activedescendant":a.activeOptionIndex.value===null||(u=a.options.value[a.activeOptionIndex.value])==null?void 0:u.id,"aria-multiselectable":a.mode.value===1?!0:void 0,"aria-labelledby":(m=le(a.buttonRef))==null?void 0:m.id,"aria-orientation":a.orientation.value,id:i,onKeydown:d,role:"listbox",tabIndex:0,ref:a.optionsRef};return so({ourProps:f,theirProps:g,slot:h,attrs:e,slots:t,features:Ml.RenderStrategy|Ml.Static,visible:p.value,name:"ListboxOptions"})}}}),hn=s.defineComponent({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(r,{slots:e,attrs:t,expose:o}){var n;let i=(n=r.id)!=null?n:`headlessui-listbox-option-${$i()}`,a=cn("ListboxOption"),l=s.ref(null);o({el:l,$el:l});let d=s.computed(()=>a.activeOptionIndex.value!==null?a.options.value[a.activeOptionIndex.value].id===i:!1),c=s.computed(()=>it(a.mode.value,{0:()=>a.compare(s.toRaw(a.value.value),s.toRaw(r.value)),1:()=>s.toRaw(a.value.value).some(k=>a.compare(s.toRaw(k),s.toRaw(r.value)))})),p=s.computed(()=>it(a.mode.value,{1:()=>{var k;let y=s.toRaw(a.value.value);return((k=a.options.value.find(S=>y.some(E=>a.compare(s.toRaw(E),s.toRaw(S.dataRef.value)))))==null?void 0:k.id)===i},0:()=>c.value})),u=qx(l),m=s.computed(()=>({disabled:r.disabled,value:r.value,get textValue(){return u()},domRef:l}));s.onMounted(()=>a.registerOption(i,m)),s.onUnmounted(()=>a.unregisterOption(i)),s.onMounted(()=>{s.watch([a.listboxState,c],()=>{a.listboxState.value===0&&c.value&&it(a.mode.value,{1:()=>{p.value&&a.goToOption(De.Specific,i)},0:()=>{a.goToOption(De.Specific,i)}})},{immediate:!0})}),s.watchEffect(()=>{a.listboxState.value===0&&d.value&&a.activationTrigger.value!==0&&s.nextTick(()=>{var k,y;return(y=(k=le(l))==null?void 0:k.scrollIntoView)==null?void 0:y.call(k,{block:"nearest"})})});function h(k){if(r.disabled)return k.preventDefault();a.select(r.value),a.mode.value===0&&(a.closeListbox(),s.nextTick(()=>{var y;return(y=le(a.buttonRef))==null?void 0:y.focus({preventScroll:!0})}))}function g(){if(r.disabled)return a.goToOption(De.Nothing);a.goToOption(De.Specific,i)}let f=Dx();function b(k){f.update(k)}function w(k){f.wasMoved(k)&&(r.disabled||d.value||a.goToOption(De.Specific,i,0))}function C(k){f.wasMoved(k)&&(r.disabled||d.value&&a.goToOption(De.Nothing))}return()=>{let{disabled:k}=r,y={active:d.value,selected:c.value,disabled:k},{value:S,disabled:E,...N}=r,O={id:i,ref:l,role:"option",tabIndex:k===!0?void 0:-1,"aria-disabled":k===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:g,onPointerenter:b,onMouseenter:b,onPointermove:w,onMousemove:w,onPointerleave:C,onMouseleave:C};return so({ourProps:O,theirProps:N,slot:y,attrs:t,slots:e,name:"ListboxOption"})}}});const Qx={class:"relative"},Xx={key:0,class:"flex gap-2 items-center"},Zx={key:1,class:"flex items-center gap-2"},$x={class:"block truncate text-[12.5px]"},ev={key:0,class:"flex items-center"},tv={key:1,class:"flex items-center"},rv={class:"ml-3"},ov={__name:"TextColorEditor",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getTextColor);return s.watch(n,async i=>{o.value=i,await t.handlePageBuilderMethods()},{immediate:!0}),(i,a)=>(s.openBlock(),s.createBlock(s.unref(pn),{as:"div",modelValue:o.value,"onUpdate:modelValue":a[1]||(a[1]=l=>o.value=l)},{default:s.withCtx(()=>[s.createElementVNode("div",Qx,[s.createVNode(s.unref(un),{class:"w-max flex items-center myPrimaryTag"},{default:s.withCtx(()=>{var l;return[n.value==="none"?(s.openBlock(),s.createElementBlock("div",Xx,a[2]||(a[2]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," format_color_text ",-1),s.createElementVNode("span",{class:"block truncate text-[12.5px]"},"Text color",-1)]))):s.createCommentVNode("",!0),o.value!=="none"?(s.openBlock(),s.createElementBlock("div",Zx,[s.createElementVNode("div",{class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-800 rounded-sm",`bg-${(l=o.value)==null?void 0:l.replace("text-","")}`])},null,2),s.createElementVNode("span",$x,s.toDisplayString(o.value),1)])):s.createCommentVNode("",!0)]}),_:1}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute min-w-[12rem] z-40 mt-1 max-h-56 w-full overflow-auto rounded-md bg-gray-50 py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(vn).textColorVariables,l=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:a[0]||(a[0]=d=>s.unref(t).handleTextColor(o.value)),key:l,value:l},{default:s.withCtx(({active:d,textColor:c})=>[s.createElementVNode("li",{class:s.normalizeClass([d?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[l==="none"?(s.openBlock(),s.createElementBlock("div",ev,a[3]||(a[3]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," invert_colors ",-1),s.createElementVNode("span",{class:"ml-3"},"Default black",-1)]))):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("div",tv,[s.createElementVNode("div",{class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-100 rounded-sm",`bg-${l.replace("text-","")}`])},null,2),s.createElementVNode("span",rv,s.toDisplayString(l),1)])):s.createCommentVNode("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"]))}},nv={class:"relative"},iv={key:0,class:"flex gap-2 items-center"},av={key:1,class:"flex items-center gap-2"},sv={class:"block truncate"},lv={key:0,class:"flex items-center"},dv={key:1,class:"flex items-center"},cv={class:"ml-3"},pv={__name:"BackgroundColorEditor",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getBackgroundColor);return s.watch(n,async i=>{o.value=i,await t.handlePageBuilderMethods()},{immediate:!0}),(i,a)=>(s.openBlock(),s.createBlock(s.unref(pn),{as:"div",modelValue:o.value,"onUpdate:modelValue":a[1]||(a[1]=l=>o.value=l)},{default:s.withCtx(()=>[s.createElementVNode("div",nv,[s.createVNode(s.unref(un),{class:"w-max flex items-center myPrimaryTag"},{default:s.withCtx(()=>{var l;return[n.value==="none"?(s.openBlock(),s.createElementBlock("div",iv,a[2]||(a[2]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," colors ",-1),s.createElementVNode("span",{class:"block truncate text-[12.5px]"},"Background color ",-1)]))):s.createCommentVNode("",!0),o.value!=="none"?(s.openBlock(),s.createElementBlock("div",av,[s.createElementVNode("div",{class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-800 rounded-sm",`bg-${(l=o.value)==null?void 0:l.replace("bg-","")}`])},null,2),s.createElementVNode("span",sv,s.toDisplayString(o.value),1)])):s.createCommentVNode("",!0)]}),_:1}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute min-w-[12rem] z-40 mt-1 max-h-56 w-full overflow-auto rounded-md bg-gray-50 py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(vn).backgroundColorVariables,l=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:a[0]||(a[0]=d=>s.unref(t).handleBackgroundColor(o.value)),key:l,value:l},{default:s.withCtx(({active:d,backgroundColor:c})=>[s.createElementVNode("li",{class:s.normalizeClass([d?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[l==="none"?(s.openBlock(),s.createElementBlock("div",lv,a[3]||(a[3]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ",-1),s.createElementVNode("span",{class:"ml-3"},"Transparent",-1)]))):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("div",dv,[s.createElementVNode("div",{class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-100 rounded-sm",`bg-${l.replace("bg-","")}`])},null,2),s.createElementVNode("span",cv,s.toDisplayString(l),1)])):s.createCommentVNode("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"]))}},uv={class:"myInputGroup"},mv={class:"myPrimaryFormOrganizationHeaderDescriptionSection"},hv={class:"myPrimaryFormOrganizationHeader"},gv={key:0,class:"min-h-[2.5rem] flex items-center justify-start"},fv={class:"myPrimaryInputError mt-2 mb-0 py-0 self-start"},bv={class:"overflow-y-auto"},yv={class:"z-20 px-2 py-1 h-24 flex items-center justify-center mt-2 mx-2 border-b border-myPrimaryLightGrayColor"},wv={key:0,class:"px-2 flex items-center justify-start gap-2 w-max"},xv={class:"px-2"},vv={key:2,class:"px-2 flex items-center justify-start gap-2 w-max"},kv={key:3,class:"px-2"},Ev={__name:"EditGetElement",setup(r){const e=re,t=s.inject("CustomMediaComponent"),o=new se(e),n=s.computed(()=>e.getElement),i=s.computed(()=>{const K=e.getShowModalTipTap;return K&&w(),K}),a=s.computed(()=>e.getComponent),l=s.ref(""),d=s.ref(1),c=s.ref(""),p=s.ref(""),u=s.ref(""),m=s.ref(null),h=s.ref(null),g=s.ref(null),f=s.ref(null),b=s.ref(null),w=function(){o.toggleTipTapModal(!0),l.value="success",d.value=2,c.value="Manage Content",p.value=null,u.value=null,m.value=null,h.value="Save",g.value=function(){o.toggleTipTapModal(!1)},b.value=function(){o.toggleTipTapModal(!0)}},C=s.computed(()=>e.getBasePrimaryImage),k=s.ref(!1),y=s.ref(""),S=s.ref(""),E=s.ref(""),N=s.ref(null),O=s.ref(null),A=s.ref(null),v=function(){k.value=!0,y.value="Media Library",S.value=null,E.value="Close",N.value="Select image",A.value=function(){k.value=!1}},x=s.ref(null),V=s.ref(""),z=s.ref(!1),ee=function(){x.value=null;const K=/^https?:\/\//,F=s.ref(!0);return F.value=K.test(V.value),F.value===!1?(x.value="The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.",!0):!1},te=function(){var F;x.value=null;const K=n.value&&((F=n.value.firstElementChild)==null?void 0:F.tagName)==="IFRAME"&&n.value.firstElementChild.hasAttribute("src")&&n.value.firstElementChild.getAttribute("src").trim()!==""?n.value.firstElementChild.src:"";V.value=K,z.value=!0,l.value="success",d.value=2,c.value="Add video url",p.value=null,u.value="Close",m.value="Save",h.value=null,g.value=function(){z.value=!1},f.value=function(){ee()||(n.value&&n.value.firstElementChild&&n.value.firstElementChild.tagName==="IFRAME"&&(V.value=V.value.replace("watch?v=","embed/"),V.value=V.value.replace(/&ab_channel=[^&]*/,"").replace(/&list=[^&]*/,"").replace(/&start_radio=[^&]*/,"").replace(/&t=[^&]*/,""),n.value.firstElementChild.src=V.value),z.value=!1)}};return(K,F)=>(s.openBlock(),s.createElementBlock("div",null,[s.createVNode(wo,{showDynamicModalBuilder:z.value,maxWidth:"2xl",type:l.value,gridColumnAmount:d.value,title:c.value,description:p.value,firstButtonText:u.value,secondButtonText:m.value,thirdButtonText:h.value,onFirstModalButtonFunctionDynamicModalBuilder:g.value,onSecondModalButtonFunctionDynamicModalBuilder:f.value,onThirdModalButtonFunctionDynamicModalBuilder:b.value},{default:s.withCtx(()=>[F[2]||(F[2]=s.createElementVNode("header",null,null,-1)),s.createElementVNode("main",null,[s.createElementVNode("div",uv,[s.createElementVNode("div",mv,[s.createElementVNode("div",hv,[F[1]||(F[1]=s.createElementVNode("label",{for:"video",class:"myPrimaryInputLabel"},"Video url:",-1)),s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":F[0]||(F[0]=Z=>V.value=Z),type:"text",class:"myPrimaryInput",name:"video"},null,512),[[s.vModelText,V.value]]),x.value?(s.openBlock(),s.createElementBlock("div",gv,[s.createElementVNode("p",fv,s.toDisplayString(x.value),1)])):s.createCommentVNode("",!0)])])])])]),_:1,__:[2]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"]),s.createVNode(wo,{simpleModal:!0,showDynamicModalBuilder:i.value,maxWidth:"6xl",type:l.value,gridColumnAmount:d.value,title:c.value,description:p.value,firstButtonText:u.value,secondButtonText:m.value,thirdButtonText:h.value,onFirstModalButtonFunctionDynamicModalBuilder:g.value,onSecondModalButtonFunctionDynamicModalBuilder:f.value,onThirdModalButtonFunctionDynamicModalBuilder:b.value},{default:s.withCtx(()=>[F[3]||(F[3]=s.createElementVNode("header",null,null,-1)),s.createElementVNode("main",bv,[s.createVNode(dx)])]),_:1,__:[3]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"]),s.createVNode(hm,{open:k.value,title:y.value,description:S.value,firstButtonText:E.value,secondButtonText:N.value,thirdButtonText:O.value,customMediaComponent:s.unref(t),onFirstMediaButtonFunction:A.value},null,8,["open","title","description","firstButtonText","secondButtonText","thirdButtonText","customMediaComponent","onFirstMediaButtonFunction"]),s.createElementVNode("div",yv,[s.createElementVNode("div",{class:s.normalizeClass(["flex items-center justify-center",{"rounded-full border border-gray-200 shadow-sm":n.value}])},[s.unref(o).ElOrFirstChildIsIframe()?(s.openBlock(),s.createElementBlock("div",wv,[s.createElementVNode("button",{onClick:te,type:"button",class:"myPrimaryTag"},F[4]||(F[4]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," play_circle ",-1),s.createElementVNode("span",null,"Add YouTube",-1)]))])):s.createCommentVNode("",!0),s.unref(o).selectedElementIsValidText()&&!s.unref(o).ElOrFirstChildIsIframe()?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createElementVNode("div",{class:"px-2 flex items-center justify-start gap-2 w-max"},[s.createElementVNode("button",{onClick:w,type:"button",class:"myPrimaryTag"},F[5]||(F[5]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," edit ",-1),s.createElementVNode("span",null,"Edit text and links",-1)]))]),s.createElementVNode("div",xv,[s.createVNode(ov)])],64)):s.createCommentVNode("",!0),n.value&&a.value&&C.value!==null&&!s.unref(o).ElOrFirstChildIsIframe()?(s.openBlock(),s.createElementBlock("div",vv,[s.createElementVNode("button",{onClick:v,type:"button",class:"myPrimaryTag"},F[6]||(F[6]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," add_photo_alternate ",-1),s.createElementVNode("span",null,"Update image",-1)]))])):s.createCommentVNode("",!0),n.value&&n.value.nodeType===1&&!C.value&&!s.unref(o).ElOrFirstChildIsIframe()?(s.openBlock(),s.createElementBlock("div",kv,[s.createVNode(pv)])):s.createCommentVNode("",!0)],2)])]))}},Cv=[{html_code:`
131
131
  <section>
132
132
  <div class="relative py-4">
133
133
  <div class="mx-auto max-w-7xl lg:px-4 px-2">
@@ -541,6 +541,6 @@ class="flex items-centre justify-start font-medium text-black bg-gray-200">
541
541
  <div class="w-full md:pt-12 md:pb-12 pt-4 pb-4 lg:px-4 px-2"><div class="mx-auto max-w-7xl"><div class="myPrimaryGap grid grid-cols-1 sm:grid-cols-3 lg:grid-cols-3"> <div class="flex-1 py-2"> <img class="object-cover w-full object-top aspect-square smooth-transition" src="${Y}" alt="provider"> <div class="break-words py-2"><p>Layouts and visual.</p><p>Ullamcorper dignissim cras tincidunt.</p></div> </div> <div class="flex-1 py-2"> <img class="object-cover w-full object-top aspect-square smooth-transition" src="${Y}" alt="provider"> <div class="break-words py-2"><p>Layouts and visual.</p><p>Ullamcorper dignissim cras tincidunt.</p></div> </div> <div class="flex-1 py-2"> <img class="object-cover w-full object-top aspect-square smooth-transition" src="${Y}" alt="provider"> <div class="break-words py-2"><p>Layouts and visual.</p><p>Ullamcorper dignissim cras tincidunt.</p></div> </div> </div> </div> </div>
542
542
  </section>`,cover_image:null},{title:"2 Square Images With Text",html_code:`<section>
543
543
  <div class="w-full md:pt-12 md:pb-12 pt-4 pb-4 lg:px-4 px-2"><div class="mx-auto max-w-7xl"><div class="myPrimaryGap grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-2"> <div class="flex-1 py-2"> <img class="object-cover w-full object-top aspect-square smooth-transition" src="${Y}" alt="provider"> <div class="break-words py-2"><p>Layouts and visual.</p><p>Ullamcorper dignissim cras tincidunt.</p></div> </div> <div class="flex-1 py-2"> <img class="object-cover w-full object-top aspect-square smooth-transition" src="${Y}" alt="provider"> <div class="break-words py-2"><p>Layouts and visual.</p><p>Ullamcorper dignissim cras tincidunt.</p></div> </div> </div> </div> </div>
544
- </section>`,cover_image:null}]}}];function Pm(){const r=s.inject("closeAddComponentModal",null),e=s.inject("closeMediaLibraryModal",null);return{closeAddComponentModal:r||(()=>{console.warn("closeAddComponentModal function not available. Make sure you are using this within a PageBuilder context.")}),closeMediaLibraryModal:e||(()=>{console.warn("closeMediaLibraryModal function not available. Make sure you are using this within a MediaLibraryModal context.")})}}const Bv={class:"mb-8"},Tv={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4"},Ov=["onClick"],Vv={class:"max-h-72 cursor-pointer object-contain bg-white mx-auto"},Pv={class:"myPrimaryParagraph text-base font-medium"},Av={class:"myPrimaryParagraph text-xs font-normal pt-2"},Dv={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4"},Iv=["onClick"],Lv={class:"overflow-hidden whitespace-pre-line flex-1 h-auto border-b border-gray-200 lg:py-10 py-8 px-2"},Rv=["innerHTML"],_v={class:"p-3"},zv={class:"myPrimaryParagraph text-sm font-normal"},Fv=El(s.defineComponent({__name:"DefaultBuilderComponents",setup(r){const{closeAddComponentModal:e}=Pm(),t=re,o=new se(t),n=async function(l){await o.addComponent(l),e()},i=function(l){return{id:null,html_code:l.html_code,title:l.title}},a=l=>Nv(l);return(l,d)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",Bv,[d[0]||(d[0]=s.createElementVNode("h3",{class:"myQuaternaryHeader mb-4"},"Helper Components",-1)),s.createElementVNode("div",Tv,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Cv),c=>(s.openBlock(),s.createElementBlock("div",{key:c.title,class:"border border-gray-200 overflow-hidden hover:border-myPrimaryLinkColor duration-100 cursor-pointer p-4",onClick:p=>n(c)},[s.createElementVNode("div",Vv,[s.createCommentVNode("",!0),s.createElementVNode("h4",Pv,s.toDisplayString(c.title),1)]),s.createElementVNode("div",Av," Click to add "+s.toDisplayString(c.title.toLowerCase())+" component ",1)],8,Ov))),128))])]),s.createElementVNode("div",null,[d[2]||(d[2]=s.createElementVNode("h3",{class:"myQuaternaryHeader mb-4"},"Layout Components",-1)),s.createElementVNode("div",Dv,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Mv)[0].components.data,c=>(s.openBlock(),s.createElementBlock("div",{key:c.title,class:"border border-gray-200 overflow-hidden hover:border-myPrimaryLinkColor duration-100 cursor-pointer",onClick:p=>n(i(c))},[s.createElementVNode("div",Lv,[s.createElementVNode("div",{class:"max-h-72 cursor-pointer bg-white mx-auto flex items-center justify-center",innerHTML:a(c.title)},null,8,Rv)]),s.createElementVNode("div",_v,[s.createElementVNode("h4",zv,s.toDisplayString(c.title),1),d[1]||(d[1]=s.createElementVNode("div",{class:"myPrimaryParagraph text-xs font-normal pt-2"},"Click to add component",-1))])],8,Iv))),128))])])]))}}),[["__scopeId","data-v-f343d494"]]),Hv={class:"w-full inset-x-0 bg-white overflow-x-scroll lg:pt-2 pt-2"},jv={key:0},Wv={key:1,class:"h-[75vh]"},qv={class:"py-4 flex sm:justify-end justify-center border-t border-gray-200 mt-4"},Uv={class:"sm:w-3/6 w-full px-2 my-2 flex gap-2 justify-end"},Kv={__name:"BuilderComponents",props:{firstButtonText:{required:!0},title:{required:!0},show:{type:Boolean,default:!1,required:!0},CustomBuilderComponents:{type:Object,default:null}},emits:["firstModalButtonSearchComponentsFunction"],setup(r,{emit:e}){const t=e,o=function(){t("firstModalButtonSearchComponentsFunction")};return(n,i)=>(s.openBlock(),s.createBlock(Dr,{title:r.title,maxWidth:"7xl",showModalBuilder:r.show,onCloseMainModalBuilder:o,minHeight:"",maxHeight:""},{default:s.withCtx(()=>[s.createElementVNode("div",Hv,[s.createElementVNode("div",null,[r.CustomBuilderComponents?(s.openBlock(),s.createElementBlock("div",jv,[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(r.CustomBuilderComponents)))])):(s.openBlock(),s.createElementBlock("div",Wv,[s.createVNode(Fv)]))])]),s.createElementVNode("div",qv,[s.createElementVNode("div",Uv,[r.firstButtonText?(s.openBlock(),s.createElementBlock("button",{key:0,ref:"firstButtonRef",class:"mySecondaryButton",type:"button",onClick:o},s.toDisplayString(r.firstButtonText),513)):s.createCommentVNode("",!0)])])]),_:1},8,["title","showModalBuilder"]))}},Gv={setup(){return{expanded:s.ref(!1)}}},Jv={class:"myPrimaryParagraph font-medium my-0 py-0"},Yv={key:0,class:"material-symbols-outlined"},Qv={key:1,class:"material-symbols-outlined"};function Xv(r,e,t,o,n,i){return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["flex flex-col border border-gray-400",{"pb-8":o.expanded}])},[s.createElementVNode("div",{class:"flex flex-row justify-between items-center pl-3 pr-3 py-5 cursor-pointer duration-200 hover:bg-myPrimaryLightGrayColor border-b border-gray-200",onClick:e[0]||(e[0]=a=>o.expanded=!o.expanded)},[s.createElementVNode("p",Jv,[s.renderSlot(r.$slots,"title")]),o.expanded?(s.openBlock(),s.createElementBlock("span",Yv," keyboard_arrow_down ")):s.createCommentVNode("",!0),o.expanded?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("span",Qv," chevron_right "))]),s.createElementVNode("div",{class:s.normalizeClass([[o.expanded?"block":"hidden"],"px-4 ease-linear duration-75"])},[s.renderSlot(r.$slots,"content")],2)],2)}const lo=El(Gv,[["render",Xv]]),Zv={class:"flex flex-row flex-wrap gap-2 mt-2 mb-4"},$v=["onClick"],e5={class:"flex items-center gap-1"},t5={class:"mr-1"},r5={class:"flex gap-2 item-center flex-col"},o5={class:"flex gap-2 item-center"},n5={class:"mt-1 relative flex items-center w-full border myPrimaryInput py-0 p-0"},i5={__name:"ClassEditor",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getCurrentClasses);s.watch(n,l=>{o.value=l},{immediate:!0});const i=s.ref(""),a=async function(){t.handleAddClasses(i.value),await t.handlePageBuilderMethods(),i.value=""};return(l,d)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>d[2]||(d[2]=[s.createTextVNode("Generated CSS")])),content:s.withCtx(()=>[s.createElementVNode("div",Zv,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,c=>(s.openBlock(),s.createElementBlock("div",{key:c,class:"myPrimaryTag cursor-pointer hover:bg-myPrimaryErrorColor hover:text-white text-xs py-2 font-medium",onClick:async()=>{s.unref(t).handleRemoveClasses(c),await s.unref(t).handlePageBuilderMethods()}},[s.createElementVNode("div",e5,[s.createElementVNode("span",t5,s.toDisplayString(c),1)])],8,$v))),128))]),s.createElementVNode("div",r5,[s.createElementVNode("div",o5,[s.createElementVNode("div",n5,[s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=c=>i.value=c),type:"text",placeholder:"Type class",onKeydown:d[1]||(d[1]=s.withKeys(c=>a(),["enter"])),autocomplete:"off",class:"myPrimaryInput border-none rounded-r-none ml-0 w-full"},null,544),[[s.vModelText,i.value]]),d[3]||(d[3]=s.createElementVNode("div",{class:"border border-gray-200 border-none rounded flex items-center justify-center h-full w-8"},[s.createElementVNode("kbd",{class:"myPrimaryParagraph text-gray-400 border-none"}," ⏎ ")],-1))])]),d[4]||(d[4]=s.createElementVNode("p",{class:"myPrimaryInputError"},null,-1))])]),_:1}))}};function a5(r){return new Promise((e,t)=>{const o=new window.Image;o.onload=e,o.onerror=t,o.src=r})}const s5=["src"],l5={__name:"ImageEditor",setup(r){const e=re,t=s.inject("CustomMediaComponent");new se(e),s.ref(!1);const o=s.ref(!1),n=s.ref(!1),i=s.ref(""),a=s.ref(""),l=s.ref(""),d=s.ref(null),c=s.ref(null),p=s.ref(null),u=s.computed(()=>(e.getBasePrimaryImage&&h(e.getBasePrimaryImage),e.getBasePrimaryImage));s.computed(()=>e.getElement);const m=function(){n.value=!0,i.value="Media Library",a.value=null,l.value="Close",d.value="Select image",p.value=function(){n.value=!1}},h=async function(g){o.value=!0,g&&typeof g=="string"&&g.length>2&&(await a5(g),await Fl(200),o.value=!1)};return(g,f)=>(s.openBlock(),s.createElementBlock("div",null,[s.withDirectives(s.createElementVNode("div",null,f[0]||(f[0]=[s.createElementVNode("div",{class:"flex items-center justify-center mt-4 min-h-80"},[s.createElementVNode("div",{class:"inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"},[s.createElementVNode("span",{class:"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]"},"Loading...")])],-1)]),512),[[s.vShow,o.value]]),s.withDirectives(s.createElementVNode("div",null,[s.createElementVNode("img",{class:"object-cover object-center w-full cursor-pointer",src:u.value,onClick:m,alt:"image"},null,8,s5)],512),[[s.vShow,u.value&&!o.value]]),s.createVNode(hm,{open:n.value,title:i.value,description:a.value,firstButtonText:l.value,secondButtonText:d.value,thirdButtonText:c.value,customMediaComponent:s.unref(t),onFirstMediaButtonFunction:p.value},null,8,["open","title","description","firstButtonText","secondButtonText","thirdButtonText","customMediaComponent","onFirstMediaButtonFunction"])]))}},d5={class:"my-2 py-2"},c5={class:"relative"},p5={class:"flex items-center gap-2"},u5={key:0},m5={class:"flex items-center"},h5={key:0,class:"aspect-square w-6 h-6"},g5={key:2,class:"ml-3"},f5={key:3,class:"ml-3"},b5={__name:"ManageBackgroundOpacity",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getBackgroundOpacity);return s.watch(n,async i=>{o.value=i,await t.handlePageBuilderMethods()},{immediate:!0}),(i,a)=>(s.openBlock(),s.createElementBlock("div",d5,[a[4]||(a[4]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Background opacity",-1)),s.createVNode(s.unref(pn),{as:"div",modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l)},{default:s.withCtx(()=>[s.createElementVNode("div",c5,[s.createVNode(s.unref(un),{class:"myPrimarySelect"},{default:s.withCtx(()=>[s.createElementVNode("span",p5,[o.value==="none"?(s.openBlock(),s.createElementBlock("div",u5,a[1]||(a[1]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),o.value!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`${o.value}`])},null,2)):s.createCommentVNode("",!0),s.createElementVNode("span",{class:s.normalizeClass(["block truncate",[(o.value!=="none","")]])},s.toDisplayString(o.value==="none"?"Transparent":o.value),3)]),a[2]||(a[2]=s.createElementVNode("span",{class:"pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," keyboard_arrow_down ")],-1))]),_:1,__:[2]}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(kn).backgroundOpacities,l=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:d=>s.unref(t).handleBackgroundOpacity(l),key:l,value:l},{default:s.withCtx(({active:d})=>[s.createElementVNode("li",{class:s.normalizeClass([d?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[s.createElementVNode("div",m5,[l==="none"?(s.openBlock(),s.createElementBlock("div",h5,a[3]||(a[3]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`${l}`])},null,2)):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("span",g5,s.toDisplayString(l),1)):s.createCommentVNode("",!0),l==="none"?(s.openBlock(),s.createElementBlock("span",f5,"Transparent")):s.createCommentVNode("",!0)])],2)]),_:2},1032,["onClick","value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"])]))}},y5={class:"my-2 py-2"},w5={class:"relative"},x5={class:"flex items-center gap-2"},v5={key:0},k5={class:"flex items-center"},E5={key:0},C5={key:2,class:"ml-3"},S5={key:3,class:"ml-3"},N5={__name:"ManageOpacity",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getOpacity);return s.watch(n,async i=>{o.value=i,await t.handlePageBuilderMethods()},{immediate:!0}),(i,a)=>(s.openBlock(),s.createElementBlock("div",y5,[a[4]||(a[4]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Opacity",-1)),s.createVNode(s.unref(pn),{as:"div",modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l)},{default:s.withCtx(()=>[s.createElementVNode("div",w5,[s.createVNode(s.unref(un),{class:"myPrimarySelect"},{default:s.withCtx(()=>[s.createElementVNode("span",x5,[o.value==="none"?(s.openBlock(),s.createElementBlock("div",v5,a[1]||(a[1]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),o.value!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`${o.value}`])},null,2)):s.createCommentVNode("",!0),s.createElementVNode("span",{class:s.normalizeClass(["block truncate",[(o.value!=="none","")]])},s.toDisplayString(o.value==="none"?"Transparent":o.value),3)]),a[2]||(a[2]=s.createElementVNode("span",{class:"pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," keyboard_arrow_down ")],-1))]),_:1,__:[2]}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(kn).opacities,l=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:d=>s.unref(t).handleOpacity(l),key:l,value:l},{default:s.withCtx(({active:d})=>[s.createElementVNode("li",{class:s.normalizeClass([d?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[s.createElementVNode("div",k5,[l==="none"?(s.openBlock(),s.createElementBlock("div",E5,a[3]||(a[3]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`${l}`])},null,2)):s.createCommentVNode("",!0),l==="none"?(s.openBlock(),s.createElementBlock("span",C5,"Transparent")):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("span",S5,s.toDisplayString(l),1)):s.createCommentVNode("",!0)])],2)]),_:2},1032,["onClick","value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"])]))}},M5={__name:"OpacityEditor",setup(r){return(e,t)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>t[0]||(t[0]=[s.createTextVNode("Opacity settings")])),content:s.withCtx(()=>[t[1]||(t[1]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Opacity",-1)),s.createVNode(N5),s.createVNode(b5)]),_:1}))}},B5={class:"my-2 py-2"},T5={class:"my-2 py-2"},O5={class:"my-2 py-2"},V5={class:"my-2 py-2"},P5={__name:"PaddingPlusMargin",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.ref(null),i=s.ref(null),a=s.ref(null),l=s.computed(()=>e.getFontVerticalPadding),d=s.computed(()=>e.getFontHorizontalPadding),c=s.computed(()=>e.getFontVerticalMargin),p=s.computed(()=>e.getFontHorizontalMargin);return s.watch(l,async u=>{o.value=u,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(d,async u=>{n.value=u,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(c,async u=>{i.value=u,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(p,async u=>{a.value=u,await t.handlePageBuilderMethods()},{immediate:!0}),(u,m)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>m[8]||(m[8]=[s.createTextVNode("Padding & Margin")])),content:s.withCtx(()=>[m[17]||(m[17]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Padding",-1)),s.createElementVNode("div",B5,[m[10]||(m[10]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Padding Y-axis ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":m[0]||(m[0]=h=>o.value=h),class:"myPrimarySelect",onChange:m[1]||(m[1]=h=>s.unref(t).handleVerticalPadding(o.value))},[m[9]||(m[9]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Rt).verticalPadding,h=>(s.openBlock(),s.createElementBlock("option",{key:h},s.toDisplayString(h),1))),128))],544),[[s.vModelSelect,o.value]])]),s.createElementVNode("div",T5,[m[12]||(m[12]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Padding X-axis ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":m[2]||(m[2]=h=>n.value=h),class:"myPrimarySelect",onChange:m[3]||(m[3]=h=>s.unref(t).handleHorizontalPadding(n.value))},[m[11]||(m[11]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Rt).horizontalPadding,h=>(s.openBlock(),s.createElementBlock("option",{key:h},s.toDisplayString(h),1))),128))],544),[[s.vModelSelect,n.value]])]),m[18]||(m[18]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Margin",-1)),s.createElementVNode("div",O5,[m[14]||(m[14]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Margin Y-axis ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":m[4]||(m[4]=h=>i.value=h),class:"myPrimarySelect",onChange:m[5]||(m[5]=h=>s.unref(t).handleVerticalMargin(i.value))},[m[13]||(m[13]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Rt).verticalMargin,h=>(s.openBlock(),s.createElementBlock("option",{key:h},s.toDisplayString(h),1))),128))],544),[[s.vModelSelect,i.value]])]),s.createElementVNode("div",V5,[m[16]||(m[16]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Margin X-axis ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":m[6]||(m[6]=h=>a.value=h),class:"myPrimarySelect",onChange:m[7]||(m[7]=h=>s.unref(t).handleHorizontalMargin(a.value))},[m[15]||(m[15]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Rt).horizontalMargin,h=>(s.openBlock(),s.createElementBlock("option",{key:h},s.toDisplayString(h),1))),128))],544),[[s.vModelSelect,a.value]])])]),_:1}))}},A5={class:"my-2 py-2"},D5={class:"my-2 py-2"},I5={class:"my-2 py-2"},L5={class:"my-2 py-2"},R5={class:"my-2 py-2"},_5={__name:"BorderRadius",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.ref(null),i=s.ref(null),a=s.ref(null),l=s.ref(null),d=s.computed(()=>e.getBorderRadiusGlobal),c=s.computed(()=>e.getBorderRadiusTopLeft),p=s.computed(()=>e.getBorderRadiusTopRight),u=s.computed(()=>e.getBorderRadiusBottomleft),m=s.computed(()=>e.getBorderRadiusBottomRight);return s.watch(d,async h=>{o.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(c,async h=>{n.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(p,async h=>{i.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(u,async h=>{a.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(m,async h=>{l.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),(h,g)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>g[10]||(g[10]=[s.createTextVNode("Border Radius")])),content:s.withCtx(()=>[g[21]||(g[21]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Global",-1)),s.createElementVNode("div",A5,[g[12]||(g[12]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[0]||(g[0]=f=>o.value=f),class:"myPrimarySelect",onChange:g[1]||(g[1]=f=>s.unref(t).handleBorderRadiusGlobal(o.value))},[g[11]||(g[11]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedGlobal,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,o.value]])]),g[22]||(g[22]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Specific",-1)),s.createElementVNode("div",D5,[g[14]||(g[14]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius top left ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[2]||(g[2]=f=>n.value=f),class:"myPrimarySelect",onChange:g[3]||(g[3]=f=>s.unref(t).handleBorderRadiusTopLeft(n.value))},[g[13]||(g[13]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedTopLeft,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,n.value]])]),s.createElementVNode("div",I5,[g[16]||(g[16]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius top right ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[4]||(g[4]=f=>i.value=f),class:"myPrimarySelect",onChange:g[5]||(g[5]=f=>s.unref(t).handleBorderRadiusTopRight(i.value))},[g[15]||(g[15]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedTopRight,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,i.value]])]),s.createElementVNode("div",L5,[g[18]||(g[18]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius bottom left ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[6]||(g[6]=f=>a.value=f),class:"myPrimarySelect",onChange:g[7]||(g[7]=f=>s.unref(t).handleBorderRadiusBottomleft(a.value))},[g[17]||(g[17]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedBottomLeft,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,a.value]])]),s.createElementVNode("div",R5,[g[20]||(g[20]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius bottom right ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[8]||(g[8]=f=>l.value=f),class:"myPrimarySelect",onChange:g[9]||(g[9]=f=>s.unref(t).handleBorderRadiusBottomRight(l.value))},[g[19]||(g[19]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedBottomRight,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,l.value]])])]),_:1}))}},z5={class:"my-2 py-2"},F5={class:"my-2 py-2"},H5={class:"relative mt-2"},j5={class:"flex items-center gap-2"},W5={key:0},q5={class:"block truncate"},U5={class:"flex items-center"},K5={key:0},G5={key:2,class:"ml-3"},J5={key:3,class:"ml-3"},Y5={__name:"Borders",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.ref(null),i=s.ref(null),a=s.computed(()=>e.getBorderStyle),l=s.computed(()=>e.getBorderWidth),d=s.computed(()=>e.getBorderColor);return s.watch(a,async c=>{o.value=c,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(l,async c=>{n.value=c,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(d,async c=>{i.value=c,await t.handlePageBuilderMethods()},{immediate:!0}),(c,p)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>p[6]||(p[6]=[s.createTextVNode("Border Style, Width & Color")])),content:s.withCtx(()=>[p[14]||(p[14]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Border",-1)),s.createElementVNode("div",z5,[p[8]||(p[8]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Style ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":p[0]||(p[0]=u=>o.value=u),class:"myPrimarySelect",onChange:p[1]||(p[1]=u=>s.unref(t).handleBorderStyle(o.value))},[p[7]||(p[7]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Ar).borderStyle,u=>(s.openBlock(),s.createElementBlock("option",{key:u},s.toDisplayString(u),1))),128))],544),[[s.vModelSelect,o.value]])]),s.createElementVNode("div",F5,[p[10]||(p[10]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Width ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":p[2]||(p[2]=u=>n.value=u),class:"myPrimarySelect",onChange:p[3]||(p[3]=u=>s.unref(t).handleBorderWidth(n.value))},[p[9]||(p[9]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Ar).borderWidth,u=>(s.openBlock(),s.createElementBlock("option",{key:u},s.toDisplayString(u),1))),128))],544),[[s.vModelSelect,n.value]])]),p[15]||(p[15]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Color ",-1)),s.createVNode(s.unref(pn),{as:"div",modelValue:i.value,"onUpdate:modelValue":p[5]||(p[5]=u=>i.value=u)},{default:s.withCtx(()=>[s.createElementVNode("div",H5,[s.createVNode(s.unref(un),{class:"myPrimarySelect"},{default:s.withCtx(()=>{var u;return[s.createElementVNode("span",j5,[d.value==="none"?(s.openBlock(),s.createElementBlock("div",W5,p[11]||(p[11]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),i.value!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-100 rounded-sm",`bg-${(u=i.value)==null?void 0:u.replace("border-","")}`])},null,2)):s.createCommentVNode("",!0),s.createElementVNode("span",q5,s.toDisplayString(i.value),1)]),p[12]||(p[12]=s.createElementVNode("span",{class:"pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," keyboard_arrow_down ")],-1))]}),_:1,__:[12]}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Ar).borderColor,u=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:p[4]||(p[4]=m=>s.unref(t).handleBorderColor(i.value)),key:u,value:u},{default:s.withCtx(({active:m,borderColor:h})=>[s.createElementVNode("li",{class:s.normalizeClass([m?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[s.createElementVNode("div",U5,[u==="none"?(s.openBlock(),s.createElementBlock("div",K5,p[13]||(p[13]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),u!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`bg-${u.replace("border-","")}`])},null,2)):s.createCommentVNode("",!0),u==="none"?(s.openBlock(),s.createElementBlock("span",G5,"Transparent")):s.createCommentVNode("",!0),u!=="none"?(s.openBlock(),s.createElementBlock("span",J5,s.toDisplayString(u),1)):s.createCommentVNode("",!0)])],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"])]),_:1}))}},Q5={class:"blockease-linear duration-200 block ease-linear"},X5={key:0,class:"flex items-center justify-center mb-6"},Z5={class:"px-2 flex items-center justify-start gap-2 w-max"},$5=s.defineComponent({__name:"TipTap",setup(r){const e=re,t=new se(e);return(o,n)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",Q5,[s.unref(t).selectedElementIsValidText()?(s.openBlock(),s.createElementBlock("div",X5,[s.createElementVNode("div",Z5,[s.createElementVNode("button",{onClick:n[0]||(n[0]=i=>s.unref(t).toggleTipTapModal(!0)),type:"button",class:"myPrimaryTag"},n[1]||(n[1]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," edit ",-1),s.createElementVNode("span",null,"Edit text and links",-1)]))])])):s.createCommentVNode("",!0)])]))}}),e3={key:0,class:"border-b border-gray-200 mb-4 pb-8 pt-4"},t3={class:"px-2 flex items-center justify-start gap-2 w-max"},r3={class:"px-2 flex items-center justify-start gap-2 w-max"},o3={__name:"ElementEditor",setup(r){const e=re,t=new se(e),o=s.computed(()=>e.getElement),n=s.computed(()=>e.getRestoredElement);return(i,a)=>o.value||n.value?(s.openBlock(),s.createBlock(lo,{key:0},{title:s.withCtx(()=>a[2]||(a[2]=[s.createTextVNode("Selected HTML Element")])),content:s.withCtx(()=>[a[9]||(a[9]=s.createElementVNode("div",{class:"flex flex-row flex-wrap gap-2 mt-2"},null,-1)),n.value?(s.openBlock(),s.createElementBlock("div",e3,[a[4]||(a[4]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0"},"Restore",-1)),a[5]||(a[5]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Restore the last deleted HTML element.",-1)),s.createElementVNode("div",t3,[s.createElementVNode("button",{onClick:a[0]||(a[0]=(...l)=>s.unref(t).handleRestoreElement&&s.unref(t).handleRestoreElement(...l)),type:"button",class:"myPrimaryButton w-full mt-4"},a[3]||(a[3]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," undo ",-1),s.createElementVNode("span",null,"Restore",-1)]))])])):s.createCommentVNode("",!0),o.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[a[7]||(a[7]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 mb-4 pt-4"},"Delete",-1)),a[8]||(a[8]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Delete the currently selected HTML element from the page.",-1)),s.createElementVNode("div",r3,[s.createElementVNode("button",{onClick:a[1]||(a[1]=(...l)=>s.unref(t).handleDeleteElement&&s.unref(t).handleDeleteElement(...l)),type:"button",class:"myPrimaryDeleteButton w-full mt-4"},a[6]||(a[6]=[s.createElementVNode("span",{class:"hover:text-white"},"Delete element",-1)]))])],64)):s.createCommentVNode("",!0)]),_:1})):s.createCommentVNode("",!0)}},n3={class:"flex max-h-[50rem] flex-col"},i3={class:"flex flex-row justify-between pt-7 pr-4 pl-4 items-center mb-3"},a3={class:"font-medium text-sm"},s3={class:"lowercase"},l3={class:"pl-3 pr-3 mb-4 overflow-y-scroll"},d3={class:"mb-1"},c3={class:"mb-1"},p3={class:"my-1 bg-white"},u3={class:"my-1 bg-white"},m3={class:"my-1 bg-white"},h3={class:"my-1 bg-white"},g3={class:"my-1 bg-white"},f3={class:"my-1 bg-white"},b3={__name:"RightSidebarEditor",emits:["closeEditor"],setup(r,{emit:e}){const t=re,o=new se(t),n=s.computed(()=>t.getElement),i=s.computed(()=>{var a;return(a=n.value)==null?void 0:a.tagName});return s.computed(()=>n.value instanceof HTMLElement&&n.value.innerText.trim()!==" "||n.value instanceof HTMLImageElement),(a,l)=>(s.openBlock(),s.createElementBlock("div",n3,[s.createElementVNode("div",i3,[s.createElementVNode("button",{type:"button",onClick:l[0]||(l[0]=d=>a.$emit("closeEditor")),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},l[1]||(l[1]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," close ",-1)])),s.createElementVNode("p",a3,[l[2]||(l[2]=s.createTextVNode(" Editing ")),s.createElementVNode("span",s3,"<"+s.toDisplayString(i.value)+">",1)])]),s.createElementVNode("div",l3,[s.withDirectives(s.createElementVNode("div",null,[s.createElementVNode("article",d3,[s.createVNode(l5)]),s.createElementVNode("article",c3,[s.createVNode($5)]),s.createCommentVNode("",!0),s.createElementVNode("article",p3,[s.createVNode(M5)]),s.createElementVNode("article",u3,[s.createVNode(P5)]),s.createElementVNode("article",m3,[s.createVNode(_5)]),s.createElementVNode("article",h3,[s.createVNode(Y5)]),s.createElementVNode("article",g3,[s.createVNode(i5)])],512),[[s.vShow,n.value&&s.unref(o).isEditableElement(n.value)]]),s.createElementVNode("div",null,[s.createElementVNode("article",f3,[s.createVNode(o3)])]),l[3]||(l[3]=s.createElementVNode("article",{class:"mt-1 bg-white"},null,-1))])]))}},co=function(r){return!r||typeof r=="object"&&r.constructor===Object&&Object.keys(r).length===0},y3=re,Bl=new se(y3),w3=function(r){if(!r.updateOrCreate||r.updateOrCreate&&typeof r.updateOrCreate.formType!="string"||r.updateOrCreate&&co(r.updateOrCreate)){const e={...r,updateOrCreate:{formType:"create",formName:"post"}};return Bl.setConfigPageBuilder(e),!0}if(r.updateOrCreate&&typeof r.updateOrCreate.formType=="string"&&r.updateOrCreate.formType!=="create"&&r.updateOrCreate.formType!=="update"&&typeof r.formName!="string"){const e={...r,updateOrCreate:{formType:"create",formName:"post"}};return Bl.setConfigPageBuilder(e),!0}if(r.updateOrCreate&&typeof r.updateOrCreate.formType=="string"&&(r.updateOrCreate.formType==="create"||r.updateOrCreate.formType==="update")&&typeof r.updateOrCreate.formName!="string"||typeof r.updateOrCreate.formName=="string"&&r.updateOrCreate.formName.length===0){const e={...r,updateOrCreate:{formType:r.updateOrCreate.formType,formName:"post"}};return Bl.setConfigPageBuilder(e),!0}},x3=`@import"https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400;1,500&display=swap";@import"https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap";@import"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Jost,Raleway,Cormorant,sans-serif,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.myPrimaryWidthScreenModule{margin-bottom:0}@media (min-width: 768px){.myPrimaryWidthScreenModule{margin-bottom:0}}.myPrimaryWidthScreenModule{padding-top:4rem;padding-bottom:4rem}@media (min-width: 768px){.myPrimaryWidthScreenModule{padding-top:7rem;padding-bottom:7rem}}.myPrimaryContentSection{margin-left:auto;margin-right:auto;max-width:80rem;padding-left:1rem;padding-right:1rem;padding-bottom:1.5rem}@media (min-width: 768px){.myPrimaryContentSection{padding-left:1rem;padding-right:1rem;padding-bottom:2rem}}@media (min-width: 1024px){.myPrimaryContentSection{padding-bottom:2.5rem}}.myPrimaryTag{margin-top:.5rem;margin-bottom:.5rem;display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;word-break:break-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(222 230 240 / var(--tw-bg-opacity, 1));padding:.5rem .75rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimaryTag:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){.myPrimaryTag{width:auto}}.myPrimaryParagraph{font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 1024px){.myPrimaryParagraph{font-size:1rem;line-height:1.5rem}}.myPrimaryParagraphError{font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 1024px){.myPrimaryParagraphError{font-size:1rem;line-height:1.5rem}}.myPrimaryParagraphError{margin-top:.25rem;font-style:italic;--tw-text-opacity: 1;color:rgb(214 0 0 / var(--tw-text-opacity, 1))}.mySecondaryHeader{margin-bottom:.5rem;overflow-wrap:break-word;font-family:Cormorant;font-size:1.875rem;line-height:2.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.mySecondaryHeader{margin-bottom:1rem;font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){.mySecondaryHeader{margin-bottom:2rem;font-size:3rem;line-height:1}}.myTertiaryHeader{margin-bottom:.5rem;overflow-wrap:break-word;font-size:1.5rem;line-height:2rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.myTertiaryHeader{margin-bottom:1rem;font-size:1.5rem;line-height:2rem}}@media (min-width: 1024px){.myTertiaryHeader{margin-bottom:2rem;font-size:1.875rem;line-height:2.25rem}}.myQuaternaryHeader{margin-bottom:.5rem;overflow-wrap:break-word;font-size:1rem;line-height:1.5rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.myQuaternaryHeader{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.myQuaternaryHeader{margin-bottom:1rem;font-size:1.25rem;line-height:1.75rem}}.myPrimaryLink{cursor:pointer;--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.myPrimaryLink:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.myPrimaryLink:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.myPrimaryButton{display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;white-space:nowrap;word-break:keep-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1));padding:.75rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimaryButton:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.myPrimaryButton:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimaryButton:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}@media (min-width: 640px){.myPrimaryButton{width:auto;font-size:.875rem;line-height:1.25rem}}@media (min-width: 1024px){.myPrimaryButton{padding:.75rem 1rem}}.mySecondaryButton{display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;white-space:nowrap;word-break:keep-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1));padding:.75rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.mySecondaryButton:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.mySecondaryButton:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.mySecondaryButton:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}@media (min-width: 640px){.mySecondaryButton{width:auto;font-size:.875rem;line-height:1.25rem}}@media (min-width: 1024px){.mySecondaryButton{padding:.75rem 1rem}}.mySecondaryButton{--tw-bg-opacity: 1;background-color:rgb(222 230 240 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.mySecondaryButton:hover{background-color:rgb(222 230 240 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .9;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.mySecondaryButton:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 242 246 / var(--tw-ring-opacity, 1))}.myPrimaryDeleteButton{display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;white-space:nowrap;word-break:keep-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1));padding:.75rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimaryDeleteButton:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.myPrimaryDeleteButton:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimaryDeleteButton:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}@media (min-width: 640px){.myPrimaryDeleteButton{width:auto;font-size:.875rem;line-height:1.25rem}}@media (min-width: 1024px){.myPrimaryDeleteButton{padding:.75rem 1rem}}.myPrimaryDeleteButton,.myPrimaryDeleteButton:hover{--tw-bg-opacity: 1;background-color:rgb(214 0 0 / var(--tw-bg-opacity, 1))}.myPrimaryDeleteButton:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(214 0 0 / var(--tw-ring-opacity, 1))}.myMediumIcon{display:flex;height:1.5rem;width:1.5rem;flex-shrink:0;align-items:center;justify-content:center;stroke-width:1.5px}.myPrimaryGap{gap:1rem}.mysearchBarWithOptions{display:flex;gap:.5rem;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(239 242 246 / var(--tw-bg-opacity, 1));padding-left:1rem}.myPrimarySearchInput:focus{border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimarySearchInput{display:block;height:100%;width:100%;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.75rem 2rem .75rem .75rem;text-align:left;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimarySearchInput::-moz-placeholder{font-weight:400;accent-color:#d1d5db}.myPrimarySearchInput::placeholder{font-weight:400;accent-color:#d1d5db}.myPrimarySearchInput:focus{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));outline:2px solid transparent;outline-offset:2px}@media (min-width: 640px){.myPrimarySearchInput{font-size:.875rem;line-height:1.25rem}}.myPrimarySearchInput{height:100%;border-style:none;background-color:transparent;padding-top:1rem;padding-bottom:1rem;padding-left:2.5rem;font-size:.875rem;line-height:1.25rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.myPrimarySearchInput:focus{border-style:none;background-color:transparent;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-offset-width: 0px}.myPrimaryFormOrganizationHeaderDescriptionSection{margin-bottom:1rem}.myPrimaryFormOrganizationHeader{margin-bottom:.5rem;overflow-wrap:break-word;font-size:1rem;line-height:1.5rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.myPrimaryFormOrganizationHeader{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.myPrimaryFormOrganizationHeader{margin-bottom:1rem;font-size:1.25rem;line-height:1.75rem}}.myPrimaryFormOrganizationHeader{margin:0;padding-top:1rem}.myInputGroup{margin-bottom:.5rem;width:100%;align-self:flex-start;padding-left:.5rem;padding-right:.5rem}.myPrimaryInputLabel{margin-top:0;margin-bottom:0;margin-bottom:.5rem;display:block;text-align:left;font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.myPrimaryInput:focus{border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimaryInput{display:block;height:100%;width:100%;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.75rem 2rem .75rem .75rem;text-align:left;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimaryInput::-moz-placeholder{font-weight:400;accent-color:#d1d5db}.myPrimaryInput::placeholder{font-weight:400;accent-color:#d1d5db}.myPrimaryInput:focus{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));outline:2px solid transparent;outline-offset:2px}@media (min-width: 640px){.myPrimaryInput{font-size:.875rem;line-height:1.25rem}}.myPrimaryInputError{font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 1024px){.myPrimaryInputError{font-size:1rem;line-height:1.5rem}}.myPrimaryInputError{margin-top:.25rem;display:block;text-align:left;font-weight:400;--tw-text-opacity: 1;color:rgb(214 0 0 / var(--tw-text-opacity, 1))}.myPrimarySelect:focus{border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimarySelect{display:block;height:100%;width:100%;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.75rem 2rem .75rem .75rem;text-align:left;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimarySelect::-moz-placeholder{font-weight:400;accent-color:#d1d5db}.myPrimarySelect::placeholder{font-weight:400;accent-color:#d1d5db}.myPrimarySelect:focus{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));outline:2px solid transparent;outline-offset:2px}@media (min-width: 640px){.myPrimarySelect{font-size:.875rem;line-height:1.25rem}}.myPrimarySelect{position:relative;width:100%}.myPrimaryColorPreview{aspect-ratio:1 / 1;min-height:1.5rem;cursor:pointer;border-radius:.125rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-1\\/3{top:33.333333%}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.col-span-1{grid-column:span 1 / span 1}.\\!-m-px{margin:-1px!important}.m-0{margin:0}.m-1{margin:.25rem}.m-4{margin:1rem}.-mx-1\\.5{margin-left:-.375rem;margin-right:-.375rem}.-my-1\\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-0{margin-left:0;margin-right:0}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\\.5{margin-left:.375rem;margin-right:.375rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-11{margin-left:2.75rem;margin-right:2.75rem}.mx-12{margin-left:3rem;margin-right:3rem}.mx-14{margin-left:3.5rem;margin-right:3.5rem}.mx-16{margin-left:4rem;margin-right:4rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-2\\.5{margin-left:.625rem;margin-right:.625rem}.mx-20{margin-left:5rem;margin-right:5rem}.mx-24{margin-left:6rem;margin-right:6rem}.mx-28{margin-left:7rem;margin-right:7rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-3\\.5{margin-left:.875rem;margin-right:.875rem}.mx-32{margin-left:8rem;margin-right:8rem}.mx-36{margin-left:9rem;margin-right:9rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-40{margin-left:10rem;margin-right:10rem}.mx-44{margin-left:11rem;margin-right:11rem}.mx-48{margin-left:12rem;margin-right:12rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-52{margin-left:13rem;margin-right:13rem}.mx-56{margin-left:14rem;margin-right:14rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-60{margin-left:15rem;margin-right:15rem}.mx-64{margin-left:16rem;margin-right:16rem}.mx-7{margin-left:1.75rem;margin-right:1.75rem}.mx-72{margin-left:18rem;margin-right:18rem}.mx-8{margin-left:2rem;margin-right:2rem}.mx-80{margin-left:20rem;margin-right:20rem}.mx-9{margin-left:2.25rem;margin-right:2.25rem}.mx-96{margin-left:24rem;margin-right:24rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-0\\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-1\\.5{margin-top:.375rem;margin-bottom:.375rem}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-11{margin-top:2.75rem;margin-bottom:2.75rem}.my-12{margin-top:3rem;margin-bottom:3rem}.my-14{margin-top:3.5rem;margin-bottom:3.5rem}.my-16{margin-top:4rem;margin-bottom:4rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-2\\.5{margin-top:.625rem;margin-bottom:.625rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-24{margin-top:6rem;margin-bottom:6rem}.my-28{margin-top:7rem;margin-bottom:7rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-3\\.5{margin-top:.875rem;margin-bottom:.875rem}.my-32{margin-top:8rem;margin-bottom:8rem}.my-36{margin-top:9rem;margin-bottom:9rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-40{margin-top:10rem;margin-bottom:10rem}.my-44{margin-top:11rem;margin-bottom:11rem}.my-48{margin-top:12rem;margin-bottom:12rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-52{margin-top:13rem;margin-bottom:13rem}.my-56{margin-top:14rem;margin-bottom:14rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-60{margin-top:15rem;margin-bottom:15rem}.my-64{margin-top:16rem;margin-bottom:16rem}.my-7{margin-top:1.75rem;margin-bottom:1.75rem}.my-72{margin-top:18rem;margin-bottom:18rem}.my-8{margin-top:2rem;margin-bottom:2rem}.my-80{margin-top:20rem;margin-bottom:20rem}.my-9{margin-top:2.25rem;margin-bottom:2.25rem}.my-96{margin-top:24rem;margin-bottom:24rem}.-mb-px{margin-bottom:-1px}.-ml-16{margin-left:-4rem}.-mt-2{margin-top:-.5rem}.mb-0{margin-bottom:0}.mb-0\\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-11{margin-bottom:2.75rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-2\\.5{margin-bottom:.625rem}.mb-20{margin-bottom:5rem}.mb-24{margin-bottom:6rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-3\\.5{margin-bottom:.875rem}.mb-32{margin-bottom:8rem}.mb-36{margin-bottom:9rem}.mb-4{margin-bottom:1rem}.mb-40{margin-bottom:10rem}.mb-44{margin-bottom:11rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.mb-52{margin-bottom:13rem}.mb-56{margin-bottom:14rem}.mb-6{margin-bottom:1.5rem}.mb-60{margin-bottom:15rem}.mb-64{margin-bottom:16rem}.mb-7{margin-bottom:1.75rem}.mb-72{margin-bottom:18rem}.mb-8{margin-bottom:2rem}.mb-80{margin-bottom:20rem}.mb-9{margin-bottom:2.25rem}.mb-96{margin-bottom:24rem}.ml-0{margin-left:0}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\\.5{margin-left:.375rem}.ml-10{margin-left:2.5rem}.ml-11{margin-left:2.75rem}.ml-12{margin-left:3rem}.ml-14{margin-left:3.5rem}.ml-16{margin-left:4rem}.ml-2{margin-left:.5rem}.ml-2\\.5{margin-left:.625rem}.ml-20{margin-left:5rem}.ml-24{margin-left:6rem}.ml-28{margin-left:7rem}.ml-3{margin-left:.75rem}.ml-3\\.5{margin-left:.875rem}.ml-32{margin-left:8rem}.ml-36{margin-left:9rem}.ml-4{margin-left:1rem}.ml-40{margin-left:10rem}.ml-44{margin-left:11rem}.ml-48{margin-left:12rem}.ml-5{margin-left:1.25rem}.ml-52{margin-left:13rem}.ml-56{margin-left:14rem}.ml-6{margin-left:1.5rem}.ml-60{margin-left:15rem}.ml-64{margin-left:16rem}.ml-7{margin-left:1.75rem}.ml-72{margin-left:18rem}.ml-8{margin-left:2rem}.ml-80{margin-left:20rem}.ml-9{margin-left:2.25rem}.ml-96{margin-left:24rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\\.5{margin-right:.375rem}.mr-10{margin-right:2.5rem}.mr-11{margin-right:2.75rem}.mr-12{margin-right:3rem}.mr-14{margin-right:3.5rem}.mr-16{margin-right:4rem}.mr-2{margin-right:.5rem}.mr-2\\.5{margin-right:.625rem}.mr-20{margin-right:5rem}.mr-24{margin-right:6rem}.mr-28{margin-right:7rem}.mr-3{margin-right:.75rem}.mr-3\\.5{margin-right:.875rem}.mr-32{margin-right:8rem}.mr-36{margin-right:9rem}.mr-4{margin-right:1rem}.mr-40{margin-right:10rem}.mr-44{margin-right:11rem}.mr-48{margin-right:12rem}.mr-5{margin-right:1.25rem}.mr-52{margin-right:13rem}.mr-56{margin-right:14rem}.mr-6{margin-right:1.5rem}.mr-60{margin-right:15rem}.mr-64{margin-right:16rem}.mr-7{margin-right:1.75rem}.mr-72{margin-right:18rem}.mr-8{margin-right:2rem}.mr-80{margin-right:20rem}.mr-9{margin-right:2.25rem}.mr-96{margin-right:24rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-10{margin-top:2.5rem}.mt-11{margin-top:2.75rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-2\\.5{margin-top:.625rem}.mt-20{margin-top:5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-3\\.5{margin-top:.875rem}.mt-32{margin-top:8rem}.mt-36{margin-top:9rem}.mt-4{margin-top:1rem}.mt-40{margin-top:10rem}.mt-44{margin-top:11rem}.mt-48{margin-top:12rem}.mt-5{margin-top:1.25rem}.mt-52{margin-top:13rem}.mt-56{margin-top:14rem}.mt-6{margin-top:1.5rem}.mt-60{margin-top:15rem}.mt-64{margin-top:16rem}.mt-7{margin-top:1.75rem}.mt-72{margin-top:18rem}.mt-8{margin-top:2rem}.mt-80{margin-top:20rem}.mt-9{margin-top:2.25rem}.mt-96{margin-top:24rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-\\[16\\/9\\]{aspect-ratio:16/9}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.aspect-\\[9\\/16\\]{aspect-ratio:9/16}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-3{width:.75rem;height:.75rem}.\\!h-px{height:1px!important}.h-0\\.5{height:.125rem}.h-1{height:.25rem}.h-1\\.5{height:.375rem}.h-1\\/2{height:50%}.h-1\\/3{height:33.333333%}.h-1\\/4{height:25%}.h-1\\/5{height:20%}.h-1\\/6{height:16.666667%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-2\\/3{height:66.666667%}.h-2\\/4{height:50%}.h-2\\/5{height:40%}.h-2\\/6{height:33.333333%}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-3\\/4{height:75%}.h-3\\/5{height:60%}.h-3\\/6{height:50%}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\\/5{height:80%}.h-4\\/6{height:66.666667%}.h-40{height:10rem}.h-44{height:11rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\\/6{height:83.333333%}.h-52{height:13rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\\[10vh\\]{height:10vh}.h-\\[39rem\\]{height:39rem}.h-\\[75vh\\]{height:75vh}.h-\\[90vh\\]{height:90vh}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-min{height:-moz-min-content;height:min-content}.h-screen{height:100vh}.max-h-0\\.5{max-height:.125rem}.max-h-1{max-height:.25rem}.max-h-1\\.5{max-height:.375rem}.max-h-10{max-height:2.5rem}.max-h-11{max-height:2.75rem}.max-h-12{max-height:3rem}.max-h-14{max-height:3.5rem}.max-h-16{max-height:4rem}.max-h-2{max-height:.5rem}.max-h-2\\.5{max-height:.625rem}.max-h-20{max-height:5rem}.max-h-24{max-height:6rem}.max-h-28{max-height:7rem}.max-h-3{max-height:.75rem}.max-h-3\\.5{max-height:.875rem}.max-h-32{max-height:8rem}.max-h-36{max-height:9rem}.max-h-4{max-height:1rem}.max-h-40{max-height:10rem}.max-h-44{max-height:11rem}.max-h-48{max-height:12rem}.max-h-5{max-height:1.25rem}.max-h-52{max-height:13rem}.max-h-56{max-height:14rem}.max-h-6{max-height:1.5rem}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-7{max-height:1.75rem}.max-h-72{max-height:18rem}.max-h-8{max-height:2rem}.max-h-80{max-height:20rem}.max-h-9{max-height:2.25rem}.max-h-96{max-height:24rem}.max-h-\\[20rem\\]{max-height:20rem}.max-h-\\[33rem\\]{max-height:33rem}.max-h-\\[50rem\\]{max-height:50rem}.max-h-\\[98vh\\]{max-height:98vh}.min-h-0\\.5{min-height:.125rem}.min-h-1{min-height:.25rem}.min-h-1\\.5{min-height:.375rem}.min-h-10{min-height:2.5rem}.min-h-11{min-height:2.75rem}.min-h-12{min-height:3rem}.min-h-14{min-height:3.5rem}.min-h-16{min-height:4rem}.min-h-2{min-height:.5rem}.min-h-2\\.5{min-height:.625rem}.min-h-20{min-height:5rem}.min-h-24{min-height:6rem}.min-h-28{min-height:7rem}.min-h-3{min-height:.75rem}.min-h-3\\.5{min-height:.875rem}.min-h-32{min-height:8rem}.min-h-36{min-height:9rem}.min-h-4{min-height:1rem}.min-h-40{min-height:10rem}.min-h-44{min-height:11rem}.min-h-48{min-height:12rem}.min-h-5{min-height:1.25rem}.min-h-52{min-height:13rem}.min-h-56{min-height:14rem}.min-h-6{min-height:1.5rem}.min-h-60{min-height:15rem}.min-h-64{min-height:16rem}.min-h-7{min-height:1.75rem}.min-h-72{min-height:18rem}.min-h-8{min-height:2rem}.min-h-80{min-height:20rem}.min-h-9{min-height:2.25rem}.min-h-96{min-height:24rem}.min-h-\\[12rem\\]{min-height:12rem}.min-h-\\[2\\.5rem\\]{min-height:2.5rem}.min-h-\\[20rem\\]{min-height:20rem}.min-h-\\[33rem\\]{min-height:33rem}.\\!w-px{width:1px!important}.w-0{width:0px}.w-0\\.5{width:.125rem}.w-1{width:.25rem}.w-1\\.5{width:.375rem}.w-1\\/2{width:50%}.w-1\\/3{width:33.333333%}.w-1\\/4{width:25%}.w-1\\/5{width:20%}.w-1\\/6{width:16.666667%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\\.5{width:.625rem}.w-2\\/3{width:66.666667%}.w-2\\/4{width:50%}.w-2\\/5{width:40%}.w-2\\/6{width:33.333333%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-3\\/12{width:25%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-3\\/6{width:50%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\\/5{width:80%}.w-4\\/6{width:66.666667%}.w-40{width:10rem}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\\/6{width:83.333333%}.w-52{width:13rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-9\\/12{width:75%}.w-96{width:24rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.w-screen{width:100vw}.min-w-0\\.5{min-width:.125rem}.min-w-1{min-width:.25rem}.min-w-1\\.5{min-width:.375rem}.min-w-10{min-width:2.5rem}.min-w-11{min-width:2.75rem}.min-w-12{min-width:3rem}.min-w-14{min-width:3.5rem}.min-w-16{min-width:4rem}.min-w-2{min-width:.5rem}.min-w-2\\.5{min-width:.625rem}.min-w-20{min-width:5rem}.min-w-24{min-width:6rem}.min-w-28{min-width:7rem}.min-w-3{min-width:.75rem}.min-w-3\\.5{min-width:.875rem}.min-w-32{min-width:8rem}.min-w-36{min-width:9rem}.min-w-4{min-width:1rem}.min-w-40{min-width:10rem}.min-w-44{min-width:11rem}.min-w-48{min-width:12rem}.min-w-5{min-width:1.25rem}.min-w-52{min-width:13rem}.min-w-56{min-width:14rem}.min-w-6{min-width:1.5rem}.min-w-60{min-width:15rem}.min-w-64{min-width:16rem}.min-w-7{min-width:1.75rem}.min-w-72{min-width:18rem}.min-w-8{min-width:2rem}.min-w-80{min-width:20rem}.min-w-9{min-width:2.25rem}.min-w-96{min-width:24rem}.min-w-\\[12rem\\]{min-width:12rem}.min-w-\\[3\\.5rem\\]{min-width:3.5rem}.min-w-\\[30rem\\]{min-width:30rem}.min-w-full{min-width:100%}.max-w-0\\.5{max-width:.125rem}.max-w-1{max-width:.25rem}.max-w-1\\.5{max-width:.375rem}.max-w-10{max-width:2.5rem}.max-w-11{max-width:2.75rem}.max-w-12{max-width:3rem}.max-w-14{max-width:3.5rem}.max-w-16{max-width:4rem}.max-w-2{max-width:.5rem}.max-w-2\\.5{max-width:.625rem}.max-w-20{max-width:5rem}.max-w-24{max-width:6rem}.max-w-28{max-width:7rem}.max-w-3{max-width:.75rem}.max-w-3\\.5{max-width:.875rem}.max-w-32{max-width:8rem}.max-w-36{max-width:9rem}.max-w-4{max-width:1rem}.max-w-40{max-width:10rem}.max-w-44{max-width:11rem}.max-w-48{max-width:12rem}.max-w-5{max-width:1.25rem}.max-w-52{max-width:13rem}.max-w-56{max-width:14rem}.max-w-6{max-width:1.5rem}.max-w-60{max-width:15rem}.max-w-64{max-width:16rem}.max-w-7{max-width:1.75rem}.max-w-72{max-width:18rem}.max-w-7xl{max-width:80rem}.max-w-8{max-width:2rem}.max-w-80{max-width:20rem}.max-w-9{max-width:2.25rem}.max-w-96{max-width:24rem}.max-w-\\[96vh\\]{max-width:96vh}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-2{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.auto-cols-\\[minmax\\(100px\\,_1fr\\)\\]{grid-auto-columns:minmax(100px,1fr)}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.auto-cols-max{grid-auto-columns:max-content}.auto-cols-min{grid-auto-columns:min-content}.grid-flow-col{grid-auto-flow:column}.grid-flow-row-dense{grid-auto-flow:row dense}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.grid-cols-\\[minmax\\(10rem\\,1fr\\)\\]{grid-template-columns:minmax(10rem,1fr)}.grid-cols-\\[minmax\\(14rem\\,1fr\\)\\]{grid-template-columns:minmax(14rem,1fr)}.grid-cols-\\[minmax\\(50px\\,100px\\)\\]{grid-template-columns:minmax(50px,100px)}.grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity, 1))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.\\!overflow-hidden{overflow:hidden!important}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\\!whitespace-nowrap{white-space:nowrap!important}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l-2xl{border-top-left-radius:1rem;border-bottom-left-radius:1rem}.rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-2xl{border-bottom-left-radius:1rem}.rounded-bl-3xl{border-bottom-left-radius:1.5rem}.rounded-bl-full{border-bottom-left-radius:9999px}.rounded-bl-lg{border-bottom-left-radius:.5rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-bl-sm{border-bottom-left-radius:.125rem}.rounded-bl-xl{border-bottom-left-radius:.75rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-br-2xl{border-bottom-right-radius:1rem}.rounded-br-3xl{border-bottom-right-radius:1.5rem}.rounded-br-full{border-bottom-right-radius:9999px}.rounded-br-lg{border-bottom-right-radius:.5rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-br-sm{border-bottom-right-radius:.125rem}.rounded-br-xl{border-bottom-right-radius:.75rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-tl-2xl{border-top-left-radius:1rem}.rounded-tl-3xl{border-top-left-radius:1.5rem}.rounded-tl-full{border-top-left-radius:9999px}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tl-sm{border-top-left-radius:.125rem}.rounded-tl-xl{border-top-left-radius:.75rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-tr-2xl{border-top-right-radius:1rem}.rounded-tr-3xl{border-top-right-radius:1.5rem}.rounded-tr-full{border-top-right-radius:9999px}.rounded-tr-lg{border-top-right-radius:.5rem}.rounded-tr-md{border-top-right-radius:.375rem}.rounded-tr-sm{border-top-right-radius:.125rem}.rounded-tr-xl{border-top-right-radius:.75rem}.\\!border-0{border-width:0px!important}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-8{border-width:8px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-dotted{border-style:dotted}.border-double{border-style:double}.border-hidden{border-style:hidden}.border-none{border-style:none}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-amber-400{--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity, 1))}.border-amber-50{--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity, 1))}.border-amber-500{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-amber-600{--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity, 1))}.border-amber-700{--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity, 1))}.border-amber-800{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity, 1))}.border-amber-900{--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity, 1))}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-blue-100{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.border-blue-400{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity, 1))}.border-blue-50{--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity, 1))}.border-blue-800{--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity, 1))}.border-blue-900{--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity, 1))}.border-current{border-color:currentColor}.border-cyan-100{--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity, 1))}.border-cyan-200{--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity, 1))}.border-cyan-300{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity, 1))}.border-cyan-400{--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity, 1))}.border-cyan-50{--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity, 1))}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.border-cyan-600{--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity, 1))}.border-cyan-700{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity, 1))}.border-cyan-800{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity, 1))}.border-cyan-900{--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity, 1))}.border-emerald-100{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity, 1))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity, 1))}.border-emerald-300{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity, 1))}.border-emerald-400{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity, 1))}.border-emerald-50{--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity, 1))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))}.border-emerald-600{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity, 1))}.border-emerald-700{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity, 1))}.border-emerald-800{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity, 1))}.border-emerald-900{--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity, 1))}.border-fuchsia-100{--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity, 1))}.border-fuchsia-200{--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity, 1))}.border-fuchsia-300{--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity, 1))}.border-fuchsia-400{--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity, 1))}.border-fuchsia-50{--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity, 1))}.border-fuchsia-500{--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity, 1))}.border-fuchsia-600{--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity, 1))}.border-fuchsia-700{--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity, 1))}.border-fuchsia-800{--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity, 1))}.border-fuchsia-900{--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.border-gray-50{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity, 1))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity, 1))}.border-green-100{--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity, 1))}.border-green-400{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity, 1))}.border-green-50{--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity, 1))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity, 1))}.border-green-800{--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity, 1))}.border-green-900{--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity, 1))}.border-indigo-100{--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity, 1))}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity, 1))}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity, 1))}.border-indigo-400{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity, 1))}.border-indigo-50{--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity, 1))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity, 1))}.border-indigo-700{--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity, 1))}.border-indigo-800{--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity, 1))}.border-indigo-900{--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity, 1))}.border-lime-100{--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity, 1))}.border-lime-200{--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity, 1))}.border-lime-300{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity, 1))}.border-lime-400{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity, 1))}.border-lime-50{--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity, 1))}.border-lime-500{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity, 1))}.border-lime-600{--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity, 1))}.border-lime-700{--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity, 1))}.border-lime-800{--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity, 1))}.border-lime-900{--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity, 1))}.border-myPrimaryLightGrayColor{--tw-border-opacity: 1;border-color:rgb(239 242 246 / var(--tw-border-opacity, 1))}.border-myPrimaryMediumGrayColor{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.border-neutral-100{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity, 1))}.border-neutral-200{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity, 1))}.border-neutral-300{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity, 1))}.border-neutral-400{--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity, 1))}.border-neutral-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity, 1))}.border-neutral-500{--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity, 1))}.border-neutral-600{--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity, 1))}.border-neutral-700{--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity, 1))}.border-neutral-800{--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity, 1))}.border-neutral-900{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity, 1))}.border-orange-100{--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity, 1))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity, 1))}.border-orange-300{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity, 1))}.border-orange-400{--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity, 1))}.border-orange-50{--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity, 1))}.border-orange-500{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity, 1))}.border-orange-600{--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity, 1))}.border-orange-700{--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity, 1))}.border-orange-800{--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity, 1))}.border-orange-900{--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity, 1))}.border-pink-100{--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity, 1))}.border-pink-200{--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity, 1))}.border-pink-300{--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity, 1))}.border-pink-400{--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity, 1))}.border-pink-50{--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity, 1))}.border-pink-500{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity, 1))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity, 1))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity, 1))}.border-pink-800{--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity, 1))}.border-pink-900{--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity, 1))}.border-purple-100{--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity, 1))}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.border-purple-300{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity, 1))}.border-purple-400{--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity, 1))}.border-purple-50{--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity, 1))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity, 1))}.border-purple-800{--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity, 1))}.border-purple-900{--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity, 1))}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity, 1))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity, 1))}.border-red-50{--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity, 1))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity, 1))}.border-red-800{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity, 1))}.border-red-900{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity, 1))}.border-rose-100{--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity, 1))}.border-rose-200{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity, 1))}.border-rose-300{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity, 1))}.border-rose-400{--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity, 1))}.border-rose-50{--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity, 1))}.border-rose-500{--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity, 1))}.border-rose-600{--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity, 1))}.border-rose-700{--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity, 1))}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity, 1))}.border-rose-900{--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity, 1))}.border-sky-100{--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity, 1))}.border-sky-200{--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity, 1))}.border-sky-300{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity, 1))}.border-sky-400{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity, 1))}.border-sky-50{--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity, 1))}.border-sky-500{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity, 1))}.border-sky-600{--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity, 1))}.border-sky-700{--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity, 1))}.border-sky-800{--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity, 1))}.border-sky-900{--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity, 1))}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity, 1))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.border-slate-400{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity, 1))}.border-slate-50{--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity, 1))}.border-slate-500{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity, 1))}.border-slate-600{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity, 1))}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1))}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity, 1))}.border-slate-900{--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity, 1))}.border-stone-100{--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity, 1))}.border-stone-200{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1))}.border-stone-300{--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity, 1))}.border-stone-400{--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity, 1))}.border-stone-50{--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity, 1))}.border-stone-500{--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity, 1))}.border-stone-600{--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity, 1))}.border-stone-700{--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity, 1))}.border-stone-800{--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity, 1))}.border-stone-900{--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity, 1))}.border-teal-100{--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity, 1))}.border-teal-200{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity, 1))}.border-teal-300{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity, 1))}.border-teal-400{--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity, 1))}.border-teal-50{--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity, 1))}.border-teal-500{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity, 1))}.border-teal-600{--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity, 1))}.border-teal-700{--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity, 1))}.border-teal-800{--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity, 1))}.border-teal-900{--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-violet-100{--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity, 1))}.border-violet-200{--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity, 1))}.border-violet-300{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity, 1))}.border-violet-400{--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity, 1))}.border-violet-50{--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity, 1))}.border-violet-500{--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity, 1))}.border-violet-600{--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity, 1))}.border-violet-700{--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity, 1))}.border-violet-800{--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity, 1))}.border-violet-900{--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.border-yellow-100{--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity, 1))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity, 1))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity, 1))}.border-yellow-50{--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity, 1))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity, 1))}.border-yellow-600{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity, 1))}.border-yellow-700{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity, 1))}.border-yellow-800{--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity, 1))}.border-yellow-900{--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity, 1))}.border-zinc-100{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity, 1))}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity, 1))}.border-zinc-300{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity, 1))}.border-zinc-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity, 1))}.border-zinc-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity, 1))}.border-zinc-500{--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity, 1))}.border-zinc-600{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity, 1))}.border-zinc-700{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity, 1))}.border-zinc-800{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity, 1))}.border-zinc-900{--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity, 1))}.border-r-transparent{border-right-color:transparent}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity, 1))}.bg-amber-300{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity, 1))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.bg-amber-700{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity, 1))}.bg-amber-800{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity, 1))}.bg-amber-900{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\\/0{background-color:#0000}.bg-black\\/50{background-color:#00000080}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity, 1))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity, 1))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity, 1))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity, 1))}.bg-cyan-100{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity, 1))}.bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity, 1))}.bg-cyan-300{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity, 1))}.bg-cyan-400{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity, 1))}.bg-cyan-50{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity, 1))}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity, 1))}.bg-cyan-700{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity, 1))}.bg-cyan-800{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity, 1))}.bg-cyan-900{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity, 1))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))}.bg-emerald-200{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity, 1))}.bg-emerald-300{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity, 1))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-emerald-700{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.bg-emerald-800{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity, 1))}.bg-emerald-900{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity, 1))}.bg-fuchsia-100{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity, 1))}.bg-fuchsia-200{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity, 1))}.bg-fuchsia-300{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity, 1))}.bg-fuchsia-400{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity, 1))}.bg-fuchsia-50{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity, 1))}.bg-fuchsia-500{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity, 1))}.bg-fuchsia-600{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity, 1))}.bg-fuchsia-700{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity, 1))}.bg-fuchsia-800{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity, 1))}.bg-fuchsia-900{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-800\\/40{background-color:#1f293766}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-gray-950{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity, 1))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.bg-green-800{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity, 1))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity, 1))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity, 1))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity, 1))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity, 1))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity, 1))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity, 1))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-indigo-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity, 1))}.bg-indigo-800{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity, 1))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity, 1))}.bg-lime-100{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity, 1))}.bg-lime-200{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity, 1))}.bg-lime-300{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity, 1))}.bg-lime-400{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity, 1))}.bg-lime-50{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity, 1))}.bg-lime-500{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity, 1))}.bg-lime-600{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity, 1))}.bg-lime-700{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity, 1))}.bg-lime-800{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity, 1))}.bg-lime-900{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity, 1))}.bg-myPrimaryBrandColor{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-myPrimaryErrorColor{--tw-bg-opacity: 1;background-color:rgb(214 0 0 / var(--tw-bg-opacity, 1))}.bg-myPrimaryLightGrayColor{--tw-bg-opacity: 1;background-color:rgb(239 242 246 / var(--tw-bg-opacity, 1))}.bg-myPrimaryLinkColor{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-neutral-100{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.bg-neutral-200{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity, 1))}.bg-neutral-300{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity, 1))}.bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity, 1))}.bg-neutral-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))}.bg-neutral-500{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity, 1))}.bg-neutral-600{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity, 1))}.bg-neutral-700{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity, 1))}.bg-neutral-800{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity, 1))}.bg-neutral-900{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity, 1))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.bg-orange-200{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity, 1))}.bg-orange-300{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity, 1))}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity, 1))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity, 1))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))}.bg-orange-600{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity, 1))}.bg-orange-700{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity, 1))}.bg-orange-800{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity, 1))}.bg-orange-900{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity, 1))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity, 1))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity, 1))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity, 1))}.bg-pink-400{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity, 1))}.bg-pink-50{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity, 1))}.bg-pink-500{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity, 1))}.bg-pink-600{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity, 1))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity, 1))}.bg-pink-800{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity, 1))}.bg-pink-900{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity, 1))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity, 1))}.bg-purple-400{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity, 1))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity, 1))}.bg-purple-800{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity, 1))}.bg-purple-900{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity, 1))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.bg-red-800{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity, 1))}.bg-red-900{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity, 1))}.bg-rose-100{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity, 1))}.bg-rose-200{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity, 1))}.bg-rose-300{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity, 1))}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity, 1))}.bg-rose-50{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1))}.bg-rose-500{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity, 1))}.bg-rose-600{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity, 1))}.bg-rose-700{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity, 1))}.bg-rose-800{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity, 1))}.bg-rose-900{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity, 1))}.bg-sky-100{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity, 1))}.bg-sky-200{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity, 1))}.bg-sky-300{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity, 1))}.bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity, 1))}.bg-sky-50{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity, 1))}.bg-sky-500{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity, 1))}.bg-sky-600{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity, 1))}.bg-sky-700{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity, 1))}.bg-sky-800{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity, 1))}.bg-sky-900{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.bg-slate-400{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity, 1))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.bg-slate-500{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity, 1))}.bg-slate-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity, 1))}.bg-slate-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity, 1))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1))}.bg-stone-100{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1))}.bg-stone-200{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity, 1))}.bg-stone-300{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity, 1))}.bg-stone-400{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity, 1))}.bg-stone-50{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))}.bg-stone-500{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity, 1))}.bg-stone-600{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity, 1))}.bg-stone-700{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity, 1))}.bg-stone-800{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity, 1))}.bg-stone-900{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity, 1))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity, 1))}.bg-teal-200{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity, 1))}.bg-teal-300{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity, 1))}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity, 1))}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity, 1))}.bg-teal-500{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity, 1))}.bg-teal-600{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity, 1))}.bg-teal-700{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity, 1))}.bg-teal-800{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity, 1))}.bg-teal-900{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity, 1))}.bg-violet-100{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity, 1))}.bg-violet-200{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity, 1))}.bg-violet-300{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity, 1))}.bg-violet-400{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity, 1))}.bg-violet-50{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity, 1))}.bg-violet-500{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity, 1))}.bg-violet-600{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity, 1))}.bg-violet-700{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity, 1))}.bg-violet-800{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity, 1))}.bg-violet-900{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity, 1))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity, 1))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity, 1))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity, 1))}.bg-yellow-700{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity, 1))}.bg-yellow-800{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity, 1))}.bg-yellow-900{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity, 1))}.bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity, 1))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity, 1))}.bg-zinc-300{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity, 1))}.bg-zinc-400{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity, 1))}.bg-zinc-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))}.bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity, 1))}.bg-zinc-600{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity, 1))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity, 1))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))}.bg-opacity-0{--tw-bg-opacity: 0}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-100{--tw-bg-opacity: 1}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-30{--tw-bg-opacity: .3}.bg-opacity-40{--tw-bg-opacity: .4}.bg-opacity-5{--tw-bg-opacity: .05}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-75{--tw-bg-opacity: .75}.bg-opacity-80{--tw-bg-opacity: .8}.bg-opacity-90{--tw-bg-opacity: .9}.bg-opacity-95{--tw-bg-opacity: .95}.fill-gray-800{fill:#1f2937}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.object-left{-o-object-position:left;object-position:left}.object-right{-o-object-position:right;object-position:right}.object-top{-o-object-position:top;object-position:top}.\\!p-0{padding:0!important}.p-0{padding:0}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-0{padding-left:0;padding-right:0}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-11{padding-left:2.75rem;padding-right:2.75rem}.px-12{padding-left:3rem;padding-right:3rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-16{padding-left:4rem;padding-right:4rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-20{padding-left:5rem;padding-right:5rem}.px-24{padding-left:6rem;padding-right:6rem}.px-28{padding-left:7rem;padding-right:7rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-32{padding-left:8rem;padding-right:8rem}.px-36{padding-left:9rem;padding-right:9rem}.px-4{padding-left:1rem;padding-right:1rem}.px-40{padding-left:10rem;padding-right:10rem}.px-44{padding-left:11rem;padding-right:11rem}.px-48{padding-left:12rem;padding-right:12rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-52{padding-left:13rem;padding-right:13rem}.px-56{padding-left:14rem;padding-right:14rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-60{padding-left:15rem;padding-right:15rem}.px-64{padding-left:16rem;padding-right:16rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-72{padding-left:18rem;padding-right:18rem}.px-8{padding-left:2rem;padding-right:2rem}.px-80{padding-left:20rem;padding-right:20rem}.px-9{padding-left:2.25rem;padding-right:2.25rem}.px-96{padding-left:24rem;padding-right:24rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-11{padding-top:2.75rem;padding-bottom:2.75rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-32{padding-top:8rem;padding-bottom:8rem}.py-36{padding-top:9rem;padding-bottom:9rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-40{padding-top:10rem;padding-bottom:10rem}.py-44{padding-top:11rem;padding-bottom:11rem}.py-48{padding-top:12rem;padding-bottom:12rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-52{padding-top:13rem;padding-bottom:13rem}.py-56{padding-top:14rem;padding-bottom:14rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-60{padding-top:15rem;padding-bottom:15rem}.py-64{padding-top:16rem;padding-bottom:16rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.py-72{padding-top:18rem;padding-bottom:18rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-80{padding-top:20rem;padding-bottom:20rem}.py-9{padding-top:2.25rem;padding-bottom:2.25rem}.py-96{padding-top:24rem;padding-bottom:24rem}.pb-0{padding-bottom:0}.pb-0\\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-1\\.5{padding-bottom:.375rem}.pb-10{padding-bottom:2.5rem}.pb-11{padding-bottom:2.75rem}.pb-12{padding-bottom:3rem}.pb-14{padding-bottom:3.5rem}.pb-16{padding-bottom:4rem}.pb-2{padding-bottom:.5rem}.pb-2\\.5{padding-bottom:.625rem}.pb-20{padding-bottom:5rem}.pb-24{padding-bottom:6rem}.pb-28{padding-bottom:7rem}.pb-3{padding-bottom:.75rem}.pb-3\\.5{padding-bottom:.875rem}.pb-32{padding-bottom:8rem}.pb-36{padding-bottom:9rem}.pb-4{padding-bottom:1rem}.pb-40{padding-bottom:10rem}.pb-44{padding-bottom:11rem}.pb-48{padding-bottom:12rem}.pb-5{padding-bottom:1.25rem}.pb-52{padding-bottom:13rem}.pb-56{padding-bottom:14rem}.pb-6{padding-bottom:1.5rem}.pb-60{padding-bottom:15rem}.pb-64{padding-bottom:16rem}.pb-7{padding-bottom:1.75rem}.pb-72{padding-bottom:18rem}.pb-8{padding-bottom:2rem}.pb-80{padding-bottom:20rem}.pb-9{padding-bottom:2.25rem}.pb-96{padding-bottom:24rem}.pl-0{padding-left:0}.pl-0\\.5{padding-left:.125rem}.pl-1{padding-left:.25rem}.pl-1\\.5{padding-left:.375rem}.pl-10{padding-left:2.5rem}.pl-11{padding-left:2.75rem}.pl-12{padding-left:3rem}.pl-14{padding-left:3.5rem}.pl-16{padding-left:4rem}.pl-2{padding-left:.5rem}.pl-2\\.5{padding-left:.625rem}.pl-20{padding-left:5rem}.pl-24{padding-left:6rem}.pl-28{padding-left:7rem}.pl-3{padding-left:.75rem}.pl-3\\.5{padding-left:.875rem}.pl-32{padding-left:8rem}.pl-36{padding-left:9rem}.pl-4{padding-left:1rem}.pl-40{padding-left:10rem}.pl-44{padding-left:11rem}.pl-48{padding-left:12rem}.pl-5{padding-left:1.25rem}.pl-52{padding-left:13rem}.pl-56{padding-left:14rem}.pl-6{padding-left:1.5rem}.pl-60{padding-left:15rem}.pl-64{padding-left:16rem}.pl-7{padding-left:1.75rem}.pl-72{padding-left:18rem}.pl-8{padding-left:2rem}.pl-80{padding-left:20rem}.pl-9{padding-left:2.25rem}.pl-96{padding-left:24rem}.pr-0{padding-right:0}.pr-0\\.5{padding-right:.125rem}.pr-1{padding-right:.25rem}.pr-1\\.5{padding-right:.375rem}.pr-10{padding-right:2.5rem}.pr-11{padding-right:2.75rem}.pr-12{padding-right:3rem}.pr-14{padding-right:3.5rem}.pr-16{padding-right:4rem}.pr-2{padding-right:.5rem}.pr-2\\.5{padding-right:.625rem}.pr-20{padding-right:5rem}.pr-24{padding-right:6rem}.pr-28{padding-right:7rem}.pr-3{padding-right:.75rem}.pr-3\\.5{padding-right:.875rem}.pr-32{padding-right:8rem}.pr-36{padding-right:9rem}.pr-4{padding-right:1rem}.pr-40{padding-right:10rem}.pr-44{padding-right:11rem}.pr-48{padding-right:12rem}.pr-5{padding-right:1.25rem}.pr-52{padding-right:13rem}.pr-56{padding-right:14rem}.pr-6{padding-right:1.5rem}.pr-60{padding-right:15rem}.pr-64{padding-right:16rem}.pr-7{padding-right:1.75rem}.pr-72{padding-right:18rem}.pr-8{padding-right:2rem}.pr-80{padding-right:20rem}.pr-9{padding-right:2.25rem}.pr-96{padding-right:24rem}.pt-0{padding-top:0}.pt-0\\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-10{padding-top:2.5rem}.pt-11{padding-top:2.75rem}.pt-12{padding-top:3rem}.pt-14{padding-top:3.5rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-20{padding-top:5rem}.pt-24{padding-top:6rem}.pt-28{padding-top:7rem}.pt-3{padding-top:.75rem}.pt-3\\.5{padding-top:.875rem}.pt-32{padding-top:8rem}.pt-36{padding-top:9rem}.pt-4{padding-top:1rem}.pt-40{padding-top:10rem}.pt-44{padding-top:11rem}.pt-48{padding-top:12rem}.pt-5{padding-top:1.25rem}.pt-52{padding-top:13rem}.pt-56{padding-top:14rem}.pt-6{padding-top:1.5rem}.pt-60{padding-top:15rem}.pt-64{padding-top:16rem}.pt-7{padding-top:1.75rem}.pt-72{padding-top:18rem}.pt-8{padding-top:2rem}.pt-80{padding-top:20rem}.pt-9{padding-top:2.25rem}.pt-96{padding-top:24rem}.text-left{text-align:left}.text-center{text-align:center}.align-bottom{vertical-align:bottom}.align-\\[-0\\.125em\\]{vertical-align:-.125em}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:Jost,Raleway,Cormorant,sans-serif,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.font-serif{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-7xl{font-size:4.5rem;line-height:1}.text-8xl{font-size:6rem;line-height:1}.text-9xl{font-size:8rem;line-height:1}.text-\\[12\\.5px\\]{font-size:12.5px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-extralight{font-weight:200}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.italic{font-style:italic}.leading-none{line-height:1}.tracking-wider{letter-spacing:.05em}.text-amber-100{--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity, 1))}.text-amber-200{--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity, 1))}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.text-amber-50{--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity, 1))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity, 1))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity, 1))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity, 1))}.text-cyan-100{--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity, 1))}.text-cyan-200{--tw-text-opacity: 1;color:rgb(165 243 252 / var(--tw-text-opacity, 1))}.text-cyan-300{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-50{--tw-text-opacity: 1;color:rgb(236 254 255 / var(--tw-text-opacity, 1))}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity, 1))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity, 1))}.text-cyan-700{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity, 1))}.text-cyan-800{--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity, 1))}.text-cyan-900{--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity, 1))}.text-emerald-100{--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity, 1))}.text-emerald-200{--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity, 1))}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity, 1))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.text-emerald-50{--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity, 1))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity, 1))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.text-emerald-900{--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity, 1))}.text-fuchsia-100{--tw-text-opacity: 1;color:rgb(250 232 255 / var(--tw-text-opacity, 1))}.text-fuchsia-200{--tw-text-opacity: 1;color:rgb(245 208 254 / var(--tw-text-opacity, 1))}.text-fuchsia-300{--tw-text-opacity: 1;color:rgb(240 171 252 / var(--tw-text-opacity, 1))}.text-fuchsia-400{--tw-text-opacity: 1;color:rgb(232 121 249 / var(--tw-text-opacity, 1))}.text-fuchsia-50{--tw-text-opacity: 1;color:rgb(253 244 255 / var(--tw-text-opacity, 1))}.text-fuchsia-500{--tw-text-opacity: 1;color:rgb(217 70 239 / var(--tw-text-opacity, 1))}.text-fuchsia-600{--tw-text-opacity: 1;color:rgb(192 38 211 / var(--tw-text-opacity, 1))}.text-fuchsia-700{--tw-text-opacity: 1;color:rgb(162 28 175 / var(--tw-text-opacity, 1))}.text-fuchsia-800{--tw-text-opacity: 1;color:rgb(134 25 143 / var(--tw-text-opacity, 1))}.text-fuchsia-900{--tw-text-opacity: 1;color:rgb(112 26 117 / var(--tw-text-opacity, 1))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-100{--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity, 1))}.text-green-200{--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity, 1))}.text-green-300{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-green-50{--tw-text-opacity: 1;color:rgb(240 253 244 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-green-900{--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity, 1))}.text-indigo-100{--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity, 1))}.text-indigo-200{--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity, 1))}.text-indigo-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-indigo-50{--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity, 1))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity, 1))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity, 1))}.text-lime-100{--tw-text-opacity: 1;color:rgb(236 252 203 / var(--tw-text-opacity, 1))}.text-lime-200{--tw-text-opacity: 1;color:rgb(217 249 157 / var(--tw-text-opacity, 1))}.text-lime-300{--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity, 1))}.text-lime-400{--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity, 1))}.text-lime-50{--tw-text-opacity: 1;color:rgb(247 254 231 / var(--tw-text-opacity, 1))}.text-lime-500{--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity, 1))}.text-lime-600{--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity, 1))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity, 1))}.text-lime-800{--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity, 1))}.text-lime-900{--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity, 1))}.text-myPrimaryDarkGrayColor{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-myPrimaryErrorColor{--tw-text-opacity: 1;color:rgb(214 0 0 / var(--tw-text-opacity, 1))}.text-myPrimaryLinkColor{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-myPrimaryMediumGrayColor{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-myPrimarySuccesColor{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-neutral-100{--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity, 1))}.text-neutral-200{--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity, 1))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity, 1))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity, 1))}.text-neutral-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity, 1))}.text-neutral-600{--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity, 1))}.text-neutral-700{--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity, 1))}.text-neutral-800{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity, 1))}.text-neutral-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}.text-orange-100{--tw-text-opacity: 1;color:rgb(255 237 213 / var(--tw-text-opacity, 1))}.text-orange-200{--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity, 1))}.text-orange-300{--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity, 1))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity, 1))}.text-orange-50{--tw-text-opacity: 1;color:rgb(255 247 237 / var(--tw-text-opacity, 1))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity, 1))}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-orange-800{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity, 1))}.text-orange-900{--tw-text-opacity: 1;color:rgb(124 45 18 / var(--tw-text-opacity, 1))}.text-pink-100{--tw-text-opacity: 1;color:rgb(252 231 243 / var(--tw-text-opacity, 1))}.text-pink-200{--tw-text-opacity: 1;color:rgb(251 207 232 / var(--tw-text-opacity, 1))}.text-pink-300{--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity, 1))}.text-pink-400{--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity, 1))}.text-pink-50{--tw-text-opacity: 1;color:rgb(253 242 248 / var(--tw-text-opacity, 1))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity, 1))}.text-pink-600{--tw-text-opacity: 1;color:rgb(219 39 119 / var(--tw-text-opacity, 1))}.text-pink-700{--tw-text-opacity: 1;color:rgb(190 24 93 / var(--tw-text-opacity, 1))}.text-pink-800{--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity, 1))}.text-pink-900{--tw-text-opacity: 1;color:rgb(131 24 67 / var(--tw-text-opacity, 1))}.text-purple-100{--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity, 1))}.text-purple-200{--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity, 1))}.text-purple-300{--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-purple-50{--tw-text-opacity: 1;color:rgb(250 245 255 / var(--tw-text-opacity, 1))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-purple-800{--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity, 1))}.text-purple-900{--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity, 1))}.text-red-100{--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity, 1))}.text-red-200{--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-50{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity, 1))}.text-rose-100{--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity, 1))}.text-rose-200{--tw-text-opacity: 1;color:rgb(254 205 211 / var(--tw-text-opacity, 1))}.text-rose-300{--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity, 1))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.text-rose-50{--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity, 1))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity, 1))}.text-rose-600{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.text-rose-700{--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.text-rose-800{--tw-text-opacity: 1;color:rgb(159 18 57 / var(--tw-text-opacity, 1))}.text-rose-900{--tw-text-opacity: 1;color:rgb(136 19 55 / var(--tw-text-opacity, 1))}.text-sky-100{--tw-text-opacity: 1;color:rgb(224 242 254 / var(--tw-text-opacity, 1))}.text-sky-200{--tw-text-opacity: 1;color:rgb(186 230 253 / var(--tw-text-opacity, 1))}.text-sky-300{--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity, 1))}.text-sky-400{--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity, 1))}.text-sky-50{--tw-text-opacity: 1;color:rgb(240 249 255 / var(--tw-text-opacity, 1))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity, 1))}.text-sky-600{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity, 1))}.text-sky-700{--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity, 1))}.text-sky-800{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity, 1))}.text-sky-900{--tw-text-opacity: 1;color:rgb(12 74 110 / var(--tw-text-opacity, 1))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-stone-100{--tw-text-opacity: 1;color:rgb(245 245 244 / var(--tw-text-opacity, 1))}.text-stone-200{--tw-text-opacity: 1;color:rgb(231 229 228 / var(--tw-text-opacity, 1))}.text-stone-300{--tw-text-opacity: 1;color:rgb(214 211 209 / var(--tw-text-opacity, 1))}.text-stone-400{--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity, 1))}.text-stone-50{--tw-text-opacity: 1;color:rgb(250 250 249 / var(--tw-text-opacity, 1))}.text-stone-500{--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity, 1))}.text-stone-600{--tw-text-opacity: 1;color:rgb(87 83 78 / var(--tw-text-opacity, 1))}.text-stone-700{--tw-text-opacity: 1;color:rgb(68 64 60 / var(--tw-text-opacity, 1))}.text-stone-800{--tw-text-opacity: 1;color:rgb(41 37 36 / var(--tw-text-opacity, 1))}.text-stone-900{--tw-text-opacity: 1;color:rgb(28 25 23 / var(--tw-text-opacity, 1))}.text-teal-100{--tw-text-opacity: 1;color:rgb(204 251 241 / var(--tw-text-opacity, 1))}.text-teal-200{--tw-text-opacity: 1;color:rgb(153 246 228 / var(--tw-text-opacity, 1))}.text-teal-300{--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity, 1))}.text-teal-400{--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity, 1))}.text-teal-50{--tw-text-opacity: 1;color:rgb(240 253 250 / var(--tw-text-opacity, 1))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity, 1))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity, 1))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity, 1))}.text-teal-800{--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity, 1))}.text-teal-900{--tw-text-opacity: 1;color:rgb(19 78 74 / var(--tw-text-opacity, 1))}.text-violet-100{--tw-text-opacity: 1;color:rgb(237 233 254 / var(--tw-text-opacity, 1))}.text-violet-200{--tw-text-opacity: 1;color:rgb(221 214 254 / var(--tw-text-opacity, 1))}.text-violet-300{--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity, 1))}.text-violet-400{--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity, 1))}.text-violet-50{--tw-text-opacity: 1;color:rgb(245 243 255 / var(--tw-text-opacity, 1))}.text-violet-500{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity, 1))}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity, 1))}.text-violet-700{--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity, 1))}.text-violet-800{--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity, 1))}.text-violet-900{--tw-text-opacity: 1;color:rgb(76 29 149 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-100{--tw-text-opacity: 1;color:rgb(254 249 195 / var(--tw-text-opacity, 1))}.text-yellow-200{--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity, 1))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.text-yellow-50{--tw-text-opacity: 1;color:rgb(254 252 232 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity, 1))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity, 1))}.text-zinc-100{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity, 1))}.text-zinc-200{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity, 1))}.text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity, 1))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.text-zinc-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}.text-zinc-600{--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity, 1))}.text-zinc-700{--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity, 1))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity, 1))}.text-zinc-900{--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-5{opacity:.05}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-2{outline-width:2px}.outline-offset-8{outline-offset:8px}.outline-yellow-400{outline-color:#facc15}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1))}.ring-white\\/5{--tw-ring-color: rgb(255 255 255 / .05)}.ring-opacity-5{--tw-ring-opacity: .05}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\\!\\[clip\\:rect\\(0\\,0\\,0\\,0\\)\\]{clip:rect(0,0,0,0)!important}.ql-toolbar.ql-snow{border-top-right-radius:10px;border-top-left-radius:10px}.ql-editor{min-height:200px}.table-enter-active,.table-leave-active{transition:opacity .3s ease}.table-enter-from,.table-leave-to{opacity:0}.tags-enter-from{opacity:.6;transform:translate(10px)}.tags-enter-active{transition:all .2s ease}.tags-leave-to{opacity:.1;transform:translate(5px)}.tags-leave-active{transition:all .1s ease;position:absolute}.tags-move{transition:all .1s ease}*{scrollbar-width:thin;scrollbar-color:black transparent}*::-webkit-scrollbar-track{background:transparent;border-radius:25px}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-thumb{background-color:#000;border-radius:25px;border:none}.scrollable{overflow-x:auto;overflow-y:auto}.tailwind-pagination-package{box-shadow:none!important;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px 0px;justify-content:center}.tailwind-pagination-package>:first-child,.tailwind-pagination-package>:last-child{border-radius:100%}.smooth-transition{transition:opacity .3s ease-in-out}p{font-size:1rem;line-height:1.5rem;font-weight:400}@media (min-width: 1024px){p{font-size:1rem;line-height:1.5rem}}a{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}h2{margin-top:1rem;margin-bottom:.75rem;font-size:1.875rem;line-height:2.25rem;font-weight:500}h3{margin-top:1rem;margin-bottom:.75rem;font-size:1.5rem;line-height:2rem;font-weight:500}#page-builder-editor-editable-area a{pointer-events:none}#page-builder-editor .tiptap{background:#fff;min-height:25rem}#page-builder-editor-editable-area #youtube-video:before{content:"Select Video Element";font-family:Jost;background:#16a34a!important;color:#fff;text-decoration:none;margin-right:8px;vertical-align:middle;min-height:3rem;padding:.75rem;white-space:nowrap;word-break:keep-all;font-weight:500;display:inline-flex;gap:.25rem;align-items:center;justify-content:center;border-radius:9999px;border:1px solid transparent;margin-bottom:20px;font-size:.8rem!important}@media (min-width: 640px){#page-builder-editor-editable-area #youtube-video:before{font-size:.9rem!important;width:auto}}#page-builder-editor-editable-area #youtube-video:hover:before{text-decoration:none;cursor:pointer}#page-builder-editor a,#page-builder-editor-editable-area a{text-decoration:underline}#page-builder-editor #linktree p,#page-builder-editor-editable-area #linktree p{width:100%}#page-builder-editor #linktree a,#page-builder-editor-editable-area #linktree a{display:block;padding:1rem .5rem;text-decoration:none;font-weight:500;color:inherit!important;width:100%;cursor:pointer}#page-builder-editor strong,#page-builder-editor-editable-area strong{font-weight:500}#page-builder-editor ol,#page-builder-editor-editable-area ol,#page-builder-editor ul,#page-builder-editor-editable-area ul{list-style:disc!important;padding:1rem 0rem}#page-builder-editor li,#page-builder-editor-editable-area li{line-height:2.2rem;margin-left:1.5em}:root{--dp-border-radius: 40px;--dp-cell-border-radius: 4px;--dp-common-transition: all .1s ease-in}.dp__action_row{display:flex!important;align-items:center!important;justify-content:center;margin:0 0 10px}.dp__today{background:transparent!important;border:2px solid #ff5252!important;color:#ff5252!important;border-radius:100%!important}.dp__active_date{background:#ff5252!important;border:#ff5252!important;color:#fff!important;border-radius:100%!important}.dp__date_hover:hover{background:#f1f1f1!important;border:#f1f1f1!important;color:#000!important;border-radius:100%!important}.dp__action_button{background:#ff5252!important;border:#000!important;color:#fff!important;border-radius:8px!important;padding:1rem!important;font-weight:500}.dp__overlay_cell_active{background:#ff5252!important;border:#000!important;color:#fff!important}@media (min-width: 640px){.sm\\:prose-sm{font-size:.875rem;line-height:1.7142857}.sm\\:prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.sm\\:prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.sm\\:prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.sm\\:prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.sm\\:prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.sm\\:prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.sm\\:prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.sm\\:prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.sm\\:prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.sm\\:prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.sm\\:prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.sm\\:prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.sm\\:prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.sm\\:prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.sm\\:prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.sm\\:prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.sm\\:prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.sm\\:prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.sm\\:prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.sm\\:prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.sm\\:prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.sm\\:prose-sm :where(.sm\\:prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.sm\\:prose-sm :where(.sm\\:prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.sm\\:prose-sm :where(.sm\\:prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.sm\\:prose-sm :where(.sm\\:prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.sm\\:prose-sm :where(.sm\\:prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.sm\\:prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.sm\\:prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.sm\\:prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.sm\\:prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.sm\\:prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.sm\\:prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.sm\\:prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.sm\\:prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.sm\\:prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.sm\\:prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.sm\\:prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.sm\\:prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.sm\\:prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.sm\\:prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.sm\\:prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.sm\\:prose-sm :where(.sm\\:prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(.sm\\:prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}@media (min-width: 1024px){.lg\\:prose-sm{font-size:.875rem;line-height:1.7142857}.lg\\:prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.lg\\:prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.lg\\:prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.lg\\:prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.lg\\:prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.lg\\:prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.lg\\:prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.lg\\:prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.lg\\:prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.lg\\:prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\\:prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.lg\\:prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.lg\\:prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.lg\\:prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.lg\\:prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.lg\\:prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.lg\\:prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.lg\\:prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.lg\\:prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.lg\\:prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.lg\\:prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.lg\\:prose-sm :where(.lg\\:prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.lg\\:prose-sm :where(.lg\\:prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.lg\\:prose-sm :where(.lg\\:prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.lg\\:prose-sm :where(.lg\\:prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.lg\\:prose-sm :where(.lg\\:prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.lg\\:prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.lg\\:prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.lg\\:prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.lg\\:prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.lg\\:prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.lg\\:prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.lg\\:prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.lg\\:prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.lg\\:prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.lg\\:prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.lg\\:prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.lg\\:prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.lg\\:prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.lg\\:prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\\:prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.lg\\:prose-sm :where(.lg\\:prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(.lg\\:prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.lg\\:myPrimaryTag{margin-top:.5rem;margin-bottom:.5rem;display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;word-break:break-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(222 230 240 / var(--tw-bg-opacity, 1));padding:.5rem .75rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.lg\\:myPrimaryTag:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){.lg\\:myPrimaryTag{width:auto}}}.hover\\:border-myPrimaryLinkColor:hover{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.hover\\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.hover\\:bg-myPrimaryErrorColor:hover{--tw-bg-opacity: 1;background-color:rgb(214 0 0 / var(--tw-bg-opacity, 1))}.hover\\:bg-myPrimaryLightGrayColor:hover{--tw-bg-opacity: 1;background-color:rgb(239 242 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-myPrimaryLinkColor:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.hover\\:bg-yellow-400:hover{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity, 1))}.hover\\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\\:fill-white:hover{fill:#fff}.hover\\:text-myPrimaryDarkGrayColor:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-green-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.focus\\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1))}.focus\\:ring-myPrimaryErrorColor:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(214 0 0 / var(--tw-ring-opacity, 1))}.focus\\:ring-myPrimaryLinkColor:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.focus\\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 204 21 / var(--tw-ring-opacity, 1))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\\:ring-offset-green-50:focus{--tw-ring-offset-color: #f0fdf4}.focus-visible\\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-myPrimaryLinkColor:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:opacity-100{opacity:1}@media (prefers-reduced-motion: reduce){@keyframes spin{to{transform:rotate(360deg)}}.motion-reduce\\:animate-\\[spin_1\\.5s_linear_infinite\\]{animation:spin 1.5s linear infinite}}@media (min-width: 640px){.sm\\:flex{display:flex}.sm\\:grid{display:grid}.sm\\:h-0\\.5{height:.125rem}.sm\\:h-1{height:.25rem}.sm\\:h-1\\.5{height:.375rem}.sm\\:h-1\\/2{height:50%}.sm\\:h-1\\/3{height:33.333333%}.sm\\:h-1\\/4{height:25%}.sm\\:h-1\\/5{height:20%}.sm\\:h-1\\/6{height:16.666667%}.sm\\:h-10{height:2.5rem}.sm\\:h-11{height:2.75rem}.sm\\:h-12{height:3rem}.sm\\:h-14{height:3.5rem}.sm\\:h-16{height:4rem}.sm\\:h-2{height:.5rem}.sm\\:h-2\\.5{height:.625rem}.sm\\:h-2\\/3{height:66.666667%}.sm\\:h-2\\/4{height:50%}.sm\\:h-2\\/5{height:40%}.sm\\:h-2\\/6{height:33.333333%}.sm\\:h-20{height:5rem}.sm\\:h-24{height:6rem}.sm\\:h-28{height:7rem}.sm\\:h-3{height:.75rem}.sm\\:h-3\\.5{height:.875rem}.sm\\:h-3\\/4{height:75%}.sm\\:h-3\\/5{height:60%}.sm\\:h-3\\/6{height:50%}.sm\\:h-32{height:8rem}.sm\\:h-36{height:9rem}.sm\\:h-4{height:1rem}.sm\\:h-4\\/5{height:80%}.sm\\:h-4\\/6{height:66.666667%}.sm\\:h-40{height:10rem}.sm\\:h-44{height:11rem}.sm\\:h-48{height:12rem}.sm\\:h-5{height:1.25rem}.sm\\:h-5\\/6{height:83.333333%}.sm\\:h-52{height:13rem}.sm\\:h-56{height:14rem}.sm\\:h-6{height:1.5rem}.sm\\:h-60{height:15rem}.sm\\:h-64{height:16rem}.sm\\:h-7{height:1.75rem}.sm\\:h-72{height:18rem}.sm\\:h-8{height:2rem}.sm\\:h-80{height:20rem}.sm\\:h-9{height:2.25rem}.sm\\:h-96{height:24rem}.sm\\:h-auto{height:auto}.sm\\:h-fit{height:-moz-fit-content;height:fit-content}.sm\\:h-full{height:100%}.sm\\:h-max{height:-moz-max-content;height:max-content}.sm\\:h-min{height:-moz-min-content;height:min-content}.sm\\:h-screen{height:100vh}.sm\\:w-0\\.5{width:.125rem}.sm\\:w-1{width:.25rem}.sm\\:w-1\\.5{width:.375rem}.sm\\:w-1\\/2{width:50%}.sm\\:w-1\\/3{width:33.333333%}.sm\\:w-1\\/4{width:25%}.sm\\:w-1\\/5{width:20%}.sm\\:w-1\\/6{width:16.666667%}.sm\\:w-10{width:2.5rem}.sm\\:w-11{width:2.75rem}.sm\\:w-12{width:3rem}.sm\\:w-14{width:3.5rem}.sm\\:w-16{width:4rem}.sm\\:w-2{width:.5rem}.sm\\:w-2\\.5{width:.625rem}.sm\\:w-2\\/3{width:66.666667%}.sm\\:w-2\\/4{width:50%}.sm\\:w-2\\/5{width:40%}.sm\\:w-2\\/6{width:33.333333%}.sm\\:w-20{width:5rem}.sm\\:w-24{width:6rem}.sm\\:w-28{width:7rem}.sm\\:w-3{width:.75rem}.sm\\:w-3\\.5{width:.875rem}.sm\\:w-3\\/4{width:75%}.sm\\:w-3\\/5{width:60%}.sm\\:w-3\\/6{width:50%}.sm\\:w-32{width:8rem}.sm\\:w-36{width:9rem}.sm\\:w-4{width:1rem}.sm\\:w-4\\/5{width:80%}.sm\\:w-4\\/6{width:66.666667%}.sm\\:w-40{width:10rem}.sm\\:w-44{width:11rem}.sm\\:w-48{width:12rem}.sm\\:w-5{width:1.25rem}.sm\\:w-5\\/6{width:83.333333%}.sm\\:w-52{width:13rem}.sm\\:w-56{width:14rem}.sm\\:w-6{width:1.5rem}.sm\\:w-60{width:15rem}.sm\\:w-64{width:16rem}.sm\\:w-7{width:1.75rem}.sm\\:w-72{width:18rem}.sm\\:w-8{width:2rem}.sm\\:w-80{width:20rem}.sm\\:w-9{width:2.25rem}.sm\\:w-96{width:24rem}.sm\\:w-auto{width:auto}.sm\\:w-fit{width:-moz-fit-content;width:fit-content}.sm\\:w-full{width:100%}.sm\\:w-max{width:-moz-max-content;width:max-content}.sm\\:w-min{width:-moz-min-content;width:min-content}.sm\\:w-screen{width:100vw}.sm\\:max-w-none{max-width:none}.sm\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.sm\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.sm\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.sm\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.sm\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.sm\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.sm\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.sm\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.sm\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.sm\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.sm\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.sm\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.sm\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.sm\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.sm\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.sm\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.sm\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.sm\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:items-end{align-items:flex-end}.sm\\:justify-end{justify-content:flex-end}.sm\\:pb-0{padding-bottom:0}.sm\\:pb-0\\.5{padding-bottom:.125rem}.sm\\:pb-1{padding-bottom:.25rem}.sm\\:pb-1\\.5{padding-bottom:.375rem}.sm\\:pb-10{padding-bottom:2.5rem}.sm\\:pb-11{padding-bottom:2.75rem}.sm\\:pb-12{padding-bottom:3rem}.sm\\:pb-14{padding-bottom:3.5rem}.sm\\:pb-16{padding-bottom:4rem}.sm\\:pb-2{padding-bottom:.5rem}.sm\\:pb-2\\.5{padding-bottom:.625rem}.sm\\:pb-20{padding-bottom:5rem}.sm\\:pb-24{padding-bottom:6rem}.sm\\:pb-28{padding-bottom:7rem}.sm\\:pb-3{padding-bottom:.75rem}.sm\\:pb-3\\.5{padding-bottom:.875rem}.sm\\:pb-32{padding-bottom:8rem}.sm\\:pb-36{padding-bottom:9rem}.sm\\:pb-4{padding-bottom:1rem}.sm\\:pb-40{padding-bottom:10rem}.sm\\:pb-44{padding-bottom:11rem}.sm\\:pb-48{padding-bottom:12rem}.sm\\:pb-5{padding-bottom:1.25rem}.sm\\:pb-52{padding-bottom:13rem}.sm\\:pb-56{padding-bottom:14rem}.sm\\:pb-6{padding-bottom:1.5rem}.sm\\:pb-60{padding-bottom:15rem}.sm\\:pb-64{padding-bottom:16rem}.sm\\:pb-7{padding-bottom:1.75rem}.sm\\:pb-72{padding-bottom:18rem}.sm\\:pb-8{padding-bottom:2rem}.sm\\:pb-80{padding-bottom:20rem}.sm\\:pb-9{padding-bottom:2.25rem}.sm\\:pb-96{padding-bottom:24rem}.sm\\:pl-0{padding-left:0}.sm\\:pl-0\\.5{padding-left:.125rem}.sm\\:pl-1{padding-left:.25rem}.sm\\:pl-1\\.5{padding-left:.375rem}.sm\\:pl-10{padding-left:2.5rem}.sm\\:pl-11{padding-left:2.75rem}.sm\\:pl-12{padding-left:3rem}.sm\\:pl-14{padding-left:3.5rem}.sm\\:pl-16{padding-left:4rem}.sm\\:pl-2{padding-left:.5rem}.sm\\:pl-2\\.5{padding-left:.625rem}.sm\\:pl-20{padding-left:5rem}.sm\\:pl-24{padding-left:6rem}.sm\\:pl-28{padding-left:7rem}.sm\\:pl-3{padding-left:.75rem}.sm\\:pl-3\\.5{padding-left:.875rem}.sm\\:pl-32{padding-left:8rem}.sm\\:pl-36{padding-left:9rem}.sm\\:pl-4{padding-left:1rem}.sm\\:pl-40{padding-left:10rem}.sm\\:pl-44{padding-left:11rem}.sm\\:pl-48{padding-left:12rem}.sm\\:pl-5{padding-left:1.25rem}.sm\\:pl-52{padding-left:13rem}.sm\\:pl-56{padding-left:14rem}.sm\\:pl-6{padding-left:1.5rem}.sm\\:pl-60{padding-left:15rem}.sm\\:pl-64{padding-left:16rem}.sm\\:pl-7{padding-left:1.75rem}.sm\\:pl-72{padding-left:18rem}.sm\\:pl-8{padding-left:2rem}.sm\\:pl-80{padding-left:20rem}.sm\\:pl-9{padding-left:2.25rem}.sm\\:pl-96{padding-left:24rem}.sm\\:pr-0{padding-right:0}.sm\\:pr-0\\.5{padding-right:.125rem}.sm\\:pr-1{padding-right:.25rem}.sm\\:pr-1\\.5{padding-right:.375rem}.sm\\:pr-10{padding-right:2.5rem}.sm\\:pr-11{padding-right:2.75rem}.sm\\:pr-12{padding-right:3rem}.sm\\:pr-14{padding-right:3.5rem}.sm\\:pr-16{padding-right:4rem}.sm\\:pr-2{padding-right:.5rem}.sm\\:pr-2\\.5{padding-right:.625rem}.sm\\:pr-20{padding-right:5rem}.sm\\:pr-24{padding-right:6rem}.sm\\:pr-28{padding-right:7rem}.sm\\:pr-3{padding-right:.75rem}.sm\\:pr-3\\.5{padding-right:.875rem}.sm\\:pr-32{padding-right:8rem}.sm\\:pr-36{padding-right:9rem}.sm\\:pr-4{padding-right:1rem}.sm\\:pr-40{padding-right:10rem}.sm\\:pr-44{padding-right:11rem}.sm\\:pr-48{padding-right:12rem}.sm\\:pr-5{padding-right:1.25rem}.sm\\:pr-52{padding-right:13rem}.sm\\:pr-56{padding-right:14rem}.sm\\:pr-6{padding-right:1.5rem}.sm\\:pr-60{padding-right:15rem}.sm\\:pr-64{padding-right:16rem}.sm\\:pr-7{padding-right:1.75rem}.sm\\:pr-72{padding-right:18rem}.sm\\:pr-8{padding-right:2rem}.sm\\:pr-80{padding-right:20rem}.sm\\:pr-9{padding-right:2.25rem}.sm\\:pr-96{padding-right:24rem}.sm\\:pt-0{padding-top:0}.sm\\:pt-0\\.5{padding-top:.125rem}.sm\\:pt-1{padding-top:.25rem}.sm\\:pt-1\\.5{padding-top:.375rem}.sm\\:pt-10{padding-top:2.5rem}.sm\\:pt-11{padding-top:2.75rem}.sm\\:pt-12{padding-top:3rem}.sm\\:pt-14{padding-top:3.5rem}.sm\\:pt-16{padding-top:4rem}.sm\\:pt-2{padding-top:.5rem}.sm\\:pt-2\\.5{padding-top:.625rem}.sm\\:pt-20{padding-top:5rem}.sm\\:pt-24{padding-top:6rem}.sm\\:pt-28{padding-top:7rem}.sm\\:pt-3{padding-top:.75rem}.sm\\:pt-3\\.5{padding-top:.875rem}.sm\\:pt-32{padding-top:8rem}.sm\\:pt-36{padding-top:9rem}.sm\\:pt-4{padding-top:1rem}.sm\\:pt-40{padding-top:10rem}.sm\\:pt-44{padding-top:11rem}.sm\\:pt-48{padding-top:12rem}.sm\\:pt-5{padding-top:1.25rem}.sm\\:pt-52{padding-top:13rem}.sm\\:pt-56{padding-top:14rem}.sm\\:pt-6{padding-top:1.5rem}.sm\\:pt-60{padding-top:15rem}.sm\\:pt-64{padding-top:16rem}.sm\\:pt-7{padding-top:1.75rem}.sm\\:pt-72{padding-top:18rem}.sm\\:pt-8{padding-top:2rem}.sm\\:pt-80{padding-top:20rem}.sm\\:pt-9{padding-top:2.25rem}.sm\\:pt-96{padding-top:24rem}.sm\\:align-middle{vertical-align:middle}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\\:text-5xl{font-size:3rem;line-height:1}.sm\\:text-6xl{font-size:3.75rem;line-height:1}.sm\\:text-7xl{font-size:4.5rem;line-height:1}.sm\\:text-8xl{font-size:6rem;line-height:1}.sm\\:text-9xl{font-size:8rem;line-height:1}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:text-xl{font-size:1.25rem;line-height:1.75rem}.sm\\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\\:flex{display:flex}.md\\:grid{display:grid}.md\\:h-0\\.5{height:.125rem}.md\\:h-1{height:.25rem}.md\\:h-1\\.5{height:.375rem}.md\\:h-1\\/2{height:50%}.md\\:h-1\\/3{height:33.333333%}.md\\:h-1\\/4{height:25%}.md\\:h-1\\/5{height:20%}.md\\:h-1\\/6{height:16.666667%}.md\\:h-10{height:2.5rem}.md\\:h-11{height:2.75rem}.md\\:h-12{height:3rem}.md\\:h-14{height:3.5rem}.md\\:h-16{height:4rem}.md\\:h-2{height:.5rem}.md\\:h-2\\.5{height:.625rem}.md\\:h-2\\/3{height:66.666667%}.md\\:h-2\\/4{height:50%}.md\\:h-2\\/5{height:40%}.md\\:h-2\\/6{height:33.333333%}.md\\:h-20{height:5rem}.md\\:h-24{height:6rem}.md\\:h-28{height:7rem}.md\\:h-3{height:.75rem}.md\\:h-3\\.5{height:.875rem}.md\\:h-3\\/4{height:75%}.md\\:h-3\\/5{height:60%}.md\\:h-3\\/6{height:50%}.md\\:h-32{height:8rem}.md\\:h-36{height:9rem}.md\\:h-4{height:1rem}.md\\:h-4\\/5{height:80%}.md\\:h-4\\/6{height:66.666667%}.md\\:h-40{height:10rem}.md\\:h-44{height:11rem}.md\\:h-48{height:12rem}.md\\:h-5{height:1.25rem}.md\\:h-5\\/6{height:83.333333%}.md\\:h-52{height:13rem}.md\\:h-56{height:14rem}.md\\:h-6{height:1.5rem}.md\\:h-60{height:15rem}.md\\:h-64{height:16rem}.md\\:h-7{height:1.75rem}.md\\:h-72{height:18rem}.md\\:h-8{height:2rem}.md\\:h-80{height:20rem}.md\\:h-9{height:2.25rem}.md\\:h-96{height:24rem}.md\\:h-auto{height:auto}.md\\:h-fit{height:-moz-fit-content;height:fit-content}.md\\:h-full{height:100%}.md\\:h-max{height:-moz-max-content;height:max-content}.md\\:h-min{height:-moz-min-content;height:min-content}.md\\:h-screen{height:100vh}.md\\:max-h-\\[20rem\\]{max-height:20rem}.md\\:min-h-\\[20rem\\]{min-height:20rem}.md\\:w-0\\.5{width:.125rem}.md\\:w-1{width:.25rem}.md\\:w-1\\.5{width:.375rem}.md\\:w-1\\/2{width:50%}.md\\:w-1\\/3{width:33.333333%}.md\\:w-1\\/4{width:25%}.md\\:w-1\\/5{width:20%}.md\\:w-1\\/6{width:16.666667%}.md\\:w-10{width:2.5rem}.md\\:w-11{width:2.75rem}.md\\:w-12{width:3rem}.md\\:w-14{width:3.5rem}.md\\:w-16{width:4rem}.md\\:w-2{width:.5rem}.md\\:w-2\\.5{width:.625rem}.md\\:w-2\\/3{width:66.666667%}.md\\:w-2\\/4{width:50%}.md\\:w-2\\/5{width:40%}.md\\:w-2\\/6{width:33.333333%}.md\\:w-20{width:5rem}.md\\:w-24{width:6rem}.md\\:w-28{width:7rem}.md\\:w-3{width:.75rem}.md\\:w-3\\.5{width:.875rem}.md\\:w-3\\/4{width:75%}.md\\:w-3\\/5{width:60%}.md\\:w-3\\/6{width:50%}.md\\:w-32{width:8rem}.md\\:w-36{width:9rem}.md\\:w-4{width:1rem}.md\\:w-4\\/5{width:80%}.md\\:w-4\\/6{width:66.666667%}.md\\:w-40{width:10rem}.md\\:w-44{width:11rem}.md\\:w-48{width:12rem}.md\\:w-5{width:1.25rem}.md\\:w-5\\/6{width:83.333333%}.md\\:w-52{width:13rem}.md\\:w-56{width:14rem}.md\\:w-6{width:1.5rem}.md\\:w-60{width:15rem}.md\\:w-64{width:16rem}.md\\:w-7{width:1.75rem}.md\\:w-72{width:18rem}.md\\:w-8{width:2rem}.md\\:w-80{width:20rem}.md\\:w-9{width:2.25rem}.md\\:w-96{width:24rem}.md\\:w-auto{width:auto}.md\\:w-fit{width:-moz-fit-content;width:fit-content}.md\\:w-full{width:100%}.md\\:w-max{width:-moz-max-content;width:max-content}.md\\:w-min{width:-moz-min-content;width:min-content}.md\\:w-screen{width:100vw}.md\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.md\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.md\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.md\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.md\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.md\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.md\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.md\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.md\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.md\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.md\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.md\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.md\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.md\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.md\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.md\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.md\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.md\\:rounded-lg{border-radius:.5rem}.md\\:px-3{padding-left:.75rem;padding-right:.75rem}.md\\:pb-0{padding-bottom:0}.md\\:pb-0\\.5{padding-bottom:.125rem}.md\\:pb-1{padding-bottom:.25rem}.md\\:pb-1\\.5{padding-bottom:.375rem}.md\\:pb-10{padding-bottom:2.5rem}.md\\:pb-11{padding-bottom:2.75rem}.md\\:pb-12{padding-bottom:3rem}.md\\:pb-14{padding-bottom:3.5rem}.md\\:pb-16{padding-bottom:4rem}.md\\:pb-2{padding-bottom:.5rem}.md\\:pb-2\\.5{padding-bottom:.625rem}.md\\:pb-20{padding-bottom:5rem}.md\\:pb-24{padding-bottom:6rem}.md\\:pb-28{padding-bottom:7rem}.md\\:pb-3{padding-bottom:.75rem}.md\\:pb-3\\.5{padding-bottom:.875rem}.md\\:pb-32{padding-bottom:8rem}.md\\:pb-36{padding-bottom:9rem}.md\\:pb-4{padding-bottom:1rem}.md\\:pb-40{padding-bottom:10rem}.md\\:pb-44{padding-bottom:11rem}.md\\:pb-48{padding-bottom:12rem}.md\\:pb-5{padding-bottom:1.25rem}.md\\:pb-52{padding-bottom:13rem}.md\\:pb-56{padding-bottom:14rem}.md\\:pb-6{padding-bottom:1.5rem}.md\\:pb-60{padding-bottom:15rem}.md\\:pb-64{padding-bottom:16rem}.md\\:pb-7{padding-bottom:1.75rem}.md\\:pb-72{padding-bottom:18rem}.md\\:pb-8{padding-bottom:2rem}.md\\:pb-80{padding-bottom:20rem}.md\\:pb-9{padding-bottom:2.25rem}.md\\:pb-96{padding-bottom:24rem}.md\\:pl-0{padding-left:0}.md\\:pl-0\\.5{padding-left:.125rem}.md\\:pl-1{padding-left:.25rem}.md\\:pl-1\\.5{padding-left:.375rem}.md\\:pl-10{padding-left:2.5rem}.md\\:pl-11{padding-left:2.75rem}.md\\:pl-12{padding-left:3rem}.md\\:pl-14{padding-left:3.5rem}.md\\:pl-16{padding-left:4rem}.md\\:pl-2{padding-left:.5rem}.md\\:pl-2\\.5{padding-left:.625rem}.md\\:pl-20{padding-left:5rem}.md\\:pl-24{padding-left:6rem}.md\\:pl-28{padding-left:7rem}.md\\:pl-3{padding-left:.75rem}.md\\:pl-3\\.5{padding-left:.875rem}.md\\:pl-32{padding-left:8rem}.md\\:pl-36{padding-left:9rem}.md\\:pl-4{padding-left:1rem}.md\\:pl-40{padding-left:10rem}.md\\:pl-44{padding-left:11rem}.md\\:pl-48{padding-left:12rem}.md\\:pl-5{padding-left:1.25rem}.md\\:pl-52{padding-left:13rem}.md\\:pl-56{padding-left:14rem}.md\\:pl-6{padding-left:1.5rem}.md\\:pl-60{padding-left:15rem}.md\\:pl-64{padding-left:16rem}.md\\:pl-7{padding-left:1.75rem}.md\\:pl-72{padding-left:18rem}.md\\:pl-8{padding-left:2rem}.md\\:pl-80{padding-left:20rem}.md\\:pl-9{padding-left:2.25rem}.md\\:pl-96{padding-left:24rem}.md\\:pr-0{padding-right:0}.md\\:pr-0\\.5{padding-right:.125rem}.md\\:pr-1{padding-right:.25rem}.md\\:pr-1\\.5{padding-right:.375rem}.md\\:pr-10{padding-right:2.5rem}.md\\:pr-11{padding-right:2.75rem}.md\\:pr-12{padding-right:3rem}.md\\:pr-14{padding-right:3.5rem}.md\\:pr-16{padding-right:4rem}.md\\:pr-2{padding-right:.5rem}.md\\:pr-2\\.5{padding-right:.625rem}.md\\:pr-20{padding-right:5rem}.md\\:pr-24{padding-right:6rem}.md\\:pr-28{padding-right:7rem}.md\\:pr-3{padding-right:.75rem}.md\\:pr-3\\.5{padding-right:.875rem}.md\\:pr-32{padding-right:8rem}.md\\:pr-36{padding-right:9rem}.md\\:pr-4{padding-right:1rem}.md\\:pr-40{padding-right:10rem}.md\\:pr-44{padding-right:11rem}.md\\:pr-48{padding-right:12rem}.md\\:pr-5{padding-right:1.25rem}.md\\:pr-52{padding-right:13rem}.md\\:pr-56{padding-right:14rem}.md\\:pr-6{padding-right:1.5rem}.md\\:pr-60{padding-right:15rem}.md\\:pr-64{padding-right:16rem}.md\\:pr-7{padding-right:1.75rem}.md\\:pr-72{padding-right:18rem}.md\\:pr-8{padding-right:2rem}.md\\:pr-80{padding-right:20rem}.md\\:pr-9{padding-right:2.25rem}.md\\:pr-96{padding-right:24rem}.md\\:pt-0{padding-top:0}.md\\:pt-0\\.5{padding-top:.125rem}.md\\:pt-1{padding-top:.25rem}.md\\:pt-1\\.5{padding-top:.375rem}.md\\:pt-10{padding-top:2.5rem}.md\\:pt-11{padding-top:2.75rem}.md\\:pt-12{padding-top:3rem}.md\\:pt-14{padding-top:3.5rem}.md\\:pt-16{padding-top:4rem}.md\\:pt-2{padding-top:.5rem}.md\\:pt-2\\.5{padding-top:.625rem}.md\\:pt-20{padding-top:5rem}.md\\:pt-24{padding-top:6rem}.md\\:pt-28{padding-top:7rem}.md\\:pt-3{padding-top:.75rem}.md\\:pt-3\\.5{padding-top:.875rem}.md\\:pt-32{padding-top:8rem}.md\\:pt-36{padding-top:9rem}.md\\:pt-4{padding-top:1rem}.md\\:pt-40{padding-top:10rem}.md\\:pt-44{padding-top:11rem}.md\\:pt-48{padding-top:12rem}.md\\:pt-5{padding-top:1.25rem}.md\\:pt-52{padding-top:13rem}.md\\:pt-56{padding-top:14rem}.md\\:pt-6{padding-top:1.5rem}.md\\:pt-60{padding-top:15rem}.md\\:pt-64{padding-top:16rem}.md\\:pt-7{padding-top:1.75rem}.md\\:pt-72{padding-top:18rem}.md\\:pt-8{padding-top:2rem}.md\\:pt-80{padding-top:20rem}.md\\:pt-9{padding-top:2.25rem}.md\\:pt-96{padding-top:24rem}.md\\:text-2xl{font-size:1.5rem;line-height:2rem}.md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\\:text-5xl{font-size:3rem;line-height:1}.md\\:text-6xl{font-size:3.75rem;line-height:1}.md\\:text-7xl{font-size:4.5rem;line-height:1}.md\\:text-8xl{font-size:6rem;line-height:1}.md\\:text-9xl{font-size:8rem;line-height:1}.md\\:text-base{font-size:1rem;line-height:1.5rem}.md\\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\\:text-sm{font-size:.875rem;line-height:1.25rem}.md\\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 1024px){.lg\\:mr-10{margin-right:2.5rem}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:grid{display:grid}.lg\\:h-0\\.5{height:.125rem}.lg\\:h-1{height:.25rem}.lg\\:h-1\\.5{height:.375rem}.lg\\:h-1\\/2{height:50%}.lg\\:h-1\\/3{height:33.333333%}.lg\\:h-1\\/4{height:25%}.lg\\:h-1\\/5{height:20%}.lg\\:h-1\\/6{height:16.666667%}.lg\\:h-10{height:2.5rem}.lg\\:h-11{height:2.75rem}.lg\\:h-12{height:3rem}.lg\\:h-14{height:3.5rem}.lg\\:h-16{height:4rem}.lg\\:h-2{height:.5rem}.lg\\:h-2\\.5{height:.625rem}.lg\\:h-2\\/3{height:66.666667%}.lg\\:h-2\\/4{height:50%}.lg\\:h-2\\/5{height:40%}.lg\\:h-2\\/6{height:33.333333%}.lg\\:h-20{height:5rem}.lg\\:h-24{height:6rem}.lg\\:h-28{height:7rem}.lg\\:h-3{height:.75rem}.lg\\:h-3\\.5{height:.875rem}.lg\\:h-3\\/4{height:75%}.lg\\:h-3\\/5{height:60%}.lg\\:h-3\\/6{height:50%}.lg\\:h-32{height:8rem}.lg\\:h-36{height:9rem}.lg\\:h-4{height:1rem}.lg\\:h-4\\/5{height:80%}.lg\\:h-4\\/6{height:66.666667%}.lg\\:h-40{height:10rem}.lg\\:h-44{height:11rem}.lg\\:h-48{height:12rem}.lg\\:h-5{height:1.25rem}.lg\\:h-5\\/6{height:83.333333%}.lg\\:h-52{height:13rem}.lg\\:h-56{height:14rem}.lg\\:h-6{height:1.5rem}.lg\\:h-60{height:15rem}.lg\\:h-64{height:16rem}.lg\\:h-7{height:1.75rem}.lg\\:h-72{height:18rem}.lg\\:h-8{height:2rem}.lg\\:h-80{height:20rem}.lg\\:h-9{height:2.25rem}.lg\\:h-96{height:24rem}.lg\\:h-\\[10vh\\]{height:10vh}.lg\\:h-auto{height:auto}.lg\\:h-fit{height:-moz-fit-content;height:fit-content}.lg\\:h-full{height:100%}.lg\\:h-max{height:-moz-max-content;height:max-content}.lg\\:h-min{height:-moz-min-content;height:min-content}.lg\\:h-screen{height:100vh}.lg\\:max-h-\\[30rem\\]{max-height:30rem}.lg\\:min-h-\\[20rem\\]{min-height:20rem}.lg\\:w-0\\.5{width:.125rem}.lg\\:w-1{width:.25rem}.lg\\:w-1\\.5{width:.375rem}.lg\\:w-1\\/2{width:50%}.lg\\:w-1\\/3{width:33.333333%}.lg\\:w-1\\/4{width:25%}.lg\\:w-1\\/5{width:20%}.lg\\:w-1\\/6{width:16.666667%}.lg\\:w-10{width:2.5rem}.lg\\:w-11{width:2.75rem}.lg\\:w-12{width:3rem}.lg\\:w-14{width:3.5rem}.lg\\:w-16{width:4rem}.lg\\:w-2{width:.5rem}.lg\\:w-2\\.5{width:.625rem}.lg\\:w-2\\/3{width:66.666667%}.lg\\:w-2\\/4{width:50%}.lg\\:w-2\\/5{width:40%}.lg\\:w-2\\/6{width:33.333333%}.lg\\:w-20{width:5rem}.lg\\:w-24{width:6rem}.lg\\:w-28{width:7rem}.lg\\:w-3{width:.75rem}.lg\\:w-3\\.5{width:.875rem}.lg\\:w-3\\/4{width:75%}.lg\\:w-3\\/5{width:60%}.lg\\:w-3\\/6{width:50%}.lg\\:w-32{width:8rem}.lg\\:w-36{width:9rem}.lg\\:w-4{width:1rem}.lg\\:w-4\\/5{width:80%}.lg\\:w-4\\/6{width:66.666667%}.lg\\:w-40{width:10rem}.lg\\:w-44{width:11rem}.lg\\:w-48{width:12rem}.lg\\:w-5{width:1.25rem}.lg\\:w-5\\/6{width:83.333333%}.lg\\:w-52{width:13rem}.lg\\:w-56{width:14rem}.lg\\:w-6{width:1.5rem}.lg\\:w-60{width:15rem}.lg\\:w-64{width:16rem}.lg\\:w-7{width:1.75rem}.lg\\:w-72{width:18rem}.lg\\:w-8{width:2rem}.lg\\:w-80{width:20rem}.lg\\:w-9{width:2.25rem}.lg\\:w-96{width:24rem}.lg\\:w-auto{width:auto}.lg\\:w-fit{width:-moz-fit-content;width:fit-content}.lg\\:w-full{width:100%}.lg\\:w-max{width:-moz-max-content;width:max-content}.lg\\:w-min{width:-moz-min-content;width:min-content}.lg\\:w-screen{width:100vw}.lg\\:max-w-2xl{max-width:42rem}.lg\\:max-w-3xl{max-width:48rem}.lg\\:max-w-4xl{max-width:56rem}.lg\\:max-w-5xl{max-width:64rem}.lg\\:max-w-6xl{max-width:72rem}.lg\\:max-w-7xl{max-width:80rem}.lg\\:max-w-full{max-width:100%}.lg\\:max-w-lg{max-width:32rem}.lg\\:max-w-md{max-width:28rem}.lg\\:max-w-sm{max-width:24rem}.lg\\:max-w-xl{max-width:36rem}.lg\\:auto-cols-\\[minmax\\(100px\\,_4fr\\)\\]{grid-auto-columns:minmax(100px,4fr)}.lg\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lg\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.lg\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.lg\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.lg\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.lg\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.lg\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.lg\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.lg\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.lg\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.lg\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.lg\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.lg\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.lg\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.lg\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.lg\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.lg\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.lg\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.lg\\:justify-center{justify-content:center}.lg\\:justify-between{justify-content:space-between}.lg\\:gap-x-12{-moz-column-gap:3rem;column-gap:3rem}.lg\\:border{border-width:1px}.lg\\:border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.lg\\:px-12{padding-left:3rem;padding-right:3rem}.lg\\:px-4{padding-left:1rem;padding-right:1rem}.lg\\:py-10{padding-top:2.5rem;padding-bottom:2.5rem}.lg\\:pb-0{padding-bottom:0}.lg\\:pb-0\\.5{padding-bottom:.125rem}.lg\\:pb-1{padding-bottom:.25rem}.lg\\:pb-1\\.5{padding-bottom:.375rem}.lg\\:pb-10{padding-bottom:2.5rem}.lg\\:pb-11{padding-bottom:2.75rem}.lg\\:pb-12{padding-bottom:3rem}.lg\\:pb-14{padding-bottom:3.5rem}.lg\\:pb-16{padding-bottom:4rem}.lg\\:pb-2{padding-bottom:.5rem}.lg\\:pb-2\\.5{padding-bottom:.625rem}.lg\\:pb-20{padding-bottom:5rem}.lg\\:pb-24{padding-bottom:6rem}.lg\\:pb-28{padding-bottom:7rem}.lg\\:pb-3{padding-bottom:.75rem}.lg\\:pb-3\\.5{padding-bottom:.875rem}.lg\\:pb-32{padding-bottom:8rem}.lg\\:pb-36{padding-bottom:9rem}.lg\\:pb-4{padding-bottom:1rem}.lg\\:pb-40{padding-bottom:10rem}.lg\\:pb-44{padding-bottom:11rem}.lg\\:pb-48{padding-bottom:12rem}.lg\\:pb-5{padding-bottom:1.25rem}.lg\\:pb-52{padding-bottom:13rem}.lg\\:pb-56{padding-bottom:14rem}.lg\\:pb-6{padding-bottom:1.5rem}.lg\\:pb-60{padding-bottom:15rem}.lg\\:pb-64{padding-bottom:16rem}.lg\\:pb-7{padding-bottom:1.75rem}.lg\\:pb-72{padding-bottom:18rem}.lg\\:pb-8{padding-bottom:2rem}.lg\\:pb-80{padding-bottom:20rem}.lg\\:pb-9{padding-bottom:2.25rem}.lg\\:pb-96{padding-bottom:24rem}.lg\\:pl-0{padding-left:0}.lg\\:pl-0\\.5{padding-left:.125rem}.lg\\:pl-1{padding-left:.25rem}.lg\\:pl-1\\.5{padding-left:.375rem}.lg\\:pl-10{padding-left:2.5rem}.lg\\:pl-11{padding-left:2.75rem}.lg\\:pl-12{padding-left:3rem}.lg\\:pl-14{padding-left:3.5rem}.lg\\:pl-16{padding-left:4rem}.lg\\:pl-2{padding-left:.5rem}.lg\\:pl-2\\.5{padding-left:.625rem}.lg\\:pl-20{padding-left:5rem}.lg\\:pl-24{padding-left:6rem}.lg\\:pl-28{padding-left:7rem}.lg\\:pl-3{padding-left:.75rem}.lg\\:pl-3\\.5{padding-left:.875rem}.lg\\:pl-32{padding-left:8rem}.lg\\:pl-36{padding-left:9rem}.lg\\:pl-4{padding-left:1rem}.lg\\:pl-40{padding-left:10rem}.lg\\:pl-44{padding-left:11rem}.lg\\:pl-48{padding-left:12rem}.lg\\:pl-5{padding-left:1.25rem}.lg\\:pl-52{padding-left:13rem}.lg\\:pl-56{padding-left:14rem}.lg\\:pl-6{padding-left:1.5rem}.lg\\:pl-60{padding-left:15rem}.lg\\:pl-64{padding-left:16rem}.lg\\:pl-7{padding-left:1.75rem}.lg\\:pl-72{padding-left:18rem}.lg\\:pl-8{padding-left:2rem}.lg\\:pl-80{padding-left:20rem}.lg\\:pl-9{padding-left:2.25rem}.lg\\:pl-96{padding-left:24rem}.lg\\:pr-0{padding-right:0}.lg\\:pr-0\\.5{padding-right:.125rem}.lg\\:pr-1{padding-right:.25rem}.lg\\:pr-1\\.5{padding-right:.375rem}.lg\\:pr-10{padding-right:2.5rem}.lg\\:pr-11{padding-right:2.75rem}.lg\\:pr-12{padding-right:3rem}.lg\\:pr-14{padding-right:3.5rem}.lg\\:pr-16{padding-right:4rem}.lg\\:pr-2{padding-right:.5rem}.lg\\:pr-2\\.5{padding-right:.625rem}.lg\\:pr-20{padding-right:5rem}.lg\\:pr-24{padding-right:6rem}.lg\\:pr-28{padding-right:7rem}.lg\\:pr-3{padding-right:.75rem}.lg\\:pr-3\\.5{padding-right:.875rem}.lg\\:pr-32{padding-right:8rem}.lg\\:pr-36{padding-right:9rem}.lg\\:pr-4{padding-right:1rem}.lg\\:pr-40{padding-right:10rem}.lg\\:pr-44{padding-right:11rem}.lg\\:pr-48{padding-right:12rem}.lg\\:pr-5{padding-right:1.25rem}.lg\\:pr-52{padding-right:13rem}.lg\\:pr-56{padding-right:14rem}.lg\\:pr-6{padding-right:1.5rem}.lg\\:pr-60{padding-right:15rem}.lg\\:pr-64{padding-right:16rem}.lg\\:pr-7{padding-right:1.75rem}.lg\\:pr-72{padding-right:18rem}.lg\\:pr-8{padding-right:2rem}.lg\\:pr-80{padding-right:20rem}.lg\\:pr-9{padding-right:2.25rem}.lg\\:pr-96{padding-right:24rem}.lg\\:pt-0{padding-top:0}.lg\\:pt-0\\.5{padding-top:.125rem}.lg\\:pt-1{padding-top:.25rem}.lg\\:pt-1\\.5{padding-top:.375rem}.lg\\:pt-10{padding-top:2.5rem}.lg\\:pt-11{padding-top:2.75rem}.lg\\:pt-12{padding-top:3rem}.lg\\:pt-14{padding-top:3.5rem}.lg\\:pt-16{padding-top:4rem}.lg\\:pt-2{padding-top:.5rem}.lg\\:pt-2\\.5{padding-top:.625rem}.lg\\:pt-20{padding-top:5rem}.lg\\:pt-24{padding-top:6rem}.lg\\:pt-28{padding-top:7rem}.lg\\:pt-3{padding-top:.75rem}.lg\\:pt-3\\.5{padding-top:.875rem}.lg\\:pt-32{padding-top:8rem}.lg\\:pt-36{padding-top:9rem}.lg\\:pt-4{padding-top:1rem}.lg\\:pt-40{padding-top:10rem}.lg\\:pt-44{padding-top:11rem}.lg\\:pt-48{padding-top:12rem}.lg\\:pt-5{padding-top:1.25rem}.lg\\:pt-52{padding-top:13rem}.lg\\:pt-56{padding-top:14rem}.lg\\:pt-6{padding-top:1.5rem}.lg\\:pt-60{padding-top:15rem}.lg\\:pt-64{padding-top:16rem}.lg\\:pt-7{padding-top:1.75rem}.lg\\:pt-72{padding-top:18rem}.lg\\:pt-8{padding-top:2rem}.lg\\:pt-80{padding-top:20rem}.lg\\:pt-9{padding-top:2.25rem}.lg\\:pt-96{padding-top:24rem}.lg\\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\\:text-5xl{font-size:3rem;line-height:1}.lg\\:text-6xl{font-size:3.75rem;line-height:1}.lg\\:text-7xl{font-size:4.5rem;line-height:1}.lg\\:text-8xl{font-size:6rem;line-height:1}.lg\\:text-9xl{font-size:8rem;line-height:1}.lg\\:text-base{font-size:1rem;line-height:1.5rem}.lg\\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\\:text-sm{font-size:.875rem;line-height:1.25rem}.lg\\:text-xl{font-size:1.25rem;line-height:1.75rem}.lg\\:text-xs{font-size:.75rem;line-height:1rem}.lg\\:shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}}@media (min-width: 1280px){.xl\\:flex{display:flex}.xl\\:grid{display:grid}.xl\\:h-0\\.5{height:.125rem}.xl\\:h-1{height:.25rem}.xl\\:h-1\\.5{height:.375rem}.xl\\:h-1\\/2{height:50%}.xl\\:h-1\\/3{height:33.333333%}.xl\\:h-1\\/4{height:25%}.xl\\:h-1\\/5{height:20%}.xl\\:h-1\\/6{height:16.666667%}.xl\\:h-10{height:2.5rem}.xl\\:h-11{height:2.75rem}.xl\\:h-12{height:3rem}.xl\\:h-14{height:3.5rem}.xl\\:h-16{height:4rem}.xl\\:h-2{height:.5rem}.xl\\:h-2\\.5{height:.625rem}.xl\\:h-2\\/3{height:66.666667%}.xl\\:h-2\\/4{height:50%}.xl\\:h-2\\/5{height:40%}.xl\\:h-2\\/6{height:33.333333%}.xl\\:h-20{height:5rem}.xl\\:h-24{height:6rem}.xl\\:h-28{height:7rem}.xl\\:h-3{height:.75rem}.xl\\:h-3\\.5{height:.875rem}.xl\\:h-3\\/4{height:75%}.xl\\:h-3\\/5{height:60%}.xl\\:h-3\\/6{height:50%}.xl\\:h-32{height:8rem}.xl\\:h-36{height:9rem}.xl\\:h-4{height:1rem}.xl\\:h-4\\/5{height:80%}.xl\\:h-4\\/6{height:66.666667%}.xl\\:h-40{height:10rem}.xl\\:h-44{height:11rem}.xl\\:h-48{height:12rem}.xl\\:h-5{height:1.25rem}.xl\\:h-5\\/6{height:83.333333%}.xl\\:h-52{height:13rem}.xl\\:h-56{height:14rem}.xl\\:h-6{height:1.5rem}.xl\\:h-60{height:15rem}.xl\\:h-64{height:16rem}.xl\\:h-7{height:1.75rem}.xl\\:h-72{height:18rem}.xl\\:h-8{height:2rem}.xl\\:h-80{height:20rem}.xl\\:h-9{height:2.25rem}.xl\\:h-96{height:24rem}.xl\\:h-auto{height:auto}.xl\\:h-fit{height:-moz-fit-content;height:fit-content}.xl\\:h-full{height:100%}.xl\\:h-max{height:-moz-max-content;height:max-content}.xl\\:h-min{height:-moz-min-content;height:min-content}.xl\\:h-screen{height:100vh}.xl\\:w-0\\.5{width:.125rem}.xl\\:w-1{width:.25rem}.xl\\:w-1\\.5{width:.375rem}.xl\\:w-1\\/2{width:50%}.xl\\:w-1\\/3{width:33.333333%}.xl\\:w-1\\/4{width:25%}.xl\\:w-1\\/5{width:20%}.xl\\:w-1\\/6{width:16.666667%}.xl\\:w-10{width:2.5rem}.xl\\:w-11{width:2.75rem}.xl\\:w-12{width:3rem}.xl\\:w-14{width:3.5rem}.xl\\:w-16{width:4rem}.xl\\:w-2{width:.5rem}.xl\\:w-2\\.5{width:.625rem}.xl\\:w-2\\/3{width:66.666667%}.xl\\:w-2\\/4{width:50%}.xl\\:w-2\\/5{width:40%}.xl\\:w-2\\/6{width:33.333333%}.xl\\:w-20{width:5rem}.xl\\:w-24{width:6rem}.xl\\:w-28{width:7rem}.xl\\:w-3{width:.75rem}.xl\\:w-3\\.5{width:.875rem}.xl\\:w-3\\/4{width:75%}.xl\\:w-3\\/5{width:60%}.xl\\:w-3\\/6{width:50%}.xl\\:w-32{width:8rem}.xl\\:w-36{width:9rem}.xl\\:w-4{width:1rem}.xl\\:w-4\\/5{width:80%}.xl\\:w-4\\/6{width:66.666667%}.xl\\:w-40{width:10rem}.xl\\:w-44{width:11rem}.xl\\:w-48{width:12rem}.xl\\:w-5{width:1.25rem}.xl\\:w-5\\/6{width:83.333333%}.xl\\:w-52{width:13rem}.xl\\:w-56{width:14rem}.xl\\:w-6{width:1.5rem}.xl\\:w-60{width:15rem}.xl\\:w-64{width:16rem}.xl\\:w-7{width:1.75rem}.xl\\:w-72{width:18rem}.xl\\:w-8{width:2rem}.xl\\:w-80{width:20rem}.xl\\:w-9{width:2.25rem}.xl\\:w-96{width:24rem}.xl\\:w-auto{width:auto}.xl\\:w-fit{width:-moz-fit-content;width:fit-content}.xl\\:w-full{width:100%}.xl\\:w-max{width:-moz-max-content;width:max-content}.xl\\:w-min{width:-moz-min-content;width:min-content}.xl\\:w-screen{width:100vw}.xl\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.xl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.xl\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.xl\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.xl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.xl\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.xl\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.xl\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.xl\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.xl\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.xl\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.xl\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.xl\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.xl\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.xl\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.xl\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.xl\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.xl\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.xl\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.xl\\:pb-0{padding-bottom:0}.xl\\:pb-0\\.5{padding-bottom:.125rem}.xl\\:pb-1{padding-bottom:.25rem}.xl\\:pb-1\\.5{padding-bottom:.375rem}.xl\\:pb-10{padding-bottom:2.5rem}.xl\\:pb-11{padding-bottom:2.75rem}.xl\\:pb-12{padding-bottom:3rem}.xl\\:pb-14{padding-bottom:3.5rem}.xl\\:pb-16{padding-bottom:4rem}.xl\\:pb-2{padding-bottom:.5rem}.xl\\:pb-2\\.5{padding-bottom:.625rem}.xl\\:pb-20{padding-bottom:5rem}.xl\\:pb-24{padding-bottom:6rem}.xl\\:pb-28{padding-bottom:7rem}.xl\\:pb-3{padding-bottom:.75rem}.xl\\:pb-3\\.5{padding-bottom:.875rem}.xl\\:pb-32{padding-bottom:8rem}.xl\\:pb-36{padding-bottom:9rem}.xl\\:pb-4{padding-bottom:1rem}.xl\\:pb-40{padding-bottom:10rem}.xl\\:pb-44{padding-bottom:11rem}.xl\\:pb-48{padding-bottom:12rem}.xl\\:pb-5{padding-bottom:1.25rem}.xl\\:pb-52{padding-bottom:13rem}.xl\\:pb-56{padding-bottom:14rem}.xl\\:pb-6{padding-bottom:1.5rem}.xl\\:pb-60{padding-bottom:15rem}.xl\\:pb-64{padding-bottom:16rem}.xl\\:pb-7{padding-bottom:1.75rem}.xl\\:pb-72{padding-bottom:18rem}.xl\\:pb-8{padding-bottom:2rem}.xl\\:pb-80{padding-bottom:20rem}.xl\\:pb-9{padding-bottom:2.25rem}.xl\\:pb-96{padding-bottom:24rem}.xl\\:pl-0{padding-left:0}.xl\\:pl-0\\.5{padding-left:.125rem}.xl\\:pl-1{padding-left:.25rem}.xl\\:pl-1\\.5{padding-left:.375rem}.xl\\:pl-10{padding-left:2.5rem}.xl\\:pl-11{padding-left:2.75rem}.xl\\:pl-12{padding-left:3rem}.xl\\:pl-14{padding-left:3.5rem}.xl\\:pl-16{padding-left:4rem}.xl\\:pl-2{padding-left:.5rem}.xl\\:pl-2\\.5{padding-left:.625rem}.xl\\:pl-20{padding-left:5rem}.xl\\:pl-24{padding-left:6rem}.xl\\:pl-28{padding-left:7rem}.xl\\:pl-3{padding-left:.75rem}.xl\\:pl-3\\.5{padding-left:.875rem}.xl\\:pl-32{padding-left:8rem}.xl\\:pl-36{padding-left:9rem}.xl\\:pl-4{padding-left:1rem}.xl\\:pl-40{padding-left:10rem}.xl\\:pl-44{padding-left:11rem}.xl\\:pl-48{padding-left:12rem}.xl\\:pl-5{padding-left:1.25rem}.xl\\:pl-52{padding-left:13rem}.xl\\:pl-56{padding-left:14rem}.xl\\:pl-6{padding-left:1.5rem}.xl\\:pl-60{padding-left:15rem}.xl\\:pl-64{padding-left:16rem}.xl\\:pl-7{padding-left:1.75rem}.xl\\:pl-72{padding-left:18rem}.xl\\:pl-8{padding-left:2rem}.xl\\:pl-80{padding-left:20rem}.xl\\:pl-9{padding-left:2.25rem}.xl\\:pl-96{padding-left:24rem}.xl\\:pr-0{padding-right:0}.xl\\:pr-0\\.5{padding-right:.125rem}.xl\\:pr-1{padding-right:.25rem}.xl\\:pr-1\\.5{padding-right:.375rem}.xl\\:pr-10{padding-right:2.5rem}.xl\\:pr-11{padding-right:2.75rem}.xl\\:pr-12{padding-right:3rem}.xl\\:pr-14{padding-right:3.5rem}.xl\\:pr-16{padding-right:4rem}.xl\\:pr-2{padding-right:.5rem}.xl\\:pr-2\\.5{padding-right:.625rem}.xl\\:pr-20{padding-right:5rem}.xl\\:pr-24{padding-right:6rem}.xl\\:pr-28{padding-right:7rem}.xl\\:pr-3{padding-right:.75rem}.xl\\:pr-3\\.5{padding-right:.875rem}.xl\\:pr-32{padding-right:8rem}.xl\\:pr-36{padding-right:9rem}.xl\\:pr-4{padding-right:1rem}.xl\\:pr-40{padding-right:10rem}.xl\\:pr-44{padding-right:11rem}.xl\\:pr-48{padding-right:12rem}.xl\\:pr-5{padding-right:1.25rem}.xl\\:pr-52{padding-right:13rem}.xl\\:pr-56{padding-right:14rem}.xl\\:pr-6{padding-right:1.5rem}.xl\\:pr-60{padding-right:15rem}.xl\\:pr-64{padding-right:16rem}.xl\\:pr-7{padding-right:1.75rem}.xl\\:pr-72{padding-right:18rem}.xl\\:pr-8{padding-right:2rem}.xl\\:pr-80{padding-right:20rem}.xl\\:pr-9{padding-right:2.25rem}.xl\\:pr-96{padding-right:24rem}.xl\\:pt-0{padding-top:0}.xl\\:pt-0\\.5{padding-top:.125rem}.xl\\:pt-1{padding-top:.25rem}.xl\\:pt-1\\.5{padding-top:.375rem}.xl\\:pt-10{padding-top:2.5rem}.xl\\:pt-11{padding-top:2.75rem}.xl\\:pt-12{padding-top:3rem}.xl\\:pt-14{padding-top:3.5rem}.xl\\:pt-16{padding-top:4rem}.xl\\:pt-2{padding-top:.5rem}.xl\\:pt-2\\.5{padding-top:.625rem}.xl\\:pt-20{padding-top:5rem}.xl\\:pt-24{padding-top:6rem}.xl\\:pt-28{padding-top:7rem}.xl\\:pt-3{padding-top:.75rem}.xl\\:pt-3\\.5{padding-top:.875rem}.xl\\:pt-32{padding-top:8rem}.xl\\:pt-36{padding-top:9rem}.xl\\:pt-4{padding-top:1rem}.xl\\:pt-40{padding-top:10rem}.xl\\:pt-44{padding-top:11rem}.xl\\:pt-48{padding-top:12rem}.xl\\:pt-5{padding-top:1.25rem}.xl\\:pt-52{padding-top:13rem}.xl\\:pt-56{padding-top:14rem}.xl\\:pt-6{padding-top:1.5rem}.xl\\:pt-60{padding-top:15rem}.xl\\:pt-64{padding-top:16rem}.xl\\:pt-7{padding-top:1.75rem}.xl\\:pt-72{padding-top:18rem}.xl\\:pt-8{padding-top:2rem}.xl\\:pt-80{padding-top:20rem}.xl\\:pt-9{padding-top:2.25rem}.xl\\:pt-96{padding-top:24rem}}@media (min-width: 1536px){.\\32xl\\:flex{display:flex}.\\32xl\\:grid{display:grid}.\\32xl\\:h-0\\.5{height:.125rem}.\\32xl\\:h-1{height:.25rem}.\\32xl\\:h-1\\.5{height:.375rem}.\\32xl\\:h-1\\/2{height:50%}.\\32xl\\:h-1\\/3{height:33.333333%}.\\32xl\\:h-1\\/4{height:25%}.\\32xl\\:h-1\\/5{height:20%}.\\32xl\\:h-1\\/6{height:16.666667%}.\\32xl\\:h-10{height:2.5rem}.\\32xl\\:h-11{height:2.75rem}.\\32xl\\:h-12{height:3rem}.\\32xl\\:h-14{height:3.5rem}.\\32xl\\:h-16{height:4rem}.\\32xl\\:h-2{height:.5rem}.\\32xl\\:h-2\\.5{height:.625rem}.\\32xl\\:h-2\\/3{height:66.666667%}.\\32xl\\:h-2\\/4{height:50%}.\\32xl\\:h-2\\/5{height:40%}.\\32xl\\:h-2\\/6{height:33.333333%}.\\32xl\\:h-20{height:5rem}.\\32xl\\:h-24{height:6rem}.\\32xl\\:h-28{height:7rem}.\\32xl\\:h-3{height:.75rem}.\\32xl\\:h-3\\.5{height:.875rem}.\\32xl\\:h-3\\/4{height:75%}.\\32xl\\:h-3\\/5{height:60%}.\\32xl\\:h-3\\/6{height:50%}.\\32xl\\:h-32{height:8rem}.\\32xl\\:h-36{height:9rem}.\\32xl\\:h-4{height:1rem}.\\32xl\\:h-4\\/5{height:80%}.\\32xl\\:h-4\\/6{height:66.666667%}.\\32xl\\:h-40{height:10rem}.\\32xl\\:h-44{height:11rem}.\\32xl\\:h-48{height:12rem}.\\32xl\\:h-5{height:1.25rem}.\\32xl\\:h-5\\/6{height:83.333333%}.\\32xl\\:h-52{height:13rem}.\\32xl\\:h-56{height:14rem}.\\32xl\\:h-6{height:1.5rem}.\\32xl\\:h-60{height:15rem}.\\32xl\\:h-64{height:16rem}.\\32xl\\:h-7{height:1.75rem}.\\32xl\\:h-72{height:18rem}.\\32xl\\:h-8{height:2rem}.\\32xl\\:h-80{height:20rem}.\\32xl\\:h-9{height:2.25rem}.\\32xl\\:h-96{height:24rem}.\\32xl\\:h-auto{height:auto}.\\32xl\\:h-fit{height:-moz-fit-content;height:fit-content}.\\32xl\\:h-full{height:100%}.\\32xl\\:h-max{height:-moz-max-content;height:max-content}.\\32xl\\:h-min{height:-moz-min-content;height:min-content}.\\32xl\\:h-screen{height:100vh}.\\32xl\\:w-0\\.5{width:.125rem}.\\32xl\\:w-1{width:.25rem}.\\32xl\\:w-1\\.5{width:.375rem}.\\32xl\\:w-1\\/2{width:50%}.\\32xl\\:w-1\\/3{width:33.333333%}.\\32xl\\:w-1\\/4{width:25%}.\\32xl\\:w-1\\/5{width:20%}.\\32xl\\:w-1\\/6{width:16.666667%}.\\32xl\\:w-10{width:2.5rem}.\\32xl\\:w-11{width:2.75rem}.\\32xl\\:w-12{width:3rem}.\\32xl\\:w-14{width:3.5rem}.\\32xl\\:w-16{width:4rem}.\\32xl\\:w-2{width:.5rem}.\\32xl\\:w-2\\.5{width:.625rem}.\\32xl\\:w-2\\/3{width:66.666667%}.\\32xl\\:w-2\\/4{width:50%}.\\32xl\\:w-2\\/5{width:40%}.\\32xl\\:w-2\\/6{width:33.333333%}.\\32xl\\:w-20{width:5rem}.\\32xl\\:w-24{width:6rem}.\\32xl\\:w-28{width:7rem}.\\32xl\\:w-3{width:.75rem}.\\32xl\\:w-3\\.5{width:.875rem}.\\32xl\\:w-3\\/4{width:75%}.\\32xl\\:w-3\\/5{width:60%}.\\32xl\\:w-3\\/6{width:50%}.\\32xl\\:w-32{width:8rem}.\\32xl\\:w-36{width:9rem}.\\32xl\\:w-4{width:1rem}.\\32xl\\:w-4\\/5{width:80%}.\\32xl\\:w-4\\/6{width:66.666667%}.\\32xl\\:w-40{width:10rem}.\\32xl\\:w-44{width:11rem}.\\32xl\\:w-48{width:12rem}.\\32xl\\:w-5{width:1.25rem}.\\32xl\\:w-5\\/6{width:83.333333%}.\\32xl\\:w-52{width:13rem}.\\32xl\\:w-56{width:14rem}.\\32xl\\:w-6{width:1.5rem}.\\32xl\\:w-60{width:15rem}.\\32xl\\:w-64{width:16rem}.\\32xl\\:w-7{width:1.75rem}.\\32xl\\:w-72{width:18rem}.\\32xl\\:w-8{width:2rem}.\\32xl\\:w-80{width:20rem}.\\32xl\\:w-9{width:2.25rem}.\\32xl\\:w-96{width:24rem}.\\32xl\\:w-auto{width:auto}.\\32xl\\:w-fit{width:-moz-fit-content;width:fit-content}.\\32xl\\:w-full{width:100%}.\\32xl\\:w-max{width:-moz-max-content;width:max-content}.\\32xl\\:w-min{width:-moz-min-content;width:min-content}.\\32xl\\:w-screen{width:100vw}.\\32xl\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.\\32xl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.\\32xl\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.\\32xl\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.\\32xl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\\32xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.\\32xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.\\32xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.\\32xl\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.\\32xl\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.\\32xl\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.\\32xl\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.\\32xl\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.\\32xl\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.\\32xl\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.\\32xl\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.\\32xl\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.\\32xl\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.\\32xl\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.\\32xl\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.\\32xl\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.\\32xl\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.\\32xl\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.\\32xl\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.\\32xl\\:pb-0{padding-bottom:0}.\\32xl\\:pb-0\\.5{padding-bottom:.125rem}.\\32xl\\:pb-1{padding-bottom:.25rem}.\\32xl\\:pb-1\\.5{padding-bottom:.375rem}.\\32xl\\:pb-10{padding-bottom:2.5rem}.\\32xl\\:pb-11{padding-bottom:2.75rem}.\\32xl\\:pb-12{padding-bottom:3rem}.\\32xl\\:pb-14{padding-bottom:3.5rem}.\\32xl\\:pb-16{padding-bottom:4rem}.\\32xl\\:pb-2{padding-bottom:.5rem}.\\32xl\\:pb-2\\.5{padding-bottom:.625rem}.\\32xl\\:pb-20{padding-bottom:5rem}.\\32xl\\:pb-24{padding-bottom:6rem}.\\32xl\\:pb-28{padding-bottom:7rem}.\\32xl\\:pb-3{padding-bottom:.75rem}.\\32xl\\:pb-3\\.5{padding-bottom:.875rem}.\\32xl\\:pb-32{padding-bottom:8rem}.\\32xl\\:pb-36{padding-bottom:9rem}.\\32xl\\:pb-4{padding-bottom:1rem}.\\32xl\\:pb-40{padding-bottom:10rem}.\\32xl\\:pb-44{padding-bottom:11rem}.\\32xl\\:pb-48{padding-bottom:12rem}.\\32xl\\:pb-5{padding-bottom:1.25rem}.\\32xl\\:pb-52{padding-bottom:13rem}.\\32xl\\:pb-56{padding-bottom:14rem}.\\32xl\\:pb-6{padding-bottom:1.5rem}.\\32xl\\:pb-60{padding-bottom:15rem}.\\32xl\\:pb-64{padding-bottom:16rem}.\\32xl\\:pb-7{padding-bottom:1.75rem}.\\32xl\\:pb-72{padding-bottom:18rem}.\\32xl\\:pb-8{padding-bottom:2rem}.\\32xl\\:pb-80{padding-bottom:20rem}.\\32xl\\:pb-9{padding-bottom:2.25rem}.\\32xl\\:pb-96{padding-bottom:24rem}.\\32xl\\:pl-0{padding-left:0}.\\32xl\\:pl-0\\.5{padding-left:.125rem}.\\32xl\\:pl-1{padding-left:.25rem}.\\32xl\\:pl-1\\.5{padding-left:.375rem}.\\32xl\\:pl-10{padding-left:2.5rem}.\\32xl\\:pl-11{padding-left:2.75rem}.\\32xl\\:pl-12{padding-left:3rem}.\\32xl\\:pl-14{padding-left:3.5rem}.\\32xl\\:pl-16{padding-left:4rem}.\\32xl\\:pl-2{padding-left:.5rem}.\\32xl\\:pl-2\\.5{padding-left:.625rem}.\\32xl\\:pl-20{padding-left:5rem}.\\32xl\\:pl-24{padding-left:6rem}.\\32xl\\:pl-28{padding-left:7rem}.\\32xl\\:pl-3{padding-left:.75rem}.\\32xl\\:pl-3\\.5{padding-left:.875rem}.\\32xl\\:pl-32{padding-left:8rem}.\\32xl\\:pl-36{padding-left:9rem}.\\32xl\\:pl-4{padding-left:1rem}.\\32xl\\:pl-40{padding-left:10rem}.\\32xl\\:pl-44{padding-left:11rem}.\\32xl\\:pl-48{padding-left:12rem}.\\32xl\\:pl-5{padding-left:1.25rem}.\\32xl\\:pl-52{padding-left:13rem}.\\32xl\\:pl-56{padding-left:14rem}.\\32xl\\:pl-6{padding-left:1.5rem}.\\32xl\\:pl-60{padding-left:15rem}.\\32xl\\:pl-64{padding-left:16rem}.\\32xl\\:pl-7{padding-left:1.75rem}.\\32xl\\:pl-72{padding-left:18rem}.\\32xl\\:pl-8{padding-left:2rem}.\\32xl\\:pl-80{padding-left:20rem}.\\32xl\\:pl-9{padding-left:2.25rem}.\\32xl\\:pl-96{padding-left:24rem}.\\32xl\\:pr-0{padding-right:0}.\\32xl\\:pr-0\\.5{padding-right:.125rem}.\\32xl\\:pr-1{padding-right:.25rem}.\\32xl\\:pr-1\\.5{padding-right:.375rem}.\\32xl\\:pr-10{padding-right:2.5rem}.\\32xl\\:pr-11{padding-right:2.75rem}.\\32xl\\:pr-12{padding-right:3rem}.\\32xl\\:pr-14{padding-right:3.5rem}.\\32xl\\:pr-16{padding-right:4rem}.\\32xl\\:pr-2{padding-right:.5rem}.\\32xl\\:pr-2\\.5{padding-right:.625rem}.\\32xl\\:pr-20{padding-right:5rem}.\\32xl\\:pr-24{padding-right:6rem}.\\32xl\\:pr-28{padding-right:7rem}.\\32xl\\:pr-3{padding-right:.75rem}.\\32xl\\:pr-3\\.5{padding-right:.875rem}.\\32xl\\:pr-32{padding-right:8rem}.\\32xl\\:pr-36{padding-right:9rem}.\\32xl\\:pr-4{padding-right:1rem}.\\32xl\\:pr-40{padding-right:10rem}.\\32xl\\:pr-44{padding-right:11rem}.\\32xl\\:pr-48{padding-right:12rem}.\\32xl\\:pr-5{padding-right:1.25rem}.\\32xl\\:pr-52{padding-right:13rem}.\\32xl\\:pr-56{padding-right:14rem}.\\32xl\\:pr-6{padding-right:1.5rem}.\\32xl\\:pr-60{padding-right:15rem}.\\32xl\\:pr-64{padding-right:16rem}.\\32xl\\:pr-7{padding-right:1.75rem}.\\32xl\\:pr-72{padding-right:18rem}.\\32xl\\:pr-8{padding-right:2rem}.\\32xl\\:pr-80{padding-right:20rem}.\\32xl\\:pr-9{padding-right:2.25rem}.\\32xl\\:pr-96{padding-right:24rem}.\\32xl\\:pt-0{padding-top:0}.\\32xl\\:pt-0\\.5{padding-top:.125rem}.\\32xl\\:pt-1{padding-top:.25rem}.\\32xl\\:pt-1\\.5{padding-top:.375rem}.\\32xl\\:pt-10{padding-top:2.5rem}.\\32xl\\:pt-11{padding-top:2.75rem}.\\32xl\\:pt-12{padding-top:3rem}.\\32xl\\:pt-14{padding-top:3.5rem}.\\32xl\\:pt-16{padding-top:4rem}.\\32xl\\:pt-2{padding-top:.5rem}.\\32xl\\:pt-2\\.5{padding-top:.625rem}.\\32xl\\:pt-20{padding-top:5rem}.\\32xl\\:pt-24{padding-top:6rem}.\\32xl\\:pt-28{padding-top:7rem}.\\32xl\\:pt-3{padding-top:.75rem}.\\32xl\\:pt-3\\.5{padding-top:.875rem}.\\32xl\\:pt-32{padding-top:8rem}.\\32xl\\:pt-36{padding-top:9rem}.\\32xl\\:pt-4{padding-top:1rem}.\\32xl\\:pt-40{padding-top:10rem}.\\32xl\\:pt-44{padding-top:11rem}.\\32xl\\:pt-48{padding-top:12rem}.\\32xl\\:pt-5{padding-top:1.25rem}.\\32xl\\:pt-52{padding-top:13rem}.\\32xl\\:pt-56{padding-top:14rem}.\\32xl\\:pt-6{padding-top:1.5rem}.\\32xl\\:pt-60{padding-top:15rem}.\\32xl\\:pt-64{padding-top:16rem}.\\32xl\\:pt-7{padding-top:1.75rem}.\\32xl\\:pt-72{padding-top:18rem}.\\32xl\\:pt-8{padding-top:2rem}.\\32xl\\:pt-80{padding-top:20rem}.\\32xl\\:pt-9{padding-top:2.25rem}.\\32xl\\:pt-96{padding-top:24rem}}@media (prefers-color-scheme: dark){.dark\\:text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}}`,v3=function(r){return`<!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><style>${x3}</style></head><body>${r}</body></html>`},k3={class:"w-full inset-x-0 h-[90vh] bg-white overflow-x-scroll lg:pt-2 pt-2"},E3={class:"flex gap-4 flex-col divide-y divide-gray-300"},C3={class:"mb-4 pb-8 border-b border-myPrimbryLightGrayColor"},S3={class:"px-2"},N3={class:"mt-8"},M3={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},B3={class:"overflow-x-auto"},T3={class:"min-w-full"},O3={class:"bg-white divide-y divide-gray-200"},V3={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},P3={class:"min-w-[30rem] w-max"},A3={class:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800"},D3={key:0,class:"mt-4"},I3={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},L3={class:"overflow-x-auto"},R3={class:"min-w-full"},_3={class:"bg-white divide-y divide-gray-200"},z3={key:0},F3={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},H3={class:"min-w-[30rem] w-max"},j3={key:1},W3={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},q3={class:"min-w-[30rem] w-max"},U3={key:1,class:"mt-8"},K3={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},G3={class:"overflow-x-auto"},J3={class:"min-w-full"},Y3={class:"bg-white divide-y divide-gray-200"},Q3={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},X3={class:"min-w-[30rem] w-max"},Z3={key:0,class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},$3={class:"min-w-[30rem] w-max"},ek={class:"flex items-center space-x-3"},tk=["src"],rk={key:0,class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},ok={class:"min-w-[30rem] w-max"},nk={key:2,class:"mt-8"},ik={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},ak={class:"overflow-x-auto"},sk={class:"min-w-full"},lk={class:"bg-white divide-y divide-gray-200"},dk={key:0},ck={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},pk={class:"min-w-[30rem] w-max"},uk={key:1},mk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},hk={class:"min-w-[30rem] w-max"},gk={key:2},fk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},bk={class:"min-w-[30rem] w-max"},yk={key:3},wk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},xk={class:"min-w-[30rem] w-max"},vk={key:3,class:"mt-8"},kk={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},Ek={class:"overflow-x-auto"},Ck={class:"min-w-full"},Sk={class:"bg-white divide-y divide-gray-200"},Nk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},Mk={class:"min-w-[30rem] w-max"},Bk={class:"flex items-center space-x-3"},Tk=["src"],Ok={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},Vk={class:"min-w-[30rem] w-max"},Pk={class:"flex items-center space-x-3"},Ak={class:"border-r border-gray-200 pr-6"},Dk={class:"flex items-center space-x-3"},Ik={class:"whitespace-nowrap"},Lk={key:4,class:"mt-8"},Rk={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},_k={class:"overflow-x-auto"},zk={class:"w-max"},Fk={class:"bg-white divide-y divide-gray-200"},Hk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},jk={class:"min-w-[30rem] w-max"},Wk={key:0},qk={key:1},Uk={key:0},Kk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},Gk={class:"min-w-[30rem] w-max"},Jk={class:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium"},Yk={class:"mt-4 mb-4 py-8 border-b border-myPrimbryLightGrayColor"},Qk={class:"mt-4 whitespace-pre-wrap text-white overflow-hidden bg-gray-900"},Xk={class:"px-4 pb-8 pt-4 text-white text-xs break-all"},Zk={class:"myPrimaryParagraph text-xs text-white"},$k={__name:"PageBuilderSettings",setup(r){const e="v3.2.72",t=re;new se(t);const o=s.ref(null),n=s.computed(()=>t.getConfigPageBuilder),i=s.computed(()=>t.getComponents),a=function(d,c){const p=document.createElement("a");p.setAttribute("href","data:text/html;charset=utf-8,"+encodeURIComponent(v3(c))),p.setAttribute("download",d),p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p)},l=function(){o.value=i.value.map(d=>d.html_code),a("downloaded_html.html",o.value.join(""))};return(d,c)=>{var p,u,m,h,g,f,b,w,C,k,y,S,E,N,O,A;return s.openBlock(),s.createElementBlock("div",k3,[s.createElementVNode("div",E3,[s.createElementVNode("div",C3,[c[26]||(c[26]=s.createElementVNode("div",{class:"flex items-left flex-col gap-1"},[s.createElementVNode("h3",{class:"myQuaternaryHeader"},"Configuration Overview"),s.createElementVNode("p",{class:"myPrimaryParagraph text-xs"}," A summary of current user preferences, application settings, and system metadata including UI theme, language, saved components, and logo configuration. ")],-1)),s.createElementVNode("div",S3,[s.createElementVNode("div",N3,[c[2]||(c[2]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"Version Information",-1)),s.createElementVNode("div",M3,[s.createElementVNode("div",B3,[s.createElementVNode("table",T3,[c[1]||(c[1]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Component "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Version ")])],-1)),s.createElementVNode("tbody",O3,[s.createElementVNode("tr",null,[c[0]||(c[0]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Page Builder")],-1)),s.createElementVNode("td",V3,[s.createElementVNode("div",P3,[s.createElementVNode("span",A3,s.toDisplayString(s.unref(e)),1)])])])])])])])]),(p=n.value)!=null&&p.resourceData&&!s.unref(co)(n.value.resourceData)?(s.openBlock(),s.createElementBlock("div",D3,[c[6]||(c[6]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"Resource Data",-1)),s.createElementVNode("div",I3,[s.createElementVNode("div",L3,[s.createElementVNode("table",R3,[c[5]||(c[5]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Property "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Value ")])],-1)),s.createElementVNode("tbody",_3,[(m=(u=n.value)==null?void 0:u.resourceData)!=null&&m.title?(s.openBlock(),s.createElementBlock("tr",z3,[c[3]||(c[3]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Title")],-1)),s.createElementVNode("td",F3,[s.createElementVNode("div",H3,s.toDisplayString(n.value.resourceData.title),1)])])):s.createCommentVNode("",!0),(g=(h=n.value)==null?void 0:h.resourceData)!=null&&g.id?(s.openBlock(),s.createElementBlock("tr",j3,[c[4]||(c[4]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"ID")],-1)),s.createElementVNode("td",W3,[s.createElementVNode("div",q3,s.toDisplayString(n.value.resourceData.id),1)])])):s.createCommentVNode("",!0)])])])])])):s.createCommentVNode("",!0),(f=n.value)!=null&&f.userForPageBuilder&&!s.unref(co)(n.value.userForPageBuilder)?(s.openBlock(),s.createElementBlock("div",U3,[c[11]||(c[11]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"User Information",-1)),s.createElementVNode("div",K3,[s.createElementVNode("div",G3,[s.createElementVNode("table",J3,[c[10]||(c[10]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Property "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Value ")])],-1)),s.createElementVNode("tbody",Y3,[s.createElementVNode("tr",null,[c[7]||(c[7]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"User Name")],-1)),s.createElementVNode("td",Q3,[s.createElementVNode("div",X3,s.toDisplayString(n.value.userForPageBuilder.name),1)])]),s.createElementVNode("tr",null,[c[8]||(c[8]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Image")],-1)),n.value.userForPageBuilder.image&&typeof n.value.userForPageBuilder.image=="string"&&n.value.userForPageBuilder.image.length>2?(s.openBlock(),s.createElementBlock("td",Z3,[s.createElementVNode("div",$3,[s.createElementVNode("div",ek,[s.createElementVNode("img",{class:"block inset-0 object-top h-10 min-h-10 max-h-10 w-10 min-w-10 max-w-10 object-cover rounded-full",src:n.value.userForPageBuilder.image,alt:"image"},null,8,tk)])])])):s.createCommentVNode("",!0)]),s.createElementVNode("tr",null,[c[9]||(c[9]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Image URL")],-1)),n.value.userForPageBuilder.image&&typeof n.value.userForPageBuilder.image=="string"&&n.value.userForPageBuilder.image.length>2?(s.openBlock(),s.createElementBlock("td",rk,[s.createElementVNode("div",ok,s.toDisplayString(n.value.userForPageBuilder.image),1)])):s.createCommentVNode("",!0)])])])])])])):s.createCommentVNode("",!0),(b=n.value)!=null&&b.userSettings&&!s.unref(co)(n.value.userSettings)?(s.openBlock(),s.createElementBlock("div",nk,[c[17]||(c[17]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"User Settings",-1)),s.createElementVNode("div",ik,[s.createElementVNode("div",ak,[s.createElementVNode("table",sk,[c[16]||(c[16]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Setting "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Value ")])],-1)),s.createElementVNode("tbody",lk,[(C=(w=n.value)==null?void 0:w.userSettings)!=null&&C.theme?(s.openBlock(),s.createElementBlock("tr",dk,[c[12]||(c[12]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Theme")],-1)),s.createElementVNode("td",ck,[s.createElementVNode("div",pk,s.toDisplayString(n.value.userSettings.theme),1)])])):s.createCommentVNode("",!0),(y=(k=n.value)==null?void 0:k.userSettings)!=null&&y.language?(s.openBlock(),s.createElementBlock("tr",uk,[c[13]||(c[13]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Language")],-1)),s.createElementVNode("td",mk,[s.createElementVNode("div",hk,s.toDisplayString(n.value.userSettings.language),1)])])):s.createCommentVNode("",!0),((E=(S=n.value)==null?void 0:S.userSettings)==null?void 0:E.autoSave)!==void 0?(s.openBlock(),s.createElementBlock("tr",gk,[c[14]||(c[14]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Auto Save")],-1)),s.createElementVNode("td",fk,[s.createElementVNode("div",bk,[s.createElementVNode("span",{class:s.normalizeClass(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",n.value.userSettings.autoSave?"bg-green-100 text-green-800":"bg-red-100 text-red-800"])},s.toDisplayString(n.value.userSettings.autoSave?"Enabled":"Disabled"),3)])])])):s.createCommentVNode("",!0),((O=(N=n.value)==null?void 0:N.userSettings)==null?void 0:O.notifications)!==void 0?(s.openBlock(),s.createElementBlock("tr",yk,[c[15]||(c[15]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Notifications")],-1)),s.createElementVNode("td",wk,[s.createElementVNode("div",xk,[s.createElementVNode("span",{class:s.normalizeClass(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",n.value.userSettings.notifications?"bg-green-100 text-green-800":"bg-red-100 text-red-800"])},s.toDisplayString(n.value.userSettings.notifications?"Enabled":"Disabled"),3)])])])):s.createCommentVNode("",!0)])])])])])):s.createCommentVNode("",!0),n.value.pageBuilderLogo&&!s.unref(co)(n.value.pageBuilderLogo)?(s.openBlock(),s.createElementBlock("div",vk,[c[21]||(c[21]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"Logo Configuration",-1)),s.createElementVNode("div",kk,[s.createElementVNode("div",Ek,[s.createElementVNode("table",Ck,[c[20]||(c[20]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Property "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Value ")])],-1)),s.createElementVNode("tbody",Sk,[s.createElementVNode("tr",null,[c[18]||(c[18]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Logo")],-1)),s.createElementVNode("td",Nk,[s.createElementVNode("div",Mk,[s.createElementVNode("div",Bk,[s.createElementVNode("img",{class:"h-4",src:n.value.pageBuilderLogo.src,alt:"Logo"},null,8,Tk)])])])]),s.createElementVNode("tr",null,[c[19]||(c[19]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Logo URL")],-1)),s.createElementVNode("td",Ok,[s.createElementVNode("div",Vk,[s.createElementVNode("div",Pk,[s.createElementVNode("div",Ak,[s.createElementVNode("div",Dk,[s.createElementVNode("span",Ik,s.toDisplayString(n.value.pageBuilderLogo.src),1)])])])])])])])])])])])):s.createCommentVNode("",!0),(A=n.value)!=null&&A.updateOrCreate&&!s.unref(co)(n.value.updateOrCreate)?(s.openBlock(),s.createElementBlock("div",Lk,[c[25]||(c[25]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"Form Type",-1)),s.createElementVNode("div",Rk,[s.createElementVNode("div",_k,[s.createElementVNode("table",zk,[c[24]||(c[24]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Mode "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Description ")])],-1)),s.createElementVNode("tbody",Fk,[s.createElementVNode("tr",null,[c[22]||(c[22]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Form Type")],-1)),s.createElementVNode("td",Hk,[s.createElementVNode("div",jk,[s.createElementVNode("span",{class:s.normalizeClass(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",n.value.updateOrCreate==="create"?"bg-green-100 text-green-800":"bg-blue-100 text-blue-800"])},[n.value&&n.value.updateOrCreate.formType==="create"?(s.openBlock(),s.createElementBlock("span",Wk,s.toDisplayString(n.value.updateOrCreate.formType),1)):s.createCommentVNode("",!0),n.value&&n.value.updateOrCreate.formType==="update"?(s.openBlock(),s.createElementBlock("span",qk,s.toDisplayString(n.value.updateOrCreate.formType),1)):s.createCommentVNode("",!0)],2)])])]),n.value.updateOrCreate.formName&&n.value.updateOrCreate.formName.length>0?(s.openBlock(),s.createElementBlock("tr",Uk,[c[23]||(c[23]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Form Name")],-1)),s.createElementVNode("td",Kk,[s.createElementVNode("div",Gk,[s.createElementVNode("span",Jk,s.toDisplayString(n.value.updateOrCreate.formName),1)])])])):s.createCommentVNode("",!0)])])])])])):s.createCommentVNode("",!0)])])]),s.createElementVNode("div",{class:"mt-4 mb-4 py-8 border-b border-myPrimbryLightGrayColor"},[c[27]||(c[27]=s.createElementVNode("div",{class:"flex items-left flex-col gap-1"},[s.createElementVNode("h3",{class:"myQuaternaryHeader"},"Download Page as HTML"),s.createElementVNode("p",{class:"myPrimaryParagraph text-xs"},"Download current page layout.")],-1)),s.createElementVNode("div",{class:"mt-4"},[s.createElementVNode("button",{onClick:l,type:"button",class:"myPrimaryButton"}," Download HTML file ")])]),s.createElementVNode("div",Yk,[c[29]||(c[29]=s.createElementVNode("div",{class:"flex items-left flex-col gap-1"},[s.createElementVNode("h3",{class:"myQuaternaryHeader"},"Complete Configuration Overview"),s.createElementVNode("p",{class:"myPrimaryParagraph text-xs"}," omplete configuration object currently used by the Page Builder. It includes information about the user, form behavior, branding settings, and other context-specific data needed for rendering and managing the builder environment. ")],-1)),s.createElementVNode("div",Qk,[c[28]||(c[28]=s.createElementVNode("div",{class:"flex bg-gray-800/40 ring-1 ring-white/5"},[s.createElementVNode("div",{class:"-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor"},[s.createElementVNode("div",{class:"px-4 py-4 text-white"},"Configuration")])],-1)),s.createElementVNode("div",Xk,[s.createElementVNode("p",Zk," config: "+s.toDisplayString(JSON.stringify(n.value,null,4)),1)])])])])}}},e4={class:"w-full inset-x-0 h-[90vh] bg-white overflow-x-scroll lg:pt-2 pt-2"},t4={class:"flex items-left flex-col myPrimaryGap border-myPrimaryMediumGrayColor"},r4={class:"text-gray-100 overflow-hidden bg-stone-800"},o4={class:"px-4 pb-8 pt-4 text-gray-100 text-xs"},n4={class:"text-xs pb-2"},i4={class:"text-xs pb-2"},a4={class:"text-xs pb-2"},s4={class:"overflow-hidden bg-stone-800"},l4={class:"flex bg-stone-800 ring-1 ring-white/5"},d4={class:"-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor"},c4={class:"px-4 pb-8 pt-4 text-gray-100 text-xs break-all"},p4={key:0},u4={key:0},m4={class:"pb-2 text-xs"},h4={key:1,class:"overflow-hidden border border-gray-100 mb-6"},g4={class:"bg-stone-800 pt-4 pb-1 border-b border-gray-200"},f4={class:"overflow-x-auto"},b4={class:"min-w-full"},y4={class:"bg-stone-800 divide-y divide-gray-200"},w4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal border-b"},x4={class:"overflow-x-auto"},v4={class:"min-w-full"},k4={class:"bg-stone-800 divide-y divide-gray-200"},E4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal whitespace-pre-line"},C4={class:"overflow-x-auto"},S4={class:"min-w-full"},N4={class:"bg-stone-800 divide-y divide-gray-200"},M4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},B4={key:1},T4={key:0},O4={class:"pb-2 text-xs"},V4={key:1,class:"overflow-hidden border border-gray-100 mb-6"},P4={class:"bg-stone-800 pt-4 pb-1 border-b border-gray-200"},A4={class:"overflow-x-auto"},D4={class:"min-w-full"},I4={class:"bg-stone-800 divide-y divide-gray-200"},L4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},R4={class:"overflow-x-auto"},_4={class:"min-w-full"},z4={class:"bg-stone-800 divide-y divide-gray-200"},F4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal whitespace-pre-line"},H4={class:"overflow-x-auto"},j4={class:"min-w-full"},W4={class:"bg-stone-800 divide-y divide-gray-200"},q4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},U4={class:"text-xs text-gray-100 whitespace-pre-lines font-sans flex items-start justify-left"},K4=["innerHTML"],G4={key:2},J4={class:"pb-2 text-xs"},Y4={key:0},Q4={class:"bg-stone-800 pt-4 pb-1 border-b border-gray-200"},X4={class:"overflow-x-auto"},Z4={class:"min-w-full"},$4={class:"bg-stone-800 divide-y divide-gray-200"},e6={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},t6={class:"overflow-x-auto"},r6={class:"min-w-full"},o6={class:"bg-stone-800 divide-y divide-gray-200"},n6={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal whitespace-pre-line"},i6={class:"overflow-x-auto"},a6={class:"min-w-full"},s6={class:"bg-stone-800 divide-y divide-gray-200"},l6={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},d6={class:"text-xs text-gray-100 whitespace-pre-lines font-sans flex items-start justify-left"},c6=["innerHTML"],p6={__name:"AdvancedPageBuilderSettings",setup(r){const e=re,t=s.computed(()=>e.getElement),o=s.computed(()=>e.getComponent),n=s.computed(()=>e.getComponents),i=s.ref("element"),a=function(d){i.value=d};function l(d){return d?d.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"):""}return(d,c)=>{var p,u,m,h,g,f,b,w,C,k;return s.openBlock(),s.createElementBlock("div",e4,[s.createElementVNode("div",t4,[c[22]||(c[22]=s.createElementVNode("p",{class:"myPrimaryParagraph"}," Overview of Selected Element, Component, and Components. This section provides real-time updates based on your HTML selection. ",-1)),s.createElementVNode("div",null,[c[7]||(c[7]=s.createElementVNode("h4",{class:"myPrimaryParagraph text-xs pb-2"},"Types",-1)),s.createElementVNode("div",r4,[c[6]||(c[6]=s.createElementVNode("div",{class:"flex bg-stone-800 ring-1 ring-white/5"},[s.createElementVNode("div",{class:"-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor"},[s.createElementVNode("div",{class:"px-4 py-4 text-gray-100"},"Types")])],-1)),s.createElementVNode("div",o4,[s.createElementVNode("p",n4,[c[3]||(c[3]=s.createElementVNode("span",null,"Element type: ",-1)),s.createElementVNode("span",null,s.toDisplayString(typeof t.value),1)]),s.createElementVNode("p",i4,[c[4]||(c[4]=s.createElementVNode("span",null,"Component type: ",-1)),s.createTextVNode(" "+s.toDisplayString(typeof o.value),1)]),s.createElementVNode("p",a4,[c[5]||(c[5]=s.createElementVNode("span",null,"Components: ",-1)),s.createElementVNode("span",null,s.toDisplayString(Array.isArray(n.value)===!0?"array":typeof n.value),1)])])])]),s.createElementVNode("div",null,[c[21]||(c[21]=s.createElementVNode("h4",{class:"myPrimaryParagraph text-xs pb-2"},"Content",-1)),s.createElementVNode("div",s4,[s.createElementVNode("div",l4,[s.createElementVNode("div",d4,[s.createElementVNode("div",{onClick:c[0]||(c[0]=y=>a("element")),class:s.normalizeClass(["px-4 py-4 cursor-pointer",[i.value==="element"?"text-gray-100":""]])}," Element ",2),s.createElementVNode("div",{onClick:c[1]||(c[1]=y=>a("component")),class:s.normalizeClass(["px-4 py-4 cursor-pointer",[i.value==="component"?"text-gray-100":""]])}," Component ",2),s.createElementVNode("div",{onClick:c[2]||(c[2]=y=>a("components")),class:s.normalizeClass(["px-4 py-4 cursor-pointer",[i.value==="components"?"text-gray-100":""]])}," Components "+s.toDisplayString(Array.isArray(n.value)&&n.value.length),3)])]),s.createElementVNode("div",c4,[i.value==="element"?(s.openBlock(),s.createElementBlock("div",p4,[o.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",u4,[s.createElementVNode("p",m4,s.toDisplayString(o.value===null?"No Element selected":typeof o.value),1)])),t.value?(s.openBlock(),s.createElementBlock("div",h4,[s.createElementVNode("div",g4,[s.createElementVNode("div",f4,[s.createElementVNode("table",b4,[c[8]||(c[8]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," Selected HTML: ")])],-1)),s.createElementVNode("tbody",y4,[s.createElementVNode("tr",null,[s.createElementVNode("td",w4,s.toDisplayString((p=t.value)==null?void 0:p.outerHTML),1)])])])]),s.createElementVNode("div",x4,[s.createElementVNode("table",v4,[c[9]||(c[9]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," Element src: ")])],-1)),s.createElementVNode("tbody",k4,[s.createElementVNode("tr",null,[s.createElementVNode("td",E4,s.toDisplayString((u=t.value)!=null&&u.src?(m=t.value)==null?void 0:m.src:typeof((h=t.value)==null?void 0:h.src)),1)])])])])]),s.createElementVNode("div",C4,[s.createElementVNode("table",S4,[c[10]||(c[10]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," Element classes: ")])],-1)),s.createElementVNode("tbody",N4,[s.createElementVNode("tr",null,[s.createElementVNode("td",M4,s.toDisplayString((g=t.value)!=null&&g.classList?(f=t.value)==null?void 0:f.classList:typeof((b=t.value)==null?void 0:b.classList)),1)])])])])])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),i.value==="component"?(s.openBlock(),s.createElementBlock("div",B4,[o.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",T4,[s.createElementVNode("p",O4,s.toDisplayString(o.value===null?"No Component selected":typeof o.value),1)])),o.value?(s.openBlock(),s.createElementBlock("div",V4,[s.createElementVNode("div",P4,[s.createElementVNode("div",A4,[s.createElementVNode("table",D4,[c[11]||(c[11]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},"ID:")])],-1)),s.createElementVNode("tbody",I4,[s.createElementVNode("tr",null,[s.createElementVNode("td",L4,s.toDisplayString((w=o.value)==null?void 0:w.id),1)])])])]),s.createElementVNode("div",R4,[s.createElementVNode("table",_4,[c[12]||(c[12]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal border-t"}," Title: ")])],-1)),s.createElementVNode("tbody",z4,[s.createElementVNode("tr",null,[s.createElementVNode("td",F4,s.toDisplayString((C=o.value)==null?void 0:C.title),1)])])])])]),s.createElementVNode("div",H4,[s.createElementVNode("table",j4,[c[15]||(c[15]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," HTML Code: ")])],-1)),s.createElementVNode("tbody",W4,[s.createElementVNode("tr",null,[s.createElementVNode("td",q4,[s.createElementVNode("pre",U4,[c[13]||(c[13]=s.createTextVNode(" ")),s.createElementVNode("code",{class:"font-sans",innerHTML:l((k=o.value)==null?void 0:k.html_code)},null,8,K4),c[14]||(c[14]=s.createTextVNode(`
544
+ </section>`,cover_image:null}]}}];function Pm(){const r=s.inject("closeAddComponentModal",null),e=s.inject("closeMediaLibraryModal",null);return{closeAddComponentModal:r||(()=>{console.warn("closeAddComponentModal function not available. Make sure you are using this within a PageBuilder context.")}),closeMediaLibraryModal:e||(()=>{console.warn("closeMediaLibraryModal function not available. Make sure you are using this within a MediaLibraryModal context.")})}}const Bv={class:"mb-8"},Tv={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4"},Ov=["onClick"],Vv={class:"max-h-72 cursor-pointer object-contain bg-white mx-auto"},Pv={class:"myPrimaryParagraph text-base font-medium"},Av={class:"myPrimaryParagraph text-xs font-normal pt-2"},Dv={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4"},Iv=["onClick"],Lv={class:"overflow-hidden whitespace-pre-line flex-1 h-auto border-b border-gray-200 lg:py-10 py-8 px-2"},Rv=["innerHTML"],_v={class:"p-3"},zv={class:"myPrimaryParagraph text-sm font-normal"},Fv=Cl(s.defineComponent({__name:"DefaultBuilderComponents",setup(r){const{closeAddComponentModal:e}=Pm(),t=re,o=new se(t),n=async function(l){await o.addComponent(l),e()},i=function(l){return{id:null,html_code:l.html_code,title:l.title}},a=l=>Nv(l);return(l,d)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",Bv,[d[0]||(d[0]=s.createElementVNode("h3",{class:"myQuaternaryHeader mb-4"},"Helper Components",-1)),s.createElementVNode("div",Tv,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Cv),c=>(s.openBlock(),s.createElementBlock("div",{key:c.title,class:"border border-gray-200 overflow-hidden hover:border-myPrimaryLinkColor duration-100 cursor-pointer p-4",onClick:p=>n(c)},[s.createElementVNode("div",Vv,[s.createCommentVNode("",!0),s.createElementVNode("h4",Pv,s.toDisplayString(c.title),1)]),s.createElementVNode("div",Av," Click to add "+s.toDisplayString(c.title.toLowerCase())+" component ",1)],8,Ov))),128))])]),s.createElementVNode("div",null,[d[2]||(d[2]=s.createElementVNode("h3",{class:"myQuaternaryHeader mb-4"},"Layout Components",-1)),s.createElementVNode("div",Dv,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Mv)[0].components.data,c=>(s.openBlock(),s.createElementBlock("div",{key:c.title,class:"border border-gray-200 overflow-hidden hover:border-myPrimaryLinkColor duration-100 cursor-pointer",onClick:p=>n(i(c))},[s.createElementVNode("div",Lv,[s.createElementVNode("div",{class:"max-h-72 cursor-pointer bg-white mx-auto flex items-center justify-center",innerHTML:a(c.title)},null,8,Rv)]),s.createElementVNode("div",_v,[s.createElementVNode("h4",zv,s.toDisplayString(c.title),1),d[1]||(d[1]=s.createElementVNode("div",{class:"myPrimaryParagraph text-xs font-normal pt-2"},"Click to add component",-1))])],8,Iv))),128))])])]))}}),[["__scopeId","data-v-f343d494"]]),Hv={class:"w-full inset-x-0 bg-white overflow-x-scroll lg:pt-2 pt-2"},jv={key:0},Wv={key:1,class:"h-[75vh]"},qv={class:"py-4 flex sm:justify-end justify-center border-t border-gray-200 mt-4"},Uv={class:"sm:w-3/6 w-full px-2 my-2 flex gap-2 justify-end"},Kv={__name:"BuilderComponents",props:{firstButtonText:{required:!0},title:{required:!0},show:{type:Boolean,default:!1,required:!0},CustomBuilderComponents:{type:Object,default:null}},emits:["firstModalButtonSearchComponentsFunction"],setup(r,{emit:e}){const t=e,o=function(){t("firstModalButtonSearchComponentsFunction")};return(n,i)=>(s.openBlock(),s.createBlock(Dr,{title:r.title,maxWidth:"7xl",showModalBuilder:r.show,onCloseMainModalBuilder:o,minHeight:"",maxHeight:""},{default:s.withCtx(()=>[s.createElementVNode("div",Hv,[s.createElementVNode("div",null,[r.CustomBuilderComponents?(s.openBlock(),s.createElementBlock("div",jv,[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(r.CustomBuilderComponents)))])):(s.openBlock(),s.createElementBlock("div",Wv,[s.createVNode(Fv)]))])]),s.createElementVNode("div",qv,[s.createElementVNode("div",Uv,[r.firstButtonText?(s.openBlock(),s.createElementBlock("button",{key:0,ref:"firstButtonRef",class:"mySecondaryButton",type:"button",onClick:o},s.toDisplayString(r.firstButtonText),513)):s.createCommentVNode("",!0)])])]),_:1},8,["title","showModalBuilder"]))}},Gv={setup(){return{expanded:s.ref(!1)}}},Jv={class:"myPrimaryParagraph font-medium my-0 py-0"},Yv={key:0,class:"material-symbols-outlined"},Qv={key:1,class:"material-symbols-outlined"};function Xv(r,e,t,o,n,i){return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["flex flex-col border border-gray-400",{"pb-8":o.expanded}])},[s.createElementVNode("div",{class:"flex flex-row justify-between items-center pl-3 pr-3 py-5 cursor-pointer duration-200 hover:bg-myPrimaryLightGrayColor border-b border-gray-200",onClick:e[0]||(e[0]=a=>o.expanded=!o.expanded)},[s.createElementVNode("p",Jv,[s.renderSlot(r.$slots,"title")]),o.expanded?(s.openBlock(),s.createElementBlock("span",Yv," keyboard_arrow_down ")):s.createCommentVNode("",!0),o.expanded?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("span",Qv," chevron_right "))]),s.createElementVNode("div",{class:s.normalizeClass([[o.expanded?"block":"hidden"],"px-4 ease-linear duration-75"])},[s.renderSlot(r.$slots,"content")],2)],2)}const lo=Cl(Gv,[["render",Xv]]),Zv={class:"flex flex-row flex-wrap gap-2 mt-2 mb-4"},$v=["onClick"],e5={class:"flex items-center gap-1"},t5={class:"mr-1"},r5={class:"flex gap-2 item-center flex-col"},o5={class:"flex gap-2 item-center"},n5={class:"mt-1 relative flex items-center w-full border myPrimaryInput py-0 p-0"},i5={__name:"ClassEditor",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getCurrentClasses);s.watch(n,l=>{o.value=l},{immediate:!0});const i=s.ref(""),a=async function(){t.handleAddClasses(i.value),await t.handlePageBuilderMethods(),i.value=""};return(l,d)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>d[2]||(d[2]=[s.createTextVNode("Generated CSS")])),content:s.withCtx(()=>[s.createElementVNode("div",Zv,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,c=>(s.openBlock(),s.createElementBlock("div",{key:c,class:"myPrimaryTag cursor-pointer hover:bg-myPrimaryErrorColor hover:text-white text-xs py-2 font-medium",onClick:async()=>{s.unref(t).handleRemoveClasses(c),await s.unref(t).handlePageBuilderMethods()}},[s.createElementVNode("div",e5,[s.createElementVNode("span",t5,s.toDisplayString(c),1)])],8,$v))),128))]),s.createElementVNode("div",r5,[s.createElementVNode("div",o5,[s.createElementVNode("div",n5,[s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=c=>i.value=c),type:"text",placeholder:"Type class",onKeydown:d[1]||(d[1]=s.withKeys(c=>a(),["enter"])),autocomplete:"off",class:"myPrimaryInput border-none rounded-r-none ml-0 w-full"},null,544),[[s.vModelText,i.value]]),d[3]||(d[3]=s.createElementVNode("div",{class:"border border-gray-200 border-none rounded flex items-center justify-center h-full w-8"},[s.createElementVNode("kbd",{class:"myPrimaryParagraph text-gray-400 border-none"}," ⏎ ")],-1))])]),d[4]||(d[4]=s.createElementVNode("p",{class:"myPrimaryInputError"},null,-1))])]),_:1}))}};function a5(r){return new Promise((e,t)=>{const o=new window.Image;o.onload=e,o.onerror=t,o.src=r})}const s5=["src"],l5={__name:"ImageEditor",setup(r){const e=re,t=s.inject("CustomMediaComponent");new se(e),s.ref(!1);const o=s.ref(!1),n=s.ref(!1),i=s.ref(""),a=s.ref(""),l=s.ref(""),d=s.ref(null),c=s.ref(null),p=s.ref(null),u=s.computed(()=>(e.getBasePrimaryImage&&h(e.getBasePrimaryImage),e.getBasePrimaryImage));s.computed(()=>e.getElement);const m=function(){n.value=!0,i.value="Media Library",a.value=null,l.value="Close",d.value="Select image",p.value=function(){n.value=!1}},h=async function(g){o.value=!0,g&&typeof g=="string"&&g.length>2&&(await a5(g),await Fl(200),o.value=!1)};return(g,f)=>(s.openBlock(),s.createElementBlock("div",null,[s.withDirectives(s.createElementVNode("div",null,f[0]||(f[0]=[s.createElementVNode("div",{class:"flex items-center justify-center mt-4 min-h-80"},[s.createElementVNode("div",{class:"inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"},[s.createElementVNode("span",{class:"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]"},"Loading...")])],-1)]),512),[[s.vShow,o.value]]),s.withDirectives(s.createElementVNode("div",null,[s.createElementVNode("img",{class:"object-cover object-center w-full cursor-pointer",src:u.value,onClick:m,alt:"image"},null,8,s5)],512),[[s.vShow,u.value&&!o.value]]),s.createVNode(hm,{open:n.value,title:i.value,description:a.value,firstButtonText:l.value,secondButtonText:d.value,thirdButtonText:c.value,customMediaComponent:s.unref(t),onFirstMediaButtonFunction:p.value},null,8,["open","title","description","firstButtonText","secondButtonText","thirdButtonText","customMediaComponent","onFirstMediaButtonFunction"])]))}},d5={class:"my-2 py-2"},c5={class:"relative"},p5={class:"flex items-center gap-2"},u5={key:0},m5={class:"flex items-center"},h5={key:0,class:"aspect-square w-6 h-6"},g5={key:2,class:"ml-3"},f5={key:3,class:"ml-3"},b5={__name:"ManageBackgroundOpacity",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getBackgroundOpacity);return s.watch(n,async i=>{o.value=i,await t.handlePageBuilderMethods()},{immediate:!0}),(i,a)=>(s.openBlock(),s.createElementBlock("div",d5,[a[4]||(a[4]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Background opacity",-1)),s.createVNode(s.unref(pn),{as:"div",modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l)},{default:s.withCtx(()=>[s.createElementVNode("div",c5,[s.createVNode(s.unref(un),{class:"myPrimarySelect"},{default:s.withCtx(()=>[s.createElementVNode("span",p5,[o.value==="none"?(s.openBlock(),s.createElementBlock("div",u5,a[1]||(a[1]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),o.value!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`${o.value}`])},null,2)):s.createCommentVNode("",!0),s.createElementVNode("span",{class:s.normalizeClass(["block truncate",[(o.value!=="none","")]])},s.toDisplayString(o.value==="none"?"Transparent":o.value),3)]),a[2]||(a[2]=s.createElementVNode("span",{class:"pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," keyboard_arrow_down ")],-1))]),_:1,__:[2]}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(kn).backgroundOpacities,l=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:d=>s.unref(t).handleBackgroundOpacity(l),key:l,value:l},{default:s.withCtx(({active:d})=>[s.createElementVNode("li",{class:s.normalizeClass([d?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[s.createElementVNode("div",m5,[l==="none"?(s.openBlock(),s.createElementBlock("div",h5,a[3]||(a[3]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`${l}`])},null,2)):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("span",g5,s.toDisplayString(l),1)):s.createCommentVNode("",!0),l==="none"?(s.openBlock(),s.createElementBlock("span",f5,"Transparent")):s.createCommentVNode("",!0)])],2)]),_:2},1032,["onClick","value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"])]))}},y5={class:"my-2 py-2"},w5={class:"relative"},x5={class:"flex items-center gap-2"},v5={key:0},k5={class:"flex items-center"},E5={key:0},C5={key:2,class:"ml-3"},S5={key:3,class:"ml-3"},N5={__name:"ManageOpacity",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.computed(()=>e.getOpacity);return s.watch(n,async i=>{o.value=i,await t.handlePageBuilderMethods()},{immediate:!0}),(i,a)=>(s.openBlock(),s.createElementBlock("div",y5,[a[4]||(a[4]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Opacity",-1)),s.createVNode(s.unref(pn),{as:"div",modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l)},{default:s.withCtx(()=>[s.createElementVNode("div",w5,[s.createVNode(s.unref(un),{class:"myPrimarySelect"},{default:s.withCtx(()=>[s.createElementVNode("span",x5,[o.value==="none"?(s.openBlock(),s.createElementBlock("div",v5,a[1]||(a[1]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),o.value!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`${o.value}`])},null,2)):s.createCommentVNode("",!0),s.createElementVNode("span",{class:s.normalizeClass(["block truncate",[(o.value!=="none","")]])},s.toDisplayString(o.value==="none"?"Transparent":o.value),3)]),a[2]||(a[2]=s.createElementVNode("span",{class:"pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," keyboard_arrow_down ")],-1))]),_:1,__:[2]}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(kn).opacities,l=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:d=>s.unref(t).handleOpacity(l),key:l,value:l},{default:s.withCtx(({active:d})=>[s.createElementVNode("li",{class:s.normalizeClass([d?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[s.createElementVNode("div",k5,[l==="none"?(s.openBlock(),s.createElementBlock("div",E5,a[3]||(a[3]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`${l}`])},null,2)):s.createCommentVNode("",!0),l==="none"?(s.openBlock(),s.createElementBlock("span",C5,"Transparent")):s.createCommentVNode("",!0),l!=="none"?(s.openBlock(),s.createElementBlock("span",S5,s.toDisplayString(l),1)):s.createCommentVNode("",!0)])],2)]),_:2},1032,["onClick","value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"])]))}},M5={__name:"OpacityEditor",setup(r){return(e,t)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>t[0]||(t[0]=[s.createTextVNode("Opacity settings")])),content:s.withCtx(()=>[t[1]||(t[1]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Opacity",-1)),s.createVNode(N5),s.createVNode(b5)]),_:1}))}},B5={class:"my-2 py-2"},T5={class:"my-2 py-2"},O5={class:"my-2 py-2"},V5={class:"my-2 py-2"},P5={__name:"PaddingPlusMargin",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.ref(null),i=s.ref(null),a=s.ref(null),l=s.computed(()=>e.getFontVerticalPadding),d=s.computed(()=>e.getFontHorizontalPadding),c=s.computed(()=>e.getFontVerticalMargin),p=s.computed(()=>e.getFontHorizontalMargin);return s.watch(l,async u=>{o.value=u,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(d,async u=>{n.value=u,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(c,async u=>{i.value=u,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(p,async u=>{a.value=u,await t.handlePageBuilderMethods()},{immediate:!0}),(u,m)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>m[8]||(m[8]=[s.createTextVNode("Padding & Margin")])),content:s.withCtx(()=>[m[17]||(m[17]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Padding",-1)),s.createElementVNode("div",B5,[m[10]||(m[10]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Padding Y-axis ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":m[0]||(m[0]=h=>o.value=h),class:"myPrimarySelect",onChange:m[1]||(m[1]=h=>s.unref(t).handleVerticalPadding(o.value))},[m[9]||(m[9]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Rt).verticalPadding,h=>(s.openBlock(),s.createElementBlock("option",{key:h},s.toDisplayString(h),1))),128))],544),[[s.vModelSelect,o.value]])]),s.createElementVNode("div",T5,[m[12]||(m[12]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Padding X-axis ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":m[2]||(m[2]=h=>n.value=h),class:"myPrimarySelect",onChange:m[3]||(m[3]=h=>s.unref(t).handleHorizontalPadding(n.value))},[m[11]||(m[11]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Rt).horizontalPadding,h=>(s.openBlock(),s.createElementBlock("option",{key:h},s.toDisplayString(h),1))),128))],544),[[s.vModelSelect,n.value]])]),m[18]||(m[18]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Margin",-1)),s.createElementVNode("div",O5,[m[14]||(m[14]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Margin Y-axis ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":m[4]||(m[4]=h=>i.value=h),class:"myPrimarySelect",onChange:m[5]||(m[5]=h=>s.unref(t).handleVerticalMargin(i.value))},[m[13]||(m[13]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Rt).verticalMargin,h=>(s.openBlock(),s.createElementBlock("option",{key:h},s.toDisplayString(h),1))),128))],544),[[s.vModelSelect,i.value]])]),s.createElementVNode("div",V5,[m[16]||(m[16]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Margin X-axis ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":m[6]||(m[6]=h=>a.value=h),class:"myPrimarySelect",onChange:m[7]||(m[7]=h=>s.unref(t).handleHorizontalMargin(a.value))},[m[15]||(m[15]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Rt).horizontalMargin,h=>(s.openBlock(),s.createElementBlock("option",{key:h},s.toDisplayString(h),1))),128))],544),[[s.vModelSelect,a.value]])])]),_:1}))}},A5={class:"my-2 py-2"},D5={class:"my-2 py-2"},I5={class:"my-2 py-2"},L5={class:"my-2 py-2"},R5={class:"my-2 py-2"},_5={__name:"BorderRadius",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.ref(null),i=s.ref(null),a=s.ref(null),l=s.ref(null),d=s.computed(()=>e.getBorderRadiusGlobal),c=s.computed(()=>e.getBorderRadiusTopLeft),p=s.computed(()=>e.getBorderRadiusTopRight),u=s.computed(()=>e.getBorderRadiusBottomleft),m=s.computed(()=>e.getBorderRadiusBottomRight);return s.watch(d,async h=>{o.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(c,async h=>{n.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(p,async h=>{i.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(u,async h=>{a.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(m,async h=>{l.value=h,await t.handlePageBuilderMethods()},{immediate:!0}),(h,g)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>g[10]||(g[10]=[s.createTextVNode("Border Radius")])),content:s.withCtx(()=>[g[21]||(g[21]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Global",-1)),s.createElementVNode("div",A5,[g[12]||(g[12]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[0]||(g[0]=f=>o.value=f),class:"myPrimarySelect",onChange:g[1]||(g[1]=f=>s.unref(t).handleBorderRadiusGlobal(o.value))},[g[11]||(g[11]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedGlobal,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,o.value]])]),g[22]||(g[22]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Specific",-1)),s.createElementVNode("div",D5,[g[14]||(g[14]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius top left ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[2]||(g[2]=f=>n.value=f),class:"myPrimarySelect",onChange:g[3]||(g[3]=f=>s.unref(t).handleBorderRadiusTopLeft(n.value))},[g[13]||(g[13]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedTopLeft,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,n.value]])]),s.createElementVNode("div",I5,[g[16]||(g[16]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius top right ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[4]||(g[4]=f=>i.value=f),class:"myPrimarySelect",onChange:g[5]||(g[5]=f=>s.unref(t).handleBorderRadiusTopRight(i.value))},[g[15]||(g[15]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedTopRight,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,i.value]])]),s.createElementVNode("div",L5,[g[18]||(g[18]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius bottom left ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[6]||(g[6]=f=>a.value=f),class:"myPrimarySelect",onChange:g[7]||(g[7]=f=>s.unref(t).handleBorderRadiusBottomleft(a.value))},[g[17]||(g[17]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedBottomLeft,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,a.value]])]),s.createElementVNode("div",R5,[g[20]||(g[20]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Radius bottom right ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":g[8]||(g[8]=f=>l.value=f),class:"myPrimarySelect",onChange:g[9]||(g[9]=f=>s.unref(t).handleBorderRadiusBottomRight(l.value))},[g[19]||(g[19]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(st).roundedBottomRight,f=>(s.openBlock(),s.createElementBlock("option",{key:f},s.toDisplayString(f),1))),128))],544),[[s.vModelSelect,l.value]])])]),_:1}))}},z5={class:"my-2 py-2"},F5={class:"my-2 py-2"},H5={class:"relative mt-2"},j5={class:"flex items-center gap-2"},W5={key:0},q5={class:"block truncate"},U5={class:"flex items-center"},K5={key:0},G5={key:2,class:"ml-3"},J5={key:3,class:"ml-3"},Y5={__name:"Borders",setup(r){const e=re,t=new se(e),o=s.ref(null),n=s.ref(null),i=s.ref(null),a=s.computed(()=>e.getBorderStyle),l=s.computed(()=>e.getBorderWidth),d=s.computed(()=>e.getBorderColor);return s.watch(a,async c=>{o.value=c,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(l,async c=>{n.value=c,await t.handlePageBuilderMethods()},{immediate:!0}),s.watch(d,async c=>{i.value=c,await t.handlePageBuilderMethods()},{immediate:!0}),(c,p)=>(s.openBlock(),s.createBlock(lo,null,{title:s.withCtx(()=>p[6]||(p[6]=[s.createTextVNode("Border Style, Width & Color")])),content:s.withCtx(()=>[p[14]||(p[14]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 my-4"},"Border",-1)),s.createElementVNode("div",z5,[p[8]||(p[8]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Style ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":p[0]||(p[0]=u=>o.value=u),class:"myPrimarySelect",onChange:p[1]||(p[1]=u=>s.unref(t).handleBorderStyle(o.value))},[p[7]||(p[7]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Ar).borderStyle,u=>(s.openBlock(),s.createElementBlock("option",{key:u},s.toDisplayString(u),1))),128))],544),[[s.vModelSelect,o.value]])]),s.createElementVNode("div",F5,[p[10]||(p[10]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Width ",-1)),s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":p[2]||(p[2]=u=>n.value=u),class:"myPrimarySelect",onChange:p[3]||(p[3]=u=>s.unref(t).handleBorderWidth(n.value))},[p[9]||(p[9]=s.createElementVNode("option",{disabled:"",value:""},"Select",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Ar).borderWidth,u=>(s.openBlock(),s.createElementBlock("option",{key:u},s.toDisplayString(u),1))),128))],544),[[s.vModelSelect,n.value]])]),p[15]||(p[15]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Border Color ",-1)),s.createVNode(s.unref(pn),{as:"div",modelValue:i.value,"onUpdate:modelValue":p[5]||(p[5]=u=>i.value=u)},{default:s.withCtx(()=>[s.createElementVNode("div",H5,[s.createVNode(s.unref(un),{class:"myPrimarySelect"},{default:s.withCtx(()=>{var u;return[s.createElementVNode("span",j5,[d.value==="none"?(s.openBlock(),s.createElementBlock("div",W5,p[11]||(p[11]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),i.value!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 border border-gray-100 rounded-sm",`bg-${(u=i.value)==null?void 0:u.replace("border-","")}`])},null,2)):s.createCommentVNode("",!0),s.createElementVNode("span",q5,s.toDisplayString(i.value),1)]),p[12]||(p[12]=s.createElementVNode("span",{class:"pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," keyboard_arrow_down ")],-1))]}),_:1,__:[12]}),s.createVNode(s.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:s.withCtx(()=>[s.createVNode(s.unref(mn),{class:"absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Ar).borderColor,u=>(s.openBlock(),s.createBlock(s.unref(hn),{as:"template",onClick:p[4]||(p[4]=m=>s.unref(t).handleBorderColor(i.value)),key:u,value:u},{default:s.withCtx(({active:m,borderColor:h})=>[s.createElementVNode("li",{class:s.normalizeClass([m?"bg-myPrimaryLinkColor text-white":"text-myPrimaryDarkGrayColor","relative cursor-default select-none py-2 pl-3 pr-9"])},[s.createElementVNode("div",U5,[u==="none"?(s.openBlock(),s.createElementBlock("div",K5,p[13]||(p[13]=[s.createElementVNode("div",{class:"myPrimaryColorPreview border-none"},[s.createElementVNode("span",{class:"material-symbols-outlined"}," ev_shadow ")],-1)]))):s.createCommentVNode("",!0),u!=="none"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["aspect-square w-6 h-6 bg-gray-950",`bg-${u.replace("border-","")}`])},null,2)):s.createCommentVNode("",!0),u==="none"?(s.openBlock(),s.createElementBlock("span",G5,"Transparent")):s.createCommentVNode("",!0),u!=="none"?(s.openBlock(),s.createElementBlock("span",J5,s.toDisplayString(u),1)):s.createCommentVNode("",!0)])],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"])]),_:1}))}},Q5={class:"blockease-linear duration-200 block ease-linear"},X5={key:0,class:"flex items-center justify-center mb-6"},Z5={class:"px-2 flex items-center justify-start gap-2 w-max"},$5=s.defineComponent({__name:"TipTap",setup(r){const e=re,t=new se(e);return(o,n)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",Q5,[s.unref(t).selectedElementIsValidText()?(s.openBlock(),s.createElementBlock("div",X5,[s.createElementVNode("div",Z5,[s.createElementVNode("button",{onClick:n[0]||(n[0]=i=>s.unref(t).toggleTipTapModal(!0)),type:"button",class:"myPrimaryTag"},n[1]||(n[1]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," edit ",-1),s.createElementVNode("span",null,"Edit text and links",-1)]))])])):s.createCommentVNode("",!0)])]))}}),e3={key:0,class:"border-b border-gray-200 mb-4 pb-8 pt-4"},t3={class:"px-2 flex items-center justify-start gap-2 w-max"},r3={class:"px-2 flex items-center justify-start gap-2 w-max"},o3={__name:"ElementEditor",setup(r){const e=re,t=new se(e),o=s.computed(()=>e.getElement),n=s.computed(()=>e.getRestoredElement);return(i,a)=>o.value||n.value?(s.openBlock(),s.createBlock(lo,{key:0},{title:s.withCtx(()=>a[2]||(a[2]=[s.createTextVNode("Selected HTML Element")])),content:s.withCtx(()=>[a[9]||(a[9]=s.createElementVNode("div",{class:"flex flex-row flex-wrap gap-2 mt-2"},null,-1)),n.value?(s.openBlock(),s.createElementBlock("div",e3,[a[4]||(a[4]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0"},"Restore",-1)),a[5]||(a[5]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Restore the last deleted HTML element.",-1)),s.createElementVNode("div",t3,[s.createElementVNode("button",{onClick:a[0]||(a[0]=(...l)=>s.unref(t).handleRestoreElement&&s.unref(t).handleRestoreElement(...l)),type:"button",class:"myPrimaryButton w-full mt-4"},a[3]||(a[3]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," undo ",-1),s.createElementVNode("span",null,"Restore",-1)]))])])):s.createCommentVNode("",!0),o.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[a[7]||(a[7]=s.createElementVNode("p",{class:"myPrimaryParagraph font-medium py-0 mb-4 pt-4"},"Delete",-1)),a[8]||(a[8]=s.createElementVNode("label",{class:"myPrimaryInputLabel"}," Delete the currently selected HTML element from the page.",-1)),s.createElementVNode("div",r3,[s.createElementVNode("button",{onClick:a[1]||(a[1]=(...l)=>s.unref(t).handleDeleteElement&&s.unref(t).handleDeleteElement(...l)),type:"button",class:"myPrimaryDeleteButton w-full mt-4"},a[6]||(a[6]=[s.createElementVNode("span",{class:"hover:text-white"},"Delete element",-1)]))])],64)):s.createCommentVNode("",!0)]),_:1})):s.createCommentVNode("",!0)}},n3={class:"flex max-h-[50rem] flex-col"},i3={class:"flex flex-row justify-between pt-7 pr-4 pl-4 items-center mb-3"},a3={class:"font-medium text-sm"},s3={class:"lowercase"},l3={class:"pl-3 pr-3 mb-4 overflow-y-scroll"},d3={class:"mb-1"},c3={class:"mb-1"},p3={class:"my-1 bg-white"},u3={class:"my-1 bg-white"},m3={class:"my-1 bg-white"},h3={class:"my-1 bg-white"},g3={class:"my-1 bg-white"},f3={class:"my-1 bg-white"},b3={__name:"RightSidebarEditor",emits:["closeEditor"],setup(r,{emit:e}){const t=re,o=new se(t),n=s.computed(()=>t.getElement),i=s.computed(()=>{var a;return(a=n.value)==null?void 0:a.tagName});return s.computed(()=>n.value instanceof HTMLElement&&n.value.innerText.trim()!==" "||n.value instanceof HTMLImageElement),(a,l)=>(s.openBlock(),s.createElementBlock("div",n3,[s.createElementVNode("div",i3,[s.createElementVNode("button",{type:"button",onClick:l[0]||(l[0]=d=>a.$emit("closeEditor")),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},l[1]||(l[1]=[s.createElementVNode("span",{class:"material-symbols-outlined"}," close ",-1)])),s.createElementVNode("p",a3,[l[2]||(l[2]=s.createTextVNode(" Editing ")),s.createElementVNode("span",s3,"<"+s.toDisplayString(i.value)+">",1)])]),s.createElementVNode("div",l3,[s.withDirectives(s.createElementVNode("div",null,[s.createElementVNode("article",d3,[s.createVNode(l5)]),s.createElementVNode("article",c3,[s.createVNode($5)]),s.createCommentVNode("",!0),s.createElementVNode("article",p3,[s.createVNode(M5)]),s.createElementVNode("article",u3,[s.createVNode(P5)]),s.createElementVNode("article",m3,[s.createVNode(_5)]),s.createElementVNode("article",h3,[s.createVNode(Y5)]),s.createElementVNode("article",g3,[s.createVNode(i5)])],512),[[s.vShow,n.value&&s.unref(o).isEditableElement(n.value)]]),s.createElementVNode("div",null,[s.createElementVNode("article",f3,[s.createVNode(o3)])]),l[3]||(l[3]=s.createElementVNode("article",{class:"mt-1 bg-white"},null,-1))])]))}},co=function(r){return!r||typeof r=="object"&&r.constructor===Object&&Object.keys(r).length===0},y3=re,Tl=new se(y3),w3=function(r){if(!r.updateOrCreate||r.updateOrCreate&&typeof r.updateOrCreate.formType!="string"||r.updateOrCreate&&co(r.updateOrCreate)){const e={...r,updateOrCreate:{formType:"create",formName:"post"}};return Tl.setConfigPageBuilder(e),!0}if(r.updateOrCreate&&typeof r.updateOrCreate.formType=="string"&&r.updateOrCreate.formType!=="create"&&r.updateOrCreate.formType!=="update"&&typeof r.formName!="string"){const e={...r,updateOrCreate:{formType:"create",formName:"post"}};return Tl.setConfigPageBuilder(e),!0}if(r.updateOrCreate&&typeof r.updateOrCreate.formType=="string"&&(r.updateOrCreate.formType==="create"||r.updateOrCreate.formType==="update")&&typeof r.updateOrCreate.formName!="string"||typeof r.updateOrCreate.formName=="string"&&r.updateOrCreate.formName.length===0){const e={...r,updateOrCreate:{formType:r.updateOrCreate.formType,formName:"post"}};return Tl.setConfigPageBuilder(e),!0}},x3=`@import"https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400;1,500&display=swap";@import"https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap";@import"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Jost,Raleway,Cormorant,sans-serif,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.myPrimaryWidthScreenModule{margin-bottom:0}@media (min-width: 768px){.myPrimaryWidthScreenModule{margin-bottom:0}}.myPrimaryWidthScreenModule{padding-top:4rem;padding-bottom:4rem}@media (min-width: 768px){.myPrimaryWidthScreenModule{padding-top:7rem;padding-bottom:7rem}}.myPrimaryContentSection{margin-left:auto;margin-right:auto;max-width:80rem;padding-left:1rem;padding-right:1rem;padding-bottom:1.5rem}@media (min-width: 768px){.myPrimaryContentSection{padding-left:1rem;padding-right:1rem;padding-bottom:2rem}}@media (min-width: 1024px){.myPrimaryContentSection{padding-bottom:2.5rem}}.myPrimaryTag{margin-top:.5rem;margin-bottom:.5rem;display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;word-break:break-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(222 230 240 / var(--tw-bg-opacity, 1));padding:.5rem .75rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimaryTag:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){.myPrimaryTag{width:auto}}.myPrimaryParagraph{font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 1024px){.myPrimaryParagraph{font-size:1rem;line-height:1.5rem}}.myPrimaryParagraphError{font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 1024px){.myPrimaryParagraphError{font-size:1rem;line-height:1.5rem}}.myPrimaryParagraphError{margin-top:.25rem;font-style:italic;--tw-text-opacity: 1;color:rgb(214 0 0 / var(--tw-text-opacity, 1))}.mySecondaryHeader{margin-bottom:.5rem;overflow-wrap:break-word;font-family:Cormorant;font-size:1.875rem;line-height:2.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.mySecondaryHeader{margin-bottom:1rem;font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){.mySecondaryHeader{margin-bottom:2rem;font-size:3rem;line-height:1}}.myTertiaryHeader{margin-bottom:.5rem;overflow-wrap:break-word;font-size:1.5rem;line-height:2rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.myTertiaryHeader{margin-bottom:1rem;font-size:1.5rem;line-height:2rem}}@media (min-width: 1024px){.myTertiaryHeader{margin-bottom:2rem;font-size:1.875rem;line-height:2.25rem}}.myQuaternaryHeader{margin-bottom:.5rem;overflow-wrap:break-word;font-size:1rem;line-height:1.5rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.myQuaternaryHeader{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.myQuaternaryHeader{margin-bottom:1rem;font-size:1.25rem;line-height:1.75rem}}.myPrimaryLink{cursor:pointer;--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.myPrimaryLink:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.myPrimaryLink:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.myPrimaryButton{display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;white-space:nowrap;word-break:keep-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1));padding:.75rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimaryButton:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.myPrimaryButton:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimaryButton:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}@media (min-width: 640px){.myPrimaryButton{width:auto;font-size:.875rem;line-height:1.25rem}}@media (min-width: 1024px){.myPrimaryButton{padding:.75rem 1rem}}.mySecondaryButton{display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;white-space:nowrap;word-break:keep-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1));padding:.75rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.mySecondaryButton:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.mySecondaryButton:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.mySecondaryButton:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}@media (min-width: 640px){.mySecondaryButton{width:auto;font-size:.875rem;line-height:1.25rem}}@media (min-width: 1024px){.mySecondaryButton{padding:.75rem 1rem}}.mySecondaryButton{--tw-bg-opacity: 1;background-color:rgb(222 230 240 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.mySecondaryButton:hover{background-color:rgb(222 230 240 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .9;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.mySecondaryButton:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 242 246 / var(--tw-ring-opacity, 1))}.myPrimaryDeleteButton{display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;white-space:nowrap;word-break:keep-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1));padding:.75rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimaryDeleteButton:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.myPrimaryDeleteButton:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimaryDeleteButton:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}@media (min-width: 640px){.myPrimaryDeleteButton{width:auto;font-size:.875rem;line-height:1.25rem}}@media (min-width: 1024px){.myPrimaryDeleteButton{padding:.75rem 1rem}}.myPrimaryDeleteButton,.myPrimaryDeleteButton:hover{--tw-bg-opacity: 1;background-color:rgb(214 0 0 / var(--tw-bg-opacity, 1))}.myPrimaryDeleteButton:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(214 0 0 / var(--tw-ring-opacity, 1))}.myMediumIcon{display:flex;height:1.5rem;width:1.5rem;flex-shrink:0;align-items:center;justify-content:center;stroke-width:1.5px}.myPrimaryGap{gap:1rem}.mysearchBarWithOptions{display:flex;gap:.5rem;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(239 242 246 / var(--tw-bg-opacity, 1));padding-left:1rem}.myPrimarySearchInput:focus{border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimarySearchInput{display:block;height:100%;width:100%;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.75rem 2rem .75rem .75rem;text-align:left;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimarySearchInput::-moz-placeholder{font-weight:400;accent-color:#d1d5db}.myPrimarySearchInput::placeholder{font-weight:400;accent-color:#d1d5db}.myPrimarySearchInput:focus{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));outline:2px solid transparent;outline-offset:2px}@media (min-width: 640px){.myPrimarySearchInput{font-size:.875rem;line-height:1.25rem}}.myPrimarySearchInput{height:100%;border-style:none;background-color:transparent;padding-top:1rem;padding-bottom:1rem;padding-left:2.5rem;font-size:.875rem;line-height:1.25rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.myPrimarySearchInput:focus{border-style:none;background-color:transparent;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-offset-width: 0px}.myPrimaryFormOrganizationHeaderDescriptionSection{margin-bottom:1rem}.myPrimaryFormOrganizationHeader{margin-bottom:.5rem;overflow-wrap:break-word;font-size:1rem;line-height:1.5rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.myPrimaryFormOrganizationHeader{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.myPrimaryFormOrganizationHeader{margin-bottom:1rem;font-size:1.25rem;line-height:1.75rem}}.myPrimaryFormOrganizationHeader{margin:0;padding-top:1rem}.myInputGroup{margin-bottom:.5rem;width:100%;align-self:flex-start;padding-left:.5rem;padding-right:.5rem}.myPrimaryInputLabel{margin-top:0;margin-bottom:0;margin-bottom:.5rem;display:block;text-align:left;font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.myPrimaryInput:focus{border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimaryInput{display:block;height:100%;width:100%;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.75rem 2rem .75rem .75rem;text-align:left;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimaryInput::-moz-placeholder{font-weight:400;accent-color:#d1d5db}.myPrimaryInput::placeholder{font-weight:400;accent-color:#d1d5db}.myPrimaryInput:focus{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));outline:2px solid transparent;outline-offset:2px}@media (min-width: 640px){.myPrimaryInput{font-size:.875rem;line-height:1.25rem}}.myPrimaryInputError{font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 1024px){.myPrimaryInputError{font-size:1rem;line-height:1.5rem}}.myPrimaryInputError{margin-top:.25rem;display:block;text-align:left;font-weight:400;--tw-text-opacity: 1;color:rgb(214 0 0 / var(--tw-text-opacity, 1))}.myPrimarySelect:focus{border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px}.myPrimarySelect{display:block;height:100%;width:100%;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.75rem 2rem .75rem .75rem;text-align:left;font-weight:400;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.myPrimarySelect::-moz-placeholder{font-weight:400;accent-color:#d1d5db}.myPrimarySelect::placeholder{font-weight:400;accent-color:#d1d5db}.myPrimarySelect:focus{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));outline:2px solid transparent;outline-offset:2px}@media (min-width: 640px){.myPrimarySelect{font-size:.875rem;line-height:1.25rem}}.myPrimarySelect{position:relative;width:100%}.myPrimaryColorPreview{aspect-ratio:1 / 1;min-height:1.5rem;cursor:pointer;border-radius:.125rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-1\\/3{top:33.333333%}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.col-span-1{grid-column:span 1 / span 1}.\\!-m-px{margin:-1px!important}.m-0{margin:0}.m-1{margin:.25rem}.m-4{margin:1rem}.-mx-1\\.5{margin-left:-.375rem;margin-right:-.375rem}.-my-1\\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-0{margin-left:0;margin-right:0}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\\.5{margin-left:.375rem;margin-right:.375rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-11{margin-left:2.75rem;margin-right:2.75rem}.mx-12{margin-left:3rem;margin-right:3rem}.mx-14{margin-left:3.5rem;margin-right:3.5rem}.mx-16{margin-left:4rem;margin-right:4rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-2\\.5{margin-left:.625rem;margin-right:.625rem}.mx-20{margin-left:5rem;margin-right:5rem}.mx-24{margin-left:6rem;margin-right:6rem}.mx-28{margin-left:7rem;margin-right:7rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-3\\.5{margin-left:.875rem;margin-right:.875rem}.mx-32{margin-left:8rem;margin-right:8rem}.mx-36{margin-left:9rem;margin-right:9rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-40{margin-left:10rem;margin-right:10rem}.mx-44{margin-left:11rem;margin-right:11rem}.mx-48{margin-left:12rem;margin-right:12rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-52{margin-left:13rem;margin-right:13rem}.mx-56{margin-left:14rem;margin-right:14rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-60{margin-left:15rem;margin-right:15rem}.mx-64{margin-left:16rem;margin-right:16rem}.mx-7{margin-left:1.75rem;margin-right:1.75rem}.mx-72{margin-left:18rem;margin-right:18rem}.mx-8{margin-left:2rem;margin-right:2rem}.mx-80{margin-left:20rem;margin-right:20rem}.mx-9{margin-left:2.25rem;margin-right:2.25rem}.mx-96{margin-left:24rem;margin-right:24rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-0\\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-1\\.5{margin-top:.375rem;margin-bottom:.375rem}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-11{margin-top:2.75rem;margin-bottom:2.75rem}.my-12{margin-top:3rem;margin-bottom:3rem}.my-14{margin-top:3.5rem;margin-bottom:3.5rem}.my-16{margin-top:4rem;margin-bottom:4rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-2\\.5{margin-top:.625rem;margin-bottom:.625rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-24{margin-top:6rem;margin-bottom:6rem}.my-28{margin-top:7rem;margin-bottom:7rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-3\\.5{margin-top:.875rem;margin-bottom:.875rem}.my-32{margin-top:8rem;margin-bottom:8rem}.my-36{margin-top:9rem;margin-bottom:9rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-40{margin-top:10rem;margin-bottom:10rem}.my-44{margin-top:11rem;margin-bottom:11rem}.my-48{margin-top:12rem;margin-bottom:12rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-52{margin-top:13rem;margin-bottom:13rem}.my-56{margin-top:14rem;margin-bottom:14rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-60{margin-top:15rem;margin-bottom:15rem}.my-64{margin-top:16rem;margin-bottom:16rem}.my-7{margin-top:1.75rem;margin-bottom:1.75rem}.my-72{margin-top:18rem;margin-bottom:18rem}.my-8{margin-top:2rem;margin-bottom:2rem}.my-80{margin-top:20rem;margin-bottom:20rem}.my-9{margin-top:2.25rem;margin-bottom:2.25rem}.my-96{margin-top:24rem;margin-bottom:24rem}.-mb-px{margin-bottom:-1px}.-ml-16{margin-left:-4rem}.-mt-2{margin-top:-.5rem}.mb-0{margin-bottom:0}.mb-0\\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-11{margin-bottom:2.75rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-2\\.5{margin-bottom:.625rem}.mb-20{margin-bottom:5rem}.mb-24{margin-bottom:6rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-3\\.5{margin-bottom:.875rem}.mb-32{margin-bottom:8rem}.mb-36{margin-bottom:9rem}.mb-4{margin-bottom:1rem}.mb-40{margin-bottom:10rem}.mb-44{margin-bottom:11rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.mb-52{margin-bottom:13rem}.mb-56{margin-bottom:14rem}.mb-6{margin-bottom:1.5rem}.mb-60{margin-bottom:15rem}.mb-64{margin-bottom:16rem}.mb-7{margin-bottom:1.75rem}.mb-72{margin-bottom:18rem}.mb-8{margin-bottom:2rem}.mb-80{margin-bottom:20rem}.mb-9{margin-bottom:2.25rem}.mb-96{margin-bottom:24rem}.ml-0{margin-left:0}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\\.5{margin-left:.375rem}.ml-10{margin-left:2.5rem}.ml-11{margin-left:2.75rem}.ml-12{margin-left:3rem}.ml-14{margin-left:3.5rem}.ml-16{margin-left:4rem}.ml-2{margin-left:.5rem}.ml-2\\.5{margin-left:.625rem}.ml-20{margin-left:5rem}.ml-24{margin-left:6rem}.ml-28{margin-left:7rem}.ml-3{margin-left:.75rem}.ml-3\\.5{margin-left:.875rem}.ml-32{margin-left:8rem}.ml-36{margin-left:9rem}.ml-4{margin-left:1rem}.ml-40{margin-left:10rem}.ml-44{margin-left:11rem}.ml-48{margin-left:12rem}.ml-5{margin-left:1.25rem}.ml-52{margin-left:13rem}.ml-56{margin-left:14rem}.ml-6{margin-left:1.5rem}.ml-60{margin-left:15rem}.ml-64{margin-left:16rem}.ml-7{margin-left:1.75rem}.ml-72{margin-left:18rem}.ml-8{margin-left:2rem}.ml-80{margin-left:20rem}.ml-9{margin-left:2.25rem}.ml-96{margin-left:24rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\\.5{margin-right:.375rem}.mr-10{margin-right:2.5rem}.mr-11{margin-right:2.75rem}.mr-12{margin-right:3rem}.mr-14{margin-right:3.5rem}.mr-16{margin-right:4rem}.mr-2{margin-right:.5rem}.mr-2\\.5{margin-right:.625rem}.mr-20{margin-right:5rem}.mr-24{margin-right:6rem}.mr-28{margin-right:7rem}.mr-3{margin-right:.75rem}.mr-3\\.5{margin-right:.875rem}.mr-32{margin-right:8rem}.mr-36{margin-right:9rem}.mr-4{margin-right:1rem}.mr-40{margin-right:10rem}.mr-44{margin-right:11rem}.mr-48{margin-right:12rem}.mr-5{margin-right:1.25rem}.mr-52{margin-right:13rem}.mr-56{margin-right:14rem}.mr-6{margin-right:1.5rem}.mr-60{margin-right:15rem}.mr-64{margin-right:16rem}.mr-7{margin-right:1.75rem}.mr-72{margin-right:18rem}.mr-8{margin-right:2rem}.mr-80{margin-right:20rem}.mr-9{margin-right:2.25rem}.mr-96{margin-right:24rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-10{margin-top:2.5rem}.mt-11{margin-top:2.75rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-2\\.5{margin-top:.625rem}.mt-20{margin-top:5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-3\\.5{margin-top:.875rem}.mt-32{margin-top:8rem}.mt-36{margin-top:9rem}.mt-4{margin-top:1rem}.mt-40{margin-top:10rem}.mt-44{margin-top:11rem}.mt-48{margin-top:12rem}.mt-5{margin-top:1.25rem}.mt-52{margin-top:13rem}.mt-56{margin-top:14rem}.mt-6{margin-top:1.5rem}.mt-60{margin-top:15rem}.mt-64{margin-top:16rem}.mt-7{margin-top:1.75rem}.mt-72{margin-top:18rem}.mt-8{margin-top:2rem}.mt-80{margin-top:20rem}.mt-9{margin-top:2.25rem}.mt-96{margin-top:24rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-\\[16\\/9\\]{aspect-ratio:16/9}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.aspect-\\[9\\/16\\]{aspect-ratio:9/16}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-3{width:.75rem;height:.75rem}.\\!h-px{height:1px!important}.h-0\\.5{height:.125rem}.h-1{height:.25rem}.h-1\\.5{height:.375rem}.h-1\\/2{height:50%}.h-1\\/3{height:33.333333%}.h-1\\/4{height:25%}.h-1\\/5{height:20%}.h-1\\/6{height:16.666667%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-2\\/3{height:66.666667%}.h-2\\/4{height:50%}.h-2\\/5{height:40%}.h-2\\/6{height:33.333333%}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-3\\/4{height:75%}.h-3\\/5{height:60%}.h-3\\/6{height:50%}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\\/5{height:80%}.h-4\\/6{height:66.666667%}.h-40{height:10rem}.h-44{height:11rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\\/6{height:83.333333%}.h-52{height:13rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\\[10vh\\]{height:10vh}.h-\\[39rem\\]{height:39rem}.h-\\[75vh\\]{height:75vh}.h-\\[90vh\\]{height:90vh}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-min{height:-moz-min-content;height:min-content}.h-screen{height:100vh}.max-h-0\\.5{max-height:.125rem}.max-h-1{max-height:.25rem}.max-h-1\\.5{max-height:.375rem}.max-h-10{max-height:2.5rem}.max-h-11{max-height:2.75rem}.max-h-12{max-height:3rem}.max-h-14{max-height:3.5rem}.max-h-16{max-height:4rem}.max-h-2{max-height:.5rem}.max-h-2\\.5{max-height:.625rem}.max-h-20{max-height:5rem}.max-h-24{max-height:6rem}.max-h-28{max-height:7rem}.max-h-3{max-height:.75rem}.max-h-3\\.5{max-height:.875rem}.max-h-32{max-height:8rem}.max-h-36{max-height:9rem}.max-h-4{max-height:1rem}.max-h-40{max-height:10rem}.max-h-44{max-height:11rem}.max-h-48{max-height:12rem}.max-h-5{max-height:1.25rem}.max-h-52{max-height:13rem}.max-h-56{max-height:14rem}.max-h-6{max-height:1.5rem}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-7{max-height:1.75rem}.max-h-72{max-height:18rem}.max-h-8{max-height:2rem}.max-h-80{max-height:20rem}.max-h-9{max-height:2.25rem}.max-h-96{max-height:24rem}.max-h-\\[20rem\\]{max-height:20rem}.max-h-\\[33rem\\]{max-height:33rem}.max-h-\\[50rem\\]{max-height:50rem}.max-h-\\[98vh\\]{max-height:98vh}.min-h-0\\.5{min-height:.125rem}.min-h-1{min-height:.25rem}.min-h-1\\.5{min-height:.375rem}.min-h-10{min-height:2.5rem}.min-h-11{min-height:2.75rem}.min-h-12{min-height:3rem}.min-h-14{min-height:3.5rem}.min-h-16{min-height:4rem}.min-h-2{min-height:.5rem}.min-h-2\\.5{min-height:.625rem}.min-h-20{min-height:5rem}.min-h-24{min-height:6rem}.min-h-28{min-height:7rem}.min-h-3{min-height:.75rem}.min-h-3\\.5{min-height:.875rem}.min-h-32{min-height:8rem}.min-h-36{min-height:9rem}.min-h-4{min-height:1rem}.min-h-40{min-height:10rem}.min-h-44{min-height:11rem}.min-h-48{min-height:12rem}.min-h-5{min-height:1.25rem}.min-h-52{min-height:13rem}.min-h-56{min-height:14rem}.min-h-6{min-height:1.5rem}.min-h-60{min-height:15rem}.min-h-64{min-height:16rem}.min-h-7{min-height:1.75rem}.min-h-72{min-height:18rem}.min-h-8{min-height:2rem}.min-h-80{min-height:20rem}.min-h-9{min-height:2.25rem}.min-h-96{min-height:24rem}.min-h-\\[12rem\\]{min-height:12rem}.min-h-\\[2\\.5rem\\]{min-height:2.5rem}.min-h-\\[20rem\\]{min-height:20rem}.min-h-\\[33rem\\]{min-height:33rem}.\\!w-px{width:1px!important}.w-0{width:0px}.w-0\\.5{width:.125rem}.w-1{width:.25rem}.w-1\\.5{width:.375rem}.w-1\\/2{width:50%}.w-1\\/3{width:33.333333%}.w-1\\/4{width:25%}.w-1\\/5{width:20%}.w-1\\/6{width:16.666667%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\\.5{width:.625rem}.w-2\\/3{width:66.666667%}.w-2\\/4{width:50%}.w-2\\/5{width:40%}.w-2\\/6{width:33.333333%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-3\\/12{width:25%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-3\\/6{width:50%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\\/5{width:80%}.w-4\\/6{width:66.666667%}.w-40{width:10rem}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\\/6{width:83.333333%}.w-52{width:13rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-9\\/12{width:75%}.w-96{width:24rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.w-screen{width:100vw}.min-w-0\\.5{min-width:.125rem}.min-w-1{min-width:.25rem}.min-w-1\\.5{min-width:.375rem}.min-w-10{min-width:2.5rem}.min-w-11{min-width:2.75rem}.min-w-12{min-width:3rem}.min-w-14{min-width:3.5rem}.min-w-16{min-width:4rem}.min-w-2{min-width:.5rem}.min-w-2\\.5{min-width:.625rem}.min-w-20{min-width:5rem}.min-w-24{min-width:6rem}.min-w-28{min-width:7rem}.min-w-3{min-width:.75rem}.min-w-3\\.5{min-width:.875rem}.min-w-32{min-width:8rem}.min-w-36{min-width:9rem}.min-w-4{min-width:1rem}.min-w-40{min-width:10rem}.min-w-44{min-width:11rem}.min-w-48{min-width:12rem}.min-w-5{min-width:1.25rem}.min-w-52{min-width:13rem}.min-w-56{min-width:14rem}.min-w-6{min-width:1.5rem}.min-w-60{min-width:15rem}.min-w-64{min-width:16rem}.min-w-7{min-width:1.75rem}.min-w-72{min-width:18rem}.min-w-8{min-width:2rem}.min-w-80{min-width:20rem}.min-w-9{min-width:2.25rem}.min-w-96{min-width:24rem}.min-w-\\[12rem\\]{min-width:12rem}.min-w-\\[3\\.5rem\\]{min-width:3.5rem}.min-w-\\[30rem\\]{min-width:30rem}.min-w-full{min-width:100%}.max-w-0\\.5{max-width:.125rem}.max-w-1{max-width:.25rem}.max-w-1\\.5{max-width:.375rem}.max-w-10{max-width:2.5rem}.max-w-11{max-width:2.75rem}.max-w-12{max-width:3rem}.max-w-14{max-width:3.5rem}.max-w-16{max-width:4rem}.max-w-2{max-width:.5rem}.max-w-2\\.5{max-width:.625rem}.max-w-20{max-width:5rem}.max-w-24{max-width:6rem}.max-w-28{max-width:7rem}.max-w-3{max-width:.75rem}.max-w-3\\.5{max-width:.875rem}.max-w-32{max-width:8rem}.max-w-36{max-width:9rem}.max-w-4{max-width:1rem}.max-w-40{max-width:10rem}.max-w-44{max-width:11rem}.max-w-48{max-width:12rem}.max-w-5{max-width:1.25rem}.max-w-52{max-width:13rem}.max-w-56{max-width:14rem}.max-w-6{max-width:1.5rem}.max-w-60{max-width:15rem}.max-w-64{max-width:16rem}.max-w-7{max-width:1.75rem}.max-w-72{max-width:18rem}.max-w-7xl{max-width:80rem}.max-w-8{max-width:2rem}.max-w-80{max-width:20rem}.max-w-9{max-width:2.25rem}.max-w-96{max-width:24rem}.max-w-\\[96vh\\]{max-width:96vh}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-2{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.auto-cols-\\[minmax\\(100px\\,_1fr\\)\\]{grid-auto-columns:minmax(100px,1fr)}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.auto-cols-max{grid-auto-columns:max-content}.auto-cols-min{grid-auto-columns:min-content}.grid-flow-col{grid-auto-flow:column}.grid-flow-row-dense{grid-auto-flow:row dense}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.grid-cols-\\[minmax\\(10rem\\,1fr\\)\\]{grid-template-columns:minmax(10rem,1fr)}.grid-cols-\\[minmax\\(14rem\\,1fr\\)\\]{grid-template-columns:minmax(14rem,1fr)}.grid-cols-\\[minmax\\(50px\\,100px\\)\\]{grid-template-columns:minmax(50px,100px)}.grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity, 1))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.\\!overflow-hidden{overflow:hidden!important}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\\!whitespace-nowrap{white-space:nowrap!important}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l-2xl{border-top-left-radius:1rem;border-bottom-left-radius:1rem}.rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-2xl{border-bottom-left-radius:1rem}.rounded-bl-3xl{border-bottom-left-radius:1.5rem}.rounded-bl-full{border-bottom-left-radius:9999px}.rounded-bl-lg{border-bottom-left-radius:.5rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-bl-sm{border-bottom-left-radius:.125rem}.rounded-bl-xl{border-bottom-left-radius:.75rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-br-2xl{border-bottom-right-radius:1rem}.rounded-br-3xl{border-bottom-right-radius:1.5rem}.rounded-br-full{border-bottom-right-radius:9999px}.rounded-br-lg{border-bottom-right-radius:.5rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-br-sm{border-bottom-right-radius:.125rem}.rounded-br-xl{border-bottom-right-radius:.75rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-tl-2xl{border-top-left-radius:1rem}.rounded-tl-3xl{border-top-left-radius:1.5rem}.rounded-tl-full{border-top-left-radius:9999px}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tl-sm{border-top-left-radius:.125rem}.rounded-tl-xl{border-top-left-radius:.75rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-tr-2xl{border-top-right-radius:1rem}.rounded-tr-3xl{border-top-right-radius:1.5rem}.rounded-tr-full{border-top-right-radius:9999px}.rounded-tr-lg{border-top-right-radius:.5rem}.rounded-tr-md{border-top-right-radius:.375rem}.rounded-tr-sm{border-top-right-radius:.125rem}.rounded-tr-xl{border-top-right-radius:.75rem}.\\!border-0{border-width:0px!important}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-8{border-width:8px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-dotted{border-style:dotted}.border-double{border-style:double}.border-hidden{border-style:hidden}.border-none{border-style:none}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-amber-400{--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity, 1))}.border-amber-50{--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity, 1))}.border-amber-500{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-amber-600{--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity, 1))}.border-amber-700{--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity, 1))}.border-amber-800{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity, 1))}.border-amber-900{--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity, 1))}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-blue-100{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.border-blue-400{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity, 1))}.border-blue-50{--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity, 1))}.border-blue-800{--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity, 1))}.border-blue-900{--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity, 1))}.border-current{border-color:currentColor}.border-cyan-100{--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity, 1))}.border-cyan-200{--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity, 1))}.border-cyan-300{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity, 1))}.border-cyan-400{--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity, 1))}.border-cyan-50{--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity, 1))}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.border-cyan-600{--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity, 1))}.border-cyan-700{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity, 1))}.border-cyan-800{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity, 1))}.border-cyan-900{--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity, 1))}.border-emerald-100{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity, 1))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity, 1))}.border-emerald-300{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity, 1))}.border-emerald-400{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity, 1))}.border-emerald-50{--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity, 1))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))}.border-emerald-600{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity, 1))}.border-emerald-700{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity, 1))}.border-emerald-800{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity, 1))}.border-emerald-900{--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity, 1))}.border-fuchsia-100{--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity, 1))}.border-fuchsia-200{--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity, 1))}.border-fuchsia-300{--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity, 1))}.border-fuchsia-400{--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity, 1))}.border-fuchsia-50{--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity, 1))}.border-fuchsia-500{--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity, 1))}.border-fuchsia-600{--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity, 1))}.border-fuchsia-700{--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity, 1))}.border-fuchsia-800{--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity, 1))}.border-fuchsia-900{--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.border-gray-50{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity, 1))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity, 1))}.border-green-100{--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity, 1))}.border-green-400{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity, 1))}.border-green-50{--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity, 1))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity, 1))}.border-green-800{--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity, 1))}.border-green-900{--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity, 1))}.border-indigo-100{--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity, 1))}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity, 1))}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity, 1))}.border-indigo-400{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity, 1))}.border-indigo-50{--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity, 1))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity, 1))}.border-indigo-700{--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity, 1))}.border-indigo-800{--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity, 1))}.border-indigo-900{--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity, 1))}.border-lime-100{--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity, 1))}.border-lime-200{--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity, 1))}.border-lime-300{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity, 1))}.border-lime-400{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity, 1))}.border-lime-50{--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity, 1))}.border-lime-500{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity, 1))}.border-lime-600{--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity, 1))}.border-lime-700{--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity, 1))}.border-lime-800{--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity, 1))}.border-lime-900{--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity, 1))}.border-myPrimaryLightGrayColor{--tw-border-opacity: 1;border-color:rgb(239 242 246 / var(--tw-border-opacity, 1))}.border-myPrimaryMediumGrayColor{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.border-neutral-100{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity, 1))}.border-neutral-200{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity, 1))}.border-neutral-300{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity, 1))}.border-neutral-400{--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity, 1))}.border-neutral-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity, 1))}.border-neutral-500{--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity, 1))}.border-neutral-600{--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity, 1))}.border-neutral-700{--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity, 1))}.border-neutral-800{--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity, 1))}.border-neutral-900{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity, 1))}.border-orange-100{--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity, 1))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity, 1))}.border-orange-300{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity, 1))}.border-orange-400{--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity, 1))}.border-orange-50{--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity, 1))}.border-orange-500{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity, 1))}.border-orange-600{--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity, 1))}.border-orange-700{--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity, 1))}.border-orange-800{--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity, 1))}.border-orange-900{--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity, 1))}.border-pink-100{--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity, 1))}.border-pink-200{--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity, 1))}.border-pink-300{--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity, 1))}.border-pink-400{--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity, 1))}.border-pink-50{--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity, 1))}.border-pink-500{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity, 1))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity, 1))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity, 1))}.border-pink-800{--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity, 1))}.border-pink-900{--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity, 1))}.border-purple-100{--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity, 1))}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.border-purple-300{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity, 1))}.border-purple-400{--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity, 1))}.border-purple-50{--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity, 1))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity, 1))}.border-purple-800{--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity, 1))}.border-purple-900{--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity, 1))}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity, 1))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity, 1))}.border-red-50{--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity, 1))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity, 1))}.border-red-800{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity, 1))}.border-red-900{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity, 1))}.border-rose-100{--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity, 1))}.border-rose-200{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity, 1))}.border-rose-300{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity, 1))}.border-rose-400{--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity, 1))}.border-rose-50{--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity, 1))}.border-rose-500{--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity, 1))}.border-rose-600{--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity, 1))}.border-rose-700{--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity, 1))}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity, 1))}.border-rose-900{--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity, 1))}.border-sky-100{--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity, 1))}.border-sky-200{--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity, 1))}.border-sky-300{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity, 1))}.border-sky-400{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity, 1))}.border-sky-50{--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity, 1))}.border-sky-500{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity, 1))}.border-sky-600{--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity, 1))}.border-sky-700{--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity, 1))}.border-sky-800{--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity, 1))}.border-sky-900{--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity, 1))}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity, 1))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.border-slate-400{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity, 1))}.border-slate-50{--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity, 1))}.border-slate-500{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity, 1))}.border-slate-600{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity, 1))}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1))}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity, 1))}.border-slate-900{--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity, 1))}.border-stone-100{--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity, 1))}.border-stone-200{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1))}.border-stone-300{--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity, 1))}.border-stone-400{--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity, 1))}.border-stone-50{--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity, 1))}.border-stone-500{--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity, 1))}.border-stone-600{--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity, 1))}.border-stone-700{--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity, 1))}.border-stone-800{--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity, 1))}.border-stone-900{--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity, 1))}.border-teal-100{--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity, 1))}.border-teal-200{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity, 1))}.border-teal-300{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity, 1))}.border-teal-400{--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity, 1))}.border-teal-50{--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity, 1))}.border-teal-500{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity, 1))}.border-teal-600{--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity, 1))}.border-teal-700{--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity, 1))}.border-teal-800{--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity, 1))}.border-teal-900{--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-violet-100{--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity, 1))}.border-violet-200{--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity, 1))}.border-violet-300{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity, 1))}.border-violet-400{--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity, 1))}.border-violet-50{--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity, 1))}.border-violet-500{--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity, 1))}.border-violet-600{--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity, 1))}.border-violet-700{--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity, 1))}.border-violet-800{--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity, 1))}.border-violet-900{--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.border-yellow-100{--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity, 1))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity, 1))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity, 1))}.border-yellow-50{--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity, 1))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity, 1))}.border-yellow-600{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity, 1))}.border-yellow-700{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity, 1))}.border-yellow-800{--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity, 1))}.border-yellow-900{--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity, 1))}.border-zinc-100{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity, 1))}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity, 1))}.border-zinc-300{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity, 1))}.border-zinc-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity, 1))}.border-zinc-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity, 1))}.border-zinc-500{--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity, 1))}.border-zinc-600{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity, 1))}.border-zinc-700{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity, 1))}.border-zinc-800{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity, 1))}.border-zinc-900{--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity, 1))}.border-r-transparent{border-right-color:transparent}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity, 1))}.bg-amber-300{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity, 1))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.bg-amber-700{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity, 1))}.bg-amber-800{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity, 1))}.bg-amber-900{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\\/0{background-color:#0000}.bg-black\\/50{background-color:#00000080}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity, 1))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity, 1))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity, 1))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity, 1))}.bg-cyan-100{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity, 1))}.bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity, 1))}.bg-cyan-300{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity, 1))}.bg-cyan-400{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity, 1))}.bg-cyan-50{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity, 1))}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity, 1))}.bg-cyan-700{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity, 1))}.bg-cyan-800{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity, 1))}.bg-cyan-900{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity, 1))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))}.bg-emerald-200{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity, 1))}.bg-emerald-300{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity, 1))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-emerald-700{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.bg-emerald-800{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity, 1))}.bg-emerald-900{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity, 1))}.bg-fuchsia-100{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity, 1))}.bg-fuchsia-200{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity, 1))}.bg-fuchsia-300{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity, 1))}.bg-fuchsia-400{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity, 1))}.bg-fuchsia-50{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity, 1))}.bg-fuchsia-500{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity, 1))}.bg-fuchsia-600{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity, 1))}.bg-fuchsia-700{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity, 1))}.bg-fuchsia-800{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity, 1))}.bg-fuchsia-900{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-800\\/40{background-color:#1f293766}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-gray-950{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity, 1))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.bg-green-800{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity, 1))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity, 1))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity, 1))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity, 1))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity, 1))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity, 1))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity, 1))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-indigo-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity, 1))}.bg-indigo-800{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity, 1))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity, 1))}.bg-lime-100{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity, 1))}.bg-lime-200{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity, 1))}.bg-lime-300{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity, 1))}.bg-lime-400{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity, 1))}.bg-lime-50{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity, 1))}.bg-lime-500{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity, 1))}.bg-lime-600{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity, 1))}.bg-lime-700{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity, 1))}.bg-lime-800{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity, 1))}.bg-lime-900{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity, 1))}.bg-myPrimaryBrandColor{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-myPrimaryErrorColor{--tw-bg-opacity: 1;background-color:rgb(214 0 0 / var(--tw-bg-opacity, 1))}.bg-myPrimaryLightGrayColor{--tw-bg-opacity: 1;background-color:rgb(239 242 246 / var(--tw-bg-opacity, 1))}.bg-myPrimaryLinkColor{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-neutral-100{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.bg-neutral-200{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity, 1))}.bg-neutral-300{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity, 1))}.bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity, 1))}.bg-neutral-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))}.bg-neutral-500{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity, 1))}.bg-neutral-600{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity, 1))}.bg-neutral-700{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity, 1))}.bg-neutral-800{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity, 1))}.bg-neutral-900{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity, 1))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.bg-orange-200{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity, 1))}.bg-orange-300{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity, 1))}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity, 1))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity, 1))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))}.bg-orange-600{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity, 1))}.bg-orange-700{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity, 1))}.bg-orange-800{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity, 1))}.bg-orange-900{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity, 1))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity, 1))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity, 1))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity, 1))}.bg-pink-400{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity, 1))}.bg-pink-50{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity, 1))}.bg-pink-500{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity, 1))}.bg-pink-600{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity, 1))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity, 1))}.bg-pink-800{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity, 1))}.bg-pink-900{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity, 1))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity, 1))}.bg-purple-400{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity, 1))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity, 1))}.bg-purple-800{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity, 1))}.bg-purple-900{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity, 1))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.bg-red-800{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity, 1))}.bg-red-900{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity, 1))}.bg-rose-100{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity, 1))}.bg-rose-200{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity, 1))}.bg-rose-300{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity, 1))}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity, 1))}.bg-rose-50{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1))}.bg-rose-500{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity, 1))}.bg-rose-600{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity, 1))}.bg-rose-700{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity, 1))}.bg-rose-800{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity, 1))}.bg-rose-900{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity, 1))}.bg-sky-100{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity, 1))}.bg-sky-200{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity, 1))}.bg-sky-300{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity, 1))}.bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity, 1))}.bg-sky-50{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity, 1))}.bg-sky-500{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity, 1))}.bg-sky-600{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity, 1))}.bg-sky-700{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity, 1))}.bg-sky-800{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity, 1))}.bg-sky-900{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.bg-slate-400{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity, 1))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.bg-slate-500{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity, 1))}.bg-slate-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity, 1))}.bg-slate-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity, 1))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1))}.bg-stone-100{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1))}.bg-stone-200{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity, 1))}.bg-stone-300{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity, 1))}.bg-stone-400{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity, 1))}.bg-stone-50{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))}.bg-stone-500{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity, 1))}.bg-stone-600{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity, 1))}.bg-stone-700{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity, 1))}.bg-stone-800{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity, 1))}.bg-stone-900{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity, 1))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity, 1))}.bg-teal-200{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity, 1))}.bg-teal-300{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity, 1))}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity, 1))}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity, 1))}.bg-teal-500{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity, 1))}.bg-teal-600{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity, 1))}.bg-teal-700{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity, 1))}.bg-teal-800{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity, 1))}.bg-teal-900{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity, 1))}.bg-violet-100{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity, 1))}.bg-violet-200{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity, 1))}.bg-violet-300{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity, 1))}.bg-violet-400{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity, 1))}.bg-violet-50{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity, 1))}.bg-violet-500{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity, 1))}.bg-violet-600{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity, 1))}.bg-violet-700{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity, 1))}.bg-violet-800{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity, 1))}.bg-violet-900{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity, 1))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity, 1))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity, 1))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity, 1))}.bg-yellow-700{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity, 1))}.bg-yellow-800{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity, 1))}.bg-yellow-900{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity, 1))}.bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity, 1))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity, 1))}.bg-zinc-300{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity, 1))}.bg-zinc-400{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity, 1))}.bg-zinc-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))}.bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity, 1))}.bg-zinc-600{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity, 1))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity, 1))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))}.bg-opacity-0{--tw-bg-opacity: 0}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-100{--tw-bg-opacity: 1}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-30{--tw-bg-opacity: .3}.bg-opacity-40{--tw-bg-opacity: .4}.bg-opacity-5{--tw-bg-opacity: .05}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-75{--tw-bg-opacity: .75}.bg-opacity-80{--tw-bg-opacity: .8}.bg-opacity-90{--tw-bg-opacity: .9}.bg-opacity-95{--tw-bg-opacity: .95}.fill-gray-800{fill:#1f2937}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.object-left{-o-object-position:left;object-position:left}.object-right{-o-object-position:right;object-position:right}.object-top{-o-object-position:top;object-position:top}.\\!p-0{padding:0!important}.p-0{padding:0}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-0{padding-left:0;padding-right:0}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-11{padding-left:2.75rem;padding-right:2.75rem}.px-12{padding-left:3rem;padding-right:3rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-16{padding-left:4rem;padding-right:4rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-20{padding-left:5rem;padding-right:5rem}.px-24{padding-left:6rem;padding-right:6rem}.px-28{padding-left:7rem;padding-right:7rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-32{padding-left:8rem;padding-right:8rem}.px-36{padding-left:9rem;padding-right:9rem}.px-4{padding-left:1rem;padding-right:1rem}.px-40{padding-left:10rem;padding-right:10rem}.px-44{padding-left:11rem;padding-right:11rem}.px-48{padding-left:12rem;padding-right:12rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-52{padding-left:13rem;padding-right:13rem}.px-56{padding-left:14rem;padding-right:14rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-60{padding-left:15rem;padding-right:15rem}.px-64{padding-left:16rem;padding-right:16rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-72{padding-left:18rem;padding-right:18rem}.px-8{padding-left:2rem;padding-right:2rem}.px-80{padding-left:20rem;padding-right:20rem}.px-9{padding-left:2.25rem;padding-right:2.25rem}.px-96{padding-left:24rem;padding-right:24rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-11{padding-top:2.75rem;padding-bottom:2.75rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-32{padding-top:8rem;padding-bottom:8rem}.py-36{padding-top:9rem;padding-bottom:9rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-40{padding-top:10rem;padding-bottom:10rem}.py-44{padding-top:11rem;padding-bottom:11rem}.py-48{padding-top:12rem;padding-bottom:12rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-52{padding-top:13rem;padding-bottom:13rem}.py-56{padding-top:14rem;padding-bottom:14rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-60{padding-top:15rem;padding-bottom:15rem}.py-64{padding-top:16rem;padding-bottom:16rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.py-72{padding-top:18rem;padding-bottom:18rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-80{padding-top:20rem;padding-bottom:20rem}.py-9{padding-top:2.25rem;padding-bottom:2.25rem}.py-96{padding-top:24rem;padding-bottom:24rem}.pb-0{padding-bottom:0}.pb-0\\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-1\\.5{padding-bottom:.375rem}.pb-10{padding-bottom:2.5rem}.pb-11{padding-bottom:2.75rem}.pb-12{padding-bottom:3rem}.pb-14{padding-bottom:3.5rem}.pb-16{padding-bottom:4rem}.pb-2{padding-bottom:.5rem}.pb-2\\.5{padding-bottom:.625rem}.pb-20{padding-bottom:5rem}.pb-24{padding-bottom:6rem}.pb-28{padding-bottom:7rem}.pb-3{padding-bottom:.75rem}.pb-3\\.5{padding-bottom:.875rem}.pb-32{padding-bottom:8rem}.pb-36{padding-bottom:9rem}.pb-4{padding-bottom:1rem}.pb-40{padding-bottom:10rem}.pb-44{padding-bottom:11rem}.pb-48{padding-bottom:12rem}.pb-5{padding-bottom:1.25rem}.pb-52{padding-bottom:13rem}.pb-56{padding-bottom:14rem}.pb-6{padding-bottom:1.5rem}.pb-60{padding-bottom:15rem}.pb-64{padding-bottom:16rem}.pb-7{padding-bottom:1.75rem}.pb-72{padding-bottom:18rem}.pb-8{padding-bottom:2rem}.pb-80{padding-bottom:20rem}.pb-9{padding-bottom:2.25rem}.pb-96{padding-bottom:24rem}.pl-0{padding-left:0}.pl-0\\.5{padding-left:.125rem}.pl-1{padding-left:.25rem}.pl-1\\.5{padding-left:.375rem}.pl-10{padding-left:2.5rem}.pl-11{padding-left:2.75rem}.pl-12{padding-left:3rem}.pl-14{padding-left:3.5rem}.pl-16{padding-left:4rem}.pl-2{padding-left:.5rem}.pl-2\\.5{padding-left:.625rem}.pl-20{padding-left:5rem}.pl-24{padding-left:6rem}.pl-28{padding-left:7rem}.pl-3{padding-left:.75rem}.pl-3\\.5{padding-left:.875rem}.pl-32{padding-left:8rem}.pl-36{padding-left:9rem}.pl-4{padding-left:1rem}.pl-40{padding-left:10rem}.pl-44{padding-left:11rem}.pl-48{padding-left:12rem}.pl-5{padding-left:1.25rem}.pl-52{padding-left:13rem}.pl-56{padding-left:14rem}.pl-6{padding-left:1.5rem}.pl-60{padding-left:15rem}.pl-64{padding-left:16rem}.pl-7{padding-left:1.75rem}.pl-72{padding-left:18rem}.pl-8{padding-left:2rem}.pl-80{padding-left:20rem}.pl-9{padding-left:2.25rem}.pl-96{padding-left:24rem}.pr-0{padding-right:0}.pr-0\\.5{padding-right:.125rem}.pr-1{padding-right:.25rem}.pr-1\\.5{padding-right:.375rem}.pr-10{padding-right:2.5rem}.pr-11{padding-right:2.75rem}.pr-12{padding-right:3rem}.pr-14{padding-right:3.5rem}.pr-16{padding-right:4rem}.pr-2{padding-right:.5rem}.pr-2\\.5{padding-right:.625rem}.pr-20{padding-right:5rem}.pr-24{padding-right:6rem}.pr-28{padding-right:7rem}.pr-3{padding-right:.75rem}.pr-3\\.5{padding-right:.875rem}.pr-32{padding-right:8rem}.pr-36{padding-right:9rem}.pr-4{padding-right:1rem}.pr-40{padding-right:10rem}.pr-44{padding-right:11rem}.pr-48{padding-right:12rem}.pr-5{padding-right:1.25rem}.pr-52{padding-right:13rem}.pr-56{padding-right:14rem}.pr-6{padding-right:1.5rem}.pr-60{padding-right:15rem}.pr-64{padding-right:16rem}.pr-7{padding-right:1.75rem}.pr-72{padding-right:18rem}.pr-8{padding-right:2rem}.pr-80{padding-right:20rem}.pr-9{padding-right:2.25rem}.pr-96{padding-right:24rem}.pt-0{padding-top:0}.pt-0\\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-10{padding-top:2.5rem}.pt-11{padding-top:2.75rem}.pt-12{padding-top:3rem}.pt-14{padding-top:3.5rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-20{padding-top:5rem}.pt-24{padding-top:6rem}.pt-28{padding-top:7rem}.pt-3{padding-top:.75rem}.pt-3\\.5{padding-top:.875rem}.pt-32{padding-top:8rem}.pt-36{padding-top:9rem}.pt-4{padding-top:1rem}.pt-40{padding-top:10rem}.pt-44{padding-top:11rem}.pt-48{padding-top:12rem}.pt-5{padding-top:1.25rem}.pt-52{padding-top:13rem}.pt-56{padding-top:14rem}.pt-6{padding-top:1.5rem}.pt-60{padding-top:15rem}.pt-64{padding-top:16rem}.pt-7{padding-top:1.75rem}.pt-72{padding-top:18rem}.pt-8{padding-top:2rem}.pt-80{padding-top:20rem}.pt-9{padding-top:2.25rem}.pt-96{padding-top:24rem}.text-left{text-align:left}.text-center{text-align:center}.align-bottom{vertical-align:bottom}.align-\\[-0\\.125em\\]{vertical-align:-.125em}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:Jost,Raleway,Cormorant,sans-serif,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.font-serif{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-7xl{font-size:4.5rem;line-height:1}.text-8xl{font-size:6rem;line-height:1}.text-9xl{font-size:8rem;line-height:1}.text-\\[12\\.5px\\]{font-size:12.5px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-extralight{font-weight:200}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.italic{font-style:italic}.leading-none{line-height:1}.tracking-wider{letter-spacing:.05em}.text-amber-100{--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity, 1))}.text-amber-200{--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity, 1))}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.text-amber-50{--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity, 1))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity, 1))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity, 1))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity, 1))}.text-cyan-100{--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity, 1))}.text-cyan-200{--tw-text-opacity: 1;color:rgb(165 243 252 / var(--tw-text-opacity, 1))}.text-cyan-300{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-50{--tw-text-opacity: 1;color:rgb(236 254 255 / var(--tw-text-opacity, 1))}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity, 1))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity, 1))}.text-cyan-700{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity, 1))}.text-cyan-800{--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity, 1))}.text-cyan-900{--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity, 1))}.text-emerald-100{--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity, 1))}.text-emerald-200{--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity, 1))}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity, 1))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.text-emerald-50{--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity, 1))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity, 1))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.text-emerald-900{--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity, 1))}.text-fuchsia-100{--tw-text-opacity: 1;color:rgb(250 232 255 / var(--tw-text-opacity, 1))}.text-fuchsia-200{--tw-text-opacity: 1;color:rgb(245 208 254 / var(--tw-text-opacity, 1))}.text-fuchsia-300{--tw-text-opacity: 1;color:rgb(240 171 252 / var(--tw-text-opacity, 1))}.text-fuchsia-400{--tw-text-opacity: 1;color:rgb(232 121 249 / var(--tw-text-opacity, 1))}.text-fuchsia-50{--tw-text-opacity: 1;color:rgb(253 244 255 / var(--tw-text-opacity, 1))}.text-fuchsia-500{--tw-text-opacity: 1;color:rgb(217 70 239 / var(--tw-text-opacity, 1))}.text-fuchsia-600{--tw-text-opacity: 1;color:rgb(192 38 211 / var(--tw-text-opacity, 1))}.text-fuchsia-700{--tw-text-opacity: 1;color:rgb(162 28 175 / var(--tw-text-opacity, 1))}.text-fuchsia-800{--tw-text-opacity: 1;color:rgb(134 25 143 / var(--tw-text-opacity, 1))}.text-fuchsia-900{--tw-text-opacity: 1;color:rgb(112 26 117 / var(--tw-text-opacity, 1))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-100{--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity, 1))}.text-green-200{--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity, 1))}.text-green-300{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-green-50{--tw-text-opacity: 1;color:rgb(240 253 244 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-green-900{--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity, 1))}.text-indigo-100{--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity, 1))}.text-indigo-200{--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity, 1))}.text-indigo-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-indigo-50{--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity, 1))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity, 1))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity, 1))}.text-lime-100{--tw-text-opacity: 1;color:rgb(236 252 203 / var(--tw-text-opacity, 1))}.text-lime-200{--tw-text-opacity: 1;color:rgb(217 249 157 / var(--tw-text-opacity, 1))}.text-lime-300{--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity, 1))}.text-lime-400{--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity, 1))}.text-lime-50{--tw-text-opacity: 1;color:rgb(247 254 231 / var(--tw-text-opacity, 1))}.text-lime-500{--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity, 1))}.text-lime-600{--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity, 1))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity, 1))}.text-lime-800{--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity, 1))}.text-lime-900{--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity, 1))}.text-myPrimaryDarkGrayColor{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-myPrimaryErrorColor{--tw-text-opacity: 1;color:rgb(214 0 0 / var(--tw-text-opacity, 1))}.text-myPrimaryLinkColor{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-myPrimaryMediumGrayColor{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-myPrimarySuccesColor{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-neutral-100{--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity, 1))}.text-neutral-200{--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity, 1))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity, 1))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity, 1))}.text-neutral-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity, 1))}.text-neutral-600{--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity, 1))}.text-neutral-700{--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity, 1))}.text-neutral-800{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity, 1))}.text-neutral-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}.text-orange-100{--tw-text-opacity: 1;color:rgb(255 237 213 / var(--tw-text-opacity, 1))}.text-orange-200{--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity, 1))}.text-orange-300{--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity, 1))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity, 1))}.text-orange-50{--tw-text-opacity: 1;color:rgb(255 247 237 / var(--tw-text-opacity, 1))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity, 1))}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-orange-800{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity, 1))}.text-orange-900{--tw-text-opacity: 1;color:rgb(124 45 18 / var(--tw-text-opacity, 1))}.text-pink-100{--tw-text-opacity: 1;color:rgb(252 231 243 / var(--tw-text-opacity, 1))}.text-pink-200{--tw-text-opacity: 1;color:rgb(251 207 232 / var(--tw-text-opacity, 1))}.text-pink-300{--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity, 1))}.text-pink-400{--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity, 1))}.text-pink-50{--tw-text-opacity: 1;color:rgb(253 242 248 / var(--tw-text-opacity, 1))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity, 1))}.text-pink-600{--tw-text-opacity: 1;color:rgb(219 39 119 / var(--tw-text-opacity, 1))}.text-pink-700{--tw-text-opacity: 1;color:rgb(190 24 93 / var(--tw-text-opacity, 1))}.text-pink-800{--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity, 1))}.text-pink-900{--tw-text-opacity: 1;color:rgb(131 24 67 / var(--tw-text-opacity, 1))}.text-purple-100{--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity, 1))}.text-purple-200{--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity, 1))}.text-purple-300{--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-purple-50{--tw-text-opacity: 1;color:rgb(250 245 255 / var(--tw-text-opacity, 1))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-purple-800{--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity, 1))}.text-purple-900{--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity, 1))}.text-red-100{--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity, 1))}.text-red-200{--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-50{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity, 1))}.text-rose-100{--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity, 1))}.text-rose-200{--tw-text-opacity: 1;color:rgb(254 205 211 / var(--tw-text-opacity, 1))}.text-rose-300{--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity, 1))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.text-rose-50{--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity, 1))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity, 1))}.text-rose-600{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.text-rose-700{--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.text-rose-800{--tw-text-opacity: 1;color:rgb(159 18 57 / var(--tw-text-opacity, 1))}.text-rose-900{--tw-text-opacity: 1;color:rgb(136 19 55 / var(--tw-text-opacity, 1))}.text-sky-100{--tw-text-opacity: 1;color:rgb(224 242 254 / var(--tw-text-opacity, 1))}.text-sky-200{--tw-text-opacity: 1;color:rgb(186 230 253 / var(--tw-text-opacity, 1))}.text-sky-300{--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity, 1))}.text-sky-400{--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity, 1))}.text-sky-50{--tw-text-opacity: 1;color:rgb(240 249 255 / var(--tw-text-opacity, 1))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity, 1))}.text-sky-600{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity, 1))}.text-sky-700{--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity, 1))}.text-sky-800{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity, 1))}.text-sky-900{--tw-text-opacity: 1;color:rgb(12 74 110 / var(--tw-text-opacity, 1))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-stone-100{--tw-text-opacity: 1;color:rgb(245 245 244 / var(--tw-text-opacity, 1))}.text-stone-200{--tw-text-opacity: 1;color:rgb(231 229 228 / var(--tw-text-opacity, 1))}.text-stone-300{--tw-text-opacity: 1;color:rgb(214 211 209 / var(--tw-text-opacity, 1))}.text-stone-400{--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity, 1))}.text-stone-50{--tw-text-opacity: 1;color:rgb(250 250 249 / var(--tw-text-opacity, 1))}.text-stone-500{--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity, 1))}.text-stone-600{--tw-text-opacity: 1;color:rgb(87 83 78 / var(--tw-text-opacity, 1))}.text-stone-700{--tw-text-opacity: 1;color:rgb(68 64 60 / var(--tw-text-opacity, 1))}.text-stone-800{--tw-text-opacity: 1;color:rgb(41 37 36 / var(--tw-text-opacity, 1))}.text-stone-900{--tw-text-opacity: 1;color:rgb(28 25 23 / var(--tw-text-opacity, 1))}.text-teal-100{--tw-text-opacity: 1;color:rgb(204 251 241 / var(--tw-text-opacity, 1))}.text-teal-200{--tw-text-opacity: 1;color:rgb(153 246 228 / var(--tw-text-opacity, 1))}.text-teal-300{--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity, 1))}.text-teal-400{--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity, 1))}.text-teal-50{--tw-text-opacity: 1;color:rgb(240 253 250 / var(--tw-text-opacity, 1))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity, 1))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity, 1))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity, 1))}.text-teal-800{--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity, 1))}.text-teal-900{--tw-text-opacity: 1;color:rgb(19 78 74 / var(--tw-text-opacity, 1))}.text-violet-100{--tw-text-opacity: 1;color:rgb(237 233 254 / var(--tw-text-opacity, 1))}.text-violet-200{--tw-text-opacity: 1;color:rgb(221 214 254 / var(--tw-text-opacity, 1))}.text-violet-300{--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity, 1))}.text-violet-400{--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity, 1))}.text-violet-50{--tw-text-opacity: 1;color:rgb(245 243 255 / var(--tw-text-opacity, 1))}.text-violet-500{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity, 1))}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity, 1))}.text-violet-700{--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity, 1))}.text-violet-800{--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity, 1))}.text-violet-900{--tw-text-opacity: 1;color:rgb(76 29 149 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-100{--tw-text-opacity: 1;color:rgb(254 249 195 / var(--tw-text-opacity, 1))}.text-yellow-200{--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity, 1))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.text-yellow-50{--tw-text-opacity: 1;color:rgb(254 252 232 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity, 1))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity, 1))}.text-zinc-100{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity, 1))}.text-zinc-200{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity, 1))}.text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity, 1))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.text-zinc-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}.text-zinc-600{--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity, 1))}.text-zinc-700{--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity, 1))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity, 1))}.text-zinc-900{--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-5{opacity:.05}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-2{outline-width:2px}.outline-offset-8{outline-offset:8px}.outline-yellow-400{outline-color:#facc15}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1))}.ring-white\\/5{--tw-ring-color: rgb(255 255 255 / .05)}.ring-opacity-5{--tw-ring-opacity: .05}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\\!\\[clip\\:rect\\(0\\,0\\,0\\,0\\)\\]{clip:rect(0,0,0,0)!important}.ql-toolbar.ql-snow{border-top-right-radius:10px;border-top-left-radius:10px}.ql-editor{min-height:200px}.table-enter-active,.table-leave-active{transition:opacity .3s ease}.table-enter-from,.table-leave-to{opacity:0}.tags-enter-from{opacity:.6;transform:translate(10px)}.tags-enter-active{transition:all .2s ease}.tags-leave-to{opacity:.1;transform:translate(5px)}.tags-leave-active{transition:all .1s ease;position:absolute}.tags-move{transition:all .1s ease}*{scrollbar-width:thin;scrollbar-color:black transparent}*::-webkit-scrollbar-track{background:transparent;border-radius:25px}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-thumb{background-color:#000;border-radius:25px;border:none}.scrollable{overflow-x:auto;overflow-y:auto}.tailwind-pagination-package{box-shadow:none!important;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px 0px;justify-content:center}.tailwind-pagination-package>:first-child,.tailwind-pagination-package>:last-child{border-radius:100%}.smooth-transition{transition:opacity .3s ease-in-out}p{font-size:1rem;line-height:1.5rem;font-weight:400}@media (min-width: 1024px){p{font-size:1rem;line-height:1.5rem}}a{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}h2{margin-top:1rem;margin-bottom:.75rem;font-size:1.875rem;line-height:2.25rem;font-weight:500}h3{margin-top:1rem;margin-bottom:.75rem;font-size:1.5rem;line-height:2rem;font-weight:500}#pagebuilder a{pointer-events:none}#page-builder-editor .tiptap{background:#fff;min-height:25rem}#pagebuilder #youtube-video:before{content:"Select Video Element";font-family:Jost;background:#16a34a!important;color:#fff;text-decoration:none;margin-right:8px;vertical-align:middle;min-height:3rem;padding:.75rem;white-space:nowrap;word-break:keep-all;font-weight:500;display:inline-flex;gap:.25rem;align-items:center;justify-content:center;border-radius:9999px;border:1px solid transparent;margin-bottom:20px;font-size:.8rem!important}@media (min-width: 640px){#pagebuilder #youtube-video:before{font-size:.9rem!important;width:auto}}#pagebuilder #youtube-video:hover:before{text-decoration:none;cursor:pointer}#page-builder-editor a,#pagebuilder a{text-decoration:underline}#page-builder-editor #linktree p,#pagebuilder #linktree p{width:100%}#page-builder-editor #linktree a,#pagebuilder #linktree a{display:block;padding:1rem .5rem;text-decoration:none;font-weight:500;color:inherit!important;width:100%;cursor:pointer}#page-builder-editor strong,#pagebuilder strong{font-weight:500}#page-builder-editor ol,#pagebuilder ol,#page-builder-editor ul,#pagebuilder ul{list-style:disc!important;padding:1rem 0rem}#page-builder-editor li,#pagebuilder li{line-height:2.2rem;margin-left:1.5em}:root{--dp-border-radius: 40px;--dp-cell-border-radius: 4px;--dp-common-transition: all .1s ease-in}.dp__action_row{display:flex!important;align-items:center!important;justify-content:center;margin:0 0 10px}.dp__today{background:transparent!important;border:2px solid #ff5252!important;color:#ff5252!important;border-radius:100%!important}.dp__active_date{background:#ff5252!important;border:#ff5252!important;color:#fff!important;border-radius:100%!important}.dp__date_hover:hover{background:#f1f1f1!important;border:#f1f1f1!important;color:#000!important;border-radius:100%!important}.dp__action_button{background:#ff5252!important;border:#000!important;color:#fff!important;border-radius:8px!important;padding:1rem!important;font-weight:500}.dp__overlay_cell_active{background:#ff5252!important;border:#000!important;color:#fff!important}@media (min-width: 640px){.sm\\:prose-sm{font-size:.875rem;line-height:1.7142857}.sm\\:prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.sm\\:prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.sm\\:prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.sm\\:prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.sm\\:prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.sm\\:prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.sm\\:prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.sm\\:prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.sm\\:prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.sm\\:prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.sm\\:prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.sm\\:prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.sm\\:prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.sm\\:prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.sm\\:prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.sm\\:prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.sm\\:prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.sm\\:prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.sm\\:prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.sm\\:prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.sm\\:prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.sm\\:prose-sm :where(.sm\\:prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.sm\\:prose-sm :where(.sm\\:prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.sm\\:prose-sm :where(.sm\\:prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.sm\\:prose-sm :where(.sm\\:prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.sm\\:prose-sm :where(.sm\\:prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.sm\\:prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.sm\\:prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.sm\\:prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.sm\\:prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.sm\\:prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.sm\\:prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.sm\\:prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.sm\\:prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.sm\\:prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.sm\\:prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.sm\\:prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.sm\\:prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.sm\\:prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.sm\\:prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.sm\\:prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.sm\\:prose-sm :where(.sm\\:prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.sm\\:prose-sm :where(.sm\\:prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}@media (min-width: 1024px){.lg\\:prose-sm{font-size:.875rem;line-height:1.7142857}.lg\\:prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.lg\\:prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.lg\\:prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.lg\\:prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.lg\\:prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.lg\\:prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.lg\\:prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.lg\\:prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.lg\\:prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.lg\\:prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\\:prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.lg\\:prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.lg\\:prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.lg\\:prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.lg\\:prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.lg\\:prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.lg\\:prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.lg\\:prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.lg\\:prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.lg\\:prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.lg\\:prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.lg\\:prose-sm :where(.lg\\:prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.lg\\:prose-sm :where(.lg\\:prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.lg\\:prose-sm :where(.lg\\:prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.lg\\:prose-sm :where(.lg\\:prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.lg\\:prose-sm :where(.lg\\:prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.lg\\:prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.lg\\:prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.lg\\:prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.lg\\:prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.lg\\:prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.lg\\:prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.lg\\:prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.lg\\:prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.lg\\:prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.lg\\:prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.lg\\:prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.lg\\:prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.lg\\:prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.lg\\:prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\\:prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.lg\\:prose-sm :where(.lg\\:prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\\:prose-sm :where(.lg\\:prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.lg\\:myPrimaryTag{margin-top:.5rem;margin-bottom:.5rem;display:inline-flex;min-height:3rem;align-items:center;justify-content:center;gap:.25rem;word-break:break-all;border-radius:9999px;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(222 230 240 / var(--tw-bg-opacity, 1));padding:.5rem .75rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.lg\\:myPrimaryTag:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){.lg\\:myPrimaryTag{width:auto}}}.hover\\:border-myPrimaryLinkColor:hover{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.hover\\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.hover\\:bg-myPrimaryErrorColor:hover{--tw-bg-opacity: 1;background-color:rgb(214 0 0 / var(--tw-bg-opacity, 1))}.hover\\:bg-myPrimaryLightGrayColor:hover{--tw-bg-opacity: 1;background-color:rgb(239 242 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-myPrimaryLinkColor:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.hover\\:bg-yellow-400:hover{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity, 1))}.hover\\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\\:fill-white:hover{fill:#fff}.hover\\:text-myPrimaryDarkGrayColor:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-green-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.focus\\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1))}.focus\\:ring-myPrimaryErrorColor:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(214 0 0 / var(--tw-ring-opacity, 1))}.focus\\:ring-myPrimaryLinkColor:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.focus\\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 204 21 / var(--tw-ring-opacity, 1))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\\:ring-offset-green-50:focus{--tw-ring-offset-color: #f0fdf4}.focus-visible\\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-myPrimaryLinkColor:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(22 163 74 / var(--tw-ring-opacity, 1))}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:opacity-100{opacity:1}@media (prefers-reduced-motion: reduce){@keyframes spin{to{transform:rotate(360deg)}}.motion-reduce\\:animate-\\[spin_1\\.5s_linear_infinite\\]{animation:spin 1.5s linear infinite}}@media (min-width: 640px){.sm\\:flex{display:flex}.sm\\:grid{display:grid}.sm\\:h-0\\.5{height:.125rem}.sm\\:h-1{height:.25rem}.sm\\:h-1\\.5{height:.375rem}.sm\\:h-1\\/2{height:50%}.sm\\:h-1\\/3{height:33.333333%}.sm\\:h-1\\/4{height:25%}.sm\\:h-1\\/5{height:20%}.sm\\:h-1\\/6{height:16.666667%}.sm\\:h-10{height:2.5rem}.sm\\:h-11{height:2.75rem}.sm\\:h-12{height:3rem}.sm\\:h-14{height:3.5rem}.sm\\:h-16{height:4rem}.sm\\:h-2{height:.5rem}.sm\\:h-2\\.5{height:.625rem}.sm\\:h-2\\/3{height:66.666667%}.sm\\:h-2\\/4{height:50%}.sm\\:h-2\\/5{height:40%}.sm\\:h-2\\/6{height:33.333333%}.sm\\:h-20{height:5rem}.sm\\:h-24{height:6rem}.sm\\:h-28{height:7rem}.sm\\:h-3{height:.75rem}.sm\\:h-3\\.5{height:.875rem}.sm\\:h-3\\/4{height:75%}.sm\\:h-3\\/5{height:60%}.sm\\:h-3\\/6{height:50%}.sm\\:h-32{height:8rem}.sm\\:h-36{height:9rem}.sm\\:h-4{height:1rem}.sm\\:h-4\\/5{height:80%}.sm\\:h-4\\/6{height:66.666667%}.sm\\:h-40{height:10rem}.sm\\:h-44{height:11rem}.sm\\:h-48{height:12rem}.sm\\:h-5{height:1.25rem}.sm\\:h-5\\/6{height:83.333333%}.sm\\:h-52{height:13rem}.sm\\:h-56{height:14rem}.sm\\:h-6{height:1.5rem}.sm\\:h-60{height:15rem}.sm\\:h-64{height:16rem}.sm\\:h-7{height:1.75rem}.sm\\:h-72{height:18rem}.sm\\:h-8{height:2rem}.sm\\:h-80{height:20rem}.sm\\:h-9{height:2.25rem}.sm\\:h-96{height:24rem}.sm\\:h-auto{height:auto}.sm\\:h-fit{height:-moz-fit-content;height:fit-content}.sm\\:h-full{height:100%}.sm\\:h-max{height:-moz-max-content;height:max-content}.sm\\:h-min{height:-moz-min-content;height:min-content}.sm\\:h-screen{height:100vh}.sm\\:w-0\\.5{width:.125rem}.sm\\:w-1{width:.25rem}.sm\\:w-1\\.5{width:.375rem}.sm\\:w-1\\/2{width:50%}.sm\\:w-1\\/3{width:33.333333%}.sm\\:w-1\\/4{width:25%}.sm\\:w-1\\/5{width:20%}.sm\\:w-1\\/6{width:16.666667%}.sm\\:w-10{width:2.5rem}.sm\\:w-11{width:2.75rem}.sm\\:w-12{width:3rem}.sm\\:w-14{width:3.5rem}.sm\\:w-16{width:4rem}.sm\\:w-2{width:.5rem}.sm\\:w-2\\.5{width:.625rem}.sm\\:w-2\\/3{width:66.666667%}.sm\\:w-2\\/4{width:50%}.sm\\:w-2\\/5{width:40%}.sm\\:w-2\\/6{width:33.333333%}.sm\\:w-20{width:5rem}.sm\\:w-24{width:6rem}.sm\\:w-28{width:7rem}.sm\\:w-3{width:.75rem}.sm\\:w-3\\.5{width:.875rem}.sm\\:w-3\\/4{width:75%}.sm\\:w-3\\/5{width:60%}.sm\\:w-3\\/6{width:50%}.sm\\:w-32{width:8rem}.sm\\:w-36{width:9rem}.sm\\:w-4{width:1rem}.sm\\:w-4\\/5{width:80%}.sm\\:w-4\\/6{width:66.666667%}.sm\\:w-40{width:10rem}.sm\\:w-44{width:11rem}.sm\\:w-48{width:12rem}.sm\\:w-5{width:1.25rem}.sm\\:w-5\\/6{width:83.333333%}.sm\\:w-52{width:13rem}.sm\\:w-56{width:14rem}.sm\\:w-6{width:1.5rem}.sm\\:w-60{width:15rem}.sm\\:w-64{width:16rem}.sm\\:w-7{width:1.75rem}.sm\\:w-72{width:18rem}.sm\\:w-8{width:2rem}.sm\\:w-80{width:20rem}.sm\\:w-9{width:2.25rem}.sm\\:w-96{width:24rem}.sm\\:w-auto{width:auto}.sm\\:w-fit{width:-moz-fit-content;width:fit-content}.sm\\:w-full{width:100%}.sm\\:w-max{width:-moz-max-content;width:max-content}.sm\\:w-min{width:-moz-min-content;width:min-content}.sm\\:w-screen{width:100vw}.sm\\:max-w-none{max-width:none}.sm\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.sm\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.sm\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.sm\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.sm\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.sm\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.sm\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.sm\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.sm\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.sm\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.sm\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.sm\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.sm\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.sm\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.sm\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.sm\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.sm\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.sm\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:items-end{align-items:flex-end}.sm\\:justify-end{justify-content:flex-end}.sm\\:pb-0{padding-bottom:0}.sm\\:pb-0\\.5{padding-bottom:.125rem}.sm\\:pb-1{padding-bottom:.25rem}.sm\\:pb-1\\.5{padding-bottom:.375rem}.sm\\:pb-10{padding-bottom:2.5rem}.sm\\:pb-11{padding-bottom:2.75rem}.sm\\:pb-12{padding-bottom:3rem}.sm\\:pb-14{padding-bottom:3.5rem}.sm\\:pb-16{padding-bottom:4rem}.sm\\:pb-2{padding-bottom:.5rem}.sm\\:pb-2\\.5{padding-bottom:.625rem}.sm\\:pb-20{padding-bottom:5rem}.sm\\:pb-24{padding-bottom:6rem}.sm\\:pb-28{padding-bottom:7rem}.sm\\:pb-3{padding-bottom:.75rem}.sm\\:pb-3\\.5{padding-bottom:.875rem}.sm\\:pb-32{padding-bottom:8rem}.sm\\:pb-36{padding-bottom:9rem}.sm\\:pb-4{padding-bottom:1rem}.sm\\:pb-40{padding-bottom:10rem}.sm\\:pb-44{padding-bottom:11rem}.sm\\:pb-48{padding-bottom:12rem}.sm\\:pb-5{padding-bottom:1.25rem}.sm\\:pb-52{padding-bottom:13rem}.sm\\:pb-56{padding-bottom:14rem}.sm\\:pb-6{padding-bottom:1.5rem}.sm\\:pb-60{padding-bottom:15rem}.sm\\:pb-64{padding-bottom:16rem}.sm\\:pb-7{padding-bottom:1.75rem}.sm\\:pb-72{padding-bottom:18rem}.sm\\:pb-8{padding-bottom:2rem}.sm\\:pb-80{padding-bottom:20rem}.sm\\:pb-9{padding-bottom:2.25rem}.sm\\:pb-96{padding-bottom:24rem}.sm\\:pl-0{padding-left:0}.sm\\:pl-0\\.5{padding-left:.125rem}.sm\\:pl-1{padding-left:.25rem}.sm\\:pl-1\\.5{padding-left:.375rem}.sm\\:pl-10{padding-left:2.5rem}.sm\\:pl-11{padding-left:2.75rem}.sm\\:pl-12{padding-left:3rem}.sm\\:pl-14{padding-left:3.5rem}.sm\\:pl-16{padding-left:4rem}.sm\\:pl-2{padding-left:.5rem}.sm\\:pl-2\\.5{padding-left:.625rem}.sm\\:pl-20{padding-left:5rem}.sm\\:pl-24{padding-left:6rem}.sm\\:pl-28{padding-left:7rem}.sm\\:pl-3{padding-left:.75rem}.sm\\:pl-3\\.5{padding-left:.875rem}.sm\\:pl-32{padding-left:8rem}.sm\\:pl-36{padding-left:9rem}.sm\\:pl-4{padding-left:1rem}.sm\\:pl-40{padding-left:10rem}.sm\\:pl-44{padding-left:11rem}.sm\\:pl-48{padding-left:12rem}.sm\\:pl-5{padding-left:1.25rem}.sm\\:pl-52{padding-left:13rem}.sm\\:pl-56{padding-left:14rem}.sm\\:pl-6{padding-left:1.5rem}.sm\\:pl-60{padding-left:15rem}.sm\\:pl-64{padding-left:16rem}.sm\\:pl-7{padding-left:1.75rem}.sm\\:pl-72{padding-left:18rem}.sm\\:pl-8{padding-left:2rem}.sm\\:pl-80{padding-left:20rem}.sm\\:pl-9{padding-left:2.25rem}.sm\\:pl-96{padding-left:24rem}.sm\\:pr-0{padding-right:0}.sm\\:pr-0\\.5{padding-right:.125rem}.sm\\:pr-1{padding-right:.25rem}.sm\\:pr-1\\.5{padding-right:.375rem}.sm\\:pr-10{padding-right:2.5rem}.sm\\:pr-11{padding-right:2.75rem}.sm\\:pr-12{padding-right:3rem}.sm\\:pr-14{padding-right:3.5rem}.sm\\:pr-16{padding-right:4rem}.sm\\:pr-2{padding-right:.5rem}.sm\\:pr-2\\.5{padding-right:.625rem}.sm\\:pr-20{padding-right:5rem}.sm\\:pr-24{padding-right:6rem}.sm\\:pr-28{padding-right:7rem}.sm\\:pr-3{padding-right:.75rem}.sm\\:pr-3\\.5{padding-right:.875rem}.sm\\:pr-32{padding-right:8rem}.sm\\:pr-36{padding-right:9rem}.sm\\:pr-4{padding-right:1rem}.sm\\:pr-40{padding-right:10rem}.sm\\:pr-44{padding-right:11rem}.sm\\:pr-48{padding-right:12rem}.sm\\:pr-5{padding-right:1.25rem}.sm\\:pr-52{padding-right:13rem}.sm\\:pr-56{padding-right:14rem}.sm\\:pr-6{padding-right:1.5rem}.sm\\:pr-60{padding-right:15rem}.sm\\:pr-64{padding-right:16rem}.sm\\:pr-7{padding-right:1.75rem}.sm\\:pr-72{padding-right:18rem}.sm\\:pr-8{padding-right:2rem}.sm\\:pr-80{padding-right:20rem}.sm\\:pr-9{padding-right:2.25rem}.sm\\:pr-96{padding-right:24rem}.sm\\:pt-0{padding-top:0}.sm\\:pt-0\\.5{padding-top:.125rem}.sm\\:pt-1{padding-top:.25rem}.sm\\:pt-1\\.5{padding-top:.375rem}.sm\\:pt-10{padding-top:2.5rem}.sm\\:pt-11{padding-top:2.75rem}.sm\\:pt-12{padding-top:3rem}.sm\\:pt-14{padding-top:3.5rem}.sm\\:pt-16{padding-top:4rem}.sm\\:pt-2{padding-top:.5rem}.sm\\:pt-2\\.5{padding-top:.625rem}.sm\\:pt-20{padding-top:5rem}.sm\\:pt-24{padding-top:6rem}.sm\\:pt-28{padding-top:7rem}.sm\\:pt-3{padding-top:.75rem}.sm\\:pt-3\\.5{padding-top:.875rem}.sm\\:pt-32{padding-top:8rem}.sm\\:pt-36{padding-top:9rem}.sm\\:pt-4{padding-top:1rem}.sm\\:pt-40{padding-top:10rem}.sm\\:pt-44{padding-top:11rem}.sm\\:pt-48{padding-top:12rem}.sm\\:pt-5{padding-top:1.25rem}.sm\\:pt-52{padding-top:13rem}.sm\\:pt-56{padding-top:14rem}.sm\\:pt-6{padding-top:1.5rem}.sm\\:pt-60{padding-top:15rem}.sm\\:pt-64{padding-top:16rem}.sm\\:pt-7{padding-top:1.75rem}.sm\\:pt-72{padding-top:18rem}.sm\\:pt-8{padding-top:2rem}.sm\\:pt-80{padding-top:20rem}.sm\\:pt-9{padding-top:2.25rem}.sm\\:pt-96{padding-top:24rem}.sm\\:align-middle{vertical-align:middle}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\\:text-5xl{font-size:3rem;line-height:1}.sm\\:text-6xl{font-size:3.75rem;line-height:1}.sm\\:text-7xl{font-size:4.5rem;line-height:1}.sm\\:text-8xl{font-size:6rem;line-height:1}.sm\\:text-9xl{font-size:8rem;line-height:1}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:text-xl{font-size:1.25rem;line-height:1.75rem}.sm\\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\\:flex{display:flex}.md\\:grid{display:grid}.md\\:h-0\\.5{height:.125rem}.md\\:h-1{height:.25rem}.md\\:h-1\\.5{height:.375rem}.md\\:h-1\\/2{height:50%}.md\\:h-1\\/3{height:33.333333%}.md\\:h-1\\/4{height:25%}.md\\:h-1\\/5{height:20%}.md\\:h-1\\/6{height:16.666667%}.md\\:h-10{height:2.5rem}.md\\:h-11{height:2.75rem}.md\\:h-12{height:3rem}.md\\:h-14{height:3.5rem}.md\\:h-16{height:4rem}.md\\:h-2{height:.5rem}.md\\:h-2\\.5{height:.625rem}.md\\:h-2\\/3{height:66.666667%}.md\\:h-2\\/4{height:50%}.md\\:h-2\\/5{height:40%}.md\\:h-2\\/6{height:33.333333%}.md\\:h-20{height:5rem}.md\\:h-24{height:6rem}.md\\:h-28{height:7rem}.md\\:h-3{height:.75rem}.md\\:h-3\\.5{height:.875rem}.md\\:h-3\\/4{height:75%}.md\\:h-3\\/5{height:60%}.md\\:h-3\\/6{height:50%}.md\\:h-32{height:8rem}.md\\:h-36{height:9rem}.md\\:h-4{height:1rem}.md\\:h-4\\/5{height:80%}.md\\:h-4\\/6{height:66.666667%}.md\\:h-40{height:10rem}.md\\:h-44{height:11rem}.md\\:h-48{height:12rem}.md\\:h-5{height:1.25rem}.md\\:h-5\\/6{height:83.333333%}.md\\:h-52{height:13rem}.md\\:h-56{height:14rem}.md\\:h-6{height:1.5rem}.md\\:h-60{height:15rem}.md\\:h-64{height:16rem}.md\\:h-7{height:1.75rem}.md\\:h-72{height:18rem}.md\\:h-8{height:2rem}.md\\:h-80{height:20rem}.md\\:h-9{height:2.25rem}.md\\:h-96{height:24rem}.md\\:h-auto{height:auto}.md\\:h-fit{height:-moz-fit-content;height:fit-content}.md\\:h-full{height:100%}.md\\:h-max{height:-moz-max-content;height:max-content}.md\\:h-min{height:-moz-min-content;height:min-content}.md\\:h-screen{height:100vh}.md\\:max-h-\\[20rem\\]{max-height:20rem}.md\\:min-h-\\[20rem\\]{min-height:20rem}.md\\:w-0\\.5{width:.125rem}.md\\:w-1{width:.25rem}.md\\:w-1\\.5{width:.375rem}.md\\:w-1\\/2{width:50%}.md\\:w-1\\/3{width:33.333333%}.md\\:w-1\\/4{width:25%}.md\\:w-1\\/5{width:20%}.md\\:w-1\\/6{width:16.666667%}.md\\:w-10{width:2.5rem}.md\\:w-11{width:2.75rem}.md\\:w-12{width:3rem}.md\\:w-14{width:3.5rem}.md\\:w-16{width:4rem}.md\\:w-2{width:.5rem}.md\\:w-2\\.5{width:.625rem}.md\\:w-2\\/3{width:66.666667%}.md\\:w-2\\/4{width:50%}.md\\:w-2\\/5{width:40%}.md\\:w-2\\/6{width:33.333333%}.md\\:w-20{width:5rem}.md\\:w-24{width:6rem}.md\\:w-28{width:7rem}.md\\:w-3{width:.75rem}.md\\:w-3\\.5{width:.875rem}.md\\:w-3\\/4{width:75%}.md\\:w-3\\/5{width:60%}.md\\:w-3\\/6{width:50%}.md\\:w-32{width:8rem}.md\\:w-36{width:9rem}.md\\:w-4{width:1rem}.md\\:w-4\\/5{width:80%}.md\\:w-4\\/6{width:66.666667%}.md\\:w-40{width:10rem}.md\\:w-44{width:11rem}.md\\:w-48{width:12rem}.md\\:w-5{width:1.25rem}.md\\:w-5\\/6{width:83.333333%}.md\\:w-52{width:13rem}.md\\:w-56{width:14rem}.md\\:w-6{width:1.5rem}.md\\:w-60{width:15rem}.md\\:w-64{width:16rem}.md\\:w-7{width:1.75rem}.md\\:w-72{width:18rem}.md\\:w-8{width:2rem}.md\\:w-80{width:20rem}.md\\:w-9{width:2.25rem}.md\\:w-96{width:24rem}.md\\:w-auto{width:auto}.md\\:w-fit{width:-moz-fit-content;width:fit-content}.md\\:w-full{width:100%}.md\\:w-max{width:-moz-max-content;width:max-content}.md\\:w-min{width:-moz-min-content;width:min-content}.md\\:w-screen{width:100vw}.md\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.md\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.md\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.md\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.md\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.md\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.md\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.md\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.md\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.md\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.md\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.md\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.md\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.md\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.md\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.md\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.md\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.md\\:rounded-lg{border-radius:.5rem}.md\\:px-3{padding-left:.75rem;padding-right:.75rem}.md\\:pb-0{padding-bottom:0}.md\\:pb-0\\.5{padding-bottom:.125rem}.md\\:pb-1{padding-bottom:.25rem}.md\\:pb-1\\.5{padding-bottom:.375rem}.md\\:pb-10{padding-bottom:2.5rem}.md\\:pb-11{padding-bottom:2.75rem}.md\\:pb-12{padding-bottom:3rem}.md\\:pb-14{padding-bottom:3.5rem}.md\\:pb-16{padding-bottom:4rem}.md\\:pb-2{padding-bottom:.5rem}.md\\:pb-2\\.5{padding-bottom:.625rem}.md\\:pb-20{padding-bottom:5rem}.md\\:pb-24{padding-bottom:6rem}.md\\:pb-28{padding-bottom:7rem}.md\\:pb-3{padding-bottom:.75rem}.md\\:pb-3\\.5{padding-bottom:.875rem}.md\\:pb-32{padding-bottom:8rem}.md\\:pb-36{padding-bottom:9rem}.md\\:pb-4{padding-bottom:1rem}.md\\:pb-40{padding-bottom:10rem}.md\\:pb-44{padding-bottom:11rem}.md\\:pb-48{padding-bottom:12rem}.md\\:pb-5{padding-bottom:1.25rem}.md\\:pb-52{padding-bottom:13rem}.md\\:pb-56{padding-bottom:14rem}.md\\:pb-6{padding-bottom:1.5rem}.md\\:pb-60{padding-bottom:15rem}.md\\:pb-64{padding-bottom:16rem}.md\\:pb-7{padding-bottom:1.75rem}.md\\:pb-72{padding-bottom:18rem}.md\\:pb-8{padding-bottom:2rem}.md\\:pb-80{padding-bottom:20rem}.md\\:pb-9{padding-bottom:2.25rem}.md\\:pb-96{padding-bottom:24rem}.md\\:pl-0{padding-left:0}.md\\:pl-0\\.5{padding-left:.125rem}.md\\:pl-1{padding-left:.25rem}.md\\:pl-1\\.5{padding-left:.375rem}.md\\:pl-10{padding-left:2.5rem}.md\\:pl-11{padding-left:2.75rem}.md\\:pl-12{padding-left:3rem}.md\\:pl-14{padding-left:3.5rem}.md\\:pl-16{padding-left:4rem}.md\\:pl-2{padding-left:.5rem}.md\\:pl-2\\.5{padding-left:.625rem}.md\\:pl-20{padding-left:5rem}.md\\:pl-24{padding-left:6rem}.md\\:pl-28{padding-left:7rem}.md\\:pl-3{padding-left:.75rem}.md\\:pl-3\\.5{padding-left:.875rem}.md\\:pl-32{padding-left:8rem}.md\\:pl-36{padding-left:9rem}.md\\:pl-4{padding-left:1rem}.md\\:pl-40{padding-left:10rem}.md\\:pl-44{padding-left:11rem}.md\\:pl-48{padding-left:12rem}.md\\:pl-5{padding-left:1.25rem}.md\\:pl-52{padding-left:13rem}.md\\:pl-56{padding-left:14rem}.md\\:pl-6{padding-left:1.5rem}.md\\:pl-60{padding-left:15rem}.md\\:pl-64{padding-left:16rem}.md\\:pl-7{padding-left:1.75rem}.md\\:pl-72{padding-left:18rem}.md\\:pl-8{padding-left:2rem}.md\\:pl-80{padding-left:20rem}.md\\:pl-9{padding-left:2.25rem}.md\\:pl-96{padding-left:24rem}.md\\:pr-0{padding-right:0}.md\\:pr-0\\.5{padding-right:.125rem}.md\\:pr-1{padding-right:.25rem}.md\\:pr-1\\.5{padding-right:.375rem}.md\\:pr-10{padding-right:2.5rem}.md\\:pr-11{padding-right:2.75rem}.md\\:pr-12{padding-right:3rem}.md\\:pr-14{padding-right:3.5rem}.md\\:pr-16{padding-right:4rem}.md\\:pr-2{padding-right:.5rem}.md\\:pr-2\\.5{padding-right:.625rem}.md\\:pr-20{padding-right:5rem}.md\\:pr-24{padding-right:6rem}.md\\:pr-28{padding-right:7rem}.md\\:pr-3{padding-right:.75rem}.md\\:pr-3\\.5{padding-right:.875rem}.md\\:pr-32{padding-right:8rem}.md\\:pr-36{padding-right:9rem}.md\\:pr-4{padding-right:1rem}.md\\:pr-40{padding-right:10rem}.md\\:pr-44{padding-right:11rem}.md\\:pr-48{padding-right:12rem}.md\\:pr-5{padding-right:1.25rem}.md\\:pr-52{padding-right:13rem}.md\\:pr-56{padding-right:14rem}.md\\:pr-6{padding-right:1.5rem}.md\\:pr-60{padding-right:15rem}.md\\:pr-64{padding-right:16rem}.md\\:pr-7{padding-right:1.75rem}.md\\:pr-72{padding-right:18rem}.md\\:pr-8{padding-right:2rem}.md\\:pr-80{padding-right:20rem}.md\\:pr-9{padding-right:2.25rem}.md\\:pr-96{padding-right:24rem}.md\\:pt-0{padding-top:0}.md\\:pt-0\\.5{padding-top:.125rem}.md\\:pt-1{padding-top:.25rem}.md\\:pt-1\\.5{padding-top:.375rem}.md\\:pt-10{padding-top:2.5rem}.md\\:pt-11{padding-top:2.75rem}.md\\:pt-12{padding-top:3rem}.md\\:pt-14{padding-top:3.5rem}.md\\:pt-16{padding-top:4rem}.md\\:pt-2{padding-top:.5rem}.md\\:pt-2\\.5{padding-top:.625rem}.md\\:pt-20{padding-top:5rem}.md\\:pt-24{padding-top:6rem}.md\\:pt-28{padding-top:7rem}.md\\:pt-3{padding-top:.75rem}.md\\:pt-3\\.5{padding-top:.875rem}.md\\:pt-32{padding-top:8rem}.md\\:pt-36{padding-top:9rem}.md\\:pt-4{padding-top:1rem}.md\\:pt-40{padding-top:10rem}.md\\:pt-44{padding-top:11rem}.md\\:pt-48{padding-top:12rem}.md\\:pt-5{padding-top:1.25rem}.md\\:pt-52{padding-top:13rem}.md\\:pt-56{padding-top:14rem}.md\\:pt-6{padding-top:1.5rem}.md\\:pt-60{padding-top:15rem}.md\\:pt-64{padding-top:16rem}.md\\:pt-7{padding-top:1.75rem}.md\\:pt-72{padding-top:18rem}.md\\:pt-8{padding-top:2rem}.md\\:pt-80{padding-top:20rem}.md\\:pt-9{padding-top:2.25rem}.md\\:pt-96{padding-top:24rem}.md\\:text-2xl{font-size:1.5rem;line-height:2rem}.md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\\:text-5xl{font-size:3rem;line-height:1}.md\\:text-6xl{font-size:3.75rem;line-height:1}.md\\:text-7xl{font-size:4.5rem;line-height:1}.md\\:text-8xl{font-size:6rem;line-height:1}.md\\:text-9xl{font-size:8rem;line-height:1}.md\\:text-base{font-size:1rem;line-height:1.5rem}.md\\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\\:text-sm{font-size:.875rem;line-height:1.25rem}.md\\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 1024px){.lg\\:mr-10{margin-right:2.5rem}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:grid{display:grid}.lg\\:h-0\\.5{height:.125rem}.lg\\:h-1{height:.25rem}.lg\\:h-1\\.5{height:.375rem}.lg\\:h-1\\/2{height:50%}.lg\\:h-1\\/3{height:33.333333%}.lg\\:h-1\\/4{height:25%}.lg\\:h-1\\/5{height:20%}.lg\\:h-1\\/6{height:16.666667%}.lg\\:h-10{height:2.5rem}.lg\\:h-11{height:2.75rem}.lg\\:h-12{height:3rem}.lg\\:h-14{height:3.5rem}.lg\\:h-16{height:4rem}.lg\\:h-2{height:.5rem}.lg\\:h-2\\.5{height:.625rem}.lg\\:h-2\\/3{height:66.666667%}.lg\\:h-2\\/4{height:50%}.lg\\:h-2\\/5{height:40%}.lg\\:h-2\\/6{height:33.333333%}.lg\\:h-20{height:5rem}.lg\\:h-24{height:6rem}.lg\\:h-28{height:7rem}.lg\\:h-3{height:.75rem}.lg\\:h-3\\.5{height:.875rem}.lg\\:h-3\\/4{height:75%}.lg\\:h-3\\/5{height:60%}.lg\\:h-3\\/6{height:50%}.lg\\:h-32{height:8rem}.lg\\:h-36{height:9rem}.lg\\:h-4{height:1rem}.lg\\:h-4\\/5{height:80%}.lg\\:h-4\\/6{height:66.666667%}.lg\\:h-40{height:10rem}.lg\\:h-44{height:11rem}.lg\\:h-48{height:12rem}.lg\\:h-5{height:1.25rem}.lg\\:h-5\\/6{height:83.333333%}.lg\\:h-52{height:13rem}.lg\\:h-56{height:14rem}.lg\\:h-6{height:1.5rem}.lg\\:h-60{height:15rem}.lg\\:h-64{height:16rem}.lg\\:h-7{height:1.75rem}.lg\\:h-72{height:18rem}.lg\\:h-8{height:2rem}.lg\\:h-80{height:20rem}.lg\\:h-9{height:2.25rem}.lg\\:h-96{height:24rem}.lg\\:h-\\[10vh\\]{height:10vh}.lg\\:h-auto{height:auto}.lg\\:h-fit{height:-moz-fit-content;height:fit-content}.lg\\:h-full{height:100%}.lg\\:h-max{height:-moz-max-content;height:max-content}.lg\\:h-min{height:-moz-min-content;height:min-content}.lg\\:h-screen{height:100vh}.lg\\:max-h-\\[30rem\\]{max-height:30rem}.lg\\:min-h-\\[20rem\\]{min-height:20rem}.lg\\:w-0\\.5{width:.125rem}.lg\\:w-1{width:.25rem}.lg\\:w-1\\.5{width:.375rem}.lg\\:w-1\\/2{width:50%}.lg\\:w-1\\/3{width:33.333333%}.lg\\:w-1\\/4{width:25%}.lg\\:w-1\\/5{width:20%}.lg\\:w-1\\/6{width:16.666667%}.lg\\:w-10{width:2.5rem}.lg\\:w-11{width:2.75rem}.lg\\:w-12{width:3rem}.lg\\:w-14{width:3.5rem}.lg\\:w-16{width:4rem}.lg\\:w-2{width:.5rem}.lg\\:w-2\\.5{width:.625rem}.lg\\:w-2\\/3{width:66.666667%}.lg\\:w-2\\/4{width:50%}.lg\\:w-2\\/5{width:40%}.lg\\:w-2\\/6{width:33.333333%}.lg\\:w-20{width:5rem}.lg\\:w-24{width:6rem}.lg\\:w-28{width:7rem}.lg\\:w-3{width:.75rem}.lg\\:w-3\\.5{width:.875rem}.lg\\:w-3\\/4{width:75%}.lg\\:w-3\\/5{width:60%}.lg\\:w-3\\/6{width:50%}.lg\\:w-32{width:8rem}.lg\\:w-36{width:9rem}.lg\\:w-4{width:1rem}.lg\\:w-4\\/5{width:80%}.lg\\:w-4\\/6{width:66.666667%}.lg\\:w-40{width:10rem}.lg\\:w-44{width:11rem}.lg\\:w-48{width:12rem}.lg\\:w-5{width:1.25rem}.lg\\:w-5\\/6{width:83.333333%}.lg\\:w-52{width:13rem}.lg\\:w-56{width:14rem}.lg\\:w-6{width:1.5rem}.lg\\:w-60{width:15rem}.lg\\:w-64{width:16rem}.lg\\:w-7{width:1.75rem}.lg\\:w-72{width:18rem}.lg\\:w-8{width:2rem}.lg\\:w-80{width:20rem}.lg\\:w-9{width:2.25rem}.lg\\:w-96{width:24rem}.lg\\:w-auto{width:auto}.lg\\:w-fit{width:-moz-fit-content;width:fit-content}.lg\\:w-full{width:100%}.lg\\:w-max{width:-moz-max-content;width:max-content}.lg\\:w-min{width:-moz-min-content;width:min-content}.lg\\:w-screen{width:100vw}.lg\\:max-w-2xl{max-width:42rem}.lg\\:max-w-3xl{max-width:48rem}.lg\\:max-w-4xl{max-width:56rem}.lg\\:max-w-5xl{max-width:64rem}.lg\\:max-w-6xl{max-width:72rem}.lg\\:max-w-7xl{max-width:80rem}.lg\\:max-w-full{max-width:100%}.lg\\:max-w-lg{max-width:32rem}.lg\\:max-w-md{max-width:28rem}.lg\\:max-w-sm{max-width:24rem}.lg\\:max-w-xl{max-width:36rem}.lg\\:auto-cols-\\[minmax\\(100px\\,_4fr\\)\\]{grid-auto-columns:minmax(100px,4fr)}.lg\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lg\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.lg\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.lg\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.lg\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.lg\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.lg\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.lg\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.lg\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.lg\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.lg\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.lg\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.lg\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.lg\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.lg\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.lg\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.lg\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.lg\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.lg\\:justify-center{justify-content:center}.lg\\:justify-between{justify-content:space-between}.lg\\:gap-x-12{-moz-column-gap:3rem;column-gap:3rem}.lg\\:border{border-width:1px}.lg\\:border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.lg\\:px-12{padding-left:3rem;padding-right:3rem}.lg\\:px-4{padding-left:1rem;padding-right:1rem}.lg\\:py-10{padding-top:2.5rem;padding-bottom:2.5rem}.lg\\:pb-0{padding-bottom:0}.lg\\:pb-0\\.5{padding-bottom:.125rem}.lg\\:pb-1{padding-bottom:.25rem}.lg\\:pb-1\\.5{padding-bottom:.375rem}.lg\\:pb-10{padding-bottom:2.5rem}.lg\\:pb-11{padding-bottom:2.75rem}.lg\\:pb-12{padding-bottom:3rem}.lg\\:pb-14{padding-bottom:3.5rem}.lg\\:pb-16{padding-bottom:4rem}.lg\\:pb-2{padding-bottom:.5rem}.lg\\:pb-2\\.5{padding-bottom:.625rem}.lg\\:pb-20{padding-bottom:5rem}.lg\\:pb-24{padding-bottom:6rem}.lg\\:pb-28{padding-bottom:7rem}.lg\\:pb-3{padding-bottom:.75rem}.lg\\:pb-3\\.5{padding-bottom:.875rem}.lg\\:pb-32{padding-bottom:8rem}.lg\\:pb-36{padding-bottom:9rem}.lg\\:pb-4{padding-bottom:1rem}.lg\\:pb-40{padding-bottom:10rem}.lg\\:pb-44{padding-bottom:11rem}.lg\\:pb-48{padding-bottom:12rem}.lg\\:pb-5{padding-bottom:1.25rem}.lg\\:pb-52{padding-bottom:13rem}.lg\\:pb-56{padding-bottom:14rem}.lg\\:pb-6{padding-bottom:1.5rem}.lg\\:pb-60{padding-bottom:15rem}.lg\\:pb-64{padding-bottom:16rem}.lg\\:pb-7{padding-bottom:1.75rem}.lg\\:pb-72{padding-bottom:18rem}.lg\\:pb-8{padding-bottom:2rem}.lg\\:pb-80{padding-bottom:20rem}.lg\\:pb-9{padding-bottom:2.25rem}.lg\\:pb-96{padding-bottom:24rem}.lg\\:pl-0{padding-left:0}.lg\\:pl-0\\.5{padding-left:.125rem}.lg\\:pl-1{padding-left:.25rem}.lg\\:pl-1\\.5{padding-left:.375rem}.lg\\:pl-10{padding-left:2.5rem}.lg\\:pl-11{padding-left:2.75rem}.lg\\:pl-12{padding-left:3rem}.lg\\:pl-14{padding-left:3.5rem}.lg\\:pl-16{padding-left:4rem}.lg\\:pl-2{padding-left:.5rem}.lg\\:pl-2\\.5{padding-left:.625rem}.lg\\:pl-20{padding-left:5rem}.lg\\:pl-24{padding-left:6rem}.lg\\:pl-28{padding-left:7rem}.lg\\:pl-3{padding-left:.75rem}.lg\\:pl-3\\.5{padding-left:.875rem}.lg\\:pl-32{padding-left:8rem}.lg\\:pl-36{padding-left:9rem}.lg\\:pl-4{padding-left:1rem}.lg\\:pl-40{padding-left:10rem}.lg\\:pl-44{padding-left:11rem}.lg\\:pl-48{padding-left:12rem}.lg\\:pl-5{padding-left:1.25rem}.lg\\:pl-52{padding-left:13rem}.lg\\:pl-56{padding-left:14rem}.lg\\:pl-6{padding-left:1.5rem}.lg\\:pl-60{padding-left:15rem}.lg\\:pl-64{padding-left:16rem}.lg\\:pl-7{padding-left:1.75rem}.lg\\:pl-72{padding-left:18rem}.lg\\:pl-8{padding-left:2rem}.lg\\:pl-80{padding-left:20rem}.lg\\:pl-9{padding-left:2.25rem}.lg\\:pl-96{padding-left:24rem}.lg\\:pr-0{padding-right:0}.lg\\:pr-0\\.5{padding-right:.125rem}.lg\\:pr-1{padding-right:.25rem}.lg\\:pr-1\\.5{padding-right:.375rem}.lg\\:pr-10{padding-right:2.5rem}.lg\\:pr-11{padding-right:2.75rem}.lg\\:pr-12{padding-right:3rem}.lg\\:pr-14{padding-right:3.5rem}.lg\\:pr-16{padding-right:4rem}.lg\\:pr-2{padding-right:.5rem}.lg\\:pr-2\\.5{padding-right:.625rem}.lg\\:pr-20{padding-right:5rem}.lg\\:pr-24{padding-right:6rem}.lg\\:pr-28{padding-right:7rem}.lg\\:pr-3{padding-right:.75rem}.lg\\:pr-3\\.5{padding-right:.875rem}.lg\\:pr-32{padding-right:8rem}.lg\\:pr-36{padding-right:9rem}.lg\\:pr-4{padding-right:1rem}.lg\\:pr-40{padding-right:10rem}.lg\\:pr-44{padding-right:11rem}.lg\\:pr-48{padding-right:12rem}.lg\\:pr-5{padding-right:1.25rem}.lg\\:pr-52{padding-right:13rem}.lg\\:pr-56{padding-right:14rem}.lg\\:pr-6{padding-right:1.5rem}.lg\\:pr-60{padding-right:15rem}.lg\\:pr-64{padding-right:16rem}.lg\\:pr-7{padding-right:1.75rem}.lg\\:pr-72{padding-right:18rem}.lg\\:pr-8{padding-right:2rem}.lg\\:pr-80{padding-right:20rem}.lg\\:pr-9{padding-right:2.25rem}.lg\\:pr-96{padding-right:24rem}.lg\\:pt-0{padding-top:0}.lg\\:pt-0\\.5{padding-top:.125rem}.lg\\:pt-1{padding-top:.25rem}.lg\\:pt-1\\.5{padding-top:.375rem}.lg\\:pt-10{padding-top:2.5rem}.lg\\:pt-11{padding-top:2.75rem}.lg\\:pt-12{padding-top:3rem}.lg\\:pt-14{padding-top:3.5rem}.lg\\:pt-16{padding-top:4rem}.lg\\:pt-2{padding-top:.5rem}.lg\\:pt-2\\.5{padding-top:.625rem}.lg\\:pt-20{padding-top:5rem}.lg\\:pt-24{padding-top:6rem}.lg\\:pt-28{padding-top:7rem}.lg\\:pt-3{padding-top:.75rem}.lg\\:pt-3\\.5{padding-top:.875rem}.lg\\:pt-32{padding-top:8rem}.lg\\:pt-36{padding-top:9rem}.lg\\:pt-4{padding-top:1rem}.lg\\:pt-40{padding-top:10rem}.lg\\:pt-44{padding-top:11rem}.lg\\:pt-48{padding-top:12rem}.lg\\:pt-5{padding-top:1.25rem}.lg\\:pt-52{padding-top:13rem}.lg\\:pt-56{padding-top:14rem}.lg\\:pt-6{padding-top:1.5rem}.lg\\:pt-60{padding-top:15rem}.lg\\:pt-64{padding-top:16rem}.lg\\:pt-7{padding-top:1.75rem}.lg\\:pt-72{padding-top:18rem}.lg\\:pt-8{padding-top:2rem}.lg\\:pt-80{padding-top:20rem}.lg\\:pt-9{padding-top:2.25rem}.lg\\:pt-96{padding-top:24rem}.lg\\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\\:text-5xl{font-size:3rem;line-height:1}.lg\\:text-6xl{font-size:3.75rem;line-height:1}.lg\\:text-7xl{font-size:4.5rem;line-height:1}.lg\\:text-8xl{font-size:6rem;line-height:1}.lg\\:text-9xl{font-size:8rem;line-height:1}.lg\\:text-base{font-size:1rem;line-height:1.5rem}.lg\\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\\:text-sm{font-size:.875rem;line-height:1.25rem}.lg\\:text-xl{font-size:1.25rem;line-height:1.75rem}.lg\\:text-xs{font-size:.75rem;line-height:1rem}.lg\\:shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}}@media (min-width: 1280px){.xl\\:flex{display:flex}.xl\\:grid{display:grid}.xl\\:h-0\\.5{height:.125rem}.xl\\:h-1{height:.25rem}.xl\\:h-1\\.5{height:.375rem}.xl\\:h-1\\/2{height:50%}.xl\\:h-1\\/3{height:33.333333%}.xl\\:h-1\\/4{height:25%}.xl\\:h-1\\/5{height:20%}.xl\\:h-1\\/6{height:16.666667%}.xl\\:h-10{height:2.5rem}.xl\\:h-11{height:2.75rem}.xl\\:h-12{height:3rem}.xl\\:h-14{height:3.5rem}.xl\\:h-16{height:4rem}.xl\\:h-2{height:.5rem}.xl\\:h-2\\.5{height:.625rem}.xl\\:h-2\\/3{height:66.666667%}.xl\\:h-2\\/4{height:50%}.xl\\:h-2\\/5{height:40%}.xl\\:h-2\\/6{height:33.333333%}.xl\\:h-20{height:5rem}.xl\\:h-24{height:6rem}.xl\\:h-28{height:7rem}.xl\\:h-3{height:.75rem}.xl\\:h-3\\.5{height:.875rem}.xl\\:h-3\\/4{height:75%}.xl\\:h-3\\/5{height:60%}.xl\\:h-3\\/6{height:50%}.xl\\:h-32{height:8rem}.xl\\:h-36{height:9rem}.xl\\:h-4{height:1rem}.xl\\:h-4\\/5{height:80%}.xl\\:h-4\\/6{height:66.666667%}.xl\\:h-40{height:10rem}.xl\\:h-44{height:11rem}.xl\\:h-48{height:12rem}.xl\\:h-5{height:1.25rem}.xl\\:h-5\\/6{height:83.333333%}.xl\\:h-52{height:13rem}.xl\\:h-56{height:14rem}.xl\\:h-6{height:1.5rem}.xl\\:h-60{height:15rem}.xl\\:h-64{height:16rem}.xl\\:h-7{height:1.75rem}.xl\\:h-72{height:18rem}.xl\\:h-8{height:2rem}.xl\\:h-80{height:20rem}.xl\\:h-9{height:2.25rem}.xl\\:h-96{height:24rem}.xl\\:h-auto{height:auto}.xl\\:h-fit{height:-moz-fit-content;height:fit-content}.xl\\:h-full{height:100%}.xl\\:h-max{height:-moz-max-content;height:max-content}.xl\\:h-min{height:-moz-min-content;height:min-content}.xl\\:h-screen{height:100vh}.xl\\:w-0\\.5{width:.125rem}.xl\\:w-1{width:.25rem}.xl\\:w-1\\.5{width:.375rem}.xl\\:w-1\\/2{width:50%}.xl\\:w-1\\/3{width:33.333333%}.xl\\:w-1\\/4{width:25%}.xl\\:w-1\\/5{width:20%}.xl\\:w-1\\/6{width:16.666667%}.xl\\:w-10{width:2.5rem}.xl\\:w-11{width:2.75rem}.xl\\:w-12{width:3rem}.xl\\:w-14{width:3.5rem}.xl\\:w-16{width:4rem}.xl\\:w-2{width:.5rem}.xl\\:w-2\\.5{width:.625rem}.xl\\:w-2\\/3{width:66.666667%}.xl\\:w-2\\/4{width:50%}.xl\\:w-2\\/5{width:40%}.xl\\:w-2\\/6{width:33.333333%}.xl\\:w-20{width:5rem}.xl\\:w-24{width:6rem}.xl\\:w-28{width:7rem}.xl\\:w-3{width:.75rem}.xl\\:w-3\\.5{width:.875rem}.xl\\:w-3\\/4{width:75%}.xl\\:w-3\\/5{width:60%}.xl\\:w-3\\/6{width:50%}.xl\\:w-32{width:8rem}.xl\\:w-36{width:9rem}.xl\\:w-4{width:1rem}.xl\\:w-4\\/5{width:80%}.xl\\:w-4\\/6{width:66.666667%}.xl\\:w-40{width:10rem}.xl\\:w-44{width:11rem}.xl\\:w-48{width:12rem}.xl\\:w-5{width:1.25rem}.xl\\:w-5\\/6{width:83.333333%}.xl\\:w-52{width:13rem}.xl\\:w-56{width:14rem}.xl\\:w-6{width:1.5rem}.xl\\:w-60{width:15rem}.xl\\:w-64{width:16rem}.xl\\:w-7{width:1.75rem}.xl\\:w-72{width:18rem}.xl\\:w-8{width:2rem}.xl\\:w-80{width:20rem}.xl\\:w-9{width:2.25rem}.xl\\:w-96{width:24rem}.xl\\:w-auto{width:auto}.xl\\:w-fit{width:-moz-fit-content;width:fit-content}.xl\\:w-full{width:100%}.xl\\:w-max{width:-moz-max-content;width:max-content}.xl\\:w-min{width:-moz-min-content;width:min-content}.xl\\:w-screen{width:100vw}.xl\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.xl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.xl\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.xl\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.xl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.xl\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.xl\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.xl\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.xl\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.xl\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.xl\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.xl\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.xl\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.xl\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.xl\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.xl\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.xl\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.xl\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.xl\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.xl\\:pb-0{padding-bottom:0}.xl\\:pb-0\\.5{padding-bottom:.125rem}.xl\\:pb-1{padding-bottom:.25rem}.xl\\:pb-1\\.5{padding-bottom:.375rem}.xl\\:pb-10{padding-bottom:2.5rem}.xl\\:pb-11{padding-bottom:2.75rem}.xl\\:pb-12{padding-bottom:3rem}.xl\\:pb-14{padding-bottom:3.5rem}.xl\\:pb-16{padding-bottom:4rem}.xl\\:pb-2{padding-bottom:.5rem}.xl\\:pb-2\\.5{padding-bottom:.625rem}.xl\\:pb-20{padding-bottom:5rem}.xl\\:pb-24{padding-bottom:6rem}.xl\\:pb-28{padding-bottom:7rem}.xl\\:pb-3{padding-bottom:.75rem}.xl\\:pb-3\\.5{padding-bottom:.875rem}.xl\\:pb-32{padding-bottom:8rem}.xl\\:pb-36{padding-bottom:9rem}.xl\\:pb-4{padding-bottom:1rem}.xl\\:pb-40{padding-bottom:10rem}.xl\\:pb-44{padding-bottom:11rem}.xl\\:pb-48{padding-bottom:12rem}.xl\\:pb-5{padding-bottom:1.25rem}.xl\\:pb-52{padding-bottom:13rem}.xl\\:pb-56{padding-bottom:14rem}.xl\\:pb-6{padding-bottom:1.5rem}.xl\\:pb-60{padding-bottom:15rem}.xl\\:pb-64{padding-bottom:16rem}.xl\\:pb-7{padding-bottom:1.75rem}.xl\\:pb-72{padding-bottom:18rem}.xl\\:pb-8{padding-bottom:2rem}.xl\\:pb-80{padding-bottom:20rem}.xl\\:pb-9{padding-bottom:2.25rem}.xl\\:pb-96{padding-bottom:24rem}.xl\\:pl-0{padding-left:0}.xl\\:pl-0\\.5{padding-left:.125rem}.xl\\:pl-1{padding-left:.25rem}.xl\\:pl-1\\.5{padding-left:.375rem}.xl\\:pl-10{padding-left:2.5rem}.xl\\:pl-11{padding-left:2.75rem}.xl\\:pl-12{padding-left:3rem}.xl\\:pl-14{padding-left:3.5rem}.xl\\:pl-16{padding-left:4rem}.xl\\:pl-2{padding-left:.5rem}.xl\\:pl-2\\.5{padding-left:.625rem}.xl\\:pl-20{padding-left:5rem}.xl\\:pl-24{padding-left:6rem}.xl\\:pl-28{padding-left:7rem}.xl\\:pl-3{padding-left:.75rem}.xl\\:pl-3\\.5{padding-left:.875rem}.xl\\:pl-32{padding-left:8rem}.xl\\:pl-36{padding-left:9rem}.xl\\:pl-4{padding-left:1rem}.xl\\:pl-40{padding-left:10rem}.xl\\:pl-44{padding-left:11rem}.xl\\:pl-48{padding-left:12rem}.xl\\:pl-5{padding-left:1.25rem}.xl\\:pl-52{padding-left:13rem}.xl\\:pl-56{padding-left:14rem}.xl\\:pl-6{padding-left:1.5rem}.xl\\:pl-60{padding-left:15rem}.xl\\:pl-64{padding-left:16rem}.xl\\:pl-7{padding-left:1.75rem}.xl\\:pl-72{padding-left:18rem}.xl\\:pl-8{padding-left:2rem}.xl\\:pl-80{padding-left:20rem}.xl\\:pl-9{padding-left:2.25rem}.xl\\:pl-96{padding-left:24rem}.xl\\:pr-0{padding-right:0}.xl\\:pr-0\\.5{padding-right:.125rem}.xl\\:pr-1{padding-right:.25rem}.xl\\:pr-1\\.5{padding-right:.375rem}.xl\\:pr-10{padding-right:2.5rem}.xl\\:pr-11{padding-right:2.75rem}.xl\\:pr-12{padding-right:3rem}.xl\\:pr-14{padding-right:3.5rem}.xl\\:pr-16{padding-right:4rem}.xl\\:pr-2{padding-right:.5rem}.xl\\:pr-2\\.5{padding-right:.625rem}.xl\\:pr-20{padding-right:5rem}.xl\\:pr-24{padding-right:6rem}.xl\\:pr-28{padding-right:7rem}.xl\\:pr-3{padding-right:.75rem}.xl\\:pr-3\\.5{padding-right:.875rem}.xl\\:pr-32{padding-right:8rem}.xl\\:pr-36{padding-right:9rem}.xl\\:pr-4{padding-right:1rem}.xl\\:pr-40{padding-right:10rem}.xl\\:pr-44{padding-right:11rem}.xl\\:pr-48{padding-right:12rem}.xl\\:pr-5{padding-right:1.25rem}.xl\\:pr-52{padding-right:13rem}.xl\\:pr-56{padding-right:14rem}.xl\\:pr-6{padding-right:1.5rem}.xl\\:pr-60{padding-right:15rem}.xl\\:pr-64{padding-right:16rem}.xl\\:pr-7{padding-right:1.75rem}.xl\\:pr-72{padding-right:18rem}.xl\\:pr-8{padding-right:2rem}.xl\\:pr-80{padding-right:20rem}.xl\\:pr-9{padding-right:2.25rem}.xl\\:pr-96{padding-right:24rem}.xl\\:pt-0{padding-top:0}.xl\\:pt-0\\.5{padding-top:.125rem}.xl\\:pt-1{padding-top:.25rem}.xl\\:pt-1\\.5{padding-top:.375rem}.xl\\:pt-10{padding-top:2.5rem}.xl\\:pt-11{padding-top:2.75rem}.xl\\:pt-12{padding-top:3rem}.xl\\:pt-14{padding-top:3.5rem}.xl\\:pt-16{padding-top:4rem}.xl\\:pt-2{padding-top:.5rem}.xl\\:pt-2\\.5{padding-top:.625rem}.xl\\:pt-20{padding-top:5rem}.xl\\:pt-24{padding-top:6rem}.xl\\:pt-28{padding-top:7rem}.xl\\:pt-3{padding-top:.75rem}.xl\\:pt-3\\.5{padding-top:.875rem}.xl\\:pt-32{padding-top:8rem}.xl\\:pt-36{padding-top:9rem}.xl\\:pt-4{padding-top:1rem}.xl\\:pt-40{padding-top:10rem}.xl\\:pt-44{padding-top:11rem}.xl\\:pt-48{padding-top:12rem}.xl\\:pt-5{padding-top:1.25rem}.xl\\:pt-52{padding-top:13rem}.xl\\:pt-56{padding-top:14rem}.xl\\:pt-6{padding-top:1.5rem}.xl\\:pt-60{padding-top:15rem}.xl\\:pt-64{padding-top:16rem}.xl\\:pt-7{padding-top:1.75rem}.xl\\:pt-72{padding-top:18rem}.xl\\:pt-8{padding-top:2rem}.xl\\:pt-80{padding-top:20rem}.xl\\:pt-9{padding-top:2.25rem}.xl\\:pt-96{padding-top:24rem}}@media (min-width: 1536px){.\\32xl\\:flex{display:flex}.\\32xl\\:grid{display:grid}.\\32xl\\:h-0\\.5{height:.125rem}.\\32xl\\:h-1{height:.25rem}.\\32xl\\:h-1\\.5{height:.375rem}.\\32xl\\:h-1\\/2{height:50%}.\\32xl\\:h-1\\/3{height:33.333333%}.\\32xl\\:h-1\\/4{height:25%}.\\32xl\\:h-1\\/5{height:20%}.\\32xl\\:h-1\\/6{height:16.666667%}.\\32xl\\:h-10{height:2.5rem}.\\32xl\\:h-11{height:2.75rem}.\\32xl\\:h-12{height:3rem}.\\32xl\\:h-14{height:3.5rem}.\\32xl\\:h-16{height:4rem}.\\32xl\\:h-2{height:.5rem}.\\32xl\\:h-2\\.5{height:.625rem}.\\32xl\\:h-2\\/3{height:66.666667%}.\\32xl\\:h-2\\/4{height:50%}.\\32xl\\:h-2\\/5{height:40%}.\\32xl\\:h-2\\/6{height:33.333333%}.\\32xl\\:h-20{height:5rem}.\\32xl\\:h-24{height:6rem}.\\32xl\\:h-28{height:7rem}.\\32xl\\:h-3{height:.75rem}.\\32xl\\:h-3\\.5{height:.875rem}.\\32xl\\:h-3\\/4{height:75%}.\\32xl\\:h-3\\/5{height:60%}.\\32xl\\:h-3\\/6{height:50%}.\\32xl\\:h-32{height:8rem}.\\32xl\\:h-36{height:9rem}.\\32xl\\:h-4{height:1rem}.\\32xl\\:h-4\\/5{height:80%}.\\32xl\\:h-4\\/6{height:66.666667%}.\\32xl\\:h-40{height:10rem}.\\32xl\\:h-44{height:11rem}.\\32xl\\:h-48{height:12rem}.\\32xl\\:h-5{height:1.25rem}.\\32xl\\:h-5\\/6{height:83.333333%}.\\32xl\\:h-52{height:13rem}.\\32xl\\:h-56{height:14rem}.\\32xl\\:h-6{height:1.5rem}.\\32xl\\:h-60{height:15rem}.\\32xl\\:h-64{height:16rem}.\\32xl\\:h-7{height:1.75rem}.\\32xl\\:h-72{height:18rem}.\\32xl\\:h-8{height:2rem}.\\32xl\\:h-80{height:20rem}.\\32xl\\:h-9{height:2.25rem}.\\32xl\\:h-96{height:24rem}.\\32xl\\:h-auto{height:auto}.\\32xl\\:h-fit{height:-moz-fit-content;height:fit-content}.\\32xl\\:h-full{height:100%}.\\32xl\\:h-max{height:-moz-max-content;height:max-content}.\\32xl\\:h-min{height:-moz-min-content;height:min-content}.\\32xl\\:h-screen{height:100vh}.\\32xl\\:w-0\\.5{width:.125rem}.\\32xl\\:w-1{width:.25rem}.\\32xl\\:w-1\\.5{width:.375rem}.\\32xl\\:w-1\\/2{width:50%}.\\32xl\\:w-1\\/3{width:33.333333%}.\\32xl\\:w-1\\/4{width:25%}.\\32xl\\:w-1\\/5{width:20%}.\\32xl\\:w-1\\/6{width:16.666667%}.\\32xl\\:w-10{width:2.5rem}.\\32xl\\:w-11{width:2.75rem}.\\32xl\\:w-12{width:3rem}.\\32xl\\:w-14{width:3.5rem}.\\32xl\\:w-16{width:4rem}.\\32xl\\:w-2{width:.5rem}.\\32xl\\:w-2\\.5{width:.625rem}.\\32xl\\:w-2\\/3{width:66.666667%}.\\32xl\\:w-2\\/4{width:50%}.\\32xl\\:w-2\\/5{width:40%}.\\32xl\\:w-2\\/6{width:33.333333%}.\\32xl\\:w-20{width:5rem}.\\32xl\\:w-24{width:6rem}.\\32xl\\:w-28{width:7rem}.\\32xl\\:w-3{width:.75rem}.\\32xl\\:w-3\\.5{width:.875rem}.\\32xl\\:w-3\\/4{width:75%}.\\32xl\\:w-3\\/5{width:60%}.\\32xl\\:w-3\\/6{width:50%}.\\32xl\\:w-32{width:8rem}.\\32xl\\:w-36{width:9rem}.\\32xl\\:w-4{width:1rem}.\\32xl\\:w-4\\/5{width:80%}.\\32xl\\:w-4\\/6{width:66.666667%}.\\32xl\\:w-40{width:10rem}.\\32xl\\:w-44{width:11rem}.\\32xl\\:w-48{width:12rem}.\\32xl\\:w-5{width:1.25rem}.\\32xl\\:w-5\\/6{width:83.333333%}.\\32xl\\:w-52{width:13rem}.\\32xl\\:w-56{width:14rem}.\\32xl\\:w-6{width:1.5rem}.\\32xl\\:w-60{width:15rem}.\\32xl\\:w-64{width:16rem}.\\32xl\\:w-7{width:1.75rem}.\\32xl\\:w-72{width:18rem}.\\32xl\\:w-8{width:2rem}.\\32xl\\:w-80{width:20rem}.\\32xl\\:w-9{width:2.25rem}.\\32xl\\:w-96{width:24rem}.\\32xl\\:w-auto{width:auto}.\\32xl\\:w-fit{width:-moz-fit-content;width:fit-content}.\\32xl\\:w-full{width:100%}.\\32xl\\:w-max{width:-moz-max-content;width:max-content}.\\32xl\\:w-min{width:-moz-min-content;width:min-content}.\\32xl\\:w-screen{width:100vw}.\\32xl\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.\\32xl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.\\32xl\\:grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.\\32xl\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.\\32xl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\\32xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.\\32xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.\\32xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.\\32xl\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.\\32xl\\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.\\32xl\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.\\32xl\\:grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.\\32xl\\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.\\32xl\\:grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.\\32xl\\:grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.\\32xl\\:grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.\\32xl\\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.\\32xl\\:grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.\\32xl\\:grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.\\32xl\\:grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.\\32xl\\:grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.\\32xl\\:grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.\\32xl\\:grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.\\32xl\\:grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.\\32xl\\:pb-0{padding-bottom:0}.\\32xl\\:pb-0\\.5{padding-bottom:.125rem}.\\32xl\\:pb-1{padding-bottom:.25rem}.\\32xl\\:pb-1\\.5{padding-bottom:.375rem}.\\32xl\\:pb-10{padding-bottom:2.5rem}.\\32xl\\:pb-11{padding-bottom:2.75rem}.\\32xl\\:pb-12{padding-bottom:3rem}.\\32xl\\:pb-14{padding-bottom:3.5rem}.\\32xl\\:pb-16{padding-bottom:4rem}.\\32xl\\:pb-2{padding-bottom:.5rem}.\\32xl\\:pb-2\\.5{padding-bottom:.625rem}.\\32xl\\:pb-20{padding-bottom:5rem}.\\32xl\\:pb-24{padding-bottom:6rem}.\\32xl\\:pb-28{padding-bottom:7rem}.\\32xl\\:pb-3{padding-bottom:.75rem}.\\32xl\\:pb-3\\.5{padding-bottom:.875rem}.\\32xl\\:pb-32{padding-bottom:8rem}.\\32xl\\:pb-36{padding-bottom:9rem}.\\32xl\\:pb-4{padding-bottom:1rem}.\\32xl\\:pb-40{padding-bottom:10rem}.\\32xl\\:pb-44{padding-bottom:11rem}.\\32xl\\:pb-48{padding-bottom:12rem}.\\32xl\\:pb-5{padding-bottom:1.25rem}.\\32xl\\:pb-52{padding-bottom:13rem}.\\32xl\\:pb-56{padding-bottom:14rem}.\\32xl\\:pb-6{padding-bottom:1.5rem}.\\32xl\\:pb-60{padding-bottom:15rem}.\\32xl\\:pb-64{padding-bottom:16rem}.\\32xl\\:pb-7{padding-bottom:1.75rem}.\\32xl\\:pb-72{padding-bottom:18rem}.\\32xl\\:pb-8{padding-bottom:2rem}.\\32xl\\:pb-80{padding-bottom:20rem}.\\32xl\\:pb-9{padding-bottom:2.25rem}.\\32xl\\:pb-96{padding-bottom:24rem}.\\32xl\\:pl-0{padding-left:0}.\\32xl\\:pl-0\\.5{padding-left:.125rem}.\\32xl\\:pl-1{padding-left:.25rem}.\\32xl\\:pl-1\\.5{padding-left:.375rem}.\\32xl\\:pl-10{padding-left:2.5rem}.\\32xl\\:pl-11{padding-left:2.75rem}.\\32xl\\:pl-12{padding-left:3rem}.\\32xl\\:pl-14{padding-left:3.5rem}.\\32xl\\:pl-16{padding-left:4rem}.\\32xl\\:pl-2{padding-left:.5rem}.\\32xl\\:pl-2\\.5{padding-left:.625rem}.\\32xl\\:pl-20{padding-left:5rem}.\\32xl\\:pl-24{padding-left:6rem}.\\32xl\\:pl-28{padding-left:7rem}.\\32xl\\:pl-3{padding-left:.75rem}.\\32xl\\:pl-3\\.5{padding-left:.875rem}.\\32xl\\:pl-32{padding-left:8rem}.\\32xl\\:pl-36{padding-left:9rem}.\\32xl\\:pl-4{padding-left:1rem}.\\32xl\\:pl-40{padding-left:10rem}.\\32xl\\:pl-44{padding-left:11rem}.\\32xl\\:pl-48{padding-left:12rem}.\\32xl\\:pl-5{padding-left:1.25rem}.\\32xl\\:pl-52{padding-left:13rem}.\\32xl\\:pl-56{padding-left:14rem}.\\32xl\\:pl-6{padding-left:1.5rem}.\\32xl\\:pl-60{padding-left:15rem}.\\32xl\\:pl-64{padding-left:16rem}.\\32xl\\:pl-7{padding-left:1.75rem}.\\32xl\\:pl-72{padding-left:18rem}.\\32xl\\:pl-8{padding-left:2rem}.\\32xl\\:pl-80{padding-left:20rem}.\\32xl\\:pl-9{padding-left:2.25rem}.\\32xl\\:pl-96{padding-left:24rem}.\\32xl\\:pr-0{padding-right:0}.\\32xl\\:pr-0\\.5{padding-right:.125rem}.\\32xl\\:pr-1{padding-right:.25rem}.\\32xl\\:pr-1\\.5{padding-right:.375rem}.\\32xl\\:pr-10{padding-right:2.5rem}.\\32xl\\:pr-11{padding-right:2.75rem}.\\32xl\\:pr-12{padding-right:3rem}.\\32xl\\:pr-14{padding-right:3.5rem}.\\32xl\\:pr-16{padding-right:4rem}.\\32xl\\:pr-2{padding-right:.5rem}.\\32xl\\:pr-2\\.5{padding-right:.625rem}.\\32xl\\:pr-20{padding-right:5rem}.\\32xl\\:pr-24{padding-right:6rem}.\\32xl\\:pr-28{padding-right:7rem}.\\32xl\\:pr-3{padding-right:.75rem}.\\32xl\\:pr-3\\.5{padding-right:.875rem}.\\32xl\\:pr-32{padding-right:8rem}.\\32xl\\:pr-36{padding-right:9rem}.\\32xl\\:pr-4{padding-right:1rem}.\\32xl\\:pr-40{padding-right:10rem}.\\32xl\\:pr-44{padding-right:11rem}.\\32xl\\:pr-48{padding-right:12rem}.\\32xl\\:pr-5{padding-right:1.25rem}.\\32xl\\:pr-52{padding-right:13rem}.\\32xl\\:pr-56{padding-right:14rem}.\\32xl\\:pr-6{padding-right:1.5rem}.\\32xl\\:pr-60{padding-right:15rem}.\\32xl\\:pr-64{padding-right:16rem}.\\32xl\\:pr-7{padding-right:1.75rem}.\\32xl\\:pr-72{padding-right:18rem}.\\32xl\\:pr-8{padding-right:2rem}.\\32xl\\:pr-80{padding-right:20rem}.\\32xl\\:pr-9{padding-right:2.25rem}.\\32xl\\:pr-96{padding-right:24rem}.\\32xl\\:pt-0{padding-top:0}.\\32xl\\:pt-0\\.5{padding-top:.125rem}.\\32xl\\:pt-1{padding-top:.25rem}.\\32xl\\:pt-1\\.5{padding-top:.375rem}.\\32xl\\:pt-10{padding-top:2.5rem}.\\32xl\\:pt-11{padding-top:2.75rem}.\\32xl\\:pt-12{padding-top:3rem}.\\32xl\\:pt-14{padding-top:3.5rem}.\\32xl\\:pt-16{padding-top:4rem}.\\32xl\\:pt-2{padding-top:.5rem}.\\32xl\\:pt-2\\.5{padding-top:.625rem}.\\32xl\\:pt-20{padding-top:5rem}.\\32xl\\:pt-24{padding-top:6rem}.\\32xl\\:pt-28{padding-top:7rem}.\\32xl\\:pt-3{padding-top:.75rem}.\\32xl\\:pt-3\\.5{padding-top:.875rem}.\\32xl\\:pt-32{padding-top:8rem}.\\32xl\\:pt-36{padding-top:9rem}.\\32xl\\:pt-4{padding-top:1rem}.\\32xl\\:pt-40{padding-top:10rem}.\\32xl\\:pt-44{padding-top:11rem}.\\32xl\\:pt-48{padding-top:12rem}.\\32xl\\:pt-5{padding-top:1.25rem}.\\32xl\\:pt-52{padding-top:13rem}.\\32xl\\:pt-56{padding-top:14rem}.\\32xl\\:pt-6{padding-top:1.5rem}.\\32xl\\:pt-60{padding-top:15rem}.\\32xl\\:pt-64{padding-top:16rem}.\\32xl\\:pt-7{padding-top:1.75rem}.\\32xl\\:pt-72{padding-top:18rem}.\\32xl\\:pt-8{padding-top:2rem}.\\32xl\\:pt-80{padding-top:20rem}.\\32xl\\:pt-9{padding-top:2.25rem}.\\32xl\\:pt-96{padding-top:24rem}}@media (prefers-color-scheme: dark){.dark\\:text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}}`,v3=function(r){return`<!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><style>${x3}</style></head><body>${r}</body></html>`},k3={class:"w-full inset-x-0 h-[90vh] bg-white overflow-x-scroll lg:pt-2 pt-2"},E3={class:"flex gap-4 flex-col divide-y divide-gray-300"},C3={class:"mb-4 pb-8 border-b border-myPrimbryLightGrayColor"},S3={class:"px-2"},N3={class:"mt-8"},M3={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},B3={class:"overflow-x-auto"},T3={class:"min-w-full"},O3={class:"bg-white divide-y divide-gray-200"},V3={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},P3={class:"min-w-[30rem] w-max"},A3={class:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800"},D3={key:0,class:"mt-4"},I3={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},L3={class:"overflow-x-auto"},R3={class:"min-w-full"},_3={class:"bg-white divide-y divide-gray-200"},z3={key:0},F3={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},H3={class:"min-w-[30rem] w-max"},j3={key:1},W3={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},q3={class:"min-w-[30rem] w-max"},U3={key:1,class:"mt-8"},K3={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},G3={class:"overflow-x-auto"},J3={class:"min-w-full"},Y3={class:"bg-white divide-y divide-gray-200"},Q3={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},X3={class:"min-w-[30rem] w-max"},Z3={key:0,class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},$3={class:"min-w-[30rem] w-max"},ek={class:"flex items-center space-x-3"},tk=["src"],rk={key:0,class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},ok={class:"min-w-[30rem] w-max"},nk={key:2,class:"mt-8"},ik={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},ak={class:"overflow-x-auto"},sk={class:"min-w-full"},lk={class:"bg-white divide-y divide-gray-200"},dk={key:0},ck={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},pk={class:"min-w-[30rem] w-max"},uk={key:1},mk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},hk={class:"min-w-[30rem] w-max"},gk={key:2},fk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},bk={class:"min-w-[30rem] w-max"},yk={key:3},wk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},xk={class:"min-w-[30rem] w-max"},vk={key:3,class:"mt-8"},kk={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},Ek={class:"overflow-x-auto"},Ck={class:"min-w-full"},Sk={class:"bg-white divide-y divide-gray-200"},Nk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},Mk={class:"min-w-[30rem] w-max"},Bk={class:"flex items-center space-x-3"},Tk=["src"],Ok={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},Vk={class:"min-w-[30rem] w-max"},Pk={class:"flex items-center space-x-3"},Ak={class:"border-r border-gray-200 pr-6"},Dk={class:"flex items-center space-x-3"},Ik={class:"whitespace-nowrap"},Lk={key:4,class:"mt-8"},Rk={class:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},_k={class:"overflow-x-auto"},zk={class:"w-max"},Fk={class:"bg-white divide-y divide-gray-200"},Hk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},jk={class:"min-w-[30rem] w-max"},Wk={key:0},qk={key:1},Uk={key:0},Kk={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500"},Gk={class:"min-w-[30rem] w-max"},Jk={class:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium"},Yk={class:"mt-4 mb-4 py-8 border-b border-myPrimbryLightGrayColor"},Qk={class:"mt-4 whitespace-pre-wrap text-white overflow-hidden bg-gray-900"},Xk={class:"px-4 pb-8 pt-4 text-white text-xs break-all"},Zk={class:"myPrimaryParagraph text-xs text-white"},$k={__name:"PageBuilderSettings",setup(r){const e="v3.2.74",t=re;new se(t);const o=s.ref(null),n=s.computed(()=>t.getConfigPageBuilder),i=s.computed(()=>t.getComponents),a=function(d,c){const p=document.createElement("a");p.setAttribute("href","data:text/html;charset=utf-8,"+encodeURIComponent(v3(c))),p.setAttribute("download",d),p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p)},l=function(){o.value=i.value.map(d=>d.html_code),a("downloaded_html.html",o.value.join(""))};return(d,c)=>{var p,u,m,h,g,f,b,w,C,k,y,S,E,N,O,A;return s.openBlock(),s.createElementBlock("div",k3,[s.createElementVNode("div",E3,[s.createElementVNode("div",C3,[c[26]||(c[26]=s.createElementVNode("div",{class:"flex items-left flex-col gap-1"},[s.createElementVNode("h3",{class:"myQuaternaryHeader"},"Configuration Overview"),s.createElementVNode("p",{class:"myPrimaryParagraph text-xs"}," A summary of current user preferences, application settings, and system metadata including UI theme, language, saved components, and logo configuration. ")],-1)),s.createElementVNode("div",S3,[s.createElementVNode("div",N3,[c[2]||(c[2]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"Version Information",-1)),s.createElementVNode("div",M3,[s.createElementVNode("div",B3,[s.createElementVNode("table",T3,[c[1]||(c[1]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Component "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Version ")])],-1)),s.createElementVNode("tbody",O3,[s.createElementVNode("tr",null,[c[0]||(c[0]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Page Builder")],-1)),s.createElementVNode("td",V3,[s.createElementVNode("div",P3,[s.createElementVNode("span",A3,s.toDisplayString(s.unref(e)),1)])])])])])])])]),(p=n.value)!=null&&p.resourceData&&!s.unref(co)(n.value.resourceData)?(s.openBlock(),s.createElementBlock("div",D3,[c[6]||(c[6]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"Resource Data",-1)),s.createElementVNode("div",I3,[s.createElementVNode("div",L3,[s.createElementVNode("table",R3,[c[5]||(c[5]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Property "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Value ")])],-1)),s.createElementVNode("tbody",_3,[(m=(u=n.value)==null?void 0:u.resourceData)!=null&&m.title?(s.openBlock(),s.createElementBlock("tr",z3,[c[3]||(c[3]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Title")],-1)),s.createElementVNode("td",F3,[s.createElementVNode("div",H3,s.toDisplayString(n.value.resourceData.title),1)])])):s.createCommentVNode("",!0),(g=(h=n.value)==null?void 0:h.resourceData)!=null&&g.id?(s.openBlock(),s.createElementBlock("tr",j3,[c[4]||(c[4]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"ID")],-1)),s.createElementVNode("td",W3,[s.createElementVNode("div",q3,s.toDisplayString(n.value.resourceData.id),1)])])):s.createCommentVNode("",!0)])])])])])):s.createCommentVNode("",!0),(f=n.value)!=null&&f.userForPageBuilder&&!s.unref(co)(n.value.userForPageBuilder)?(s.openBlock(),s.createElementBlock("div",U3,[c[11]||(c[11]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"User Information",-1)),s.createElementVNode("div",K3,[s.createElementVNode("div",G3,[s.createElementVNode("table",J3,[c[10]||(c[10]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Property "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Value ")])],-1)),s.createElementVNode("tbody",Y3,[s.createElementVNode("tr",null,[c[7]||(c[7]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"User Name")],-1)),s.createElementVNode("td",Q3,[s.createElementVNode("div",X3,s.toDisplayString(n.value.userForPageBuilder.name),1)])]),s.createElementVNode("tr",null,[c[8]||(c[8]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Image")],-1)),n.value.userForPageBuilder.image&&typeof n.value.userForPageBuilder.image=="string"&&n.value.userForPageBuilder.image.length>2?(s.openBlock(),s.createElementBlock("td",Z3,[s.createElementVNode("div",$3,[s.createElementVNode("div",ek,[s.createElementVNode("img",{class:"block inset-0 object-top h-10 min-h-10 max-h-10 w-10 min-w-10 max-w-10 object-cover rounded-full",src:n.value.userForPageBuilder.image,alt:"image"},null,8,tk)])])])):s.createCommentVNode("",!0)]),s.createElementVNode("tr",null,[c[9]||(c[9]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Image URL")],-1)),n.value.userForPageBuilder.image&&typeof n.value.userForPageBuilder.image=="string"&&n.value.userForPageBuilder.image.length>2?(s.openBlock(),s.createElementBlock("td",rk,[s.createElementVNode("div",ok,s.toDisplayString(n.value.userForPageBuilder.image),1)])):s.createCommentVNode("",!0)])])])])])])):s.createCommentVNode("",!0),(b=n.value)!=null&&b.userSettings&&!s.unref(co)(n.value.userSettings)?(s.openBlock(),s.createElementBlock("div",nk,[c[17]||(c[17]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"User Settings",-1)),s.createElementVNode("div",ik,[s.createElementVNode("div",ak,[s.createElementVNode("table",sk,[c[16]||(c[16]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Setting "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Value ")])],-1)),s.createElementVNode("tbody",lk,[(C=(w=n.value)==null?void 0:w.userSettings)!=null&&C.theme?(s.openBlock(),s.createElementBlock("tr",dk,[c[12]||(c[12]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Theme")],-1)),s.createElementVNode("td",ck,[s.createElementVNode("div",pk,s.toDisplayString(n.value.userSettings.theme),1)])])):s.createCommentVNode("",!0),(y=(k=n.value)==null?void 0:k.userSettings)!=null&&y.language?(s.openBlock(),s.createElementBlock("tr",uk,[c[13]||(c[13]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Language")],-1)),s.createElementVNode("td",mk,[s.createElementVNode("div",hk,s.toDisplayString(n.value.userSettings.language),1)])])):s.createCommentVNode("",!0),((E=(S=n.value)==null?void 0:S.userSettings)==null?void 0:E.autoSave)!==void 0?(s.openBlock(),s.createElementBlock("tr",gk,[c[14]||(c[14]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Auto Save")],-1)),s.createElementVNode("td",fk,[s.createElementVNode("div",bk,[s.createElementVNode("span",{class:s.normalizeClass(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",n.value.userSettings.autoSave?"bg-green-100 text-green-800":"bg-red-100 text-red-800"])},s.toDisplayString(n.value.userSettings.autoSave?"Enabled":"Disabled"),3)])])])):s.createCommentVNode("",!0),((O=(N=n.value)==null?void 0:N.userSettings)==null?void 0:O.notifications)!==void 0?(s.openBlock(),s.createElementBlock("tr",yk,[c[15]||(c[15]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Notifications")],-1)),s.createElementVNode("td",wk,[s.createElementVNode("div",xk,[s.createElementVNode("span",{class:s.normalizeClass(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",n.value.userSettings.notifications?"bg-green-100 text-green-800":"bg-red-100 text-red-800"])},s.toDisplayString(n.value.userSettings.notifications?"Enabled":"Disabled"),3)])])])):s.createCommentVNode("",!0)])])])])])):s.createCommentVNode("",!0),n.value.pageBuilderLogo&&!s.unref(co)(n.value.pageBuilderLogo)?(s.openBlock(),s.createElementBlock("div",vk,[c[21]||(c[21]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"Logo Configuration",-1)),s.createElementVNode("div",kk,[s.createElementVNode("div",Ek,[s.createElementVNode("table",Ck,[c[20]||(c[20]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Property "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Value ")])],-1)),s.createElementVNode("tbody",Sk,[s.createElementVNode("tr",null,[c[18]||(c[18]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Logo")],-1)),s.createElementVNode("td",Nk,[s.createElementVNode("div",Mk,[s.createElementVNode("div",Bk,[s.createElementVNode("img",{class:"h-4",src:n.value.pageBuilderLogo.src,alt:"Logo"},null,8,Tk)])])])]),s.createElementVNode("tr",null,[c[19]||(c[19]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Logo URL")],-1)),s.createElementVNode("td",Ok,[s.createElementVNode("div",Vk,[s.createElementVNode("div",Pk,[s.createElementVNode("div",Ak,[s.createElementVNode("div",Dk,[s.createElementVNode("span",Ik,s.toDisplayString(n.value.pageBuilderLogo.src),1)])])])])])])])])])])])):s.createCommentVNode("",!0),(A=n.value)!=null&&A.updateOrCreate&&!s.unref(co)(n.value.updateOrCreate)?(s.openBlock(),s.createElementBlock("div",Lk,[c[25]||(c[25]=s.createElementVNode("h4",{class:"myQuaternaryHeader text-sm mb-2"},"Form Type",-1)),s.createElementVNode("div",Rk,[s.createElementVNode("div",_k,[s.createElementVNode("table",zk,[c[24]||(c[24]=s.createElementVNode("thead",{class:"bg-gray-50"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Mode "),s.createElementVNode("th",{scope:"col",class:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"}," Description ")])],-1)),s.createElementVNode("tbody",Fk,[s.createElementVNode("tr",null,[c[22]||(c[22]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Form Type")],-1)),s.createElementVNode("td",Hk,[s.createElementVNode("div",jk,[s.createElementVNode("span",{class:s.normalizeClass(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",n.value.updateOrCreate==="create"?"bg-green-100 text-green-800":"bg-blue-100 text-blue-800"])},[n.value&&n.value.updateOrCreate.formType==="create"?(s.openBlock(),s.createElementBlock("span",Wk,s.toDisplayString(n.value.updateOrCreate.formType),1)):s.createCommentVNode("",!0),n.value&&n.value.updateOrCreate.formType==="update"?(s.openBlock(),s.createElementBlock("span",qk,s.toDisplayString(n.value.updateOrCreate.formType),1)):s.createCommentVNode("",!0)],2)])])]),n.value.updateOrCreate.formName&&n.value.updateOrCreate.formName.length>0?(s.openBlock(),s.createElementBlock("tr",Uk,[c[23]||(c[23]=s.createElementVNode("td",{class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"},[s.createElementVNode("div",{class:"min-w-[30rem] w-max"},"Form Name")],-1)),s.createElementVNode("td",Kk,[s.createElementVNode("div",Gk,[s.createElementVNode("span",Jk,s.toDisplayString(n.value.updateOrCreate.formName),1)])])])):s.createCommentVNode("",!0)])])])])])):s.createCommentVNode("",!0)])])]),s.createElementVNode("div",{class:"mt-4 mb-4 py-8 border-b border-myPrimbryLightGrayColor"},[c[27]||(c[27]=s.createElementVNode("div",{class:"flex items-left flex-col gap-1"},[s.createElementVNode("h3",{class:"myQuaternaryHeader"},"Download Page as HTML"),s.createElementVNode("p",{class:"myPrimaryParagraph text-xs"},"Download current page layout.")],-1)),s.createElementVNode("div",{class:"mt-4"},[s.createElementVNode("button",{onClick:l,type:"button",class:"myPrimaryButton"}," Download HTML file ")])]),s.createElementVNode("div",Yk,[c[29]||(c[29]=s.createElementVNode("div",{class:"flex items-left flex-col gap-1"},[s.createElementVNode("h3",{class:"myQuaternaryHeader"},"Complete Configuration Overview"),s.createElementVNode("p",{class:"myPrimaryParagraph text-xs"}," omplete configuration object currently used by the Page Builder. It includes information about the user, form behavior, branding settings, and other context-specific data needed for rendering and managing the builder environment. ")],-1)),s.createElementVNode("div",Qk,[c[28]||(c[28]=s.createElementVNode("div",{class:"flex bg-gray-800/40 ring-1 ring-white/5"},[s.createElementVNode("div",{class:"-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor"},[s.createElementVNode("div",{class:"px-4 py-4 text-white"},"Configuration")])],-1)),s.createElementVNode("div",Xk,[s.createElementVNode("p",Zk," config: "+s.toDisplayString(JSON.stringify(n.value,null,4)),1)])])])])}}},e4={class:"w-full inset-x-0 h-[90vh] bg-white overflow-x-scroll lg:pt-2 pt-2"},t4={class:"flex items-left flex-col myPrimaryGap border-myPrimaryMediumGrayColor"},r4={class:"text-gray-100 overflow-hidden bg-stone-800"},o4={class:"px-4 pb-8 pt-4 text-gray-100 text-xs"},n4={class:"text-xs pb-2"},i4={class:"text-xs pb-2"},a4={class:"text-xs pb-2"},s4={class:"overflow-hidden bg-stone-800"},l4={class:"flex bg-stone-800 ring-1 ring-white/5"},d4={class:"-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor"},c4={class:"px-4 pb-8 pt-4 text-gray-100 text-xs break-all"},p4={key:0},u4={key:0},m4={class:"pb-2 text-xs"},h4={key:1,class:"overflow-hidden border border-gray-100 mb-6"},g4={class:"bg-stone-800 pt-4 pb-1 border-b border-gray-200"},f4={class:"overflow-x-auto"},b4={class:"min-w-full"},y4={class:"bg-stone-800 divide-y divide-gray-200"},w4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal border-b"},x4={class:"overflow-x-auto"},v4={class:"min-w-full"},k4={class:"bg-stone-800 divide-y divide-gray-200"},E4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal whitespace-pre-line"},C4={class:"overflow-x-auto"},S4={class:"min-w-full"},N4={class:"bg-stone-800 divide-y divide-gray-200"},M4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},B4={key:1},T4={key:0},O4={class:"pb-2 text-xs"},V4={key:1,class:"overflow-hidden border border-gray-100 mb-6"},P4={class:"bg-stone-800 pt-4 pb-1 border-b border-gray-200"},A4={class:"overflow-x-auto"},D4={class:"min-w-full"},I4={class:"bg-stone-800 divide-y divide-gray-200"},L4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},R4={class:"overflow-x-auto"},_4={class:"min-w-full"},z4={class:"bg-stone-800 divide-y divide-gray-200"},F4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal whitespace-pre-line"},H4={class:"overflow-x-auto"},j4={class:"min-w-full"},W4={class:"bg-stone-800 divide-y divide-gray-200"},q4={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},U4={class:"text-xs text-gray-100 whitespace-pre-lines font-sans flex items-start justify-left"},K4=["innerHTML"],G4={key:2},J4={class:"pb-2 text-xs"},Y4={key:0},Q4={class:"bg-stone-800 pt-4 pb-1 border-b border-gray-200"},X4={class:"overflow-x-auto"},Z4={class:"min-w-full"},$4={class:"bg-stone-800 divide-y divide-gray-200"},e6={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},t6={class:"overflow-x-auto"},r6={class:"min-w-full"},o6={class:"bg-stone-800 divide-y divide-gray-200"},n6={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal whitespace-pre-line"},i6={class:"overflow-x-auto"},a6={class:"min-w-full"},s6={class:"bg-stone-800 divide-y divide-gray-200"},l6={class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},d6={class:"text-xs text-gray-100 whitespace-pre-lines font-sans flex items-start justify-left"},c6=["innerHTML"],p6={__name:"AdvancedPageBuilderSettings",setup(r){const e=re,t=s.computed(()=>e.getElement),o=s.computed(()=>e.getComponent),n=s.computed(()=>e.getComponents),i=s.ref("element"),a=function(d){i.value=d};function l(d){return d?d.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"):""}return(d,c)=>{var p,u,m,h,g,f,b,w,C,k;return s.openBlock(),s.createElementBlock("div",e4,[s.createElementVNode("div",t4,[c[22]||(c[22]=s.createElementVNode("p",{class:"myPrimaryParagraph"}," Overview of Selected Element, Component, and Components. This section provides real-time updates based on your HTML selection. ",-1)),s.createElementVNode("div",null,[c[7]||(c[7]=s.createElementVNode("h4",{class:"myPrimaryParagraph text-xs pb-2"},"Types",-1)),s.createElementVNode("div",r4,[c[6]||(c[6]=s.createElementVNode("div",{class:"flex bg-stone-800 ring-1 ring-white/5"},[s.createElementVNode("div",{class:"-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor"},[s.createElementVNode("div",{class:"px-4 py-4 text-gray-100"},"Types")])],-1)),s.createElementVNode("div",o4,[s.createElementVNode("p",n4,[c[3]||(c[3]=s.createElementVNode("span",null,"Element type: ",-1)),s.createElementVNode("span",null,s.toDisplayString(typeof t.value),1)]),s.createElementVNode("p",i4,[c[4]||(c[4]=s.createElementVNode("span",null,"Component type: ",-1)),s.createTextVNode(" "+s.toDisplayString(typeof o.value),1)]),s.createElementVNode("p",a4,[c[5]||(c[5]=s.createElementVNode("span",null,"Components: ",-1)),s.createElementVNode("span",null,s.toDisplayString(Array.isArray(n.value)===!0?"array":typeof n.value),1)])])])]),s.createElementVNode("div",null,[c[21]||(c[21]=s.createElementVNode("h4",{class:"myPrimaryParagraph text-xs pb-2"},"Content",-1)),s.createElementVNode("div",s4,[s.createElementVNode("div",l4,[s.createElementVNode("div",d4,[s.createElementVNode("div",{onClick:c[0]||(c[0]=y=>a("element")),class:s.normalizeClass(["px-4 py-4 cursor-pointer",[i.value==="element"?"text-gray-100":""]])}," Element ",2),s.createElementVNode("div",{onClick:c[1]||(c[1]=y=>a("component")),class:s.normalizeClass(["px-4 py-4 cursor-pointer",[i.value==="component"?"text-gray-100":""]])}," Component ",2),s.createElementVNode("div",{onClick:c[2]||(c[2]=y=>a("components")),class:s.normalizeClass(["px-4 py-4 cursor-pointer",[i.value==="components"?"text-gray-100":""]])}," Components "+s.toDisplayString(Array.isArray(n.value)&&n.value.length),3)])]),s.createElementVNode("div",c4,[i.value==="element"?(s.openBlock(),s.createElementBlock("div",p4,[o.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",u4,[s.createElementVNode("p",m4,s.toDisplayString(o.value===null?"No Element selected":typeof o.value),1)])),t.value?(s.openBlock(),s.createElementBlock("div",h4,[s.createElementVNode("div",g4,[s.createElementVNode("div",f4,[s.createElementVNode("table",b4,[c[8]||(c[8]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," Selected HTML: ")])],-1)),s.createElementVNode("tbody",y4,[s.createElementVNode("tr",null,[s.createElementVNode("td",w4,s.toDisplayString((p=t.value)==null?void 0:p.outerHTML),1)])])])]),s.createElementVNode("div",x4,[s.createElementVNode("table",v4,[c[9]||(c[9]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," Element src: ")])],-1)),s.createElementVNode("tbody",k4,[s.createElementVNode("tr",null,[s.createElementVNode("td",E4,s.toDisplayString((u=t.value)!=null&&u.src?(m=t.value)==null?void 0:m.src:typeof((h=t.value)==null?void 0:h.src)),1)])])])])]),s.createElementVNode("div",C4,[s.createElementVNode("table",S4,[c[10]||(c[10]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," Element classes: ")])],-1)),s.createElementVNode("tbody",N4,[s.createElementVNode("tr",null,[s.createElementVNode("td",M4,s.toDisplayString((g=t.value)!=null&&g.classList?(f=t.value)==null?void 0:f.classList:typeof((b=t.value)==null?void 0:b.classList)),1)])])])])])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),i.value==="component"?(s.openBlock(),s.createElementBlock("div",B4,[o.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",T4,[s.createElementVNode("p",O4,s.toDisplayString(o.value===null?"No Component selected":typeof o.value),1)])),o.value?(s.openBlock(),s.createElementBlock("div",V4,[s.createElementVNode("div",P4,[s.createElementVNode("div",A4,[s.createElementVNode("table",D4,[c[11]||(c[11]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"},"ID:")])],-1)),s.createElementVNode("tbody",I4,[s.createElementVNode("tr",null,[s.createElementVNode("td",L4,s.toDisplayString((w=o.value)==null?void 0:w.id),1)])])])]),s.createElementVNode("div",R4,[s.createElementVNode("table",_4,[c[12]||(c[12]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal border-t"}," Title: ")])],-1)),s.createElementVNode("tbody",z4,[s.createElementVNode("tr",null,[s.createElementVNode("td",F4,s.toDisplayString((C=o.value)==null?void 0:C.title),1)])])])])]),s.createElementVNode("div",H4,[s.createElementVNode("table",j4,[c[15]||(c[15]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," HTML Code: ")])],-1)),s.createElementVNode("tbody",W4,[s.createElementVNode("tr",null,[s.createElementVNode("td",q4,[s.createElementVNode("pre",U4,[c[13]||(c[13]=s.createTextVNode(" ")),s.createElementVNode("code",{class:"font-sans",innerHTML:l((k=o.value)==null?void 0:k.html_code)},null,8,K4),c[14]||(c[14]=s.createTextVNode(`
545
545
  `))])])])])])])])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),i.value==="components"?(s.openBlock(),s.createElementBlock("div",G4,[s.createElementVNode("div",null,[s.createElementVNode("p",J4,s.toDisplayString(Array.isArray(n.value)&&n.value.length===0?"No Components added yet":""),1)]),n.value?(s.openBlock(),s.createElementBlock("div",Y4,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value,y=>(s.openBlock(),s.createElementBlock("div",{key:y.id,class:"overflow-hidden border border-gray-100 mb-6"},[s.createElementVNode("div",Q4,[s.createElementVNode("div",X4,[s.createElementVNode("table",Z4,[c[16]||(c[16]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," ID: ")])],-1)),s.createElementVNode("tbody",$4,[s.createElementVNode("tr",null,[s.createElementVNode("td",e6,s.toDisplayString(y.id),1)])])])]),s.createElementVNode("div",t6,[s.createElementVNode("table",r6,[c[17]||(c[17]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal border-t"}," Title: ")])],-1)),s.createElementVNode("tbody",o6,[s.createElementVNode("tr",null,[s.createElementVNode("td",n6,s.toDisplayString(y.title),1)])])])])]),s.createElementVNode("div",i6,[s.createElementVNode("table",a6,[c[20]||(c[20]=s.createElementVNode("thead",{class:"bg-stone-800"},[s.createElementVNode("tr",null,[s.createElementVNode("th",{class:"px-6 py-3 text-left text-xs text-gray-100 font-normal"}," HTML Code: ")])],-1)),s.createElementVNode("tbody",s6,[s.createElementVNode("tr",null,[s.createElementVNode("td",l6,[s.createElementVNode("pre",d6,[c[18]||(c[18]=s.createTextVNode(" ")),s.createElementVNode("code",{class:"font-sans",innerHTML:l(y.html_code)},null,8,c6),c[19]||(c[19]=s.createTextVNode(`
546
- `))])])])])])])]))),128))])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)])])])])])}}},u6={class:"flex gap-2 items-center myPrimaryParagraph font-medium text-xs py-1 px-2 rounded-full lg:border lg:border-gray-200 lg:shadow-sm lg:mr-10"},m6={key:0,class:"flex items-center myPrimaryTag py-0"},h6={class:"text-white rounded-full bg-myPrimaryBrandColor flex justify-center items-center text-xs h-8 min-h-8 max-h-8 w-8 min-w-8 max-w-8 font-normal"},g6={class:"hidden text-xs h-8 lg:flex items-center font-normal"},f6={key:1,class:"flex items-center lg:myPrimaryTag py-0 gap-4 w-max"},b6={class:"text-white flex-shrink-0 h-8 w-8 rounded-full flex justify-center items-center text-xs rounded-l-full"},y6=["src"],w6={class:"hidden text-xs h-8 lg:flex items-center font-normal"},x6={class:"relative group"},v6={class:"absolute left-0 -ml-16 -mt-2 flex flex-col gap-3 shadow-lg bg-white w-max border border-gray-100 rounded-2xl transition-all duration-200 ease-out pt-4 pr-4 pb-4 pl-2 z-30 opacity-0 pointer-events-none -translate-y-2 group-hover:opacity-100 group-hover:pointer-events-auto group-hover:translate-y-0"},k6={__name:"ToolbarOption",setup(r){const e=re,t=s.computed(()=>e.getConfigPageBuilder),o=new se(e),n=s.ref(!1),i=s.ref(""),a=s.ref(1),l=s.ref(""),d=s.ref(""),c=s.ref(""),p=s.ref(null),u=s.ref(null),m=s.ref(null),h=s.ref(null),g=s.ref(null),f=function(){n.value=!0,i.value="delete",a.value=2,l.value="Remove all Components",d.value="Are you sure you want to remove all Components?",c.value="Close",p.value=null,u.value="Delete",m.value=function(){n.value=!1},g.value=async function(){o.deleteAllComponents(),await o.clearHtmlSelection(),t.value.updateOrCreate&&typeof t.value.updateOrCreate.formType=="string"&&(t.value.updateOrCreate.formType==="create"&&await o.removeItemComponentsLocalStorage(),t.value.updateOrCreate.formType==="update"&&await o.removeItemComponentsLocalStorage()),n.value=!1}},b=s.ref(!1),w=function(){b.value=!1},C=function(){b.value=!0},k=s.ref(!1),y=function(){k.value=!1},S=function(){k.value=!0};return(E,N)=>{var O;return s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",u6,[t.value&&t.value.userForPageBuilder&&t.value.userForPageBuilder.name&&(!t.value.userForPageBuilder.image||typeof t.value.userForPageBuilder.image=="string"&&((O=t.value.userForPageBuilder.image)==null?void 0:O.length)<2)?(s.openBlock(),s.createElementBlock("div",m6,[s.createElementVNode("div",h6,s.toDisplayString(typeof t.value.userForPageBuilder.name=="string"&&t.value.userForPageBuilder.name[0]),1),s.createElementVNode("div",g6,s.toDisplayString(t.value.userForPageBuilder.name),1)])):s.createCommentVNode("",!0),t.value&&t.value.userForPageBuilder&&t.value.userForPageBuilder.name&&t.value.userForPageBuilder.image&&typeof t.value.userForPageBuilder.image=="string"&&t.value.userForPageBuilder.image.length>2?(s.openBlock(),s.createElementBlock("div",f6,[s.createElementVNode("div",b6,[s.createElementVNode("img",{alt:"avatar",src:`${t.value.userForPageBuilder.image}`,class:"block inset-0 object-top h-8 min-h-8 max-h-8 w-8 min-w-8 max-w-8 object-cover rounded-full"},null,8,y6)]),s.createElementVNode("div",w6,s.toDisplayString(t.value.userForPageBuilder.name),1)])):s.createCommentVNode("",!0),s.createElementVNode("div",null,[s.createElementVNode("div",x6,[N[2]||(N[2]=s.createElementVNode("button",{type:"button",class:"cursor-pointer lg:flex myPrimaryTag font-normal w-max text-xs"},[s.createElementVNode("span",null," Options ")],-1)),s.createElementVNode("div",v6,[s.createElementVNode("button",{onClick:N[0]||(N[0]=()=>{s.unref(o).clearHtmlSelection(),C()}),class:"cursor-pointer lg:flex myPrimaryTag font-normal w-max border-none m-0",type:"button"}," Config Overview "),s.createElementVNode("button",{onClick:S,class:"cursor-pointer lg:flex myPrimaryTag font-normal w-max border-none m-0",type:"button"}," HTML Overview "),s.createElementVNode("button",{onClick:N[1]||(N[1]=()=>{s.unref(o).clearHtmlSelection(),f()}),class:"cursor-pointer lg:flex myPrimaryTag font-normal w-max border-none m-0 bg-myPrimaryErrorColor text-white",type:"button"}," Delete Layout ")])])])]),s.createVNode(Dr,{maxWidth:"5xl",showModalBuilder:b.value,title:"Main Settings",onCloseMainModalBuilder:w,minHeight:"",maxHeight:""},{default:s.withCtx(()=>[s.createVNode($k)]),_:1},8,["showModalBuilder"]),s.createVNode(Dr,{maxWidth:"5xl",showModalBuilder:k.value,title:"Selected HTML",onCloseMainModalBuilder:y,minHeight:"",maxHeight:""},{default:s.withCtx(()=>[s.createVNode(p6)]),_:1},8,["showModalBuilder"]),s.createVNode(wo,{showDynamicModalBuilder:n.value,type:i.value,gridColumnAmount:a.value,title:l.value,description:d.value,firstButtonText:c.value,secondButtonText:p.value,thirdButtonText:u.value,onFirstModalButtonFunctionDynamicModalBuilder:m.value,onSecondModalButtonFunctionDynamicModalBuilder:h.value,onThirdModalButtonFunctionDynamicModalBuilder:g.value},{default:s.withCtx(()=>N[3]||(N[3]=[s.createElementVNode("header",null,null,-1),s.createElementVNode("main",null,null,-1)])),_:1,__:[3]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"])])}}};let Tl=null;function E6(){return(r,e=300)=>{Tl&&clearTimeout(Tl),Tl=setTimeout(r,e)}}const C6={id:"builder-container",class:"font-sans max-w-full m-1 border border-gray-600 inset-x-0 z-10 bg-white overflow-x-scroll"},S6={id:"pagebuilder-top-area",class:"lg:px-4 pt-2 pb-4 mx-4 mb-4 mt-2"},N6={key:0,class:"flex items-center divide-x divide-gray-200"},M6={class:"pr-4"},B6=["src"],T6={key:1},O6={class:"relative h-full flex pb-2 gap-2"},V6={class:"mx-2 flex flex-col myPrimaryGap items-stretch"},P6={class:"flex gap-2 items-center justify-center"},A6={id:"pagebuilder-toolbar-area",class:"flex items-center justify-between rounded-t-2xl bg-myPrimaryLightGrayColor min-w-[30rem]"},D6=["disabled"],I6={key:0,class:"h-10 w-4 cursor-pointer rounded-full flex items-center justify-center"},L6={key:1,class:"h-10 w-4 cursor-pointer rounded-full flex items-center justify-center"},R6={class:"flex items-center justify-center gap-4"},_6={id:"contains-pagebuilder",class:"pl-4 pr-4 pb-4 overflow-y-auto pt-1 h-[39rem]"},z6={id:"pagebuilder"},F6=["onMouseup"],H6=["innerHTML"],j6={class:"mt-6 flex items-center gap-2 justify-center"},W6={__name:"PageBuilder",props:{CustomMediaLibraryComponent:{type:Object,default:null},CustomBuilderComponents:{type:Object,default:null}},setup(r){const e=r,t=Ca,o=re,n=new se(o);s.provide("pageBuilderStateStore",o),s.provide("internalPinia",t),s.provide("CustomMediaComponent",e.CustomMediaLibraryComponent),s.provide("CustomBuilderComponents",e.CustomBuilderComponents);const i=()=>{h.value=!1};s.provide("closeAddComponentModal",i);const a=s.computed(()=>o.getConfigPageBuilder),l=s.computed(()=>o.getIsSaving),d=s.computed(()=>o.getMenuRight),c=function(){n.previewCurrentDesign()},p=s.ref(!1),u=function(){c(),p.value=!0},m=function(){p.value=!1},h=s.ref(!1),g=s.ref(""),f=s.ref(""),b=s.ref(null),w=async function(){await n.clearHtmlSelection(),g.value="Add Components to Page",f.value="Close",h.value=!0,b.value=function(){h.value=!1}},C=s.computed(()=>o.getComponents),k=s.computed(()=>o.getElement),y=s.computed(()=>!k.value||!(k.value instanceof HTMLElement)?"":{src:k.value.getAttribute("src"),href:k.value.getAttribute("href"),style:k.value.getAttribute("style"),class:k.value.getAttribute("class"),dataImage:k.value.getAttribute("data-image")}),S=E6();s.watch(y,async(v,x)=>{((v==null?void 0:v.src)!==(x==null?void 0:x.src)||(v==null?void 0:v.href)!==(x==null?void 0:x.href)||(v==null?void 0:v.style)!==(x==null?void 0:x.style)||(v==null?void 0:v.class)!==(x==null?void 0:x.class)||(v==null?void 0:v.dataImage)!==(x==null?void 0:x.dataImage))&&S(async()=>{await n.handleAutoSave(),await n.handlePageBuilderMethods()},200)});const E=function(v){o.setComponent(v)},N=s.ref(null),O={updateOrCreate:{formType:"create",formName:"post"}},A=function(v){if(v==null||v&&Object.keys(v).length===0&&v.constructor===Object){n.setConfigPageBuilder(O);return}v&&Object.keys(v).length!==0&&v.constructor===Object&&w3(v)};return s.watch(()=>a.value,v=>{n.updateLocalStorageItemName(),v&&v.updateOrCreate&&v.updateOrCreate.formType==="create"&&n.loadExistingContent()},{immediate:!0}),s.onMounted(async()=>{const v=a.value;A(v),n.updateLocalStorageItemName(),await n.clearHtmlSelection(),await n.setEventListenersForElements()}),(v,x)=>(s.openBlock(),s.createElementBlock("div",C6,[s.createElementVNode("div",S6,[s.createElementVNode("div",{onClick:x[1]||(x[1]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex justify-between items-center pb-2 border-b border-gray-200"},[s.createElementVNode("div",{onClick:x[0]||(x[0]=V=>s.unref(n).clearHtmlSelection())},[a.value&&a.value.pageBuilderLogo&&a.value.pageBuilderLogo.src?(s.openBlock(),s.createElementBlock("div",N6,[s.createElementVNode("div",M6,[s.createElementVNode("img",{class:"h-6",src:a.value.pageBuilderLogo.src,alt:"Logo"},null,8,B6)]),x[17]||(x[17]=s.createElementVNode("span",{class:"myPrimaryParagraph font-medium pl-4"},"Editing Page ",-1))])):(s.openBlock(),s.createElementBlock("div",T6,x[18]||(x[18]=[s.createElementVNode("div",{class:"pr-6"},[s.createElementVNode("span",{class:"myPrimaryParagraph font-medium"},"Editing Page ")],-1)])))]),s.createElementVNode("div",null,[s.createVNode(k6)])])]),h.value?(s.openBlock(),s.createBlock(Kv,{key:0,show:h.value,firstButtonText:f.value,title:g.value,CustomBuilderComponents:e.CustomBuilderComponents,onFirstModalButtonSearchComponentsFunction:b.value},null,8,["show","firstButtonText","title","CustomBuilderComponents","onFirstModalButtonSearchComponentsFunction"])):s.createCommentVNode("",!0),s.createVNode(Dr,{title:"Preview",showModalBuilder:p.value,onCloseMainModalBuilder:m,maxWidth:"screen"},{default:s.withCtx(()=>[s.createVNode(ld)]),_:1},8,["showModalBuilder"]),s.createElementVNode("div",null,[s.createElementVNode("div",O6,[s.createElementVNode("div",{onClick:x[4]||(x[4]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),id:"pagebuilder-left-area",class:"min-w-[3.5rem] pt-6 pb-2 ml-2 bg-myPrimaryLightGrayColor rounded-full shadow-sm"},[s.createElementVNode("div",V6,[s.createElementVNode("div",P6,[s.createElementVNode("button",{type:"button",onClick:x[2]||(x[2]=()=>{s.unref(o).setComponentArrayAddMethod("unshift"),w()}),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},x[19]||(x[19]=[s.createElementVNode("span",{class:"myMediumIcon material-symbols-outlined"}," interests ",-1)]))]),s.createElementVNode("div",{onClick:x[3]||(x[3]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"]))},[k.value?(s.openBlock(),s.createBlock($h,{key:0})):s.createCommentVNode("",!0)])])]),s.createElementVNode("main",{class:s.normalizeClass(["flex flex-col h-full grow rounded-tr-2xl rounded-tl-2xl border border-gray-200 items-stretch",{"mr-2":!d.value,"":d.value}])},[s.createElementVNode("div",A6,[s.createElementVNode("div",{onClick:x[6]||(x[6]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex myPrimaryGap items-center pt-4 pb-2 pl-2 h-24 w-full min-w-36"},[s.createElementVNode("button",{class:"myPrimaryButton h-6 flex gap-2",onClick:x[5]||(x[5]=s.withModifiers(async()=>{await s.unref(n).clearHtmlSelection(),await s.unref(n).handleManualSave()},["stop"])),type:"button",disabled:l.value},[l.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",I6,x[20]||(x[20]=[s.createElementVNode("span",{class:"material-symbols-outlined"},"save",-1)]))),l.value?(s.openBlock(),s.createElementBlock("div",L6,x[21]||(x[21]=[s.createElementVNode("span",{class:"relative flex size-3"},[s.createElementVNode("span",{class:"absolute inline-flex h-full w-full animate-ping rounded-full bg-gray-400 opacity-75"}),s.createElementVNode("span",{class:"relative inline-flex size-3 rounded-full bg-green-200"})],-1)]))):s.createCommentVNode("",!0),x[22]||(x[22]=s.createElementVNode("div",null,"Save",-1))],8,D6)]),s.createElementVNode("div",{onClick:x[10]||(x[10]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex justify-end py-2 pr-2 h-24 w-full"},[s.createElementVNode("div",{onClick:x[9]||(x[9]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex items-center justify-center gap-4"},[s.createElementVNode("button",{type:"button",onClick:x[7]||(x[7]=()=>{s.unref(o).setComponentArrayAddMethod("unshift"),w()})},x[23]||(x[23]=[s.createStaticVNode('<div class="flex items-center justify-center gap-2"><span class="lg:block hidden"><div class="whitespace-nowrap">Add new Components</div></span><span class="h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"><span class="myMediumIcon material-symbols-outlined"> interests </span></span></div>',1)])),s.createElementVNode("div",R6,[s.createElementVNode("button",{type:"button",onClick:x[8]||(x[8]=()=>{s.unref(o).setMenuRight(!1),s.unref(o).setElement(null),s.unref(n).clearHtmlSelection(),u()})},x[24]||(x[24]=[s.createElementVNode("div",{class:"flex items-center justify-center gap-2"},[s.createElementVNode("div",{class:"whitespace-nowrap lg:block hidden"},"Preview"),s.createElementVNode("span",{class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},[s.createElementVNode("span",{class:"myMediumIcon material-symbols-outlined"}," visibility ")])],-1)]))])])]),s.createElementVNode("div",{onClick:x[13]||(x[13]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex justify-end py-2 pr-2 w-full h-24"},[s.createElementVNode("div",{onClick:x[12]||(x[12]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex items-center justify-center gap-4"},[d.value===!1?(s.openBlock(),s.createElementBlock("button",{key:0,type:"button",onClick:x[11]||(x[11]=V=>s.unref(o).setMenuRight(!0))},x[25]||(x[25]=[s.createElementVNode("div",{class:"flex items-center justify-center gap-2"},[s.createElementVNode("span",{class:"lg:block hidden"}," Styling "),s.createElementVNode("span",{class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},[s.createElementVNode("span",{class:"myMediumIcon material-symbols-outlined"}," more_vert ")])],-1)]))):s.createCommentVNode("",!0)])])]),s.createVNode(Ev),s.createElementVNode("div",_6,[s.createElementVNode("div",z6,[s.createElementVNode("div",{ref_key:"draggableZone",ref:N},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(C.value,V=>(s.openBlock(),s.createElementBlock("div",{key:V.id,id:"page-builder-editor-editable-area",class:"bg-white grow"},[s.createElementVNode("div",{onMouseup:z=>E(V),class:"relative group"},[s.createElementVNode("div",{innerHTML:V.html_code},null,8,H6)],40,F6)]))),128))],512),s.createElementVNode("div",{onClick:x[15]||(x[15]=V=>s.unref(n).clearHtmlSelection()),id:"pagebuilder-bottom-components-area",class:s.normalizeClass(["pt-8 pb-12 text-center focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 my-2 mx-4",{"border-t border-gray-200":C.value.length>0}])},[x[27]||(x[27]=s.createElementVNode("div",{class:"flex items-center justify-center gap-2 font-medium"},[s.createElementVNode("span",{class:"lg:block hidden"},[s.createElementVNode("div",null,"Add new components to the bottom of the page")])],-1)),s.createElementVNode("div",j6,[s.createElementVNode("button",{onClick:x[14]||(x[14]=()=>{s.unref(o).setComponentArrayAddMethod("push"),w()}),type:"button",class:"myPrimaryButton flex items-center gap-2 justify-center"},x[26]||(x[26]=[s.createElementVNode("span",{class:"myMediumIcon material-symbols-outlined"}," interests ",-1),s.createElementVNode("span",{class:"font-medium"}," Add new Components ",-1)]))])],2)])])],2),s.createElementVNode("aside",{"aria-label":"Menu",id:"pagebuilder-right-area",class:s.normalizeClass([{"w-0":!d.value,"w-80 mr-2 bg-myPrimaryLightGrayColor items-stretch":d.value},"duration-300 z-20 flex-shrink-0 overflow-hidden shadow-sm rounded-l-2xl"])},[s.createVNode(b3,{onCloseEditor:x[16]||(x[16]=V=>s.unref(o).setMenuRight(!1))})],2)])])]))}};U.PageBuilder=W6,U.PageBuilderClass=se,U.Preview=ld,U.createPinia=ed,U.sharedPageBuilderPinia=Ca,U.sharedPageBuilderStore=re,U.usePageBuilderModal=Pm,U.usePageBuilderStateStore=sd,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});
546
+ `))])])])])])])]))),128))])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)])])])])])}}},u6={class:"flex gap-2 items-center myPrimaryParagraph font-medium text-xs py-1 px-2 rounded-full lg:border lg:border-gray-200 lg:shadow-sm lg:mr-10"},m6={key:0,class:"flex items-center myPrimaryTag py-0"},h6={class:"text-white rounded-full bg-myPrimaryBrandColor flex justify-center items-center text-xs h-8 min-h-8 max-h-8 w-8 min-w-8 max-w-8 font-normal"},g6={class:"hidden text-xs h-8 lg:flex items-center font-normal"},f6={key:1,class:"flex items-center lg:myPrimaryTag py-0 gap-4 w-max"},b6={class:"text-white flex-shrink-0 h-8 w-8 rounded-full flex justify-center items-center text-xs rounded-l-full"},y6=["src"],w6={class:"hidden text-xs h-8 lg:flex items-center font-normal"},x6={class:"relative group"},v6={class:"absolute left-0 -ml-16 -mt-2 flex flex-col gap-3 shadow-lg bg-white w-max border border-gray-100 rounded-2xl transition-all duration-200 ease-out pt-4 pr-4 pb-4 pl-2 z-30 opacity-0 pointer-events-none -translate-y-2 group-hover:opacity-100 group-hover:pointer-events-auto group-hover:translate-y-0"},k6={__name:"ToolbarOption",setup(r){const e=re,t=s.computed(()=>e.getConfigPageBuilder),o=new se(e),n=s.ref(!1),i=s.ref(""),a=s.ref(1),l=s.ref(""),d=s.ref(""),c=s.ref(""),p=s.ref(null),u=s.ref(null),m=s.ref(null),h=s.ref(null),g=s.ref(null),f=function(){n.value=!0,i.value="delete",a.value=2,l.value="Remove all Components",d.value="Are you sure you want to remove all Components?",c.value="Close",p.value=null,u.value="Delete",m.value=function(){n.value=!1},g.value=async function(){o.deleteAllComponents(),await o.clearHtmlSelection(),t.value.updateOrCreate&&typeof t.value.updateOrCreate.formType=="string"&&(t.value.updateOrCreate.formType==="create"&&await o.removeItemComponentsLocalStorage(),t.value.updateOrCreate.formType==="update"&&await o.removeItemComponentsLocalStorage()),n.value=!1}},b=s.ref(!1),w=function(){b.value=!1},C=function(){b.value=!0},k=s.ref(!1),y=function(){k.value=!1},S=function(){k.value=!0};return(E,N)=>{var O;return s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",u6,[t.value&&t.value.userForPageBuilder&&t.value.userForPageBuilder.name&&(!t.value.userForPageBuilder.image||typeof t.value.userForPageBuilder.image=="string"&&((O=t.value.userForPageBuilder.image)==null?void 0:O.length)<2)?(s.openBlock(),s.createElementBlock("div",m6,[s.createElementVNode("div",h6,s.toDisplayString(typeof t.value.userForPageBuilder.name=="string"&&t.value.userForPageBuilder.name[0]),1),s.createElementVNode("div",g6,s.toDisplayString(t.value.userForPageBuilder.name),1)])):s.createCommentVNode("",!0),t.value&&t.value.userForPageBuilder&&t.value.userForPageBuilder.name&&t.value.userForPageBuilder.image&&typeof t.value.userForPageBuilder.image=="string"&&t.value.userForPageBuilder.image.length>2?(s.openBlock(),s.createElementBlock("div",f6,[s.createElementVNode("div",b6,[s.createElementVNode("img",{alt:"avatar",src:`${t.value.userForPageBuilder.image}`,class:"block inset-0 object-top h-8 min-h-8 max-h-8 w-8 min-w-8 max-w-8 object-cover rounded-full"},null,8,y6)]),s.createElementVNode("div",w6,s.toDisplayString(t.value.userForPageBuilder.name),1)])):s.createCommentVNode("",!0),s.createElementVNode("div",null,[s.createElementVNode("div",x6,[N[2]||(N[2]=s.createElementVNode("button",{type:"button",class:"cursor-pointer lg:flex myPrimaryTag font-normal w-max text-xs"},[s.createElementVNode("span",null," Options ")],-1)),s.createElementVNode("div",v6,[s.createElementVNode("button",{onClick:N[0]||(N[0]=()=>{s.unref(o).clearHtmlSelection(),C()}),class:"cursor-pointer lg:flex myPrimaryTag font-normal w-max border-none m-0",type:"button"}," Config Overview "),s.createElementVNode("button",{onClick:S,class:"cursor-pointer lg:flex myPrimaryTag font-normal w-max border-none m-0",type:"button"}," HTML Overview "),s.createElementVNode("button",{onClick:N[1]||(N[1]=()=>{s.unref(o).clearHtmlSelection(),f()}),class:"cursor-pointer lg:flex myPrimaryTag font-normal w-max border-none m-0 bg-myPrimaryErrorColor text-white",type:"button"}," Delete Layout ")])])])]),s.createVNode(Dr,{maxWidth:"5xl",showModalBuilder:b.value,title:"Main Settings",onCloseMainModalBuilder:w,minHeight:"",maxHeight:""},{default:s.withCtx(()=>[s.createVNode($k)]),_:1},8,["showModalBuilder"]),s.createVNode(Dr,{maxWidth:"5xl",showModalBuilder:k.value,title:"Selected HTML",onCloseMainModalBuilder:y,minHeight:"",maxHeight:""},{default:s.withCtx(()=>[s.createVNode(p6)]),_:1},8,["showModalBuilder"]),s.createVNode(wo,{showDynamicModalBuilder:n.value,type:i.value,gridColumnAmount:a.value,title:l.value,description:d.value,firstButtonText:c.value,secondButtonText:p.value,thirdButtonText:u.value,onFirstModalButtonFunctionDynamicModalBuilder:m.value,onSecondModalButtonFunctionDynamicModalBuilder:h.value,onThirdModalButtonFunctionDynamicModalBuilder:g.value},{default:s.withCtx(()=>N[3]||(N[3]=[s.createElementVNode("header",null,null,-1),s.createElementVNode("main",null,null,-1)])),_:1,__:[3]},8,["showDynamicModalBuilder","type","gridColumnAmount","title","description","firstButtonText","secondButtonText","thirdButtonText","onFirstModalButtonFunctionDynamicModalBuilder","onSecondModalButtonFunctionDynamicModalBuilder","onThirdModalButtonFunctionDynamicModalBuilder"])])}}};let Ol=null;function E6(){return(r,e=300)=>{Ol&&clearTimeout(Ol),Ol=setTimeout(r,e)}}const C6={id:"builder-container",class:"font-sans max-w-full m-1 border border-gray-600 inset-x-0 z-10 bg-white overflow-x-scroll"},S6={id:"pagebuilder-top-area",class:"lg:px-4 pt-2 pb-4 mx-4 mb-4 mt-2"},N6={key:0,class:"flex items-center divide-x divide-gray-200"},M6={class:"pr-4"},B6=["src"],T6={key:1},O6={class:"relative h-full flex pb-2 gap-2"},V6={class:"mx-2 flex flex-col myPrimaryGap items-stretch"},P6={class:"flex gap-2 items-center justify-center"},A6={id:"pagebuilder-toolbar-area",class:"flex items-center justify-between rounded-t-2xl bg-myPrimaryLightGrayColor min-w-[30rem]"},D6=["disabled"],I6={key:0,class:"h-10 w-4 cursor-pointer rounded-full flex items-center justify-center"},L6={key:1,class:"h-10 w-4 cursor-pointer rounded-full flex items-center justify-center"},R6={class:"flex items-center justify-center gap-4"},_6={id:"contains-pagebuilder",class:"pl-4 pr-4 pb-4 overflow-y-auto pt-1 h-[39rem]"},z6={id:"pagebuilder"},F6=["onMouseup"],H6=["innerHTML"],j6={class:"mt-6 flex items-center gap-2 justify-center"},W6={__name:"PageBuilder",props:{CustomMediaLibraryComponent:{type:Object,default:null},CustomBuilderComponents:{type:Object,default:null}},setup(r){const e=r,t=Sa,o=re,n=new se(o);s.provide("pageBuilderStateStore",o),s.provide("internalPinia",t),s.provide("CustomMediaComponent",e.CustomMediaLibraryComponent),s.provide("CustomBuilderComponents",e.CustomBuilderComponents);const i=()=>{h.value=!1};s.provide("closeAddComponentModal",i);const a=s.computed(()=>o.getConfigPageBuilder),l=s.computed(()=>o.getIsSaving),d=s.computed(()=>o.getMenuRight),c=function(){n.previewCurrentDesign()},p=s.ref(!1),u=function(){c(),p.value=!0},m=function(){p.value=!1},h=s.ref(!1),g=s.ref(""),f=s.ref(""),b=s.ref(null),w=async function(){await n.clearHtmlSelection(),g.value="Add Components to Page",f.value="Close",h.value=!0,b.value=function(){h.value=!1}},C=s.computed(()=>o.getComponents),k=s.computed(()=>o.getElement),y=s.computed(()=>!k.value||!(k.value instanceof HTMLElement)?"":{src:k.value.getAttribute("src"),href:k.value.getAttribute("href"),style:k.value.getAttribute("style"),class:k.value.getAttribute("class"),dataImage:k.value.getAttribute("data-image")}),S=E6();s.watch(y,async(v,x)=>{((v==null?void 0:v.src)!==(x==null?void 0:x.src)||(v==null?void 0:v.href)!==(x==null?void 0:x.href)||(v==null?void 0:v.style)!==(x==null?void 0:x.style)||(v==null?void 0:v.class)!==(x==null?void 0:x.class)||(v==null?void 0:v.dataImage)!==(x==null?void 0:x.dataImage))&&S(async()=>{await n.handleAutoSave(),await n.handlePageBuilderMethods()},200)});const E=function(v){o.setComponent(v)},N=s.ref(null),O={updateOrCreate:{formType:"create",formName:"post"}},A=function(v){if(v==null||v&&Object.keys(v).length===0&&v.constructor===Object){n.setConfigPageBuilder(O);return}v&&Object.keys(v).length!==0&&v.constructor===Object&&w3(v)};return s.watch(()=>a.value,v=>{n.updateLocalStorageItemName(),v&&v.updateOrCreate&&v.updateOrCreate.formType==="create"&&n.loadExistingContent()},{immediate:!0}),s.onMounted(async()=>{const v=a.value;A(v),n.updateLocalStorageItemName(),await n.clearHtmlSelection(),await n.setEventListenersForElements()}),(v,x)=>(s.openBlock(),s.createElementBlock("div",C6,[s.createElementVNode("div",S6,[s.createElementVNode("div",{onClick:x[1]||(x[1]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex justify-between items-center pb-2 border-b border-gray-200"},[s.createElementVNode("div",{onClick:x[0]||(x[0]=V=>s.unref(n).clearHtmlSelection())},[a.value&&a.value.pageBuilderLogo&&a.value.pageBuilderLogo.src?(s.openBlock(),s.createElementBlock("div",N6,[s.createElementVNode("div",M6,[s.createElementVNode("img",{class:"h-6",src:a.value.pageBuilderLogo.src,alt:"Logo"},null,8,B6)]),x[17]||(x[17]=s.createElementVNode("span",{class:"myPrimaryParagraph font-medium pl-4"},"Editing Page ",-1))])):(s.openBlock(),s.createElementBlock("div",T6,x[18]||(x[18]=[s.createElementVNode("div",{class:"pr-6"},[s.createElementVNode("span",{class:"myPrimaryParagraph font-medium"},"Editing Page ")],-1)])))]),s.createElementVNode("div",null,[s.createVNode(k6)])])]),h.value?(s.openBlock(),s.createBlock(Kv,{key:0,show:h.value,firstButtonText:f.value,title:g.value,CustomBuilderComponents:e.CustomBuilderComponents,onFirstModalButtonSearchComponentsFunction:b.value},null,8,["show","firstButtonText","title","CustomBuilderComponents","onFirstModalButtonSearchComponentsFunction"])):s.createCommentVNode("",!0),s.createVNode(Dr,{title:"Preview",showModalBuilder:p.value,onCloseMainModalBuilder:m,maxWidth:"screen"},{default:s.withCtx(()=>[s.createVNode(ld)]),_:1},8,["showModalBuilder"]),s.createElementVNode("div",null,[s.createElementVNode("div",O6,[s.createElementVNode("div",{onClick:x[4]||(x[4]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),id:"pagebuilder-left-area",class:"min-w-[3.5rem] pt-6 pb-2 ml-2 bg-myPrimaryLightGrayColor rounded-full shadow-sm"},[s.createElementVNode("div",V6,[s.createElementVNode("div",P6,[s.createElementVNode("button",{type:"button",onClick:x[2]||(x[2]=()=>{s.unref(o).setComponentArrayAddMethod("unshift"),w()}),class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},x[19]||(x[19]=[s.createElementVNode("span",{class:"myMediumIcon material-symbols-outlined"}," interests ",-1)]))]),s.createElementVNode("div",{onClick:x[3]||(x[3]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"]))},[k.value?(s.openBlock(),s.createBlock($h,{key:0})):s.createCommentVNode("",!0)])])]),s.createElementVNode("main",{class:s.normalizeClass(["flex flex-col h-full grow rounded-tr-2xl rounded-tl-2xl border border-gray-200 items-stretch",{"mr-2":!d.value,"":d.value}])},[s.createElementVNode("div",A6,[s.createElementVNode("div",{onClick:x[6]||(x[6]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex myPrimaryGap items-center pt-4 pb-2 pl-2 h-24 w-full min-w-36"},[s.createElementVNode("button",{class:"myPrimaryButton h-6 flex gap-2",onClick:x[5]||(x[5]=s.withModifiers(async()=>{await s.unref(n).clearHtmlSelection(),await s.unref(n).handleManualSave()},["stop"])),type:"button",disabled:l.value},[l.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",I6,x[20]||(x[20]=[s.createElementVNode("span",{class:"material-symbols-outlined"},"save",-1)]))),l.value?(s.openBlock(),s.createElementBlock("div",L6,x[21]||(x[21]=[s.createElementVNode("span",{class:"relative flex size-3"},[s.createElementVNode("span",{class:"absolute inline-flex h-full w-full animate-ping rounded-full bg-gray-400 opacity-75"}),s.createElementVNode("span",{class:"relative inline-flex size-3 rounded-full bg-green-200"})],-1)]))):s.createCommentVNode("",!0),x[22]||(x[22]=s.createElementVNode("div",null,"Save",-1))],8,D6)]),s.createElementVNode("div",{onClick:x[10]||(x[10]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex justify-end py-2 pr-2 h-24 w-full"},[s.createElementVNode("div",{onClick:x[9]||(x[9]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex items-center justify-center gap-4"},[s.createElementVNode("button",{type:"button",onClick:x[7]||(x[7]=()=>{s.unref(o).setComponentArrayAddMethod("unshift"),w()})},x[23]||(x[23]=[s.createStaticVNode('<div class="flex items-center justify-center gap-2"><span class="lg:block hidden"><div class="whitespace-nowrap">Add new Components</div></span><span class="h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"><span class="myMediumIcon material-symbols-outlined"> interests </span></span></div>',1)])),s.createElementVNode("div",R6,[s.createElementVNode("button",{type:"button",onClick:x[8]||(x[8]=()=>{s.unref(o).setMenuRight(!1),s.unref(o).setElement(null),s.unref(n).clearHtmlSelection(),u()})},x[24]||(x[24]=[s.createElementVNode("div",{class:"flex items-center justify-center gap-2"},[s.createElementVNode("div",{class:"whitespace-nowrap lg:block hidden"},"Preview"),s.createElementVNode("span",{class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},[s.createElementVNode("span",{class:"myMediumIcon material-symbols-outlined"}," visibility ")])],-1)]))])])]),s.createElementVNode("div",{onClick:x[13]||(x[13]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex justify-end py-2 pr-2 w-full h-24"},[s.createElementVNode("div",{onClick:x[12]||(x[12]=s.withModifiers(V=>s.unref(n).clearHtmlSelection(),["self"])),class:"flex items-center justify-center gap-4"},[d.value===!1?(s.openBlock(),s.createElementBlock("button",{key:0,type:"button",onClick:x[11]||(x[11]=V=>s.unref(o).setMenuRight(!0))},x[25]||(x[25]=[s.createElementVNode("div",{class:"flex items-center justify-center gap-2"},[s.createElementVNode("span",{class:"lg:block hidden"}," Styling "),s.createElementVNode("span",{class:"h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"},[s.createElementVNode("span",{class:"myMediumIcon material-symbols-outlined"}," more_vert ")])],-1)]))):s.createCommentVNode("",!0)])])]),s.createVNode(Ev),s.createElementVNode("div",_6,[s.createElementVNode("div",z6,[s.createElementVNode("div",{ref_key:"draggableZone",ref:N},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(C.value,V=>(s.openBlock(),s.createElementBlock("div",{key:V.id,id:"page-builder-editor-editable-area",class:"bg-white grow"},[s.createElementVNode("div",{onMouseup:z=>E(V),class:"relative group"},[s.createElementVNode("div",{innerHTML:V.html_code},null,8,H6)],40,F6)]))),128))],512),s.createElementVNode("div",{onClick:x[15]||(x[15]=V=>s.unref(n).clearHtmlSelection()),id:"pagebuilder-bottom-components-area",class:s.normalizeClass(["pt-8 pb-12 text-center focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 my-2 mx-4",{"border-t border-gray-200":C.value.length>0}])},[x[27]||(x[27]=s.createElementVNode("div",{class:"flex items-center justify-center gap-2 font-medium"},[s.createElementVNode("span",{class:"lg:block hidden"},[s.createElementVNode("div",null,"Add new components to the bottom of the page")])],-1)),s.createElementVNode("div",j6,[s.createElementVNode("button",{onClick:x[14]||(x[14]=()=>{s.unref(o).setComponentArrayAddMethod("push"),w()}),type:"button",class:"myPrimaryButton flex items-center gap-2 justify-center"},x[26]||(x[26]=[s.createElementVNode("span",{class:"myMediumIcon material-symbols-outlined"}," interests ",-1),s.createElementVNode("span",{class:"font-medium"}," Add new Components ",-1)]))])],2)])])],2),s.createElementVNode("aside",{"aria-label":"Menu",id:"pagebuilder-right-area",class:s.normalizeClass([{"w-0":!d.value,"w-80 mr-2 bg-myPrimaryLightGrayColor items-stretch":d.value},"duration-300 z-20 flex-shrink-0 overflow-hidden shadow-sm rounded-l-2xl"])},[s.createVNode(b3,{onCloseEditor:x[16]||(x[16]=V=>s.unref(o).setMenuRight(!1))})],2)])])]))}};U.PageBuilder=W6,U.PageBuilderClass=se,U.Preview=ld,U.createPinia=ed,U.sharedPageBuilderPinia=Sa,U.sharedPageBuilderStore=re,U.usePageBuilderModal=Pm,U.usePageBuilderStateStore=sd,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});