lf-pagebuilder-vue 0.0.61 → 0.0.62

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.
@@ -27,9 +27,9 @@ var LfPagebuilder=(function(ai){"use strict";var bfe=Object.defineProperty;var g
27
27
  * @vue/runtime-dom v3.5.28
28
28
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
29
29
  * @license MIT
30
- **/let Z8;const _k=typeof window<"u"&&window.trustedTypes;if(_k)try{Z8=_k.createPolicy("vue",{createHTML:t=>t})}catch{}const Rk=Z8?t=>Z8.createHTML(t):t=>t,mH="http://www.w3.org/2000/svg",bH="http://www.w3.org/1998/Math/MathML",x0=typeof document<"u"?document:null,Qk=x0&&x0.createElement("template"),Ik={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e==="svg"?x0.createElementNS(mH,t):e==="mathml"?x0.createElementNS(bH,t):n?x0.createElement(t,{is:n}):x0.createElement(t);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>x0.createTextNode(t),createComment:t=>x0.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>x0.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const l=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Qk.innerHTML=Rk(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=Qk.content;if(r==="svg"||r==="mathml"){const s=a.firstChild;for(;s.firstChild;)a.appendChild(s.firstChild);a.removeChild(s)}e.insertBefore(a,n)}return[l?l.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Ts="transition",nh="animation",Ad=Symbol("_vtc"),Dk={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},zk=Os({},c8,Dk),gH=(t=>(t.displayName="Transition",t.props=zk,t))((t,{slots:e})=>j8(TS,Zk(t),e)),a1=(t,e=[])=>{Wi(t)?t.forEach(n=>n(...e)):t&&t(...e)},Vk=t=>t?Wi(t)?t.some(e=>e.length>1):t.length>1:!1;function Zk(t){const e={};for(const q in t)q in Dk||(e[q]=t[q]);if(t.css===!1)return e;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:s=i,appearActiveClass:u=l,appearToClass:p=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:b=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,C=vH(o),k=C&&C[0],T=C&&C[1],{onBeforeEnter:P,onEnter:S,onEnterCancelled:A,onLeave:I,onLeaveCancelled:z,onBeforeAppear:U=P,onAppear:Y=S,onAppearCancelled:re=A}=e,F=(q,ce,ge,Be)=>{q._enterCancelled=Be,Es(q,ce?p:a),Es(q,ce?u:l),ge&&ge()},H=(q,ce)=>{q._isLeaving=!1,Es(q,h),Es(q,g),Es(q,b),ce&&ce()},ne=q=>(ce,ge)=>{const Be=q?Y:S,be=()=>F(ce,q,ge);a1(Be,[ce,be]),Bk(()=>{Es(ce,q?s:i),Ma(ce,q?p:a),Vk(Be)||Fk(ce,r,k,be)})};return Os(e,{onBeforeEnter(q){a1(P,[q]),Ma(q,i),Ma(q,l)},onBeforeAppear(q){a1(U,[q]),Ma(q,s),Ma(q,u)},onEnter:ne(!1),onAppear:ne(!0),onLeave(q,ce){q._isLeaving=!0;const ge=()=>H(q,ce);Ma(q,h),q._enterCancelled?(Ma(q,b),F8(q)):(F8(q),Ma(q,b)),Bk(()=>{q._isLeaving&&(Es(q,h),Ma(q,g),Vk(I)||Fk(q,r,T,ge))}),a1(I,[q,ge])},onEnterCancelled(q){F(q,!1,void 0,!0),a1(A,[q])},onAppearCancelled(q){F(q,!0,void 0,!0),a1(re,[q])},onLeaveCancelled(q){H(q),a1(z,[q])}})}function vH(t){if(t==null)return null;if(Q8(t))return[B8(t.enter),B8(t.leave)];{const e=B8(t);return[e,e]}}function B8(t){return V8(t)}function Ma(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Ad]||(t[Ad]=new Set)).add(e)}function Es(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[Ad];n&&(n.delete(e),n.size||(t[Ad]=void 0))}function Bk(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let yH=0;function Fk(t,e,n,r){const o=t._endId=++yH,i=()=>{o===t._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:l,timeout:a,propCount:s}=Hk(t,e);if(!l)return r();const u=l+"end";let p=0;const h=()=>{t.removeEventListener(u,b),i()},b=g=>{g.target===t&&++p>=s&&h()};setTimeout(()=>{p<s&&h()},a+1),t.addEventListener(u,b)}function Hk(t,e){const n=window.getComputedStyle(t),r=C=>(n[C]||"").split(", "),o=r(`${Ts}Delay`),i=r(`${Ts}Duration`),l=Xk(o,i),a=r(`${nh}Delay`),s=r(`${nh}Duration`),u=Xk(a,s);let p=null,h=0,b=0;e===Ts?l>0&&(p=Ts,h=l,b=i.length):e===nh?u>0&&(p=nh,h=u,b=s.length):(h=Math.max(l,u),p=h>0?l>u?Ts:nh:null,b=p?p===Ts?i.length:s.length:0);const g=p===Ts&&/\b(?:transform|all)(?:,|$)/.test(r(`${Ts}Property`).toString());return{type:p,timeout:h,propCount:b,hasTransform:g}}function Xk(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>Uk(n)+Uk(t[r])))}function Uk(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function F8(t){return(t?t.ownerDocument:document).body.offsetHeight}function CH(t,e,n){const r=t[Ad];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const _5=Symbol("_vod"),Wk=Symbol("_vsh"),rh={name:"show",beforeMount(t,{value:e},{transition:n}){t[_5]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):oh(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),oh(t,!0),r.enter(t)):r.leave(t,()=>{oh(t,!1)}):oh(t,e))},beforeUnmount(t,{value:e}){oh(t,e)}};function oh(t,e){t.style.display=e?t[_5]:"none",t[Wk]=!e}function xH(){rh.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const Gk=Symbol("");function wH(t){const e=Mi();if(!e)return;const n=e.ut=(o=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>R5(i,o))},r=()=>{const o=t(e.proxy);e.ce?R5(e.ce,o):H8(e.subTree,o),n(o)};h8(()=>{Rp(r)}),Wl(()=>{Ta(r,nH,{flush:"post"});const o=new MutationObserver(r);o.observe(e.subTree.el.parentNode,{childList:!0}),t1(()=>o.disconnect())})}function H8(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{H8(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)R5(t.el,e);else if(t.type===hn)t.children.forEach(n=>H8(n,e));else if(t.type===o1){let{el:n,anchor:r}=t;for(;n&&(R5(n,e),n!==r);)n=n.nextSibling}}function R5(t,e){if(t.nodeType===1){const n=t.style;let r="";for(const o in e){const i=fH(e[o]);n.setProperty(`--${o}`,i),r+=`--${o}: ${i};`}n[Gk]=r}}const OH=/(?:^|;)\s*display\s*:/;function SH(t,e,n){const r=t.style,o=Ld(n);let i=!1;if(n&&!o){if(e)if(Ld(e))for(const l of e.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Q5(r,a,"")}else for(const l in e)n[l]==null&&Q5(r,l,"");for(const l in n)l==="display"&&(i=!0),Q5(r,l,n[l])}else if(o){if(e!==n){const l=r[Gk];l&&(n+=";"+l),r.cssText=n,i=OH.test(n)}}else e&&t.removeAttribute("style");_5 in t&&(t[_5]=i?r.display:"",t[Wk]&&(r.display="none"))}const qk=/\s*!important$/;function Q5(t,e,n){if(Wi(n))n.forEach(r=>Q5(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=kH(t,e);qk.test(n)?t.setProperty(Ss(r),n.replace(qk,""),"important"):t[r]=n}}const Yk=["Webkit","Moz","ms"],X8={};function kH(t,e){const n=X8[e];if(n)return n;let r=Ui(e);if(r!=="filter"&&r in t)return X8[e]=r;r=dH(r);for(let o=0;o<Yk.length;o++){const i=Yk[o]+r;if(i in t)return X8[e]=i}return e}const Kk="http://www.w3.org/1999/xlink";function Jk(t,e,n,r,o,i=pH(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(Kk,e.slice(6,e.length)):t.setAttributeNS(Kk,e,n):n==null||i&&!jk(n)?t.removeAttribute(e):t.setAttribute(e,i?"":R8(n)?String(n):n)}function eT(t,e,n,r,o){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?Rk(n):n);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?t.getAttribute("value")||"":t.value,s=n==null?t.type==="checkbox"?"on":"":String(n);(a!==s||!("_value"in t))&&(t.value=s),n==null&&t.removeAttribute(e),t._value=n;return}let l=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=jk(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(o||e)}function w0(t,e,n,r){t.addEventListener(e,n,r)}function TH(t,e,n,r){t.removeEventListener(e,n,r)}const tT=Symbol("_vei");function EH(t,e,n,r,o=null){const i=t[tT]||(t[tT]={}),l=i[e];if(r&&l)l.value=r;else{const[a,s]=$H(e);if(r){const u=i[e]=LH(r,o);w0(t,a,u,s)}else l&&(TH(t,a,l,s),i[e]=void 0)}}const nT=/(?:Once|Passive|Capture)$/;function $H(t){let e;if(nT.test(t)){e={};let r;for(;r=t.match(nT);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Ss(t.slice(2)),e]}let U8=0;const MH=Promise.resolve(),PH=()=>U8||(MH.then(()=>U8=0),U8=Date.now());function LH(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bl(AH(r,n.value),e,5,[r])};return n.value=t,n.attached=PH(),n}function AH(t,e){if(Wi(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const rT=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,oT=(t,e,n,r,o,i)=>{const l=o==="svg";e==="class"?CH(t,r,l):e==="style"?SH(t,n,r):rH(e)?oH(e)||EH(t,e,n,r,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):NH(t,e,r,l))?(eT(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Jk(t,e,r,l,i,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Ld(r))?eT(t,N5(e),r,i,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Jk(t,e,r,l))};function NH(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&rT(e)&&Ak(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=t.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return rT(e)&&Ld(n)?!1:e in t}const iT={};function lT(t,e,n){let r=Ti(t,e);Nk(r)&&(r=Os({},r,e));class o extends I5{constructor(l){super(r,l,n)}}return o.def=r,o}const jH=((t,e)=>lT(t,e,ST)),_H=typeof HTMLElement<"u"?HTMLElement:class{};class I5 extends _H{constructor(e,n={},r=Z5){super(),this._def=e,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==Z5?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(Os({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof I5){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,e1(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const n of e)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const e=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:l}=r;let a;if(i&&!Wi(i))for(const s in i){const u=i[s];(u===Number||u&&u.type===Number)&&(s in this._props&&(this._props[s]=V8(this._props[s])),(a||(a=Object.create(null)))[N5(s)]=!0)}this._numberProps=a,this._resolveProps(r),this.shadowRoot&&this._applyStyles(l),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,e(this._def=r,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)lH(this,r)||Object.defineProperty(this,r,{get:()=>c2(n[r])})}_resolveProps(e){const{props:n}=e,r=Wi(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(N5))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let r=n?this.getAttribute(e):iT;const o=N5(e);n&&this._numberProps&&this._numberProps[o]&&(r=V8(r)),this._setProp(o,r,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,n,r=!0,o=!1){if(n!==this._props[e]&&(this._dirty=!0,n===iT?delete this._props[e]:(this._props[e]=n,e==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(Ss(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ss(e),n+""):n||this.removeAttribute(Ss(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),OT(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=cr(this._def,Os(e,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(i,l)=>{this.dispatchEvent(new CustomEvent(i,Nk(l[0])?Os({detail:l},l[0]):{detail:l}))};r.emit=(i,...l)=>{o(i,l),Ss(i)!==i&&o(Ss(i),l)},this._setParent()}),n}_applyStyles(e,n){if(!e)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=e.length-1;o>=0;o--){const i=document.createElement("style");r&&i.setAttribute("nonce",r),i.textContent=e[o],this.shadowRoot.prepend(i)}}_parseSlots(){const e=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(e[r]||(e[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const e=this._getSlots(),n=this._instance.type.__scopeId;for(let r=0;r<e.length;r++){const o=e[r],i=o.getAttribute("name")||"default",l=this._slots[i],a=o.parentNode;if(l)for(const s of l){if(n&&s.nodeType===1){const u=n+"-s",p=document.createTreeWalker(s,1);s.setAttribute(u,"");let h;for(;h=p.nextNode();)h.setAttribute(u,"")}a.insertBefore(s,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const n=new Set;for(const r of e){const o=r.querySelectorAll("slot");for(let i=0;i<o.length;i++)n.add(o[i])}return Array.from(n)}_injectChildStyle(e){this._applyStyles(e.styles,e)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}}function aT(t){const e=Mi(),n=e&&e.ce;return n||null}function RH(){const t=aT();return t&&t.shadowRoot}function QH(t="$style"){{const e=Mi();if(!e)return _8;const n=e.type.__cssModules;if(!n)return _8;const r=n[t];return r||_8}}const sT=new WeakMap,cT=new WeakMap,D5=Symbol("_moveCb"),dT=Symbol("_enterCb"),IH=(t=>(delete t.props.mode,t))({name:"TransitionGroup",props:Os({},zk,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Mi(),r=s8();let o,i;return Xp(()=>{if(!o.length)return;const l=t.moveClass||`${t.name||"v"}-move`;if(!ZH(o[0].el,n.vnode.el,l)){o=[];return}o.forEach(DH),o.forEach(zH);const a=o.filter(VH);F8(n.vnode.el),a.forEach(s=>{const u=s.el,p=u.style;Ma(u,l),p.transform=p.webkitTransform=p.transitionDuration="";const h=u[D5]=b=>{b&&b.target!==u||(!b||b.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",h),u[D5]=null,Es(u,l))};u.addEventListener("transitionend",h)}),o=[]}),()=>{const l=hr(t),a=Zk(l);let s=l.tag||hn;if(o=[],i)for(let u=0;u<i.length;u++){const p=i[u];p.el&&p.el instanceof Element&&(o.push(p),m0(p,kd(p,a,r,n)),sT.set(p,uT(p.el)))}i=e.default?b5(e.default()):[];for(let u=0;u<i.length;u++){const p=i[u];p.key!=null&&m0(p,kd(p,a,r,n))}return cr(s,null,i)}}});function DH(t){const e=t.el;e[D5]&&e[D5](),e[dT]&&e[dT]()}function zH(t){cT.set(t,uT(t.el))}function VH(t){const e=sT.get(t),n=cT.get(t),r=e.left-n.left,o=e.top-n.top;if(r||o){const i=t.el,l=i.style,a=i.getBoundingClientRect();let s=1,u=1;return i.offsetWidth&&(s=a.width/i.offsetWidth),i.offsetHeight&&(u=a.height/i.offsetHeight),(!Number.isFinite(s)||s===0)&&(s=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(s-1)<.01&&(s=1),Math.abs(u-1)<.01&&(u=1),l.transform=l.webkitTransform=`translate(${r/s}px,${o/u}px)`,l.transitionDuration="0s",t}}function uT(t){const e=t.getBoundingClientRect();return{left:e.left,top:e.top}}function ZH(t,e,n){const r=t.cloneNode(),o=t[Ad];o&&o.forEach(a=>{a.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=e.nodeType===1?e:e.parentNode;i.appendChild(r);const{hasTransform:l}=Hk(r);return i.removeChild(r),l}const $s=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Wi(e)?n=>uH(e,n):e};function BH(t){t.target.composing=!0}function pT(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const vl=Symbol("_assign");function hT(t,e,n){return e&&(t=t.trim()),n&&(t=z8(t)),t}const ql={created(t,{modifiers:{lazy:e,trim:n,number:r}},o){t[vl]=$s(o);const i=r||o.props&&o.props.type==="number";w0(t,e?"change":"input",l=>{l.target.composing||t[vl](hT(t.value,n,i))}),(n||i)&&w0(t,"change",()=>{t.value=hT(t.value,n,i)}),e||(w0(t,"compositionstart",BH),w0(t,"compositionend",pT),w0(t,"change",pT))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},l){if(t[vl]=$s(l),t.composing)return;const a=(i||t.type==="number")&&!/^0\d/.test(t.value)?z8(t.value):t.value,s=e??"";a!==s&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||o&&t.value.trim()===s)||(t.value=s))}},ih={deep:!0,created(t,e,n){t[vl]=$s(n),w0(t,"change",()=>{const r=t._modelValue,o=Nd(t),i=t.checked,l=t[vl];if(Wi(r)){const a=j5(r,o),s=a!==-1;if(i&&!s)l(r.concat(o));else if(!i&&s){const u=[...r];u.splice(a,1),l(u)}}else if(th(r)){const a=new Set(r);i?a.add(o):a.delete(o),l(a)}else l(bT(t,i))})},mounted:fT,beforeUpdate(t,e,n){t[vl]=$s(n),fT(t,e,n)}};function fT(t,{value:e,oldValue:n},r){t._modelValue=e;let o;if(Wi(e))o=j5(e,r.props.value)>-1;else if(th(e))o=e.has(r.props.value);else{if(e===n)return;o=ks(e,bT(t,!0))}t.checked!==o&&(t.checked=o)}const lh={created(t,{value:e},n){t.checked=ks(e,n.props.value),t[vl]=$s(n),w0(t,"change",()=>{t[vl](Nd(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[vl]=$s(r),e!==n&&(t.checked=ks(e,r.props.value))}},Gi={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const o=th(e);w0(t,"change",()=>{const i=Array.prototype.filter.call(t.options,l=>l.selected).map(l=>n?z8(Nd(l)):Nd(l));t[vl](t.multiple?o?new Set(i):i:i[0]),t._assigning=!0,e1(()=>{t._assigning=!1})}),t[vl]=$s(r)},mounted(t,{value:e}){mT(t,e)},beforeUpdate(t,e,n){t[vl]=$s(n)},updated(t,{value:e}){t._assigning||mT(t,e)}};function mT(t,e){const n=t.multiple,r=Wi(e);if(!(n&&!r&&!th(e))){for(let o=0,i=t.options.length;o<i;o++){const l=t.options[o],a=Nd(l);if(n)if(r){const s=typeof a;s==="string"||s==="number"?l.selected=e.some(u=>String(u)===String(a)):l.selected=j5(e,a)>-1}else l.selected=e.has(a);else if(ks(Nd(l),e)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Nd(t){return"_value"in t?t._value:t.value}function bT(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const gT={created(t,e,n){z5(t,e,n,null,"created")},mounted(t,e,n){z5(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){z5(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){z5(t,e,n,r,"updated")}};function vT(t,e){switch(t){case"SELECT":return Gi;case"TEXTAREA":return ql;default:switch(e){case"checkbox":return ih;case"radio":return lh;default:return ql}}}function z5(t,e,n,r,o){const l=vT(t.tagName,n.props&&n.props.type)[o];l&&l(t,e,n,r)}function FH(){ql.getSSRProps=({value:t})=>({value:t}),lh.getSSRProps=({value:t},e)=>{if(e.props&&ks(e.props.value,t))return{checked:!0}},ih.getSSRProps=({value:t},e)=>{if(Wi(t)){if(e.props&&j5(t,e.props.value)>-1)return{checked:!0}}else if(th(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},gT.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=vT(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const HH=["ctrl","shift","alt","meta"],XH={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>HH.some(n=>t[`${n}Key`]&&!e.includes(n))},V5=(t,e)=>{if(!t)return t;const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=((o,...i)=>{for(let l=0;l<e.length;l++){const a=XH[e[l]];if(a&&a(o,e))return}return t(o,...i)}))},UH={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},WH=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const i=Ss(o.key);if(e.some(l=>l===i||UH[l]===i))return t(o)}))},yT=Os({patchProp:oT},Ik);let ah,CT=!1;function xT(){return ah||(ah=sk(yT))}function wT(){return ah=CT?ah:ck(yT),CT=!0,ah}const OT=((...t)=>{xT().render(...t)}),GH=((...t)=>{wT().hydrate(...t)}),Z5=((...t)=>{const e=xT().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=TT(r);if(!o)return;const i=e._component;!Ak(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const l=n(o,!1,kT(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},e}),ST=((...t)=>{const e=wT().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=TT(r);if(o)return n(o,!0,kT(o))},e});function kT(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function TT(t){return Ld(t)?document.querySelector(t):t}let ET=!1;const qH=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:TS,BaseTransitionPropsValidators:c8,Comment:Do,DeprecationTypes:eH,EffectScope:B7,ErrorCodes:dB,ErrorTypeStrings:WF,Fragment:hn,KeepAlive:IB,ReactiveEffect:kp,Static:o1,Suspense:$F,Teleport:OS,Text:ws,TrackOpTypes:RZ,Transition:gH,TransitionGroup:IH,TriggerOpTypes:QZ,VueElement:I5,assertNumber:cB,callWithAsyncErrorHandling:bl,callWithErrorHandling:Kc,camelize:Ui,capitalize:s5,cloneVNode:$a,compatUtils:JF,computed:E2,createApp:Z5,createBlock:v0,createCommentVNode:wn,createElementBlock:ke,createElementVNode:B,createHydrationRenderer:ck,createPropsRestProxy:iF,createRenderer:sk,createSSRApp:ST,createSlots:FB,createStaticVNode:xk,createTextVNode:kr,createVNode:cr,customRef:WO,defineAsyncComponent:QB,defineComponent:Ti,defineCustomElement:lT,defineEmits:GB,defineExpose:qB,defineModel:JB,defineOptions:YB,defineProps:WB,defineSSRCustomElement:jH,defineSlots:KB,devtools:GF,effect:oZ,effectScope:tZ,getCurrentInstance:Mi,getCurrentScope:EO,getCurrentWatcher:IZ,getTransitionRawChildren:b5,guardReactiveProps:Ck,h:j8,handleError:Jc,hasInjectionContext:gB,hydrate:GH,hydrateOnIdle:LB,hydrateOnInteraction:_B,hydrateOnMediaQuery:jB,hydrateOnVisible:NB,initCustomFormatter:HF,initDirectivesForSSR:()=>{ET||(ET=!0,FH(),xH())},inject:zp,isMemoSame:Mk,isProxy:Lp,isReactive:h0,isReadonly:wa,isRef:Ro,isRuntimeOnly:zF,isShallow:ki,isVNode:y0,markRaw:XO,mergeDefaults:rF,mergeModels:oF,mergeProps:wk,nextTick:e1,nodeOps:Ik,normalizeClass:oo,normalizeProps:tB,normalizeStyle:qc,onActivated:NS,onBeforeMount:RS,onBeforeUnmount:Up,onBeforeUpdate:h8,onDeactivated:jS,onErrorCaptured:zS,onMounted:Wl,onRenderTracked:DS,onRenderTriggered:IS,onScopeDispose:nZ,onServerPrefetch:QS,onUnmounted:t1,onUpdated:Xp,onWatcherCleanup:qO,openBlock:Oe,patchProp:oT,popScopeId:mB,provide:pS,proxyRefs:e8,pushScopeId:fB,queuePostFlushCb:Rp,reactive:vd,readonly:n5,ref:mn,registerRuntimeCompiler:DF,render:OT,renderList:Vr,renderSlot:HB,resolveComponent:VB,resolveDirective:BB,resolveDynamicComponent:ZB,resolveFilter:KF,resolveTransitionHooks:kd,setBlockTracking:Jp,setDevtoolsHook:qF,setTransitionHooks:m0,shallowReactive:HO,shallowReadonly:SZ,shallowRef:J7,ssrContextKey:hS,ssrUtils:YF,stop:iZ,toDisplayString:Gt,toHandlerKey:jp,toHandlers:XB,toRaw:hr,toRef:NZ,toRefs:PZ,toValue:EZ,transformVNodeArgs:jF,triggerRef:TZ,unref:c2,useAttrs:nF,useCssModule:QH,useCssVars:wH,useHost:aT,useId:OB,useModel:fF,useSSRContext:fS,useShadowRoot:RH,useSlots:tF,useTemplateRef:SB,useTransitionState:s8,vModelCheckbox:ih,vModelDynamic:gT,vModelRadio:lh,vModelSelect:Gi,vModelText:ql,vShow:rh,version:Pk,warn:UF,watch:Ta,watchEffect:vB,watchPostEffect:yB,watchSyncEffect:mS,withAsyncContext:lF,withCtx:Dp,withDefaults:eF,withDirectives:Gr,withKeys:WH,withMemo:XF,withModifiers:V5,withScopeId:bB},Symbol.toStringTag,{value:"Module"})),YH=[{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Button",category:"Call to Action",name:"Botón en Astro",description:"Botón de prueba en Astro",framework:"Astro",priority:1,tags:["boton","interactivo","ejemplo"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!0,example_value:"Botón en Astro"},{name:"href",type:"text",label:"Url de destino",mandatory:!0,example_value:"https://lefebvre.es"},{name:"target",type:"text",label:"Indicar si se abre en la misma ventana o en una nueva (_blank)",mandatory:!1,example_value:"_blank"}],repeat_data:null}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Author_2025_Algarve",category:"Contenido",name:"Contenido con imagen a la izquierda Genial 2025",description:"Contenido con imagen para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","imagen","genial"],fields:[{name:"nameAuthor",type:"text",label:"Nombre del autor",mandatory:!1,example_value:"Gatos esfinge"},{name:"descriptionAuthor",type:"text",label:"Descripción del autor",mandatory:!1,example_value:"Comprende la maravillosa mente del gato esfinge y descubre por qué esta raza única ha capturado los corazones de amantes de los gatos en todo el mundo en Algarve 2025."},{name:"imageAuthor",type:"image",label:"Src de la imagen del autor",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"imageAuthorAlt",type:"text",label:"Alt de la imagen del autor",mandatory:!1,example_value:"Imagen del autor"},{name:"minutes",type:"text",label:"Minutos de lectura",mandatory:!1,example_value:"20"},{name:"borderRadius",type:"text",label:"Border radius de la imagen (ej: full, lg, [48px])",mandatory:!1,example_value:""},{name:"full",type:"boolean",label:"Imagen a ancho completo",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"CTA_2025_Formentera",category:"Call to Action",name:"Botón primario Genial 2025",description:"Botón primario para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["boton","genial"],fields:[{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"frontColor",type:"text",label:"Color frontal",mandatory:!1,example_value:"white"},{name:"backColor",type:"text",label:"Color de fondo",mandatory:!1,example_value:"#2134F1"},{name:"borderColor",type:"text",label:"Color del borde",mandatory:!1,example_value:"#2134F1"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Cabecera_2025_Barcelona",category:"Cabecera",name:"Breadcrumb Genial 2025",description:"Breadcrumb para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["breadcrumb","genial"],fields:[{name:"text",type:"text",label:"Texto del breadcrumb",mandatory:!1,example_value:"Test"},{name:"subdirectory",type:"text",label:"Subdirectorio",mandatory:!1,example_value:"/genia-l"},{name:"link",type:"text",label:"Enlace del breadcrumb",mandatory:!1,example_value:"#"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Cabecera_2025_Madrid",category:"Cabecera",name:"Header Genial 2025",description:"Header para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["header","navegación"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!1,example_value:"Pruébalo ya"},{name:"subdirectory",type:"text",label:"Subdirectorio",mandatory:!1,example_value:"/genia-l"},{name:"url",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"#"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Cabecera_2026_Madrid",category:"Cabecera",name:"Header Genial 2026",description:"Header para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["header","navegación"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!1,example_value:"Pruébalo ya"},{name:"subdirectory",type:"text",label:"Subdirectorio",mandatory:!1,example_value:"/genia-l"},{name:"url",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"#"},{name:"categories",type:"list",label:"Ítems del menú (opcional, si no se pasa se usa el menú por defecto)",mandatory:!1,items:{type:"object",fields:[{name:"name",type:"text",label:"Texto del ítem"},{name:"link",type:"text",label:"URL del ítem"},{name:"target",type:"select",label:"Apertura del enlace",options:["_self","_blank"],options_labels:["Misma pestaña","Nueva pestaña"]}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Card_2025_Malta",category:"Contenido",name:"Contenido con imagen centrada Genial 2025",description:"Contenido con imagen para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","imagen","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2025_Alcorcon",category:"Contenido",name:"Contenido de vídeo Genial 2025",description:"Contenido de vídeo para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","video","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Hazlo ahora mismo"},{name:"subtitle",type:"text",label:"Texto del subtítulo",mandatory:!1,example_value:"Acaricia a tu gato"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Genera endorfinas"},{name:"txtBtn",type:"text",label:"Label del botón",mandatory:!1,example_value:"¡Miau!"},{name:"linkBtn",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://lefebvre.es"},{name:"alt",type:"text",label:"Texto alternativo del botón",mandatory:!1,example_value:"Texto alternativo del botón"},{name:"src",type:"image",label:"Imagen de fondo",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-3-4.png"},{name:"iframeSrc",type:"video",label:"URL del video",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://player.vimeo.com/video/1087114916?controls=0&amp;autoplay=1&amp;muted=1&amp;loop=1&amp;badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0},{name:"loading",type:"select",label:"Carga de la imagen",options:["lazy","eager"],options_labels:["Diferida","Inmediata"],example_value:"lazy"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Cordoba",category:"Contenido",name:"Contenido con icono grande Genial 2025",description:"Contenido con icono grande para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Item con un gran icono al principio"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Texto descriptivo del título que se alinea al centro"},{name:"tipo",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"bigIcon",type:"select",label:"Icono",options:["bigIA","bigIso1","bigIso2","bigGDPR","bigIso3"],options_labels:["IA","Iso1","Iso2","GDPR","Iso3"],example_value:"bigIso2"},{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"flexOrientationIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2025_Granada",category:"Contenido",name:"Contenido con icono Genial 2025",description:"Contenido con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Contenido sin imagen pero con un icono al principio"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Esta es una descripción de ejemplo para el contenido con icono en Granada 2025."},{name:"tipo",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"icon",type:"select",label:"Icono",options:["more","shop","correct","formation","case","medal"],options_labels:["Más","Tienda","Correcto","Formación","Caso","Medalla"],example_value:"more"},{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"flexOrientationIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"widthBlock",type:"select",label:"Tamaño del bloque",options:["lg:w-1/4 md:w-2/4","lg:w-1/3"],options_labels:["1/4","1/3"],example_value:"lg:w-1/4 md:w-2/4"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2025_Malaga",category:"Contenido",name:"Contenido con imagen izquierda o derecha Genial 2025",description:"Contenido con imagen para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","imagen","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Gatos esfinge"},{name:"subtitle",type:"text",label:"Texto del subtítulo",mandatory:!1,example_value:"Descubre el mundo de los gatos esfinge"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Comprende la maravillosa mente del gato esfinge y descubre por qué esta raza única ha capturado los corazones de amantes de los gatos en todo el mundo en Malaga 2025."},{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Descubre"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"image",type:"image",label:"Src de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"paddingLeft",type:"text",label:"Padding izquierdo (en px)",mandatory:!1,example_value:""},{name:"fontSize",type:"select",label:"Tamaño de fuente del texto",options:["sm","base","lg","xl"],options_labels:["Pequeño","Base","Grande","Extra grande"],example_value:"base"},{name:"alignItems",type:"select",label:"Alineación vertical de los elementos",options:["center","start","end"],options_labels:["Centro","Inicio","Fin"],example_value:"center"},{name:"h2Size",type:"select",label:"Tamaño del h2",options:["default","40px"],options_labels:["Por defecto (56px)","40px"],example_value:"default"},{name:"loading",type:"select",label:"Carga de la imagen",options:["lazy","eager"],options_labels:["Diferida","Inmediata"],example_value:"lazy"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0},{name:"linkBtn",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"#"},{name:"txtBtn",type:"text",label:"Texto del botón",mandatory:!1,example_value:"Descubre"},{name:"showBtnModal",type:"boolean",label:"Mostrar botón de modal",mandatory:!1,example_value:!1},{name:"txtBtnModal",type:"text",label:"Texto del botón de modal",mandatory:!1,example_value:"Más información"},{name:"imageModal",type:"image",label:"Imagen del modal",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"altModal",type:"text",label:"Alt de la imagen del modal",mandatory:!1,example_value:""},{name:"titleModal",type:"text",label:"Título del modal",mandatory:!1,example_value:""},{name:"descriptionModal",type:"text",label:"Descripción del modal",mandatory:!1,example_value:""},{name:"lf2FormTitle",type:"text",label:"Nombre del formulario LF2",mandatory:!1,example_value:""},{name:"showIco",type:"boolean",label:"Mostrar icono",mandatory:!1,example_value:!0},{name:"showImage",type:"boolean",label:"Mostrar imagen",mandatory:!1,example_value:!0},{name:"flexOrientation",type:"select",label:"Orientación del contenido",options:["row","col"],options_labels:["Fila","Columna"],example_value:"row"},{name:"orientation",type:"select",label:"Alineación del contenido",options:["left","right"],options_labels:["Izquierda","Derecha"],example_value:"left"},{name:"width",type:"select",label:"Ancho del contenido",options:["full","w-3/5"],options_labels:["Ancho completo","Ancho 3/5"],example_value:"full"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2025_Montevideo",category:"Contenido",name:"Contenido card con etiqueta Genial 2025",description:"Contenido card con imagen y etiqueta para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","card","imagen","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Elemento con una gran imagen encima"},{name:"altImage",type:"text",label:"Texto alternativo de la imagen",mandatory:!1,example_value:"Descripción de la imagen"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Esta es una descripción de ejemplo para el contenido card en Montevideo 2025."},{name:"link",type:"text",label:"Url del enlace",mandatory:!1,example_value:"https://lefebvre.es"},{name:"image",type:"image",label:"Src de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"tag",type:"text",label:"Etiqueta del contenido",mandatory:!1,example_value:"Lefebvre Preview"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2026_Leon",category:"Contenido",name:"Contenido de prueba Paco 2026",description:"Contenido de prueba Paco",framework:"Astro",priority:1,tags:["contenido","video","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2026_Mallorca",category:"Contenido",name:"Contenido con icono Genial 2026",description:"Contenido con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"positionBtnFlex",type:"select",label:"Posición del botón",options:["justify-center","justify-start"],options_labels:["Centrado","Principio"],example_value:"justify-center"},{name:"flexOrientationIcoText",type:"select",label:"Flex del icono del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"flexOrientationBlockIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"headingType",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"btnLabel",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0},{name:"items",type:"list",label:"Items de contenido",mandatory:!1,items:{type:"object",fields:[{name:"title",type:"text",label:"Título"},{name:"description",type:"textArea",label:"Descripción"},{name:"showBigIco",type:"boolean",label:"Mostrar icono grande"},{name:"bigIcon",type:"text",label:"Icono grande"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"CorpFooter",category:"Footer",name:"Footer Corporativo Lefebvre.es",description:"Footer marca 2025 Lefebvre.es",framework:"Astro",priority:1,tags:["footer","lefebvre.es"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"CorpHero",category:"Call to Action",name:"Hero Corporativo Lefebvre.es",description:"Hero marca 2025 Lefebvre.es",framework:"Astro",priority:1,tags:["hero","video","lefebvre.es"],fields:[{name:"text",type:"textArea",label:"Contenido HTML",mandatory:!1,example_value:"<p><b>Es más que una imagen renovada. Es una nueva forma de avanzar.</b><br />En Lefebvre evolucionamos contigo. Nos adaptamos a ti.</p>"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Enlace_2025_Venecia",category:"Texto",name:"Enlace Genial 2025",description:"Enlace para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["boton","genial"],fields:[{name:"text",type:"text",label:"Label del enlace",mandatory:!1,example_value:"Texto del enlace"},{name:"url",type:"text",label:"Enlace del enlace",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"target",type:"text",label:"Destino del enlace",mandatory:!1,example_value:"_blank"},{name:"icon",type:"text",label:"Icono del enlace",mandatory:!1,example_value:"icono-ejemplo"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Indice_2025_Taiwan",category:"Texto",name:"FAQ Genial 2025",description:"Índice para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Preguntas frecuentes"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"FooterCorporativo",category:"Footer",name:"Footer Corporativo",description:"Footer de prueba en Astro",framework:"Astro",priority:1,tags:["footer"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Footer_2025_Napoles",category:"Footer",name:"Footer Genial 2025",description:"Footer para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["footer","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Formulario_2025_Nara",category:"Formulario",name:"Formulario para Genial 2025",description:"Formulario para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Formulario_2025_Seul",category:"Formulario",name:"Formulario de Genial 2025",description:"Formulario para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","video","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Pruébalo ya"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Texto descriptivo del título"},{name:"imageSrc",type:"image",label:"Src de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-3-4.png"},{name:"lf2FormTitle",type:"text",label:"Título del formulario en LF2",mandatory:!1,example_value:"27925 Formulario Vamos Más Allá"},{name:"orientation",type:"select",label:"Orientación del contenido",options:["left","right"],options_labels:["Izquierda","Derecha"],example_value:"left"},{name:"showImage",type:"boolean",label:"Mostrar imagen",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Formulario_2025_Teruel",category:"Formulario",name:"Formulario en Popup Genial 2025",description:"Contenido en formato horizontal que abre un popup con formulario e imagen",framework:"Astro",priority:1,tags:["contenido","card","imagen","popup","genial"],fields:[{name:"orientation",label:"Orientación del contenido",mandatory:!1,example_value:"left",type:"select",options:["left","right"],options_labels:["Izquierda","Derecha"]},{name:"bottomBorder",type:"boolean",label:"Mostrar borde inferior",mandatory:!1,example_value:!0},{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Gatitos jueces: la nueva tendencia felina en los tribunales"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Una justicia más felina: el Tribunal Supremo nombra a su primer gato juez, revolucionando el sistema judicial con su aguda intuición y habilidades para resolver casos."},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!1},{name:"linkBtn",type:"text",label:"Url del enlace",mandatory:!1,example_value:"https://lefebvre.es"},{name:"lf2FormTitle",type:"text",label:"Título del formulario LF2",mandatory:!1,example_value:""},{name:"txtBtn",type:"text",label:"Texto del botón",mandatory:!1,example_value:"Saber más sobre los gatitos jueces"},{name:"showBtnModal",type:"boolean",label:"Mostrar botón modal",mandatory:!1,example_value:!0},{name:"titleModal",type:"text",label:"Texto del título modal",mandatory:!1,example_value:"Gatitos jueces: la nueva tendencia felina en los tribunales"},{name:"subtitleModal",type:"text",label:"Texto del subtítulo modal",mandatory:!1,example_value:""},{name:"descriptionModal",type:"text",label:"Texto de la descripción modal",mandatory:!1,example_value:""},{name:"imageModal",type:"image",label:"Src de la imagen modal",mandatory:!1,example_value:""},{name:"altModal",type:"text",label:"Alt de la imagen modal",mandatory:!1,example_value:""},{name:"txtBtnModal",type:"text",label:"Texto del botón modal",mandatory:!1,example_value:"Abrir Popup"},{name:"imageSrc",type:"image",label:"Src de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"GeometricShapeCard",category:"Imagen",name:"Tarjeta con figura geométrica",description:"Tarjeta con figura geométrica y botón de leer más.",framework:"Astro",tags:["card","interactivo"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Título de la tarjeta"},{name:"mainContent",type:"textArea",label:"Contenido principal (HTML)",mandatory:!0,example_value:"<p>Este es el <b>contenido</b> principal.</p>"},{name:"secondaryContent",type:"textArea",label:"Contenido secundario (HTML) que aparece al leer más",mandatory:!1,example_value:"<p>Este es el contenido secundario.</p>"},{name:"imageSrc",type:"image",label:"URL de la imagen",mandatory:!0,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"figure",type:"select",label:"Tipo de figura",options:["Trapeze","Trapeze2","Leaf","Sphere"],options_labels:["Trapecio","Trapecio II","Hoja de parra","Esfera"],example_value:"Trapeze"},{name:"orientation",type:"select",label:"Orientación de la figura",options:["right","left"],options_labels:["Derecha","Izquierda"],example_value:"right"},{name:"gradiantIndex",type:"select",label:"Gradiante",options:[0,1,2,3,4],options_labels:["Lefebvre España","Lefebvre Sarrut","Lefebvre Italia","Lefebvre Toovalu","Bandera de España"],example_value:0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"HeaderCorporativo",category:"Cabecera",name:"Header Corporativo",description:"Header de prueba en Astro",framework:"Astro",priority:1,tags:["header","navegación"],fields:[{name:"logo",type:"text",label:"URL del logo",mandatory:!1,example_value:"https://espacioasesoria.com/wp-content/themes/lf-espacioasesoria-theme/src/images/logo-espacio-asesoria.png"},{name:"alt",type:"text",label:"Texto alternativo",mandatory:!1,example_value:"https://lefebvre.es"},{name:"showLefebvreLogo",type:"boolean",label:"Mostrar logo de Lefebvre",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Hero_2025_Benidorm",category:"Contenido",name:"Imagen y/o Contenido Genial 2025",description:"Imagen y/o Contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["banner","imagen","contenido","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Nuevo gato juez del Tribunal Supremo"},{name:"image",type:"image",label:"Imagen de fondo",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"date",type:"text",label:"Fecha",mandatory:!1,example_value:"2025-01-01"},{name:"imageAuthor",type:"image",label:"Autor de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"imageAuthorAlt",type:"text",label:"Texto alternativo del autor de la imagen",mandatory:!1,example_value:"Texto alternativo del autor de la imagen"},{name:"enriquecido",type:"boolean",label:"Enriquecido",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"ImageTextSimple",category:"Imagen",name:"Contenido con imagen/video simple",description:"Contenido con imagen/video simple, título y texto",framework:"Astro",tags:["card","interactivo","lefebvre.es"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Soluciones felinas para un mundo mejor"},{name:"description",type:"textArea",label:"Contenido principal (HTML)",mandatory:!0,example_value:`<p>En Lefebvre buscamos ofrecer a nuestros gatos una <b>vida mejor</b>.
30
+ **/let Z8;const _k=typeof window<"u"&&window.trustedTypes;if(_k)try{Z8=_k.createPolicy("vue",{createHTML:t=>t})}catch{}const Rk=Z8?t=>Z8.createHTML(t):t=>t,mH="http://www.w3.org/2000/svg",bH="http://www.w3.org/1998/Math/MathML",x0=typeof document<"u"?document:null,Qk=x0&&x0.createElement("template"),Ik={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e==="svg"?x0.createElementNS(mH,t):e==="mathml"?x0.createElementNS(bH,t):n?x0.createElement(t,{is:n}):x0.createElement(t);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>x0.createTextNode(t),createComment:t=>x0.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>x0.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const l=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Qk.innerHTML=Rk(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=Qk.content;if(r==="svg"||r==="mathml"){const s=a.firstChild;for(;s.firstChild;)a.appendChild(s.firstChild);a.removeChild(s)}e.insertBefore(a,n)}return[l?l.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Ts="transition",nh="animation",Ad=Symbol("_vtc"),Dk={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},zk=Os({},c8,Dk),gH=(t=>(t.displayName="Transition",t.props=zk,t))((t,{slots:e})=>j8(TS,Zk(t),e)),a1=(t,e=[])=>{Wi(t)?t.forEach(n=>n(...e)):t&&t(...e)},Vk=t=>t?Wi(t)?t.some(e=>e.length>1):t.length>1:!1;function Zk(t){const e={};for(const q in t)q in Dk||(e[q]=t[q]);if(t.css===!1)return e;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:s=i,appearActiveClass:u=l,appearToClass:p=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:b=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,C=vH(o),k=C&&C[0],T=C&&C[1],{onBeforeEnter:P,onEnter:S,onEnterCancelled:A,onLeave:I,onLeaveCancelled:z,onBeforeAppear:U=P,onAppear:Y=S,onAppearCancelled:re=A}=e,F=(q,ce,ge,Be)=>{q._enterCancelled=Be,Es(q,ce?p:a),Es(q,ce?u:l),ge&&ge()},H=(q,ce)=>{q._isLeaving=!1,Es(q,h),Es(q,g),Es(q,b),ce&&ce()},ne=q=>(ce,ge)=>{const Be=q?Y:S,be=()=>F(ce,q,ge);a1(Be,[ce,be]),Bk(()=>{Es(ce,q?s:i),Ma(ce,q?p:a),Vk(Be)||Fk(ce,r,k,be)})};return Os(e,{onBeforeEnter(q){a1(P,[q]),Ma(q,i),Ma(q,l)},onBeforeAppear(q){a1(U,[q]),Ma(q,s),Ma(q,u)},onEnter:ne(!1),onAppear:ne(!0),onLeave(q,ce){q._isLeaving=!0;const ge=()=>H(q,ce);Ma(q,h),q._enterCancelled?(Ma(q,b),F8(q)):(F8(q),Ma(q,b)),Bk(()=>{q._isLeaving&&(Es(q,h),Ma(q,g),Vk(I)||Fk(q,r,T,ge))}),a1(I,[q,ge])},onEnterCancelled(q){F(q,!1,void 0,!0),a1(A,[q])},onAppearCancelled(q){F(q,!0,void 0,!0),a1(re,[q])},onLeaveCancelled(q){H(q),a1(z,[q])}})}function vH(t){if(t==null)return null;if(Q8(t))return[B8(t.enter),B8(t.leave)];{const e=B8(t);return[e,e]}}function B8(t){return V8(t)}function Ma(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Ad]||(t[Ad]=new Set)).add(e)}function Es(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[Ad];n&&(n.delete(e),n.size||(t[Ad]=void 0))}function Bk(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let yH=0;function Fk(t,e,n,r){const o=t._endId=++yH,i=()=>{o===t._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:l,timeout:a,propCount:s}=Hk(t,e);if(!l)return r();const u=l+"end";let p=0;const h=()=>{t.removeEventListener(u,b),i()},b=g=>{g.target===t&&++p>=s&&h()};setTimeout(()=>{p<s&&h()},a+1),t.addEventListener(u,b)}function Hk(t,e){const n=window.getComputedStyle(t),r=C=>(n[C]||"").split(", "),o=r(`${Ts}Delay`),i=r(`${Ts}Duration`),l=Xk(o,i),a=r(`${nh}Delay`),s=r(`${nh}Duration`),u=Xk(a,s);let p=null,h=0,b=0;e===Ts?l>0&&(p=Ts,h=l,b=i.length):e===nh?u>0&&(p=nh,h=u,b=s.length):(h=Math.max(l,u),p=h>0?l>u?Ts:nh:null,b=p?p===Ts?i.length:s.length:0);const g=p===Ts&&/\b(?:transform|all)(?:,|$)/.test(r(`${Ts}Property`).toString());return{type:p,timeout:h,propCount:b,hasTransform:g}}function Xk(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>Uk(n)+Uk(t[r])))}function Uk(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function F8(t){return(t?t.ownerDocument:document).body.offsetHeight}function CH(t,e,n){const r=t[Ad];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const _5=Symbol("_vod"),Wk=Symbol("_vsh"),rh={name:"show",beforeMount(t,{value:e},{transition:n}){t[_5]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):oh(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),oh(t,!0),r.enter(t)):r.leave(t,()=>{oh(t,!1)}):oh(t,e))},beforeUnmount(t,{value:e}){oh(t,e)}};function oh(t,e){t.style.display=e?t[_5]:"none",t[Wk]=!e}function xH(){rh.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const Gk=Symbol("");function wH(t){const e=Mi();if(!e)return;const n=e.ut=(o=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>R5(i,o))},r=()=>{const o=t(e.proxy);e.ce?R5(e.ce,o):H8(e.subTree,o),n(o)};h8(()=>{Rp(r)}),Wl(()=>{Ta(r,nH,{flush:"post"});const o=new MutationObserver(r);o.observe(e.subTree.el.parentNode,{childList:!0}),t1(()=>o.disconnect())})}function H8(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{H8(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)R5(t.el,e);else if(t.type===hn)t.children.forEach(n=>H8(n,e));else if(t.type===o1){let{el:n,anchor:r}=t;for(;n&&(R5(n,e),n!==r);)n=n.nextSibling}}function R5(t,e){if(t.nodeType===1){const n=t.style;let r="";for(const o in e){const i=fH(e[o]);n.setProperty(`--${o}`,i),r+=`--${o}: ${i};`}n[Gk]=r}}const OH=/(?:^|;)\s*display\s*:/;function SH(t,e,n){const r=t.style,o=Ld(n);let i=!1;if(n&&!o){if(e)if(Ld(e))for(const l of e.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Q5(r,a,"")}else for(const l in e)n[l]==null&&Q5(r,l,"");for(const l in n)l==="display"&&(i=!0),Q5(r,l,n[l])}else if(o){if(e!==n){const l=r[Gk];l&&(n+=";"+l),r.cssText=n,i=OH.test(n)}}else e&&t.removeAttribute("style");_5 in t&&(t[_5]=i?r.display:"",t[Wk]&&(r.display="none"))}const qk=/\s*!important$/;function Q5(t,e,n){if(Wi(n))n.forEach(r=>Q5(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=kH(t,e);qk.test(n)?t.setProperty(Ss(r),n.replace(qk,""),"important"):t[r]=n}}const Yk=["Webkit","Moz","ms"],X8={};function kH(t,e){const n=X8[e];if(n)return n;let r=Ui(e);if(r!=="filter"&&r in t)return X8[e]=r;r=dH(r);for(let o=0;o<Yk.length;o++){const i=Yk[o]+r;if(i in t)return X8[e]=i}return e}const Kk="http://www.w3.org/1999/xlink";function Jk(t,e,n,r,o,i=pH(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(Kk,e.slice(6,e.length)):t.setAttributeNS(Kk,e,n):n==null||i&&!jk(n)?t.removeAttribute(e):t.setAttribute(e,i?"":R8(n)?String(n):n)}function eT(t,e,n,r,o){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?Rk(n):n);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?t.getAttribute("value")||"":t.value,s=n==null?t.type==="checkbox"?"on":"":String(n);(a!==s||!("_value"in t))&&(t.value=s),n==null&&t.removeAttribute(e),t._value=n;return}let l=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=jk(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(o||e)}function w0(t,e,n,r){t.addEventListener(e,n,r)}function TH(t,e,n,r){t.removeEventListener(e,n,r)}const tT=Symbol("_vei");function EH(t,e,n,r,o=null){const i=t[tT]||(t[tT]={}),l=i[e];if(r&&l)l.value=r;else{const[a,s]=$H(e);if(r){const u=i[e]=LH(r,o);w0(t,a,u,s)}else l&&(TH(t,a,l,s),i[e]=void 0)}}const nT=/(?:Once|Passive|Capture)$/;function $H(t){let e;if(nT.test(t)){e={};let r;for(;r=t.match(nT);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Ss(t.slice(2)),e]}let U8=0;const MH=Promise.resolve(),PH=()=>U8||(MH.then(()=>U8=0),U8=Date.now());function LH(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bl(AH(r,n.value),e,5,[r])};return n.value=t,n.attached=PH(),n}function AH(t,e){if(Wi(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const rT=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,oT=(t,e,n,r,o,i)=>{const l=o==="svg";e==="class"?CH(t,r,l):e==="style"?SH(t,n,r):rH(e)?oH(e)||EH(t,e,n,r,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):NH(t,e,r,l))?(eT(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Jk(t,e,r,l,i,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Ld(r))?eT(t,N5(e),r,i,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Jk(t,e,r,l))};function NH(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&rT(e)&&Ak(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=t.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return rT(e)&&Ld(n)?!1:e in t}const iT={};function lT(t,e,n){let r=Ti(t,e);Nk(r)&&(r=Os({},r,e));class o extends I5{constructor(l){super(r,l,n)}}return o.def=r,o}const jH=((t,e)=>lT(t,e,ST)),_H=typeof HTMLElement<"u"?HTMLElement:class{};class I5 extends _H{constructor(e,n={},r=Z5){super(),this._def=e,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==Z5?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(Os({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof I5){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,e1(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const n of e)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const e=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:l}=r;let a;if(i&&!Wi(i))for(const s in i){const u=i[s];(u===Number||u&&u.type===Number)&&(s in this._props&&(this._props[s]=V8(this._props[s])),(a||(a=Object.create(null)))[N5(s)]=!0)}this._numberProps=a,this._resolveProps(r),this.shadowRoot&&this._applyStyles(l),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,e(this._def=r,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)lH(this,r)||Object.defineProperty(this,r,{get:()=>c2(n[r])})}_resolveProps(e){const{props:n}=e,r=Wi(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(N5))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let r=n?this.getAttribute(e):iT;const o=N5(e);n&&this._numberProps&&this._numberProps[o]&&(r=V8(r)),this._setProp(o,r,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,n,r=!0,o=!1){if(n!==this._props[e]&&(this._dirty=!0,n===iT?delete this._props[e]:(this._props[e]=n,e==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(Ss(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ss(e),n+""):n||this.removeAttribute(Ss(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),OT(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=cr(this._def,Os(e,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(i,l)=>{this.dispatchEvent(new CustomEvent(i,Nk(l[0])?Os({detail:l},l[0]):{detail:l}))};r.emit=(i,...l)=>{o(i,l),Ss(i)!==i&&o(Ss(i),l)},this._setParent()}),n}_applyStyles(e,n){if(!e)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=e.length-1;o>=0;o--){const i=document.createElement("style");r&&i.setAttribute("nonce",r),i.textContent=e[o],this.shadowRoot.prepend(i)}}_parseSlots(){const e=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(e[r]||(e[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const e=this._getSlots(),n=this._instance.type.__scopeId;for(let r=0;r<e.length;r++){const o=e[r],i=o.getAttribute("name")||"default",l=this._slots[i],a=o.parentNode;if(l)for(const s of l){if(n&&s.nodeType===1){const u=n+"-s",p=document.createTreeWalker(s,1);s.setAttribute(u,"");let h;for(;h=p.nextNode();)h.setAttribute(u,"")}a.insertBefore(s,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const n=new Set;for(const r of e){const o=r.querySelectorAll("slot");for(let i=0;i<o.length;i++)n.add(o[i])}return Array.from(n)}_injectChildStyle(e){this._applyStyles(e.styles,e)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}}function aT(t){const e=Mi(),n=e&&e.ce;return n||null}function RH(){const t=aT();return t&&t.shadowRoot}function QH(t="$style"){{const e=Mi();if(!e)return _8;const n=e.type.__cssModules;if(!n)return _8;const r=n[t];return r||_8}}const sT=new WeakMap,cT=new WeakMap,D5=Symbol("_moveCb"),dT=Symbol("_enterCb"),IH=(t=>(delete t.props.mode,t))({name:"TransitionGroup",props:Os({},zk,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Mi(),r=s8();let o,i;return Xp(()=>{if(!o.length)return;const l=t.moveClass||`${t.name||"v"}-move`;if(!ZH(o[0].el,n.vnode.el,l)){o=[];return}o.forEach(DH),o.forEach(zH);const a=o.filter(VH);F8(n.vnode.el),a.forEach(s=>{const u=s.el,p=u.style;Ma(u,l),p.transform=p.webkitTransform=p.transitionDuration="";const h=u[D5]=b=>{b&&b.target!==u||(!b||b.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",h),u[D5]=null,Es(u,l))};u.addEventListener("transitionend",h)}),o=[]}),()=>{const l=hr(t),a=Zk(l);let s=l.tag||hn;if(o=[],i)for(let u=0;u<i.length;u++){const p=i[u];p.el&&p.el instanceof Element&&(o.push(p),m0(p,kd(p,a,r,n)),sT.set(p,uT(p.el)))}i=e.default?b5(e.default()):[];for(let u=0;u<i.length;u++){const p=i[u];p.key!=null&&m0(p,kd(p,a,r,n))}return cr(s,null,i)}}});function DH(t){const e=t.el;e[D5]&&e[D5](),e[dT]&&e[dT]()}function zH(t){cT.set(t,uT(t.el))}function VH(t){const e=sT.get(t),n=cT.get(t),r=e.left-n.left,o=e.top-n.top;if(r||o){const i=t.el,l=i.style,a=i.getBoundingClientRect();let s=1,u=1;return i.offsetWidth&&(s=a.width/i.offsetWidth),i.offsetHeight&&(u=a.height/i.offsetHeight),(!Number.isFinite(s)||s===0)&&(s=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(s-1)<.01&&(s=1),Math.abs(u-1)<.01&&(u=1),l.transform=l.webkitTransform=`translate(${r/s}px,${o/u}px)`,l.transitionDuration="0s",t}}function uT(t){const e=t.getBoundingClientRect();return{left:e.left,top:e.top}}function ZH(t,e,n){const r=t.cloneNode(),o=t[Ad];o&&o.forEach(a=>{a.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=e.nodeType===1?e:e.parentNode;i.appendChild(r);const{hasTransform:l}=Hk(r);return i.removeChild(r),l}const $s=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Wi(e)?n=>uH(e,n):e};function BH(t){t.target.composing=!0}function pT(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const vl=Symbol("_assign");function hT(t,e,n){return e&&(t=t.trim()),n&&(t=z8(t)),t}const ql={created(t,{modifiers:{lazy:e,trim:n,number:r}},o){t[vl]=$s(o);const i=r||o.props&&o.props.type==="number";w0(t,e?"change":"input",l=>{l.target.composing||t[vl](hT(t.value,n,i))}),(n||i)&&w0(t,"change",()=>{t.value=hT(t.value,n,i)}),e||(w0(t,"compositionstart",BH),w0(t,"compositionend",pT),w0(t,"change",pT))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},l){if(t[vl]=$s(l),t.composing)return;const a=(i||t.type==="number")&&!/^0\d/.test(t.value)?z8(t.value):t.value,s=e??"";a!==s&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||o&&t.value.trim()===s)||(t.value=s))}},ih={deep:!0,created(t,e,n){t[vl]=$s(n),w0(t,"change",()=>{const r=t._modelValue,o=Nd(t),i=t.checked,l=t[vl];if(Wi(r)){const a=j5(r,o),s=a!==-1;if(i&&!s)l(r.concat(o));else if(!i&&s){const u=[...r];u.splice(a,1),l(u)}}else if(th(r)){const a=new Set(r);i?a.add(o):a.delete(o),l(a)}else l(bT(t,i))})},mounted:fT,beforeUpdate(t,e,n){t[vl]=$s(n),fT(t,e,n)}};function fT(t,{value:e,oldValue:n},r){t._modelValue=e;let o;if(Wi(e))o=j5(e,r.props.value)>-1;else if(th(e))o=e.has(r.props.value);else{if(e===n)return;o=ks(e,bT(t,!0))}t.checked!==o&&(t.checked=o)}const lh={created(t,{value:e},n){t.checked=ks(e,n.props.value),t[vl]=$s(n),w0(t,"change",()=>{t[vl](Nd(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[vl]=$s(r),e!==n&&(t.checked=ks(e,r.props.value))}},Gi={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const o=th(e);w0(t,"change",()=>{const i=Array.prototype.filter.call(t.options,l=>l.selected).map(l=>n?z8(Nd(l)):Nd(l));t[vl](t.multiple?o?new Set(i):i:i[0]),t._assigning=!0,e1(()=>{t._assigning=!1})}),t[vl]=$s(r)},mounted(t,{value:e}){mT(t,e)},beforeUpdate(t,e,n){t[vl]=$s(n)},updated(t,{value:e}){t._assigning||mT(t,e)}};function mT(t,e){const n=t.multiple,r=Wi(e);if(!(n&&!r&&!th(e))){for(let o=0,i=t.options.length;o<i;o++){const l=t.options[o],a=Nd(l);if(n)if(r){const s=typeof a;s==="string"||s==="number"?l.selected=e.some(u=>String(u)===String(a)):l.selected=j5(e,a)>-1}else l.selected=e.has(a);else if(ks(Nd(l),e)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Nd(t){return"_value"in t?t._value:t.value}function bT(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const gT={created(t,e,n){z5(t,e,n,null,"created")},mounted(t,e,n){z5(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){z5(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){z5(t,e,n,r,"updated")}};function vT(t,e){switch(t){case"SELECT":return Gi;case"TEXTAREA":return ql;default:switch(e){case"checkbox":return ih;case"radio":return lh;default:return ql}}}function z5(t,e,n,r,o){const l=vT(t.tagName,n.props&&n.props.type)[o];l&&l(t,e,n,r)}function FH(){ql.getSSRProps=({value:t})=>({value:t}),lh.getSSRProps=({value:t},e)=>{if(e.props&&ks(e.props.value,t))return{checked:!0}},ih.getSSRProps=({value:t},e)=>{if(Wi(t)){if(e.props&&j5(t,e.props.value)>-1)return{checked:!0}}else if(th(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},gT.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=vT(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const HH=["ctrl","shift","alt","meta"],XH={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>HH.some(n=>t[`${n}Key`]&&!e.includes(n))},V5=(t,e)=>{if(!t)return t;const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=((o,...i)=>{for(let l=0;l<e.length;l++){const a=XH[e[l]];if(a&&a(o,e))return}return t(o,...i)}))},UH={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},WH=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const i=Ss(o.key);if(e.some(l=>l===i||UH[l]===i))return t(o)}))},yT=Os({patchProp:oT},Ik);let ah,CT=!1;function xT(){return ah||(ah=sk(yT))}function wT(){return ah=CT?ah:ck(yT),CT=!0,ah}const OT=((...t)=>{xT().render(...t)}),GH=((...t)=>{wT().hydrate(...t)}),Z5=((...t)=>{const e=xT().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=TT(r);if(!o)return;const i=e._component;!Ak(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const l=n(o,!1,kT(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},e}),ST=((...t)=>{const e=wT().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=TT(r);if(o)return n(o,!0,kT(o))},e});function kT(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function TT(t){return Ld(t)?document.querySelector(t):t}let ET=!1;const qH=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:TS,BaseTransitionPropsValidators:c8,Comment:Do,DeprecationTypes:eH,EffectScope:B7,ErrorCodes:dB,ErrorTypeStrings:WF,Fragment:hn,KeepAlive:IB,ReactiveEffect:kp,Static:o1,Suspense:$F,Teleport:OS,Text:ws,TrackOpTypes:RZ,Transition:gH,TransitionGroup:IH,TriggerOpTypes:QZ,VueElement:I5,assertNumber:cB,callWithAsyncErrorHandling:bl,callWithErrorHandling:Kc,camelize:Ui,capitalize:s5,cloneVNode:$a,compatUtils:JF,computed:E2,createApp:Z5,createBlock:v0,createCommentVNode:wn,createElementBlock:ke,createElementVNode:B,createHydrationRenderer:ck,createPropsRestProxy:iF,createRenderer:sk,createSSRApp:ST,createSlots:FB,createStaticVNode:xk,createTextVNode:kr,createVNode:cr,customRef:WO,defineAsyncComponent:QB,defineComponent:Ti,defineCustomElement:lT,defineEmits:GB,defineExpose:qB,defineModel:JB,defineOptions:YB,defineProps:WB,defineSSRCustomElement:jH,defineSlots:KB,devtools:GF,effect:oZ,effectScope:tZ,getCurrentInstance:Mi,getCurrentScope:EO,getCurrentWatcher:IZ,getTransitionRawChildren:b5,guardReactiveProps:Ck,h:j8,handleError:Jc,hasInjectionContext:gB,hydrate:GH,hydrateOnIdle:LB,hydrateOnInteraction:_B,hydrateOnMediaQuery:jB,hydrateOnVisible:NB,initCustomFormatter:HF,initDirectivesForSSR:()=>{ET||(ET=!0,FH(),xH())},inject:zp,isMemoSame:Mk,isProxy:Lp,isReactive:h0,isReadonly:wa,isRef:Ro,isRuntimeOnly:zF,isShallow:ki,isVNode:y0,markRaw:XO,mergeDefaults:rF,mergeModels:oF,mergeProps:wk,nextTick:e1,nodeOps:Ik,normalizeClass:oo,normalizeProps:tB,normalizeStyle:qc,onActivated:NS,onBeforeMount:RS,onBeforeUnmount:Up,onBeforeUpdate:h8,onDeactivated:jS,onErrorCaptured:zS,onMounted:Wl,onRenderTracked:DS,onRenderTriggered:IS,onScopeDispose:nZ,onServerPrefetch:QS,onUnmounted:t1,onUpdated:Xp,onWatcherCleanup:qO,openBlock:Oe,patchProp:oT,popScopeId:mB,provide:pS,proxyRefs:e8,pushScopeId:fB,queuePostFlushCb:Rp,reactive:vd,readonly:n5,ref:mn,registerRuntimeCompiler:DF,render:OT,renderList:Vr,renderSlot:HB,resolveComponent:VB,resolveDirective:BB,resolveDynamicComponent:ZB,resolveFilter:KF,resolveTransitionHooks:kd,setBlockTracking:Jp,setDevtoolsHook:qF,setTransitionHooks:m0,shallowReactive:HO,shallowReadonly:SZ,shallowRef:J7,ssrContextKey:hS,ssrUtils:YF,stop:iZ,toDisplayString:Gt,toHandlerKey:jp,toHandlers:XB,toRaw:hr,toRef:NZ,toRefs:PZ,toValue:EZ,transformVNodeArgs:jF,triggerRef:TZ,unref:c2,useAttrs:nF,useCssModule:QH,useCssVars:wH,useHost:aT,useId:OB,useModel:fF,useSSRContext:fS,useShadowRoot:RH,useSlots:tF,useTemplateRef:SB,useTransitionState:s8,vModelCheckbox:ih,vModelDynamic:gT,vModelRadio:lh,vModelSelect:Gi,vModelText:ql,vShow:rh,version:Pk,warn:UF,watch:Ta,watchEffect:vB,watchPostEffect:yB,watchSyncEffect:mS,withAsyncContext:lF,withCtx:Dp,withDefaults:eF,withDirectives:Gr,withKeys:WH,withMemo:XF,withModifiers:V5,withScopeId:bB},Symbol.toStringTag,{value:"Module"})),YH=[{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Button",category:"Call to Action",name:"Botón en Astro",description:"Botón de prueba en Astro",framework:"Astro",priority:1,tags:["boton","interactivo","ejemplo"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!0,example_value:"Botón en Astro"},{name:"href",type:"text",label:"Url de destino",mandatory:!0,example_value:"https://lefebvre.es"},{name:"target",type:"text",label:"Indicar si se abre en la misma ventana o en una nueva (_blank)",mandatory:!1,example_value:"_blank"}],repeat_data:null}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Author_2025_Algarve",category:"Contenido",name:"Contenido con imagen a la izquierda Genial 2025",description:"Contenido con imagen para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","imagen","genial"],fields:[{name:"nameAuthor",type:"text",label:"Nombre del autor",mandatory:!1,example_value:"Gatos esfinge"},{name:"descriptionAuthor",type:"text",label:"Descripción del autor",mandatory:!1,example_value:"Comprende la maravillosa mente del gato esfinge y descubre por qué esta raza única ha capturado los corazones de amantes de los gatos en todo el mundo en Algarve 2025."},{name:"imageAuthor",type:"image",label:"Src de la imagen del autor",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"imageAuthorAlt",type:"text",label:"Alt de la imagen del autor",mandatory:!1,example_value:"Imagen del autor"},{name:"minutes",type:"text",label:"Minutos de lectura",mandatory:!1,example_value:"20"},{name:"borderRadius",type:"text",label:"Border radius de la imagen (ej: full, lg, [48px])",mandatory:!1,example_value:""},{name:"full",type:"boolean",label:"Imagen a ancho completo",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"CTA_2025_Formentera",category:"Call to Action",name:"Botón primario Genial 2025",description:"Botón primario para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["boton","genial"],fields:[{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"frontColor",type:"text",label:"Color frontal",mandatory:!1,example_value:"white"},{name:"backColor",type:"text",label:"Color de fondo",mandatory:!1,example_value:"#2134F1"},{name:"borderColor",type:"text",label:"Color del borde",mandatory:!1,example_value:"#2134F1"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Cabecera_2025_Barcelona",category:"Cabecera",name:"Breadcrumb Genial 2025",description:"Breadcrumb para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["breadcrumb","genial"],fields:[{name:"text",type:"text",label:"Texto del breadcrumb",mandatory:!1,example_value:"Test"},{name:"subdirectory",type:"text",label:"Subdirectorio",mandatory:!1,example_value:"/genia-l"},{name:"link",type:"text",label:"Enlace del breadcrumb",mandatory:!1,example_value:"#"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Cabecera_2025_Madrid",category:"Cabecera",name:"Header Genial 2025",description:"Header para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["header","navegación"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!1,example_value:"Pruébalo ya"},{name:"subdirectory",type:"text",label:"Subdirectorio",mandatory:!1,example_value:"/genia-l"},{name:"url",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"#"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Cabecera_2026_Madrid",category:"Cabecera",name:"Header Genial 2026",description:"Header para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["header","navegación"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!1,example_value:"Pruébalo ya"},{name:"subdirectory",type:"text",label:"Subdirectorio",mandatory:!1,example_value:"/genia-l"},{name:"url",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"#"},{name:"categories",type:"list",label:"Ítems del menú (opcional, si no se pasa se usa el menú por defecto)",mandatory:!1,items:{type:"object",fields:[{name:"name",type:"text",label:"Texto del ítem"},{name:"link",type:"text",label:"URL del ítem"},{name:"target",type:"select",label:"Apertura del enlace",options:["_self","_blank"],options_labels:["Misma pestaña","Nueva pestaña"]}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Card_2025_Malta",category:"Contenido",name:"Contenido con imagen centrada Genial 2025",description:"Contenido con imagen para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","imagen","genial"],fields:[{name:"items",type:"list",label:"Listado de cards",mandatory:!1,items:{type:"object",fields:[{name:"title",type:"text",label:"Texto del título"},{name:"link",type:"text",label:"URL de enlace"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2025_Alcorcon",category:"Contenido",name:"Contenido de vídeo Genial 2025",description:"Contenido de vídeo para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","video","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Hazlo ahora mismo"},{name:"subtitle",type:"text",label:"Texto del subtítulo",mandatory:!1,example_value:"Acaricia a tu gato"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Genera endorfinas"},{name:"txtBtn",type:"text",label:"Label del botón",mandatory:!1,example_value:"¡Miau!"},{name:"linkBtn",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://lefebvre.es"},{name:"alt",type:"text",label:"Texto alternativo del botón",mandatory:!1,example_value:"Texto alternativo del botón"},{name:"src",type:"image",label:"Imagen de fondo",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-3-4.png"},{name:"iframeSrc",type:"video",label:"URL del video",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://player.vimeo.com/video/1087114916?controls=0&amp;autoplay=1&amp;muted=1&amp;loop=1&amp;badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0},{name:"loading",type:"select",label:"Carga de la imagen",options:["lazy","eager"],options_labels:["Diferida","Inmediata"],example_value:"lazy"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Cordoba",category:"Contenido",name:"Contenido con icono grande Genial 2025",description:"Contenido con icono grande para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Item con un gran icono al principio"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Texto descriptivo del título que se alinea al centro"},{name:"tipo",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"bigIcon",type:"select",label:"Icono",options:["bigIA","bigIso1","bigIso2","bigGDPR","bigIso3"],options_labels:["IA","Iso1","Iso2","GDPR","Iso3"],example_value:"bigIso2"},{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"flexOrientationIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2025_Granada",category:"Contenido",name:"Contenido con icono Genial 2025",description:"Contenido con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Contenido sin imagen pero con un icono al principio"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Esta es una descripción de ejemplo para el contenido con icono en Granada 2025."},{name:"tipo",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"showIco",type:"boolean",label:"Mostrar icono",mandatory:!1,example_value:!0},{name:"icon",type:"select",label:"Icono",options:["more","shop","correct","formation","case","medal"],options_labels:["Más","Tienda","Correcto","Formación","Caso","Medalla"],example_value:"more"},{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"flexOrientationIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"widthBlock",type:"select",label:"Tamaño del bloque",options:["lg:w-1/4 md:w-2/4","lg:w-1/3"],options_labels:["1/4","1/3"],example_value:"lg:w-1/4 md:w-2/4"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2025_Malaga",category:"Contenido",name:"Contenido con imagen izquierda o derecha Genial 2025",description:"Contenido con imagen para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","imagen","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Gatos esfinge"},{name:"subtitle",type:"text",label:"Texto del subtítulo",mandatory:!1,example_value:"Descubre el mundo de los gatos esfinge"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Comprende la maravillosa mente del gato esfinge y descubre por qué esta raza única ha capturado los corazones de amantes de los gatos en todo el mundo en Malaga 2025."},{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Descubre"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"image",type:"image",label:"Src de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"paddingLeft",type:"text",label:"Padding izquierdo (en px)",mandatory:!1,example_value:""},{name:"fontSize",type:"select",label:"Tamaño de fuente del texto",options:["sm","base","lg","xl"],options_labels:["Pequeño","Base","Grande","Extra grande"],example_value:"base"},{name:"alignItems",type:"select",label:"Alineación vertical de los elementos",options:["center","start","end"],options_labels:["Centro","Inicio","Fin"],example_value:"center"},{name:"h2Size",type:"select",label:"Tamaño del h2",options:["default","40px"],options_labels:["Por defecto (56px)","40px"],example_value:"default"},{name:"loading",type:"select",label:"Carga de la imagen",options:["lazy","eager"],options_labels:["Diferida","Inmediata"],example_value:"lazy"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0},{name:"linkBtn",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"#"},{name:"txtBtn",type:"text",label:"Texto del botón",mandatory:!1,example_value:"Descubre"},{name:"showBtnModal",type:"boolean",label:"Mostrar botón de modal",mandatory:!1,example_value:!1},{name:"txtBtnModal",type:"text",label:"Texto del botón de modal",mandatory:!1,example_value:"Más información"},{name:"imageModal",type:"image",label:"Imagen del modal",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"altModal",type:"text",label:"Alt de la imagen del modal",mandatory:!1,example_value:""},{name:"titleModal",type:"text",label:"Título del modal",mandatory:!1,example_value:""},{name:"descriptionModal",type:"text",label:"Descripción del modal",mandatory:!1,example_value:""},{name:"lf2FormTitle",type:"text",label:"Nombre del formulario LF2",mandatory:!1,example_value:""},{name:"showIco",type:"boolean",label:"Mostrar icono",mandatory:!1,example_value:!0},{name:"showImage",type:"boolean",label:"Mostrar imagen",mandatory:!1,example_value:!0},{name:"flexOrientation",type:"select",label:"Orientación del contenido",options:["row","col"],options_labels:["Fila","Columna"],example_value:"row"},{name:"orientation",type:"select",label:"Alineación del contenido",options:["left","right"],options_labels:["Izquierda","Derecha"],example_value:"left"},{name:"width",type:"select",label:"Ancho del contenido",options:["full","w-3/5"],options_labels:["Ancho completo","Ancho 3/5"],example_value:"full"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2025_Montevideo",category:"Contenido",name:"Contenido card con etiqueta Genial 2025",description:"Contenido card con imagen y etiqueta para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","card","imagen","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Elemento con una gran imagen encima"},{name:"altImage",type:"text",label:"Texto alternativo de la imagen",mandatory:!1,example_value:"Descripción de la imagen"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Esta es una descripción de ejemplo para el contenido card en Montevideo 2025."},{name:"link",type:"text",label:"Url del enlace",mandatory:!1,example_value:"https://lefebvre.es"},{name:"image",type:"image",label:"Src de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"tag",type:"text",label:"Etiqueta del contenido",mandatory:!1,example_value:"Lefebvre Preview"},{name:"author",type:"text",label:"Nombre del autor",mandatory:!1,example_value:"Juan Pérez"},{name:"authorURL",type:"text",label:"URL del perfil del autor",mandatory:!1,example_value:"https://facebook.com/usuario"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2026_Leon",category:"Contenido",name:"Contenido de prueba Paco 2026",description:"Contenido de prueba Paco",framework:"Astro",priority:1,tags:["contenido","video","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Contenido_2026_Mallorca",category:"Contenido",name:"Contenido con icono Genial 2026",description:"Contenido con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"positionBtnFlex",type:"select",label:"Posición del botón",options:["justify-center","justify-start"],options_labels:["Centrado","Principio"],example_value:"justify-center"},{name:"flexOrientationIcoText",type:"select",label:"Flex del icono del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"flexOrientationBlockIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"headingType",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"btnLabel",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0},{name:"items",type:"list",label:"Items de contenido",mandatory:!1,items:{type:"object",fields:[{name:"title",type:"text",label:"Título"},{name:"description",type:"textArea",label:"Descripción"},{name:"showBigIco",type:"boolean",label:"Mostrar icono grande"},{name:"bigIcon",type:"text",label:"Icono grande"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"CorpFooter",category:"Footer",name:"Footer Corporativo Lefebvre.es",description:"Footer marca 2025 Lefebvre.es",framework:"Astro",priority:1,tags:["footer","lefebvre.es"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"CorpHero",category:"Call to Action",name:"Hero Corporativo Lefebvre.es",description:"Hero marca 2025 Lefebvre.es",framework:"Astro",priority:1,tags:["hero","video","lefebvre.es"],fields:[{name:"text",type:"textArea",label:"Contenido HTML",mandatory:!1,example_value:"<p><b>Es más que una imagen renovada. Es una nueva forma de avanzar.</b><br />En Lefebvre evolucionamos contigo. Nos adaptamos a ti.</p>"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Enlace_2025_Venecia",category:"Texto",name:"Enlace Genial 2025",description:"Enlace para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["boton","genial"],fields:[{name:"text",type:"text",label:"Label del enlace",mandatory:!1,example_value:"Texto del enlace"},{name:"url",type:"text",label:"Enlace del enlace",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"target",type:"text",label:"Destino del enlace",mandatory:!1,example_value:"_blank"},{name:"icon",type:"text",label:"Icono del enlace",mandatory:!1,example_value:"icono-ejemplo"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Indice_2025_Taiwan",category:"Texto",name:"FAQ Genial 2025",description:"Índice para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Preguntas frecuentes"},{name:"items",type:"list",label:"Listado de FAQs",mandatory:!1,items:{type:"object",fields:[{name:"question",type:"text",label:"Texto de la pregunta"},{name:"answer",type:"text",label:"Texto de la respuesta"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"FooterCorporativo",category:"Footer",name:"Footer Corporativo",description:"Footer de prueba en Astro",framework:"Astro",priority:1,tags:["footer"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Footer_2025_Napoles",category:"Footer",name:"Footer Genial 2025",description:"Footer para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["footer","genial"],fields:[{name:"subdirectory",type:"text",label:"Subdirectorio",mandatory:!1,example_value:"/genia-l"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Formulario_2025_Nara",category:"Formulario",name:"Formulario para Genial 2025",description:"Formulario para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Formulario_2025_Seul",category:"Formulario",name:"Formulario de Genial 2025",description:"Formulario para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","video","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Pruébalo ya"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Texto descriptivo del título"},{name:"imageSrc",type:"image",label:"Src de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-3-4.png"},{name:"lf2FormTitle",type:"text",label:"Título del formulario en LF2",mandatory:!1,example_value:"27925 Formulario Vamos Más Allá"},{name:"businessAction",type:"text",label:"businessAction del formulario en LF2",mandatory:!1,example_value:"27925"},{name:"orientation",type:"select",label:"Orientación del contenido",options:["left","right"],options_labels:["Izquierda","Derecha"],example_value:"left"},{name:"showImage",type:"boolean",label:"Mostrar imagen",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Formulario_2025_Teruel",category:"Formulario",name:"Formulario en Popup Genial 2025",description:"Contenido en formato horizontal que abre un popup con formulario e imagen",framework:"Astro",priority:1,tags:["contenido","card","imagen","popup","genial"],fields:[{name:"orientation",label:"Orientación del contenido",mandatory:!1,example_value:"left",type:"select",options:["left","right"],options_labels:["Izquierda","Derecha"]},{name:"bottomBorder",type:"boolean",label:"Mostrar borde inferior",mandatory:!1,example_value:!0},{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Gatitos jueces: la nueva tendencia felina en los tribunales"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Una justicia más felina: el Tribunal Supremo nombra a su primer gato juez, revolucionando el sistema judicial con su aguda intuición y habilidades para resolver casos."},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!1},{name:"linkBtn",type:"text",label:"Url del enlace",mandatory:!1,example_value:"https://lefebvre.es"},{name:"lf2FormTitle",type:"text",label:"Título del formulario LF2",mandatory:!1,example_value:""},{name:"txtBtn",type:"text",label:"Texto del botón",mandatory:!1,example_value:"Saber más sobre los gatitos jueces"},{name:"showBtnModal",type:"boolean",label:"Mostrar botón modal",mandatory:!1,example_value:!0},{name:"titleModal",type:"text",label:"Texto del título modal",mandatory:!1,example_value:"Gatitos jueces: la nueva tendencia felina en los tribunales"},{name:"subtitleModal",type:"text",label:"Texto del subtítulo modal",mandatory:!1,example_value:""},{name:"descriptionModal",type:"text",label:"Texto de la descripción modal",mandatory:!1,example_value:""},{name:"imageModal",type:"image",label:"Src de la imagen modal",mandatory:!1,example_value:""},{name:"altModal",type:"text",label:"Alt de la imagen modal",mandatory:!1,example_value:""},{name:"txtBtnModal",type:"text",label:"Texto del botón modal",mandatory:!1,example_value:"Abrir Popup"},{name:"imageSrc",type:"image",label:"Src de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"GeometricShapeCard",category:"Imagen",name:"Tarjeta con figura geométrica",description:"Tarjeta con figura geométrica y botón de leer más.",framework:"Astro",tags:["card","interactivo"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Título de la tarjeta"},{name:"mainContent",type:"textArea",label:"Contenido principal (HTML)",mandatory:!0,example_value:"<p>Este es el <b>contenido</b> principal.</p>"},{name:"secondaryContent",type:"textArea",label:"Contenido secundario (HTML) que aparece al leer más",mandatory:!1,example_value:"<p>Este es el contenido secundario.</p>"},{name:"imageSrc",type:"image",label:"URL de la imagen",mandatory:!0,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"figure",type:"select",label:"Tipo de figura",options:["Trapeze","Trapeze2","Leaf","Sphere"],options_labels:["Trapecio","Trapecio II","Hoja de parra","Esfera"],example_value:"Trapeze"},{name:"orientation",type:"select",label:"Orientación de la figura",options:["right","left"],options_labels:["Derecha","Izquierda"],example_value:"right"},{name:"gradiantIndex",type:"select",label:"Gradiante",options:[0,1,2,3,4],options_labels:["Lefebvre España","Lefebvre Sarrut","Lefebvre Italia","Lefebvre Toovalu","Bandera de España"],example_value:0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"HeaderCorporativo",category:"Cabecera",name:"Header Corporativo",description:"Header de prueba en Astro",framework:"Astro",priority:1,tags:["header","navegación"],fields:[{name:"logo",type:"text",label:"URL del logo",mandatory:!1,example_value:"https://espacioasesoria.com/wp-content/themes/lf-espacioasesoria-theme/src/images/logo-espacio-asesoria.png"},{name:"alt",type:"text",label:"Texto alternativo",mandatory:!1,example_value:"https://lefebvre.es"},{name:"showLefebvreLogo",type:"boolean",label:"Mostrar logo de Lefebvre",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Hero_2025_Benidorm",category:"Contenido",name:"Imagen y/o Contenido Genial 2025",description:"Imagen y/o Contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["banner","imagen","contenido","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Nuevo gato juez del Tribunal Supremo"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Nuevo gato juez del Tribunal Supremo"},{name:"image",type:"image",label:"Imagen de fondo",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"date",type:"text",label:"Fecha",mandatory:!1,example_value:"2025-01-01"},{name:"nameAuthor",type:"text",label:"Nombre del autor del contenido",mandatory:!1,example_value:"Juan Pérez"},{name:"descriptionAuthor",type:"text",label:"Resumen del cargo del autor del contenido",mandatory:!1,example_value:"Juez del Tribunal Supremo"},{name:"imageAuthor",type:"image",label:"Autor de la imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"imageAuthorAlt",type:"text",label:"Texto alternativo del autor de la imagen",mandatory:!1,example_value:"Texto alternativo del autor de la imagen"},{name:"enriquecido",type:"boolean",label:"Enriquecido",mandatory:!1,example_value:!0},{name:"minutes",type:"text",label:"Duración en minutos del tiempo de lectura del contenido",mandatory:!1,example_value:"20"},{name:"itemsTagPost",type:"list",label:"Listado de tags relacionados con el contenido",mandatory:!1,items:{type:"object",fields:[{name:"tag",type:"text",label:"Nombre del tag"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"ImageTextSimple",category:"Imagen",name:"Contenido con imagen/video simple",description:"Contenido con imagen/video simple, título y texto",framework:"Astro",tags:["card","interactivo","lefebvre.es"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Soluciones felinas para un mundo mejor"},{name:"description",type:"textArea",label:"Contenido principal (HTML)",mandatory:!0,example_value:`<p>En Lefebvre buscamos ofrecer a nuestros gatos una <b>vida mejor</b>.
31
31
  Para ello, las adaptamos a las características y necesidades de cada empresa y sector, haciendo hincapié en los puntos críticos de cada uno de ellos para contribuir positivamente a su desarrollo. </p>
32
- `},{name:"image",type:"image",label:"URL de la imagen",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-1-1.png"},{name:"video",type:"video",label:"URL del video",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://www.youtube.com/embed/3gJIiEdYKR0"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Imagen_2025_Bogota",category:"Imagen",name:"Imagen Banner Genial 2025",description:"Imagen Banner para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["banner","imagen","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Nuevo gato juez del Tribunal Supremo"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Una justicia más felina: el Tribunal Supremo nombra a su primer gato juez, revolucionando el sistema judicial con su aguda intuición y habilidades para resolver casos."},{name:"txtBtn",type:"text",label:"Label del botón",mandatory:!1,example_value:"Juzga con nosotros"},{name:"linkBtn",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"alt",type:"text",label:"Texto alternativo del botón",mandatory:!1,example_value:"Texto alternativo del botón"},{name:"src",type:"image",label:"Imagen de fondo",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"iframeSrc",type:"video",label:"URL del video",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://www.ejemplo.com/video.mp4"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0},{name:"showDescription",type:"boolean",label:"Mostrar descripción",mandatory:!1,example_value:!0},{name:"color",type:"text",label:"Color del título (en hex)",mandatory:!1,example_value:"#ffffff"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Imagen_2025_Fukushima",category:"Imagen",name:"Imagen logotipo Cert Genial 2025",description:"Imagen para el directorio de Genial en la corporativa de Lefebvre logotipos certificados",framework:"Astro",priority:1,tags:["imagen","genial","certificado","logo"],fields:[{name:"image",type:"image",label:"Src de la imagen del logo",mandatory:!1,example_value:"https://lefebvre.es/genia-l/images/genial/img-iso4.webp"},{name:"descriptionImage",type:"text",label:"Texto del logotipo",mandatory:!1,example_value:"Gatitos peludos"},{name:"link",type:"text",label:"Enlace de la imagen",mandatory:!1,example_value:"https://lefebvre.es"},{name:"altImage",type:"text",label:"Texto alternativo de la imagen",mandatory:!1,example_value:"Texto alternativo del logotipo"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Indice_2025_Taiwan",category:"Texto",name:"Componente de índice Genial 2025",description:"Índice para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Modal_2025_Sagunto",category:"Formulario",name:"Botón CTA con modal y formulario Genial 2025",description:"Botón que abre una modal con formulario.",framework:"Astro",priority:1,tags:["boton","modal","formulario","genial"],fields:[{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"frontColor",type:"text",label:"Color frontal",mandatory:!1,example_value:"white"},{name:"backColor",type:"text",label:"Color de fondo",mandatory:!1,example_value:"#2134F1"},{name:"borderColor",type:"text",label:"Color del borde",mandatory:!1,example_value:"#2134F1"},{name:"imageModal",type:"image",label:"Imagen de la modal",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"altModal",type:"text",label:"Alt de la imagen de la modal",mandatory:!1,example_value:"Imagen descriptiva"},{name:"titleModal",type:"text",label:"Título de la modal",mandatory:!1,example_value:"Título de la modal"},{name:"descriptionModal",type:"text",label:"Descripción de la modal",mandatory:!1,example_value:"Descripción de la modal con contenido HTML"},{name:"lf2FormTitle",type:"text",label:"Título del formulario Leadform",mandatory:!1,example_value:""}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Paginacion_2025_Paris",category:"Texto",name:"Paginación Genial 2025",description:"Paginación para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"RRSS_2025_Pisa",category:"Imagen",name:"Iconos de redes sociales Genial 2025",description:"Iconos con enlaces a perfiles de redes sociales, email, imprimir y copiar enlace",framework:"Astro",priority:1,tags:["rrss","redes sociales","genial"],fields:[{name:"facebook",type:"text",label:"URL del perfil de Facebook",mandatory:!1,example_value:"https://facebook.com/usuario"},{name:"linkedin",type:"text",label:"URL del perfil de LinkedIn",mandatory:!1,example_value:"https://linkedin.com/in/usuario"},{name:"twitter",type:"text",label:"URL del perfil de X",mandatory:!1,example_value:"https://x.com/usuario"},{name:"whatsapp",type:"text",label:"URL de WhatsApp",mandatory:!1,example_value:"https://wa.me/34600000000"},{name:"instagram",type:"text",label:"URL del perfil de Instagram",mandatory:!1,example_value:"https://instagram.com/usuario"},{name:"email",type:"text",label:"Dirección de email",mandatory:!1,example_value:"usuario@ejemplo.com"},{name:"print",type:"boolean",label:"Mostrar botón de imprimir",mandatory:!1,example_value:!1},{name:"copyLink",type:"boolean",label:"Mostrar botón de copiar enlace",mandatory:!1,example_value:!1},{name:"copyUrl",type:"text",label:"URL a copiar al portapapeles",mandatory:!1,example_value:"https://www.ejemplo.com"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"ReactButton",category:"Call to Action",name:"Botón en React",description:"Botón de prueba en React",framework:"React",tags:["boton","interactivo","ejemplo"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!0,example_value:"Botón en React"},{name:"href",type:"text",label:"Url de destino",mandatory:!0,example_value:"https://lefebvre.es"},{name:"target",type:"text",label:"Indicar si se abre en la misma ventana o en una nueva (_blank)",mandatory:!1,example_value:"_blank"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Cabra",category:"Repetidor",name:"Repetidor de contenido con tabs Genial 2025",description:"Repetidor de contenido con tabs para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Dubai",category:"Repetidor",name:"Contenidos titulo descripción y botón Genial 2025",description:"Contenidos para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","carrusel","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Pruébalo ya"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Texto descriptivo del título"},{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Estocolmo",category:"Repetidor",name:"Repetidor de contenido Genial sin campos 2025",description:"Repetidor de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Jaen",category:"Repetidor",name:"Repetidor de contenido con tabs Genial 2025",description:"Repetidor de contenido con rrss y tags para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Título del contenido"},{name:"subtitle",type:"text",label:"Texto del subtítulo",mandatory:!1,example_value:""},{name:"number",type:"text",label:"Número de colegiado",mandatory:!1,example_value:"1234"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:""},{name:"image",type:"image",label:"Imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"imageAlt",type:"text",label:"Alt de la imagen",mandatory:!1,example_value:""},{name:"tipo",type:"select",label:"Etiqueta del título",options:["h1-blog-categoria","h1-blog-autor","h1-blog-post","h1-blog-postenriquecido","h2-blog","h2","h3","h4"],options_labels:["H1 categoría blog","H1 autor blog","H1 post blog","H1 post enriquecido blog","H2 blog","H2","H3","H4"],example_value:"h2"},{name:"flexJustify",type:"select",label:"Justificación del contenido",options:["justify-center","justify-start"],options_labels:["Centrado","Inicio"],example_value:"justify-center"},{name:"textAlign",type:"select",label:"Alineación del texto",options:["center","left","right"],options_labels:["Centro","Izquierda","Derecha"],example_value:"center"},{name:"descriptionStyle",type:"select",label:"Estilo de la descripción",options:["poppins","inter"],options_labels:["Poppins","Inter"],example_value:"poppins"},{name:"imagePosition",type:"select",label:"Posición de la imagen",options:["right","left"],options_labels:["Derecha","Izquierda"],example_value:"right"},{name:"items",type:"list",label:"Items de redes sociales",mandatory:!1,items:{type:"object",fields:[{name:"facebook",type:"text",label:"URL de Facebook"},{name:"twitter",type:"text",label:"URL de Twitter/X"},{name:"linkedin",type:"text",label:"URL de LinkedIn"},{name:"whatsapp",type:"text",label:"URL de WhatsApp"},{name:"instagram",type:"text",label:"URL de Instagram"},{name:"email",type:"text",label:"Email"},{name:"print",type:"boolean",label:"Mostrar botón imprimir"},{name:"copyLink",type:"boolean",label:"Mostrar botón copiar enlace"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Mallorca",category:"Repetidor",name:"Repetidor de contenido con icono Genial 2025",description:"Repetidor de contenido con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"positionBtnFlex",type:"select",label:"Posición del botón",options:["justify-center","justify-start"],options_labels:["Centrado","Principio"],example_value:"justify-center"},{name:"flexOrientationIcoText",type:"select",label:"Flex del icono del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"flexOrientationBlockIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"headingType",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"btnLabel",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Marruecos",category:"Repetidor",name:"Repetidor de contenido Genial sin campos 2025",description:"Repetidor de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","icono","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Menorca",category:"Repetidor",name:"Otro repetidor de contenido con icono Genial 2025",description:"Repetidor de contenido con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"positionBtnFlex",type:"select",label:"Posición del botón",options:["justify-center","justify-start"],options_labels:["Centrado","Principio"],example_value:"justify-center"},{name:"flexOrientationIcoText",type:"select",label:"Flex del icono del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"flexOrientationBlockIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"headingType",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"btnLabel",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Michigan",category:"Repetidor",name:"Repetidor artículo con texto e imagen Genial 2025",description:"Repetidor para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["texto","imagen","genial"],fields:[{name:"orientation",type:"select",label:"Alineación del contenido",options:["left","right"],options_labels:["Izquierda","Derecha"],example_value:"left"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Mostoles",category:"Repetidor",name:"Repetidor de contenido Genial sin campos 2025",description:"Repetidor de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","imagen","icono","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Orcasitas",category:"Repetidor",name:"Carrusel Genial 2025",description:"Carrusel para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","carrusel","genial"],fields:[{name:"slidesToShow",type:"text",label:"Número de slides a mostrar",mandatory:!1,example_value:"3"},{name:"slidesToScroll",type:"text",label:"Número de slides a desplazar",mandatory:!1,example_value:"1"},{name:"loadScript",type:"boolean",label:"Cargar dependencias",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Oslo",category:"Repetidor",name:"Listado con popups Genial 2025",description:"Listado con popups para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","popup","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Quito",category:"Repetidor",name:"Texto con icono Genial 2025",description:"Texto con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["texto","genial"],fields:[{name:"title",type:"text",label:"Título del bloque",mandatory:!1,example_value:"Test"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Seattle",category:"Repetidor",name:"Repetidor con cards Genial 2025",description:"Repetidor con tarjetas para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["repetidor","cards","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Sevilla",category:"Repetidor",name:"Repetidor Texto bloque Genial 2025",description:"Repetidor con texto bloque para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["repetidor","popup","texto","imagen","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Tokyo",category:"Repetidor",name:"Repetidor de contenido con bloque Genial 2025",description:"Repetidor de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Pruébalo ya"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Texto descriptivo del título"},{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Ubeda",category:"Repetidor",name:"Repetidor Texto bloque Genial 2025",description:"Repetidor con texto bloque para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","texto","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Yakarta",category:"Repetidor",name:"Listado vídeos acordeón Genial 2025",description:"Listado de vídeos en acordeón para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["acordeon","video","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"SEO_Head_Section",category:"SEO",name:"SEO Head Section",description:"Sección de encabezado SEO para mejorar la visibilidad en buscadores",framework:"Astro",priority:1,tags:["seo","genial"],fields:[{name:"title",type:"text",label:"Título de la página",mandatory:!1,example_value:"Lefebvre"},{name:"description",type:"text",label:"Descripción de la página",mandatory:!1,example_value:""},{name:"canonical",type:"text",label:"URL canónica",mandatory:!1,example_value:""},{name:"shareImgSrc",type:"text",label:"Src de la imagen para compartir",mandatory:!1,example_value:"https://www.ejemplo.com/imagen.jpg"},{name:"robots",type:"select",label:"Indexación por parte de los motores de búsqueda",options:["index, follow","noindex, nofollow","index, nofollow","noindex, follow"],options_labels:["Indexar y seguir enlaces","No indexar ni seguir enlaces","Indexar pero no seguir enlaces","No indexar pero seguir enlaces"],example_value:"index, follow"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Separador_2025_Reinosa",category:"Separador",name:"Separador spectrum de contenido Genial 2025",description:"Separador de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["spectrum","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Separador_2025_Toledo",category:"Separador",name:"Separador HR de contenido Genial 2025",description:"Separador de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:[],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Share_2025_Florencia",category:"Contenido",name:"RRSS de contenido Genial 2025",description:"RRSS de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["url","title","facebook","linkedin","twitter","whatsapp","email","print","copyLink"],fields:[{name:"url",type:"text",label:"URL del contenido",mandatory:!1,example_value:"https://example.com"},{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Pruébalo ya"},{name:"facebook",type:"image",label:"Icono para Facebook",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"linkedin",type:"image",label:"Icono para LinkedIn",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"twitter",type:"image",label:"Icono para Twitter",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"whatsapp",type:"image",label:"Icono para WhatsApp",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"email",type:"image",label:"Icono para Email",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"print",type:"image",label:"Icono para Imprimir",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"copyLink",type:"image",label:"Icono para Copiar enlace",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"SpectrumSeparator",category:"Separador",name:"Separador de Espectro",description:"Separador de espectro",framework:"Astro",priority:1,tags:["separador","lefebvre.es"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Sumario_2025_Beijing",category:"Texto",name:"Lista de contenido con bloque Genial 2025",description:"Lista de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["title","items"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Título de prueba"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Tabla_2025_Fuenlabrada",category:"Texto",name:"Tabla Genial 2025",description:"Tabla para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["title","description","leftTitle","leftItems","rightTitle","rightItems"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Esto es un título de prueba"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Esto es una descripción de prueba"},{name:"leftTitle",type:"text",label:"Texto del título de la primera columna",mandatory:!1,example_value:"Esto es un título de prueba"},{name:"leftItems",type:"list",label:"Texto de los elementos de la primera columna",mandatory:!1,items:{type:"text"}},{name:"rightTitle",type:"text",label:"Texto del título de la segunda columna",mandatory:!1,example_value:"Esto es un título de prueba"},{name:"rightItems",type:"list",label:"Texto de los elementos de la segunda columna",mandatory:!1,items:{type:"text"}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Tag_2025_Bolonia",category:"Texto",name:"Tag Genial 2025",description:"Etiquetas para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["tag"],fields:[{name:"tag",type:"text",label:"Texto del tag",mandatory:!1,example_value:"Civil"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"TestPadre",category:"Texto",name:"TestPadre",description:"TestPadre",framework:"Astro",priority:1,tags:["texto"],fields:[{name:"texto",type:"text",label:"Texto",mandatory:!1,example_value:"Prueba de texto"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Test_2026_Gaza",category:"TEST",name:"Ejemplo TESTEO Escuelas - Gaza",description:"Este es un componente para tener todas las opciones de los Carbins",framework:"Astro",priority:1,tags:["prueba","carbin","gaza","test"],fields:[{name:"nombreEscuela",type:"text",label:"Nombre de la escuela",mandatory:!1,example_value:"Elementary School No. 1"},{name:"descripcionEscuela",type:"textArea",label:"Descripción de la escuela",mandatory:!1,example_value:"Típico instituto de educación americano con alumnos vampiros y hombres lobo a lo Crepúsculo."},{name:"estaEnEEUU",type:"boolean",label:"¿Está en EE.UU.?",mandatory:!1,example_value:!0},{name:"tipoEscuela",type:"select",label:"Tipo de escuela",options:["Pública","Privada","Concertada"],options_labels:["Escuela Pública","Escuela Privada","Escuela Concertada"],example_value:"Pública"},{name:"nombresAlumnosProblematicos",type:"list",label:"Nombres de alumnos problemáticos",mandatory:!1,items:{type:"text"}},{name:"fichasProfesores",type:"list",label:"Fichas de los profesores",mandatory:!1,items:{type:"object",fields:[{name:"nombre",type:"text",label:"Nombre del profesor"},{name:"descripcion",type:"textArea",label:"Descripción"},{name:"asignatura",type:"select",label:"Asignatura",options:["Matemáticas","Historia","Física"],options_labels:["Matemáticas aplicadas a las C.S.","Historia de la humanidad","Física y química"]},{name:"esViolento",type:"boolean",label:"¿Es un profesor violento?"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"TextBox",category:"Texto",name:"Caja de texto",description:"Caja de texto en Astro",framework:"Astro",priority:1,tags:["texto"],fields:[{name:"htmlCode",type:"textArea",label:"Código HTML",mandatory:!1,example_value:"<p>Lo que quieras...</p>"},{name:"addShadow",type:"boolean",label:"Añadir sombra",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"TextImageBackground",category:"Contenido",name:"Contenido con imagen de fondo",description:"Tarjeta con imagen de background y texto para destacar contenido",framework:"Astro",tags:["card","interactivo","lefebvre.es"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Gatos<br>Haciendo cosas de gatos<br>Se un gato Lefebvre"},{name:"description",type:"textArea",label:"Contenido principal (HTML)",mandatory:!0,example_value:`<p>Gatos que a lo largo de la historia han demostrado ser compañeros leales y fascinantes.</p>
32
+ `},{name:"image",type:"image",label:"URL de la imagen",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-1-1.png"},{name:"video",type:"video",label:"URL del video",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://www.youtube.com/embed/3gJIiEdYKR0"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Imagen_2025_Bogota",category:"Imagen",name:"Imagen Banner Genial 2025",description:"Imagen Banner para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["banner","imagen","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Nuevo gato juez del Tribunal Supremo"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Una justicia más felina: el Tribunal Supremo nombra a su primer gato juez, revolucionando el sistema judicial con su aguda intuición y habilidades para resolver casos."},{name:"txtBtn",type:"text",label:"Label del botón",mandatory:!1,example_value:"Juzga con nosotros"},{name:"linkBtn",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"alt",type:"text",label:"Texto alternativo del botón",mandatory:!1,example_value:"Texto alternativo del botón"},{name:"src",type:"image",label:"Imagen de fondo",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-16-9.png"},{name:"iframeSrc",type:"video",label:"URL del video",mandatory:!1,exclusive_group:"media",exclusive_group_label:"Contenido multimedia",example_value:"https://www.ejemplo.com/video.mp4"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0},{name:"showDescription",type:"boolean",label:"Mostrar descripción",mandatory:!1,example_value:!0},{name:"color",type:"text",label:"Color del título (en hex)",mandatory:!1,example_value:"#ffffff"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Imagen_2025_Fukushima",category:"Imagen",name:"Imagen logotipo Cert Genial 2025",description:"Imagen para el directorio de Genial en la corporativa de Lefebvre logotipos certificados",framework:"Astro",priority:1,tags:["imagen","genial","certificado","logo"],fields:[{name:"image",type:"image",label:"Src de la imagen del logo",mandatory:!1,example_value:"https://lefebvre.es/genia-l/images/genial/img-iso4.webp"},{name:"descriptionImage",type:"text",label:"Texto del logotipo",mandatory:!1,example_value:"Gatitos peludos"},{name:"link",type:"text",label:"Enlace de la imagen",mandatory:!1,example_value:"https://lefebvre.es"},{name:"altImage",type:"text",label:"Texto alternativo de la imagen",mandatory:!1,example_value:"Texto alternativo del logotipo"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Indice_2025_Taiwan",category:"Texto",name:"Componente de índice Genial 2025",description:"Índice para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Índice de contenidos"},{name:"items",type:"list",label:"Listado de items del índice",mandatory:!1,items:{type:"object",fields:[{name:"titulo",type:"text",label:"Texto del ítem"},{name:"enlace",type:"text",label:"URL del ítem"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Modal_2025_Sagunto",category:"Formulario",name:"Botón CTA con modal y formulario Genial 2025",description:"Botón que abre una modal con formulario.",framework:"Astro",priority:1,tags:["boton","modal","formulario","genial"],fields:[{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"frontColor",type:"text",label:"Color frontal",mandatory:!1,example_value:"white"},{name:"backColor",type:"text",label:"Color de fondo",mandatory:!1,example_value:"#2134F1"},{name:"borderColor",type:"text",label:"Color del borde",mandatory:!1,example_value:"#2134F1"},{name:"imageModal",type:"image",label:"Imagen de la modal",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"altModal",type:"text",label:"Alt de la imagen de la modal",mandatory:!1,example_value:"Imagen descriptiva"},{name:"titleModal",type:"text",label:"Título de la modal",mandatory:!1,example_value:"Título de la modal"},{name:"descriptionModal",type:"text",label:"Descripción de la modal",mandatory:!1,example_value:"Descripción de la modal con contenido HTML"},{name:"lf2FormTitle",type:"text",label:"Título del formulario Leadform",mandatory:!1,example_value:""}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Paginacion_2025_Paris",category:"Texto",name:"Paginación Genial 2025",description:"Paginación para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"RRSS_2025_Pisa",category:"Imagen",name:"Iconos de redes sociales Genial 2025",description:"Iconos con enlaces a perfiles de redes sociales, email, imprimir y copiar enlace",framework:"Astro",priority:1,tags:["rrss","redes sociales","genial"],fields:[{name:"facebook",type:"text",label:"URL del perfil de Facebook",mandatory:!1,example_value:"https://facebook.com/usuario"},{name:"linkedin",type:"text",label:"URL del perfil de LinkedIn",mandatory:!1,example_value:"https://linkedin.com/in/usuario"},{name:"twitter",type:"text",label:"URL del perfil de X",mandatory:!1,example_value:"https://x.com/usuario"},{name:"whatsapp",type:"text",label:"URL de WhatsApp",mandatory:!1,example_value:"https://wa.me/34600000000"},{name:"instagram",type:"text",label:"URL del perfil de Instagram",mandatory:!1,example_value:"https://instagram.com/usuario"},{name:"email",type:"text",label:"Dirección de email",mandatory:!1,example_value:"usuario@ejemplo.com"},{name:"print",type:"boolean",label:"Mostrar botón de imprimir",mandatory:!1,example_value:!1},{name:"copyLink",type:"boolean",label:"Mostrar botón de copiar enlace",mandatory:!1,example_value:!1},{name:"copyUrl",type:"text",label:"URL a copiar al portapapeles",mandatory:!1,example_value:"https://www.ejemplo.com"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"ReactButton",category:"Call to Action",name:"Botón en React",description:"Botón de prueba en React",framework:"React",tags:["boton","interactivo","ejemplo"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!0,example_value:"Botón en React"},{name:"href",type:"text",label:"Url de destino",mandatory:!0,example_value:"https://lefebvre.es"},{name:"target",type:"text",label:"Indicar si se abre en la misma ventana o en una nueva (_blank)",mandatory:!1,example_value:"_blank"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Cabra",category:"Repetidor",name:"Repetidor de contenido con tabs Genial 2025",description:"Repetidor de contenido con tabs para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Dubai",category:"Repetidor",name:"Contenidos titulo descripción y botón Genial 2025",description:"Contenidos para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","carrusel","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Pruébalo ya"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Texto descriptivo del título"},{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Estocolmo",category:"Repetidor",name:"Repetidor de contenido Genial sin campos 2025",description:"Repetidor de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Jaen",category:"Repetidor",name:"Repetidor de contenido con tabs Genial 2025",description:"Repetidor de contenido con rrss y tags para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Título del contenido"},{name:"subtitle",type:"text",label:"Texto del subtítulo",mandatory:!1,example_value:""},{name:"number",type:"text",label:"Número de colegiado",mandatory:!1,example_value:"1234"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:""},{name:"image",type:"image",label:"Imagen",mandatory:!1,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png"},{name:"imageAlt",type:"text",label:"Alt de la imagen",mandatory:!1,example_value:""},{name:"tipo",type:"select",label:"Etiqueta del título",options:["h1-blog-categoria","h1-blog-autor","h1-blog-post","h1-blog-postenriquecido","h2-blog","h2","h3","h4"],options_labels:["H1 categoría blog","H1 autor blog","H1 post blog","H1 post enriquecido blog","H2 blog","H2","H3","H4"],example_value:"h2"},{name:"flexJustify",type:"select",label:"Justificación del contenido",options:["justify-center","justify-start"],options_labels:["Centrado","Inicio"],example_value:"justify-center"},{name:"textAlign",type:"select",label:"Alineación del texto",options:["center","left","right"],options_labels:["Centro","Izquierda","Derecha"],example_value:"center"},{name:"descriptionStyle",type:"select",label:"Estilo de la descripción",options:["poppins","inter"],options_labels:["Poppins","Inter"],example_value:"poppins"},{name:"imagePosition",type:"select",label:"Posición de la imagen",options:["right","left"],options_labels:["Derecha","Izquierda"],example_value:"right"},{name:"items",type:"list",label:"Items de redes sociales",mandatory:!1,items:{type:"object",fields:[{name:"facebook",type:"text",label:"URL de Facebook"},{name:"twitter",type:"text",label:"URL de Twitter/X"},{name:"linkedin",type:"text",label:"URL de LinkedIn"},{name:"whatsapp",type:"text",label:"URL de WhatsApp"},{name:"instagram",type:"text",label:"URL de Instagram"},{name:"email",type:"text",label:"Email"},{name:"print",type:"boolean",label:"Mostrar botón imprimir"},{name:"copyLink",type:"boolean",label:"Mostrar botón copiar enlace"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Mallorca",category:"Repetidor",name:"Repetidor de contenido con icono Genial 2025",description:"Repetidor de contenido con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"positionBtnFlex",type:"select",label:"Posición del botón",options:["justify-center","justify-start"],options_labels:["Centrado","Principio"],example_value:"justify-center"},{name:"flexOrientationIcoText",type:"select",label:"Flex del icono del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"flexOrientationBlockIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"headingType",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"btnLabel",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Marruecos",category:"Repetidor",name:"Repetidor de contenido Genial sin campos 2025",description:"Repetidor de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","icono","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Menorca",category:"Repetidor",name:"Otro repetidor de contenido con icono Genial 2025",description:"Repetidor de contenido con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial","icono"],fields:[{name:"positionFlex",type:"select",label:"Posición del item",options:["items-start","items-center"],options_labels:["Principio","Centrado"],example_value:"items-start"},{name:"positionBtnFlex",type:"select",label:"Posición del botón",options:["justify-center","justify-start"],options_labels:["Centrado","Principio"],example_value:"justify-center"},{name:"flexOrientationIcoText",type:"select",label:"Flex del icono del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"flexOrientationBlockIcoText",type:"select",label:"Flex del item",options:["flex-row","flex-col"],options_labels:["Horizontal","Vertical"],example_value:"flex-row"},{name:"headingType",type:"select",label:"Etiqueta del título",options:["h1","h2","h3","h4","h5","h6","span"],options_labels:["H1","H2","H3","H4","H5","H6","Span"],example_value:"h2"},{name:"btnLabel",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Michigan",category:"Repetidor",name:"Repetidor artículo con texto e imagen Genial 2025",description:"Repetidor para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["texto","imagen","genial"],fields:[{name:"orientation",type:"select",label:"Alineación del contenido",options:["left","right"],options_labels:["Izquierda","Derecha"],example_value:"left"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Mostoles",category:"Repetidor",name:"Repetidor de contenido Genial sin campos 2025",description:"Repetidor de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","imagen","icono","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Orcasitas",category:"Repetidor",name:"Carrusel Genial 2025",description:"Carrusel para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","carrusel","genial"],fields:[{name:"slidesToShow",type:"text",label:"Número de slides a mostrar",mandatory:!1,example_value:"3"},{name:"slidesToScroll",type:"text",label:"Número de slides a desplazar",mandatory:!1,example_value:"1"},{name:"loadScript",type:"boolean",label:"Cargar dependencias",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Oslo",category:"Repetidor",name:"Listado con popups Genial 2025",description:"Listado con popups para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","popup","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Quito",category:"Repetidor",name:"Texto con icono Genial 2025",description:"Texto con icono para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["texto","genial"],fields:[{name:"title",type:"text",label:"Título del bloque",mandatory:!1,example_value:"Test"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Seattle",category:"Repetidor",name:"Repetidor con cards Genial 2025",description:"Repetidor con tarjetas para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["repetidor","cards","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Sevilla",category:"Repetidor",name:"Repetidor Texto bloque Genial 2025",description:"Repetidor con texto bloque para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["repetidor","popup","texto","imagen","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Tokyo",category:"Repetidor",name:"Repetidor de contenido con bloque Genial 2025",description:"Repetidor de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Pruébalo ya"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Texto descriptivo del título"},{name:"buttonText",type:"text",label:"Label del botón",mandatory:!1,example_value:"Texto del botón"},{name:"buttonUrl",type:"text",label:"Enlace del botón",mandatory:!1,example_value:"https://www.ejemplo.com"},{name:"showBtn",type:"boolean",label:"Mostrar botón",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Ubeda",category:"Repetidor",name:"Repetidor Texto bloque Genial 2025",description:"Repetidor con texto bloque para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["contenido","texto","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Repetidor_2025_Yakarta",category:"Repetidor",name:"Listado vídeos acordeón Genial 2025",description:"Listado de vídeos en acordeón para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["acordeon","video","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"SEO_Head_Section",category:"SEO",name:"SEO Head Section",description:"Sección de encabezado SEO para mejorar la visibilidad en buscadores",framework:"Astro",priority:1,tags:["seo","genial"],fields:[{name:"title",type:"text",label:"Título de la página",mandatory:!1,example_value:"Lefebvre"},{name:"description",type:"text",label:"Descripción de la página",mandatory:!1,example_value:""},{name:"canonical",type:"text",label:"URL canónica",mandatory:!1,example_value:""},{name:"shareImgSrc",type:"text",label:"Src de la imagen para compartir",mandatory:!1,example_value:"https://www.ejemplo.com/imagen.jpg"},{name:"robots",type:"select",label:"Indexación por parte de los motores de búsqueda",options:["index, follow","noindex, nofollow","index, nofollow","noindex, follow"],options_labels:["Indexar y seguir enlaces","No indexar ni seguir enlaces","Indexar pero no seguir enlaces","No indexar pero seguir enlaces"],example_value:"index, follow"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Separador_2025_Reinosa",category:"Separador",name:"Separador spectrum de contenido Genial 2025",description:"Separador de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["spectrum","genial"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Separador_2025_Toledo",category:"Separador",name:"Separador HR de contenido Genial 2025",description:"Separador de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:[],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Share_2025_Florencia",category:"Contenido",name:"RRSS de contenido Genial 2025",description:"RRSS de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["url","title","facebook","linkedin","twitter","whatsapp","email","print","copyLink"],fields:[{name:"url",type:"text",label:"URL del contenido",mandatory:!1,example_value:"https://example.com"},{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Pruébalo ya"},{name:"facebook",type:"image",label:"Icono para Facebook",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"linkedin",type:"image",label:"Icono para LinkedIn",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"twitter",type:"image",label:"Icono para Twitter",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"whatsapp",type:"image",label:"Icono para WhatsApp",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"email",type:"image",label:"Icono para Email",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"print",type:"image",label:"Icono para Imprimir",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'},{name:"copyLink",type:"image",label:"Icono para Copiar enlace",mandatory:!1,example_value:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.675 0h-21.35C.597 0 0 .597 0 1.333v21.334C0 23.403.597 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.894-4.788 4.659-4.788 1.325 0 2.464.099 2.796.143v3.24l-1.918.001c-1.504 0-1.796.715-1.796 1.763v2.312h3.59l-.467 3.622h-3.123V24h6.116C23.403 24 24 23.403 24 22.667V1.333C24 .597 23.403 0 22.675 0z"/></svg>'}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"SpectrumSeparator",category:"Separador",name:"Separador de Espectro",description:"Separador de espectro",framework:"Astro",priority:1,tags:["separador","lefebvre.es"],fields:[]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Sumario_2025_Beijing",category:"Texto",name:"Lista de contenido con bloque Genial 2025",description:"Lista de contenido para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["title","items"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Título de prueba"},{name:"contentSumario",type:"html",label:"Sumario HTML order and unorder list",mandatory:!1,example_value:"<ul><li>Texto de ejemplo</li></ul>"},{name:"items",type:"list",label:"Items del sumario sin html",mandatory:!1,items:{type:"text"}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Tabla_2025_Fuenlabrada",category:"Texto",name:"Tabla Genial 2025",description:"Tabla para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["title","description","leftTitle","leftItems","rightTitle","rightItems"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Esto es un título de prueba"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Esto es una descripción de prueba"},{name:"leftTitle",type:"text",label:"Texto del título de la primera columna",mandatory:!1,example_value:"Esto es un título de prueba"},{name:"leftItems",type:"list",label:"Texto de los elementos de la primera columna",mandatory:!1,items:{type:"text"}},{name:"rightTitle",type:"text",label:"Texto del título de la segunda columna",mandatory:!1,example_value:"Esto es un título de prueba"},{name:"rightItems",type:"list",label:"Texto de los elementos de la segunda columna",mandatory:!1,items:{type:"text"}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Tag_2025_Bolonia",category:"Texto",name:"Tag Genial 2025",description:"Etiquetas para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["tag"],fields:[{name:"tag",type:"text",label:"Texto del tag",mandatory:!1,example_value:"Civil"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"TestPadre",category:"Texto",name:"TestPadre",description:"TestPadre",framework:"Astro",priority:1,tags:["texto"],fields:[{name:"texto",type:"text",label:"Texto",mandatory:!1,example_value:"Prueba de texto"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Test_2026_Gaza",category:"TEST",name:"Ejemplo TESTEO Escuelas - Gaza",description:"Este es un componente para tener todas las opciones de los Carbins",framework:"Astro",priority:1,tags:["prueba","carbin","gaza","test"],fields:[{name:"nombreEscuela",type:"text",label:"Nombre de la escuela",mandatory:!1,example_value:"Elementary School No. 1"},{name:"descripcionEscuela",type:"textArea",label:"Descripción de la escuela",mandatory:!1,example_value:"Típico instituto de educación americano con alumnos vampiros y hombres lobo a lo Crepúsculo."},{name:"estaEnEEUU",type:"boolean",label:"¿Está en EE.UU.?",mandatory:!1,example_value:!0},{name:"tipoEscuela",type:"select",label:"Tipo de escuela",options:["Pública","Privada","Concertada"],options_labels:["Escuela Pública","Escuela Privada","Escuela Concertada"],example_value:"Pública"},{name:"nombresAlumnosProblematicos",type:"list",label:"Nombres de alumnos problemáticos",mandatory:!1,items:{type:"text"}},{name:"fichasProfesores",type:"list",label:"Fichas de los profesores",mandatory:!1,items:{type:"object",fields:[{name:"nombre",type:"text",label:"Nombre del profesor"},{name:"descripcion",type:"textArea",label:"Descripción"},{name:"asignatura",type:"select",label:"Asignatura",options:["Matemáticas","Historia","Física"],options_labels:["Matemáticas aplicadas a las C.S.","Historia de la humanidad","Física y química"]},{name:"esViolento",type:"boolean",label:"¿Es un profesor violento?"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"TextBox",category:"Texto",name:"Caja de texto",description:"Caja de texto en Astro",framework:"Astro",priority:1,tags:["texto"],fields:[{name:"htmlCode",type:"textArea",label:"Código HTML",mandatory:!1,example_value:"<p>Lo que quieras...</p>"},{name:"addShadow",type:"boolean",label:"Añadir sombra",mandatory:!1,example_value:!0}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"TextImageBackground",category:"Contenido",name:"Contenido con imagen de fondo",description:"Tarjeta con imagen de background y texto para destacar contenido",framework:"Astro",tags:["card","interactivo","lefebvre.es"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Gatos<br>Haciendo cosas de gatos<br>Se un gato Lefebvre"},{name:"description",type:"textArea",label:"Contenido principal (HTML)",mandatory:!0,example_value:`<p>Gatos que a lo largo de la historia han demostrado ser compañeros leales y fascinantes.</p>
33
33
  <p>Desde siempre han participado en todo tipo de actividades humanas, mostrando su adaptabilidad y encanto.</p>
34
34
  <p>Este es el autocompletado del copilot sobre los gatos y sus manías.</p>
35
35
  `},{name:"image",type:"image",label:"URL de la imagen",mandatory:!0,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-w-16-9.png"},{name:"orientation",type:"select",label:"Orientación de la figura",options:["right","left"],options_labels:["Derecha","Izquierda"],example_value:"right"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"TextImageBlock",category:"Contenido",name:"Contenido de texto con imagen",description:"Tarjeta con texto e imagen",framework:"Astro",tags:["card","interactivo","lefebvre.es"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Gatos abogados: la nueva tendencia felina en el mundo legal"},{name:"description",type:"textArea",label:"Contenido principal (HTML)",mandatory:!0,example_value:`<p><b>No trabajes más, trabaja mejor.</b> GenIA-L no sólo domina la jurisprudencia, sino que piensa como tú: además de hablar el mismo idioma,
@@ -39,7 +39,7 @@ var LfPagebuilder=(function(ai){"use strict";var bfe=Object.defineProperty;var g
39
39
  `},{name:"buttonText",type:"text",label:"Texto del botón",mandatory:!0,example_value:"Sácate el mejor partido"},{name:"buttonUrl",type:"text",label:"URL del botón",mandatory:!0,example_value:"https://lefebvre.es/ecosistema-productos/genial-inteligencia-artificial-generativa-ia/"},{name:"image",type:"image",label:"URL de la imagen",mandatory:!0,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-4-3.png"},{name:"orientation",type:"select",label:"Orientación de la figura",options:["right","left"],options_labels:["Derecha","Izquierda"],example_value:"left"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"TextImageCard",category:"Contenido",name:"Card de texto con imagen",description:"Card con texto e imagen",framework:"Astro",tags:["card","interactivo","lefebvre.es"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Gatitos medievales: una mirada al pasado felino"},{name:"description",type:"textArea",label:"Contenido principal (HTML)",mandatory:!0,example_value:"<p>Los gatitos que habitaron los castillos medievales eran más que simples mascotas; eran compañeros leales y símbolos de estatus para la <b>nobleza</b>.</p>"},{name:"image",type:"image",label:"URL de la imagen",mandatory:!0,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-1-1.png"},{name:"orientation",type:"select",label:"Orientación de la figura",options:["right","left"],options_labels:["Derecha","Izquierda"],example_value:"right"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"TextImageHeader",category:"Contenido",name:"Contenido de texto con imagen y polígono con degradado",description:"Cabecera con texto destacado, imagen y botón de acción personalizable. Ideal para resaltar información clave en páginas principales.",framework:"Astro",tags:["card","lefebvre.es"],fields:[{name:"pretitle",type:"text",label:"Pretítulo",mandatory:!1,example_value:"GATOS"},{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Gatos con ganas de hacer travesuras"},{name:"description",type:"textArea",label:"Contenido principal (HTML)",mandatory:!0,example_value:`<p><b>No trabajes más, trabaja mejor.</b> GenIA-L no sólo domina la jurisprudencia, sino que piensa como tú: además de hablar el mismo idioma,
40
40
  es la primera IA que razona de forma lógica cómo abordar los desafíos legales más complejos.</p>
41
41
  <p>En Lefebvre hemos ido un paso más allá, combinando el llamado razonamiento profundo con la base de datos jurídica más completa. ¿El resultado?</p>
42
- `},{name:"buttonText",type:"text",label:"Texto del botón",mandatory:!0,example_value:"Adopta un gato"},{name:"buttonUrl",type:"text",label:"URL del botón",mandatory:!0,example_value:"/conocenos"},{name:"image",type:"image",label:"URL de la imagen",mandatory:!0,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-4-3.png"},{name:"orientation",type:"select",label:"Orientación de la figura",options:["right","left"],options_labels:["Derecha","Izquierda"],example_value:"left"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Texto_2025_Kyoto",category:"Texto",name:"Texto 2025",description:"Bloque de texto HTML libre para la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["texto"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Título del bloque"},{name:"tipo",type:"select",label:"Etiqueta del título",options:["none","h2","h3"],options_labels:["Sin título","H2","H3"],example_value:"none"},{name:"contentHTML",type:"html",label:"Contenido HTML",mandatory:!1,example_value:"<p>Texto de ejemplo</p>"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Tiempo_2025_Londres",category:"Contenido",name:"Tiempo de lectura del post",description:"Muestra el tiempo de lectura en minutos con un icono de reloj",framework:"Astro",priority:1,tags:["tiempo","lectura","reloj"],fields:[{name:"minutes",type:"text",label:"Minutos de lectura",mandatory:!0,example_value:"20"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Titulo_2025_Algeciras",category:"Título",name:"Título Genial 2025",description:"Título para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["title","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Gatos atracadores: la nueva moda felina en puertos"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Descripción detallada sobre la moda felina en puertos"},{name:"tipo",type:"select",label:"Etiqueta del título",options:["h1","h2","h2-mb64","h3","h3-mb32","h4","h5","h6","p"],options_labels:["H1","H2","H2 con margen inferior 64px","H3","H3 con margen inferior 32px","H4","H5","H6","Párrafo"],example_value:"h1"},{name:"flexJustify",type:"select",label:"Justificación del contenido",options:["justify-start","justify-center"],options_labels:["Izquierda","Centro"],example_value:"justify-start"},{name:"descriptionWidth",type:"select",label:"Ancho de la descripción",options:["1/3","3/5","full"],options_labels:["1/3","3/5","Completo"],example_value:"1/3"},{name:"subdescription",type:"text",label:"Texto de la descripción en Poppins a 20px",mandatory:!1,example_value:"Descripción detallada sobre la moda felina en puertos"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Titulo_2025_Santorini",category:"Título",name:"Texto azul Genial 2025",description:"Texto azul para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["texto","genial"],fields:[{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Ejemplo de un texto azul llamativo para destacar información importante en la página."}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"VideoAutoplay",category:"Contenido",name:"Sección con video autoplay",description:"Sección con video que se reproduce automáticamente",framework:"Astro",tags:["video","autoplay","lefebvre.es"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Hoy empieza un nuevo capítulo de nuestra historia"},{name:"description",type:"text",label:"Contenido principal",mandatory:!0,example_value:"Somos quienes te han acompañado durante décadas. Somos quienes se anticipan contigo al futuro del conocimiento jurídico."},{name:"iframeSrc",type:"video",label:"URL del vídeo",mandatory:!0,example_value:"https://player.vimeo.com/video/1087114916?controls=0&amp;autoplay=1&amp;muted=1&amp;loop=1&amp;badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Video_2025_Polop",category:"Contenido",name:"Vídeo Genial 2025",description:"Item con vídeo para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["video","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Gatos adorables que te alegrarán el día"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Los gatos son criaturas maravillosas que traen alegría y compañía a nuestras vidas."},{name:"iframeSrc",type:"video",label:"URL del vídeo",mandatory:!1,example_value:"https://lefebvre.es/genia-l/videos/genial/video-trazabilidad.mp4"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Video_2025_Valencia",category:"Contenido",name:"Item con vídeo Genial 2025",description:"Item con vídeo para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["video","genial"],fields:[{name:"items",type:"list",label:"Listado de vídeos",mandatory:!1,items:{type:"object",fields:[{name:"title",type:"text",label:"Texto del título"},{name:"description",type:"text",label:"Texto de la descripción"},{name:"iframeSrc",type:"video",label:"URL del vídeo"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"VueButton",category:"Call to Action",name:"Botón en Vue",description:"Botón de prueba en Vue",framework:"Vue",priority:2,tags:["boton","interactivo","ejemplo"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!0,example_value:"Botón en Vue"},{name:"href",type:"text",label:"Url de destino",mandatory:!0,example_value:"https://lefebvre.es"},{name:"target",type:"text",label:"Indicar si se abre en la misma ventana o en una nueva (_blank)",mandatory:!1,example_value:"_blank"}]}},Symbol.toStringTag,{value:"Module"}))}];function KH(){return YH.map(e=>e.component.metadata).sort((e,n)=>{const r=e.priority??0,o=n.priority??0;return r!==o?o-r:(e.name||"").localeCompare(n.name||"")})}const JH=Ti({props:{isComponentMode:Boolean,fullwidthMode:Boolean,debugMode:Boolean,submitForm:Boolean,toggleComponentModeFunction:Function,toggleFullwidthMode:Function,importConfigurationFunction:Function,globalPageConfiguration:Array,sectionSelected:String,availableSections:Array,parametersPageConfiguration:Object,renderApiDomain:String,inputId:String,allowRenderMode:{type:String,default:"open"}},emits:["update:sectionSelected","update:parametersPageConfiguration.global.sidebarEnabled","update:parametersPageConfiguration.global.renderAsBodyPart","update:parametersPageConfiguration.global.headSlot","update:parametersPageConfiguration.global.bodyBeginSlot","update:parametersPageConfiguration.global.footerSlot","update:parametersPageConfiguration.seo.robots","update:parametersPageConfiguration.seo.title","update:parametersPageConfiguration.seo.description"],setup(t){const e=t.renderApiDomain||"http://localhost:8003",n=mn(""),r=mn(!1),o=mn(!1),i=mn(null),l=mn(!1),a=()=>{const P=window.scrollY,S=document.querySelector(".lf-page-builder"),A=S?S.getBoundingClientRect().bottom+P:1/0;l.value=P>80&&P<A};Wl(()=>window.addEventListener("scroll",a)),t1(()=>window.removeEventListener("scroll",a));const s=E2({get(){var S,A;const P=(S=t.globalPageConfiguration)==null?void 0:S.find(I=>I.section===t.sectionSelected);return((A=P==null?void 0:P.config)==null?void 0:A.width)||""},set(P){var A;const S=(A=t.globalPageConfiguration)==null?void 0:A.find(I=>I.section===t.sectionSelected);S&&(S.config||(S.config={}),S.config.width=P)}}),u=()=>{const P={pageConfig:t.globalPageConfiguration,paramsConfig:t.parametersPageConfiguration},S=JSON.stringify(P),A=new CustomEvent("lf-pagebuilder:export",{detail:{...P,inputId:t.inputId}});document.dispatchEvent(A);const I=window.open("","Preview","width='100vw',height='100vh'");I&&(I.document.body.innerText=S,I.document.close())},p=()=>{const P={pageConfig:t.globalPageConfiguration,paramsConfig:t.parametersPageConfiguration},S=JSON.stringify(P);h(S);const A=new CustomEvent("lf-pagebuilder:save",{detail:{...P,inputId:t.inputId}});if(document.dispatchEvent(A),t.inputId){const I=document.getElementById(t.inputId);I&&(I.value=S)}if(o.value=!0,setTimeout(()=>{o.value=!1},3e3),t.submitForm&&i.value){const I=i.value.closest("form");I&&I.submit()}},h=P=>{const S=t.inputId?`pageBuilderConfig_${t.inputId}`:"pageBuilderConfig";localStorage.setItem(S,P)};return{validateSeo:()=>{const P={pageConfig:t.globalPageConfiguration,paramsConfig:t.parametersPageConfiguration},S=JSON.stringify(P,null,2);fetch(e+"/api/render-html/",{method:"POST",headers:{"Content-Type":"application/json"},body:S}).then(A=>A.text()).then(A=>{const I=window.open("","Preview","width='100vw',height='100vh'");if(!I)return;const U=new DOMParser().parseFromString(A,"text/html"),Y=[];function re(H,ne=0){if(!H||H.nodeType!==1)return;const q=H.tagName.toLowerCase();["h1","h2","h3","h4","h5","h6","a","p","article","section","header","footer"].includes(q)&&Y.push({tag:q,text:(H.textContent||"").trim().slice(0,80),depth:ne}),Array.from(H.children).forEach(ce=>re(ce,ne+1))}re(U.body);let F='<h2>Estructura SEO</h2><ul style="font-family:monospace">';Y.forEach(H=>{F+=`<li style="margin-left:${H.depth*20}px"><b>${H.tag}</b>: ${H.text}</li>`}),F+="</ul>",I.document.body.innerHTML=F,I.document.close()})},importConfig:n,showAdvancedConfig:r,previewFunction:()=>{const P={pageConfig:t.globalPageConfiguration,paramsConfig:t.parametersPageConfiguration},S=JSON.stringify(P,null,2);fetch(e+"/api/render-html/",{method:"POST",headers:{"Content-Type":"application/json"},body:S}).then(A=>A.text()).then(A=>{const I=window.open("","Preview","width='100vw',height='100vh'");I&&(I.document.body.innerHTML=A,I.document.querySelectorAll("script").forEach(U=>{var re;const Y=I.document.createElement("script");U.src?Y.src=U.src:Y.textContent=U.textContent,(re=U.parentNode)==null||re.replaceChild(Y,U)}),I.document.close())})},importFunction:()=>{t.importConfigurationFunction&&t.importConfigurationFunction(n.value),n.value=""},exportFunction:u,saveButtonAction:p,loadFromLocalStorage:()=>{const P=t.inputId?`pageBuilderConfig_${t.inputId}`:"pageBuilderConfig",S=localStorage.getItem(P);if(S&&t.importConfigurationFunction){const A=JSON.parse(S);t.importConfigurationFunction(A)}},toggleExpandScreen:()=>{const P=document.querySelector(".lf-page-builder");P&&P.classList.toggle("expanded-page-builder")},sectionWidth:s,isSaved:o,componentRoot:i,isScrolled:l}}}),$T=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},eX={ref:"componentRoot"},tX={key:0,class:"flex justify-end items-center w-full p-3 gap-3"},nX={class:"flex justify-end items-center p-2 gap-3 bg-gradient-to-l from-lime-50 to-green-100 border border-lime-400 rounded-lg w-auto"},rX={class:"flex flex-wrap justify-between gap-3 px-5 py-3 bg-white mx-3 rounded-xl border border-slate-200 mb-6 sticky top-2 z-9999 shadow-lg backdrop-blur-sm"},oX={class:"flex gap-2"},iX={class:"flex gap-2"},lX=["value"],aX=["value"],sX={value:"full"},cX={value:"1/2"},dX={value:"1/3"},uX={value:"2/3"},pX={value:"1/4"},hX={value:"3/4"},fX={value:"1/5"},mX={value:"2/5"},bX={value:"3/5"},gX={value:"4/5"},vX={key:0},yX={key:1},CX={class:"flex items-center gap-2"},xX={key:1,class:"bg-white border border-slate-200 rounded-2xl p-5 mx-3 mb-6 shadow-lg"},wX={class:"flex flex-row gap-4 w-full"},OX={class:"border border-slate-200 rounded-xl p-5 w-full bg-gradient-to-br from-slate-50 to-white"},SX={class:"flex flex-col gap-3 border-b border-slate-200 pb-4 w-full"},kX={class:"mb-3"},TX={class:"flex items-center gap-3 cursor-pointer group"},EX={class:"mb-3"},$X={class:"flex flex-col gap-2"},MX=["disabled"],PX=["disabled"],LX={key:0,class:"text-xs text-slate-400 italic"},AX={key:0,class:"mb-3"},NX={key:1,class:"mb-3"},jX={key:2,class:"mb-3"},_X={key:0,class:"border border-slate-200 rounded-xl p-5 w-full bg-gradient-to-br from-slate-50 to-white"},RX={class:"flex justify-between items-center mb-4"},QX={class:"flex flex-col gap-3 border-b border-slate-200 pb-4 w-full"},IX={class:"mb-3"},DX={class:"mb-3"},zX={class:"mb-3"};function VX(t,e,n,r,o,i){return Oe(),ke("div",eX,[(Oe(),v0(OS,{to:"body"},[Gr(B("button",{type:"button",onClick:e[0]||(e[0]=l=>t.saveButtonAction()),title:"Guardar configuración",class:"fixed bottom-6 right-6 z-[99999] cursor-pointer bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600 text-white border border-emerald-500 rounded-full px-5 py-3 text-sm font-medium transition-all duration-300 shadow-xl hover:shadow-2xl hover:scale-105"},Gt(t.isSaved?"✅ Guardado":"💾 Guardar"),513),[[rh,t.isScrolled]])])),t.debugMode?(Oe(),ke("div",tX,[B("div",nX,[e[33]||(e[33]=B("span",{class:"bg-gradient-to-r from-lime-200 to-green-300 px-3 py-1 rounded-full border border-lime-600 text-lime-800 text-xs font-medium me-4 italic"},"MODO DEBUG 🐞",-1)),B("form",{onSubmit:e[3]||(e[3]=V5(()=>{},["prevent"])),class:"flex gap-2"},[Gr(B("input",{"onUpdate:modelValue":e[1]||(e[1]=l=>t.importConfig=l),type:"text",class:"bg-white border border-slate-200 rounded-lg px-3 py-1.5 text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400",name:"",id:"",placeholder:"Pegar configuración..."},null,512),[[ql,t.importConfig]]),B("button",{type:"button",onClick:e[2]||(e[2]=l=>t.importFunction()),class:"cursor-pointer bg-white hover:bg-slate-700 hover:text-white border border-slate-200 hover:border-slate-700 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"🏯 Importar")],32),B("button",{type:"button",onClick:e[4]||(e[4]=l=>t.exportFunction()),class:"cursor-pointer bg-white hover:bg-slate-700 hover:text-white border border-slate-200 hover:border-slate-700 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"🚀 Exportar")])])):wn("",!0),B("div",rX,[B("div",oX,[B("button",{type:"button",class:oo([[t.isComponentMode?"bg-gradient-to-r from-slate-600 to-slate-700 border-slate-700 text-white shadow-md":"bg-white hover:bg-slate-100"],"cursor-pointer border border-slate-200 rounded-lg py-1.5 px-3 text-sm font-medium transition-all duration-200"]),onClick:e[5]||(e[5]=l=>{var a;return(a=t.toggleComponentModeFunction)==null?void 0:a.call(t)})},Gt(t.isComponentMode?"⚒️ Modo Configuración":"👁️ Modo Visual"),3),B("button",{type:"button",class:oo([[t.fullwidthMode?"bg-white hover:bg-slate-100":"bg-gradient-to-r from-slate-600 to-slate-700 border-slate-700 text-white shadow-md"],"cursor-pointer border border-slate-200 rounded-lg py-1.5 px-3 text-sm font-medium transition-all duration-200"]),onClick:e[6]||(e[6]=l=>{var a;return(a=t.toggleFullwidthMode)==null?void 0:a.call(t)})},Gt(t.fullwidthMode?"⚒️ Comps. Plegados":"👁️ Comps. Desplegados"),3)]),B("div",iX,[B("select",{value:t.sectionSelected,onChange:e[7]||(e[7]=l=>t.$emit("update:sectionSelected",l.target.value)),class:"bg-white border border-slate-200 rounded-lg px-3 py-1.5 cursor-pointer text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 transition-colors"},[(Oe(!0),ke(hn,null,Vr(t.availableSections,(l,a)=>(Oe(),ke("option",{key:a,value:l},Gt(l),9,aX))),128))],40,lX),Gr(B("select",{class:"bg-white border border-slate-200 rounded-lg px-3 py-1.5 cursor-pointer text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 transition-colors","onUpdate:modelValue":e[8]||(e[8]=l=>t.sectionWidth=l)},[e[34]||(e[34]=B("option",{disabled:"",value:""},"Selecciona el ancho de la sección",-1)),B("option",sX,"Sección "+Gt(t.sectionSelected)+" ocupa todo el ancho de la página",1),B("option",cX,"Sección "+Gt(t.sectionSelected)+" ocupa 1/2 del ancho de la página",1),B("option",dX,"Sección "+Gt(t.sectionSelected)+" ocupa 1/3 del ancho de la página",1),B("option",uX,"Sección "+Gt(t.sectionSelected)+" ocupa 2/3 del ancho de la página",1),B("option",pX,"Sección "+Gt(t.sectionSelected)+" ocupa 1/4 del ancho de la página",1),B("option",hX,"Sección "+Gt(t.sectionSelected)+" ocupa 3/4 del ancho de la página",1),B("option",fX,"Sección "+Gt(t.sectionSelected)+" ocupa 1/5 del ancho de la página",1),B("option",mX,"Sección "+Gt(t.sectionSelected)+" ocupa 2/5 del ancho de la página",1),B("option",bX,"Sección "+Gt(t.sectionSelected)+" ocupa 3/5 del ancho de la página",1),B("option",gX,"Sección "+Gt(t.sectionSelected)+" ocupa 4/5 del ancho de la página",1)],512),[[Gi,t.sectionWidth]]),B("button",{type:"button",class:oo(["cursor-pointer border rounded-lg py-1.5 px-3 text-sm font-medium transition-all duration-200 flex items-center gap-2",t.showAdvancedConfig?"bg-gradient-to-r from-amber-500 to-orange-500 border-amber-500 text-white shadow-md":"bg-white border-slate-200 hover:bg-slate-100"]),onClick:e[9]||(e[9]=l=>t.showAdvancedConfig=!t.showAdvancedConfig)},[e[35]||(e[35]=B("span",null,"⚙️ Configurar",-1)),t.showAdvancedConfig?(Oe(),ke("span",vX,"▲")):(Oe(),ke("span",yX,"▼"))],2)]),B("div",CX,[B("button",{type:"button",onClick:e[10]||(e[10]=l=>t.previewFunction()),class:"cursor-pointer bg-white hover:bg-violet-500 hover:text-white hover:border-violet-500 border border-slate-200 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"🔎 Previsualización"),B("button",{type:"button",onClick:e[11]||(e[11]=l=>t.saveButtonAction()),title:"Guardar configuración en localStorage y disparar evento global",class:"cursor-pointer bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600 text-white border border-emerald-500 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},Gt(t.isSaved?t.submitForm?"⏳ Submiteando formulario":"✅ Se ha guardado correctamente":"💾 Guardar"),1),t.debugMode?(Oe(),ke("button",{key:0,type:"button",onClick:e[12]||(e[12]=l=>t.loadFromLocalStorage()),class:"cursor-pointer bg-white hover:bg-blue-500 hover:text-white hover:border-blue-500 border border-slate-200 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"⤵️ Cargar")):wn("",!0),B("button",{type:"button",onClick:e[13]||(e[13]=l=>t.toggleExpandScreen()),title:"Expandir / Contraer Pagebuilder",class:"cursor-pointer bg-white hover:bg-slate-700 hover:text-white hover:border-slate-700 border border-slate-200 rounded-lg px-3 py-1.5 text-xl transition-all duration-200 shadow-sm hover:shadow-md ms-2"},"◳")]),e[36]||(e[36]=B("div",{class:"w-full border-t border-slate-100 mt-2 pt-1.5 text-center text-xs text-slate-400 italic"}," El resultado final únicamente se ve a través del botón de Previsualización ",-1))]),t.showAdvancedConfig&&t.parametersPageConfiguration?(Oe(),ke("div",xX,[B("div",wX,[B("div",OX,[e[44]||(e[44]=B("h2",{class:"text-lg font-bold mb-4 text-slate-700"},"Configuración Avanzada",-1)),e[45]||(e[45]=B("h3",{class:"font-semibold mb-3 text-slate-600"},"Configuración Global",-1)),B("div",SX,[B("div",kX,[B("label",TX,[Gr(B("input",{type:"checkbox","onUpdate:modelValue":e[14]||(e[14]=l=>t.parametersPageConfiguration.global.sidebarEnabled=l),onChange:e[15]||(e[15]=l=>t.$emit("update:parametersPageConfiguration.global.sidebarEnabled",l.target.value)),class:"w-5 h-5 rounded border-slate-300 text-emerald-500 focus:ring-emerald-500 cursor-pointer"},null,544),[[ih,t.parametersPageConfiguration.global.sidebarEnabled]]),e[37]||(e[37]=B("span",{class:"text-slate-600 group-hover:text-slate-800 transition-colors"},"Sidebar Habilitado",-1))])]),B("div",EX,[e[40]||(e[40]=B("span",{class:"block text-sm font-medium text-slate-600 mb-2"},"Modo de renderizado",-1)),B("div",$X,[B("label",{class:oo(["flex items-center gap-3 group",t.allowRenderMode==="open"?"cursor-pointer":"cursor-not-allowed opacity-60"])},[Gr(B("input",{type:"radio","onUpdate:modelValue":e[16]||(e[16]=l=>t.parametersPageConfiguration.global.renderAsBodyPart=l),value:!1,disabled:t.allowRenderMode!=="open",onChange:e[17]||(e[17]=l=>t.$emit("update:parametersPageConfiguration.global.renderAsBodyPart",!1)),class:oo(["w-4 h-4 border-slate-300 text-emerald-500 focus:ring-emerald-500",t.allowRenderMode==="open"?"cursor-pointer":"cursor-not-allowed"])},null,42,MX),[[lh,t.parametersPageConfiguration.global.renderAsBodyPart]]),e[38]||(e[38]=B("span",{class:"text-slate-600 group-hover:text-slate-800 transition-colors"},"Renderizar como una página completa",-1))],2),B("label",{class:oo(["flex items-center gap-3 group",t.allowRenderMode==="open"?"cursor-pointer":"cursor-not-allowed opacity-60"])},[Gr(B("input",{type:"radio","onUpdate:modelValue":e[18]||(e[18]=l=>t.parametersPageConfiguration.global.renderAsBodyPart=l),value:!0,disabled:t.allowRenderMode!=="open",onChange:e[19]||(e[19]=l=>t.$emit("update:parametersPageConfiguration.global.renderAsBodyPart",!0)),class:oo(["w-4 h-4 border-slate-300 text-emerald-500 focus:ring-emerald-500",t.allowRenderMode==="open"?"cursor-pointer":"cursor-not-allowed"])},null,42,PX),[[lh,t.parametersPageConfiguration.global.renderAsBodyPart]]),e[39]||(e[39]=B("span",{class:"text-slate-600 group-hover:text-slate-800 transition-colors"},"Renderizar como parte del Body (sin etiquetas HTML, HEAD, BODY)",-1))],2),t.allowRenderMode!=="open"?(Oe(),ke("span",LX,"El modo de renderizado está fijado externamente y no puede modificarse.")):wn("",!0)])]),t.parametersPageConfiguration.global.renderAsBodyPart?wn("",!0):(Oe(),ke("div",AX,[e[41]||(e[41]=B("label",{for:"headSlot",class:"block text-sm font-medium text-slate-600 mb-2"}," Código al final de la sección <head> ",-1)),Gr(B("textarea",{id:"headSlot","onUpdate:modelValue":e[20]||(e[20]=l=>t.parametersPageConfiguration.global.headSlot=l),onInput:e[21]||(e[21]=l=>t.$emit("update:parametersPageConfiguration.global.headSlot",l.target.value)),class:"w-full px-4 py-3 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm font-mono transition-colors",placeholder:"Contenido para el head",rows:"3"},null,544),[[ql,t.parametersPageConfiguration.global.headSlot]])])),t.parametersPageConfiguration.global.renderAsBodyPart?wn("",!0):(Oe(),ke("div",NX,[e[42]||(e[42]=B("label",{for:"bodyBeginSlot",class:"block text-sm font-medium text-slate-600 mb-2"}," Código al principio de la sección <body> ",-1)),Gr(B("textarea",{id:"bodyBeginSlot","onUpdate:modelValue":e[22]||(e[22]=l=>t.parametersPageConfiguration.global.bodyBeginSlot=l),onInput:e[23]||(e[23]=l=>t.$emit("update:parametersPageConfiguration.global.bodyBeginSlot",l.target.value)),class:"w-full px-4 py-3 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm font-mono transition-colors",placeholder:"Contenido para el inicio del body",rows:"3"},null,544),[[ql,t.parametersPageConfiguration.global.bodyBeginSlot]])])),t.parametersPageConfiguration.global.renderAsBodyPart?wn("",!0):(Oe(),ke("div",jX,[e[43]||(e[43]=B("label",{for:"footerSlot",class:"block text-sm font-medium text-slate-600 mb-2"}," Código al final de la sección <body>, dentro de la etiqueta <footer> ",-1)),Gr(B("textarea",{id:"footerSlot","onUpdate:modelValue":e[24]||(e[24]=l=>t.parametersPageConfiguration.global.footerSlot=l),onInput:e[25]||(e[25]=l=>t.$emit("update:parametersPageConfiguration.global.footerSlot",l.target.value)),class:"w-full px-4 py-3 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm font-mono transition-colors",placeholder:"Contenido para el footer",rows:"3"},null,544),[[ql,t.parametersPageConfiguration.global.footerSlot]])]))])]),t.parametersPageConfiguration.global.renderAsBodyPart?wn("",!0):(Oe(),ke("div",_X,[B("div",RX,[e[46]||(e[46]=B("h2",{class:"text-lg font-bold text-slate-700"},"Configuración SEO",-1)),B("button",{type:"button",onClick:e[26]||(e[26]=l=>t.validateSeo()),class:"cursor-pointer bg-gradient-to-r from-violet-500 to-purple-500 hover:from-violet-600 hover:to-purple-600 text-white border border-violet-500 rounded-lg px-4 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"🦄 Validar SEO")]),B("div",QX,[B("div",IX,[e[48]||(e[48]=B("label",{for:"robotsIndex",class:"block text-sm font-medium text-slate-600 mb-2"}," Indexación de robots ",-1)),Gr(B("select",{id:"robotsIndex","onUpdate:modelValue":e[27]||(e[27]=l=>t.parametersPageConfiguration.seo.robots=l),onChange:e[28]||(e[28]=l=>t.$emit("update:parametersPageConfiguration.seo.robots",l.target.value)),class:"w-full px-4 py-2.5 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm transition-colors cursor-pointer"},[...e[47]||(e[47]=[B("option",{value:"index, follow"},"Index Follow",-1),B("option",{value:"noindex, nofollow"},"Noindex Nofollow",-1)])],544),[[Gi,t.parametersPageConfiguration.seo.robots]])]),B("div",DX,[e[49]||(e[49]=B("label",{for:"pageTitle",class:"block text-sm font-medium text-slate-600 mb-2"}," Título de la página ",-1)),Gr(B("input",{id:"pageTitle",type:"text","onUpdate:modelValue":e[29]||(e[29]=l=>t.parametersPageConfiguration.seo.title=l),onInput:e[30]||(e[30]=l=>t.$emit("update:parametersPageConfiguration.seo.title",l.target.value)),class:"w-full px-4 py-2.5 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm transition-colors",placeholder:"Ingresa el título de la página"},null,544),[[ql,t.parametersPageConfiguration.seo.title]])]),B("div",zX,[e[50]||(e[50]=B("label",{for:"pageDescription",class:"block text-sm font-medium text-slate-600 mb-2"}," Descripción de la página ",-1)),Gr(B("textarea",{id:"pageDescription","onUpdate:modelValue":e[31]||(e[31]=l=>t.parametersPageConfiguration.seo.description=l),onInput:e[32]||(e[32]=l=>t.$emit("update:parametersPageConfiguration.seo.description",l.target.value)),class:"w-full px-4 py-3 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm transition-colors",placeholder:"Ingresa la descripción de la página",rows:"3"},null,544),[[ql,t.parametersPageConfiguration.seo.description]])])])]))])])):wn("",!0)],512)}const ZX=$T(JH,[["render",VX]]);var MT={};(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(':root{--le-toolbar-bg: #f8f9fb;--le-toolbar-border: #e4e7ec;--le-toolbar-btn-color: #64748b;--le-toolbar-btn-hover-bg: rgba(0, 0, 0, .06);--le-toolbar-btn-hover-color: #334155;--le-toolbar-btn-active-bg: rgba(74, 108, 247, .12);--le-toolbar-btn-active-color: #4a6cf7;--le-toolbar-separator: #e2e8f0;--le-editor-bg: #ffffff;--le-editor-text-color: #1e293b;--le-editor-border: #e2e8f0;--le-editor-border-focus: #4a6cf7;--le-editor-border-radius: 10px;--le-editor-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--le-editor-font-size: 15px;--le-editor-line-height: 1.7;--le-editor-padding: 20px 24px;--le-editor-min-height: 200px;--le-editor-placeholder-color: #94a3b8;--le-accent: #4a6cf7;--le-accent-hover: #3b5de7;--le-accent-light: rgba(74, 108, 247, .1);--le-dropdown-bg: #ffffff;--le-dropdown-shadow: 0 8px 32px rgba(0, 0, 0, .1), 0 2px 8px rgba(0, 0, 0, .05);--le-dropdown-border: #f1f5f9;--le-statusbar-color: #94a3b8;--le-statusbar-bg: #f8fafc}[data-ledithor]{width:100%}.le-editor-container{display:flex;flex-direction:column;width:100%;border:1.5px solid var(--le-editor-border);border-radius:var(--le-editor-border-radius);overflow:hidden;background:var(--le-editor-bg);box-shadow:0 1px 4px #0000000a;transition:border-color .2s ease,box-shadow .2s ease}.le-editor-container:focus-within{border-color:var(--le-editor-border-focus);box-shadow:0 0 0 3px var(--le-accent-light)}.le-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 10px;background:var(--le-toolbar-bg);border-bottom:1px solid var(--le-toolbar-border);-webkit-user-select:none;user-select:none}.le-toolbar-group{display:flex;align-items:center;gap:1px}.le-toolbar-separator{width:1px;height:18px;background:var(--le-toolbar-separator);margin:0 5px;flex-shrink:0}.le-toolbar button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;height:32px;padding:0;border:none;border-radius:6px;background:transparent;color:var(--le-toolbar-btn-color);cursor:pointer;font-size:14px;transition:background .15s ease,color .15s ease}.le-toolbar button:hover{background:var(--le-toolbar-btn-hover-bg);color:var(--le-toolbar-btn-hover-color, var(--le-toolbar-btn-color))}.le-toolbar button:active{opacity:.8}.le-toolbar button.is-active{background:var(--le-toolbar-btn-active-bg);color:var(--le-toolbar-btn-active-color)}.le-toolbar button[disabled]{opacity:.3;cursor:not-allowed}.le-toolbar button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.le-toolbar button:after{content:attr(title);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%) translateY(3px);padding:4px 9px;background:#1e293b;color:#f1f5f9;font-size:11px;font-weight:500;border-radius:5px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s ease,transform .15s ease;z-index:1000;letter-spacing:.01em;box-shadow:0 2px 8px #00000026}.le-toolbar button:before{content:"";position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%);border:4px solid transparent;border-top-color:#1e293b;pointer-events:none;opacity:0;transition:opacity .15s ease;z-index:1000}.le-toolbar button:hover:after,.le-toolbar button:hover:before{opacity:1}.le-toolbar button:hover:after{transform:translate(-50%) translateY(0)}.le-editor-content{flex:1;overflow-y:auto;position:relative}.le-editor-content .tiptap{padding:var(--le-editor-padding);min-height:var(--le-editor-min-height);font-family:var(--le-editor-font-family);font-size:var(--le-editor-font-size);line-height:var(--le-editor-line-height);color:var(--le-editor-text-color);outline:none;caret-color:var(--le-accent)}.le-editor-content .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--le-editor-placeholder-color);pointer-events:none;height:0;font-style:italic}.le-editor-content .tiptap h1{font-size:1.9em;margin:.8em 0 .4em;font-weight:700;letter-spacing:-.02em;color:var(--le-editor-text-color);line-height:1.25}.le-editor-content .tiptap h2{font-size:1.5em;margin:.75em 0 .4em;font-weight:600;letter-spacing:-.01em;color:var(--le-editor-text-color);line-height:1.3}.le-editor-content .tiptap h3{font-size:1.2em;margin:.65em 0 .3em;font-weight:600;color:var(--le-editor-text-color);line-height:1.35}.le-editor-content .tiptap h4{font-size:1.05em;margin:.5em 0 .3em;font-weight:600;color:var(--le-editor-text-color)}.le-editor-content .tiptap p{margin:0 0 .6em}.le-editor-content .tiptap p:last-child{margin-bottom:0}.le-editor-content .tiptap ul,.le-editor-content .tiptap ol{padding-left:1.6em;margin:.5em 0 .7em}.le-editor-content .tiptap li{margin:.2em 0}.le-editor-content .tiptap li::marker{color:var(--le-accent)}.le-editor-content .tiptap blockquote{border-left:3px solid var(--le-accent);padding:.7em 1.2em;margin:1em 0;background:var(--le-accent-light);border-radius:0 6px 6px 0;color:var(--le-editor-text-color);font-style:italic;opacity:.85}.le-editor-content .tiptap code{background:#0000000d;padding:2px 7px;border-radius:4px;font-size:.875em;font-family:JetBrains Mono,Fira Code,Consolas,monospace;color:var(--le-accent)}.le-editor-content .tiptap pre{background:#0f172a;color:#e2e8f0;padding:16px 20px;border-radius:8px;overflow-x:auto;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:13px;line-height:1.7;margin:.8em 0}.le-editor-content .tiptap pre code{background:none;padding:0;color:inherit;font-size:inherit}.le-editor-content .tiptap hr{border:none;height:2px;background:var(--le-toolbar-border);margin:1.5em 0;border-radius:2px}.le-editor-content .tiptap img{max-width:100%;height:auto;border-radius:6px;box-shadow:0 2px 10px #00000014}.le-editor-content .tiptap table{border-collapse:collapse;width:100%;margin:1em 0;border-radius:6px;overflow:hidden;border:1px solid var(--le-toolbar-border);font-size:.95em}.le-editor-content .tiptap th,.le-editor-content .tiptap td{border:1px solid var(--le-toolbar-border);padding:9px 13px;text-align:left}.le-editor-content .tiptap th{background:var(--le-toolbar-bg);font-weight:600;color:var(--le-editor-text-color);font-size:.875em;text-transform:uppercase;letter-spacing:.04em}.le-editor-content .tiptap tr:hover td{background:var(--le-accent-light)}.le-editor-content .tiptap a{color:var(--le-accent);text-decoration:none;border-bottom:1px solid var(--le-accent-light);transition:border-color .15s}.le-editor-content .tiptap a:hover{border-bottom-color:var(--le-accent)}.le-editor-content .tiptap mark{background:#fef08a;padding:1px 3px;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.le-editor-content .tiptap ::selection{background:var(--le-accent-light)}.le-link-popup{position:absolute;z-index:100;background:var(--le-dropdown-bg);border:1px solid var(--le-dropdown-border);border-radius:10px;box-shadow:var(--le-dropdown-shadow);padding:8px;display:flex;gap:6px;animation:le-popup-in .18s ease}@keyframes le-popup-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.le-link-popup input{border:1.5px solid var(--le-editor-border);border-radius:7px;padding:8px 12px;font-size:13px;width:250px;outline:none;font-family:inherit;background:var(--le-editor-bg);color:var(--le-editor-text-color);transition:border-color .15s,box-shadow .15s}.le-link-popup input:focus{border-color:var(--le-accent);box-shadow:0 0 0 3px var(--le-accent-light)}.le-link-popup button{padding:8px 14px;border:none;border-radius:7px;background:var(--le-accent);color:#fff;cursor:pointer;font-size:13px;font-weight:600;transition:background .15s,opacity .15s;white-space:nowrap}.le-link-popup button:hover{background:var(--le-accent-hover, var(--le-accent));opacity:.9}.le-link-popup button:active{opacity:.75}.le-heading-dropdown{position:absolute;z-index:100;background:var(--le-dropdown-bg);border:1px solid var(--le-dropdown-border);border-radius:10px;box-shadow:var(--le-dropdown-shadow);padding:4px;min-width:150px;animation:le-popup-in .18s ease}.le-heading-dropdown button{display:block;width:100%;text-align:left;padding:7px 12px;border:none;background:none;cursor:pointer;border-radius:6px;font-size:13px;color:var(--le-toolbar-btn-color);transition:background .12s,color .12s}.le-heading-dropdown button:hover{background:var(--le-toolbar-btn-hover-bg);color:var(--le-accent)}.le-dropdown-scroll{max-height:280px;overflow-y:auto}.le-color-popup{position:absolute;z-index:100;top:100%;left:0;background:var(--le-dropdown-bg);border:1px solid var(--le-dropdown-border);border-radius:var(--le-dropdown-radius);box-shadow:var(--le-dropdown-shadow);padding:8px;animation:le-popup-in .18s ease}.le-color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.le-color-swatch{width:24px;height:24px;border:2px solid transparent;border-radius:4px;cursor:pointer;padding:0;transition:border-color .12s,transform .12s}.le-color-swatch:hover{border-color:var(--le-accent);transform:scale(1.15)}.le-color-unset{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;margin-top:4px;padding:5px 0;border:1px solid var(--le-editor-border, #e2e8f0);border-radius:4px;background:var(--le-dropdown-bg, #fff);color:var(--le-toolbar-btn-color);font-size:11px;font-family:var(--le-editor-font-family, system-ui, sans-serif);cursor:pointer;text-align:center;transition:background .12s,border-color .12s,color .12s}.le-color-unset:hover{border-color:var(--le-accent);color:var(--le-accent);background:var(--le-accent-light, rgba(74, 108, 247, .06))}.le-color-unset svg{width:12px;height:12px;stroke:currentColor;stroke-width:2;fill:none}.le-statusbar{display:flex;align-items:center;padding:5px 16px;font-size:11px;font-weight:500;letter-spacing:.02em;color:var(--le-statusbar-color, #94a3b8);background:var(--le-statusbar-bg, #f8fafc);border-top:1px solid var(--le-toolbar-border)}.le-statusbar-left,.le-statusbar-right{flex:1}.le-statusbar-right{text-align:right}.le-statusbar-center{display:flex;align-items:center;gap:5px;opacity:.7}.le-statusbar-center svg{width:16px;height:16px}.le-statusbar-center span{font-size:13px;font-weight:600;letter-spacing:.04em}.le-toolbar-wrapper{display:flex;align-items:flex-start;background:var(--le-toolbar-bg);border-bottom:1px solid var(--le-toolbar-border)}.le-toolbar-wrapper .le-toolbar{flex:1;border-bottom:none}.le-btn-fullscreen{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin:6px 8px 0 0;padding:0;border:none;border-radius:4px;background:transparent;color:var(--le-toolbar-btn-color);cursor:pointer;flex-shrink:0;transition:background .15s,color .15s}.le-btn-fullscreen svg{width:16px;height:16px}.le-btn-fullscreen:hover{background:var(--le-toolbar-btn-hover-bg, rgba(0, 0, 0, .06));color:var(--le-accent, #4a6cf7)}.le-fullscreen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--le-fullscreen-z, 2147483647);background:#00000080;display:flex;align-items:center;justify-content:center;padding:24px}.le-editor-container.le-fullscreen{width:100%;height:100%;max-width:100%;max-height:100%;border-radius:10px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;overflow:hidden}.le-fullscreen .le-toolbar-wrapper{flex-shrink:0}.le-fullscreen .le-editor-content{flex:1 1 0;min-height:0;max-height:none!important;overflow:hidden;display:flex;flex-direction:column}.le-fullscreen .le-editor-content .tiptap{flex:1 1 0;min-height:0!important;max-height:none!important;overflow-y:auto}.le-fullscreen .le-html-source{flex:1 1 0;min-height:0;overflow:hidden}.le-fullscreen .le-html-source .cm-editor{height:100%}.le-fullscreen .le-html-source .cm-scroller{flex:1;max-height:none!important}.le-fullscreen .le-statusbar{flex-shrink:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px;border-top:1px solid var(--le-toolbar-border);padding:8px 20px}.le-btn-heading{font-weight:700!important;background:var(--le-editor-border, #e2e8f0)!important;border-radius:4px!important;margin:0 1px;min-width:28px}.le-btn-heading:hover,.le-btn-heading.is-active{background:var(--le-accent, #4a6cf7)!important;color:#fff!important}.le-html-editor{display:block;box-sizing:border-box}.le-toolbar button[data-btn=html].is-active{background:#0f172a;color:#22d3ee}.le-editor-container .le-html-source{display:block;width:100%;margin:0;border:none;border-top:2px solid #1e293b;box-sizing:border-box;overflow:hidden}.le-html-source .cm-scroller::-webkit-scrollbar{width:5px}.le-html-source .cm-scroller::-webkit-scrollbar-track{background:transparent}.le-html-source .cm-scroller::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:3px}.le-html-notice{padding:8px 16px;background:#1e293b;color:#fbbf24;font-size:12px;font-family:var(--le-font-text, system-ui, sans-serif);border-bottom:1px solid #334155;text-align:center;animation:le-notice-fade 4s ease-in-out forwards}@keyframes le-notice-fade{0%,70%{opacity:1}to{opacity:0}}.le-btn-html.is-active{background:#0f172a!important;color:#22d3ee!important}.le-prompt-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--le-fullscreen-z, 2147483647);background:#0006;display:flex;align-items:center;justify-content:center;animation:le-popup-in .18s ease}.le-prompt-dialog{background:var(--le-dropdown-bg, #fff);border-radius:12px;padding:24px;min-width:340px;max-width:480px;box-shadow:0 20px 60px #0003}.le-prompt-label{display:block;font-size:14px;font-weight:600;color:var(--le-editor-text-color, #1e293b);margin-bottom:10px;font-family:var(--le-editor-font-family, system-ui, sans-serif)}.le-prompt-input{width:100%;padding:10px 14px;border:1.5px solid var(--le-editor-border, #e2e8f0);border-radius:8px;font-size:14px;font-family:inherit;color:var(--le-editor-text-color, #1e293b);background:var(--le-editor-bg, #fff);outline:none;transition:border-color .15s,box-shadow .15s;box-sizing:border-box}.le-prompt-input:focus{border-color:var(--le-accent, #4a6cf7);box-shadow:0 0 0 3px var(--le-accent-light, rgba(74, 108, 247, .1))}.le-prompt-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.le-prompt-btn{padding:8px 18px;border:none;border-radius:7px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s,opacity .15s}.le-prompt-btn-cancel{background:var(--le-toolbar-btn-hover-bg, rgba(0,0,0,.06));color:var(--le-toolbar-btn-color, #64748b)}.le-prompt-btn-cancel:hover{opacity:.8}.le-prompt-btn-confirm{background:var(--le-accent, #4a6cf7);color:#fff}.le-prompt-btn-confirm:hover{background:var(--le-accent-hover, #3b5de7)}.le-editor-content::-webkit-scrollbar{width:5px}.le-editor-content::-webkit-scrollbar-track{background:transparent}.le-editor-content::-webkit-scrollbar-thumb{background:#0000001f;border-radius:3px}.le-editor-content::-webkit-scrollbar-thumb:hover{background:#00000038}.le-html-source::-webkit-scrollbar{width:5px}.le-html-source::-webkit-scrollbar-track{background:transparent}.le-html-source::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:3px}.le-editor-content .tiptap div[data-type=styled-box]{display:block;margin:.7em 0}.le-theme-laboral{--le-accent: #10b981;--le-accent-hover: #059669;--le-accent-light: rgba(16, 185, 129, .12);--le-toolbar-bg: #f0fdf4;--le-toolbar-btn-hover-bg: rgba(16, 185, 129, .08);--le-toolbar-btn-active-bg: rgba(16, 185, 129, .14);--le-toolbar-btn-active-color: #065f46;--le-editor-border-focus: #10b981}.le-theme-fiscal{--le-accent: #f59e0b;--le-accent-hover: #d97706;--le-accent-light: rgba(245, 158, 11, .12);--le-toolbar-bg: #fffbeb;--le-toolbar-btn-hover-bg: rgba(245, 158, 11, .08);--le-toolbar-btn-active-bg: rgba(245, 158, 11, .15);--le-toolbar-btn-active-color: #92400e;--le-editor-border-focus: #f59e0b}.le-theme-civil{--le-accent: #3b82f6;--le-accent-hover: #2563eb;--le-accent-light: rgba(59, 130, 246, .12);--le-toolbar-bg: #eff6ff;--le-toolbar-btn-hover-bg: rgba(59, 130, 246, .08);--le-toolbar-btn-active-bg: rgba(59, 130, 246, .14);--le-toolbar-btn-active-color: #1e40af;--le-editor-border-focus: #3b82f6}.le-theme-penal{--le-accent: #ef4444;--le-accent-hover: #dc2626;--le-accent-light: rgba(239, 68, 68, .12);--le-toolbar-bg: #fef2f2;--le-toolbar-btn-hover-bg: rgba(239, 68, 68, .08);--le-toolbar-btn-active-bg: rgba(239, 68, 68, .14);--le-toolbar-btn-active-color: #991b1b;--le-editor-border-focus: #ef4444}.le-theme-social{--le-accent: #8b5cf6;--le-accent-hover: #7c3aed;--le-accent-light: rgba(139, 92, 246, .12);--le-toolbar-bg: #f5f3ff;--le-toolbar-btn-hover-bg: rgba(139, 92, 246, .08);--le-toolbar-btn-active-bg: rgba(139, 92, 246, .14);--le-toolbar-btn-active-color: #5b21b6;--le-editor-border-focus: #8b5cf6}.le-theme-mercantil{--le-accent: #14b8a6;--le-accent-hover: #0d9488;--le-accent-light: rgba(20, 184, 166, .12);--le-toolbar-bg: #f0fdfa;--le-toolbar-btn-hover-bg: rgba(20, 184, 166, .08);--le-toolbar-btn-active-bg: rgba(20, 184, 166, .14);--le-toolbar-btn-active-color: #115e59;--le-editor-border-focus: #14b8a6}.le-theme-dark{--le-toolbar-bg: #1e1e2e;--le-toolbar-border: #313244;--le-toolbar-btn-color: #a6adc8;--le-toolbar-btn-hover-bg: rgba(255, 255, 255, .07);--le-toolbar-btn-hover-color: #cdd6f4;--le-toolbar-btn-active-bg: rgba(137, 180, 250, .18);--le-toolbar-btn-active-color: #89b4fa;--le-toolbar-separator: #45475a;--le-editor-bg: #181825;--le-editor-text-color: #cdd6f4;--le-editor-border: #313244;--le-editor-border-focus: #89b4fa;--le-editor-placeholder-color: #6c7086;--le-accent: #89b4fa;--le-accent-hover: #74a8f8;--le-accent-light: rgba(137, 180, 250, .15);--le-dropdown-bg: #1e1e2e;--le-dropdown-border: #313244;--le-dropdown-shadow: 0 8px 32px rgba(0, 0, 0, .5);--le-statusbar-bg: #181825;--le-statusbar-color: #6c7086}.le-theme-compact{--le-editor-padding: 10px 14px;--le-editor-font-size: 13px;--le-editor-min-height: 120px;--le-editor-line-height: 1.5}.le-theme-dark.le-theme-laboral{--le-accent: #34d399;--le-accent-hover: #10b981;--le-accent-light: rgba(52, 211, 153, .15);--le-editor-border-focus: #34d399;--le-toolbar-btn-active-bg: rgba(52, 211, 153, .18);--le-toolbar-btn-active-color: #34d399}.le-theme-dark.le-theme-fiscal{--le-accent: #fbbf24;--le-accent-hover: #f59e0b;--le-accent-light: rgba(251, 191, 36, .15);--le-editor-border-focus: #fbbf24;--le-toolbar-btn-active-bg: rgba(251, 191, 36, .18);--le-toolbar-btn-active-color: #fbbf24}.le-theme-dark.le-theme-civil{--le-accent: #60a5fa;--le-accent-hover: #3b82f6;--le-accent-light: rgba(96, 165, 250, .15);--le-editor-border-focus: #60a5fa;--le-toolbar-btn-active-bg: rgba(96, 165, 250, .18);--le-toolbar-btn-active-color: #60a5fa}.le-theme-dark.le-theme-penal{--le-accent: #f87171;--le-accent-hover: #ef4444;--le-accent-light: rgba(248, 113, 113, .15);--le-editor-border-focus: #f87171;--le-toolbar-btn-active-bg: rgba(248, 113, 113, .18);--le-toolbar-btn-active-color: #f87171}.le-theme-dark.le-theme-social{--le-accent: #a78bfa;--le-accent-hover: #8b5cf6;--le-accent-light: rgba(167, 139, 250, .15);--le-editor-border-focus: #a78bfa;--le-toolbar-btn-active-bg: rgba(167, 139, 250, .18);--le-toolbar-btn-active-color: #a78bfa}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();function $2(t){this.content=t}$2.prototype={constructor:$2,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},get:function(t){var e=this.find(t);return e==-1?void 0:this.content[e+1]},update:function(t,e,n){var r=n&&n!=t?this.remove(n):this,o=r.find(t),i=r.content.slice();return o==-1?i.push(n||t,e):(i[o+1]=e,n&&(i[o]=n)),new $2(i)},remove:function(t){var e=this.find(t);if(e==-1)return this;var n=this.content.slice();return n.splice(e,2),new $2(n)},addToStart:function(t,e){return new $2([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new $2(n)},addBefore:function(t,e,n){var r=this.remove(e),o=r.content.slice(),i=r.find(t);return o.splice(i==-1?o.length:i,0,e,n),new $2(o)},forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return t=$2.from(t),t.size?new $2(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=$2.from(t),t.size?new $2(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=$2.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},toObject:function(){var t={};return this.forEach(function(e,n){t[e]=n}),t},get size(){return this.content.length>>1}},$2.from=function(t){if(t instanceof $2)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new $2(e)};function PT(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let o=t.child(r),i=e.child(r);if(o==i){n+=o.nodeSize;continue}if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(let l=0;o.text[l]==i.text[l];l++)n++;return n}if(o.content.size||i.content.size){let l=PT(o.content,i.content,n+1);if(l!=null)return l}n+=o.nodeSize}}function LT(t,e,n,r){for(let o=t.childCount,i=e.childCount;;){if(o==0||i==0)return o==i?null:{a:n,b:r};let l=t.child(--o),a=e.child(--i),s=l.nodeSize;if(l==a){n-=s,r-=s;continue}if(!l.sameMarkup(a))return{a:n,b:r};if(l.isText&&l.text!=a.text){let u=0,p=Math.min(l.text.length,a.text.length);for(;u<p&&l.text[l.text.length-u-1]==a.text[a.text.length-u-1];)u++,n--,r--;return{a:n,b:r}}if(l.content.size||a.content.size){let u=LT(l.content,a.content,n-1,r-1);if(u)return u}n-=s,r-=s}}class it{constructor(e,n){if(this.content=e,this.size=n||0,n==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,n,r,o=0,i){for(let l=0,a=0;a<n;l++){let s=this.content[l],u=a+s.nodeSize;if(u>e&&r(s,o+a,i||null,l)!==!1&&s.content.size){let p=a+1;s.nodesBetween(Math.max(0,e-p),Math.min(s.content.size,n-p),r,o+p)}a=u}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,o){let i="",l=!0;return this.nodesBetween(e,n,(a,s)=>{let u=a.isText?a.text.slice(Math.max(e,s)-s,n-s):a.isLeaf?o?typeof o=="function"?o(a):o:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&u||a.isTextblock)&&r&&(l?l=!1:i+=r),i+=u},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,o=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(o[o.length-1]=n.withText(n.text+r.text),i=1);i<e.content.length;i++)o.push(e.content[i]);return new it(o,this.size+e.size)}cut(e,n=this.size){if(e==0&&n==this.size)return this;let r=[],o=0;if(n>e)for(let i=0,l=0;l<n;i++){let a=this.content[i],s=l+a.nodeSize;s>e&&((l<e||s>n)&&(a.isText?a=a.cut(Math.max(0,e-l),Math.min(a.text.length,n-l)):a=a.cut(Math.max(0,e-l-1),Math.min(a.content.size,n-l-1))),r.push(a),o+=a.nodeSize),l=s}return new it(r,o)}cutByIndex(e,n){return e==n?it.empty:e==0&&n==this.content.length?this:new it(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let o=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return o[e]=n,new it(o,i)}addToStart(e){return new it([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new it(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(e.content[n]))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 n=this.content[e];if(!n)throw new RangeError("Index "+e+" out of range for "+this);return n}maybeChild(e){return this.content[e]||null}forEach(e){for(let n=0,r=0;n<this.content.length;n++){let o=this.content[n];e(o,r,n),r+=o.nodeSize}}findDiffStart(e,n=0){return PT(this,e,n)}findDiffEnd(e,n=this.size,r=e.size){return LT(this,e,n,r)}findIndex(e){if(e==0)return B5(0,e);if(e==this.size)return B5(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let o=this.child(n),i=r+o.nodeSize;if(i>=e)return i==e?B5(n+1,i):B5(n,r);r=i}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return it.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new it(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return it.empty;let n,r=0;for(let o=0;o<e.length;o++){let i=e[o];r+=i.nodeSize,o&&i.isText&&e[o-1].sameMarkup(i)?(n||(n=e.slice(0,o)),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new it(n||e,r)}static from(e){if(!e)return it.empty;if(e instanceof it)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new it([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}it.empty=new it([],0);const W8={index:0,offset:0};function B5(t,e){return W8.index=t,W8.offset=e,W8}function F5(t,e){if(t===e)return!0;if(!(t&&typeof t=="object")||!(e&&typeof e=="object"))return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!F5(t[r],e[r]))return!1}else{for(let r in t)if(!(r in e)||!F5(t[r],e[r]))return!1;for(let r in e)if(!(r in t))return!1}return!0}let Fr=class SO{constructor(e,n){this.type=e,this.attrs=n}addToSet(e){let n,r=!1;for(let o=0;o<e.length;o++){let i=e[o];if(this.eq(i))return e;if(this.type.excludes(i.type))n||(n=e.slice(0,o));else{if(i.type.excludes(this.type))return e;!r&&i.type.rank>this.type.rank&&(n||(n=e.slice(0,o)),n.push(this),r=!0),n&&n.push(i)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return e.slice(0,n).concat(e.slice(n+1));return e}isInSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return!0;return!1}eq(e){return this==e||this.type==e.type&&F5(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);let o=r.create(n.attrs);return r.checkAttrs(o.attrs),o}static sameSet(e,n){if(e==n)return!0;if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(n[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return SO.none;if(e instanceof SO)return[e];let n=e.slice();return n.sort((r,o)=>r.type.rank-o.type.rank),n}};Fr.none=[];class H5 extends Error{}class Bt{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=NT(this.content,e+this.openStart,n);return r&&new Bt(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Bt(AT(this.content,e+this.openStart,n+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,n){if(!n)return Bt.empty;let r=n.openStart||0,o=n.openEnd||0;if(typeof r!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Bt(it.fromJSON(e,n.content),r,o)}static maxOpen(e,n=!0){let r=0,o=0;for(let i=e.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=e.lastChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.lastChild)o++;return new Bt(e,r,o)}}Bt.empty=new Bt(it.empty,0,0);function AT(t,e,n){let{index:r,offset:o}=t.findIndex(e),i=t.maybeChild(r),{index:l,offset:a}=t.findIndex(n);if(o==e||i.isText){if(a!=n&&!t.child(l).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=l)throw new RangeError("Removing non-flat range");return t.replaceChild(r,i.copy(AT(i.content,e-o-1,n-o-1)))}function NT(t,e,n,r){let{index:o,offset:i}=t.findIndex(e),l=t.maybeChild(o);if(i==e||l.isText)return r&&!r.canReplace(o,o,n)?null:t.cut(0,e).append(n).append(t.cut(e));let a=NT(l.content,e-i-1,n,l);return a&&t.replaceChild(o,l.copy(a))}function BX(t,e,n){if(n.openStart>t.depth)throw new H5("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new H5("Inconsistent open depths");return jT(t,e,n,0)}function jT(t,e,n,r){let o=t.index(r),i=t.node(r);if(o==e.index(r)&&r<t.depth-n.openStart){let l=jT(t,e,n,r+1);return i.copy(i.content.replaceChild(o,l))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&t.depth==r&&e.depth==r){let l=t.parent,a=l.content;return c1(l,a.cut(0,t.parentOffset).append(n.content).append(a.cut(e.parentOffset)))}else{let{start:l,end:a}=FX(n,t);return c1(i,RT(t,l,a,e,r))}else return c1(i,X5(t,e,r))}function _T(t,e){if(!e.type.compatibleContent(t.type))throw new H5("Cannot join "+e.type.name+" onto "+t.type.name)}function G8(t,e,n){let r=t.node(n);return _T(r,e.node(n)),r}function s1(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function sh(t,e,n,r){let o=(e||t).node(n),i=0,l=e?e.index(n):o.childCount;t&&(i=t.index(n),t.depth>n?i++:t.textOffset&&(s1(t.nodeAfter,r),i++));for(let a=i;a<l;a++)s1(o.child(a),r);e&&e.depth==n&&e.textOffset&&s1(e.nodeBefore,r)}function c1(t,e){return t.type.checkContent(e),t.copy(e)}function RT(t,e,n,r,o){let i=t.depth>o&&G8(t,e,o+1),l=r.depth>o&&G8(n,r,o+1),a=[];return sh(null,t,o,a),i&&l&&e.index(o)==n.index(o)?(_T(i,l),s1(c1(i,RT(t,e,n,r,o+1)),a)):(i&&s1(c1(i,X5(t,e,o+1)),a),sh(e,n,o,a),l&&s1(c1(l,X5(n,r,o+1)),a)),sh(r,null,o,a),new it(a)}function X5(t,e,n){let r=[];if(sh(null,t,n,r),t.depth>n){let o=G8(t,e,n+1);s1(c1(o,X5(t,e,n+1)),r)}return sh(e,null,n,r),new it(r)}function FX(t,e){let n=e.depth-t.openStart,r=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)r=e.node(o).copy(it.from(r));return{start:r.resolveNoCache(t.openStart+n),end:r.resolveNoCache(r.content.size-t.openEnd-n)}}class ch{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.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,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],o=e.child(n);return r?e.child(n).cut(r):o}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],o=n==0?0:this.path[n*3-1]+1;for(let i=0;i<e;i++)o+=r.child(i).nodeSize;return o}marks(){let e=this.parent,n=this.index();if(e.content.size==0)return Fr.none;if(this.textOffset)return e.child(n).marks;let r=e.maybeChild(n-1),o=e.maybeChild(n);if(!r){let a=r;r=o,o=a}let i=r.marks;for(var l=0;l<i.length;l++)i[l].type.spec.inclusive===!1&&(!o||!i[l].isInSet(o.marks))&&(i=i[l--].removeFromSet(i));return i}marksAcross(e){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,o=e.parent.maybeChild(e.index());for(var i=0;i<r.length;i++)r[i].type.spec.inclusive===!1&&(!o||!r[i].isInSet(o.marks))&&(r=r[i--].removeFromSet(r));return r}sharedDepth(e){for(let n=this.depth;n>0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new U5(this,e,r);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 n=1;n<=this.depth;n++)e+=(e?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return e+":"+this.parentOffset}static resolve(e,n){if(!(n>=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],o=0,i=n;for(let l=e;;){let{index:a,offset:s}=l.content.findIndex(i),u=i-s;if(r.push(l,a,o+s),!u||(l=l.child(a),l.isText))break;i=u-1,o+=s+1}return new ch(n,r,i)}static resolveCached(e,n){let r=QT.get(e);if(r)for(let i=0;i<r.elts.length;i++){let l=r.elts[i];if(l.pos==n)return l}else QT.set(e,r=new HX);let o=r.elts[r.i]=ch.resolve(e,n);return r.i=(r.i+1)%XX,o}}class HX{constructor(){this.elts=[],this.i=0}}const XX=12,QT=new WeakMap;class U5{constructor(e,n,r){this.$from=e,this.$to=n,this.depth=r}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 UX=Object.create(null);let Ms=class kO{constructor(e,n,r,o=Fr.none){this.type=e,this.attrs=n,this.marks=o,this.content=r||it.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,n,r,o=0){this.content.nodesBetween(e,n,r,o,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,n,r,o){return this.content.textBetween(e,n,r,o)}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,n,r){return this.type==e&&F5(this.attrs,n||e.defaultAttrs||UX)&&Fr.sameSet(this.marks,r||Fr.none)}copy(e=null){return e==this.content?this:new kO(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new kO(this.type,this.attrs,this.content,e)}cut(e,n=this.content.size){return e==0&&n==this.content.size?this:this.copy(this.content.cut(e,n))}slice(e,n=this.content.size,r=!1){if(e==n)return Bt.empty;let o=this.resolve(e),i=this.resolve(n),l=r?0:o.sharedDepth(n),a=o.start(l),s=o.node(l).content.cut(o.pos-a,i.pos-a);return new Bt(s,o.depth-l,i.depth-l)}replace(e,n,r){return BX(this.resolve(e),this.resolve(n),r)}nodeAt(e){for(let n=this;;){let{index:r,offset:o}=n.content.findIndex(e);if(n=n.maybeChild(r),!n)return null;if(o==e||n.isText)return n;e-=o+1}}childAfter(e){let{index:n,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(n),index:n,offset:r};let o=this.content.child(n-1);return{node:o,index:n-1,offset:r-o.nodeSize}}resolve(e){return ch.resolveCached(this,e)}resolveNoCache(e){return ch.resolve(this,e)}rangeHasMark(e,n,r){let o=!1;return n>e&&this.nodesBetween(e,n,i=>(r.isInSet(i.marks)&&(o=!0),!o)),o}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()+")"),IT(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=it.empty,o=0,i=r.childCount){let l=this.contentMatchAt(e).matchFragment(r,o,i),a=l&&l.matchFragment(this.content,n);if(!a||!a.validEnd)return!1;for(let s=o;s<i;s++)if(!this.type.allowsMarks(r.child(s).marks))return!1;return!0}canReplaceWith(e,n,r,o){if(o&&!this.type.allowsMarks(o))return!1;let i=this.contentMatchAt(e).matchType(r),l=i&&i.matchFragment(this.content,n);return l?l.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=Fr.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];r.type.checkAttrs(r.attrs),e=r.addToSet(e)}if(!Fr.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n 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(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let o=it.fromJSON(e,n.content),i=e.nodeType(n.type).create(n.attrs,o,r);return i.type.checkAttrs(i.attrs),i}};Ms.prototype.text=void 0;let WX=class TO extends Ms{constructor(e,n,r,o){if(super(e,n,null,o),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):IT(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new TO(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new TO(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function IT(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class d1{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new GX(e,n);if(r.next==null)return d1.empty;let o=DT(r);r.next&&r.err("Unexpected trailing text");let i=nU(tU(o));return rU(i,r),i}matchType(e){for(let n=0;n<this.next.length;n++)if(this.next[n].type==e)return this.next[n].next;return null}matchFragment(e,n=0,r=e.childCount){let o=this;for(let i=n;o&&i<r;i++)o=o.matchType(e.child(i).type);return o}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:n}=this.next[e];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(e){for(let n=0;n<this.next.length;n++)for(let r=0;r<e.next.length;r++)if(this.next[n].type==e.next[r].type)return!0;return!1}fillBefore(e,n=!1,r=0){let o=[this];function i(l,a){let s=l.matchFragment(e,r);if(s&&(!n||s.validEnd))return it.from(a.map(u=>u.createAndFill()));for(let u=0;u<l.next.length;u++){let{type:p,next:h}=l.next[u];if(!(p.isText||p.hasRequiredAttrs())&&o.indexOf(h)==-1){o.push(h);let b=i(h,a.concat(p));if(b)return b}}return null}return i(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}computeWrapping(e){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let o=r.shift(),i=o.match;if(i.matchType(e)){let l=[];for(let a=o;a.type;a=a.via)l.push(a.type);return l.reverse()}for(let l=0;l<i.next.length;l++){let{type:a,next:s}=i.next[l];!a.isLeaf&&!a.hasRequiredAttrs()&&!(a.name in n)&&(!o.type||s.validEnd)&&(r.push({match:a.contentMatch,type:a,via:o}),n[a.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 n(r){e.push(r);for(let o=0;o<r.next.length;o++)e.indexOf(r.next[o].next)==-1&&n(r.next[o].next)}return n(this),e.map((r,o)=>{let i=o+(r.validEnd?"*":" ")+" ";for(let l=0;l<r.next.length;l++)i+=(l?", ":"")+r.next[l].type.name+"->"+e.indexOf(r.next[l].next);return i}).join(`
42
+ `},{name:"buttonText",type:"text",label:"Texto del botón",mandatory:!0,example_value:"Adopta un gato"},{name:"buttonUrl",type:"text",label:"URL del botón",mandatory:!0,example_value:"/conocenos"},{name:"image",type:"image",label:"URL de la imagen",mandatory:!0,example_value:"https://assets.lefebvre.es/media/img/preview-comp/comp-4-3.png"},{name:"orientation",type:"select",label:"Orientación de la figura",options:["right","left"],options_labels:["Derecha","Izquierda"],example_value:"left"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Texto_2025_Kyoto",category:"Texto",name:"Texto 2025",description:"Bloque de texto HTML libre para la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["texto"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Título del bloque"},{name:"tipo",type:"select",label:"Etiqueta del título",options:["none","h2","h3"],options_labels:["Sin título","H2","H3"],example_value:"none"},{name:"contentHTML",type:"html",label:"Contenido HTML",mandatory:!1,example_value:"<p>Texto de ejemplo</p>"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Tiempo_2025_Londres",category:"Contenido",name:"Tiempo de lectura del post",description:"Muestra el tiempo de lectura en minutos con un icono de reloj",framework:"Astro",priority:1,tags:["tiempo","lectura","reloj"],fields:[{name:"minutes",type:"text",label:"Minutos de lectura",mandatory:!0,example_value:"20"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Titulo_2025_Algeciras",category:"Título",name:"Título Genial 2025",description:"Título para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["title","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Gatos atracadores: la nueva moda felina en puertos"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Descripción detallada sobre la moda felina en puertos"},{name:"tipo",type:"select",label:"Etiqueta del título",options:["h1","h2","h2-mb64","h3","h3-mb32","h4","h5","h6","p"],options_labels:["H1","H2","H2 con margen inferior 64px","H3","H3 con margen inferior 32px","H4","H5","H6","Párrafo"],example_value:"h1"},{name:"flexJustify",type:"select",label:"Justificación del contenido",options:["justify-start","justify-center"],options_labels:["Izquierda","Centro"],example_value:"justify-start"},{name:"descriptionWidth",type:"select",label:"Ancho de la descripción",options:["1/3","3/5","full"],options_labels:["1/3","3/5","Completo"],example_value:"1/3"},{name:"h1Subtitle",type:"text",label:"Subtitulo del h1",mandatory:!1,example_value:"Esto es un titulo"},{name:"subdescription",type:"text",label:"Texto de la descripción en Poppins a 20px",mandatory:!1,example_value:"Descripción detallada sobre la moda felina en puertos"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Titulo_2025_Santorini",category:"Título",name:"Texto azul Genial 2025",description:"Texto azul para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["texto","genial"],fields:[{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Ejemplo de un texto azul llamativo para destacar información importante en la página."}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"VideoAutoplay",category:"Contenido",name:"Sección con video autoplay",description:"Sección con video que se reproduce automáticamente",framework:"Astro",tags:["video","autoplay","lefebvre.es"],fields:[{name:"title",type:"text",label:"Título",mandatory:!0,example_value:"Hoy empieza un nuevo capítulo de nuestra historia"},{name:"description",type:"text",label:"Contenido principal",mandatory:!0,example_value:"Somos quienes te han acompañado durante décadas. Somos quienes se anticipan contigo al futuro del conocimiento jurídico."},{name:"iframeSrc",type:"video",label:"URL del vídeo",mandatory:!0,example_value:"https://player.vimeo.com/video/1087114916?controls=0&amp;autoplay=1&amp;muted=1&amp;loop=1&amp;badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Video_2025_Polop",category:"Contenido",name:"Vídeo Genial 2025",description:"Item con vídeo para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["video","genial"],fields:[{name:"title",type:"text",label:"Texto del título",mandatory:!1,example_value:"Gatos adorables que te alegrarán el día"},{name:"description",type:"text",label:"Texto de la descripción",mandatory:!1,example_value:"Los gatos son criaturas maravillosas que traen alegría y compañía a nuestras vidas."},{name:"iframeSrc",type:"video",label:"URL del vídeo",mandatory:!1,example_value:"https://lefebvre.es/genia-l/videos/genial/video-trazabilidad.mp4"}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"Video_2025_Valencia",category:"Contenido",name:"Item con vídeo Genial 2025",description:"Item con vídeo para el directorio de Genial en la corporativa de Lefebvre",framework:"Astro",priority:1,tags:["video","genial"],fields:[{name:"items",type:"list",label:"Listado de vídeos",mandatory:!1,items:{type:"object",fields:[{name:"title",type:"text",label:"Texto del título"},{name:"description",type:"text",label:"Texto de la descripción"},{name:"iframeSrc",type:"video",label:"URL del vídeo"}]}}]}},Symbol.toStringTag,{value:"Module"}))},{component:Object.freeze(Object.defineProperty({__proto__:null,metadata:{component_name:"VueButton",category:"Call to Action",name:"Botón en Vue",description:"Botón de prueba en Vue",framework:"Vue",priority:2,tags:["boton","interactivo","ejemplo"],fields:[{name:"label",type:"text",label:"Texto del botón",mandatory:!0,example_value:"Botón en Vue"},{name:"href",type:"text",label:"Url de destino",mandatory:!0,example_value:"https://lefebvre.es"},{name:"target",type:"text",label:"Indicar si se abre en la misma ventana o en una nueva (_blank)",mandatory:!1,example_value:"_blank"}]}},Symbol.toStringTag,{value:"Module"}))}];function KH(){return YH.map(e=>e.component.metadata).sort((e,n)=>{const r=e.priority??0,o=n.priority??0;return r!==o?o-r:(e.name||"").localeCompare(n.name||"")})}const JH=Ti({props:{isComponentMode:Boolean,fullwidthMode:Boolean,debugMode:Boolean,submitForm:Boolean,toggleComponentModeFunction:Function,toggleFullwidthMode:Function,importConfigurationFunction:Function,globalPageConfiguration:Array,sectionSelected:String,availableSections:Array,parametersPageConfiguration:Object,renderApiDomain:String,inputId:String,allowRenderMode:{type:String,default:"open"}},emits:["update:sectionSelected","update:parametersPageConfiguration.global.sidebarEnabled","update:parametersPageConfiguration.global.renderAsBodyPart","update:parametersPageConfiguration.global.headSlot","update:parametersPageConfiguration.global.bodyBeginSlot","update:parametersPageConfiguration.global.footerSlot","update:parametersPageConfiguration.seo.robots","update:parametersPageConfiguration.seo.title","update:parametersPageConfiguration.seo.description"],setup(t){const e=t.renderApiDomain||"http://localhost:8003",n=mn(""),r=mn(!1),o=mn(!1),i=mn(null),l=mn(!1),a=()=>{const P=window.scrollY,S=document.querySelector(".lf-page-builder"),A=S?S.getBoundingClientRect().bottom+P:1/0;l.value=P>80&&P<A};Wl(()=>window.addEventListener("scroll",a)),t1(()=>window.removeEventListener("scroll",a));const s=E2({get(){var S,A;const P=(S=t.globalPageConfiguration)==null?void 0:S.find(I=>I.section===t.sectionSelected);return((A=P==null?void 0:P.config)==null?void 0:A.width)||""},set(P){var A;const S=(A=t.globalPageConfiguration)==null?void 0:A.find(I=>I.section===t.sectionSelected);S&&(S.config||(S.config={}),S.config.width=P)}}),u=()=>{const P={pageConfig:t.globalPageConfiguration,paramsConfig:t.parametersPageConfiguration},S=JSON.stringify(P),A=new CustomEvent("lf-pagebuilder:export",{detail:{...P,inputId:t.inputId}});document.dispatchEvent(A);const I=window.open("","Preview","width='100vw',height='100vh'");I&&(I.document.body.innerText=S,I.document.close())},p=()=>{const P={pageConfig:t.globalPageConfiguration,paramsConfig:t.parametersPageConfiguration},S=JSON.stringify(P);h(S);const A=new CustomEvent("lf-pagebuilder:save",{detail:{...P,inputId:t.inputId}});if(document.dispatchEvent(A),t.inputId){const I=document.getElementById(t.inputId);I&&(I.value=S)}if(o.value=!0,setTimeout(()=>{o.value=!1},3e3),t.submitForm&&i.value){const I=i.value.closest("form");I&&I.submit()}},h=P=>{const S=t.inputId?`pageBuilderConfig_${t.inputId}`:"pageBuilderConfig";localStorage.setItem(S,P)};return{validateSeo:()=>{const P={pageConfig:t.globalPageConfiguration,paramsConfig:t.parametersPageConfiguration},S=JSON.stringify(P,null,2);fetch(e+"/api/render-html/",{method:"POST",headers:{"Content-Type":"application/json"},body:S}).then(A=>A.text()).then(A=>{const I=window.open("","Preview","width='100vw',height='100vh'");if(!I)return;const U=new DOMParser().parseFromString(A,"text/html"),Y=[];function re(H,ne=0){if(!H||H.nodeType!==1)return;const q=H.tagName.toLowerCase();["h1","h2","h3","h4","h5","h6","a","p","article","section","header","footer"].includes(q)&&Y.push({tag:q,text:(H.textContent||"").trim().slice(0,80),depth:ne}),Array.from(H.children).forEach(ce=>re(ce,ne+1))}re(U.body);let F='<h2>Estructura SEO</h2><ul style="font-family:monospace">';Y.forEach(H=>{F+=`<li style="margin-left:${H.depth*20}px"><b>${H.tag}</b>: ${H.text}</li>`}),F+="</ul>",I.document.body.innerHTML=F,I.document.close()})},importConfig:n,showAdvancedConfig:r,previewFunction:()=>{const P={pageConfig:t.globalPageConfiguration,paramsConfig:t.parametersPageConfiguration},S=JSON.stringify(P,null,2);fetch(e+"/api/render-html/",{method:"POST",headers:{"Content-Type":"application/json"},body:S}).then(A=>A.text()).then(A=>{const I=window.open("","Preview","width='100vw',height='100vh'");I&&(I.document.body.innerHTML=A,I.document.querySelectorAll("script").forEach(U=>{var re;const Y=I.document.createElement("script");U.src?Y.src=U.src:Y.textContent=U.textContent,(re=U.parentNode)==null||re.replaceChild(Y,U)}),I.document.close())})},importFunction:()=>{t.importConfigurationFunction&&t.importConfigurationFunction(n.value),n.value=""},exportFunction:u,saveButtonAction:p,loadFromLocalStorage:()=>{const P=t.inputId?`pageBuilderConfig_${t.inputId}`:"pageBuilderConfig",S=localStorage.getItem(P);if(S&&t.importConfigurationFunction){const A=JSON.parse(S);t.importConfigurationFunction(A)}},toggleExpandScreen:()=>{const P=document.querySelector(".lf-page-builder");P&&P.classList.toggle("expanded-page-builder")},sectionWidth:s,isSaved:o,componentRoot:i,isScrolled:l}}}),$T=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},eX={ref:"componentRoot"},tX={key:0,class:"flex justify-end items-center w-full p-3 gap-3"},nX={class:"flex justify-end items-center p-2 gap-3 bg-gradient-to-l from-lime-50 to-green-100 border border-lime-400 rounded-lg w-auto"},rX={class:"flex flex-wrap justify-between gap-3 px-5 py-3 bg-white mx-3 rounded-xl border border-slate-200 mb-6 sticky top-2 z-9999 shadow-lg backdrop-blur-sm"},oX={class:"flex gap-2"},iX={class:"flex gap-2"},lX=["value"],aX=["value"],sX={value:"full"},cX={value:"1/2"},dX={value:"1/3"},uX={value:"2/3"},pX={value:"1/4"},hX={value:"3/4"},fX={value:"1/5"},mX={value:"2/5"},bX={value:"3/5"},gX={value:"4/5"},vX={key:0},yX={key:1},CX={class:"flex items-center gap-2"},xX={key:1,class:"bg-white border border-slate-200 rounded-2xl p-5 mx-3 mb-6 shadow-lg"},wX={class:"flex flex-row gap-4 w-full"},OX={class:"border border-slate-200 rounded-xl p-5 w-full bg-gradient-to-br from-slate-50 to-white"},SX={class:"flex flex-col gap-3 border-b border-slate-200 pb-4 w-full"},kX={class:"mb-3"},TX={class:"flex items-center gap-3 cursor-pointer group"},EX={class:"mb-3"},$X={class:"flex flex-col gap-2"},MX=["disabled"],PX=["disabled"],LX={key:0,class:"text-xs text-slate-400 italic"},AX={key:0,class:"mb-3"},NX={key:1,class:"mb-3"},jX={key:2,class:"mb-3"},_X={key:0,class:"border border-slate-200 rounded-xl p-5 w-full bg-gradient-to-br from-slate-50 to-white"},RX={class:"flex justify-between items-center mb-4"},QX={class:"flex flex-col gap-3 border-b border-slate-200 pb-4 w-full"},IX={class:"mb-3"},DX={class:"mb-3"},zX={class:"mb-3"};function VX(t,e,n,r,o,i){return Oe(),ke("div",eX,[(Oe(),v0(OS,{to:"body"},[Gr(B("button",{type:"button",onClick:e[0]||(e[0]=l=>t.saveButtonAction()),title:"Guardar configuración",class:"fixed bottom-6 right-6 z-[99999] cursor-pointer bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600 text-white border border-emerald-500 rounded-full px-5 py-3 text-sm font-medium transition-all duration-300 shadow-xl hover:shadow-2xl hover:scale-105"},Gt(t.isSaved?"✅ Guardado":"💾 Guardar"),513),[[rh,t.isScrolled]])])),t.debugMode?(Oe(),ke("div",tX,[B("div",nX,[e[33]||(e[33]=B("span",{class:"bg-gradient-to-r from-lime-200 to-green-300 px-3 py-1 rounded-full border border-lime-600 text-lime-800 text-xs font-medium me-4 italic"},"MODO DEBUG 🐞",-1)),B("form",{onSubmit:e[3]||(e[3]=V5(()=>{},["prevent"])),class:"flex gap-2"},[Gr(B("input",{"onUpdate:modelValue":e[1]||(e[1]=l=>t.importConfig=l),type:"text",class:"bg-white border border-slate-200 rounded-lg px-3 py-1.5 text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400",name:"",id:"",placeholder:"Pegar configuración..."},null,512),[[ql,t.importConfig]]),B("button",{type:"button",onClick:e[2]||(e[2]=l=>t.importFunction()),class:"cursor-pointer bg-white hover:bg-slate-700 hover:text-white border border-slate-200 hover:border-slate-700 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"🏯 Importar")],32),B("button",{type:"button",onClick:e[4]||(e[4]=l=>t.exportFunction()),class:"cursor-pointer bg-white hover:bg-slate-700 hover:text-white border border-slate-200 hover:border-slate-700 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"🚀 Exportar")])])):wn("",!0),B("div",rX,[B("div",oX,[B("button",{type:"button",class:oo([[t.isComponentMode?"bg-gradient-to-r from-slate-600 to-slate-700 border-slate-700 text-white shadow-md":"bg-white hover:bg-slate-100"],"cursor-pointer border border-slate-200 rounded-lg py-1.5 px-3 text-sm font-medium transition-all duration-200"]),onClick:e[5]||(e[5]=l=>{var a;return(a=t.toggleComponentModeFunction)==null?void 0:a.call(t)})},Gt(t.isComponentMode?"⚒️ Modo Configuración":"👁️ Modo Visual"),3),B("button",{type:"button",class:oo([[t.fullwidthMode?"bg-white hover:bg-slate-100":"bg-gradient-to-r from-slate-600 to-slate-700 border-slate-700 text-white shadow-md"],"cursor-pointer border border-slate-200 rounded-lg py-1.5 px-3 text-sm font-medium transition-all duration-200"]),onClick:e[6]||(e[6]=l=>{var a;return(a=t.toggleFullwidthMode)==null?void 0:a.call(t)})},Gt(t.fullwidthMode?"⚒️ Comps. Plegados":"👁️ Comps. Desplegados"),3)]),B("div",iX,[B("select",{value:t.sectionSelected,onChange:e[7]||(e[7]=l=>t.$emit("update:sectionSelected",l.target.value)),class:"bg-white border border-slate-200 rounded-lg px-3 py-1.5 cursor-pointer text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 transition-colors"},[(Oe(!0),ke(hn,null,Vr(t.availableSections,(l,a)=>(Oe(),ke("option",{key:a,value:l},Gt(l),9,aX))),128))],40,lX),Gr(B("select",{class:"bg-white border border-slate-200 rounded-lg px-3 py-1.5 cursor-pointer text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 transition-colors","onUpdate:modelValue":e[8]||(e[8]=l=>t.sectionWidth=l)},[e[34]||(e[34]=B("option",{disabled:"",value:""},"Selecciona el ancho de la sección",-1)),B("option",sX,"Sección "+Gt(t.sectionSelected)+" ocupa todo el ancho de la página",1),B("option",cX,"Sección "+Gt(t.sectionSelected)+" ocupa 1/2 del ancho de la página",1),B("option",dX,"Sección "+Gt(t.sectionSelected)+" ocupa 1/3 del ancho de la página",1),B("option",uX,"Sección "+Gt(t.sectionSelected)+" ocupa 2/3 del ancho de la página",1),B("option",pX,"Sección "+Gt(t.sectionSelected)+" ocupa 1/4 del ancho de la página",1),B("option",hX,"Sección "+Gt(t.sectionSelected)+" ocupa 3/4 del ancho de la página",1),B("option",fX,"Sección "+Gt(t.sectionSelected)+" ocupa 1/5 del ancho de la página",1),B("option",mX,"Sección "+Gt(t.sectionSelected)+" ocupa 2/5 del ancho de la página",1),B("option",bX,"Sección "+Gt(t.sectionSelected)+" ocupa 3/5 del ancho de la página",1),B("option",gX,"Sección "+Gt(t.sectionSelected)+" ocupa 4/5 del ancho de la página",1)],512),[[Gi,t.sectionWidth]]),B("button",{type:"button",class:oo(["cursor-pointer border rounded-lg py-1.5 px-3 text-sm font-medium transition-all duration-200 flex items-center gap-2",t.showAdvancedConfig?"bg-gradient-to-r from-amber-500 to-orange-500 border-amber-500 text-white shadow-md":"bg-white border-slate-200 hover:bg-slate-100"]),onClick:e[9]||(e[9]=l=>t.showAdvancedConfig=!t.showAdvancedConfig)},[e[35]||(e[35]=B("span",null,"⚙️ Configurar",-1)),t.showAdvancedConfig?(Oe(),ke("span",vX,"▲")):(Oe(),ke("span",yX,"▼"))],2)]),B("div",CX,[B("button",{type:"button",onClick:e[10]||(e[10]=l=>t.previewFunction()),class:"cursor-pointer bg-white hover:bg-violet-500 hover:text-white hover:border-violet-500 border border-slate-200 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"🔎 Previsualización"),B("button",{type:"button",onClick:e[11]||(e[11]=l=>t.saveButtonAction()),title:"Guardar configuración en localStorage y disparar evento global",class:"cursor-pointer bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600 text-white border border-emerald-500 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},Gt(t.isSaved?t.submitForm?"⏳ Submiteando formulario":"✅ Se ha guardado correctamente":"💾 Guardar"),1),t.debugMode?(Oe(),ke("button",{key:0,type:"button",onClick:e[12]||(e[12]=l=>t.loadFromLocalStorage()),class:"cursor-pointer bg-white hover:bg-blue-500 hover:text-white hover:border-blue-500 border border-slate-200 rounded-lg px-3 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"⤵️ Cargar")):wn("",!0),B("button",{type:"button",onClick:e[13]||(e[13]=l=>t.toggleExpandScreen()),title:"Expandir / Contraer Pagebuilder",class:"cursor-pointer bg-white hover:bg-slate-700 hover:text-white hover:border-slate-700 border border-slate-200 rounded-lg px-3 py-1.5 text-xl transition-all duration-200 shadow-sm hover:shadow-md ms-2"},"◳")]),e[36]||(e[36]=B("div",{class:"w-full border-t border-slate-100 mt-2 pt-1.5 text-center text-xs text-slate-400 italic"}," El resultado final únicamente se ve a través del botón de Previsualización ",-1))]),t.showAdvancedConfig&&t.parametersPageConfiguration?(Oe(),ke("div",xX,[B("div",wX,[B("div",OX,[e[44]||(e[44]=B("h2",{class:"text-lg font-bold mb-4 text-slate-700"},"Configuración Avanzada",-1)),e[45]||(e[45]=B("h3",{class:"font-semibold mb-3 text-slate-600"},"Configuración Global",-1)),B("div",SX,[B("div",kX,[B("label",TX,[Gr(B("input",{type:"checkbox","onUpdate:modelValue":e[14]||(e[14]=l=>t.parametersPageConfiguration.global.sidebarEnabled=l),onChange:e[15]||(e[15]=l=>t.$emit("update:parametersPageConfiguration.global.sidebarEnabled",l.target.value)),class:"w-5 h-5 rounded border-slate-300 text-emerald-500 focus:ring-emerald-500 cursor-pointer"},null,544),[[ih,t.parametersPageConfiguration.global.sidebarEnabled]]),e[37]||(e[37]=B("span",{class:"text-slate-600 group-hover:text-slate-800 transition-colors"},"Sidebar Habilitado",-1))])]),B("div",EX,[e[40]||(e[40]=B("span",{class:"block text-sm font-medium text-slate-600 mb-2"},"Modo de renderizado",-1)),B("div",$X,[B("label",{class:oo(["flex items-center gap-3 group",t.allowRenderMode==="open"?"cursor-pointer":"cursor-not-allowed opacity-60"])},[Gr(B("input",{type:"radio","onUpdate:modelValue":e[16]||(e[16]=l=>t.parametersPageConfiguration.global.renderAsBodyPart=l),value:!1,disabled:t.allowRenderMode!=="open",onChange:e[17]||(e[17]=l=>t.$emit("update:parametersPageConfiguration.global.renderAsBodyPart",!1)),class:oo(["w-4 h-4 border-slate-300 text-emerald-500 focus:ring-emerald-500",t.allowRenderMode==="open"?"cursor-pointer":"cursor-not-allowed"])},null,42,MX),[[lh,t.parametersPageConfiguration.global.renderAsBodyPart]]),e[38]||(e[38]=B("span",{class:"text-slate-600 group-hover:text-slate-800 transition-colors"},"Renderizar como una página completa",-1))],2),B("label",{class:oo(["flex items-center gap-3 group",t.allowRenderMode==="open"?"cursor-pointer":"cursor-not-allowed opacity-60"])},[Gr(B("input",{type:"radio","onUpdate:modelValue":e[18]||(e[18]=l=>t.parametersPageConfiguration.global.renderAsBodyPart=l),value:!0,disabled:t.allowRenderMode!=="open",onChange:e[19]||(e[19]=l=>t.$emit("update:parametersPageConfiguration.global.renderAsBodyPart",!0)),class:oo(["w-4 h-4 border-slate-300 text-emerald-500 focus:ring-emerald-500",t.allowRenderMode==="open"?"cursor-pointer":"cursor-not-allowed"])},null,42,PX),[[lh,t.parametersPageConfiguration.global.renderAsBodyPart]]),e[39]||(e[39]=B("span",{class:"text-slate-600 group-hover:text-slate-800 transition-colors"},"Renderizar como parte del Body (sin etiquetas HTML, HEAD, BODY)",-1))],2),t.allowRenderMode!=="open"?(Oe(),ke("span",LX,"El modo de renderizado está fijado externamente y no puede modificarse.")):wn("",!0)])]),t.parametersPageConfiguration.global.renderAsBodyPart?wn("",!0):(Oe(),ke("div",AX,[e[41]||(e[41]=B("label",{for:"headSlot",class:"block text-sm font-medium text-slate-600 mb-2"}," Código al final de la sección <head> ",-1)),Gr(B("textarea",{id:"headSlot","onUpdate:modelValue":e[20]||(e[20]=l=>t.parametersPageConfiguration.global.headSlot=l),onInput:e[21]||(e[21]=l=>t.$emit("update:parametersPageConfiguration.global.headSlot",l.target.value)),class:"w-full px-4 py-3 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm font-mono transition-colors",placeholder:"Contenido para el head",rows:"3"},null,544),[[ql,t.parametersPageConfiguration.global.headSlot]])])),t.parametersPageConfiguration.global.renderAsBodyPart?wn("",!0):(Oe(),ke("div",NX,[e[42]||(e[42]=B("label",{for:"bodyBeginSlot",class:"block text-sm font-medium text-slate-600 mb-2"}," Código al principio de la sección <body> ",-1)),Gr(B("textarea",{id:"bodyBeginSlot","onUpdate:modelValue":e[22]||(e[22]=l=>t.parametersPageConfiguration.global.bodyBeginSlot=l),onInput:e[23]||(e[23]=l=>t.$emit("update:parametersPageConfiguration.global.bodyBeginSlot",l.target.value)),class:"w-full px-4 py-3 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm font-mono transition-colors",placeholder:"Contenido para el inicio del body",rows:"3"},null,544),[[ql,t.parametersPageConfiguration.global.bodyBeginSlot]])])),t.parametersPageConfiguration.global.renderAsBodyPart?wn("",!0):(Oe(),ke("div",jX,[e[43]||(e[43]=B("label",{for:"footerSlot",class:"block text-sm font-medium text-slate-600 mb-2"}," Código al final de la sección <body>, dentro de la etiqueta <footer> ",-1)),Gr(B("textarea",{id:"footerSlot","onUpdate:modelValue":e[24]||(e[24]=l=>t.parametersPageConfiguration.global.footerSlot=l),onInput:e[25]||(e[25]=l=>t.$emit("update:parametersPageConfiguration.global.footerSlot",l.target.value)),class:"w-full px-4 py-3 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm font-mono transition-colors",placeholder:"Contenido para el footer",rows:"3"},null,544),[[ql,t.parametersPageConfiguration.global.footerSlot]])]))])]),t.parametersPageConfiguration.global.renderAsBodyPart?wn("",!0):(Oe(),ke("div",_X,[B("div",RX,[e[46]||(e[46]=B("h2",{class:"text-lg font-bold text-slate-700"},"Configuración SEO",-1)),B("button",{type:"button",onClick:e[26]||(e[26]=l=>t.validateSeo()),class:"cursor-pointer bg-gradient-to-r from-violet-500 to-purple-500 hover:from-violet-600 hover:to-purple-600 text-white border border-violet-500 rounded-lg px-4 py-1.5 text-sm font-medium transition-all duration-200 shadow-sm hover:shadow-md"},"🦄 Validar SEO")]),B("div",QX,[B("div",IX,[e[48]||(e[48]=B("label",{for:"robotsIndex",class:"block text-sm font-medium text-slate-600 mb-2"}," Indexación de robots ",-1)),Gr(B("select",{id:"robotsIndex","onUpdate:modelValue":e[27]||(e[27]=l=>t.parametersPageConfiguration.seo.robots=l),onChange:e[28]||(e[28]=l=>t.$emit("update:parametersPageConfiguration.seo.robots",l.target.value)),class:"w-full px-4 py-2.5 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm transition-colors cursor-pointer"},[...e[47]||(e[47]=[B("option",{value:"index, follow"},"Index Follow",-1),B("option",{value:"noindex, nofollow"},"Noindex Nofollow",-1)])],544),[[Gi,t.parametersPageConfiguration.seo.robots]])]),B("div",DX,[e[49]||(e[49]=B("label",{for:"pageTitle",class:"block text-sm font-medium text-slate-600 mb-2"}," Título de la página ",-1)),Gr(B("input",{id:"pageTitle",type:"text","onUpdate:modelValue":e[29]||(e[29]=l=>t.parametersPageConfiguration.seo.title=l),onInput:e[30]||(e[30]=l=>t.$emit("update:parametersPageConfiguration.seo.title",l.target.value)),class:"w-full px-4 py-2.5 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm transition-colors",placeholder:"Ingresa el título de la página"},null,544),[[ql,t.parametersPageConfiguration.seo.title]])]),B("div",zX,[e[50]||(e[50]=B("label",{for:"pageDescription",class:"block text-sm font-medium text-slate-600 mb-2"}," Descripción de la página ",-1)),Gr(B("textarea",{id:"pageDescription","onUpdate:modelValue":e[31]||(e[31]=l=>t.parametersPageConfiguration.seo.description=l),onInput:e[32]||(e[32]=l=>t.$emit("update:parametersPageConfiguration.seo.description",l.target.value)),class:"w-full px-4 py-3 border border-slate-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white text-sm transition-colors",placeholder:"Ingresa la descripción de la página",rows:"3"},null,544),[[ql,t.parametersPageConfiguration.seo.description]])])])]))])])):wn("",!0)],512)}const ZX=$T(JH,[["render",VX]]);var MT={};(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(':root{--le-toolbar-bg: #f8f9fb;--le-toolbar-border: #e4e7ec;--le-toolbar-btn-color: #64748b;--le-toolbar-btn-hover-bg: rgba(0, 0, 0, .06);--le-toolbar-btn-hover-color: #334155;--le-toolbar-btn-active-bg: rgba(74, 108, 247, .12);--le-toolbar-btn-active-color: #4a6cf7;--le-toolbar-separator: #e2e8f0;--le-editor-bg: #ffffff;--le-editor-text-color: #1e293b;--le-editor-border: #e2e8f0;--le-editor-border-focus: #4a6cf7;--le-editor-border-radius: 10px;--le-editor-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--le-editor-font-size: 15px;--le-editor-line-height: 1.7;--le-editor-padding: 20px 24px;--le-editor-min-height: 200px;--le-editor-placeholder-color: #94a3b8;--le-accent: #4a6cf7;--le-accent-hover: #3b5de7;--le-accent-light: rgba(74, 108, 247, .1);--le-dropdown-bg: #ffffff;--le-dropdown-shadow: 0 8px 32px rgba(0, 0, 0, .1), 0 2px 8px rgba(0, 0, 0, .05);--le-dropdown-border: #f1f5f9;--le-statusbar-color: #94a3b8;--le-statusbar-bg: #f8fafc}[data-ledithor]{width:100%}.le-editor-container{display:flex;flex-direction:column;width:100%;border:1.5px solid var(--le-editor-border);border-radius:var(--le-editor-border-radius);overflow:hidden;background:var(--le-editor-bg);box-shadow:0 1px 4px #0000000a;transition:border-color .2s ease,box-shadow .2s ease}.le-editor-container:focus-within{border-color:var(--le-editor-border-focus);box-shadow:0 0 0 3px var(--le-accent-light)}.le-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 10px;background:var(--le-toolbar-bg);border-bottom:1px solid var(--le-toolbar-border);-webkit-user-select:none;user-select:none}.le-toolbar-group{display:flex;align-items:center;gap:1px}.le-toolbar-separator{width:1px;height:18px;background:var(--le-toolbar-separator);margin:0 5px;flex-shrink:0}.le-toolbar button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;height:32px;padding:0;border:none;border-radius:6px;background:transparent;color:var(--le-toolbar-btn-color);cursor:pointer;font-size:14px;transition:background .15s ease,color .15s ease}.le-toolbar button:hover{background:var(--le-toolbar-btn-hover-bg);color:var(--le-toolbar-btn-hover-color, var(--le-toolbar-btn-color))}.le-toolbar button:active{opacity:.8}.le-toolbar button.is-active{background:var(--le-toolbar-btn-active-bg);color:var(--le-toolbar-btn-active-color)}.le-toolbar button[disabled]{opacity:.3;cursor:not-allowed}.le-toolbar button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.le-toolbar button:after{content:attr(title);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%) translateY(3px);padding:4px 9px;background:#1e293b;color:#f1f5f9;font-size:11px;font-weight:500;border-radius:5px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s ease,transform .15s ease;z-index:1000;letter-spacing:.01em;box-shadow:0 2px 8px #00000026}.le-toolbar button:before{content:"";position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%);border:4px solid transparent;border-top-color:#1e293b;pointer-events:none;opacity:0;transition:opacity .15s ease;z-index:1000}.le-toolbar button:hover:after,.le-toolbar button:hover:before{opacity:1}.le-toolbar button:hover:after{transform:translate(-50%) translateY(0)}.le-editor-content{flex:1;overflow-y:auto;position:relative}.le-editor-content .tiptap{padding:var(--le-editor-padding);min-height:var(--le-editor-min-height);font-family:var(--le-editor-font-family);font-size:var(--le-editor-font-size);line-height:var(--le-editor-line-height);color:var(--le-editor-text-color);outline:none;caret-color:var(--le-accent)}.le-editor-content .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--le-editor-placeholder-color);pointer-events:none;height:0;font-style:italic}.le-editor-content .tiptap h1{font-size:1.9em;margin:.8em 0 .4em;font-weight:700;letter-spacing:-.02em;color:var(--le-editor-text-color);line-height:1.25}.le-editor-content .tiptap h2{font-size:1.5em;margin:.75em 0 .4em;font-weight:600;letter-spacing:-.01em;color:var(--le-editor-text-color);line-height:1.3}.le-editor-content .tiptap h3{font-size:1.2em;margin:.65em 0 .3em;font-weight:600;color:var(--le-editor-text-color);line-height:1.35}.le-editor-content .tiptap h4{font-size:1.05em;margin:.5em 0 .3em;font-weight:600;color:var(--le-editor-text-color)}.le-editor-content .tiptap p{margin:0 0 .6em}.le-editor-content .tiptap p:last-child{margin-bottom:0}.le-editor-content .tiptap ul,.le-editor-content .tiptap ol{padding-left:1.6em;margin:.5em 0 .7em}.le-editor-content .tiptap li{margin:.2em 0}.le-editor-content .tiptap li::marker{color:var(--le-accent)}.le-editor-content .tiptap blockquote{border-left:3px solid var(--le-accent);padding:.7em 1.2em;margin:1em 0;background:var(--le-accent-light);border-radius:0 6px 6px 0;color:var(--le-editor-text-color);font-style:italic;opacity:.85}.le-editor-content .tiptap code{background:#0000000d;padding:2px 7px;border-radius:4px;font-size:.875em;font-family:JetBrains Mono,Fira Code,Consolas,monospace;color:var(--le-accent)}.le-editor-content .tiptap pre{background:#0f172a;color:#e2e8f0;padding:16px 20px;border-radius:8px;overflow-x:auto;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:13px;line-height:1.7;margin:.8em 0}.le-editor-content .tiptap pre code{background:none;padding:0;color:inherit;font-size:inherit}.le-editor-content .tiptap hr{border:none;height:2px;background:var(--le-toolbar-border);margin:1.5em 0;border-radius:2px}.le-editor-content .tiptap img{max-width:100%;height:auto;border-radius:6px;box-shadow:0 2px 10px #00000014}.le-editor-content .tiptap table{border-collapse:collapse;width:100%;margin:1em 0;border-radius:6px;overflow:hidden;border:1px solid var(--le-toolbar-border);font-size:.95em}.le-editor-content .tiptap th,.le-editor-content .tiptap td{border:1px solid var(--le-toolbar-border);padding:9px 13px;text-align:left}.le-editor-content .tiptap th{background:var(--le-toolbar-bg);font-weight:600;color:var(--le-editor-text-color);font-size:.875em;text-transform:uppercase;letter-spacing:.04em}.le-editor-content .tiptap tr:hover td{background:var(--le-accent-light)}.le-editor-content .tiptap a{color:var(--le-accent);text-decoration:none;border-bottom:1px solid var(--le-accent-light);transition:border-color .15s}.le-editor-content .tiptap a:hover{border-bottom-color:var(--le-accent)}.le-editor-content .tiptap mark{background:#fef08a;padding:1px 3px;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.le-editor-content .tiptap ::selection{background:var(--le-accent-light)}.le-link-popup{position:absolute;z-index:100;background:var(--le-dropdown-bg);border:1px solid var(--le-dropdown-border);border-radius:10px;box-shadow:var(--le-dropdown-shadow);padding:8px;display:flex;gap:6px;animation:le-popup-in .18s ease}@keyframes le-popup-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.le-link-popup input{border:1.5px solid var(--le-editor-border);border-radius:7px;padding:8px 12px;font-size:13px;width:250px;outline:none;font-family:inherit;background:var(--le-editor-bg);color:var(--le-editor-text-color);transition:border-color .15s,box-shadow .15s}.le-link-popup input:focus{border-color:var(--le-accent);box-shadow:0 0 0 3px var(--le-accent-light)}.le-link-popup button{padding:8px 14px;border:none;border-radius:7px;background:var(--le-accent);color:#fff;cursor:pointer;font-size:13px;font-weight:600;transition:background .15s,opacity .15s;white-space:nowrap}.le-link-popup button:hover{background:var(--le-accent-hover, var(--le-accent));opacity:.9}.le-link-popup button:active{opacity:.75}.le-heading-dropdown{position:absolute;z-index:100;background:var(--le-dropdown-bg);border:1px solid var(--le-dropdown-border);border-radius:10px;box-shadow:var(--le-dropdown-shadow);padding:4px;min-width:150px;animation:le-popup-in .18s ease}.le-heading-dropdown button{display:block;width:100%;text-align:left;padding:7px 12px;border:none;background:none;cursor:pointer;border-radius:6px;font-size:13px;color:var(--le-toolbar-btn-color);transition:background .12s,color .12s}.le-heading-dropdown button:hover{background:var(--le-toolbar-btn-hover-bg);color:var(--le-accent)}.le-dropdown-scroll{max-height:280px;overflow-y:auto}.le-color-popup{position:absolute;z-index:100;top:100%;left:0;background:var(--le-dropdown-bg);border:1px solid var(--le-dropdown-border);border-radius:var(--le-dropdown-radius);box-shadow:var(--le-dropdown-shadow);padding:8px;animation:le-popup-in .18s ease}.le-color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.le-color-swatch{width:24px;height:24px;border:2px solid transparent;border-radius:4px;cursor:pointer;padding:0;transition:border-color .12s,transform .12s}.le-color-swatch:hover{border-color:var(--le-accent);transform:scale(1.15)}.le-color-unset{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;margin-top:4px;padding:5px 0;border:1px solid var(--le-editor-border, #e2e8f0);border-radius:4px;background:var(--le-dropdown-bg, #fff);color:var(--le-toolbar-btn-color);font-size:11px;font-family:var(--le-editor-font-family, system-ui, sans-serif);cursor:pointer;text-align:center;transition:background .12s,border-color .12s,color .12s}.le-color-unset:hover{border-color:var(--le-accent);color:var(--le-accent);background:var(--le-accent-light, rgba(74, 108, 247, .06))}.le-color-unset svg{width:12px;height:12px;stroke:currentColor;stroke-width:2;fill:none}.le-statusbar{display:flex;align-items:center;padding:5px 16px;font-size:11px;font-weight:500;letter-spacing:.02em;color:var(--le-statusbar-color, #94a3b8);background:var(--le-statusbar-bg, #f8fafc);border-top:1px solid var(--le-toolbar-border)}.le-statusbar-left,.le-statusbar-right{flex:1}.le-statusbar-right{text-align:right}.le-statusbar-center{display:flex;align-items:center;gap:5px;opacity:.7}.le-statusbar-center svg{width:16px;height:16px}.le-statusbar-center span{font-size:13px;font-weight:600;letter-spacing:.04em}.le-toolbar-wrapper{display:flex;align-items:flex-start;background:var(--le-toolbar-bg);border-bottom:1px solid var(--le-toolbar-border)}.le-toolbar-wrapper .le-toolbar{flex:1;border-bottom:none}.le-btn-fullscreen{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin:6px 8px 0 0;padding:0;border:none;border-radius:4px;background:transparent;color:var(--le-toolbar-btn-color);cursor:pointer;flex-shrink:0;transition:background .15s,color .15s}.le-btn-fullscreen svg{width:16px;height:16px}.le-btn-fullscreen:hover{background:var(--le-toolbar-btn-hover-bg, rgba(0, 0, 0, .06));color:var(--le-accent, #4a6cf7)}.le-fullscreen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--le-fullscreen-z, 2147483647);background:#00000080;display:flex;align-items:center;justify-content:center;padding:24px}.le-editor-container.le-fullscreen{width:100%;height:100%;max-width:100%;max-height:100%;border-radius:10px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;overflow:hidden}.le-fullscreen .le-toolbar-wrapper{flex-shrink:0}.le-fullscreen .le-editor-content{flex:1 1 0;min-height:0;max-height:none!important;overflow:hidden;display:flex;flex-direction:column}.le-fullscreen .le-editor-content .tiptap{flex:1 1 0;min-height:0!important;max-height:none!important;overflow-y:auto}.le-fullscreen .le-html-source{flex:1 1 0;min-height:0;overflow:hidden}.le-fullscreen .le-html-source .cm-editor{height:100%}.le-fullscreen .le-html-source .cm-scroller{flex:1;max-height:none!important}.le-fullscreen .le-statusbar{flex-shrink:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px;border-top:1px solid var(--le-toolbar-border);padding:8px 20px}.le-btn-heading{font-weight:700!important;background:var(--le-editor-border, #e2e8f0)!important;border-radius:4px!important;margin:0 1px;min-width:28px}.le-btn-heading:hover,.le-btn-heading.is-active{background:var(--le-accent, #4a6cf7)!important;color:#fff!important}.le-html-editor{display:block;box-sizing:border-box}.le-toolbar button[data-btn=html].is-active{background:#0f172a;color:#22d3ee}.le-editor-container .le-html-source{display:block;width:100%;margin:0;border:none;border-top:2px solid #1e293b;box-sizing:border-box;overflow:hidden}.le-html-source .cm-scroller::-webkit-scrollbar{width:5px}.le-html-source .cm-scroller::-webkit-scrollbar-track{background:transparent}.le-html-source .cm-scroller::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:3px}.le-html-notice{padding:8px 16px;background:#1e293b;color:#fbbf24;font-size:12px;font-family:var(--le-font-text, system-ui, sans-serif);border-bottom:1px solid #334155;text-align:center;animation:le-notice-fade 4s ease-in-out forwards}@keyframes le-notice-fade{0%,70%{opacity:1}to{opacity:0}}.le-btn-html.is-active{background:#0f172a!important;color:#22d3ee!important}.le-prompt-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--le-fullscreen-z, 2147483647);background:#0006;display:flex;align-items:center;justify-content:center;animation:le-popup-in .18s ease}.le-prompt-dialog{background:var(--le-dropdown-bg, #fff);border-radius:12px;padding:24px;min-width:340px;max-width:480px;box-shadow:0 20px 60px #0003}.le-prompt-label{display:block;font-size:14px;font-weight:600;color:var(--le-editor-text-color, #1e293b);margin-bottom:10px;font-family:var(--le-editor-font-family, system-ui, sans-serif)}.le-prompt-input{width:100%;padding:10px 14px;border:1.5px solid var(--le-editor-border, #e2e8f0);border-radius:8px;font-size:14px;font-family:inherit;color:var(--le-editor-text-color, #1e293b);background:var(--le-editor-bg, #fff);outline:none;transition:border-color .15s,box-shadow .15s;box-sizing:border-box}.le-prompt-input:focus{border-color:var(--le-accent, #4a6cf7);box-shadow:0 0 0 3px var(--le-accent-light, rgba(74, 108, 247, .1))}.le-prompt-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.le-prompt-btn{padding:8px 18px;border:none;border-radius:7px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s,opacity .15s}.le-prompt-btn-cancel{background:var(--le-toolbar-btn-hover-bg, rgba(0,0,0,.06));color:var(--le-toolbar-btn-color, #64748b)}.le-prompt-btn-cancel:hover{opacity:.8}.le-prompt-btn-confirm{background:var(--le-accent, #4a6cf7);color:#fff}.le-prompt-btn-confirm:hover{background:var(--le-accent-hover, #3b5de7)}.le-editor-content::-webkit-scrollbar{width:5px}.le-editor-content::-webkit-scrollbar-track{background:transparent}.le-editor-content::-webkit-scrollbar-thumb{background:#0000001f;border-radius:3px}.le-editor-content::-webkit-scrollbar-thumb:hover{background:#00000038}.le-html-source::-webkit-scrollbar{width:5px}.le-html-source::-webkit-scrollbar-track{background:transparent}.le-html-source::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:3px}.le-editor-content .tiptap div[data-type=styled-box]{display:block;margin:.7em 0}.le-theme-laboral{--le-accent: #10b981;--le-accent-hover: #059669;--le-accent-light: rgba(16, 185, 129, .12);--le-toolbar-bg: #f0fdf4;--le-toolbar-btn-hover-bg: rgba(16, 185, 129, .08);--le-toolbar-btn-active-bg: rgba(16, 185, 129, .14);--le-toolbar-btn-active-color: #065f46;--le-editor-border-focus: #10b981}.le-theme-fiscal{--le-accent: #f59e0b;--le-accent-hover: #d97706;--le-accent-light: rgba(245, 158, 11, .12);--le-toolbar-bg: #fffbeb;--le-toolbar-btn-hover-bg: rgba(245, 158, 11, .08);--le-toolbar-btn-active-bg: rgba(245, 158, 11, .15);--le-toolbar-btn-active-color: #92400e;--le-editor-border-focus: #f59e0b}.le-theme-civil{--le-accent: #3b82f6;--le-accent-hover: #2563eb;--le-accent-light: rgba(59, 130, 246, .12);--le-toolbar-bg: #eff6ff;--le-toolbar-btn-hover-bg: rgba(59, 130, 246, .08);--le-toolbar-btn-active-bg: rgba(59, 130, 246, .14);--le-toolbar-btn-active-color: #1e40af;--le-editor-border-focus: #3b82f6}.le-theme-penal{--le-accent: #ef4444;--le-accent-hover: #dc2626;--le-accent-light: rgba(239, 68, 68, .12);--le-toolbar-bg: #fef2f2;--le-toolbar-btn-hover-bg: rgba(239, 68, 68, .08);--le-toolbar-btn-active-bg: rgba(239, 68, 68, .14);--le-toolbar-btn-active-color: #991b1b;--le-editor-border-focus: #ef4444}.le-theme-social{--le-accent: #8b5cf6;--le-accent-hover: #7c3aed;--le-accent-light: rgba(139, 92, 246, .12);--le-toolbar-bg: #f5f3ff;--le-toolbar-btn-hover-bg: rgba(139, 92, 246, .08);--le-toolbar-btn-active-bg: rgba(139, 92, 246, .14);--le-toolbar-btn-active-color: #5b21b6;--le-editor-border-focus: #8b5cf6}.le-theme-mercantil{--le-accent: #14b8a6;--le-accent-hover: #0d9488;--le-accent-light: rgba(20, 184, 166, .12);--le-toolbar-bg: #f0fdfa;--le-toolbar-btn-hover-bg: rgba(20, 184, 166, .08);--le-toolbar-btn-active-bg: rgba(20, 184, 166, .14);--le-toolbar-btn-active-color: #115e59;--le-editor-border-focus: #14b8a6}.le-theme-dark{--le-toolbar-bg: #1e1e2e;--le-toolbar-border: #313244;--le-toolbar-btn-color: #a6adc8;--le-toolbar-btn-hover-bg: rgba(255, 255, 255, .07);--le-toolbar-btn-hover-color: #cdd6f4;--le-toolbar-btn-active-bg: rgba(137, 180, 250, .18);--le-toolbar-btn-active-color: #89b4fa;--le-toolbar-separator: #45475a;--le-editor-bg: #181825;--le-editor-text-color: #cdd6f4;--le-editor-border: #313244;--le-editor-border-focus: #89b4fa;--le-editor-placeholder-color: #6c7086;--le-accent: #89b4fa;--le-accent-hover: #74a8f8;--le-accent-light: rgba(137, 180, 250, .15);--le-dropdown-bg: #1e1e2e;--le-dropdown-border: #313244;--le-dropdown-shadow: 0 8px 32px rgba(0, 0, 0, .5);--le-statusbar-bg: #181825;--le-statusbar-color: #6c7086}.le-theme-compact{--le-editor-padding: 10px 14px;--le-editor-font-size: 13px;--le-editor-min-height: 120px;--le-editor-line-height: 1.5}.le-theme-dark.le-theme-laboral{--le-accent: #34d399;--le-accent-hover: #10b981;--le-accent-light: rgba(52, 211, 153, .15);--le-editor-border-focus: #34d399;--le-toolbar-btn-active-bg: rgba(52, 211, 153, .18);--le-toolbar-btn-active-color: #34d399}.le-theme-dark.le-theme-fiscal{--le-accent: #fbbf24;--le-accent-hover: #f59e0b;--le-accent-light: rgba(251, 191, 36, .15);--le-editor-border-focus: #fbbf24;--le-toolbar-btn-active-bg: rgba(251, 191, 36, .18);--le-toolbar-btn-active-color: #fbbf24}.le-theme-dark.le-theme-civil{--le-accent: #60a5fa;--le-accent-hover: #3b82f6;--le-accent-light: rgba(96, 165, 250, .15);--le-editor-border-focus: #60a5fa;--le-toolbar-btn-active-bg: rgba(96, 165, 250, .18);--le-toolbar-btn-active-color: #60a5fa}.le-theme-dark.le-theme-penal{--le-accent: #f87171;--le-accent-hover: #ef4444;--le-accent-light: rgba(248, 113, 113, .15);--le-editor-border-focus: #f87171;--le-toolbar-btn-active-bg: rgba(248, 113, 113, .18);--le-toolbar-btn-active-color: #f87171}.le-theme-dark.le-theme-social{--le-accent: #a78bfa;--le-accent-hover: #8b5cf6;--le-accent-light: rgba(167, 139, 250, .15);--le-editor-border-focus: #a78bfa;--le-toolbar-btn-active-bg: rgba(167, 139, 250, .18);--le-toolbar-btn-active-color: #a78bfa}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();function $2(t){this.content=t}$2.prototype={constructor:$2,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},get:function(t){var e=this.find(t);return e==-1?void 0:this.content[e+1]},update:function(t,e,n){var r=n&&n!=t?this.remove(n):this,o=r.find(t),i=r.content.slice();return o==-1?i.push(n||t,e):(i[o+1]=e,n&&(i[o]=n)),new $2(i)},remove:function(t){var e=this.find(t);if(e==-1)return this;var n=this.content.slice();return n.splice(e,2),new $2(n)},addToStart:function(t,e){return new $2([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new $2(n)},addBefore:function(t,e,n){var r=this.remove(e),o=r.content.slice(),i=r.find(t);return o.splice(i==-1?o.length:i,0,e,n),new $2(o)},forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return t=$2.from(t),t.size?new $2(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=$2.from(t),t.size?new $2(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=$2.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},toObject:function(){var t={};return this.forEach(function(e,n){t[e]=n}),t},get size(){return this.content.length>>1}},$2.from=function(t){if(t instanceof $2)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new $2(e)};function PT(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let o=t.child(r),i=e.child(r);if(o==i){n+=o.nodeSize;continue}if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(let l=0;o.text[l]==i.text[l];l++)n++;return n}if(o.content.size||i.content.size){let l=PT(o.content,i.content,n+1);if(l!=null)return l}n+=o.nodeSize}}function LT(t,e,n,r){for(let o=t.childCount,i=e.childCount;;){if(o==0||i==0)return o==i?null:{a:n,b:r};let l=t.child(--o),a=e.child(--i),s=l.nodeSize;if(l==a){n-=s,r-=s;continue}if(!l.sameMarkup(a))return{a:n,b:r};if(l.isText&&l.text!=a.text){let u=0,p=Math.min(l.text.length,a.text.length);for(;u<p&&l.text[l.text.length-u-1]==a.text[a.text.length-u-1];)u++,n--,r--;return{a:n,b:r}}if(l.content.size||a.content.size){let u=LT(l.content,a.content,n-1,r-1);if(u)return u}n-=s,r-=s}}class it{constructor(e,n){if(this.content=e,this.size=n||0,n==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,n,r,o=0,i){for(let l=0,a=0;a<n;l++){let s=this.content[l],u=a+s.nodeSize;if(u>e&&r(s,o+a,i||null,l)!==!1&&s.content.size){let p=a+1;s.nodesBetween(Math.max(0,e-p),Math.min(s.content.size,n-p),r,o+p)}a=u}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,o){let i="",l=!0;return this.nodesBetween(e,n,(a,s)=>{let u=a.isText?a.text.slice(Math.max(e,s)-s,n-s):a.isLeaf?o?typeof o=="function"?o(a):o:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&u||a.isTextblock)&&r&&(l?l=!1:i+=r),i+=u},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,o=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(o[o.length-1]=n.withText(n.text+r.text),i=1);i<e.content.length;i++)o.push(e.content[i]);return new it(o,this.size+e.size)}cut(e,n=this.size){if(e==0&&n==this.size)return this;let r=[],o=0;if(n>e)for(let i=0,l=0;l<n;i++){let a=this.content[i],s=l+a.nodeSize;s>e&&((l<e||s>n)&&(a.isText?a=a.cut(Math.max(0,e-l),Math.min(a.text.length,n-l)):a=a.cut(Math.max(0,e-l-1),Math.min(a.content.size,n-l-1))),r.push(a),o+=a.nodeSize),l=s}return new it(r,o)}cutByIndex(e,n){return e==n?it.empty:e==0&&n==this.content.length?this:new it(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let o=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return o[e]=n,new it(o,i)}addToStart(e){return new it([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new it(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(e.content[n]))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 n=this.content[e];if(!n)throw new RangeError("Index "+e+" out of range for "+this);return n}maybeChild(e){return this.content[e]||null}forEach(e){for(let n=0,r=0;n<this.content.length;n++){let o=this.content[n];e(o,r,n),r+=o.nodeSize}}findDiffStart(e,n=0){return PT(this,e,n)}findDiffEnd(e,n=this.size,r=e.size){return LT(this,e,n,r)}findIndex(e){if(e==0)return B5(0,e);if(e==this.size)return B5(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let o=this.child(n),i=r+o.nodeSize;if(i>=e)return i==e?B5(n+1,i):B5(n,r);r=i}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return it.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new it(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return it.empty;let n,r=0;for(let o=0;o<e.length;o++){let i=e[o];r+=i.nodeSize,o&&i.isText&&e[o-1].sameMarkup(i)?(n||(n=e.slice(0,o)),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new it(n||e,r)}static from(e){if(!e)return it.empty;if(e instanceof it)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new it([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}it.empty=new it([],0);const W8={index:0,offset:0};function B5(t,e){return W8.index=t,W8.offset=e,W8}function F5(t,e){if(t===e)return!0;if(!(t&&typeof t=="object")||!(e&&typeof e=="object"))return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!F5(t[r],e[r]))return!1}else{for(let r in t)if(!(r in e)||!F5(t[r],e[r]))return!1;for(let r in e)if(!(r in t))return!1}return!0}let Fr=class SO{constructor(e,n){this.type=e,this.attrs=n}addToSet(e){let n,r=!1;for(let o=0;o<e.length;o++){let i=e[o];if(this.eq(i))return e;if(this.type.excludes(i.type))n||(n=e.slice(0,o));else{if(i.type.excludes(this.type))return e;!r&&i.type.rank>this.type.rank&&(n||(n=e.slice(0,o)),n.push(this),r=!0),n&&n.push(i)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return e.slice(0,n).concat(e.slice(n+1));return e}isInSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return!0;return!1}eq(e){return this==e||this.type==e.type&&F5(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);let o=r.create(n.attrs);return r.checkAttrs(o.attrs),o}static sameSet(e,n){if(e==n)return!0;if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(n[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return SO.none;if(e instanceof SO)return[e];let n=e.slice();return n.sort((r,o)=>r.type.rank-o.type.rank),n}};Fr.none=[];class H5 extends Error{}class Bt{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=NT(this.content,e+this.openStart,n);return r&&new Bt(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Bt(AT(this.content,e+this.openStart,n+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,n){if(!n)return Bt.empty;let r=n.openStart||0,o=n.openEnd||0;if(typeof r!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Bt(it.fromJSON(e,n.content),r,o)}static maxOpen(e,n=!0){let r=0,o=0;for(let i=e.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=e.lastChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.lastChild)o++;return new Bt(e,r,o)}}Bt.empty=new Bt(it.empty,0,0);function AT(t,e,n){let{index:r,offset:o}=t.findIndex(e),i=t.maybeChild(r),{index:l,offset:a}=t.findIndex(n);if(o==e||i.isText){if(a!=n&&!t.child(l).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=l)throw new RangeError("Removing non-flat range");return t.replaceChild(r,i.copy(AT(i.content,e-o-1,n-o-1)))}function NT(t,e,n,r){let{index:o,offset:i}=t.findIndex(e),l=t.maybeChild(o);if(i==e||l.isText)return r&&!r.canReplace(o,o,n)?null:t.cut(0,e).append(n).append(t.cut(e));let a=NT(l.content,e-i-1,n,l);return a&&t.replaceChild(o,l.copy(a))}function BX(t,e,n){if(n.openStart>t.depth)throw new H5("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new H5("Inconsistent open depths");return jT(t,e,n,0)}function jT(t,e,n,r){let o=t.index(r),i=t.node(r);if(o==e.index(r)&&r<t.depth-n.openStart){let l=jT(t,e,n,r+1);return i.copy(i.content.replaceChild(o,l))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&t.depth==r&&e.depth==r){let l=t.parent,a=l.content;return c1(l,a.cut(0,t.parentOffset).append(n.content).append(a.cut(e.parentOffset)))}else{let{start:l,end:a}=FX(n,t);return c1(i,RT(t,l,a,e,r))}else return c1(i,X5(t,e,r))}function _T(t,e){if(!e.type.compatibleContent(t.type))throw new H5("Cannot join "+e.type.name+" onto "+t.type.name)}function G8(t,e,n){let r=t.node(n);return _T(r,e.node(n)),r}function s1(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function sh(t,e,n,r){let o=(e||t).node(n),i=0,l=e?e.index(n):o.childCount;t&&(i=t.index(n),t.depth>n?i++:t.textOffset&&(s1(t.nodeAfter,r),i++));for(let a=i;a<l;a++)s1(o.child(a),r);e&&e.depth==n&&e.textOffset&&s1(e.nodeBefore,r)}function c1(t,e){return t.type.checkContent(e),t.copy(e)}function RT(t,e,n,r,o){let i=t.depth>o&&G8(t,e,o+1),l=r.depth>o&&G8(n,r,o+1),a=[];return sh(null,t,o,a),i&&l&&e.index(o)==n.index(o)?(_T(i,l),s1(c1(i,RT(t,e,n,r,o+1)),a)):(i&&s1(c1(i,X5(t,e,o+1)),a),sh(e,n,o,a),l&&s1(c1(l,X5(n,r,o+1)),a)),sh(r,null,o,a),new it(a)}function X5(t,e,n){let r=[];if(sh(null,t,n,r),t.depth>n){let o=G8(t,e,n+1);s1(c1(o,X5(t,e,n+1)),r)}return sh(e,null,n,r),new it(r)}function FX(t,e){let n=e.depth-t.openStart,r=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)r=e.node(o).copy(it.from(r));return{start:r.resolveNoCache(t.openStart+n),end:r.resolveNoCache(r.content.size-t.openEnd-n)}}class ch{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.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,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],o=e.child(n);return r?e.child(n).cut(r):o}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],o=n==0?0:this.path[n*3-1]+1;for(let i=0;i<e;i++)o+=r.child(i).nodeSize;return o}marks(){let e=this.parent,n=this.index();if(e.content.size==0)return Fr.none;if(this.textOffset)return e.child(n).marks;let r=e.maybeChild(n-1),o=e.maybeChild(n);if(!r){let a=r;r=o,o=a}let i=r.marks;for(var l=0;l<i.length;l++)i[l].type.spec.inclusive===!1&&(!o||!i[l].isInSet(o.marks))&&(i=i[l--].removeFromSet(i));return i}marksAcross(e){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,o=e.parent.maybeChild(e.index());for(var i=0;i<r.length;i++)r[i].type.spec.inclusive===!1&&(!o||!r[i].isInSet(o.marks))&&(r=r[i--].removeFromSet(r));return r}sharedDepth(e){for(let n=this.depth;n>0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new U5(this,e,r);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 n=1;n<=this.depth;n++)e+=(e?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return e+":"+this.parentOffset}static resolve(e,n){if(!(n>=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],o=0,i=n;for(let l=e;;){let{index:a,offset:s}=l.content.findIndex(i),u=i-s;if(r.push(l,a,o+s),!u||(l=l.child(a),l.isText))break;i=u-1,o+=s+1}return new ch(n,r,i)}static resolveCached(e,n){let r=QT.get(e);if(r)for(let i=0;i<r.elts.length;i++){let l=r.elts[i];if(l.pos==n)return l}else QT.set(e,r=new HX);let o=r.elts[r.i]=ch.resolve(e,n);return r.i=(r.i+1)%XX,o}}class HX{constructor(){this.elts=[],this.i=0}}const XX=12,QT=new WeakMap;class U5{constructor(e,n,r){this.$from=e,this.$to=n,this.depth=r}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 UX=Object.create(null);let Ms=class kO{constructor(e,n,r,o=Fr.none){this.type=e,this.attrs=n,this.marks=o,this.content=r||it.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,n,r,o=0){this.content.nodesBetween(e,n,r,o,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,n,r,o){return this.content.textBetween(e,n,r,o)}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,n,r){return this.type==e&&F5(this.attrs,n||e.defaultAttrs||UX)&&Fr.sameSet(this.marks,r||Fr.none)}copy(e=null){return e==this.content?this:new kO(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new kO(this.type,this.attrs,this.content,e)}cut(e,n=this.content.size){return e==0&&n==this.content.size?this:this.copy(this.content.cut(e,n))}slice(e,n=this.content.size,r=!1){if(e==n)return Bt.empty;let o=this.resolve(e),i=this.resolve(n),l=r?0:o.sharedDepth(n),a=o.start(l),s=o.node(l).content.cut(o.pos-a,i.pos-a);return new Bt(s,o.depth-l,i.depth-l)}replace(e,n,r){return BX(this.resolve(e),this.resolve(n),r)}nodeAt(e){for(let n=this;;){let{index:r,offset:o}=n.content.findIndex(e);if(n=n.maybeChild(r),!n)return null;if(o==e||n.isText)return n;e-=o+1}}childAfter(e){let{index:n,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(n),index:n,offset:r};let o=this.content.child(n-1);return{node:o,index:n-1,offset:r-o.nodeSize}}resolve(e){return ch.resolveCached(this,e)}resolveNoCache(e){return ch.resolve(this,e)}rangeHasMark(e,n,r){let o=!1;return n>e&&this.nodesBetween(e,n,i=>(r.isInSet(i.marks)&&(o=!0),!o)),o}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()+")"),IT(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=it.empty,o=0,i=r.childCount){let l=this.contentMatchAt(e).matchFragment(r,o,i),a=l&&l.matchFragment(this.content,n);if(!a||!a.validEnd)return!1;for(let s=o;s<i;s++)if(!this.type.allowsMarks(r.child(s).marks))return!1;return!0}canReplaceWith(e,n,r,o){if(o&&!this.type.allowsMarks(o))return!1;let i=this.contentMatchAt(e).matchType(r),l=i&&i.matchFragment(this.content,n);return l?l.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=Fr.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];r.type.checkAttrs(r.attrs),e=r.addToSet(e)}if(!Fr.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n 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(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let o=it.fromJSON(e,n.content),i=e.nodeType(n.type).create(n.attrs,o,r);return i.type.checkAttrs(i.attrs),i}};Ms.prototype.text=void 0;let WX=class TO extends Ms{constructor(e,n,r,o){if(super(e,n,null,o),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):IT(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new TO(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new TO(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function IT(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class d1{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new GX(e,n);if(r.next==null)return d1.empty;let o=DT(r);r.next&&r.err("Unexpected trailing text");let i=nU(tU(o));return rU(i,r),i}matchType(e){for(let n=0;n<this.next.length;n++)if(this.next[n].type==e)return this.next[n].next;return null}matchFragment(e,n=0,r=e.childCount){let o=this;for(let i=n;o&&i<r;i++)o=o.matchType(e.child(i).type);return o}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:n}=this.next[e];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(e){for(let n=0;n<this.next.length;n++)for(let r=0;r<e.next.length;r++)if(this.next[n].type==e.next[r].type)return!0;return!1}fillBefore(e,n=!1,r=0){let o=[this];function i(l,a){let s=l.matchFragment(e,r);if(s&&(!n||s.validEnd))return it.from(a.map(u=>u.createAndFill()));for(let u=0;u<l.next.length;u++){let{type:p,next:h}=l.next[u];if(!(p.isText||p.hasRequiredAttrs())&&o.indexOf(h)==-1){o.push(h);let b=i(h,a.concat(p));if(b)return b}}return null}return i(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}computeWrapping(e){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let o=r.shift(),i=o.match;if(i.matchType(e)){let l=[];for(let a=o;a.type;a=a.via)l.push(a.type);return l.reverse()}for(let l=0;l<i.next.length;l++){let{type:a,next:s}=i.next[l];!a.isLeaf&&!a.hasRequiredAttrs()&&!(a.name in n)&&(!o.type||s.validEnd)&&(r.push({match:a.contentMatch,type:a,via:o}),n[a.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 n(r){e.push(r);for(let o=0;o<r.next.length;o++)e.indexOf(r.next[o].next)==-1&&n(r.next[o].next)}return n(this),e.map((r,o)=>{let i=o+(r.validEnd?"*":" ")+" ";for(let l=0;l<r.next.length;l++)i+=(l?", ":"")+r.next[l].type.name+"->"+e.indexOf(r.next[l].next);return i}).join(`
43
43
  `)}}d1.empty=new d1(!0);class GX{constructor(e,n){this.string=e,this.nodeTypes=n,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 DT(t){let e=[];do e.push(qX(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function qX(t){let e=[];do e.push(YX(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function YX(t){let e=eU(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=KX(t,e);else break;return e}function zT(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function KX(t,e){let n=zT(t),r=n;return t.eat(",")&&(t.next!="}"?r=zT(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function JX(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let o=[];for(let i in n){let l=n[i];l.isInGroup(e)&&o.push(l)}return o.length==0&&t.err("No node type or group '"+e+"' found"),o}function eU(t){if(t.eat("(")){let e=DT(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=JX(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function tU(t){let e=[[]];return o(i(t,0),n()),e;function n(){return e.push([])-1}function r(l,a,s){let u={term:s,to:a};return e[l].push(u),u}function o(l,a){l.forEach(s=>s.to=a)}function i(l,a){if(l.type=="choice")return l.exprs.reduce((s,u)=>s.concat(i(u,a)),[]);if(l.type=="seq")for(let s=0;;s++){let u=i(l.exprs[s],a);if(s==l.exprs.length-1)return u;o(u,a=n())}else if(l.type=="star"){let s=n();return r(a,s),o(i(l.expr,s),s),[r(s)]}else if(l.type=="plus"){let s=n();return o(i(l.expr,a),s),o(i(l.expr,s),s),[r(s)]}else{if(l.type=="opt")return[r(a)].concat(i(l.expr,a));if(l.type=="range"){let s=a;for(let u=0;u<l.min;u++){let p=n();o(i(l.expr,s),p),s=p}if(l.max==-1)o(i(l.expr,s),s);else for(let u=l.min;u<l.max;u++){let p=n();r(s,p),o(i(l.expr,s),p),s=p}return[r(s)]}else{if(l.type=="name")return[r(a,void 0,l.value)];throw new Error("Unknown expr type")}}}}function VT(t,e){return e-t}function ZT(t,e){let n=[];return r(e),n.sort(VT);function r(o){let i=t[o];if(i.length==1&&!i[0].term)return r(i[0].to);n.push(o);for(let l=0;l<i.length;l++){let{term:a,to:s}=i[l];!a&&n.indexOf(s)==-1&&r(s)}}}function nU(t){let e=Object.create(null);return n(ZT(t,0));function n(r){let o=[];r.forEach(l=>{t[l].forEach(({term:a,to:s})=>{if(!a)return;let u;for(let p=0;p<o.length;p++)o[p][0]==a&&(u=o[p][1]);ZT(t,s).forEach(p=>{u||o.push([a,u=[]]),u.indexOf(p)==-1&&u.push(p)})})});let i=e[r.join(",")]=new d1(r.indexOf(t.length-1)>-1);for(let l=0;l<o.length;l++){let a=o[l][1].sort(VT);i.next.push({type:o[l][0],next:e[a.join(",")]||n(a)})}return i}}function rU(t,e){for(let n=0,r=[t];n<r.length;n++){let o=r[n],i=!o.validEnd,l=[];for(let a=0;a<o.next.length;a++){let{type:s,next:u}=o.next[a];l.push(s.name),i&&!(s.isText||s.hasRequiredAttrs())&&(i=!1),r.indexOf(u)==-1&&r.push(u)}i&&e.err("Only non-generatable nodes ("+l.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function BT(t){let e=Object.create(null);for(let n in t){let r=t[n];if(!r.hasDefault)return null;e[n]=r.default}return e}function FT(t,e){let n=Object.create(null);for(let r in t){let o=e&&e[r];if(o===void 0){let i=t[r];if(i.hasDefault)o=i.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=o}return n}function HT(t,e,n,r){for(let o in e)if(!(o in t))throw new RangeError(`Unsupported attribute ${o} for ${n} of type ${o}`);for(let o in t){let i=t[o];i.validate&&i.validate(e[o])}}function XT(t,e){let n=Object.create(null);if(e)for(let r in e)n[r]=new iU(t,r,e[r]);return n}let UT=class zV{constructor(e,n,r){this.name=e,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=XT(e,r.attrs),this.defaultAttrs=BT(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==d1.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:FT(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Ms(this,this.computeAttrs(e),it.from(n),Fr.setFrom(r))}createChecked(e=null,n,r){return n=it.from(n),this.checkContent(n),new Ms(this,this.computeAttrs(e),n,Fr.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=it.from(n),n.size){let l=this.contentMatch.fillBefore(n);if(!l)return null;n=l.append(n)}let o=this.contentMatch.matchFragment(n),i=o&&o.fillBefore(it.empty,!0);return i?new Ms(this,e,n.append(i),Fr.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).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){HT(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 n=0;n<e.length;n++)if(!this.allowsMarkType(e[n].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let n;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?n&&n.push(e[r]):n||(n=e.slice(0,r));return n?n.length?n:Fr.none:e}static compile(e,n){let r=Object.create(null);e.forEach((i,l)=>r[i]=new zV(i,n,l));let o=n.spec.topNode||"doc";if(!r[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function oU(t,e,n){let r=n.split("|");return o=>{let i=o===null?"null":typeof o;if(r.indexOf(i)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${i}`)}}let iU=class{constructor(t,e,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate=typeof n.validate=="string"?oU(t,e,n.validate):n.validate}get isRequired(){return!this.hasDefault}};class W5{constructor(e,n,r,o){this.name=e,this.rank=n,this.schema=r,this.spec=o,this.attrs=XT(e,o.attrs),this.excluded=null;let i=BT(this.attrs);this.instance=i?new Fr(this,i):null}create(e=null){return!e&&this.instance?this.instance:new Fr(this,FT(this.attrs,e))}static compile(e,n){let r=Object.create(null),o=0;return e.forEach((i,l)=>r[i]=new W5(i,o++,n,l)),r}removeFromSet(e){for(var n=0;n<e.length;n++)e[n].type==this&&(e=e.slice(0,n).concat(e.slice(n+1)),n--);return e}isInSet(e){for(let n=0;n<e.length;n++)if(e[n].type==this)return e[n]}checkAttrs(e){HT(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}let WT=class{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let e=this.spec={};for(let r in t)e[r]=t[r];e.nodes=$2.from(t.nodes),e.marks=$2.from(t.marks||{}),this.nodes=UT.compile(this.spec.nodes,this),this.marks=W5.compile(this.spec.marks,this);let n=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let o=this.nodes[r],i=o.spec.content||"",l=o.spec.marks;if(o.contentMatch=n[i]||(n[i]=d1.parse(i,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=l=="_"?null:l?GT(this,l.split(" ")):l==""||!o.inlineContent?[]:null}for(let r in this.marks){let o=this.marks[r],i=o.spec.excludes;o.excluded=i==null?[o]:i==""?[]:GT(this,i.split(" "))}this.nodeFromJSON=r=>Ms.fromJSON(this,r),this.markFromJSON=r=>Fr.fromJSON(this,r),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,n,r){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof UT){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(e,n,r)}text(t,e){let n=this.nodes.text;return new WX(n,n.defaultAttrs,t,Fr.setFrom(e))}mark(t,e){return typeof t=="string"&&(t=this.marks[t]),t.create(e)}nodeType(t){let e=this.nodes[t];if(!e)throw new RangeError("Unknown node type: "+t);return e}};function GT(t,e){let n=[];for(let r=0;r<e.length;r++){let o=e[r],i=t.marks[o],l=i;if(i)n.push(i);else for(let a in t.marks){let s=t.marks[a];(o=="_"||s.spec.group&&s.spec.group.split(" ").indexOf(o)>-1)&&n.push(l=s)}if(!l)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function lU(t){return t.tag!=null}function aU(t){return t.style!=null}class O0{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(o=>{if(lU(o))this.tags.push(o);else if(aU(o)){let i=/[^=]*/.exec(o.style)[0];r.indexOf(i)<0&&r.push(i),this.styles.push(o)}}),this.normalizeLists=!this.tags.some(o=>{if(!/^(ul|ol)\b/.test(o.tag)||!o.node)return!1;let i=e.nodes[o.node];return i.contentMatch.matchType(i)})}parse(e,n={}){let r=new JT(this,n,!1);return r.addAll(e,Fr.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new JT(this,n,!0);return r.addAll(e,Fr.none,n.from,n.to),Bt.maxOpen(r.finish())}matchTag(e,n,r){for(let o=r?this.tags.indexOf(r)+1:0;o<this.tags.length;o++){let i=this.tags[o];if(dU(e,i.tag)&&(i.namespace===void 0||e.namespaceURI==i.namespace)&&(!i.context||n.matchesContext(i.context))){if(i.getAttrs){let l=i.getAttrs(e);if(l===!1)continue;i.attrs=l||void 0}return i}}}matchStyle(e,n,r,o){for(let i=o?this.styles.indexOf(o)+1:0;i<this.styles.length;i++){let l=this.styles[i],a=l.style;if(!(a.indexOf(e)!=0||l.context&&!r.matchesContext(l.context)||a.length>e.length&&(a.charCodeAt(e.length)!=61||a.slice(e.length+1)!=n))){if(l.getAttrs){let s=l.getAttrs(n);if(s===!1)continue;l.attrs=s||void 0}return l}}}static schemaRules(e){let n=[];function r(o){let i=o.priority==null?50:o.priority,l=0;for(;l<n.length;l++){let a=n[l];if((a.priority==null?50:a.priority)<i)break}n.splice(l,0,o)}for(let o in e.marks){let i=e.marks[o].spec.parseDOM;i&&i.forEach(l=>{r(l=eE(l)),l.mark||l.ignore||l.clearMark||(l.mark=o)})}for(let o in e.nodes){let i=e.nodes[o].spec.parseDOM;i&&i.forEach(l=>{r(l=eE(l)),l.node||l.ignore||l.mark||(l.node=o)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new O0(e,O0.schemaRules(e)))}}const qT={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},sU={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},YT={ol:!0,ul:!0},dh=1,q8=2,uh=4;function KT(t,e,n){return e!=null?(e?dh:0)|(e==="full"?q8:0):t&&t.whitespace=="pre"?dh|q8:n&~uh}class G5{constructor(e,n,r,o,i,l){this.type=e,this.attrs=n,this.marks=r,this.solid=o,this.options=l,this.content=[],this.activeMarks=Fr.none,this.match=i||(l&uh?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(it.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,o;return(o=r.findWrapping(e.type))?(this.match=r,o):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&dh)){let r=this.content[this.content.length-1],o;if(r&&r.isText&&(o=/[ \t\r\n\u000c]+$/.exec(r.text))){let i=r;r.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-o[0].length))}}let n=it.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(it.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!qT.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}let JT=class{constructor(t,e,n){this.parser=t,this.options=e,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let r=e.topNode,o,i=KT(null,e.preserveWhitespace,0)|(n?uh:0);r?o=new G5(r.type,r.attrs,Fr.none,!0,e.topMatch||r.type.contentMatch,i):n?o=new G5(null,null,Fr.none,!0,null,i):o=new G5(t.schema.topNodeType,null,Fr.none,!0,null,i),this.nodes=[o],this.find=e.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t,e){t.nodeType==3?this.addTextNode(t,e):t.nodeType==1&&this.addElement(t,e)}addTextNode(t,e){let n=t.nodeValue,r=this.top,o=r.options&q8?"full":this.localPreserveWS||(r.options&dh)>0,{schema:i}=this.parser;if(o==="full"||r.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(o)if(o==="full")n=n.replace(/\r\n?/g,`
44
44
  `);else if(i.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(i.linebreakReplacement.create())){let l=n.split(/\r?\n|\r/);for(let a=0;a<l.length;a++)a&&this.insertNode(i.linebreakReplacement.create(),e,!0),l[a]&&this.insertNode(i.text(l[a]),e,!/\S/.test(l[a]));n=""}else n=n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let l=r.content[r.content.length-1],a=t.previousSibling;(!l||a&&a.nodeName=="BR"||l.isText&&/[ \t\r\n\u000c]$/.test(l.text))&&(n=n.slice(1))}n&&this.insertNode(i.text(n),e,!/\S/.test(n)),this.findInText(t)}else this.findInside(t)}addElement(t,e,n){let r=this.localPreserveWS,o=this.top;(t.tagName=="PRE"||/pre/.test(t.style&&t.style.whiteSpace))&&(this.localPreserveWS=!0);let i=t.nodeName.toLowerCase(),l;YT.hasOwnProperty(i)&&this.parser.normalizeLists&&cU(t);let a=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(l=this.parser.matchTag(t,this,n));e:if(a?a.ignore:sU.hasOwnProperty(i))this.findInside(t),this.ignoreFallback(t,e);else if(!a||a.skip||a.closeParent){a&&a.closeParent?this.open=Math.max(0,this.open-1):a&&a.skip.nodeType&&(t=a.skip);let s,u=this.needsBlock;if(qT.hasOwnProperty(i))o.content.length&&o.content[0].isInline&&this.open&&(this.open--,o=this.top),s=!0,o.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,e);break e}let p=a&&a.skip?e:this.readStyles(t,e);p&&this.addAll(t,p),s&&this.sync(o),this.needsBlock=u}else{let s=this.readStyles(t,e);s&&this.addElementByRule(t,a,s,a.consuming===!1?l:void 0)}this.localPreserveWS=r}leafFallback(t,e){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(`
45
45
  `),e)}ignoreFallback(t,e){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),e,!0)}readStyles(t,e){let n=t.style;if(n&&n.length)for(let r=0;r<this.parser.matchedStyles.length;r++){let o=this.parser.matchedStyles[r],i=n.getPropertyValue(o);if(i)for(let l=void 0;;){let a=this.parser.matchStyle(o,i,this,l);if(!a)break;if(a.ignore)return null;if(a.clearMark?e=e.filter(s=>!a.clearMark(s)):e=e.concat(this.parser.schema.marks[a.mark].create(a.attrs)),a.consuming===!1)l=a;else break}}return e}addElementByRule(t,e,n,r){let o,i;if(e.node)if(i=this.parser.schema.nodes[e.node],i.isLeaf)this.insertNode(i.create(e.attrs),n,t.nodeName=="BR")||this.leafFallback(t,n);else{let a=this.enter(i,e.attrs||null,n,e.preserveWhitespace);a&&(o=!0,n=a)}else{let a=this.parser.schema.marks[e.mark];n=n.concat(a.create(e.attrs))}let l=this.top;if(i&&i.isLeaf)this.findInside(t);else if(r)this.addElement(t,n,r);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(a=>this.insertNode(a,n,!1));else{let a=t;typeof e.contentElement=="string"?a=t.querySelector(e.contentElement):typeof e.contentElement=="function"?a=e.contentElement(t):e.contentElement&&(a=e.contentElement),this.findAround(t,a,!0),this.addAll(a,n),this.findAround(t,a,!1)}o&&this.sync(l)&&this.open--}addAll(t,e,n,r){let o=n||0;for(let i=n?t.childNodes[n]:t.firstChild,l=r==null?null:t.childNodes[r];i!=l;i=i.nextSibling,++o)this.findAtPoint(t,o),this.addDOM(i,e);this.findAtPoint(t,o)}findPlace(t,e,n){let r,o;for(let i=this.open,l=0;i>=0;i--){let a=this.nodes[i],s=a.findWrapping(t);if(s&&(!r||r.length>s.length+l)&&(r=s,o=a,!s.length))break;if(a.solid){if(n)break;l+=2}}if(!r)return null;this.sync(o);for(let i=0;i<r.length;i++)e=this.enterInner(r[i],null,e,!1);return e}insertNode(t,e,n){if(t.isInline&&this.needsBlock&&!this.top.type){let o=this.textblockFromContext();o&&(e=this.enterInner(o,null,e))}let r=this.findPlace(t,e,n);if(r){this.closeExtra();let o=this.top;o.match&&(o.match=o.match.matchType(t.type));let i=Fr.none;for(let l of r.concat(t.marks))(o.type?o.type.allowsMarkType(l.type):tE(l.type,t.type))&&(i=l.addToSet(i));return o.content.push(t.mark(i)),!0}return!1}enter(t,e,n,r){let o=this.findPlace(t.create(e),n,!1);return o&&(o=this.enterInner(t,e,n,!0,r)),o}enterInner(t,e,n,r=!1,o){this.closeExtra();let i=this.top;i.match=i.match&&i.match.matchType(t);let l=KT(t,o,i.options);i.options&uh&&i.content.length==0&&(l|=uh);let a=Fr.none;return n=n.filter(s=>(i.type?i.type.allowsMarkType(s.type):tE(s.type,t))?(a=s.addToSet(a),!1):!0),this.nodes.push(new G5(t,e,a,r,null,l)),this.open++,n}closeExtra(t=!1){let e=this.nodes.length-1;if(e>this.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));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(t){for(let e=this.open;e>=0;e--){if(this.nodes[e]==t)return this.open=e,!0;this.localPreserveWS&&(this.nodes[e].options|=dh)}return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let n=this.nodes[e].content;for(let r=n.length-1;r>=0;r--)t+=n[r].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&this.find[n].offset==e&&(this.find[n].pos=this.currentPos)}findInside(t){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].pos==null&&t.nodeType==1&&t.contains(this.find[e].node)&&(this.find[e].pos=this.currentPos)}findAround(t,e,n){if(t!=e&&this.find)for(let r=0;r<this.find.length;r++)this.find[r].pos==null&&t.nodeType==1&&t.contains(this.find[r].node)&&e.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}findInText(t){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].node==t&&(this.find[e].pos=this.currentPos-(t.nodeValue.length-this.find[e].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),n=this.options.context,r=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),o=-(n?n.depth+1:0)+(r?0:1),i=(l,a)=>{for(;l>=0;l--){let s=e[l];if(s==""){if(l==e.length-1||l==0)continue;for(;a>=o;a--)if(i(l-1,a))return!0;return!1}else{let u=a>0||a==0&&r?this.nodes[a].type:n&&a>=o?n.node(a-o).type:null;if(!u||u.name!=s&&!u.isInGroup(s))return!1;a--}}return!0};return i(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let n=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let n=this.parser.schema.nodes[e];if(n.isTextblock&&n.defaultAttrs)return n}}};function cU(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&YT.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function dU(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function eE(t){let e={};for(let n in t)e[n]=t[n];return e}function tE(t,e){let n=e.schema.nodes;for(let r in n){let o=n[r];if(!o.allowsMarkType(t))continue;let i=[],l=a=>{i.push(a);for(let s=0;s<a.edgeCount;s++){let{type:u,next:p}=a.edge(s);if(u==e||i.indexOf(p)<0&&l(p))return!0}};if(l(o.contentMatch))return!0}}class Ps{constructor(e,n){this.nodes=e,this.marks=n}serializeFragment(e,n={},r){r||(r=Y8(n).createDocumentFragment());let o=r,i=[];return e.forEach(l=>{if(i.length||l.marks.length){let a=0,s=0;for(;a<i.length&&s<l.marks.length;){let u=l.marks[s];if(!this.marks[u.type.name]){s++;continue}if(!u.eq(i[a][0])||u.type.spec.spanning===!1)break;a++,s++}for(;a<i.length;)o=i.pop()[1];for(;s<l.marks.length;){let u=l.marks[s++],p=this.serializeMark(u,l.isInline,n);p&&(i.push([u,o]),o.appendChild(p.dom),o=p.contentDOM||p.dom)}}o.appendChild(this.serializeNodeInner(l,n))}),r}serializeNodeInner(e,n){let{dom:r,contentDOM:o}=q5(Y8(n),this.nodes[e.type.name](e),null,e.attrs);if(o){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,n,o)}return r}serializeNode(e,n={}){let r=this.serializeNodeInner(e,n);for(let o=e.marks.length-1;o>=0;o--){let i=this.serializeMark(e.marks[o],e.isInline,n);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(e,n,r={}){let o=this.marks[e.type.name];return o&&q5(Y8(r),o(e,n),null,e.attrs)}static renderSpec(e,n,r=null,o){return q5(e,n,r,o)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Ps(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=nE(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return nE(e.marks)}}function nE(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function Y8(t){return t.document||window.document}const rE=new WeakMap;function uU(t){let e=rE.get(t);return e===void 0&&rE.set(t,e=pU(t)),e}function pU(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let o=0;o<r.length;o++)n(r[o]);else for(let o in r)n(r[o])}return n(t),e}function q5(t,e,n,r){if(typeof e=="string")return{dom:t.createTextNode(e)};if(e.nodeType!=null)return{dom:e};if(e.dom&&e.dom.nodeType!=null)return e;let o=e[0],i;if(typeof o!="string")throw new RangeError("Invalid array passed to renderSpec");if(r&&(i=uU(r))&&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 l=o.indexOf(" ");l>0&&(n=o.slice(0,l),o=o.slice(l+1));let a,s=n?t.createElementNS(n,o):t.createElement(o),u=e[1],p=1;if(u&&typeof u=="object"&&u.nodeType==null&&!Array.isArray(u)){p=2;for(let h in u)if(u[h]!=null){let b=h.indexOf(" ");b>0?s.setAttributeNS(h.slice(0,b),h.slice(b+1),u[h]):h=="style"&&s.style?s.style.cssText=u[h]:s.setAttribute(h,u[h])}}for(let h=p;h<e.length;h++){let b=e[h];if(b===0){if(h<e.length-1||h>p)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}else{let{dom:g,contentDOM:C}=q5(t,b,n,r);if(s.appendChild(g),C){if(a)throw new RangeError("Multiple content holes");a=C}}}return{dom:s,contentDOM:a}}const oE=65535,iE=Math.pow(2,16);function hU(t,e){return t+e*iE}function lE(t){return t&oE}function fU(t){return(t-(t&oE))/iE}const aE=1,sE=2,Y5=4,cE=8;class K8{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&cE)>0}get deletedBefore(){return(this.delInfo&(aE|Y5))>0}get deletedAfter(){return(this.delInfo&(sE|Y5))>0}get deletedAcross(){return(this.delInfo&Y5)>0}}class qi{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&qi.empty)return qi.empty}recover(e){let n=0,r=lE(e);if(!this.inverted)for(let o=0;o<r;o++)n+=this.ranges[o*3+2]-this.ranges[o*3+1];return this.ranges[r*3]+n+fU(e)}mapResult(e,n=1){return this._map(e,n,!1)}map(e,n=1){return this._map(e,n,!0)}_map(e,n,r){let o=0,i=this.inverted?2:1,l=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let s=this.ranges[a]-(this.inverted?o:0);if(s>e)break;let u=this.ranges[a+i],p=this.ranges[a+l],h=s+u;if(e<=h){let b=u?e==s?-1:e==h?1:n:n,g=s+o+(b<0?0:p);if(r)return g;let C=e==(n<0?s:h)?null:hU(a/3,e-s),k=e==s?sE:e==h?aE:Y5;return(n<0?e!=s:e!=h)&&(k|=cE),new K8(g,k,C)}o+=p-u}return r?e+o:new K8(e+o,0,null)}touches(e,n){let r=0,o=lE(n),i=this.inverted?2:1,l=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let s=this.ranges[a]-(this.inverted?r:0);if(s>e)break;let u=this.ranges[a+i],p=s+u;if(e<=p&&a==o*3)return!0;r+=this.ranges[a+l]-u}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let o=0,i=0;o<this.ranges.length;o+=3){let l=this.ranges[o],a=l-(this.inverted?i:0),s=l+(this.inverted?0:i),u=this.ranges[o+n],p=this.ranges[o+r];e(a,a+u,s,s+p),i+=p-u}}invert(){return new qi(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?qi.empty:new qi(e<0?[0,-e,0]:[0,0,e])}}qi.empty=new qi([]);class ph{constructor(e,n,r=0,o=e?e.length:0){this.mirror=n,this.from=r,this.to=o,this._maps=e||[],this.ownData=!(e||n)}get maps(){return this._maps}slice(e=0,n=this.maps.length){return new ph(this._maps,this.mirror,e,n)}appendMap(e,n){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),n!=null&&this.setMirror(this._maps.length-1,n)}appendMapping(e){for(let n=0,r=this._maps.length;n<e._maps.length;n++){let o=e.getMirror(n);this.appendMap(e._maps[n],o!=null&&o<n?r+o:void 0)}}getMirror(e){if(this.mirror){for(let n=0;n<this.mirror.length;n++)if(this.mirror[n]==e)return this.mirror[n+(n%2?-1:1)]}}setMirror(e,n){this.mirror||(this.mirror=[]),this.mirror.push(e,n)}appendMappingInverted(e){for(let n=e.maps.length-1,r=this._maps.length+e._maps.length;n>=0;n--){let o=e.getMirror(n);this.appendMap(e._maps[n].invert(),o!=null&&o>n?r-o-1:void 0)}}invert(){let e=new ph;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;r<this.to;r++)e=this._maps[r].map(e,n);return e}mapResult(e,n=1){return this._map(e,n,!1)}_map(e,n,r){let o=0;for(let i=this.from;i<this.to;i++){let l=this._maps[i],a=l.mapResult(e,n);if(a.recover!=null){let s=this.getMirror(i);if(s!=null&&s>i&&s<this.to){i=s,e=this._maps[s].recover(a.recover);continue}}o|=a.delInfo,e=a.pos}return r?e:new K8(e,o,null)}}const J8=Object.create(null);class F2{getMap(){return qi.empty}merge(e){return null}static fromJSON(e,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=J8[n.stepType];if(!r)throw new RangeError(`No step type ${n.stepType} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in J8)throw new RangeError("Duplicate use of step JSON ID "+e);return J8[e]=n,n.prototype.jsonID=e,n}}class Go{constructor(e,n){this.doc=e,this.failed=n}static ok(e){return new Go(e,null)}static fail(e){return new Go(null,e)}static fromReplace(e,n,r,o){try{return Go.ok(e.replace(n,r,o))}catch(i){if(i instanceof H5)return Go.fail(i.message);throw i}}}function eb(t,e,n){let r=[];for(let o=0;o<t.childCount;o++){let i=t.child(o);i.content.size&&(i=i.copy(eb(i.content,e,i))),i.isInline&&(i=e(i,n,o)),r.push(i)}return it.fromArray(r)}class Ls extends F2{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=e.resolve(this.from),o=r.node(r.sharedDepth(this.to)),i=new Bt(eb(n.content,(l,a)=>!l.isAtom||!a.type.allowsMarkType(this.mark.type)?l:l.mark(this.mark.addToSet(l.marks)),o),n.openStart,n.openEnd);return Go.fromReplace(e,this.from,this.to,i)}invert(){return new Pa(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Ls(n.pos,r.pos,this.mark)}merge(e){return e instanceof Ls&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Ls(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,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Ls(n.from,n.to,e.markFromJSON(n.mark))}}F2.jsonID("addMark",Ls);class Pa extends F2{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new Bt(eb(n.content,o=>o.mark(this.mark.removeFromSet(o.marks)),e),n.openStart,n.openEnd);return Go.fromReplace(e,this.from,this.to,r)}invert(){return new Ls(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Pa(n.pos,r.pos,this.mark)}merge(e){return e instanceof Pa&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Pa(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,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Pa(n.from,n.to,e.markFromJSON(n.mark))}}F2.jsonID("removeMark",Pa);class As extends F2{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Go.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Go.fromReplace(e,this.pos,this.pos+1,new Bt(it.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let o=0;o<n.marks.length;o++)if(!n.marks[o].isInSet(r))return new As(this.pos,n.marks[o]);return new As(this.pos,this.mark)}}return new u1(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new As(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new As(n.pos,e.markFromJSON(n.mark))}}F2.jsonID("addNodeMark",As);class u1 extends F2{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Go.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return Go.fromReplace(e,this.pos,this.pos+1,new Bt(it.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new As(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new u1(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new u1(n.pos,e.markFromJSON(n.mark))}}F2.jsonID("removeNodeMark",u1);class y2 extends F2{constructor(e,n,r,o=!1){super(),this.from=e,this.to=n,this.slice=r,this.structure=o}apply(e){return this.structure&&tb(e,this.from,this.to)?Go.fail("Structure replace would overwrite content"):Go.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new qi([this.from,this.to-this.from,this.slice.size])}invert(e){return new y2(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deletedAcross&&r.deletedAcross?null:new y2(n.pos,Math.max(n.pos,r.pos),this.slice,this.structure)}merge(e){if(!(e instanceof y2)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let n=this.slice.size+e.slice.size==0?Bt.empty:new Bt(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new y2(this.from,this.to+(e.to-e.from),n,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let n=this.slice.size+e.slice.size==0?Bt.empty:new Bt(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new y2(e.from,this.to,n,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,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new y2(n.from,n.to,Bt.fromJSON(e,n.slice),!!n.structure)}}F2.jsonID("replace",y2);class C2 extends F2{constructor(e,n,r,o,i,l,a=!1){super(),this.from=e,this.to=n,this.gapFrom=r,this.gapTo=o,this.slice=i,this.insert=l,this.structure=a}apply(e){if(this.structure&&(tb(e,this.from,this.gapFrom)||tb(e,this.gapTo,this.to)))return Go.fail("Structure gap-replace would overwrite content");let n=e.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return Go.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?Go.fromReplace(e,this.from,this.to,r):Go.fail("Content does not fit in gap")}getMap(){return new qi([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let n=this.gapTo-this.gapFrom;return new C2(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),o=this.from==this.gapFrom?n.pos:e.map(this.gapFrom,-1),i=this.to==this.gapTo?r.pos:e.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||o<n.pos||i>r.pos?null:new C2(n.pos,r.pos,o,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,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new C2(n.from,n.to,n.gapFrom,n.gapTo,Bt.fromJSON(e,n.slice),n.insert,!!n.structure)}}F2.jsonID("replaceAround",C2);function tb(t,e,n){let r=t.resolve(e),o=n-e,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let l=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!l||l.isLeaf)return!0;l=l.firstChild,o--}}return!1}function mU(t,e,n,r){let o=[],i=[],l,a;t.doc.nodesBetween(e,n,(s,u,p)=>{if(!s.isInline)return;let h=s.marks;if(!r.isInSet(h)&&p.type.allowsMarkType(r.type)){let b=Math.max(u,e),g=Math.min(u+s.nodeSize,n),C=r.addToSet(h);for(let k=0;k<h.length;k++)h[k].isInSet(C)||(l&&l.to==b&&l.mark.eq(h[k])?l.to=g:o.push(l=new Pa(b,g,h[k])));a&&a.to==b?a.to=g:i.push(a=new Ls(b,g,r))}}),o.forEach(s=>t.step(s)),i.forEach(s=>t.step(s))}function bU(t,e,n,r){let o=[],i=0;t.doc.nodesBetween(e,n,(l,a)=>{if(!l.isInline)return;i++;let s=null;if(r instanceof W5){let u=l.marks,p;for(;p=r.isInSet(u);)(s||(s=[])).push(p),u=p.removeFromSet(u)}else r?r.isInSet(l.marks)&&(s=[r]):s=l.marks;if(s&&s.length){let u=Math.min(a+l.nodeSize,n);for(let p=0;p<s.length;p++){let h=s[p],b;for(let g=0;g<o.length;g++){let C=o[g];C.step==i-1&&h.eq(o[g].style)&&(b=C)}b?(b.to=u,b.step=i):o.push({style:h,from:Math.max(a,e),to:u,step:i})}}}),o.forEach(l=>t.step(new Pa(l.from,l.to,l.style)))}function nb(t,e,n,r=n.contentMatch,o=!0){let i=t.doc.nodeAt(e),l=[],a=e+1;for(let s=0;s<i.childCount;s++){let u=i.child(s),p=a+u.nodeSize,h=r.matchType(u.type);if(!h)l.push(new y2(a,p,Bt.empty));else{r=h;for(let b=0;b<u.marks.length;b++)n.allowsMarkType(u.marks[b].type)||t.step(new Pa(a,p,u.marks[b]));if(o&&u.isText&&n.whitespace!="pre"){let b,g=/\r?\n|\r/g,C;for(;b=g.exec(u.text);)C||(C=new Bt(it.from(n.schema.text(" ",n.allowedMarks(u.marks))),0,0)),l.push(new y2(a+b.index,a+b.index+b[0].length,C))}}a=p}if(!r.validEnd){let s=r.fillBefore(it.empty,!0);t.replace(a,a,new Bt(s,0,0))}for(let s=l.length-1;s>=0;s--)t.step(l[s])}function gU(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function jd(t){let e=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let n=t.depth,r=0,o=0;;--n){let i=t.$from.node(n),l=t.$from.index(n)+r,a=t.$to.indexAfter(n)-o;if(n<t.depth&&i.canReplace(l,a,e))return n;if(n==0||i.type.spec.isolating||!gU(i,l,a))break;l&&(r=1),a<i.childCount&&(o=1)}return null}function vU(t,e,n){let{$from:r,$to:o,depth:i}=e,l=r.before(i+1),a=o.after(i+1),s=l,u=a,p=it.empty,h=0;for(let C=i,k=!1;C>n;C--)k||r.index(C)>0?(k=!0,p=it.from(r.node(C).copy(p)),h++):s--;let b=it.empty,g=0;for(let C=i,k=!1;C>n;C--)k||o.after(C+1)<o.end(C)?(k=!0,b=it.from(o.node(C).copy(b)),g++):u++;t.step(new C2(s,u,l,a,new Bt(p.append(b),h,g),p.size-h,!0))}function rb(t,e,n=null,r=t){let o=yU(t,e),i=o&&CU(r,e);return i?o.map(dE).concat({type:e,attrs:n}).concat(i.map(dE)):null}function dE(t){return{type:t,attrs:null}}function yU(t,e){let{parent:n,startIndex:r,endIndex:o}=t,i=n.contentMatchAt(r).findWrapping(e);if(!i)return null;let l=i.length?i[0]:e;return n.canReplaceWith(r,o,l)?i:null}function CU(t,e){let{parent:n,startIndex:r,endIndex:o}=t,i=n.child(r),l=e.contentMatch.findWrapping(i.type);if(!l)return null;let a=(l.length?l[l.length-1]:e).contentMatch;for(let s=r;a&&s<o;s++)a=a.matchType(n.child(s).type);return!a||!a.validEnd?null:l}function xU(t,e,n){let r=it.empty;for(let l=n.length-1;l>=0;l--){if(r.size){let a=n[l].type.contentMatch.matchFragment(r);if(!a||!a.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=it.from(n[l].type.create(n[l].attrs,r))}let o=e.start,i=e.end;t.step(new C2(o,i,o,i,new Bt(r,0,0),n.length,!0))}function wU(t,e,n,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=t.steps.length;t.doc.nodesBetween(e,n,(l,a)=>{let s=typeof o=="function"?o(l):o;if(l.isTextblock&&!l.hasMarkup(r,s)&&OU(t.doc,t.mapping.slice(i).map(a),r)){let u=null;if(r.schema.linebreakReplacement){let g=r.whitespace=="pre",C=!!r.contentMatch.matchType(r.schema.linebreakReplacement);g&&!C?u=!1:!g&&C&&(u=!0)}u===!1&&pE(t,l,a,i),nb(t,t.mapping.slice(i).map(a,1),r,void 0,u===null);let p=t.mapping.slice(i),h=p.map(a,1),b=p.map(a+l.nodeSize,1);return t.step(new C2(h,b,h+1,b-1,new Bt(it.from(r.create(s,null,l.marks)),0,0),1,!0)),u===!0&&uE(t,l,a,i),!1}})}function uE(t,e,n,r){e.forEach((o,i)=>{if(o.isText){let l,a=/\r?\n|\r/g;for(;l=a.exec(o.text);){let s=t.mapping.slice(r).map(n+1+i+l.index);t.replaceWith(s,s+1,e.type.schema.linebreakReplacement.create())}}})}function pE(t,e,n,r){e.forEach((o,i)=>{if(o.type==o.type.schema.linebreakReplacement){let l=t.mapping.slice(r).map(n+1+i);t.replaceWith(l,l+1,e.type.schema.text(`