const { __ } = wp.i18n;

const attributes = {
  block_id: {
    type: "string",
  },
  classMigrate: {
    type: "boolean",
    default: false,
  },
  isCollapsible: {
    type: "boolean",
    default: false,
  },
  icon: {
    type: "string",
    default: "fa-angle-down",
  },
  heading: {
    source: "html",
    selector: ".rbea-toc__title",
    default: __("Table Of Contents", "responsive-block-editor-addons"),
  },
  headingTitle: {
    type: "string",
    default: __("Table Of Contents", "responsive-block-editor-addons"),
  },
  tColumnsDesktop: {
    type: "number",
    default: 1,
  },
  borderStyle: {
    type: "string",
    default: "solid",
  },
  borderWidth: {
    type: "number",
    default: 1,
  },
  borderRadius: {
    type: "number",
  },
  borderColor: {
    type: "string",
    default: "#333",
  },
  blockTopPadding: {
    type: "number",
    default: '',
  },
  blockTopPaddingMobile: {
    type: "number",
    default: '',
  },
  blockTopPaddingTablet: {
    type: "number",
    default: '',
  },
  blockBottomPadding: {
    type: "number",
    default: '',
  },
  blockBottomPaddingTablet: {
    type: "number",
    default: '',
  },
  blockBottomPaddingMobile: {
    type: "number",
    default: '',
  },
  blockRightPadding: {
    type: "number",
    default: '',
  },
  blockRightPaddingMobile: {
    type: "number",
    default: '',
  },
  blockRightPaddingTablet: {
    type: "number",
    default: '',
  },
  blockLeftPadding: {
    type: "number",
    default: '',
  },
  blockLeftPaddingTablet: {
    type: "number",
    default: '',
  },
  blockLeftPaddingMobile: {
    type: "number",
    default: '',
  },
  blockTopMargin: {
    type: "number",
    default: '',
  },
  blockTopMarginMobile: {
    type: "number",
    default: '',
  },
  blockTopMarginTablet: {
    type: "number",
    default: '',
  },
  blockBottomMargin: {
    type: "number",
    default: '',
  },
  blockBottomMarginTablet: {
    type: "number",
    default: '',
  },
  blockBottomMarginMobile: {
    type: "number",
    default: '',
  },
  blockRightMargin: {
    type: "number",
    default: '',
  },
  blockRightMarginMobile: {
    type: "number",
    default: '',
  },
  blockRightMarginTablet: {
    type: "number",
    default: '',
  },
  blockLeftMargin: {
    type: "number",
    default: '',
  },
  blockLeftMarginTablet: {
    type: "number",
    default: '',
  },
  blockLeftMarginMobile: {
    type: "number",
    default: '',
  },
  zIndex: {
    type: "number",
  },
  contentFontFamily: {
    type: "string",
    default: "",
  },
  contentFontWeight: {
    type: "string",
    default: "500",
  },
  contentFontSize: {
    type: "number",
  },
  contentFontSizeTablet: {
    type: "number",
  },
  contentFontSizeMobile: {
    type: "number",
  },
  contentLineHeight: {
    type: "number",
    default: 1.8,
  },
  headingFontFamily: {
    type: "string",
    default: "",
  },
  headingFontWeight: {
    type: "string",
    default: "500",
  },
  headingFontSize: {
    type: "number",
  },
  headingFontSizeTablet: {
    type: "number",
  },
  headingFontSizeMobile: {
    type: "number",
  },
  headingLineHeight: {
    type: "number",
  },
  align: {
    type: "string",
    default: "left",
  },
  headingColor: {
    type: "string",
    default: "#fff",
  },
  headingBgColor: {
    type: "string",
    default: "#0984ff",
  },
  headingColorHover: {
    type: "string",
  },
  headingBgColorHover: {
    type: "string",
  },
  bodyColor: {
    type: "string",
  },
  bodyBgColor: {
    type: "string",
    default: "#fff",
  },
  bodyColorHover: {
    type: "string",
  },
  bodyBgColorHover: {
    type: "string",
  },
  headingTopPadding: {
    type: "number",
    default: 15,
  },
  headingTopPaddingMobile: {
    type: "number",
    default: 15,
  },
  headingTopPaddingTablet: {
    type: "number",
    default: 15,
  },
  headingBottomPadding: {
    type: "number",
    default: 15,
  },
  headingBottomPaddingTablet: {
    type: "number",
    default: 15,
  },
  headingBottomPaddingMobile: {
    type: "number",
    default: 15,
  },
  headingRightPadding: {
    type: "number",
    default: 20,
  },
  headingRightPaddingMobile: {
    type: "number",
    default: 20,
  },
  headingRightPaddingTablet: {
    type: "number",
    default: 20,
  },
  headingLeftPadding: {
    type: "number",
    default: 20,
  },
  headingLeftPaddingTablet: {
    type: "number",
    default: 20,
  },
  headingLeftPaddingMobile: {
    type: "number",
    default: 20,
  },
  headingTopMargin: {
    type: "number",
  },
  headingTopMarginMobile: {
    type: "number",
  },
  headingTopMarginTablet: {
    type: "number",
  },
  headingBottomMargin: {
    type: "number",
  },
  headingBottomMarginTablet: {
    type: "number",
  },
  headingBottomMarginMobile: {
    type: "number",
  },
  headingRightMargin: {
    type: "number",
  },
  headingRightMarginMobile: {
    type: "number",
  },
  headingRightMarginTablet: {
    type: "number",
  },
  headingLeftMargin: {
    type: "number",
  },
  headingLeftMarginTablet: {
    type: "number",
  },
  headingLeftMarginMobile: {
    type: "number",
  },
  contentTopPadding: {
    type: "number",
    default: 15,
  },
  contentTopPaddingMobile: {
    type: "number",
    default: 15,
  },
  contentTopPaddingTablet: {
    type: "number",
    default: 15,
  },
  contentBottomPadding: {
    type: "number",
    default: 15,
  },
  contentBottomPaddingTablet: {
    type: "number",
    default: 15,
  },
  contentBottomPaddingMobile: {
    type: "number",
    default: 15,
  },
  contentRightPadding: {
    type: "number",
    default: 20,
  },
  contentRightPaddingMobile: {
    type: "number",
    default: 20,
  },
  contentRightPaddingTablet: {
    type: "number",
    default: 20,
  },
  contentLeftPadding: {
    type: "number",
    default: 20,
  },
  contentLeftPaddingTablet: {
    type: "number",
    default: 20,
  },
  contentLeftPaddingMobile: {
    type: "number",
    default: 20,
  },
  contentTopMargin: {
    type: "number",
  },
  contentTopMarginMobile: {
    type: "number",
  },
  contentTopMarginTablet: {
    type: "number",
  },
  contentBottomMargin: {
    type: "number",
  },
  contentBottomMarginTablet: {
    type: "number",
  },
  contentBottomMarginMobile: {
    type: "number",
  },
  contentRightMargin: {
    type: "number",
  },
  contentRightMarginMobile: {
    type: "number",
  },
  contentRightMarginTablet: {
    type: "number",
  },
  contentLeftMargin: {
    type: "number",
  },
  contentLeftMarginTablet: {
    type: "number",
  },
  contentLeftMarginMobile: {
    type: "number",
  },
  blockWidth: {
    type: "number",
    default: 100,
  },
  blockBorderStyle: {
    type: "string",
    default: "solid",
  },
  blockBorderWidth: {
    type: "number",
    default: 1,
  },
  headingBorderTopWidth: {
    type: "number",
    default: 1,
  },
  headingBorderBottomWidth: {
    type: "number",
    default: 1,
  },
  headingBorderLeftWidth: {
    type: "number",
    default: 1,
  },
  headingBorderRightWidth: {
    type: "number",
    default: 1,
  },
  headingBorderTopWidthMobile: {
    type: "number",
    default: 1,
  },
  headingBorderBottomWidthMobile: {
    type: "number",
    default: 1,
  },
  headingBorderLeftWidthMobile: {
    type: "number",
    default: 1,
  },
  headingBorderRightWidthMobile: {
    type: "number",
    default: 1,
  },
  headingBorderTopWidthTablet: {
    type: "number",
    default: 1,
  },
  headingBorderBottomWidthTablet: {
    type: "number",
    default: 1,
  },
  headingBorderLeftWidthTablet: {
    type: "number",
    default: 1,
  },
  headingBorderRightWidthTablet: {
    type: "number",
    default: 1,
  },
  blockBorderRadius: {
    type: "number",
  },
  headingBorderTopLeftRadius: {
    type: "number",
  },
  headingBorderTopRightRadius: {
    type: "number",
  },
  headingBorderBottomLeftRadius: {
    type: "number",
  },
  headingBorderBottomRightRadius: {
    type: "number",
  },
  headingBorderTopLeftRadiusMobile: {
    type: "number",
  },
  headingBorderTopRightRadiusMobile: {
    type: "number",
  },
  headingBorderBottomLeftRadiusMobile: {
    type: "number",
  },
  headingBorderBottomRightRadiusMobile: {
    type: "number",
  },
  headingBorderTopLeftRadiusTablet: {
    type: "number",
  },
  headingBorderTopRightRadiusTablet: {
    type: "number",
  },
  headingBorderBottomLeftRadiusTablet: {
    type: "number",
  },
  headingBorderBottomRightRadiusTablet: {
    type: "number",
  },
  headingBorderTopRadius: {
    type: "number",
    default: 0,
  },
  headingBorderRightRadius: {
    type: "number",
    default: 0,
  },
  headingBorderBottomRadius: {
    type: "number",
    default: 0,
  },
  headingBorderLeftRadius: {
    type: "number",
    default: 0,
  },
  headingBorderTopRadiusTablet: {
    type: "number",
    default: 0,
  },
  headingBorderRightRadiusTablet: {
    type: "number",
    default: 0,
  },
  headingBorderBottomRadiusTablet: {
    type: "number",
    default: 0,
  },
  headingBorderLeftRadiusTablet: {
    type: "number",
    default: 0,
  },
  headingBorderTopRadiusMobile: {
    type: "number",
    default: 0,
  },
  headingBorderRightRadiusMobile: {
    type: "number",
    default: 0,
  },
  headingBorderBottomRadiusMobile: {
    type: "number",
    default: 0,
  },
  headingBorderLeftRadiusMobile: {
    type: "number",
    default: 0,
  },
  headingBorderIsRadiusControlConnected: {
    type: "boolean",
    default: false,
  },
  headingBorderIsRadiusValueUpdated: {
    type: "boolean",
    default: false,
  },
  bodyBorderTopRadius: {
    type: "number",
    default: 0,
  },
  bodyBorderRightRadius: {
    type: "number",
    default: 0,
  },
  bodyBorderBottomRadius: {
    type: "number",
    default: 0,
  },
  bodyBorderLeftRadius: {
    type: "number",
    default: 0,
  },
  bodyBorderTopRadiusTablet: {
    type: "number",
    default: 0,
  },
  bodyBorderRightRadiusTablet: {
    type: "number",
    default: 0,
  },
  bodyBorderBottomRadiusTablet: {
    type: "number",
    default: 0,
  },
  bodyBorderLeftRadiusTablet: {
    type: "number",
    default: 0,
  },
  bodyBorderTopRadiusMobile: {
    type: "number",
    default: 0,
  },
  bodyBorderRightRadiusMobile: {
    type: "number",
    default: 0,
  },
  bodyBorderBottomRadiusMobile: {
    type: "number",
    default: 0,
  },
  bodyBorderLeftRadiusMobile: {
    type: "number",
    default: 0,
  },
  bodyBorderIsRadiusControlConnected: {
    type: "boolean",
    default: false,
  },
  bodyBorderIsRadiusValueUpdated: {
    type: "boolean",
    default: false,
  },
  blockBorderColor: {
    type: "string",
    default: "#0984ff",
  },
  headingBorderStyle: {
    type: "string",
  },
  headingBorderWidth: {
    type: "number",
    default: 1,
  },
  headingBorderRadius: {
    type: "number",
  },
  headingBorderColor: {
    type: "string",
  },
  bodyBorderStyle: {
    type: "string",
  },
  bodyBorderWidth: {
    type: "number",
    default: 1,
  },
  bodyBorderTopLeftRadiusMobile: {
    type: "number",
  },
bodyBorderTopRightRadiusMobile: {
  type: "number",
},
bodyBorderBottomLeftRadiusMobile: {
  type: "number",
},
bodyBorderBottomRightRadiusMobile: {
  type: "number",
},
bodyBorderTopLeftRadiusTablet: {
  type: "number",
},
bodyBorderTopRightRadiusTablet: {
  type: "number",
},
bodyBorderBottomLeftRadiusTablet: {
  type: "number",
},
bodyBorderBottomRightRadiusTablet: {
  type: "number",
},
bodyBorderTopLeftRadius: {
  type: "number",
},
bodyBorderTopRightRadius: {
  type: "number",
},
bodyBorderBottomLeftRadius: {
  type: "number",
},
bodyBorderBottomRightRadius: {
  type: "number",
},
  bodyBorderTopWidth: {
    type: "number",
    default: 1,
  },
  bodyBorderLeftWidth: {
    type: "number",
    default: 1,
  },
  bodyBorderRightWidth: {
    type: "number",
    default: 1,
  },
  bodyBorderBottomWidth: {
    type: "number",
    default: 1,
  },
  bodyBorderTopWidthTablet: {
    type: "number",
    default: 1,
  },
  bodyBorderLeftWidthTablet: {
    type: "number",
    default: 1,
  },
  bodyBorderRightWidthTablet: {
    type: "number",
    default: 1,
  },
  bodyBorderBottomWidthTablet: {
    type: "number",
    default: 1,
  },
  bodyBorderTopWidthMobile: {
    type: "number",
    default: 1,
  },
  bodyBorderLeftWidthMobile: {
    type: "number",
    default: 1,
  },
  bodyBorderRightWidthMobile: {
    type: "number",
    default: 1,
  },
  bodyBorderBottomWidthMobile: {
    type: "number",
    default: 1,
  },

  bodyBorderRadius: {
    type: "number",
  },
  bodyBorderColor: {
    type: "string",
  },
  tableType: {
    type: "string",
    default: "unordered",
  },
  orderListType: {
    type: "string",
    default: "number",
  },
  headerLayout: {
    type: "string",
    default: "fill",
  },
  backgroundImage: {
    type: "string",
  },
  backgroundPosition: {
    type: "string",
    default: "center-center",
  },
  backgroundSize: {
    type: "string",
    default: "cover",
  },
  backgroundRepeat: {
    type: "string",
    default: "no-repeat",
  },
  backgroundColor: {
    type: "string",
  },
  backgroundVideo: {
    type: "object",
  },
  backgroundType: {
    type: "string",
    default: "none",
  },
  sectionHtmlTag: {
    type: "string",
    default: "div",
  },
  headerLinks: {
    type: "string",
    default: "",
  },
  allowedAnchors: {
    type: "object",
    default: {
      h1: true,
      h2: true,
      h3: true,
      h4: true,
      h5: true,
      h6: true,
    },
  },
  smoothScroll: {
    type: 'boolean',
    default: true
  },
  scrollOffset: {
      type: 'number',
      default: 30
  },
  icon_color: {
    type: "string",
    default: "#3a3a3a",
  },
  size: {

    type: "number",
    default: 16,
  },
  sizeMobile: {
    type: "number",
  },
  sizeTablet:{
    type: "number",
  },
	hideWidget: {
	  type: "boolean",
	  default: false,
	},
	hideWidgetTablet: {
	  type: "boolean",
	  default: false,
	},
	hideWidgetMobile: {
	  type: "boolean",
	  default: false,
	},
  z_index: {
    type: "number",
    default: 16,
  },
  sizeMobile: {
    type: "number",
  },
  sizeTablet:{
    type: "number",
  },
  headingBorderTopWidth: {
    type: "number",
    default: 1,
  },
  headingBorderBottomWidth: {
    type: "number",
    default: 1,
  },
  headingBorderLeftWidth: {
    type: "number",
    default: 1,
  },
  headingBorderRightWidth: {
    type: "number",
    default: 1,
  },
  headingBorderTopWidthMobile: {
    type: "number",
    default: 1,
  },
  headingBorderBottomWidthMobile: {
    type: "number",
    default: 1,
  },
  headingBorderLeftWidthMobile: {
    type: "number",
    default: 1,
  },
  headingBorderRightWidthMobile: {
    type: "number",
    default: 1,
  },
  headingBorderTopWidthTablet: {
    type: "number",
    default: 1,
  },
  headingBorderBottomWidthTablet: {
    type: "number",
    default: 1,
  },
  headingBorderLeftWidthTablet: {
    type: "number",
    default: 1,
  },
  headingBorderRightWidthTablet: {
    type: "number",
    default: 1,
  },
  headingBorderTopLeftRadius: {
    type: "number",
  },
  headingBorderTopRightRadius: {
    type: "number",
  },
  headingBorderBottomLeftRadius: {
    type: "number",
  },
  headingBorderBottomRightRadius: {
    type: "number",
  },
  headingBorderTopLeftRadiusMobile: {
    type: "number",
  },
  headingBorderTopRightRadiusMobile: {
    type: "number",
  },
  headingBorderBottomLeftRadiusMobile: {
    type: "number",
  },
  headingBorderBottomRightRadiusMobile: {
    type: "number",
  },
  headingBorderTopLeftRadiusTablet: {
    type: "number",
  },
  headingBorderTopRightRadiusTablet: {
    type: "number",
  },
  headingBorderBottomLeftRadiusTablet: {
    type: "number",
  },
  headingBorderBottomRightRadiusTablet: {
    type: "number",
  },
  bodyBorderTopWidth: {
    type: "number",
    default: 1,
  },
  bodyBorderLeftWidth: {
    type: "number",
    default: 1,
  },
  bodyBorderRightWidth: {
    type: "number",
    default: 1,
  },
  bodyBorderBottomWidth: {
    type: "number",
    default: 1,
  },
  bodyBorderTopWidthTablet: {
    type: "number",
    default: 1,
  },
  bodyBorderLeftWidthTablet: {
    type: "number",
    default: 1,
  },
  bodyBorderRightWidthTablet: {
    type: "number",
    default: 1,
  },
  bodyBorderBottomWidthTablet: {
    type: "number",
    default: 1,
  },
  bodyBorderTopWidthMobile: {
    type: "number",
    default: 1,
  },
  bodyBorderLeftWidthMobile: {
    type: "number",
    default: 1,
  },
  bodyBorderRightWidthMobile: {
    type: "number",
    default: 1,
  },
  bodyBorderBottomWidthMobile: {
    type: "number",
    default: 1,
  },
  bodyBorderTopLeftRadiusMobile: {
    type: "number",
  },
bodyBorderTopRightRadiusMobile: {
  type: "number",
},
bodyBorderBottomLeftRadiusMobile: {
  type: "number",
},
bodyBorderBottomRightRadiusMobile: {
  type: "number",
},
bodyBorderTopLeftRadiusTablet: {
  type: "number",
},
bodyBorderTopRightRadiusTablet: {
  type: "number",
},
bodyBorderBottomLeftRadiusTablet: {
  type: "number",
},
bodyBorderBottomRightRadiusTablet: {
  type: "number",
},
bodyBorderTopLeftRadius: {
  type: "number",
},
bodyBorderTopRightRadius: {
  type: "number",
},
bodyBorderBottomLeftRadius: {
  type: "number",
},
bodyBorderBottomRightRadius: {
  type: "number",
},
  blockIsMarginControlConnected: {
    type: "boolean",
    default: false,
  },
  blockIsPaddingControlConnected: {
    type: "boolean",
    default: false,
  },
  imagePositionTab: {
    type: "string",
    default: "desktop",
  },
  backgroundPosition: {
    type: "string",
    default: "center center",
  },
  backgroundPositionMobile: {
    type: "string",
    default: "center center",
  },
  backgroundPositionTablet: {
    type: "string",
    default: "center center",
  },
  backgroundPositionFocal: {
    type: "object",
    default: { "x": 0.5, "y": 0.5 }
  },
  backgroundPositionFocalMobile: {
    type: "object",
    default: { "x": 0.5, "y": 0.5 }
  },
  backgroundPositionFocalTablet: {
    type: "object",
    default: { "x": 0.5, "y": 0.5 }
  },
  backgroundAttachment: {
    type: "string",
    default: "scroll",
  },
  backgroundRepeat: {
    type: "string",
    default: "no-repeat",
  },
  backgroundAttachment: {
    type: "string",
    default: "scroll",
  },
  backgroundSize: {
    type: "string",
    default: "cover",
  },
  backgroundSizeTablet: {
    type: "string",
    default: 'cover',
  },
  backgroundSizeMobile: {
    type: "string",
    default: 'cover'
  },
  imageSizeTab: {
    type: "string",
    default: "desktop",
  },
  headingTextTransform: {
    type: "string",
    default: "",
  },
  headingFontStyle: {
    type: "string",
    default: "",
  },
  contentTextTransform: {
    type: "string",
    default: "",
  },
  contentFontStyle: {
    type: "string",
    default: "",
  },
  hasImagePositionMigrated: {
    type: "boolean",
    default: false,
  },
  isPreview: {
    type: "boolean",
    default: false, 
  },
  headingTextDecoration: {
    type: "string",
    default: "",
  },
  contentTextDecoration: {
    type: "string",
    default: "",
  },
};

export default attributes;