!function(){"use strict";var e={15304:function(e,r,t){var a=e.exports.Validator=t(96482);e.exports.ValidatorResult=t(46677).ValidatorResult,e.exports.ValidatorResultError=t(46677).ValidatorResultError,e.exports.ValidationError=t(46677).ValidationError,e.exports.SchemaError=t(46677).SchemaError,e.exports.SchemaScanResult=t(49911).SchemaScanResult,e.exports.scan=t(49911).scan,e.exports.validate=function(e,r,t){return(new a).validate(e,r,t)}},16164:function(e,r,t){var a,i=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,c={};((e,r)=>{for(var t in r)i(e,t,{get:r[t],enumerable:!0})})(c,{CLASSES_PROP_KEY:()=>b,DateTimePropTypeUtil:()=>de,Schema:()=>nr,backdropFilterPropTypeUtil:()=>Le,backgroundColorOverlayPropTypeUtil:()=>te,backgroundGradientOverlayPropTypeUtil:()=>ae,backgroundImageOverlayPropTypeUtil:()=>ie,backgroundImagePositionOffsetPropTypeUtil:()=>se,backgroundImageSizeScalePropTypeUtil:()=>ce,backgroundOverlayItem:()=>ne,backgroundOverlayPropTypeUtil:()=>oe,backgroundPropTypeUtil:()=>ee,blurFilterPropTypeUtil:()=>Oe,booleanPropTypeUtil:()=>le,borderRadiusPropTypeUtil:()=>y,borderWidthPropTypeUtil:()=>v,boxShadowPropTypeUtil:()=>h,classesPropTypeUtil:()=>A,colorPropTypeUtil:()=>z,colorStopPropTypeUtil:()=>ue,colorToneFilterPropTypeUtil:()=>xe,createArrayPropUtils:()=>createArrayPropUtils,createPropUtils:()=>createPropUtils,cssFilterFunctionPropUtil:()=>Ue,dateRangePropTypeUtil:()=>Ke,dateStringPropTypeUtil:()=>We,dimensionsPropTypeUtil:()=>Z,dropShadowFilterPropTypeUtil:()=>Se,emailPropTypeUtil:()=>H,emailsPropTypeUtil:()=>G,evaluateTerm:()=>evaluateTerm,extractValue:()=>extractValue,filterEmptyValues:()=>filterEmptyValues,filterPropTypeUtil:()=>Ee,flexPropTypeUtil:()=>P,fontFamilyPropTypeUtil:()=>w,getPropSchemaFromCache:()=>getPropSchemaFromCache,gradientColorStopPropTypeUtil:()=>pe,gridTrackSizePropTypeUtil:()=>q,htmlPropTypeUtil:()=>ge,htmlV2PropTypeUtil:()=>ze,htmlV3PropTypeUtil:()=>Fe,hueRotateFilterPropTypeUtil:()=>$e,imageAttachmentIdPropType:()=>O,imagePropTypeUtil:()=>S,imageSrcPropTypeUtil:()=>$,intensityFilterPropTypeUtil:()=>je,isDependency:()=>isDependency,isDependencyMet:()=>isDependencyMet,isEmpty:()=>isEmpty,isOverridable:()=>isOverridable,isTransformable:()=>isTransformable,keyValuePropTypeUtil:()=>X,layoutDirectionPropTypeUtil:()=>W,linkPropTypeUtil:()=>B,mergeProps:()=>mergeProps,moveTransformPropTypeUtil:()=>Ve,numberPropTypeUtil:()=>_,numberRangePropTypeUtil:()=>me,parseHtmlChildren:()=>parseHtmlChildren,perspectiveOriginPropTypeUtil:()=>Je,positionPropTypeUtil:()=>fe,queryFilterArrayPropTypeUtil:()=>ve,queryFilterPropTypeUtil:()=>ye,queryPropTypeUtil:()=>he,rewrapOverridableValue:()=>rewrapOverridableValue,rotateTransformPropTypeUtil:()=>Re,scaleTransformPropTypeUtil:()=>Ce,selectionSizePropTypeUtil:()=>Q,shadowPropTypeUtil:()=>f,sizePropTypeUtil:()=>R,skewTransformPropTypeUtil:()=>qe,spanPropTypeUtil:()=>N,stringArrayPropTypeUtil:()=>I,stringPropTypeUtil:()=>D,strokePropTypeUtil:()=>J,svgSrcPropTypeUtil:()=>U,timeRangePropTypeUtil:()=>Be,timeStringPropTypeUtil:()=>He,transformFunctionsPropTypeUtil:()=>De,transformOriginPropTypeUtil:()=>Ie,transformPropTypeUtil:()=>Te,urlPropTypeUtil:()=>L,videoAttachmentIdPropType:()=>E,videoSrcPropTypeUtil:()=>k}),e.exports=(a=c,((e,r,t,a)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let c of o(r))s.call(e,c)||c===t||i(e,c,{get:()=>r[c],enumerable:!(a=n(r,c))||a.enumerable});return e})(i({},"__esModule",{value:!0}),a));var l=t(59618),u=t(59618),p=new Map;function getPropSchemaFromCache(e){return p.get(e)}function createPropUtils(e,r){const t=u.z.strictObject({$$type:u.z.literal(e),value:r,disabled:u.z.boolean().optional()});function isValid(e){return t.safeParse(e).success}const a={extract:function extract(e){return isValid(e)?e.value:null},isValid:isValid,create:function create(r,t){const a="function"==typeof r?r:()=>r,{base:i,disabled:n}=t||{};if(!i)return{$$type:e,value:a(),...n&&{disabled:n}};if(!isValid(i))throw new Error(`Cannot create prop based on invalid value: ${JSON.stringify(i)}`);return{$$type:e,value:a(i.value),...n&&{disabled:n}}},schema:t,key:e};return p.set(e,a),a}function createArrayPropUtils(e,r,t){return createPropUtils(t||`${e}-array`,u.z.array(r))}var m=t(59618),d=t(59618).z.any().nullable(),f=createPropUtils("shadow",m.z.strictObject({position:d,hOffset:d,vOffset:d,blur:d,spread:d,color:d})),h=createPropUtils("box-shadow",l.z.array(f.schema)),y=createPropUtils("border-radius-v2",t(59618).z.strictObject({"start-start":d,"start-end":d,"end-start":d,"end-end":d})),v=createPropUtils("border-width-v2",t(59618).z.strictObject({"block-start":d,"block-end":d,"inline-start":d,"inline-end":d})),g=t(59618),b="classes",A=createPropUtils(b,g.z.array(g.z.string().regex(/^[a-z][a-z-_0-9]*$/i))),z=createPropUtils("color",t(59618).z.string()),P=createPropUtils("flex",t(59618).z.strictObject({flexGrow:d,flexShrink:d,flexBasis:d})),F=createPropUtils("font-family",t(59618).z.string().nullable()),w=Object.assign(F,{getEnqueueFontFamily:e=>{const r=e.trim();return r.startsWith('"')&&r.endsWith('"')||r.startsWith("'")&&r.endsWith("'")?r.slice(1,-1).trim():r}}),S=createPropUtils("image",t(59618).z.strictObject({src:d,size:d})),O=createPropUtils("image-attachment-id",t(59618).z.number()),x=t(59618),$=createPropUtils("image-src",x.z.strictObject({id:d,url:x.z.null(),alt:d.optional().default(null)}).or(x.z.strictObject({id:d.optional().default(null),url:d,alt:d.optional().default(null)}))),j=t(59618),U=createPropUtils("svg-src",j.z.strictObject({id:d,url:j.z.null()}).or(j.z.strictObject({id:j.z.null(),url:d})).or(j.z.strictObject({id:d,url:d}))),E=createPropUtils("video-attachment-id",t(59618).z.number()),T=t(59618),k=createPropUtils("video-src",T.z.strictObject({id:d,url:T.z.null()}).or(T.z.strictObject({id:T.z.null(),url:d}))),Z=createPropUtils("dimensions",t(59618).z.strictObject({"block-start":d,"block-end":d,"inline-start":d,"inline-end":d})),_=createPropUtils("number",t(59618).z.number().nullable()),M=t(59618),V=M.z.union([M.z.number(),M.z.literal("")]),R=createPropUtils("size",M.z.strictObject({unit:M.z.enum(["px","em","rem","%","vw","vh","ch","fr"]),size:V}).or(M.z.strictObject({unit:M.z.enum(["deg","rad","grad","turn"]),size:V})).or(M.z.strictObject({unit:M.z.enum(["s","ms"]),size:V})).or(M.z.strictObject({unit:M.z.literal("auto"),size:M.z.literal("")})).or(M.z.strictObject({unit:M.z.literal("custom"),size:M.z.string()}))),C=t(59618),q=createPropUtils("grid-track-size",C.z.strictObject({unit:C.z.literal("fr"),size:C.z.union([C.z.number(),C.z.literal("")])}).or(C.z.strictObject({unit:C.z.literal("custom"),size:C.z.string()}))),N=createPropUtils("span",t(59618).z.string().nullable()),D=createPropUtils("string",t(59618).z.string().nullable()),I=createArrayPropUtils(D.key,D.schema),J=createPropUtils("stroke",t(59618).z.strictObject({color:d,width:d})),L=createPropUtils("url",t(59618).z.string().nullable()),K=t(59618),W=createPropUtils("layout-direction",K.z.object({row:K.z.any(),column:K.z.any()})),B=createPropUtils("link",t(59618).z.strictObject({destination:d,isTargetBlank:d,tag:d})),H=createPropUtils("email",t(59618).z.strictObject({to:d,subject:d,message:d,from:d,"meta-data":d,"send-as":d,"from-name":d,"reply-to":d,cc:d,bcc:d})),G=createPropUtils("emails",t(59618).z.strictObject({to:d,subject:d,message:d,from:d,"meta-data":d,"send-as":d,"from-name":d,"reply-to":d,cc:d,bcc:d})),Y=t(59618),X=createPropUtils("key-value",t(59618).z.strictObject({key:d,value:d})),Q=createPropUtils("selection-size",Y.z.strictObject({selection:Y.z.union([X.schema,D.schema]),size:d})),ee=createPropUtils("background",t(59618).z.strictObject({color:d,clip:d,"background-overlay":d})),re=t(59618),te=createPropUtils("background-color-overlay",d),ae=createPropUtils("background-gradient-overlay",d),ie=createPropUtils("background-image-overlay",d),ne=te.schema.or(ae.schema).or(ie.schema),oe=createPropUtils("background-overlay",re.z.array(ne)),se=createPropUtils("background-image-position-offset",d),ce=createPropUtils("background-image-size-scale",d),le=createPropUtils("boolean",t(59618).z.boolean().nullable()),ue=createPropUtils("color-stop",t(59618).z.strictObject({color:d,offset:d})),pe=createPropUtils("gradient-color-stop",t(59618).z.array(ue.schema)),me=createPropUtils("number-range",t(59618).z.strictObject({min:d,max:d})),de=createPropUtils("date-time",t(59618).z.strictObject({date:d,time:d})),fe=createPropUtils("object-position",t(59618).z.strictObject({x:d,y:d})),he=createPropUtils("query",t(59618).z.strictObject({id:d,label:d})),ye=createPropUtils("query-filter",t(59618).z.strictObject({key:d,values:d,taxonomies:d})),ve=createArrayPropUtils(ye.key,ye.schema),ge=createPropUtils("html",t(59618).z.string().nullable()),be=t(59618),Ae=be.z.lazy(()=>be.z.object({id:be.z.string(),type:be.z.string(),content:be.z.string().optional(),children:be.z.array(Ae).optional()})),ze=createPropUtils("html-v2",be.z.object({content:be.z.string().nullable(),children:be.z.array(Ae)})),Pe=t(59618),Fe=createPropUtils("html-v3",Pe.z.object({content:D.schema.nullable(),children:Pe.z.array(Pe.z.unknown())})),we=t(59618),Se=createPropUtils("drop-shadow",t(59618).z.object({xAxis:d,yAxis:d,blur:d,color:d})),Oe=createPropUtils("blur",t(59618).z.strictObject({size:d})),xe=createPropUtils("color-tone",t(59618).z.strictObject({size:d})),$e=createPropUtils("hue-rotate",t(59618).z.strictObject({size:d})),je=createPropUtils("intensity",t(59618).z.strictObject({size:d})),Ue=createPropUtils("css-filter-func",we.z.object({func:D.schema,args:we.z.union([Oe.schema,je.schema,xe.schema,$e.schema,Se.schema])})),Ee=createPropUtils("filter",we.z.array(Ue.schema)),Te=createPropUtils("transform",t(59618).z.strictObject({"transform-functions":d,"transform-origin":d,perspective:d,"perspective-origin":d})),ke=t(59618),Ze="transform-scale",_e="transform-rotate",Me="transform-skew",Ve=createPropUtils("transform-move",t(59618).z.strictObject({x:d,y:d,z:d})),Re=createPropUtils(_e,t(59618).z.strictObject({x:d,y:d,z:d})),Ce=createPropUtils(Ze,t(59618).z.strictObject({x:_.schema.nullable(),y:_.schema.nullable(),z:_.schema.nullable()})),qe=createPropUtils(Me,t(59618).z.strictObject({x:d,y:d})),Ne=Ve.schema.or(Ce.schema).or(Re.schema).or(qe.schema),De=createPropUtils("transform-functions",ke.z.array(Ne)),Ie=createPropUtils("transform-origin",t(59618).z.strictObject({x:d,y:d,z:d})),Je=createPropUtils("perspective-origin",t(59618).z.strictObject({x:d,y:d})),Le=createPropUtils("backdrop-filter",t(59618).z.array(Ue.schema)),Ke=createPropUtils("date-range",t(59618).z.strictObject({min:d,max:d})),We=createPropUtils("date-string",t(59618).z.string()),Be=createPropUtils("time-range",t(59618).z.strictObject({min:d,max:d})),He=createPropUtils("time-string",t(59618).z.string()),ensureNotNull=(e,r)=>null===e?r:e,Ge={transformers:{}},adjustLlmPropValueSchema=(e,{transformers:r={},forceKey:t}=Ge)=>{const a=structuredClone(e);if("object"!=typeof a||null===a)return null;if(Array.isArray(a))return a.map(e=>adjustLlmPropValueSchema(e,{forceKey:t,transformers:r}));const i=a;switch("$intention"in i&&delete i.$intention,t&&(i.$$type=t),i.$$type){case"size":{const{value:e}=i;return{$$type:"size",value:{unit:"string"==typeof e.unit?e.unit:ensureNotNull(D.extract(e.unit),"px"),size:"string"==typeof e.size||"number"==typeof e.size?e.size:ensureNotNull(D.extract(e.size),_.extract(e.size))}}}case"html-v3":{const{value:e}=i;return{$$type:"html-v3",value:{...e,children:Array.isArray(e.children)?e.children:[]}}}default:const e=r?.[i.$$type];if(e)return e(i.value)}if("object"==typeof i.value)if(Array.isArray(i.value))i.value=adjustLlmPropValueSchema(i.value,{transformers:r});else{const{value:e}=i,t=a;t.value={},Object.entries(e).forEach(([e,a])=>{t.value[e]=adjustLlmPropValueSchema(a,{transformers:r})})}return a};function jsonSchemaToPropType(e,r=e.key){const t={};return e.description&&(t.description=e.description),e.anyOf&&Array.isArray(e.anyOf)?function convertJsonSchemaToUnionPropType(e,r){const t={};if(!e.anyOf||!Array.isArray(e.anyOf))throw new Error("Invalid anyOf schema");for(const r of e.anyOf)if("object"===r.type&&r.properties&&r.properties.$$type&&r.properties.value){const e=r.properties.$$type;let a;if(!(e.enum&&Array.isArray(e.enum)&&e.enum.length>0))continue;a=e.enum[0];const i=convertJsonSchemaToPropType(r.properties.value);t[a]=i}return{kind:"union",prop_types:t,settings:{},meta:r}}(e,t):"object"===e.type&&e.properties?function convertJsonSchemaToObjectPropType(e,r,t=e.key){const a={};if(!e.properties)return{kind:"object",key:t,shape:{},settings:{},meta:r};const i=Array.isArray(e.required)?e.required:[];for(const[r,n]of Object.entries(e.properties)){const e=convertJsonSchemaToPropType(n,t);i.includes(r)&&(e.settings={...e.settings,required:!0}),a[r]=e}return{kind:"object",key:t||"object",shape:a,settings:{},meta:r}}(e,t,r):"array"===e.type&&e.items?function convertJsonSchemaToArrayPropType(e,r,t=e.key){if(!e.items)throw new Error("Array schema must have items property");const a=convertJsonSchemaToPropType(e.items);return{kind:"array",key:t||"array",item_prop_type:a,settings:{},meta:r}}(e,t,r):function convertJsonSchemaToPlainPropType(e,r,t=e.key){const a={};let i=t||"string";"number"===e.type?i="number":"boolean"===e.type?i="boolean":"string"===e.type&&(i="string");Array.isArray(e.enum)&&(a.enum=e.enum);return{kind:"plain",key:i,settings:a,meta:r}}(e,t,r)}function convertJsonSchemaToPropType(e,r){return jsonSchemaToPropType(e,r)}var Ye="dynamic",Xe="overridable",Qe=null;function propTypeToJsonSchema(e,r=!1){const t=e.meta?.description,a={};switch(t&&(a.description=t),null!==e.initial_value&&void 0!==e.initial_value&&(a.examples=[e.initial_value]),e.kind){case"union":return function convertUnionPropType(e,r,t){const a=structuredClone(r),i=e.prop_types||{},n=!t&&Boolean(i[Ye]),o=t||n,s=[];for(const[e,r]of Object.entries(i))e!==Xe&&(e!==Ye?s.push(propTypeToJsonSchema(r,o)):n&&s.push(convertDynamicPropType(r)));s.length>0&&(a.anyOf=s);const c=e.meta?.description;c&&(a.description=c);return a}(e,a,r);case"object":return function convertObjectPropType(e,r,t){const a=structuredClone(r);a.type="object";const i={properties:{$$type:{type:"string",const:e.key},value:{type:"object",properties:{},additionalProperties:!1}}},n=["$$type","value"],o=[],s=e.shape||{};for(const[e,r]of Object.entries(s)){const a=propTypeToJsonSchema(r,t);!0===r.settings?.required&&o.push(e),i.properties.value.properties&&(i.properties.value.properties[e]=a)}a.required=n,o.length>0&&(i.properties.value.required=o);return{...a,...i}}(e,a,r);case"array":return function convertArrayPropType(e,r,t){const a=structuredClone(r);let i;a.type="object";const n=e.item_prop_type;n&&(i=propTypeToJsonSchema(n,t));return a.properties={$$type:{type:"string",const:e.key},value:{type:"array",...i?{items:i}:{}}},a}(e,a,r);default:return function convertPlainPropType(e,r){const t={...r};if(!Object.hasOwn(e,"kind"))throw new Error(`PropType kind is undefined for propType with key: ${e.key??"[unknown key]"}`);const a=e.settings?.enum||[];switch(e.kind){case"string":case"number":case"boolean":return{...t,type:"object",properties:{$$type:{type:"string",const:e.key??e.kind},value:{type:e.kind,...a.length>0?{enum:a}:{}}},required:["$$type","value"]};case"unknown":return{};default:return{...t,type:"object",$$type:e.kind,value:{type:e.kind}}}}(e,a)}}function convertDynamicPropType(e){const r=Array.isArray(e.settings?.categories)?e.settings.categories:[],t=Qe?.(r)??[];return{type:"object",description:'Bind THIS value to a dynamic tag instead of a static value (this may be a nested field, e.g. an image\'s "src"). Look up the chosen tag in the "elementor://dynamic-tags" resource and populate "settings" exactly as its schema requires.',properties:{$$type:{type:"string",const:Ye},value:{type:"object",properties:{name:{type:"string",description:'Dynamic tag name from "elementor://dynamic-tags".',...t.length?{enum:t}:{}},settings:{type:"object",description:"Tag settings matching the chosen tag's schema in the resource."}},required:["name"]}},required:["$$type","value"]}}var er=["_cssid","classes","attributes"];function isPropKeyConfigurable(e,r){return!er.includes(e)||!(Array.isArray(r?.meta)||!r?.meta?.llm_configurable)}var rr=t(15304);function processValidationError(e){const r={path:e.path,message:e.message,schema:e.schema,instance:e.instance,name:e.name};if("anyOf"===e.name&&e.schema&&"object"==typeof e.schema&&"anyOf"in e.schema){const t=(e.schema.anyOf||[]).map((r,t)=>{const a=(0,rr.validate)(e.instance,r);let i=`variant-${t}`;if(r&&"object"==typeof r&&"properties"in r&&r.properties&&"object"==typeof r.properties&&"$$type"in r.properties){const e=r.properties.$$type;e&&"object"==typeof e&&"const"in e&&"string"==typeof e.const&&(i=e.const)}return{discriminator:i,errors:a.errors.map(processValidationError)}});r.variants=t}return r}function formatDetailedErrors(e,r=""){const t=[];for(const a of e){const e=a.path.length>0?a.path.join("."):"root";if(t.push(`${r}Error at ${e}: ${a.message}`),a.variants&&a.variants.length>0){t.push(`${r} Tried ${a.variants.length} variant(s):`);for(const e of a.variants)if(t.push(`${r} - ${e.discriminator}:`),0===e.errors.length)t.push(`${r} (no errors - this variant matched!)`);else for(const a of e.errors){const e=a.path.length>0?a.path.join("."):"root";t.push(`${r} ${e}: ${a.message}`),a.variants&&a.variants.length>0&&t.push(formatDetailedErrors([a],`${r} `))}}}return t.join("\n")}var tr=t(59618),ar=tr.z.object({$$type:tr.z.string(),value:tr.z.any(),disabled:tr.z.boolean().optional()}),isTransformable=e=>ar.safeParse(e).success,filterEmptyValues=e=>isEmpty(e)?null:Array.isArray(e)?e.map(filterEmptyValues).filter(e=>!isEmpty(e)):"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[e,filterEmptyValues(r)]).filter(([,e])=>!isEmpty(e))):e,isEmpty=e=>e&&isTransformable(e)?isEmpty(e.value):isNullish(e)||isNullishArray(e)||isNullishObject(e),isNullish=e=>null==e||""===e,isNullishArray=e=>Array.isArray(e)&&e.every(isEmpty),isNullishObject=e=>"object"==typeof e&&isNullishArray(Object.values(e));function isOverridable(e){return isTransformable(e)&&"overridable"===e.$$type}function rewrapOverridableValue(e,r){return{...e,value:{...e.value,origin_value:r}}}function mergeProps(e,r){let t={};return Array.isArray(e)||(t=structuredClone(e)),Object.entries(r).forEach(([e,r])=>{null==r?delete t[e]:t[e]=r}),t}function isDependencyMet(e,r){if(!e?.terms.length)return{isMet:!0};const{relation:t,terms:a}=e,i=function getRelationMethod(e){switch(e){case"or":return"some";case"and":return"every";default:throw new Error(`Relation not supported ${e}`)}}(t),n=[];return{isMet:a[i](e=>{const t=isDependency(e)?isDependencyMet(e,r).isMet:evaluateTerm(e,extractValue(e.path,r,e.nestedPath)?.value);return t||n.push(e),t}),failingDependencies:n}}function evaluateTerm(e,r){const{value:t,operator:a}=e;switch(a){case"eq":case"ne":return r===t==("eq"===a);case"gt":case"lte":return!(!isNumber(r)||!isNumber(t))&&Number(r)>Number(t)==("gt"===a);case"lt":case"gte":return!(!isNumber(r)||!isNumber(t))&&Number(r)isTransformable(e)?e.value:e):r).includes(t);case"exists":case"not_exist":return"exists"===a===(!!r||0===r||!1===r);default:return!0}}function isNumber(e){return"number"==typeof e&&!isNaN(e)}function extractValue(e,r,t=[],a={}){const{unwrapOverridableLeaf:i=!0}=a;let n=e.reduce((r,t,a)=>{const i=r?.[t];if(a===e.length-1)return i;if(isOverridable(i)){const e=i.value.origin_value;return isTransformable(e)?e.value??null:e}return isTransformable(i)?i.value??null:i},r);if(i&&n&&isOverridable(n)&&(n=n.value.origin_value??null),!t?.length)return n;return{$$type:"unknown",value:t.reduce((e,r)=>e?.[r],n?.value)}}function isDependency(e){return"terms"in e}var ir=new Set(["span","b","strong","i","em","u","a","del","sup","sub","s"]);function generateElementId(){return`e-${Date.now().toString(36)}-${Math.random().toString(36).substring(2,9)}`}function traverseChildren(e){const r=[];for(const t of Array.from(e.children)){const e=t.tagName.toLowerCase();if(!ir.has(e)){r.push(...traverseChildren(t));continue}let a=t.getAttribute("id");a||(a=generateElementId(),t.setAttribute("id",a));const i={id:a,type:e},n=t.textContent?.trim();n&&(i.content=n);const o=traverseChildren(t);o.length>0&&(i.children=o),r.push(i)}return r}function parseHtmlChildren(e){if(!e)return{content:e,children:[]};const r=(new DOMParser).parseFromString(`${e}`,"text/html"),t=r.querySelector("parsererror");if(t)return console.warn("HTML parsing error, returning original content:",t.textContent),{content:e,children:[]};const a=r.body,i=traverseChildren(a);return{content:a.innerHTML,children:i}}var nr={jsonSchemaToPropType:jsonSchemaToPropType,propTypeToJsonSchema:propTypeToJsonSchema,adjustLlmPropValueSchema:adjustLlmPropValueSchema,isPropKeyConfigurable:isPropKeyConfigurable,nonConfigurablePropKeys:er,configurableKeys:function configurableKeys(e){return Object.keys(e).filter(r=>isPropKeyConfigurable(r,e[r]))},validatePropValue:(e,r)=>{const t=propTypeToJsonSchema(e);if(null===r)return{valid:!0,errors:[],errorMessages:[],jsonSchema:JSON.stringify(propTypeToJsonSchema(e))};const a=(0,rr.validate)(r,t),i=a.errors.map(processValidationError);return{valid:a.valid,errors:a.errors,errorMessages:formatDetailedErrors(i),jsonSchema:JSON.stringify(t)}},enrichWithIntention:function enrichWithIntention(e,r="Describe the desired outcome"){const t=structuredClone(e);return t.properties?(t.properties.$intention={type:"string",description:r},t.required=[...t.required||[],"$intention"],t):e},removeIntention:function removeIntention(e){const r=structuredClone(e);return r.properties?(delete r.properties.$intention,r.required&&(r.required=r.required.filter(e=>"$intention"!==e)),r):e},setDynamicTagNamesResolver:function setDynamicTagNamesResolver(e){Qe=e}}},46677:function(e,r){var t=r.ValidationError=function ValidationError(e,r,t,a,i,n){if(Array.isArray(a)?(this.path=a,this.property=a.reduce(function(e,r){return e+s(r)},"instance")):void 0!==a&&(this.property=a),e&&(this.message=e),t){var o=t.$id||t.id;this.schema=o||t}void 0!==r&&(this.instance=r),this.name=i,this.argument=n,this.stack=this.toString()};t.prototype.toString=function toString(){return this.property+" "+this.message};var a=r.ValidatorResult=function ValidatorResult(e,r,t,a){this.instance=e,this.schema=r,this.options=t,this.path=a.path,this.propertyPath=a.propertyPath,this.errors=[],this.throwError=t&&t.throwError,this.throwFirst=t&&t.throwFirst,this.throwAll=t&&t.throwAll,this.disableFormat=t&&!0===t.disableFormat};function stringizer(e,r){return r+": "+e.toString()+"\n"}function ValidatorResultError(e){"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,ValidatorResultError),this.instance=e.instance,this.schema=e.schema,this.options=e.options,this.errors=e.errors}a.prototype.addError=function addError(e){var r;if("string"==typeof e)r=new t(e,this.instance,this.schema,this.path);else{if(!e)throw new Error("Missing error detail");if(!e.message)throw new Error("Missing error message");if(!e.name)throw new Error("Missing validator type");r=new t(e.message,this.instance,this.schema,this.path,e.name,e.argument)}if(this.errors.push(r),this.throwFirst)throw new ValidatorResultError(this);if(this.throwError)throw r;return r},a.prototype.importErrors=function importErrors(e){"string"==typeof e||e&&e.validatorType?this.addError(e):e&&e.errors&&(this.errors=this.errors.concat(e.errors))},a.prototype.toString=function toString(e){return this.errors.map(stringizer).join("")},Object.defineProperty(a.prototype,"valid",{get:function(){return!this.errors.length}}),e.exports.ValidatorResultError=ValidatorResultError,ValidatorResultError.prototype=new Error,ValidatorResultError.prototype.constructor=ValidatorResultError,ValidatorResultError.prototype.name="Validation Error";var i=r.SchemaError=function SchemaError(e,r){this.message=e,this.schema=r,Error.call(this,e),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,SchemaError)};i.prototype=Object.create(Error.prototype,{constructor:{value:i,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var n=r.SchemaContext=function SchemaContext(e,r,t,a,i){this.schema=e,this.options=r,Array.isArray(t)?(this.path=t,this.propertyPath=t.reduce(function(e,r){return e+s(r)},"instance")):this.propertyPath=t,this.base=a,this.schemas=i};n.prototype.resolve=function resolve(e){return(()=>c(this.base,e))()},n.prototype.makeChild=function makeChild(e,r){var t=void 0===r?this.path:this.path.concat([r]),a=e.$id||e.id;let i=(()=>c(this.base,a||""))();var o=new n(e,this.options,t,i,Object.create(this.schemas));return a&&!o.schemas[i]&&(o.schemas[i]=e),o};var o=r.FORMAT_REGEXPS={"date-time":/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])[tT ](2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])(\.\d+)?([zZ]|[+-]([0-5][0-9]):(60|[0-5][0-9]))$/,date:/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])$/,time:/^(2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])$/,duration:/P(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S)|\d+(D|M(\d+D)?|Y(\d+M(\d+D)?)?)(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S))?|\d+W)/i,email:/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/,"idn-email":/^("(?:[!#-\[\]-\u{10FFFF}]|\\[\t -\u{10FFFF}])*"|[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}])*)@([!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}])*|\[[!-Z\^-\u{10FFFF}]*\])$/u,"ip-address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/(%[0-9a-f]{2}|[!#$&(-;=?@\[\]_a-z~]|\{[!#&+,./;=?@|]?(%[0-9a-f]{2}|[0-9_a-z])(\.?(%[0-9a-f]{2}|[0-9_a-z]))*(:[1-9]\d{0,3}|\*)?(,(%[0-9a-f]{2}|[0-9_a-z])(\.?(%[0-9a-f]{2}|[0-9_a-z]))*(:[1-9]\d{0,3}|\*)?)*\})*/iu,"json-pointer":/^(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*$/iu,"relative-json-pointer":/^\d+(#|(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*)$/iu,hostname:/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"utc-millisec":function(e){return"string"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},regex:function(e){var r=!0;try{new RegExp(e)}catch(e){r=!1}return r},style:/[\r\n\t ]*[^\r\n\t ][^:]*:[\r\n\t ]*[^\r\n\t ;]*[\r\n\t ]*;?/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/};o.regexp=o.regex,o.pattern=o.regex,o.ipv4=o["ip-address"],r.isFormat=function isFormat(e,r,t){if("string"==typeof e&&void 0!==o[r]){if(o[r]instanceof RegExp)return o[r].test(e);if("function"==typeof o[r])return o[r](e)}else if(t&&t.customFormats&&"function"==typeof t.customFormats[r])return t.customFormats[r](e);return!0};var s=r.makeSuffix=function makeSuffix(e){return(e=e.toString()).match(/[.\s\[\]]/)||e.match(/^[\d]/)?e.match(/^\d+$/)?"["+e+"]":"["+JSON.stringify(e)+"]":"."+e};function deepMerger(e,r,t,a){"object"==typeof t?r[a]=deepMerge(e[a],t):-1===e.indexOf(t)&&r.push(t)}function copyist(e,r,t){r[t]=e[t]}function copyistWithDeepMerge(e,r,t,a){"object"==typeof r[a]&&r[a]&&e[a]?t[a]=deepMerge(e[a],r[a]):t[a]=r[a]}function deepMerge(e,r){var t=Array.isArray(r),a=t&&[]||{};return t?(e=e||[],a=a.concat(e),r.forEach(deepMerger.bind(null,e,a))):(e&&"object"==typeof e&&Object.keys(e).forEach(copyist.bind(null,e,a)),Object.keys(r).forEach(copyistWithDeepMerge.bind(null,e,r,a))),a}function pathEncoder(e){return"/"+encodeURIComponent(e).replace(/~/g,"%7E")}r.deepCompareStrict=function deepCompareStrict(e,r){if(typeof e!=typeof r)return!1;if(Array.isArray(e))return!!Array.isArray(r)&&(e.length===r.length&&e.every(function(t,a){return deepCompareStrict(e[a],r[a])}));if("object"==typeof e){if(!e||!r)return e===r;var t=Object.keys(e),a=Object.keys(r);return t.length===a.length&&t.every(function(t){return deepCompareStrict(e[t],r[t])})}return e===r},e.exports.deepMerge=deepMerge,r.objectGetPath=function objectGetPath(e,r){for(var t,a=r.split("/").slice(1);"string"==typeof(t=a.shift());){var i=decodeURIComponent(t.replace(/~0/,"~").replace(/~1/g,"/"));if(!(i in e))return;e=e[i]}return e},r.encodePath=function encodePointer(e){return e.map(pathEncoder).join("")},r.getDecimalPlaces=function getDecimalPlaces(e){var r=0;if(isNaN(e))return r;"number"!=typeof e&&(e=Number(e));var t=e.toString().split("e");if(2===t.length){if("-"!==t[1][0])return r;r=Number(t[1].slice(1))}var a=t[0].split(".");return 2===a.length&&(r+=a[1].length),r},r.isSchema=function isSchema(e){return"object"==typeof e&&e||"boolean"==typeof e};var c=r.resolveUrl=function resolveUrl(e,r){const t=new URL(r,new URL(e,"resolve://"));if("resolve:"===t.protocol){const{pathname:e,search:r,hash:a}=t;return e+r+a}return t.toString()}},49911:function(e,r,t){var a=t(46677);function SchemaScanResult(e,r){this.id=e,this.ref=r}e.exports.SchemaScanResult=SchemaScanResult,e.exports.scan=function scan(e,r){function scanSchema(e,r){if(!r||"object"!=typeof r)return;if(r.$ref){let t=a.resolveUrl(e,r.$ref);return void(i[t]=i[t]?i[t]+1:0)}var n=r.$id||r.id;let o=a.resolveUrl(e,n);var s=n?o:e;if(s){if(s.indexOf("#")<0&&(s+="#"),t[s]){if(!a.deepCompareStrict(t[s],r))throw new Error("Schema <"+s+"> already exists with different definition");return t[s]}t[s]=r,"#"==s[s.length-1]&&(t[s.substring(0,s.length-1)]=r)}scanArray(s+"/items",Array.isArray(r.items)?r.items:[r.items]),scanArray(s+"/extends",Array.isArray(r.extends)?r.extends:[r.extends]),scanSchema(s+"/additionalItems",r.additionalItems),scanObject(s+"/properties",r.properties),scanSchema(s+"/additionalProperties",r.additionalProperties),scanObject(s+"/definitions",r.definitions),scanObject(s+"/patternProperties",r.patternProperties),scanObject(s+"/dependencies",r.dependencies),scanArray(s+"/disallow",r.disallow),scanArray(s+"/allOf",r.allOf),scanArray(s+"/anyOf",r.anyOf),scanArray(s+"/oneOf",r.oneOf),scanSchema(s+"/not",r.not)}function scanArray(e,r){if(Array.isArray(r))for(var t=0;t":e+""}});n.addError({name:"type",argument:s,message:"is not of a type(s) "+s})}return n},s.anyOf=function validateAnyOf(e,r,t,a){if(void 0===e)return null;var o=new i(e,r,t,a),s=new i(e,r,t,a);if(!Array.isArray(r.anyOf))throw new n("anyOf must be an array");if(!r.anyOf.some(testSchemaNoThrow.bind(this,e,t,a,function(e){s.importErrors(e)}))){var c=r.anyOf.map(function(e,r){var t=e.$id||e.id;return t?"<"+t+">":e.title&&JSON.stringify(e.title)||e.$ref&&"<"+e.$ref+">"||"[subschema "+r+"]"});t.nestedErrors&&o.importErrors(s),o.addError({name:"anyOf",argument:c,message:"is not any of "+c.join(",")})}return o},s.allOf=function validateAllOf(e,r,t,a){if(void 0===e)return null;if(!Array.isArray(r.allOf))throw new n("allOf must be an array");var o=new i(e,r,t,a),s=this;return r.allOf.forEach(function(r,i){var n=s.validateSchema(e,r,t,a);if(!n.valid){var c=r.$id||r.id||r.title&&JSON.stringify(r.title)||r.$ref&&"<"+r.$ref+">"||"[subschema "+i+"]";o.addError({name:"allOf",argument:{id:c,length:n.errors.length,valid:n},message:"does not match allOf schema "+c+" with "+n.errors.length+" error[s]:"}),o.importErrors(n)}}),o},s.oneOf=function validateOneOf(e,r,t,a){if(void 0===e)return null;if(!Array.isArray(r.oneOf))throw new n("oneOf must be an array");var o=new i(e,r,t,a),s=new i(e,r,t,a),c=r.oneOf.filter(testSchemaNoThrow.bind(this,e,t,a,function(e){s.importErrors(e)})).length,l=r.oneOf.map(function(e,r){return e.$id||e.id||e.title&&JSON.stringify(e.title)||e.$ref&&"<"+e.$ref+">"||"[subschema "+r+"]"});return 1!==c&&(t.nestedErrors&&o.importErrors(s),o.addError({name:"oneOf",argument:l,message:"is not exactly one from "+l.join(",")})),o},s.if=function validateIf(e,r,t,n){if(void 0===e)return null;if(!a.isSchema(r.if))throw new Error('Expected "if" keyword to be a schema');var o,s=testSchemaNoThrow.call(this,e,t,n,null,r.if),c=new i(e,r,t,n);if(s){if(void 0===r.then)return;if(!a.isSchema(r.then))throw new Error('Expected "then" keyword to be a schema');o=this.validateSchema(e,r.then,t,n.makeChild(r.then)),c.importErrors(o)}else{if(void 0===r.else)return;if(!a.isSchema(r.else))throw new Error('Expected "else" keyword to be a schema');o=this.validateSchema(e,r.else,t,n.makeChild(r.else)),c.importErrors(o)}return c},s.propertyNames=function validatePropertyNames(e,r,t,o){if(this.types.object(e)){var s=new i(e,r,t,o),c=void 0!==r.propertyNames?r.propertyNames:{};if(!a.isSchema(c))throw new n('Expected "propertyNames" to be a schema (object or boolean)');for(var l in e)if(void 0!==getEnumerableProperty(e,l)){var u=this.validateSchema(l,c,t,o.makeChild(c));s.importErrors(u)}return s}},s.properties=function validateProperties(e,r,t,a){if(this.types.object(e)){var o=new i(e,r,t,a),s=r.properties||{};for(var c in s){var l=s[c];if(void 0!==l){if(null===l)throw new n('Unexpected null, expected schema in "properties"');"function"==typeof t.preValidateProperty&&t.preValidateProperty(e,c,l,t,a);var u=getEnumerableProperty(e,c),p=this.validateSchema(u,l,t,a.makeChild(l,c));p.instance!==o.instance[c]&&(o.instance[c]=p.instance),o.importErrors(p)}}return o}},s.patternProperties=function validatePatternProperties(e,r,t,a){if(this.types.object(e)){var o=new i(e,r,t,a),s=r.patternProperties||{};for(var c in e){var l=!0;for(var u in s){var p=s[u];if(void 0!==p){if(null===p)throw new n('Unexpected null, expected schema in "patternProperties"');try{var m=new RegExp(u,"u")}catch(e){m=new RegExp(u)}if(m.test(c)){l=!1,"function"==typeof t.preValidateProperty&&t.preValidateProperty(e,c,p,t,a);var d=this.validateSchema(e[c],p,t,a.makeChild(p,c));d.instance!==o.instance[c]&&(o.instance[c]=d.instance),o.importErrors(d)}}}l&&testAdditionalProperty.call(this,e,r,t,a,c,o)}return o}},s.additionalProperties=function validateAdditionalProperties(e,r,t,a){if(this.types.object(e)){if(r.patternProperties)return null;var n=new i(e,r,t,a);for(var o in e)testAdditionalProperty.call(this,e,r,t,a,o,n);return n}},s.minProperties=function validateMinProperties(e,r,t,a){if(this.types.object(e)){var n=new i(e,r,t,a);return Object.keys(e).length>=r.minProperties||n.addError({name:"minProperties",argument:r.minProperties,message:"does not meet minimum property length of "+r.minProperties}),n}},s.maxProperties=function validateMaxProperties(e,r,t,a){if(this.types.object(e)){var n=new i(e,r,t,a);return Object.keys(e).length<=r.maxProperties||n.addError({name:"maxProperties",argument:r.maxProperties,message:"does not meet maximum property length of "+r.maxProperties}),n}},s.items=function validateItems(e,r,t,a){var n=this;if(this.types.array(e)&&void 0!==r.items){var o=new i(e,r,t,a);return e.every(function(e,i){if(Array.isArray(r.items))var s=void 0===r.items[i]?r.additionalItems:r.items[i];else s=r.items;if(void 0===s)return!0;if(!1===s)return o.addError({name:"items",message:"additionalItems not permitted"}),!1;var c=n.validateSchema(e,s,t,a.makeChild(s,i));return c.instance!==o.instance[i]&&(o.instance[i]=c.instance),o.importErrors(c),!0}),o}},s.contains=function validateContains(e,r,t,n){var o=this;if(this.types.array(e)&&void 0!==r.contains){if(!a.isSchema(r.contains))throw new Error('Expected "contains" keyword to be a schema');var s=new i(e,r,t,n);return!1===e.some(function(e,a){return 0===o.validateSchema(e,r.contains,t,n.makeChild(r.contains,a)).errors.length})&&s.addError({name:"contains",argument:r.contains,message:"must contain an item matching given schema"}),s}},s.minimum=function validateMinimum(e,r,t,a){if(this.types.number(e)){var n=new i(e,r,t,a);return r.exclusiveMinimum&&!0===r.exclusiveMinimum?e>r.minimum||n.addError({name:"minimum",argument:r.minimum,message:"must be greater than "+r.minimum}):e>=r.minimum||n.addError({name:"minimum",argument:r.minimum,message:"must be greater than or equal to "+r.minimum}),n}},s.maximum=function validateMaximum(e,r,t,a){if(this.types.number(e)){var n=new i(e,r,t,a);return r.exclusiveMaximum&&!0===r.exclusiveMaximum?er.exclusiveMinimum||n.addError({name:"exclusiveMinimum",argument:r.exclusiveMinimum,message:"must be strictly greater than "+r.exclusiveMinimum}),n}},s.exclusiveMaximum=function validateExclusiveMaximum(e,r,t,a){if("boolean"!=typeof r.exclusiveMaximum&&this.types.number(e)){var n=new i(e,r,t,a);return e=r.minLength||n.addError({name:"minLength",argument:r.minLength,message:"does not meet minimum length of "+r.minLength}),n}},s.maxLength=function validateMaxLength(e,r,t,a){if(this.types.string(e)){var n=new i(e,r,t,a),o=e.match(/[\uDC00-\uDFFF]/g);return e.length-(o?o.length:0)<=r.maxLength||n.addError({name:"maxLength",argument:r.maxLength,message:"does not meet maximum length of "+r.maxLength}),n}},s.minItems=function validateMinItems(e,r,t,a){if(this.types.array(e)){var n=new i(e,r,t,a);return e.length>=r.minItems||n.addError({name:"minItems",argument:r.minItems,message:"does not meet minimum length of "+r.minItems}),n}},s.maxItems=function validateMaxItems(e,r,t,a){if(this.types.array(e)){var n=new i(e,r,t,a);return e.length<=r.maxItems||n.addError({name:"maxItems",argument:r.maxItems,message:"does not meet maximum length of "+r.maxItems}),n}},s.uniqueItems=function validateUniqueItems(e,r,t,a){if(!0===r.uniqueItems&&this.types.array(e)){var n=new i(e,r,t,a);return e.every(testArrays)||n.addError({name:"uniqueItems",message:"contains duplicate item"}),n}},s.dependencies=function validateDependencies(e,r,t,a){if(this.types.object(e)){var n=new i(e,r,t,a);for(var o in r.dependencies)if(void 0!==e[o]){var s=r.dependencies[o],c=a.makeChild(s,o);if("string"==typeof s&&(s=[s]),Array.isArray(s))s.forEach(function(r){void 0===e[r]&&n.addError({name:"dependencies",argument:c.propertyPath,message:"property "+r+" not found, required by "+c.propertyPath})});else{var l=this.validateSchema(e,s,t,c);n.instance!==l.instance&&(n.instance=l.instance),l&&l.errors.length&&(n.addError({name:"dependencies",argument:c.propertyPath,message:"does not meet dependency required by "+c.propertyPath}),n.importErrors(l))}}return n}},s.enum=function validateEnum(e,r,t,o){if(void 0===e)return null;if(!Array.isArray(r.enum))throw new n("enum expects an array",r);var s=new i(e,r,t,o);return r.enum.some(a.deepCompareStrict.bind(null,e))||s.addError({name:"enum",argument:r.enum,message:"is not one of enum values: "+r.enum.map(String).join(",")}),s},s.const=function validateEnum(e,r,t,n){if(void 0===e)return null;var o=new i(e,r,t,n);return a.deepCompareStrict(r.const,e)||o.addError({name:"const",argument:r.const,message:"does not exactly match expected constant: "+r.const}),o},s.not=s.disallow=function validateNot(e,r,t,a){var n=this;if(void 0===e)return null;var o=new i(e,r,t,a),s=r.not||r.disallow;return s?(Array.isArray(s)||(s=[s]),s.forEach(function(i){if(n.testType(e,r,t,a,i)){var s=i&&(i.$id||i.id)||i;o.addError({name:"not",argument:s,message:"is of prohibited type "+s})}}),o):null},e.exports=o},59618:function(e){e.exports=window.elementorV2.schema},96482:function(e,r,t){var a=t(55140),i=t(46677),n=t(49911).scan,o=i.ValidatorResult,s=i.ValidatorResultError,c=i.SchemaError,l=i.SchemaContext,u=function Validator(){this.customFormats=Object.create(Validator.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(p),this.attributes=Object.create(a.validators)};function shouldResolve(e){var r="string"==typeof e?e:e.$ref;return"string"==typeof r&&r}u.prototype.customFormats={},u.prototype.schemas=null,u.prototype.types=null,u.prototype.attributes=null,u.prototype.unresolvedRefs=null,u.prototype.addSchema=function addSchema(e,r){var t=this;if(!e)return null;var a=n(r||"/",e),i=r||e.$id||e.id;for(var o in a.id)this.schemas[o]=a.id[o];for(var o in a.ref)this.unresolvedRefs.push(o);return this.unresolvedRefs=this.unresolvedRefs.filter(function(e){return void 0===t.schemas[e]}),this.schemas[i]},u.prototype.addSubSchemaArray=function addSubSchemaArray(e,r){if(Array.isArray(r))for(var t=0;t",e);var o=i.objectGetPath(t.schemas[n],a.substr(1));if(void 0===o)throw new c("no such schema "+a+" located in <"+n+">",e);return{subschema:o,switchSchema:r}},u.prototype.testType=function validateType(e,r,t,a,i){if(void 0!==i){if(null===i)throw new c('Unexpected null in "type" keyword');if("function"==typeof this.types[i])return this.types[i].call(this,e);if(i&&"object"==typeof i){var n=this.validateSchema(e,i,t,a);return void 0===n||!(n&&n.errors.length)}return!0}};var p=u.prototype.types={};p.string=function testString(e){return"string"==typeof e},p.number=function testNumber(e){return"number"==typeof e&&isFinite(e)},p.integer=function testInteger(e){return"number"==typeof e&&e%1==0},p.boolean=function testBoolean(e){return"boolean"==typeof e},p.array=function testArray(e){return Array.isArray(e)},p.null=function testNull(e){return null===e},p.date=function testDate(e){return e instanceof Date},p.any=function testAny(e){return!0},p.object=function testObject(e){return e&&"object"==typeof e&&!Array.isArray(e)&&!(e instanceof Date)},e.exports=u}},r={};var t=function __webpack_require__(t){var a=r[t];if(void 0!==a)return a.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,__webpack_require__),i.exports}(16164);(window.elementorV2=window.elementorV2||{}).editorProps=t}(),window.elementorV2.editorProps?.init?.();!function(root,factory){"function"==typeof define&&define.amd?define(factory):"object"==typeof exports?module.exports=factory():root.NProgress=factory()}(this,function(){function clamp(n,min,max){return nmax?max:n}function toBarPerc(n){return 100*(-1+n)}function barPositionCSS(n,speed,ease){var barCSS;return barCSS="translate3d"===Settings.positionUsing?{transform:"translate3d("+toBarPerc(n)+"%,0,0)"}:"translate"===Settings.positionUsing?{transform:"translate("+toBarPerc(n)+"%,0)"}:{"margin-left":toBarPerc(n)+"%"},barCSS.transition="all "+speed+"ms "+ease,barCSS}function hasClass(element,name){var list="string"==typeof element?element:classList(element);return list.indexOf(" "+name+" ")>=0}function addClass(element,name){var oldList=classList(element),newList=oldList+name;hasClass(oldList,name)||(element.className=newList.substring(1))}function removeClass(element,name){var newList,oldList=classList(element);hasClass(element,name)&&(newList=oldList.replace(" "+name+" "," "),element.className=newList.substring(1,newList.length-1))}function classList(element){return(" "+(element.className||"")+" ").replace(/\s+/gi," ")}function removeElement(element){element&&element.parentNode&&element.parentNode.removeChild(element)}var NProgress={};NProgress.version="0.2.0";var Settings=NProgress.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};NProgress.configure=function(options){var key,value;for(key in options)value=options[key],void 0!==value&&options.hasOwnProperty(key)&&(Settings[key]=value);return this},NProgress.status=null,NProgress.set=function(n){var started=NProgress.isStarted();n=clamp(n,Settings.minimum,1),NProgress.status=1===n?null:n;var progress=NProgress.render(!started),bar=progress.querySelector(Settings.barSelector),speed=Settings.speed,ease=Settings.easing;return progress.offsetWidth,queue(function(next){""===Settings.positionUsing&&(Settings.positionUsing=NProgress.getPositioningCSS()),css(bar,barPositionCSS(n,speed,ease)),1===n?(css(progress,{transition:"none",opacity:1}),progress.offsetWidth,setTimeout(function(){css(progress,{transition:"all "+speed+"ms linear",opacity:0}),setTimeout(function(){NProgress.remove(),next()},speed)},speed)):setTimeout(next,speed)}),this},NProgress.isStarted=function(){return"number"==typeof NProgress.status},NProgress.start=function(){NProgress.status||NProgress.set(0);var work=function(){setTimeout(function(){NProgress.status&&(NProgress.trickle(),work())},Settings.trickleSpeed)};return Settings.trickle&&work(),this},NProgress.done=function(force){return force||NProgress.status?NProgress.inc(.3+.5*Math.random()).set(1):this},NProgress.inc=function(amount){var n=NProgress.status;return n?("number"!=typeof amount&&(amount=(1-n)*clamp(Math.random()*n,.1,.95)),n=clamp(n+amount,0,.994),NProgress.set(n)):NProgress.start()},NProgress.trickle=function(){return NProgress.inc(Math.random()*Settings.trickleRate)},function(){var initial=0,current=0;NProgress.promise=function($promise){return $promise&&"resolved"!==$promise.state()?(0===current&&NProgress.start(),initial++,current++,$promise.always(function(){current--,0===current?(initial=0,NProgress.done()):NProgress.set((initial-current)/initial)}),this):this}}(),NProgress.render=function(fromStart){if(NProgress.isRendered())return document.getElementById("nprogress");addClass(document.documentElement,"nprogress-busy");var progress=document.createElement("div");progress.id="nprogress",progress.innerHTML=Settings.template;var spinner,bar=progress.querySelector(Settings.barSelector),perc=fromStart?"-100":toBarPerc(NProgress.status||0),parent=document.querySelector(Settings.parent);return css(bar,{transition:"all 0 linear",transform:"translate3d("+perc+"%,0,0)"}),Settings.showSpinner||(spinner=progress.querySelector(Settings.spinnerSelector),spinner&&removeElement(spinner)),parent!=document.body&&addClass(parent,"nprogress-custom-parent"),parent.appendChild(progress),progress},NProgress.remove=function(){removeClass(document.documentElement,"nprogress-busy"),removeClass(document.querySelector(Settings.parent),"nprogress-custom-parent");var progress=document.getElementById("nprogress");progress&&removeElement(progress)},NProgress.isRendered=function(){return!!document.getElementById("nprogress")},NProgress.getPositioningCSS=function(){var bodyStyle=document.body.style,vendorPrefix="WebkitTransform"in bodyStyle?"Webkit":"MozTransform"in bodyStyle?"Moz":"msTransform"in bodyStyle?"ms":"OTransform"in bodyStyle?"O":"";return vendorPrefix+"Perspective"in bodyStyle?"translate3d":vendorPrefix+"Transform"in bodyStyle?"translate":"margin"};var queue=function(){function next(){var fn=pending.shift();fn&&fn(next)}var pending=[];return function(fn){pending.push(fn),1==pending.length&&next()}}(),css=function(){function camelCase(string){return string.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(match,letter){return letter.toUpperCase()})}function getVendorProp(name){var style=document.body.style;if(name in style)return name;for(var vendorName,i=cssPrefixes.length,capName=name.charAt(0).toUpperCase()+name.slice(1);i--;)if(vendorName=cssPrefixes[i]+capName,vendorName in style)return vendorName;return name}function getStyleProp(name){return name=camelCase(name),cssProps[name]||(cssProps[name]=getVendorProp(name))}function applyCss(element,prop,value){prop=getStyleProp(prop),element.style[prop]=value}var cssPrefixes=["Webkit","O","Moz","ms"],cssProps={};return function(element,properties){var prop,value,args=arguments;if(2==args.length)for(prop in properties)value=properties[prop],void 0!==value&&properties.hasOwnProperty(prop)&&applyCss(element,prop,value);else applyCss(element,args[1],args[2])}}();return NProgress}); Dubai’s Extravagant Lifestyle: A Glimpse into the Luxurious Advantages of Living in the City – Marsa Village

