PageSourceSearch

https://base44.com/assets/validateTypes-DNTPqATx.js

js base44.com collected 2026-09-24 08:40:35 UTC 86,478 bytes, 1 lines download raw bytes

1import{R as D}from"./vendor-react-iS5Ken2I.js";const Z={type:"object",properties:{layoutParams:{$ref:"#/definitions/LayoutParams"},behaviourParams:{$ref:"#/definitions/BehaviourParams"},stylingParams:{$ref:"#/definitions/StylingParams"}},definitions:{LayoutParams:{type:"object",properties:{groups:{$ref:"#/definitions/Groups"},crop:{$ref:"#/definitions/Crop"},structure:{$ref:"#/definitions/Structure"},thumbnails:{$ref:"#/definitions/Thumbnails"},navigationArrows:{$ref:"#/definitions/NavigationArrows"},info:{$ref:"#/definitions/Info"},targetItemSize:{$ref:"#/definitions/TargetItemSize"}}},Groups:{type:"object",properties:{density:{type:"number"},groupByOrientation:{type:"boolean"},numberOfGroupsPerRow:{type:"number"},allowedGroupTypes:{type:"array",items:{enum:["1","2h","2v","3b","3h","3l","3r","3t","3v"],type:"string"}},repeatingGroupTypes:{type:"array",items:{enum:["1","2h","2v","3b","3h","3l","3r","3t","3v"],type:"string"}},groupSize:{type:"number"}}},Crop:{type:"object",properties:{method:{enum:["FILL","FIT","MAX","MIN"],type:"string"},alignment:{enum:["BOTTOM","CENTER","LEFT","RIGHT","TOP"],type:"string"},enable:{type:"boolean"},enableSmartCrop:{type:"boolean"},cropOnlyFill:{type:"boolean"},ratios:{type:"array",items:{type:"number"}}}},Structure:{type:"object",properties:{galleryLayout:{type:"number"},galleryRatio:{$ref:"#/definitions/GalleryRatio"},enableStreching:{type:"boolean"},gallerySpacing:{type:"number"},itemSpacing:{type:"number"},scrollDirection:{enum:["HORIZONTAL","VERTICAL"],type:"string"},numberOfColumns:{type:"number"},numberOfGridRows:{type:"number"},responsiveMode:{enum:["FIT_TO_SCREEN","SET_ITEMS_PER_ROW"],type:"string"},columnRatios:{type:"array",items:{type:"number"}},scatter:{$ref:"#/definitions/Scatter"},layoutOrientation:{enum:["HORIZONTAL","VERTICAL"],type:"string"},groupsOrder:{enum:["BY_HEIGHT","LEFT_TO_RIGHT"],type:"string"}}},GalleryRatio:{type:"object",properties:{value:{type:"number"},includeExternalInfo:{type:"boolean"}},required:["includeExternalInfo","value"]},Scatter:{type:"object",properties:{randomScatter:{type:"number"},manualScatter:{type:"string"}}},Thumbnails:{type:"object",properties:{enable:{type:"boolean"},position:{enum:["ON_GALLERY","OUTSIDE_GALLERY"],type:"string"},spacing:{type:"number"},marginToGallery:{type:"number"},size:{type:"number"},alignment:{enum:["BOTTOM","LEFT","RIGHT","TOP"],type:"string"},ratio:{type:"number"}}},NavigationArrows:{type:"object",properties:{enable:{type:"boolean"},size:{type:"number"},padding:{type:"number"},position:{enum:["MOUSE_CURSOR","ON_GALLERY","OUTSIDE_GALLERY"],type:"string"},verticalAlignment:{enum:["IMAGE_CENTER","INFO_CENTER","ITEM_CENTER"],type:"string"},type:{enum:["ARROW_2","ARROW_3","DEFAULT_ARROW"],type:"string"},container:{$ref:"#/definitions/NavigationArrowsContainer"},mouseCursorContainerMaxWidth:{type:"number"}}},NavigationArrowsContainer:{type:"object",properties:{type:{enum:["BOX","NONE","SHADOW"],type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"}}},Info:{type:"object",properties:{sizeUnits:{enum:["PERCENT","PIXEL"],type:"string"},width:{type:"number"},height:{type:"number"},spacing:{type:"number"},layout:{enum:["ATTACHED_BACKGROUND","DONT_SHOW","NO_BACKGROUND","SEPARATED_BACKGROUND"],type:"string"},border:{$ref:"#/definitions/InfoBorder"},placement:{enum:["ABOVE","ALTERNATE_HORIZONTALLY","ALTERNATE_VERTICALLY","BELOW","LEFT","OVERLAY","RIGHT"],type:"string"}}},InfoBorder:{type:"object",properties:{width:{type:"number"},color:{type:"string"},radius:{type:"number"}}},TargetItemSize:{type:"object",properties:{unit:{enum:["PERCENT","PIXEL","SMART"],type:"string"},value:{type:"number"},minimum:{type:"number"}}},BehaviourParams:{type:"object",properties:{item:{$ref:"#/definitions/Item"},gallery:{$ref:"#/definitions/Gallery"}}},Item:{type:"object",properties:{clickAction:{enum:["ACTION","LINK","MAGNIFY","NOTHING"],type:"string"},video:{$ref:"#/definitions/Video"},threeDimensionalScene:{$ref:"#/definitions/ThreeDimensionalScene"},overlay:{$ref:"#/definitions/Overlay"},content:{$ref:"#/definitions/Content"},secondaryMedia:{$ref:"#/definitions/SecondaryMedia"}}},Video:{type:"object",properties:{speed:{type:"number"},volume:{type:"number"},loop:{type:"boolean"},playTrigger:{enum:["AUTO","CLICK","HOVER"],type:"string"},enablePlayButton:{type:"boolean"},enableThumbnailsPlayButton:{type:"boolean"},enableControls:{type:"boolean"},enablePlaceholder:{type:"boolean"}}},ThreeDimensionalScene:{type:"object",properties:{transform:{$ref:"#/definitions/Transform"}
1,controls:{$ref:"#/definitions/Controls"},enablePlayButton:{type:"boolean"},enableThumbnailsPlayButton:{type:"boolean"},playTrigger:{enum:["AUTO","CLICK","HOVER"],type:"string"}}},Transform:{type:"object",properties:{rotation:{type:"string"},scale:{type:"string"},position:{type:"string"}}},Controls:{type:"object",properties:{enableZoom:{type:"boolean"},enableRotate:{type:"boolean"},enablePan:{type:"boolean"},enableAutoRotate:{type:"boolean"}}},Overlay:{type:"object",properties:{hoveringBehaviour:{enum:["ALWAYS_SHOW","APPEARS","DISAPPEARS","NEVER_SHOW"],type:"string"},hoverAnimation:{enum:["EXPAND","FADE_IN","NO_EFFECT","SLIDE_DOWN","SLIDE_LEFT","SLIDE_RIGHT","SLIDE_UP"],type:"string"},position:{enum:["BUTTOM","CENTERED_HORIZONTALLY","CENTERED_VERTICALLY","LEFT","RIGHT","TOP"],type:"string"},size:{type:"number"},sizeUnits:{enum:["PERCENT","PIXEL"],type:"string"},padding:{type:"number"},backgroundColor:{}}},Content:{type:"object",properties:{hoverAnimation:{enum:["BLUR","COLOR_IN","DARKENED","GRAYSCALE","INVERT","NO_EFFECT","SHRINK","TILT","ZOOM_IN"],type:"string"},placementAnimation:{enum:["NO_EFFECT","SLIDE"],type:"string"},loader:{enum:["BLUR","COLOR","MAIN_COLOR"],type:"string"},magnificationValue:{type:"number"},tiltAngleValue:{type:"number"}}},SecondaryMedia:{type:"object",properties:{trigger:{enum:["HOVER","OFF"],type:"string"},behaviour:{type:"string",const:"APPEARS"}},required:["behaviour","trigger"]},Gallery:{type:"object",properties:{layoutDirection:{enum:["LEFT_TO_RIGHT","RIGHT_TO_LEFT"],type:"string"},blockContextMenu:{type:"boolean"},scrollAnimation:{enum:["BLUR","EXPAND","FADE_IN","GRAYSCALE","MAIN_COLOR","NO_EFFECT","ONE_COLOR","SHRINK","SLIDE_UP","ZOOM_OUT"],type:"string"},enableIndexingShareLinks:{type:"boolean"},vertical:{$ref:"#/definitions/Vertical"},horizontal:{$ref:"#/definitions/Horizontal"}}},Vertical:{type:"object",properties:{loadMore:{$ref:"#/definitions/LoadMore"}}},LoadMore:{type:"object",properties:{enable:{type:"boolean"},amount:{enum:["ALL","PARTIAL"],type:"string"},text:{type:"string"}}},Horizontal:{type:"object",properties:{enableScrollSnap:{type:"boolean"},slideAnimation:{enum:["DECK","FADE","SCROLL"],type:"string"},slideTransition:{type:"string"},blockScroll:{type:"boolean"},navigationDuration:{type:"number"},loop:{type:"boolean"},autoSlide:{$ref:"#/definitions/AutoSlide"},slideshowInfo:{$ref:"#/definitions/SlideshowInfo"}}},AutoSlide:{type:"object",properties:{behaviour:{enum:["CONTINUOUS","INTERVAL","OFF"],type:"string"},interval:{type:"number"},pauseOnHover:{type:"boolean"},speed:{type:"number"}}},SlideshowInfo:{type:"object",properties:{buttonsAlignment:{enum:["CENTER","LEFT","RIGHT"],type:"string"},enableCounter:{type:"boolean"},enablePlayButton:{type:"boolean"}}},StylingParams:{type:"object",properties:{arrowsColor:{type:"string"},itemShadowBlur:{type:"number"},itemShadowDirection:{type:"number"},itemShadowOpacityAndColor:{type:"string"},itemShadowSize:{type:"number"},itemEnableShadow:{type:"boolean"},itemBorderRadius:{type:"number"},itemBorderWidth:{type:"number"},itemBorderColor:{},itemResolutionMode:{enum:["FULL","SCLAED_DOWN"],type:"string"}}}},$schema:"http://json-schema.org/draft-07/schema#"},y={type:"object",properties:{arrowsColor:{type:"string"},itemShadowBlur:{type:"number"},itemShadowDirection:{type:"number"},itemShadowOpacityAndColor:{type:"string"},itemShadowSize:{type:"number"},itemEnableShadow:{type:"boolean"},itemBorderRadius:{type:"number"},itemBorderWidth:{type:"number"},itemBorderColor:{},itemResolutionMode:{enum:["FULL","SCLAED_DOWN"],type:"string"}}},X={type:"object",properties:{groups:{$ref:"#/definitions/Groups"},crop:{$ref:"#/definitions/Crop"},structure:{$ref:"#/definitions/Structure"},thumbnails:{$ref:"#/definitions/Thumbnails"},navigationArrows:{$ref:"#/definitions/NavigationArrows"},info:{$ref:"#/definitions/Info"},targetItemSize:{$ref:"#/definitions/TargetItemSize"}}},u={type:"object",properties:{density:{type:"number"},groupByOrientation:{type:"boolean"},numberOfGroupsPerRow:{type:"number"},allowedGroupTypes:{type:"array",items:{enum:["1","2h","2v","3b","3h","3l","3r","3t","3v"],type:"string"}},repeatingGroupTypes:{type:"array",items:{enum:["1","2h","2v","3b","3h","3l","3r","3t","3v"],type:"string"}},groupSize:{type:"number"}}},d={type:"object",properties:{method:{enum:["FILL","FIT","MAX","MIN"],type:"string"},alignment:{enum:["BOTTOM","CENTER","LEFT","RIGHT","TOP"],type:"string"},enable:{type:"boolean"},enableSmartCrop:{type:"boolean"},cropOnlyFill:{type:"boolean"},ratios:{type:"array",items:{type:"number"}}}},h={type:"object",properties:{enable:{type:"boolean"},position:{enum:["ON_GALLERY","OUTSIDE_GALLERY"],type:"string"},spacing:{type:"number"},marginToGallery:{type:"number"},size:{type:"number"},alignment:{enum:["BOTTOM","LEFT","RIGHT","TOP"],type:"string"},ratio:{type:"number"}}},v={type:"object",properties:{unit:{enum:["PERCENT","PIXEL","SMART"],type:"string"},value:{type:"number"},minimum:{type:"number"}}},o={type:"object",properties:{galleryLayout:{type:"number"},galleryRatio:{$ref:"#/definitions/GalleryRatio"},enableStreching:{type:"boolean"},gallerySpacing:{type:"number"},itemSpacing:{type:"number"},scrollDirection:{enum:["HORIZONTAL","VERTICAL"],type:"string"},numberOfColumns:{type:"number"}
1,numberOfGridRows:{type:"number"},responsiveMode:{enum:["FIT_TO_SCREEN","SET_ITEMS_PER_ROW"],type:"string"},columnRatios:{type:"array",items:{type:"number"}},scatter:{$ref:"#/definitions/Scatter"},layoutOrientation:{enum:["HORIZONTAL","VERTICAL"],type:"string"},groupsOrder:{enum:["BY_HEIGHT","LEFT_TO_RIGHT"],type:"string"}}},N={type:"object",properties:{value:{type:"number"},includeExternalInfo:{type:"boolean"}},required:["includeExternalInfo","value"]},B={type:"object",properties:{randomScatter:{type:"number"},manualScatter:{type:"string"}}};function M(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.galleryLayout!==void 0){let r=s.galleryLayout;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/galleryLayout",schemaPath:"#/properties/galleryLayout/type",keyword:"type",params:{type:"number"},message:"must be number",schema:o.properties.galleryLayout.type,parentSchema:o.properties.galleryLayout,data:r};e===null?e=[t]:e.push(t),n++}}if(s.galleryRatio!==void 0){let r=s.galleryRatio;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.includeExternalInfo===void 0){const t={instancePath:i+"/galleryRatio",schemaPath:"#/definitions/GalleryRatio/required",keyword:"required",params:{missingProperty:"includeExternalInfo"},message:"must have required property 'includeExternalInfo'",schema:N.required,parentSchema:N,data:r};e===null?e=[t]:e.push(t),n++}if(r.value===void 0){const t={instancePath:i+"/galleryRatio",schemaPath:"#/definitions/GalleryRatio/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'",schema:N.required,parentSchema:N,data:r};e===null?e=[t]:e.push(t),n++}if(r.value!==void 0){let t=r.value;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/galleryRatio/value",schemaPath:"#/definitions/GalleryRatio/properties/value/type",keyword:"type",params:{type:"number"},message:"must be number",schema:N.properties.value.type,parentSchema:N.properties.value,data:t};e===null?e=[a]:e.push(a),n++}}if(r.includeExternalInfo!==void 0){let t=r.includeExternalInfo;if(typeof t!="boolean"){const a={instancePath:i+"/galleryRatio/includeExternalInfo",schemaPath:"#/definitions/GalleryRatio/properties/includeExternalInfo/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:N.properties.includeExternalInfo.type,parentSchema:N.properties.includeExternalInfo,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/galleryRatio",schemaPath:"#/definitions/GalleryRatio/type",keyword:"type",params:{type:"object"},message:"must be object",schema:N.type,parentSchema:N,data:r};e===null?e=[t]:e.push(t),n++}}if(s.enableStreching!==void 0){let r=s.enableStreching;if(typeof r!="boolean"){const t={instancePath:i+"/enableStreching",schemaPath:"#/properties/enableStreching/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:o.properties.enableStreching.type,parentSchema:o.properties.enableStreching,data:r};e===null?e=[t]:e.push(t),n++}}if(s.gallerySpacing!==void 0){let r=s.gallerySpacing;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/gallerySpacing",schemaPath:"#/properties/gallerySpacing/type",keyword:"type",params:{type:"number"},message:"must be number",schema:o.properties.gallerySpacing.type,parentSchema:o.properties.gallerySpacing,data:r};e===null?e=[t]:e.push(t),n++}}if(s.itemSpacing!==void 0){let r=s.itemSpacing;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/itemSpacing",schemaPath:"#/properties/itemSpacing/type",keyword:"type",params:{type:"number"},message:"must be number",schema:o.properties.itemSpacing.type,parentSchema:o.properties.itemSpacing,data:r};e===null?e=[t]:e.push(t),n++}}if(s.scrollDirection!==void 0){let r=s.scrollDirection;if(typeof r!="string"){const t={instancePath:i+"/scrollDirection",schemaPath:"#/properties/scrollDirection/type",keyword:"type",params:{type:"string"},message:"must be string",schema:o.properties.scrollDirection.type,parentSchema:o.properties.scrollDirection,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="HORIZONTAL"||r==="VERTICAL")){const t={instancePath:i+"/scrollDirection",schemaPath:"#/properties/scrollDirection/enum",keyword:"enum",params:{allowedValues:o.properties.scrollDirection.enum},message:"must be equal to one of the allowed values",schema:o.properties.scrollDirection.enum,parentSchema:o.properties.scrollDirection,data:r};e===null?e=[t]:e.push(t),n++}}if(s.numberOfColumns!==void 0){let r=s.numberOfColumns;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/numberOfColumns",schemaPath:"#/properties/numberOfColumns/type",keyword:"type",params:{type:"number"},message:"must be number",schema:o.properties.numberOfColumns.type,parentSchema:o.properties.numberOfColumns,data:r};e===null?e=[t]:e.push(t),n++}}
1if(s.numberOfGridRows!==void 0){let r=s.numberOfGridRows;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/numberOfGridRows",schemaPath:"#/properties/numberOfGridRows/type",keyword:"type",params:{type:"number"},message:"must be number",schema:o.properties.numberOfGridRows.type,parentSchema:o.properties.numberOfGridRows,data:r};e===null?e=[t]:e.push(t),n++}}if(s.responsiveMode!==void 0){let r=s.responsiveMode;if(typeof r!="string"){const t={instancePath:i+"/responsiveMode",schemaPath:"#/properties/responsiveMode/type",keyword:"type",params:{type:"string"},message:"must be string",schema:o.properties.responsiveMode.type,parentSchema:o.properties.responsiveMode,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="FIT_TO_SCREEN"||r==="SET_ITEMS_PER_ROW")){const t={instancePath:i+"/responsiveMode",schemaPath:"#/properties/responsiveMode/enum",keyword:"enum",params:{allowedValues:o.properties.responsiveMode.enum},message:"must be equal to one of the allowed values",schema:o.properties.responsiveMode.enum,parentSchema:o.properties.responsiveMode,data:r};e===null?e=[t]:e.push(t),n++}}if(s.columnRatios!==void 0){let r=s.columnRatios;if(Array.isArray(r)){const t=r.length;for(let a=0;a<t;a++){let S=r[a];if(!(typeof S=="number"&&isFinite(S))){const p={instancePath:i+"/columnRatios/"+a,schemaPath:"#/properties/columnRatios/items/type",keyword:"type",params:{type:"number"},message:"must be number",schema:o.properties.columnRatios.items.type,parentSchema:o.properties.columnRatios.items,data:S};e===null?e=[p]:e.push(p),n++}}}else{const t={instancePath:i+"/columnRatios",schemaPath:"#/properties/columnRatios/type",keyword:"type",params:{type:"array"},message:"must be array",schema:o.properties.columnRatios.type,parentSchema:o.properties.columnRatios,data:r};e===null?e=[t]:e.push(t),n++}}if(s.scatter!==void 0){let r=s.scatter;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.randomScatter!==void 0){let t=r.randomScatter;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/scatter/randomScatter",schemaPath:"#/definitions/Scatter/properties/randomScatter/type",keyword:"type",params:{type:"number"},message:"must be number",schema:B.properties.randomScatter.type,parentSchema:B.properties.randomScatter,data:t};e===null?e=[a]:e.push(a),n++}}if(r.manualScatter!==void 0){let t=r.manualScatter;if(typeof t!="string"){const a={instancePath:i+"/scatter/manualScatter",schemaPath:"#/definitions/Scatter/properties/manualScatter/type",keyword:"type",params:{type:"string"},message:"must be string",schema:B.properties.manualScatter.type,parentSchema:B.properties.manualScatter,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/scatter",schemaPath:"#/definitions/Scatter/type",keyword:"type",params:{type:"object"},message:"must be object",schema:B.type,parentSchema:B,data:r};e===null?e=[t]:e.push(t),n++}}if(s.layoutOrientation!==void 0){let r=s.layoutOrientation;if(typeof r!="string"){const t={instancePath:i+"/layoutOrientation",schemaPath:"#/properties/layoutOrientation/type",keyword:"type",params:{type:"string"},message:"must be string",schema:o.properties.layoutOrientation.type,parentSchema:o.properties.layoutOrientation,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="HORIZONTAL"||r==="VERTICAL")){const t={instancePath:i+"/layoutOrientation",schemaPath:"#/properties/layoutOrientation/enum",keyword:"enum",params:{allowedValues:o.properties.layoutOrientation.enum},message:"must be equal to one of the allowed values",schema:o.properties.layoutOrientation.enum,parentSchema:o.properties.layoutOrientation,data:r};e===null?e=[t]:e.push(t),n++}}if(s.groupsOrder!==void 0){let r=s.groupsOrder;if(typeof r!="string"){const t={instancePath:i+"/groupsOrder",schemaPath:"#/properties/groupsOrder/type",keyword:"type",params:{type:"string"},message:"must be string",schema:o.properties.groupsOrder.type,parentSchema:o.properties.groupsOrder,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="BY_HEIGHT"||r==="LEFT_TO_RIGHT")){const t={instancePath:i+"/groupsOrder",schemaPath:"#/properties/groupsOrder/enum",keyword:"enum",params:{allowedValues:o.properties.groupsOrder.enum},message:"must be equal to one of the allowed values",schema:o.properties.groupsOrder.enum,parentSchema:o.properties.groupsOrder,data:r};e===null?e=[t]:e.push(t),n++}}}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:o.type,parentSchema:o,data:s};e===null?e=[r]:e.push(r),n++}
1return M.errors=e,n===0}const m={type:"object",properties:{enable:{type:"boolean"},size:{type:"number"},padding:{type:"number"},position:{enum:["MOUSE_CURSOR","ON_GALLERY","OUTSIDE_GALLERY"],type:"string"},verticalAlignment:{enum:["IMAGE_CENTER","INFO_CENTER","ITEM_CENTER"],type:"string"},type:{enum:["ARROW_2","ARROW_3","DEFAULT_ARROW"],type:"string"},container:{$ref:"#/definitions/NavigationArrowsContainer"},mouseCursorContainerMaxWidth:{type:"number"}}},C={type:"object",properties:{type:{enum:["BOX","NONE","SHADOW"],type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"}}};function V(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.enable!==void 0){let r=s.enable;if(typeof r!="boolean"){const t={instancePath:i+"/enable",schemaPath:"#/properties/enable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:m.properties.enable.type,parentSchema:m.properties.enable,data:r};e===null?e=[t]:e.push(t),n++}}if(s.size!==void 0){let r=s.size;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/size",schemaPath:"#/properties/size/type",keyword:"type",params:{type:"number"},message:"must be number",schema:m.properties.size.type,parentSchema:m.properties.size,data:r};e===null?e=[t]:e.push(t),n++}}if(s.padding!==void 0){let r=s.padding;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/padding",schemaPath:"#/properties/padding/type",keyword:"type",params:{type:"number"},message:"must be number",schema:m.properties.padding.type,parentSchema:m.properties.padding,data:r};e===null?e=[t]:e.push(t),n++}}if(s.position!==void 0){let r=s.position;if(typeof r!="string"){const t={instancePath:i+"/position",schemaPath:"#/properties/position/type",keyword:"type",params:{type:"string"},message:"must be string",schema:m.properties.position.type,parentSchema:m.properties.position,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="MOUSE_CURSOR"||r==="ON_GALLERY"||r==="OUTSIDE_GALLERY")){const t={instancePath:i+"/position",schemaPath:"#/properties/position/enum",keyword:"enum",params:{allowedValues:m.properties.position.enum},message:"must be equal to one of the allowed values",schema:m.properties.position.enum,parentSchema:m.properties.position,data:r};e===null?e=[t]:e.push(t),n++}}if(s.verticalAlignment!==void 0){let r=s.verticalAlignment;if(typeof r!="string"){const t={instancePath:i+"/verticalAlignment",schemaPath:"#/properties/verticalAlignment/type",keyword:"type",params:{type:"string"},message:"must be string",schema:m.properties.verticalAlignment.type,parentSchema:m.properties.verticalAlignment,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="IMAGE_CENTER"||r==="INFO_CENTER"||r==="ITEM_CENTER")){const t={instancePath:i+"/verticalAlignment",schemaPath:"#/properties/verticalAlignment/enum",keyword:"enum",params:{allowedValues:m.properties.verticalAlignment.enum},message:"must be equal to one of the allowed values",schema:m.properties.verticalAlignment.enum,parentSchema:m.properties.verticalAlignment,data:r};e===null?e=[t]:e.push(t),n++}}if(s.type!==void 0){let r=s.type;if(typeof r!="string"){const t={instancePath:i+"/type",schemaPath:"#/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string",schema:m.properties.type.type,parentSchema:m.properties.type,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="ARROW_2"||r==="ARROW_3"||r==="DEFAULT_ARROW")){const t={instancePath:i+"/type",schemaPath:"#/properties/type/enum",keyword:"enum",params:{allowedValues:m.properties.type.enum},message:"must be equal to one of the allowed values",schema:m.properties.type.enum,parentSchema:m.properties.type,data:r};e===null?e=[t]:e.push(t),n++}}if(s.container!==void 0){let r=s.container;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.type!==void 0){let t=r.type;if(typeof t!="string"){const a={instancePath:i+"/container/type",schemaPath:"#/definitions/NavigationArrowsContainer/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string",schema:C.properties.type.type,parentSchema:C.properties.type,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="BOX"||t==="NONE"||t==="SHADOW")){const a={instancePath:i+"/container/type",schemaPath:"#/definitions/NavigationArrowsContainer/properties/type/enum",keyword:"enum",params:{allowedValues:C.properties.type.enum},message:"must be equal to one of the allowed values",schema:C.properties.type.enum,parentSchema:C.properties.type,data:t};e===null?e=[a]:e.push(a),n++}}if(r.borderRadius!==void 0){let t=r.borderRadius;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/container/borderRadius",schemaPath:"#/definitions/NavigationArrowsContainer/properties/borderRadius/type",keyword:"type",params:{type:"number"},message:"must be number",schema:C.properties.borderRadius.type,parentSchema:C.properties.borderRadius,data:t};e===null?e=[a]:e.push(a),n++}}if(r.backgroundColor!==void 0){let t=r.backgroundColor;if(typeof t!="string"){const a={instancePath:i+"/container/backgroundColor",schemaPath:"#/definitions/NavigationArrowsContainer/properties/backgroundColor/type",keyword:"type",params:{type:"string"},message:"must be string",schema:C.properties.backgroundColor.type,parentSchema:C.properties.backgroundColor,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/container",schemaPath:"#/definitions/NavigationArrowsContainer/type",keyword:"type",params:{type:"object"},message:"must be object",schema:C.type,parentSchema:C,data:r};e===null?e=[t]:e.push(t),n++}}if(s.mouseCursorContainerMaxWidth!==void 0){let r=s.mouseCursorContainerMaxWidth;
1if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/mouseCursorContainerMaxWidth",schemaPath:"#/properties/mouseCursorContainerMaxWidth/type",keyword:"type",params:{type:"number"},message:"must be number",schema:m.properties.mouseCursorContainerMaxWidth.type,parentSchema:m.properties.mouseCursorContainerMaxWidth,data:r};e===null?e=[t]:e.push(t),n++}}}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:m.type,parentSchema:m,data:s};e===null?e=[r]:e.push(r),n++}return V.errors=e,n===0}const c={type:"object",properties:{sizeUnits:{enum:["PERCENT","PIXEL"],type:"string"},width:{type:"number"},height:{type:"number"},spacing:{type:"number"},layout:{enum:["ATTACHED_BACKGROUND","DONT_SHOW","NO_BACKGROUND","SEPARATED_BACKGROUND"],type:"string"},border:{$ref:"#/definitions/InfoBorder"},placement:{enum:["ABOVE","ALTERNATE_HORIZONTALLY","ALTERNATE_VERTICALLY","BELOW","LEFT","OVERLAY","RIGHT"],type:"string"}}},j={type:"object",properties:{width:{type:"number"},color:{type:"string"},radius:{type:"number"}}};function z(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.sizeUnits!==void 0){let r=s.sizeUnits;if(typeof r!="string"){const t={instancePath:i+"/sizeUnits",schemaPath:"#/properties/sizeUnits/type",keyword:"type",params:{type:"string"},message:"must be string",schema:c.properties.sizeUnits.type,parentSchema:c.properties.sizeUnits,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="PERCENT"||r==="PIXEL")){const t={instancePath:i+"/sizeUnits",schemaPath:"#/properties/sizeUnits/enum",keyword:"enum",params:{allowedValues:c.properties.sizeUnits.enum},message:"must be equal to one of the allowed values",schema:c.properties.sizeUnits.enum,parentSchema:c.properties.sizeUnits,data:r};e===null?e=[t]:e.push(t),n++}}if(s.width!==void 0){let r=s.width;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"number"},message:"must be number",schema:c.properties.width.type,parentSchema:c.properties.width,data:r};e===null?e=[t]:e.push(t),n++}}if(s.height!==void 0){let r=s.height;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/height",schemaPath:"#/properties/height/type",keyword:"type",params:{type:"number"},message:"must be number",schema:c.properties.height.type,parentSchema:c.properties.height,data:r};e===null?e=[t]:e.push(t),n++}}if(s.spacing!==void 0){let r=s.spacing;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/spacing",schemaPath:"#/properties/spacing/type",keyword:"type",params:{type:"number"},message:"must be number",schema:c.properties.spacing.type,parentSchema:c.properties.spacing,data:r};e===null?e=[t]:e.push(t),n++}}if(s.layout!==void 0){let r=s.layout;if(typeof r!="string"){const t={instancePath:i+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type:"string"},message:"must be string",schema:c.properties.layout.type,parentSchema:c.properties.layout,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="ATTACHED_BACKGROUND"||r==="DONT_SHOW"||r==="NO_BACKGROUND"||r==="SEPARATED_BACKGROUND")){const t={instancePath:i+"/layout",schemaPath:"#/properties/layout/enum",keyword:"enum",params:{allowedValues:c.properties.layout.enum},message:"must be equal to one of the allowed values",schema:c.properties.layout.enum,parentSchema:c.properties.layout,data:r};e===null?e=[t]:e.push(t),n++}}if(s.border!==void 0){let r=s.border;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.width!==void 0){let t=r.width;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/border/width",schemaPath:"#/definitions/InfoBorder/properties/width/type",keyword:"type",params:{type:"number"},message:"must be number",schema:j.properties.width.type,parentSchema:j.properties.width,data:t};e===null?e=[a]:e.push(a),n++}}if(r.color!==void 0){let t=r.color;if(typeof t!="string"){const a={instancePath:i+"/border/color",schemaPath:"#/definitions/InfoBorder/properties/color/type",keyword:"type",params:{type:"string"},message:"must be string",schema:j.properties.color.type,parentSchema:j.properties.color,data:t};e===null?e=[a]:e.push(a),n++}}if(r.radius!==void 0){let t=r.radius;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/border/radius",schemaPath:"#/definitions/InfoBorder/properties/radius/type",keyword:"type",params:{type:"number"},message:"must be number",schema:j.properties.radius.type,parentSchema:j.properties.radius,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/border",schemaPath:"#/definitions/InfoBorder/type",keyword:"type",params:{type:"object"},message:"must be object",schema:j.type,parentSchema:j,data:r};e===null?e=[t]:e.push(t),n++}}if(s.placement!==void 0){let r=s.placement;if(typeof r!="string"){const t={instancePath:i+"/placement",schemaPath:"#/properties/placement/type",keyword:"type",params:{type:"string"},message:"must be string",schema:c.properties.placement.type,parentSchema:c.properties.placement,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="ABOVE"||r==="ALTERNATE_HORIZONTALLY"||r==="ALTERNATE_VERTICALLY"||r==="BELOW"||r==="LEFT"||r==="OVERLAY"||r==="RIGHT")){const t={instancePath:i+"/placement",schemaPath:"#/properties/placement/enum",keyword:"enum",params:{allowedValues:c.properties.placement.enum},message:"must be equal to one of the allowed values",schema:c.properties.placement.enum,parentSchema:c.properties.placement,data:r};e===null?e=[t]:e.push(t),n++}}}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:c.type,parentSchema:c,data:s};e===null?e=[r]:e.push(r),n++}
1return z.errors=e,n===0}function H(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.groups!==void 0){let r=s.groups;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.density!==void 0){let t=r.density;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/groups/density",schemaPath:"#/definitions/Groups/properties/density/type",keyword:"type",params:{type:"number"},message:"must be number",schema:u.properties.density.type,parentSchema:u.properties.density,data:t};e===null?e=[a]:e.push(a),n++}}if(r.groupByOrientation!==void 0){let t=r.groupByOrientation;if(typeof t!="boolean"){const a={instancePath:i+"/groups/groupByOrientation",schemaPath:"#/definitions/Groups/properties/groupByOrientation/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:u.properties.groupByOrientation.type,parentSchema:u.properties.groupByOrientation,data:t};e===null?e=[a]:e.push(a),n++}}if(r.numberOfGroupsPerRow!==void 0){let t=r.numberOfGroupsPerRow;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/groups/numberOfGroupsPerRow",schemaPath:"#/definitions/Groups/properties/numberOfGroupsPerRow/type",keyword:"type",params:{type:"number"},message:"must be number",schema:u.properties.numberOfGroupsPerRow.type,parentSchema:u.properties.numberOfGroupsPerRow,data:t};e===null?e=[a]:e.push(a),n++}}if(r.allowedGroupTypes!==void 0){let t=r.allowedGroupTypes;if(Array.isArray(t)){const a=t.length;for(let S=0;S<a;S++){let p=t[S];if(typeof p!="string"){const T={instancePath:i+"/groups/allowedGroupTypes/"+S,schemaPath:"#/definitions/Groups/properties/allowedGroupTypes/items/type",keyword:"type",params:{type:"string"},message:"must be string",schema:u.properties.allowedGroupTypes.items.type,parentSchema:u.properties.allowedGroupTypes.items,data:p};e===null?e=[T]:e.push(T),n++}if(!(p==="1"||p==="2h"||p==="2v"||p==="3b"||p==="3h"||p==="3l"||p==="3r"||p==="3t"||p==="3v")){const T={instancePath:i+"/groups/allowedGroupTypes/"+S,schemaPath:"#/definitions/Groups/properties/allowedGroupTypes/items/enum",keyword:"enum",params:{allowedValues:u.properties.allowedGroupTypes.items.enum},message:"must be equal to one of the allowed values",schema:u.properties.allowedGroupTypes.items.enum,parentSchema:u.properties.allowedGroupTypes.items,data:p};e===null?e=[T]:e.push(T),n++}}}else{const a={instancePath:i+"/groups/allowedGroupTypes",schemaPath:"#/definitions/Groups/properties/allowedGroupTypes/type",keyword:"type",params:{type:"array"},message:"must be array",schema:u.properties.allowedGroupTypes.type,parentSchema:u.properties.allowedGroupTypes,data:t};e===null?e=[a]:e.push(a),n++}}if(r.repeatingGroupTypes!==void 0){let t=r.repeatingGroupTypes;if(Array.isArray(t)){const a=t.length;for(let S=0;S<a;S++){let p=t[S];if(typeof p!="string"){const T={instancePath:i+"/groups/repeatingGroupTypes/"+S,schemaPath:"#/definitions/Groups/properties/repeatingGroupTypes/items/type",keyword:"type",params:{type:"string"},message:"must be string",schema:u.properties.repeatingGroupTypes.items.type,parentSchema:u.properties.repeatingGroupTypes.items,data:p};e===null?e=[T]:e.push(T),n++}if(!(p==="1"||p==="2h"||p==="2v"||p==="3b"||p==="3h"||p==="3l"||p==="3r"||p==="3t"||p==="3v")){const T={instancePath:i+"/groups/repeatingGroupTypes/"+S,schemaPath:"#/definitions/Groups/properties/repeatingGroupTypes/items/enum",keyword:"enum",params:{allowedValues:u.properties.repeatingGroupTypes.items.enum},message:"must be equal to one of the allowed values",schema:u.properties.repeatingGroupTypes.items.enum,parentSchema:u.properties.repeatingGroupTypes.items,data:p};e===null?e=[T]:e.push(T),n++}}}else{const a={instancePath:i+"/groups/repeatingGroupTypes",schemaPath:"#/definitions/Groups/properties/repeatingGroupTypes/type",keyword:"type",params:{type:"array"},message:"must be array",schema:u.properties.repeatingGroupTypes.type,parentSchema:u.properties.repeatingGroupTypes,data:t};e===null?e=[a]:e.push(a),n++}}if(r.groupSize!==void 0){let t=r.groupSize;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/groups/groupSize",schemaPath:"#/definitions/Groups/properties/groupSize/type",keyword:"type",params:{type:"number"},message:"must be number",schema:u.properties.groupSize.type,parentSchema:u.properties.groupSize,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/groups",schemaPath:"#/definitions/Groups/type",keyword:"type",params:{type:"object"},message:"must be object",schema:u.type,parentSchema:u,data:r};e===null?e=[t]:e.push(t),n++}}if(s.crop!==void 0){let r=s.crop;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.method!==void 0){let t=r.method;if(typeof t!="string"){const a={instancePath:i+"/crop/method",schemaPath:"#/definitions/Crop/properties/method/type",keyword:"type",params:{type:"string"},message:"must be string",schema:d.properties.method.type,parentSchema:d.properties.method,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="FILL"||t==="FIT"||t==="MAX"||t==="MIN")){const a={instancePath:i+"/crop/method",schemaPath:"#/definitions/Crop/properties/method/enum",keyword:"enum",params:{allowedValues:d.properties.method.enum},message:"must be equal to one of the allowed values",schema:d.properties.method.enum,parentSchema:d.properties.method,data:t};e===null?e=[a]:e.push(a),n++}}if(r.alignment!==void 0){let t=r.alignment;if(typeof t!="string"){const a={instancePath:i+"/crop/alignment",schemaPath:"#/definitions/Crop/properties/alignment/type",keyword:"type",params:{type:"string"},message:"must be string",schema:d.properties.alignment.type,parentSchema:d.properties.alignment,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="BOTTOM"||t==="CENTER"||t==="LEFT"||t==="RIGHT"||t==="TOP")){const a={instancePath:i+"/crop/alignment",schemaPath:"#/definitions/Crop/properties/alignment/enum",keyword:"enum",params:{allowedValues:d.properties.alignment.enum},message:"must be equal to one of the allowed values",schema:d.properties.alignment.enum,parentSchema:d.properties.alignment,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enable!==void 0){let t=r.enable;if(typeof t!="boolean"){const a={instancePath:i+"/crop/enable",schemaPath:"#/definitions/Crop/properties/enable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:d.properties.enable.type,parentSchema:d.properties.enable,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enableSmartCrop!==void 0){let t=r.enableSmartCrop;if(typeof t!="boolean"){const a={instancePath:i+"/crop/enableSmartCrop",schemaPath:"#/definitions/Crop/properties/enableSmartCrop/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:d.properties.enableSmartCrop.type,parentSchema:d.properties.enableSmartCrop,data:t};e===null?e=[a]:e.push(a),n++}}if(r.cropOnlyFill!==void 0){let t=r.cropOnlyFill;if(typeof t!="boolean"){const a={instancePath:i+"/crop/cropOnlyFill",schemaPath:"#/definitions/Crop/properties/cropOnlyFill/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:d.properties.cropOnlyFill.type,parentSchema:d.properties.cropOnlyFill,data:t};e===null?e=[a]:e.push(a),n++}}if(r.ratios!==void 0){let t=r.ratios;if(Array.isArray(t)){const a=t.length;for(let S=0;S<a;S++){let p=t[S];if(!(typeof p=="number"&&isFinite(p))){const T={instancePath:i+"/crop/ratios/"+S,schemaPath:"#/definitions/Crop/properties/ratios/items/type",keyword:"type",params:{type:"number"},message:"must be number",schema:d.properties.ratios.items.type,parentSchema:d.properties.ratios.items,data:p};e===null?e=[T]:e.push(T),n++}}}else{const a={instancePath:i+"/crop/ratios",schemaPath:"#/definitions/Crop/properties/ratios/type",keyword:"type",params:{type:"array"},message:"must be array",schema:d.properties.ratios.type,parentSchema:d.properties.ratios,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/crop",schemaPath:"#/definitions/Crop/type",keyword:"type",params:{type:"object"},message:"must be object",schema:d.type,parentSchema:d,data:r};e===null?e=[t]:e.push(t),n++}}if(s.structure!==void 0&&(M(s.structure,{instancePath:i+"/structure",parentData:s,parentDataProperty:"structure",rootData:g})||(e=e===null?M.errors:e.concat(M.errors),n=e.length)),s.thumbnails!==void 0){let r=s.thumbnails;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.enable!==void 0){let t=r.enable;
1if(typeof t!="boolean"){const a={instancePath:i+"/thumbnails/enable",schemaPath:"#/definitions/Thumbnails/properties/enable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:h.properties.enable.type,parentSchema:h.properties.enable,data:t};e===null?e=[a]:e.push(a),n++}}if(r.position!==void 0){let t=r.position;if(typeof t!="string"){const a={instancePath:i+"/thumbnails/position",schemaPath:"#/definitions/Thumbnails/properties/position/type",keyword:"type",params:{type:"string"},message:"must be string",schema:h.properties.position.type,parentSchema:h.properties.position,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="ON_GALLERY"||t==="OUTSIDE_GALLERY")){const a={instancePath:i+"/thumbnails/position",schemaPath:"#/definitions/Thumbnails/properties/position/enum",keyword:"enum",params:{allowedValues:h.properties.position.enum},message:"must be equal to one of the allowed values",schema:h.properties.position.enum,parentSchema:h.properties.position,data:t};e===null?e=[a]:e.push(a),n++}}if(r.spacing!==void 0){let t=r.spacing;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/thumbnails/spacing",schemaPath:"#/definitions/Thumbnails/properties/spacing/type",keyword:"type",params:{type:"number"},message:"must be number",schema:h.properties.spacing.type,parentSchema:h.properties.spacing,data:t};e===null?e=[a]:e.push(a),n++}}if(r.marginToGallery!==void 0){let t=r.marginToGallery;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/thumbnails/marginToGallery",schemaPath:"#/definitions/Thumbnails/properties/marginToGallery/type",keyword:"type",params:{type:"number"},message:"must be number",schema:h.properties.marginToGallery.type,parentSchema:h.properties.marginToGallery,data:t};e===null?e=[a]:e.push(a),n++}}if(r.size!==void 0){let t=r.size;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/thumbnails/size",schemaPath:"#/definitions/Thumbnails/properties/size/type",keyword:"type",params:{type:"number"},message:"must be number",schema:h.properties.size.type,parentSchema:h.properties.size,data:t};e===null?e=[a]:e.push(a),n++}}if(r.alignment!==void 0){let t=r.alignment;if(typeof t!="string"){const a={instancePath:i+"/thumbnails/alignment",schemaPath:"#/definitions/Thumbnails/properties/alignment/type",keyword:"type",params:{type:"string"},message:"must be string",schema:h.properties.alignment.type,parentSchema:h.properties.alignment,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="BOTTOM"||t==="LEFT"||t==="RIGHT"||t==="TOP")){const a={instancePath:i+"/thumbnails/alignment",schemaPath:"#/definitions/Thumbnails/properties/alignment/enum",keyword:"enum",params:{allowedValues:h.properties.alignment.enum},message:"must be equal to one of the allowed values",schema:h.properties.alignment.enum,parentSchema:h.properties.alignment,data:t};e===null?e=[a]:e.push(a),n++}}if(r.ratio!==void 0){let t=r.ratio;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/thumbnails/ratio",schemaPath:"#/definitions/Thumbnails/properties/ratio/type",keyword:"type",params:{type:"number"},message:"must be number",schema:h.properties.ratio.type,parentSchema:h.properties.ratio,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/thumbnails",schemaPath:"#/definitions/Thumbnails/type",keyword:"type",params:{type:"object"},message:"must be object",schema:h.type,parentSchema:h,data:r};e===null?e=[t]:e.push(t),n++}}if(s.navigationArrows!==void 0&&(V(s.navigationArrows,{instancePath:i+"/navigationArrows",parentData:s,parentDataProperty:"navigationArrows",rootData:g})||(e=e===null?V.errors:e.concat(V.errors),n=e.length)),s.info!==void 0&&(z(s.info,{instancePath:i+"/info",parentData:s,parentDataProperty:"info",rootData:g})||(e=e===null?z.errors:e.concat(z.errors),n=e.length)),s.targetItemSize!==void 0){let r=s.targetItemSize;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.unit!==void 0){let t=r.unit;if(typeof t!="string"){const a={instancePath:i+"/targetItemSize/unit",schemaPath:"#/definitions/TargetItemSize/properties/unit/type",keyword:"type",params:{type:"string"},message:"must be string",schema:v.properties.unit.type,parentSchema:v.properties.unit,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="PERCENT"||t==="PIXEL"||t==="SMART")){const a={instancePath:i+"/targetItemSize/unit",schemaPath:"#/definitions/TargetItemSize/properties/unit/enum",keyword:"enum",params:{allowedValues:v.properties.unit.enum},message:"must be equal to one of the allowed values",schema:v.properties.unit.enum,parentSchema:v.properties.unit,data:t};e===null?e=[a]:e.push(a),n++}}if(r.value!==void 0){let t=r.value;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/targetItemSize/value",sc
1hemaPath:"#/definitions/TargetItemSize/properties/value/type",keyword:"type",params:{type:"number"},message:"must be number",schema:v.properties.value.type,parentSchema:v.properties.value,data:t};e===null?e=[a]:e.push(a),n++}}if(r.minimum!==void 0){let t=r.minimum;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/targetItemSize/minimum",schemaPath:"#/definitions/TargetItemSize/properties/minimum/type",keyword:"type",params:{type:"number"},message:"must be number",schema:v.properties.minimum.type,parentSchema:v.properties.minimum,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/targetItemSize",schemaPath:"#/definitions/TargetItemSize/type",keyword:"type",params:{type:"object"},message:"must be object",schema:v.type,parentSchema:v,data:r};e===null?e=[t]:e.push(t),n++}}}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:X.type,parentSchema:X,data:s};e===null?e=[r]:e.push(r),n++}return H.errors=e,n===0}const J={type:"object",properties:{item:{$ref:"#/definitions/Item"},gallery:{$ref:"#/definitions/Gallery"}}},F={type:"object",properties:{clickAction:{enum:["ACTION","LINK","MAGNIFY","NOTHING"],type:"string"},video:{$ref:"#/definitions/Video"},threeDimensionalScene:{$ref:"#/definitions/ThreeDimensionalScene"},overlay:{$ref:"#/definitions/Overlay"},content:{$ref:"#/definitions/Content"},secondaryMedia:{$ref:"#/definitions/SecondaryMedia"}}},f={type:"object",properties:{speed:{type:"number"},volume:{type:"number"},loop:{type:"boolean"},playTrigger:{enum:["AUTO","CLICK","HOVER"],type:"string"},enablePlayButton:{type:"boolean"},enableThumbnailsPlayButton:{type:"boolean"},enableControls:{type:"boolean"},enablePlaceholder:{type:"boolean"}}},l={type:"object",properties:{hoveringBehaviour:{enum:["ALWAYS_SHOW","APPEARS","DISAPPEARS","NEVER_SHOW"],type:"string"},hoverAnimation:{enum:["EXPAND","FADE_IN","NO_EFFECT","SLIDE_DOWN","SLIDE_LEFT","SLIDE_RIGHT","SLIDE_UP"],type:"string"},position:{enum:["BUTTOM","CENTERED_HORIZONTALLY","CENTERED_VERTICALLY","LEFT","RIGHT","TOP"],type:"string"},size:{type:"number"},sizeUnits:{enum:["PERCENT","PIXEL"],type:"string"},padding:{type:"number"},backgroundColor:{}}},b={type:"object",properties:{hoverAnimation:{enum:["BLUR","COLOR_IN","DARKENED","GRAYSCALE","INVERT","NO_EFFECT","SHRINK","TILT","ZOOM_IN"],type:"string"},placementAnimation:{enum:["NO_EFFECT","SLIDE"],type:"string"},loader:{enum:["BLUR","COLOR","MAIN_COLOR"],type:"string"},magnificationValue:{type:"number"},tiltAngleValue:{type:"number"}}},E={type:"object",properties:{trigger:{enum:["HOVER","OFF"],type:"string"},behaviour:{type:"string",const:"APPEARS"}},required:["behaviour","trigger"]},k={type:"object",properties:{transform:{$ref:"#/definitions/Transform"},controls:{$ref:"#/definitions/Controls"},enablePlayButton:{type:"boolean"},enableThumbnailsPlayButton:{type:"boolean"},playTrigger:{enum:["AUTO","CLICK","HOVER"],type:"string"}}},G={type:"object",properties:{rotation:{type:"string"},scale:{type:"string"},position:{type:"string"}}},_={type:"object",properties:{enableZoom:{type:"boolean"},enableRotate:{type:"boolean"},enablePan:{type:"boolean"},enableAutoRotate:{type:"boolean"}}};function U(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.transform!==void 0){let r=s.transform;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.rotation!==void 0){let t=r.rotation;if(typeof t!="string"){const a={instancePath:i+"/transform/rotation",schemaPath:"#/definitions/Transform/properties/rotation/type",keyword:"type",params:{type:"string"},message:"must be string",schema:G.properties.rotation.type,parentSchema:G.properties.rotation,data:t};e===null?e=[a]:e.push(a),n++}}if(r.scale!==void 0){let t=r.scale;if(typeof t!="string"){const a={instancePath:i+"/transform/scale",schemaPath:"#/definitions/Transform/properties/scale/type",keyword:"type",params:{type:"string"},message:"must be string",schema:G.properties.scale.type,parentSchema:G.properties.scale,data:t};e===null?e=[a]:e.push(a),n++}}if(r.position!==void 0){let t=r.position;if(typeof t!="string"){const a={instancePath:i+"/transform/position",schemaPath:"#/definitions/Transform/properties/position/type",keyword:"type",params:{type:"string"},message:"must be string",schema:G.properties.position.type,parentSchema:G.properties.position,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/transform",schemaPath:"#/definitions/Transform/type",keyword:"type",params:{type:"object"},message:"must be object",schema:G.type,parentSchema:G,data:r};e===null?e=[t]:e.push(t),n++}}if(s.controls!==void 0){let r=s.controls;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.enableZoom!==void 0){let t=r.enableZoom;if(typeof t!="boolean"){const a={instancePath:i+"/controls/enableZoom",schemaPath:"#/definitions/Control
1s/properties/enableZoom/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:_.properties.enableZoom.type,parentSchema:_.properties.enableZoom,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enableRotate!==void 0){let t=r.enableRotate;if(typeof t!="boolean"){const a={instancePath:i+"/controls/enableRotate",schemaPath:"#/definitions/Controls/properties/enableRotate/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:_.properties.enableRotate.type,parentSchema:_.properties.enableRotate,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enablePan!==void 0){let t=r.enablePan;if(typeof t!="boolean"){const a={instancePath:i+"/controls/enablePan",schemaPath:"#/definitions/Controls/properties/enablePan/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:_.properties.enablePan.type,parentSchema:_.properties.enablePan,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enableAutoRotate!==void 0){let t=r.enableAutoRotate;if(typeof t!="boolean"){const a={instancePath:i+"/controls/enableAutoRotate",schemaPath:"#/definitions/Controls/properties/enableAutoRotate/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:_.properties.enableAutoRotate.type,parentSchema:_.properties.enableAutoRotate,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/controls",schemaPath:"#/definitions/Controls/type",keyword:"type",params:{type:"object"},message:"must be object",schema:_.type,parentSchema:_,data:r};e===null?e=[t]:e.push(t),n++}}if(s.enablePlayButton!==void 0){let r=s.enablePlayButton;if(typeof r!="boolean"){const t={instancePath:i+"/enablePlayButton",schemaPath:"#/properties/enablePlayButton/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:k.properties.enablePlayButton.type,parentSchema:k.properties.enablePlayButton,data:r};e===null?e=[t]:e.push(t),n++}}if(s.enableThumbnailsPlayButton!==void 0){let r=s.enableThumbnailsPlayButton;if(typeof r!="boolean"){const t={instancePath:i+"/enableThumbnailsPlayButton",schemaPath:"#/properties/enableThumbnailsPlayButton/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:k.properties.enableThumbnailsPlayButton.type,parentSchema:k.properties.enableThumbnailsPlayButton,data:r};e===null?e=[t]:e.push(t),n++}}if(s.playTrigger!==void 0){let r=s.playTrigger;if(typeof r!="string"){const t={instancePath:i+"/playTrigger",schemaPath:"#/properties/playTrigger/type",keyword:"type",params:{type:"string"},message:"must be string",schema:k.properties.playTrigger.type,parentSchema:k.properties.playTrigger,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="AUTO"||r==="CLICK"||r==="HOVER")){const t={instancePath:i+"/playTrigger",schemaPath:"#/properties/playTrigger/enum",keyword:"enum",params:{allowedValues:k.properties.playTrigger.enum},message:"must be equal to one of the allowed values",schema:k.properties.playTrigger.enum,parentSchema:k.properties.playTrigger,data:r};e===null?e=[t]:e.push(t),n++}}}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:k.type,parentSchema:k,data:s};e===null?e=[r]:e.push(r),n++}return U.errors=e,n===0}function q(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.clickAction!==void 0){let r=s.clickAction;if(typeof r!="string"){const t={instancePath:i+"/clickAction",schemaPath:"#/properties/clickAction/type",keyword:"type",params:{type:"string"},message:"must be string",schema:F.properties.clickAction.type,parentSchema:F.properties.clickAction,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="ACTION"||r==="LINK"||r==="MAGNIFY"||r==="NOTHING")){const t={instancePath:i+"/clickAction",schemaPath:"#/properties/clickAction/enum",keyword:"enum",params:{allowedValues:F.properties.clickAction.enum},message:"must be equal to one of the allowed values",schema:F.properties.clickAction.enum,parentSchema:F.properties.clickAction,data:r};e===null?e=[t]:e.push(t),n++}}if(s.video!==void 0){let r=s.video;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.speed!==void 0){let t=r.speed;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/video/speed",schemaPath:"#/definitions/Video/properties/speed/type",keyword:"type",params:{type:"number"},message:"must be number",schema:f.properties.speed.type,parentSchema:f.properties.speed,data:t};e===null?e=[a]:e.push(a),n++}}if(r.volume!==void 0){let t=r.volume;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/video/volume",schemaPath:"#/definitions/Video/properties/volume/type",keyword:"type",params:{type:"number"},message:"must be number",schema:f.properties.volume.type,parentSchema:f.properties.volume,data:t};e===null?e=[a]:e.push(a),n++}}if(r.loop!==void 0){let t=r.loop;if(typeof t!="boolean"){const a={instancePath:i+"/video/loop",schemaPath:"#/definitions/Video/properties/loop/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:f.properties.loop.type,parentSchema:f.properties.loop,data:t};e===null?e=[a]:e.push(a),n++}}if(r.playTrigger!==void 0){let t=r.playTrigger;if(typeof t!="string"){const a={instancePath:i+"/video/playTrigger",schemaPath:"#/definitions/Video/properties/playTrigger/type",keyword:"type",params:{type:"string"},message:"must be string",schema:f.properties.playTrigger.type,parentSchema:f.properties.playTrigger,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="AUTO"||t==="CLICK"||t==="HOVER")){const a={instancePath:i+"/video/playTrigger",schemaPath:"#/definitions/Video/properties/playTrigger/enum",keyword:"enum",params:{allowedValues:f.properties.playTrigger.enum},message:"must be equal to one of the allowed values",schema:f.properties.playTrigger.enum,parentSchema:f.properties.playTrigger,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enablePlayButton!==void 0){let t=r.enablePlayButton;if(typeof t!="boolean"){const a={instancePath:i+"/video/enablePlayButton",schemaPath:"#/definitions/Video/properties/enablePlayButton/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:f.properties.enablePlayButton.t
1ype,parentSchema:f.properties.enablePlayButton,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enableThumbnailsPlayButton!==void 0){let t=r.enableThumbnailsPlayButton;if(typeof t!="boolean"){const a={instancePath:i+"/video/enableThumbnailsPlayButton",schemaPath:"#/definitions/Video/properties/enableThumbnailsPlayButton/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:f.properties.enableThumbnailsPlayButton.type,parentSchema:f.properties.enableThumbnailsPlayButton,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enableControls!==void 0){let t=r.enableControls;if(typeof t!="boolean"){const a={instancePath:i+"/video/enableControls",schemaPath:"#/definitions/Video/properties/enableControls/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:f.properties.enableControls.type,parentSchema:f.properties.enableControls,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enablePlaceholder!==void 0){let t=r.enablePlaceholder;if(typeof t!="boolean"){const a={instancePath:i+"/video/enablePlaceholder",schemaPath:"#/definitions/Video/properties/enablePlaceholder/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:f.properties.enablePlaceholder.type,parentSchema:f.properties.enablePlaceholder,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/video",schemaPath:"#/definitions/Video/type",keyword:"type",params:{type:"object"},message:"must be object",schema:f.type,parentSchema:f,data:r};e===null?e=[t]:e.push(t),n++}}if(s.threeDimensionalScene!==void 0&&(U(s.threeDimensionalScene,{instancePath:i+"/threeDimensionalScene",parentData:s,parentDataProperty:"threeDimensionalScene",rootData:g})||(e=e===null?U.errors:e.concat(U.errors),n=e.length)),s.overlay!==void 0){let r=s.overlay;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.hoveringBehaviour!==void 0){let t=r.hoveringBehaviour;if(typeof t!="string"){const a={instancePath:i+"/overlay/hoveringBehaviour",schemaPath:"#/definitions/Overlay/properties/hoveringBehaviour/type",keyword:"type",params:{type:"string"},message:"must be string",schema:l.properties.hoveringBehaviour.type,parentSchema:l.properties.hoveringBehaviour,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="ALWAYS_SHOW"||t==="APPEARS"||t==="DISAPPEARS"||t==="NEVER_SHOW")){const a={instancePath:i+"/overlay/hoveringBehaviour",schemaPath:"#/definitions/Overlay/properties/hoveringBehaviour/enum",keyword:"enum",params:{allowedValues:l.properties.hoveringBehaviour.enum},message:"must be equal to one of the allowed values",schema:l.properties.hoveringBehaviour.enum,parentSchema:l.properties.hoveringBehaviour,data:t};e===null?e=[a]:e.push(a),n++}}if(r.hoverAnimation!==void 0){let t=r.hoverAnimation;if(typeof t!="string"){const a={instancePath:i+"/overlay/hoverAnimation",schemaPath:"#/definitions/Overlay/properties/hoverAnimation/type",keyword:"type",params:{type:"string"},message:"must be string",schema:l.properties.hoverAnimation.type,parentSchema:l.properties.hoverAnimation,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="EXPAND"||t==="FADE_IN"||t==="NO_EFFECT"||t==="SLIDE_DOWN"||t==="SLIDE_LEFT"||t==="SLIDE_RIGHT"||t==="SLIDE_UP")){const a={instancePath:i+"/overlay/hoverAnimation",schemaPath:"#/definitions/Overlay/properties/hoverAnimation/enum",keyword:"enum",params:{allowedValues:l.properties.hoverAnimation.enum},message:"must be equal to one of the allowed values",schema:l.properties.hoverAnimation.enum,parentSchema:l.properties.hoverAnimation,data:t};e===null?e=[a]:e.push(a),n++}}if(r.position!==void 0){let t=r.position;if(typeof t!="string"){const a={instancePath:i+"/overlay/position",schemaPath:"#/definitions/Overlay/properties/position/type",keyword:"type",params:{type:"string"},message:"must be string",schema:l.properties.position.type,parentSchema:l.properties.position,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="BUTTOM"||t==="CENTERED_HORIZONTALLY"||t==="CENTERED_VERTICALLY"||t==="LEFT"||t==="RIGHT"||t==="TOP")){const a={instancePath:i+"/overlay/position",schemaPath:"#/definitions/Overlay/properties/position/enum",keyword:"enum",params:{allowedValues:l.properties.position.enum},message:"must be equal to one of the allowed values",schema:l.properties.position.enum,parentSchema:l.properties.position,data:t};e===null?e=[a]:e.push(a),n++}}if(r.size!==void 0){let t=r.size;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/overlay/size",schemaPath:"#/definitions/Overlay/properties/size/type",keyword:"type",params:{type:"number"},message:"must be number",schema:l.properties.size.type,parentSchema:l.properties.size,data:t};e===null?e=[a]:e.push(a),n++}}if(r.sizeUnits!==void 0){let t=r.sizeUnits;if(typeof t!="string"){const a={instancePath:i+"/overlay/sizeUnits",schemaPath:"#/definitions/Overlay/properties/sizeUnits/type",keyword:"type",params:{type:"string"},message:"must be string",schema:l.properties.sizeUnits.type,parentSchema:l.properties.sizeUnits,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="PERCENT"||t==="PIXEL")){const a={instancePath:i+"/overlay/sizeUnits",schemaPath:"#/definitions/Overlay/properties/sizeUnits/enum",keyword:"enum",params:{allowedValues:l.properties.sizeUnits.enum},message:"must be equal to one of the allowed values",schema:l.properties.sizeUnits.enum,parentSchema:l.properties.sizeUnits,data:t};e===null?e=[a]:e.push(a),n++}}if(r.padding!==void 0){let t=r.padding;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/overlay/padding",schemaPath:"#/definitions/Overlay/properties/padding/type",keyword:"type",params:{type:"number"},message:"must be number",schema:l.properties.padding.type,parentSchema:l.properties.padding,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/overlay",schemaPath:"#/definitions/Overlay/type",keyword:"type",params:{type:"object"},message:"must be object",schema:l.type,parentSchema:l,data:r};e===null?e=[t]:e.push(t),n++}}if(s.content!==void 0){let r=s.content;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.hoverAnimation!==void 0){let t=r.hoverAnimation;if(typeof t!="string"){const a={instancePath:i+"/content/hoverAnimation",schemaPath:"#/definitions/Content/properties/hoverAnimation/type",keyword:"type",params:{type:"string"},message:"must be string",schema:b.properties.hoverAnimation.type,parentSchema:b.properties.hoverAnimation,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="BLUR"||t==="COLOR_IN"||t==="DARKENED"||t==="GRAYSCALE"||t==="INVERT"||t==="NO_EFFECT"||t==="SHRINK"||t==="TILT"||t==="ZOOM_IN")){const a={instancePath:i+"/content/hoverAnimation",schemaPath:"#/definitions/Content/properties/hoverAnimation/enum",keyword:"enum",params:{allowedValues:b.properties.hoverAnimation.enum},message:"must be equal to one of the allowed values",schema:b.properties.hoverAnimation.enum,parentSchema:b.properties.hoverAnimation,data:t};e===null?e=[a]:e.push(a),n++}}if(r.placementAnimation!==void 0){let t=r.placementAnimation;if(typeof t!="string"){const a={instancePath:i+"/content/placementAnimation",schemaPath:"#/definitions/Content/properties/placementAnimation/type",keyword:"type",params:{type:"string"},message:"must be string",schema:b.properties.placementAnimation.type,parentSchema:b.properties.placementAnimation,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="NO_EFFECT"||t==="SLIDE")){const a={instancePath:i+"/content/placementAnimation",schemaPath:"#/definitions/Content/properties/placementAnimation/enum",keyword:"enum",params:{allowedValues:b.properties.placementAnimation.enum},message:"must be equal to one of the allowed values",schema:b.properties.placementAnimation.enum,parentSchema:b.properties.placementAnimation,data:t};e===null?e=[a]:e.push(a),n++}}if(r.loader!==void 0){let t=r.loader;if(typeof t!="string"){const a={instancePath:i+"/content/loader",schemaPath:"#/definitions/Content/properties/loader/type",keyword:"type",params:{type:"string"},message:"must be string",schema:b.properties.loader.type,parentSchema:b.properties.loader,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="BLUR"||t==="COLOR"||t==="MAIN_COLOR")){const a={instancePath:i+"/content/loader",schemaPath:"#/definitions/Content/properties/loader/enum",keyword:"enum",params:{allowedValues:b.properties.loader.enum},message:"must be equal to one of the allowed values",schema:b.properties.loader.enum,parentSchema:b.properties.loader,data:t};e===null?e=[a]:e.push(a),n++}}if(r.magnificationValue!==void 0){let t=r.magnificationValue;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/content/magnificationValue",schemaPath:"#/definitions/Content/properties/magnificationValue/type",keyword:"type",params:{type:"number"},message:"must be number",schema:b.properties.magnificationValue.type,parentSchema:b.properties.magnificationValue,data:t};e===null?e=[a]:e.push(a),n++}}if(r.tiltAngleValue!==void 0){let t=r.tiltAngleValue;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/content/tiltAngleValue",schemaPath:"#/definitions/Content/properties/tiltAngleValue/type",keyword:"type",params:{type:"number"},message:"must be number",schema:b.properties.tiltAngleValue.type,parentSchema:b.properties.tiltAngleValue,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/content",schemaPath:"#/definitions/Content/type",keyword:"type",params:{type:"object"},message:"must be object",schema:b.type,parentSchema:b,data:r};e===null?e=[t]:e.push(t),n++}}if(s.secondaryMedia!==void 0){let r=s.secondaryMedia;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.behaviour===void 0){const t={instancePath:i+"/secondaryMedia",schemaPath:"#/definitions/SecondaryMedia/required",keyword:"required",params:{missingProperty:"behaviour"},message:"must have required property 'behaviour'",schema:E.required,parentSchema:E,data:r};e===null?e=[t]:e.push(t),n++}if(r.trigger===void 0){const t={instancePath:i+"/secondaryMedia",schemaPath:"#/definitions/SecondaryMedia/required",keyword:"required",params:{missingProperty:"trigger"},message:"must have required property 'trigger'",schema:E.required,parentSchema:E,data:r};e===null?e=[t]:e.push(t),n++}if(r.trigger!==void 0){let t=r.trigger;if(typeof t!="string"){const a={instancePath:i+"/secondaryMedia/trigger",schemaPath:"#/definitions/SecondaryMedia/properties/trigger/type",keyword:"type",params:{type:"string"},message:"must be string",schema:E.properties.trigger.type,parentSchema:E.properties.trigger,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="HOVER"||t==="OFF")){const a={instancePath:i+"/secondaryMedia/trigger",schemaPath:"#/definitions/SecondaryMedia/properties/trigger/enum",keyword:"enum",params:{allowedValues:E.properties.trigger.enum},message:"must be equal to one of the allowed values",schema:E.properties.trigger.enum,parentSchema:E.properties.trigger,data:t};e===null?e=[a]:e.push(a),n++}}if(r.behaviour!==void 0){let t=r.behaviour;if(typeof t!="string"){const a={instancePath:i+"/secondaryMedia/behaviour",schemaPath:"#/definitions/SecondaryMedia/properties/behaviour/type",keyword:"type",params:{type:"string"},message:"must be string",schema:E.properties.behaviour.type,parentSchema:E.properties.behaviour,data:t};e===null?e=[a]:e.push(a),n++}if(t!=="APPEARS"){const a={instancePath:i+"/secondaryMedia/behaviour",schemaPath:"#/definitions/SecondaryMedia/properties/behaviour/const",keyword:"const",params:{allowedValue:"APPEARS"}
1,message:"must be equal to constant",schema:"APPEARS",parentSchema:E.properties.behaviour,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/secondaryMedia",schemaPath:"#/definitions/SecondaryMedia/type",keyword:"type",params:{type:"object"},message:"must be object",schema:E.type,parentSchema:E,data:r};e===null?e=[t]:e.push(t),n++}}}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:F.type,parentSchema:F,data:s};e===null?e=[r]:e.push(r),n++}return q.errors=e,n===0}const P={type:"object",properties:{layoutDirection:{enum:["LEFT_TO_RIGHT","RIGHT_TO_LEFT"],type:"string"},blockContextMenu:{type:"boolean"},scrollAnimation:{enum:["BLUR","EXPAND","FADE_IN","GRAYSCALE","MAIN_COLOR","NO_EFFECT","ONE_COLOR","SHRINK","SLIDE_UP","ZOOM_OUT"],type:"string"},enableIndexingShareLinks:{type:"boolean"},vertical:{$ref:"#/definitions/Vertical"},horizontal:{$ref:"#/definitions/Horizontal"}}},Q={type:"object",properties:{loadMore:{$ref:"#/definitions/LoadMore"}}},I={type:"object",properties:{enable:{type:"boolean"},amount:{enum:["ALL","PARTIAL"],type:"string"},text:{type:"string"}}};function $(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.loadMore!==void 0){let r=s.loadMore;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.enable!==void 0){let t=r.enable;if(typeof t!="boolean"){const a={instancePath:i+"/loadMore/enable",schemaPath:"#/definitions/LoadMore/properties/enable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:I.properties.enable.type,parentSchema:I.properties.enable,data:t};e===null?e=[a]:e.push(a),n++}}if(r.amount!==void 0){let t=r.amount;if(typeof t!="string"){const a={instancePath:i+"/loadMore/amount",schemaPath:"#/definitions/LoadMore/properties/amount/type",keyword:"type",params:{type:"string"},message:"must be string",schema:I.properties.amount.type,parentSchema:I.properties.amount,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="ALL"||t==="PARTIAL")){const a={instancePath:i+"/loadMore/amount",schemaPath:"#/definitions/LoadMore/properties/amount/enum",keyword:"enum",params:{allowedValues:I.properties.amount.enum},message:"must be equal to one of the allowed values",schema:I.properties.amount.enum,parentSchema:I.properties.amount,data:t};e===null?e=[a]:e.push(a),n++}}if(r.text!==void 0){let t=r.text;if(typeof t!="string"){const a={instancePath:i+"/loadMore/text",schemaPath:"#/definitions/LoadMore/properties/text/type",keyword:"type",params:{type:"string"},message:"must be string",schema:I.properties.text.type,parentSchema:I.properties.text,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/loadMore",schemaPath:"#/definitions/LoadMore/type",keyword:"type",params:{type:"object"},message:"must be object",schema:I.type,parentSchema:I,data:r};e===null?e=[t]:e.push(t),n++}}}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:Q.type,parentSchema:Q,data:s};e===null?e=[r]:e.push(r),n++}return $.errors=e,n===0}const w={type:"object",properties:{enableScrollSnap:{type:"boolean"},slideAnimation:{enum:["DECK","FADE","SCROLL"],type:"string"},slideTransition:{type:"string"},blockScroll:{type:"boolean"},navigationDuration:{type:"number"},loop:{type:"boolean"},autoSlide:{$ref:"#/definitions/AutoSlide"},slideshowInfo:{$ref:"#/definitions/SlideshowInfo"}}},O={type:"object",properties:{behaviour:{enum:["CONTINUOUS","INTERVAL","OFF"],type:"string"},interval:{type:"number"},pauseOnHover:{type:"boolean"},speed:{type:"number"}}},L={type:"object",properties:{buttonsAlignment:{enum:["CENTER","LEFT","RIGHT"],type:"string"},enableCounter:{type:"boolean"},enablePlayButton:{type:"boolean"}}};function W(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.enableScrollSnap!==void 0){let r=s.enableScrollSnap;if(typeof r!="boolean"){const t={instancePath:i+"/enableScrollSnap",schemaPath:"#/properties/enableScrollSnap/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:w.properties.enableScrollSnap.type,parentSchema:w.properties.enableScrollSnap,data:r};e===null?e=[t]:e.push(t),n++}}if(s.slideAnimation!==void 0){let r=s.slideAnimation;if(typeof r!="string"){const t={instancePath:i+"/slideAnimation",schemaPath:"#/properties/slideAnimation/type",keyword:"type",params:{type:"string"},message:"must be string",schema:w.properties.slideAnimation.type,parentSchema:w.properties.slideAnimation,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="DECK"||r==="FADE"||r==="SCROLL")){const t={instancePath:i+"/slideAnimation",schemaPath:"#/properties/slideAnimation/enum",keyword:"enum",params:{allowedValues:w.properties.slideAnimation.enum},message:"must be equal to one of the allowed values",schema:w.properties.slideAnimation.enum,parentSchema:w.properties.slideAnimation,data:r};e===null?e=[t]:e.push(t),n++}}if(s.slideTransition!==void 0){let r=s.slideTransition;if(typeof r!="string"){const t={instancePath:i+"/slideTransition",schemaPath:"#/properties/slideTransition/type",keyword:"type",params:{type:"string"},message:"must be string",schema:w.properties.slideTransition.type,parentSchema:w.properties.slideTransition,data:r};e===null?e=[t]:e.push(t),n++}}if(s.blockScroll!==void 0){let r=s.blockScroll;if(typeof r!="boolean"){const t={instancePath:i+"/blockScroll",schemaPath:"#/properties/blockScroll/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:w.properties.blockScroll.type,parentSchema:w.properties.blockScroll,data:r};e===null?e=[t]:e.push(t),n++}}if(s.navigationDuration!==void 0){let r=s.navigationDuration;if(!(typeof r=="number"&&isFinite(r))){const t={instancePath:i+"/navigationDuration",schemaPath:"#/properties/navigationDuration/type",keyword:"type",params:{type:"number"},message:"must be number",schema:w.properties.navigationDuration.type,parentSchema:w.properties.navigationDuration,data:r};e===null?e=[t]:e.push(t),n++}}if(s.loop!==void 0){let r=s.loop;if(typeof r!="boolean"){const t={instancePath:i+"/loop",schemaPath:"#/properties/loop/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:w.properties.loop.type,parentSchema:w.properties.loop,data:r};e===null?e=[t]:e.push(t),n++}}if(s.autoSlide!==void 0){let r=s.autoSlide;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.behaviour!==void 0){let t=r.behaviour;if(typeof t!="string"){const a={instancePath:i+"/autoSlide/behaviour",schemaPath:"#/definitions/AutoSlide/properties/behaviour/type",keyword:"type",params:{type:"string"},message:"must be string",schema:O.properties.behaviour.type,parentSchema:O.properties.behaviour,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="CONTINUOUS"||t==="INTERVAL"||t==="OFF")){const a={instancePath:i+"/autoSlide/behaviour",schemaPath:"#/definitions/AutoSlide/properties/behaviour/enum",keyword:"enum",params:{allowedValues:O.properties.behaviour.enum},message:"must be equal to one of the allowed values",schema:O.properties.behaviour.enum,parentSchema:O.properties.behaviour,data:t};e===null?e=[a]:e.push(a),n++}}if(r.interval!==void 0){let t=r.interval;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/autoSlide/interval",schemaPath:"#/definitions/AutoSlide/properties/interval/type",keyword:"type",params:{type:"number"},message:"must be number",schema:O.properties.interval.type,parentSchema:O.properties.interval,data:t};e===null?e=[a]:e.push(a),n++}}if(r.pauseOnHover!==void 0){let t=r.pauseOnHover;if(typeof t!="boolean"){const a={instancePath:i+"/autoSlide/pauseOnHover",schemaPath:"#/definitions/AutoSlide/properties/pauseOnHover/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:O.properties.pauseOnHover.type,parentSchema:O.properties.pauseOnHover,data:t};e===null?e=[a]:e.push(a),n++}}if(r.speed!==void 0){let t=r.speed;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/autoSlide/speed",schemaPath:"#/definitions/AutoSlide/properties/speed/type",keyword:"type",params:{type:"number"},message:"must be number",schema:O.properties.speed.type,parentSchema:O.properties.speed,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/autoSlide",schemaPath:"#/definitions/AutoSlide/type",keyword:"type",params:{type:"object"},message:"must be object",schema:O.type,parentSchema:O,data:r};e===null?e=[t]:e.push(t),n++}}if(s.slideshowInfo!==void 0){let r=s.slideshowInfo;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.buttonsAlignment!==void 0){let t=r.buttonsAlignment;if(typeof t!="string"){const a={instancePath:i+"/slideshowInfo/buttonsAlignment",schemaPath:"#/definitions/SlideshowInfo/properties/buttonsAlignment/type",keyword:"type",params:{type:"string"},message:"must be string",schema:L.properties.buttonsAlignment.type,parentSchema:L.properties.buttonsAlignment,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="CENTER"||t==="LEFT"||t==="RIGHT")){const a={instancePath:i+"/slideshowInfo/buttonsAlignment",schemaPath:"#/definitions/SlideshowInfo/properties/buttonsAlignment/enum",keyword:"enum",params:{allowedValues:L.properties.buttonsAlignment.enum},message:"must be equal to one of the allowed values",schema:L.properties.buttonsAlignment.enum,parentSchema:L.properties.buttonsAlignment,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enableCounter!==void 0){let t=r.enableCounter;if(typeof t!="boolean"){const a={instancePath:i+"/slideshowInfo/enableCounter",schemaPath:"#/definitions/SlideshowInfo/properties/enableCounter/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:L.properties.enableCounter.type,parentSchema:L.properties.enableCounter,data:t};e===null?e=[a]:e.push(a),n++}}if(r.enablePlayButton!==void 0){let t=r.enablePlayButton;if(typeof t!="boolean"){const a={instancePath:i+"/slideshowInfo/enablePlayButton",schemaPath:"#/definitions/SlideshowInfo/properties/enablePlayButton/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:L.properties.enablePlayButton.t
1ype,parentSchema:L.properties.enablePlayButton,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/slideshowInfo",schemaPath:"#/definitions/SlideshowInfo/type",keyword:"type",params:{type:"object"},message:"must be object",schema:L.type,parentSchema:L,data:r};e===null?e=[t]:e.push(t),n++}}}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:w.type,parentSchema:w,data:s};e===null?e=[r]:e.push(r),n++}return W.errors=e,n===0}function x(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.layoutDirection!==void 0){let r=s.layoutDirection;if(typeof r!="string"){const t={instancePath:i+"/layoutDirection",schemaPath:"#/properties/layoutDirection/type",keyword:"type",params:{type:"string"},message:"must be string",schema:P.properties.layoutDirection.type,parentSchema:P.properties.layoutDirection,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="LEFT_TO_RIGHT"||r==="RIGHT_TO_LEFT")){const t={instancePath:i+"/layoutDirection",schemaPath:"#/properties/layoutDirection/enum",keyword:"enum",params:{allowedValues:P.properties.layoutDirection.enum},message:"must be equal to one of the allowed values",schema:P.properties.layoutDirection.enum,parentSchema:P.properties.layoutDirection,data:r};e===null?e=[t]:e.push(t),n++}}if(s.blockContextMenu!==void 0){let r=s.blockContextMenu;if(typeof r!="boolean"){const t={instancePath:i+"/blockContextMenu",schemaPath:"#/properties/blockContextMenu/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:P.properties.blockContextMenu.type,parentSchema:P.properties.blockContextMenu,data:r};e===null?e=[t]:e.push(t),n++}}if(s.scrollAnimation!==void 0){let r=s.scrollAnimation;if(typeof r!="string"){const t={instancePath:i+"/scrollAnimation",schemaPath:"#/properties/scrollAnimation/type",keyword:"type",params:{type:"string"},message:"must be string",schema:P.properties.scrollAnimation.type,parentSchema:P.properties.scrollAnimation,data:r};e===null?e=[t]:e.push(t),n++}if(!(r==="BLUR"||r==="EXPAND"||r==="FADE_IN"||r==="GRAYSCALE"||r==="MAIN_COLOR"||r==="NO_EFFECT"||r==="ONE_COLOR"||r==="SHRINK"||r==="SLIDE_UP"||r==="ZOOM_OUT")){const t={instancePath:i+"/scrollAnimation",schemaPath:"#/properties/scrollAnimation/enum",keyword:"enum",params:{allowedValues:P.properties.scrollAnimation.enum},message:"must be equal to one of the allowed values",schema:P.properties.scrollAnimation.enum,parentSchema:P.properties.scrollAnimation,data:r};e===null?e=[t]:e.push(t),n++}}if(s.enableIndexingShareLinks!==void 0){let r=s.enableIndexingShareLinks;if(typeof r!="boolean"){const t={instancePath:i+"/enableIndexingShareLinks",schemaPath:"#/properties/enableIndexingShareLinks/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:P.properties.enableIndexingShareLinks.type,parentSchema:P.properties.enableIndexingShareLinks,data:r};e===null?e=[t]:e.push(t),n++}}s.vertical!==void 0&&($(s.vertical,{instancePath:i+"/vertical",parentData:s,parentDataProperty:"vertical",rootData:g})||(e=e===null?$.errors:e.concat($.errors),n=e.length)),s.horizontal!==void 0&&(W(s.horizontal,{instancePath:i+"/horizontal",parentData:s,parentDataProperty:"horizontal",rootData:g})||(e=e===null?W.errors:e.concat(W.errors),n=e.length))}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:P.type,parentSchema:P,data:s};e===null?e=[r]:e.push(r),n++}return x.errors=e,n===0}function Y(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s))s.item!==void 0&&(q(s.item,{instancePath:i+"/item",parentData:s,parentDataProperty:"item",rootData:g})||(e=e===null?q.errors:e.concat(q.errors),n=e.length)),s.gallery!==void 0&&(x(s.gallery,{instancePath:i+"/gallery",parentData:s,parentDataProperty:"gallery",rootData:g})||(e=e===null?x.errors:e.concat(x.errors),n=e.length));else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:J.type,parentSchema:J,data:s};e===null?e=[r]:e.push(r),n++}
1return Y.errors=e,n===0}function K(s,{instancePath:i="",parentData:A,parentDataProperty:R,rootData:g=s}={}){let e=null,n=0;if(s&&typeof s=="object"&&!Array.isArray(s)){if(s.layoutParams!==void 0&&(H(s.layoutParams,{instancePath:i+"/layoutParams",parentData:s,parentDataProperty:"layoutParams",rootData:g})||(e=e===null?H.errors:e.concat(H.errors),n=e.length)),s.behaviourParams!==void 0&&(Y(s.behaviourParams,{instancePath:i+"/behaviourParams",parentData:s,parentDataProperty:"behaviourParams",rootData:g})||(e=e===null?Y.errors:e.concat(Y.errors),n=e.length)),s.stylingParams!==void 0){let r=s.stylingParams;if(r&&typeof r=="object"&&!Array.isArray(r)){if(r.arrowsColor!==void 0){let t=r.arrowsColor;if(typeof t!="string"){const a={instancePath:i+"/stylingParams/arrowsColor",schemaPath:"#/definitions/StylingParams/properties/arrowsColor/type",keyword:"type",params:{type:"string"},message:"must be string",schema:y.properties.arrowsColor.type,parentSchema:y.properties.arrowsColor,data:t};e===null?e=[a]:e.push(a),n++}}if(r.itemShadowBlur!==void 0){let t=r.itemShadowBlur;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/stylingParams/itemShadowBlur",schemaPath:"#/definitions/StylingParams/properties/itemShadowBlur/type",keyword:"type",params:{type:"number"},message:"must be number",schema:y.properties.itemShadowBlur.type,parentSchema:y.properties.itemShadowBlur,data:t};e===null?e=[a]:e.push(a),n++}}if(r.itemShadowDirection!==void 0){let t=r.itemShadowDirection;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/stylingParams/itemShadowDirection",schemaPath:"#/definitions/StylingParams/properties/itemShadowDirection/type",keyword:"type",params:{type:"number"},message:"must be number",schema:y.properties.itemShadowDirection.type,parentSchema:y.properties.itemShadowDirection,data:t};e===null?e=[a]:e.push(a),n++}}if(r.itemShadowOpacityAndColor!==void 0){let t=r.itemShadowOpacityAndColor;if(typeof t!="string"){const a={instancePath:i+"/stylingParams/itemShadowOpacityAndColor",schemaPath:"#/definitions/StylingParams/properties/itemShadowOpacityAndColor/type",keyword:"type",params:{type:"string"},message:"must be string",schema:y.properties.itemShadowOpacityAndColor.type,parentSchema:y.properties.itemShadowOpacityAndColor,data:t};e===null?e=[a]:e.push(a),n++}}if(r.itemShadowSize!==void 0){let t=r.itemShadowSize;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/stylingParams/itemShadowSize",schemaPath:"#/definitions/StylingParams/properties/itemShadowSize/type",keyword:"type",params:{type:"number"},message:"must be number",schema:y.properties.itemShadowSize.type,parentSchema:y.properties.itemShadowSize,data:t};e===null?e=[a]:e.push(a),n++}}if(r.itemEnableShadow!==void 0){let t=r.itemEnableShadow;if(typeof t!="boolean"){const a={instancePath:i+"/stylingParams/itemEnableShadow",schemaPath:"#/definitions/StylingParams/properties/itemEnableShadow/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:y.properties.itemEnableShadow.type,parentSchema:y.properties.itemEnableShadow,data:t};e===null?e=[a]:e.push(a),n++}}if(r.itemBorderRadius!==void 0){let t=r.itemBorderRadius;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/stylingParams/itemBorderRadius",schemaPath:"#/definitions/StylingParams/properties/itemBorderRadius/type",keyword:"type",params:{type:"number"},message:"must be number",schema:y.properties.itemBorderRadius.type,parentSchema:y.properties.itemBorderRadius,data:t};e===null?e=[a]:e.push(a),n++}}if(r.itemBorderWidth!==void 0){let t=r.itemBorderWidth;if(!(typeof t=="number"&&isFinite(t))){const a={instancePath:i+"/stylingParams/itemBorderWidth",schemaPath:"#/definitions/StylingParams/properties/itemBorderWidth/type",keyword:"type",params:{type:"number"},message:"must be number",schema:y.properties.itemBorderWidth.type,parentSchema:y.properties.itemBorderWidth,data:t};e===null?e=[a]:e.push(a),n++}}if(r.itemResolutionMode!==void 0){let t=r.itemResolutionMode;if(typeof t!="string"){const a={instancePath:i+"/stylingParams/itemResolutionMode",schemaPath:"#/definitions/StylingParams/properties/itemResolutionMode/type",keyword:"type",params:{type:"string"},message:"must be string",schema:y.properties.itemResolutionMode.type,parentSchema:y.properties.itemResolutionMode,data:t};e===null?e=[a]:e.push(a),n++}if(!(t==="FULL"||t==="SCLAED_DOWN")){const a={instancePath:i+"/stylingParams/itemResolutionMode",schemaPath:"#/definitions/StylingParams/properties/itemResolutionMode/enum",keyword:"enum",params:{allowedValues:y.properties.itemResolutionMode.enum},message:"must be equal to one of the allowed values",schema:y.properties.itemResolutionMode.enum,parentSchema:y.properties.itemResolutionMode,data:t};e===null?e=[a]:e.push(a),n++}}}else{const t={instancePath:i+"/stylingParams",schemaPath:"#/definitions/StylingParams/type",keyword:"type",params:{type:"object"},message:"must be object",schema:y.type,parentSchema:y,data:r};e===null?e=[t]:e.push(t),n++}}}else{const r={instancePath:i,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object",schema:Z.type,parentSchema:Z,data:s};e===null?e=[r]:e.push(r),n++}
1return K.errors=e,n===0}function ee(s){return K(s),K.errors||[]}function oe(s){return window.typeErrors=s,D.createElement("div",null,D.createElement("ol",null,s.map((i,A)=>D.createElement(te,{errObject:i,key:A}))),JSON.stringify(s,null,4))}function te({errObject:s}){return D.createElement("li",null,D.createElement(re,{errObject:s}))}class re extends D.Component{constructor(i){super(i),this.state={showFull:!1},this.toggle=this.toggle.bind(this)}render(){const i=this.state.showFull?ae:ne;return D.createElement("a",{onClick:this.toggle},D.createElement(i,{errObject:this.props.errObject}))}toggle(){this.setState({showFull:!this.state.showFull})}}function ae({errObject:s}){return D.createElement("ul",null,Object.entries(s).map((i,A)=>D.createElement(se,{entry:i,key:A})))}function se({entry:s}){const i=s[0],A=s[1],R=typeof A=="string"?A:JSON.stringify(A,null,4);return D.createElement("li",null,`${i}: ${R}`)}function ne({errObject:s}){return s.message}const pe=ee;export{oe as typeErrorsUI,pe as validate};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.