/**
 * ボタンブロックの属性をデフォルト値にリセットする関数
 * テキスト、リンク設定は除外
 * V2属性形式を使用
 */
export function getDefaultAttributes() {
  return {
    fontFamily: "",

    fontSizeV2: {
      pc: { preset: "custom", custom: "16", unit: "px" },
      md: { preset: "", custom: "", unit: "px" },
      tb: { preset: "", custom: "", unit: "px" },
      sp: { preset: "custom", custom: "14", unit: "px" },
    },
    fontSizeV2Hover: {
      pc: { preset: "", custom: "", unit: "px" },
      md: { preset: "", custom: "", unit: "px" },
      tb: { preset: "", custom: "", unit: "px" },
      sp: { preset: "", custom: "", unit: "px" },
    },
    fontWeightV2: { pc: "normal", md: "", tb: "", sp: "normal" },
    fontWeightV2Hover: { pc: "", md: "", tb: "", sp: "" },
    lineHeightV2: {
      pc: { value: "1.2", unit: "" },
      md: { value: "", unit: "" },
      tb: { value: "", unit: "" },
      sp: { value: "1.2", unit: "" },
    },
    lineHeightV2Hover: {
      pc: { value: "", unit: "" },
      md: { value: "", unit: "" },
      tb: { value: "", unit: "" },
      sp: { value: "", unit: "" },
    },
    letterSpacingV2: {
      pc: { value: "0", unit: "px" },
      md: { value: "", unit: "" },
      tb: { value: "", unit: "" },
      sp: { value: "0", unit: "px" },
    },
    letterSpacingV2Hover: {
      pc: { value: "", unit: "" },
      md: { value: "", unit: "" },
      tb: { value: "", unit: "" },
      sp: { value: "", unit: "" },
    },

    textColor: "#FFFFFF",
    textColorHover: "#CCCCCC",

    textShadowEnabled: false,
    textShadowOffsetX: "0",
    textShadowOffsetY: "0",
    textShadowBlur: "1",
    textShadowColor: "#000000",
    textShadowOpacity: 100,
    textShadowOffsetXUnit: "px",
    textShadowOffsetYUnit: "px",
    textShadowBlurUnit: "px",
    textShadowEnabledHover: false,
    textShadowOffsetXHover: "0",
    textShadowOffsetYHover: "0",
    textShadowBlurHover: "1",
    textShadowColorHover: "#000000",
    textShadowOpacityHover: 100,
    textShadowOffsetXUnitHover: "px",
    textShadowOffsetYUnitHover: "px",
    textShadowBlurUnitHover: "px",

    paddingV2: {
      pc: { bulk: 20, bulkUnit: "px", top: 20, topUnit: "px", right: 20, rightUnit: "px", bottom: 20, bottomUnit: "px", left: 20, leftUnit: "px", useIndividual: false },
      md: { bulk: "", bulkUnit: "px", top: "", topUnit: "px", right: "", rightUnit: "px", bottom: "", bottomUnit: "px", left: "", leftUnit: "px", useIndividual: false },
      tb: { bulk: "", bulkUnit: "px", top: "", topUnit: "px", right: "", rightUnit: "px", bottom: "", bottomUnit: "px", left: "", leftUnit: "px", useIndividual: false },
      sp: { bulk: 16, bulkUnit: "px", top: 16, topUnit: "px", right: 16, rightUnit: "px", bottom: 16, bottomUnit: "px", left: 16, leftUnit: "px", useIndividual: false },
    },
    marginV2: {
      pc: { bulk: 0, bulkUnit: "px", top: 20, topUnit: "px", right: "auto", rightUnit: "", bottom: 0, bottomUnit: "px", left: "auto", leftUnit: "", useIndividual: true },
      md: { bulk: "", bulkUnit: "px", top: "", topUnit: "px", right: "", rightUnit: "", bottom: "", bottomUnit: "px", left: "", leftUnit: "", useIndividual: false },
      tb: { bulk: "", bulkUnit: "px", top: "", topUnit: "px", right: "", rightUnit: "", bottom: "", bottomUnit: "px", left: "", leftUnit: "", useIndividual: false },
      sp: { bulk: 0, bulkUnit: "px", top: 16, topUnit: "px", right: "auto", rightUnit: "", bottom: 0, bottomUnit: "px", left: "auto", leftUnit: "", useIndividual: true },
    },
    useResponsivePadding: true,
    useResponsiveMargin: true,

    layoutWidthV2: {
      pc: { useCustom: true, value: 360, unit: "px", minUseCustom: false, minValue: 0, minUnit: "px", maxUseCustom: false, maxValue: "none", maxUnit: "px" },
      md: { useCustom: false, value: "", unit: "px", minUseCustom: false, minValue: "", minUnit: "px", maxUseCustom: false, maxValue: "", maxUnit: "px" },
      tb: { useCustom: false, value: "", unit: "px", minUseCustom: false, minValue: "", minUnit: "px", maxUseCustom: false, maxValue: "", maxUnit: "px" },
      sp: { useCustom: true, value: 300, unit: "px", minUseCustom: false, minValue: "", minUnit: "px", maxUseCustom: false, maxValue: "", maxUnit: "px" },
    },
    layoutHeightV2: {
      pc: { useCustom: false, value: "auto", unit: "px", minUseCustom: false, minValue: 0, minUnit: "px", maxUseCustom: false, maxValue: "none", maxUnit: "px" },
      md: { useCustom: false, value: "", unit: "px", minUseCustom: false, minValue: "", minUnit: "px", maxUseCustom: false, maxValue: "", maxUnit: "px" },
      tb: { useCustom: false, value: "", unit: "px", minUseCustom: false, minValue: "", minUnit: "px", maxUseCustom: false, maxValue: "", maxUnit: "px" },
      sp: { useCustom: false, value: "auto", unit: "px", minUseCustom: false, minValue: "", minUnit: "px", maxUseCustom: false, maxValue: "", maxUnit: "px" },
    },

    layoutPositionTypePC: "relative",
    layoutPositionTypeSP: "relative",
    layoutUseCustomPositionPC: false,
    layoutUseCustomPositionSP: false,
    layoutCustomPositionTopPC: "auto",
    layoutCustomPositionRightPC: "auto",
    layoutCustomPositionBottomPC: "auto",
    layoutCustomPositionLeftPC: "auto",
    layoutCustomPositionTopSP: "auto",
    layoutCustomPositionRightSP: "auto",
    layoutCustomPositionBottomSP: "auto",
    layoutCustomPositionLeftSP: "auto",
    layoutCustomPositionUnitPC: "px",
    layoutCustomPositionUnitSP: "px",
    
    layoutTransformTranslateXPC: "0",
    layoutTransformTranslateYPC: "0",
    layoutTransformTranslateXSP: "0",
    layoutTransformTranslateYSP: "0",
    layoutTransformTranslateUnitPC: "%",
    layoutTransformTranslateUnitSP: "%",

    backgroundColorV2: {
      pc: { color: "#000000", gradient: "", useGradient: false, opacity: 0.75, mixBlendMode: "multiply" },
      md: { color: "", gradient: "", useGradient: false, opacity: "", mixBlendMode: "" },
      tb: { color: "", gradient: "", useGradient: false, opacity: "", mixBlendMode: "" },
      sp: { color: "#000000", gradient: "", useGradient: false, opacity: 0.75, mixBlendMode: "multiply" },
    },
    backgroundColorV2Hover: {
      pc: { color: "#000000", gradient: "", useGradient: false, opacity: 0.75, mixBlendMode: "multiply" },
      md: { color: "", gradient: "", useGradient: false, opacity: "", mixBlendMode: "" },
      tb: { color: "", gradient: "", useGradient: false, opacity: "", mixBlendMode: "" },
      sp: { color: "#000000", gradient: "", useGradient: false, opacity: 0.75, mixBlendMode: "multiply" },
    },

    backgroundImageV2: {
      pc: { url: "", position: "center center", size: "cover", repeat: "no-repeat", customWidth: "", customWidthUnit: "px", customHeight: "", customHeightUnit: "px", rotate: "0" },
      md: { url: "", position: "", size: "", repeat: "", customWidth: "", customWidthUnit: "", customHeight: "", customHeightUnit: "", rotate: "" },
      tb: { url: "", position: "", size: "", repeat: "", customWidth: "", customWidthUnit: "", customHeight: "", customHeightUnit: "", rotate: "" },
      sp: { url: "", position: "center center", size: "cover", repeat: "no-repeat", customWidth: "", customWidthUnit: "px", customHeight: "", customHeightUnit: "px", rotate: "0" },
    },
    backgroundImageV2Hover: {
      pc: { url: "", position: "", size: "", repeat: "", customWidth: "", customWidthUnit: "", customHeight: "", customHeightUnit: "", rotate: "" },
      md: { url: "", position: "", size: "", repeat: "", customWidth: "", customWidthUnit: "", customHeight: "", customHeightUnit: "", rotate: "" },
      tb: { url: "", position: "", size: "", repeat: "", customWidth: "", customWidthUnit: "", customHeight: "", customHeightUnit: "", rotate: "" },
      sp: { url: "", position: "", size: "", repeat: "", customWidth: "", customWidthUnit: "", customHeight: "", customHeightUnit: "", rotate: "" },
    },

    backgroundPatternV2: {
      pc: { type: "none", color: "#000000", opacity: 0.5, size: 3, sizeUnit: "px", rotate: 0 },
      md: { type: "", color: "", opacity: "", size: "", sizeUnit: "", rotate: "" },
      tb: { type: "", color: "", opacity: "", size: "", sizeUnit: "", rotate: "" },
      sp: { type: "none", color: "#000000", opacity: 0.5, size: 3, sizeUnit: "px", rotate: 0 },
    },
    backgroundPatternV2Hover: {
      pc: { type: "", color: "", opacity: "", size: "", sizeUnit: "", rotate: "" },
      md: { type: "", color: "", opacity: "", size: "", sizeUnit: "", rotate: "" },
      tb: { type: "", color: "", opacity: "", size: "", sizeUnit: "", rotate: "" },
      sp: { type: "", color: "", opacity: "", size: "", sizeUnit: "", rotate: "" },
    },

    backgroundBaseColorV2: {
      pc: { color: "#111111", alpha: 1, gradient: null, useGradient: false },
      md: { color: "#111111", alpha: "", gradient: null, useGradient: false },
      tb: { color: "#111111", alpha: "", gradient: null, useGradient: false },
      sp: { color: "#111111", alpha: 1, gradient: null, useGradient: false },
    },
    backgroundBaseColorV2Hover: {
      pc: { color: "#3f3f3f", alpha: "", gradient: null, useGradient: false },
      md: { color: "#3f3f3f", alpha: "", gradient: null, useGradient: false },
      tb: { color: "#3f3f3f", alpha: "", gradient: null, useGradient: false },
      sp: { color: "#3f3f3f", alpha: "", gradient: null, useGradient: false },
    },

    borderV2: {
      pc: { width: 0, style: "solid", color: "#000000", boxSizing: "border-box" },
      md: { width: "", style: "", color: "", boxSizing: "" },
      tb: { width: "", style: "", color: "", boxSizing: "" },
      sp: { width: 0, style: "solid", color: "#000000", boxSizing: "border-box" },
    },
    borderV2Hover: {
      pc: { width: "", style: "", color: "", boxSizing: "" },
      md: { width: "", style: "", color: "", boxSizing: "" },
      tb: { width: "", style: "", color: "", boxSizing: "" },
      sp: { width: "", style: "", color: "", boxSizing: "" },
    },

    radiusV2: {
      pc: { bulk: 3, bulkUnit: "px", topLeft: 3, topLeftUnit: "px", topRight: 3, topRightUnit: "px", bottomRight: 3, bottomRightUnit: "px", bottomLeft: 3, bottomLeftUnit: "px", useIndividual: false },
      md: { bulk: "", bulkUnit: "px", topLeft: "", topLeftUnit: "px", topRight: "", topRightUnit: "px", bottomRight: "", bottomRightUnit: "px", bottomLeft: "", bottomLeftUnit: "px", useIndividual: false },
      tb: { bulk: "", bulkUnit: "px", topLeft: "", topLeftUnit: "px", topRight: "", topRightUnit: "px", bottomRight: "", bottomRightUnit: "px", bottomLeft: "", bottomLeftUnit: "px", useIndividual: false },
      sp: { bulk: 3, bulkUnit: "px", topLeft: 3, topLeftUnit: "px", topRight: 3, topRightUnit: "px", bottomRight: 3, bottomRightUnit: "px", bottomLeft: 3, bottomLeftUnit: "px", useIndividual: false },
    },
    radiusV2Hover: {
      pc: { bulk: "", bulkUnit: "px", topLeft: "", topLeftUnit: "px", topRight: "", topRightUnit: "px", bottomRight: "", bottomRightUnit: "px", bottomLeft: "", bottomLeftUnit: "px", useIndividual: false },
      md: { bulk: "", bulkUnit: "px", topLeft: "", topLeftUnit: "px", topRight: "", topRightUnit: "px", bottomRight: "", bottomRightUnit: "px", bottomLeft: "", bottomLeftUnit: "px", useIndividual: false },
      tb: { bulk: "", bulkUnit: "px", topLeft: "", topLeftUnit: "px", topRight: "", topRightUnit: "px", bottomRight: "", bottomRightUnit: "px", bottomLeft: "", bottomLeftUnit: "px", useIndividual: false },
      sp: { bulk: "", bulkUnit: "px", topLeft: "", topLeftUnit: "px", topRight: "", topRightUnit: "px", bottomRight: "", bottomRightUnit: "px", bottomLeft: "", bottomLeftUnit: "px", useIndividual: false },
    },

    shadowV2: {
      pc: { use: false, horizontal: 0, vertical: 0, blur: 0, spread: 0, color: "transparent", opacity: 100, inset: false },
      md: { use: false, horizontal: "", vertical: "", blur: "", spread: "", color: "", opacity: "", inset: false },
      tb: { use: false, horizontal: "", vertical: "", blur: "", spread: "", color: "", opacity: "", inset: false },
      sp: { use: false, horizontal: 0, vertical: 0, blur: 0, spread: 0, color: "transparent", opacity: 100, inset: false },
    },
    shadowV2Hover: {
      pc: { use: false, horizontal: "", vertical: "", blur: "", spread: "", color: "", opacity: "", inset: false },
      md: { use: false, horizontal: "", vertical: "", blur: "", spread: "", color: "", opacity: "", inset: false },
      tb: { use: false, horizontal: "", vertical: "", blur: "", spread: "", color: "", opacity: "", inset: false },
      sp: { use: false, horizontal: "", vertical: "", blur: "", spread: "", color: "", opacity: "", inset: false },
    },

    opacityV2: {
      pc: { value: 1, mixBlendMode: "normal" },
      md: { value: "", mixBlendMode: "" },
      tb: { value: "", mixBlendMode: "" },
      sp: { value: 1, mixBlendMode: "normal" },
    },
    opacityV2Hover: {
      pc: { value: "", mixBlendMode: "" },
      md: { value: "", mixBlendMode: "" },
      tb: { value: "", mixBlendMode: "" },
      sp: { value: "", mixBlendMode: "" },
    },

    displayV2: {
      pc: { visible: true },
      md: { visible: "" },
      tb: { visible: "" },
      sp: { visible: true },
    },

    icon: "",
    iconColor: "#FFFFFF",
    iconColorHover: "",
    iconStrokeWidth: 1.75,
    iconStrokeWidthHover: 1.75,

    iconSizeV2: {
      pc: { value: 25, unit: "px" },
      md: { value: "", unit: "" },
      tb: { value: "", unit: "" },
      sp: { value: 25, unit: "px" },
    },
    iconSizeV2Hover: {
      pc: { value: "", unit: "" },
      md: { value: "", unit: "" },
      tb: { value: "", unit: "" },
      sp: { value: "", unit: "" },
    },
    iconPositionV2: {
      pc: { gap: 0.5, gapUnit: "em", offsetX: 40, offsetXUnit: "%", offsetY: 0, offsetYUnit: "%" },
      md: { gap: "", gapUnit: "", offsetX: "", offsetXUnit: "", offsetY: "", offsetYUnit: "" },
      tb: { gap: "", gapUnit: "", offsetX: "", offsetXUnit: "", offsetY: "", offsetYUnit: "" },
      sp: { gap: 0.5, gapUnit: "em", offsetX: 40, offsetXUnit: "%", offsetY: 0, offsetYUnit: "%" },
    },
    iconPositionV2Hover: {
      pc: { gap: "", gapUnit: "", offsetX: "", offsetXUnit: "", offsetY: "", offsetYUnit: "" },
      md: { gap: "", gapUnit: "", offsetX: "", offsetXUnit: "", offsetY: "", offsetYUnit: "" },
      tb: { gap: "", gapUnit: "", offsetX: "", offsetXUnit: "", offsetY: "", offsetYUnit: "" },
      sp: { gap: "", gapUnit: "", offsetX: "", offsetXUnit: "", offsetY: "", offsetYUnit: "" },
    },

    buttonType: "button",
    textAlign: "center"
  };
}