Dubai’s Extravagant Lifestyle: A Glimpse into the Luxurious Advantages of Living in the City

Introduction:

 

Dubai, often synonymous with luxury and opulence, has garnered international acclaim for its lavish lifestyle and remarkable advantages for residents. At Marsa Village, we understand the allure of living in this thriving metropolis, and in this blog post, we will explore the exceptional benefits of residing in Dubai, as well as how the government plays a pivotal role in creating a favorable environment for its people.

 

Tax-Free Living:

One of the most enticing aspects of living in Dubai is the absence of income tax. Unlike many other countries, Dubai’s government does not impose personal income tax on its residents. This financial benefit allows individuals to keep a significant portion of their earnings, making Dubai an attractive destination for professionals and entrepreneurs seeking to maximize their income.

 

World-Class Infrastructure:

Dubai is renowned for its futuristic architecture and state-of-the-art infrastructure. The government consistently invests in developing and maintaining top-tier facilities, including modern transportation systems, world-class healthcare, and educational institutions. Residents benefit from an unparalleled quality of life with access to world-class amenities and services.

 

Business-Friendly Environment:

Dubai’s government actively encourages entrepreneurship and business development. The city boasts numerous free zones and incentives that make it easier for businesses to thrive. From reduced corporate taxes to simplified administrative processes, Dubai provides an environment conducive to business growth, attracting both startups and multinational corporations.

 

Cultural Diversity and Tolerance:

Dubai is a melting pot of cultures, and the government has championed cultural diversity and tolerance. Residents from around the world find a welcoming and inclusive environment in Dubai. The government’s commitment to diversity promotes social harmony, creating a sense of belonging for all residents.

 

Safety and Security:

Dubai is consistently ranked as one of the safest cities globally, thanks to the government’s strong commitment to maintaining law and order. The low crime rate and well-trained law enforcement agencies ensure that residents can enjoy a peaceful and secure lifestyle.

 

Expansive Leisure and Entertainment Options:

Dubai offers an unparalleled array of leisure and entertainment options, from luxurious shopping districts to world-class restaurants, entertainment venues, and outdoor activities. The government actively supports the development of these attractions, enhancing residents’ opportunities for enjoyment and relaxation.