Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/themify-.../js/module-s.../src
File: service-menu.mjs
const {BaseStyles} = await import('../../editor/base-styles.mjs');
[0] Fix | Delete
export class Module extends BaseStyles {
[1] Fix | Delete
static get_styles() {
[2] Fix | Delete
const general = [
[3] Fix | Delete
// Background
[4] Fix | Delete
this.get_expand('bg', [
[5] Fix | Delete
this.get_tab({
[6] Fix | Delete
n: [
[7] Fix | Delete
this.get_color('', 'background_color', 'bg_c', 'background-color')
[8] Fix | Delete
],
[9] Fix | Delete
h: [
[10] Fix | Delete
this.get_color('', 'bg_c', 'bg_c', 'background-color', 'h')
[11] Fix | Delete
]
[12] Fix | Delete
})
[13] Fix | Delete
]),
[14] Fix | Delete
// Font
[15] Fix | Delete
this.get_expand('f', [
[16] Fix | Delete
this.get_tab({
[17] Fix | Delete
n: [
[18] Fix | Delete
this.get_font_family(' .tb-image-content'),
[19] Fix | Delete
this.get_color_type([' .tb-menu-title', ' .tb-menu-price', ' .tb-menu-description']),
[20] Fix | Delete
this.get_font_size(' .tb-image-content'),
[21] Fix | Delete
this.get_line_height(' .tb-image-content'),
[22] Fix | Delete
this.get_letter_spacing(' .tb-image-content'),
[23] Fix | Delete
this.get_text_align(' .tb-image-content'),
[24] Fix | Delete
this.get_text_transform([' .tb-image-content', ' .tb-price-item .tb-price-title']),
[25] Fix | Delete
this.get_font_style(' .tb-image-content'),
[26] Fix | Delete
this.get_text_decoration(' .tb-image-content', 'text_decoration_regular'),
[27] Fix | Delete
this.get_text_shadow(' .tb-image-content')
[28] Fix | Delete
],
[29] Fix | Delete
h: [
[30] Fix | Delete
this.get_font_family(' .tb-image-content', 'f_f', 'h'),
[31] Fix | Delete
this.get_color_type([' .tb-menu-title', ' .tb-menu-price', ' .tb-menu-description'], 'h'),
[32] Fix | Delete
this.get_font_size(' .tb-image-content', 'f_s', '', 'h'),
[33] Fix | Delete
this.get_font_style(' .tb-image-content', 'f_st', 'f_w', 'h'),
[34] Fix | Delete
this.get_text_decoration(' .tb-image-content', 't_d_r', 'h'),
[35] Fix | Delete
this.get_text_shadow(' .tb-image-content', 't_sh', 'h')
[36] Fix | Delete
]
[37] Fix | Delete
})
[38] Fix | Delete
]),
[39] Fix | Delete
// Padding
[40] Fix | Delete
this.get_expand('p', [
[41] Fix | Delete
this.get_tab({
[42] Fix | Delete
n: [
[43] Fix | Delete
this.get_padding()
[44] Fix | Delete
],
[45] Fix | Delete
h: [
[46] Fix | Delete
this.get_padding('', 'p', 'h')
[47] Fix | Delete
]
[48] Fix | Delete
})
[49] Fix | Delete
]),
[50] Fix | Delete
// Margin
[51] Fix | Delete
this.get_expand('m', [
[52] Fix | Delete
this.get_tab({
[53] Fix | Delete
n: [
[54] Fix | Delete
this.get_margin()
[55] Fix | Delete
],
[56] Fix | Delete
h: [
[57] Fix | Delete
this.get_margin('', 'm', 'h')
[58] Fix | Delete
]
[59] Fix | Delete
})
[60] Fix | Delete
]),
[61] Fix | Delete
// Border
[62] Fix | Delete
this.get_expand('b', [
[63] Fix | Delete
this.get_tab({
[64] Fix | Delete
n: [
[65] Fix | Delete
this.get_border()
[66] Fix | Delete
],
[67] Fix | Delete
h: [
[68] Fix | Delete
this.get_border('', 'b', 'h')
[69] Fix | Delete
]
[70] Fix | Delete
})
[71] Fix | Delete
]),
[72] Fix | Delete
// Filter
[73] Fix | Delete
this.get_expand('f_l', [
[74] Fix | Delete
this.get_tab({
[75] Fix | Delete
n: [
[76] Fix | Delete
this.get_blend()
[77] Fix | Delete
],
[78] Fix | Delete
h: [
[79] Fix | Delete
this.get_blend('', '', 'h')
[80] Fix | Delete
]
[81] Fix | Delete
})
[82] Fix | Delete
]),
[83] Fix | Delete
// Width
[84] Fix | Delete
this.get_expand('w', [
[85] Fix | Delete
this.get_width('', 'w')
[86] Fix | Delete
]),
[87] Fix | Delete
// Height & Min Height
[88] Fix | Delete
this.get_expand('ht', [
[89] Fix | Delete
this.get_height()
[90] Fix | Delete
]),
[91] Fix | Delete
// Rounded Corners
[92] Fix | Delete
this.get_expand('r_c', [
[93] Fix | Delete
this.get_tab({
[94] Fix | Delete
n: [
[95] Fix | Delete
this.get_border_radius()
[96] Fix | Delete
],
[97] Fix | Delete
h: [
[98] Fix | Delete
this.get_border_radius('', 'r_c', 'h')
[99] Fix | Delete
]
[100] Fix | Delete
})
[101] Fix | Delete
]),
[102] Fix | Delete
// Shadow
[103] Fix | Delete
this.get_expand('sh', [
[104] Fix | Delete
this.get_tab({
[105] Fix | Delete
n: [
[106] Fix | Delete
this.get_box_shadow()
[107] Fix | Delete
],
[108] Fix | Delete
h: [
[109] Fix | Delete
this.get_box_shadow('', 'sh', 'h')
[110] Fix | Delete
]
[111] Fix | Delete
})
[112] Fix | Delete
]),
[113] Fix | Delete
// this.get_expand('disp', this.get_self_align()),
[114] Fix | Delete
this.get_expand('zi', [
[115] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[116] Fix | Delete
]
[117] Fix | Delete
),
[118] Fix | Delete
this.get_expand('tr', [
[119] Fix | Delete
this.get_tab({
[120] Fix | Delete
n: [
[121] Fix | Delete
this.get_transform()
[122] Fix | Delete
],
[123] Fix | Delete
h: [
[124] Fix | Delete
this.get_transform('', 'tr', 'h')
[125] Fix | Delete
]
[126] Fix | Delete
})
[127] Fix | Delete
])
[128] Fix | Delete
],
[129] Fix | Delete
menuTitle = [
[130] Fix | Delete
// Font
[131] Fix | Delete
this.get_seperator('f'),
[132] Fix | Delete
this.get_tab({
[133] Fix | Delete
n: [
[134] Fix | Delete
this.get_font_family('.module .tb-menu-title', 'font_family_title'),
[135] Fix | Delete
this.get_color('.module .tb-menu-title', 'font_color_title'),
[136] Fix | Delete
this.get_font_size('.module .tb-menu-title', 'font_size_title'),
[137] Fix | Delete
this.get_line_height('.module .tb-menu-title', 'line_height_title'),
[138] Fix | Delete
this.get_letter_spacing('.module .tb-menu-title', 'letter_spacing_title'),
[139] Fix | Delete
this.get_text_transform('.module .tb-menu-title', 'text_transform_title'),
[140] Fix | Delete
this.get_font_style('.module .tb-menu-title', 'font_style_title'),
[141] Fix | Delete
this.get_text_shadow('.module .tb-menu-title', 't_sh_t')
[142] Fix | Delete
],
[143] Fix | Delete
h: [
[144] Fix | Delete
this.get_font_family('.module .tb-menu-title', 'f_f_t', 'h'),
[145] Fix | Delete
this.get_color('.module .tb-menu-title', 'f_c_t', null, null, 'h'),
[146] Fix | Delete
this.get_font_size('.module .tb-menu-title', 'f_s_t', '', 'h'),
[147] Fix | Delete
this.get_font_style('.module .tb-menu-title', 'f_st_t', '', 'h'),
[148] Fix | Delete
this.get_text_shadow('.module .tb-menu-title', 't_sh_t', 'h')
[149] Fix | Delete
]
[150] Fix | Delete
})
[151] Fix | Delete
],
[152] Fix | Delete
image = [
[153] Fix | Delete
// Background
[154] Fix | Delete
this.get_expand('bg', [
[155] Fix | Delete
this.get_tab({
[156] Fix | Delete
n: [
[157] Fix | Delete
this.get_color('.module-service-menu .tb-image-wrap img', 'i_bg_c', 'bg_c', 'background-color')
[158] Fix | Delete
],
[159] Fix | Delete
h: [
[160] Fix | Delete
this.get_color('.module-service-menu .tb-image-wrap img', 'i_bg_c', 'bg_c', 'background-color', 'h')
[161] Fix | Delete
]
[162] Fix | Delete
})
[163] Fix | Delete
]),
[164] Fix | Delete
// Padding
[165] Fix | Delete
this.get_expand('p', [
[166] Fix | Delete
this.get_tab({
[167] Fix | Delete
n: [
[168] Fix | Delete
this.get_padding('.module-service-menu .tb-image-wrap img', 'i_p')
[169] Fix | Delete
],
[170] Fix | Delete
h: [
[171] Fix | Delete
this.get_padding('.module-service-menu .tb-image-wrap img', 'i_p', 'h')
[172] Fix | Delete
]
[173] Fix | Delete
})
[174] Fix | Delete
]),
[175] Fix | Delete
// Margin
[176] Fix | Delete
this.get_expand('m', [
[177] Fix | Delete
this.get_tab({
[178] Fix | Delete
n: [
[179] Fix | Delete
this.get_margin('.module-service-menu .tb-image-wrap img', 'i_m')
[180] Fix | Delete
],
[181] Fix | Delete
h: [
[182] Fix | Delete
this.get_margin('.module-service-menu .tb-image-wrap img', 'i_m', 'h')
[183] Fix | Delete
]
[184] Fix | Delete
})
[185] Fix | Delete
]),
[186] Fix | Delete
// Border
[187] Fix | Delete
this.get_expand('b', [
[188] Fix | Delete
this.get_tab({
[189] Fix | Delete
n: [
[190] Fix | Delete
this.get_border('.module-service-menu .tb-image-wrap img', 'i_b')
[191] Fix | Delete
],
[192] Fix | Delete
h: [
[193] Fix | Delete
this.get_border('.module-service-menu .tb-image-wrap img', 'i_b', 'h')
[194] Fix | Delete
]
[195] Fix | Delete
})
[196] Fix | Delete
]),
[197] Fix | Delete
// Rounded Corners
[198] Fix | Delete
this.get_expand('r_c', [
[199] Fix | Delete
this.get_tab({
[200] Fix | Delete
n: [
[201] Fix | Delete
this.get_border_radius('.module-service-menu .tb-image-wrap img', 'i_r_c')
[202] Fix | Delete
],
[203] Fix | Delete
h: [
[204] Fix | Delete
this.get_border_radius('.module-service-menu .tb-image-wrap img', 'i_r_c', 'h')
[205] Fix | Delete
]
[206] Fix | Delete
})
[207] Fix | Delete
]),
[208] Fix | Delete
// Shadow
[209] Fix | Delete
this.get_expand('sh', [
[210] Fix | Delete
this.get_tab({
[211] Fix | Delete
n: [
[212] Fix | Delete
this.get_box_shadow('.module-service-menu .tb-image-wrap img', 'i_b_sh')
[213] Fix | Delete
],
[214] Fix | Delete
h: [
[215] Fix | Delete
this.get_box_shadow('.module-service-menu .tb-image-wrap img', 'i_b_sh', 'h')
[216] Fix | Delete
]
[217] Fix | Delete
})
[218] Fix | Delete
])
[219] Fix | Delete
],
[220] Fix | Delete
menuDescription = [
[221] Fix | Delete
// Font
[222] Fix | Delete
this.get_seperator('f'),
[223] Fix | Delete
this.get_tab({
[224] Fix | Delete
n: [
[225] Fix | Delete
this.get_font_family(' .tb-menu-description', 'font_family_description'),
[226] Fix | Delete
this.get_color('.module .tb-menu-description', 'font_color_description'),
[227] Fix | Delete
this.get_font_size(' .tb-menu-description', 'font_size_description'),
[228] Fix | Delete
this.get_font_style(' .tb-menu-description', 'f_fs_m', 'f_fw_m'),
[229] Fix | Delete
this.get_line_height(' .tb-menu-description', 'line_height_description'),
[230] Fix | Delete
this.get_text_shadow(' .tb-menu-description', 't_sh_d')
[231] Fix | Delete
],
[232] Fix | Delete
h: [
[233] Fix | Delete
this.get_font_family(' .tb-menu-description', 'f_f_d', 'h'),
[234] Fix | Delete
this.get_color('.module .tb-menu-description', 'f_c_d', null, null, 'h'),
[235] Fix | Delete
this.get_font_size(' .tb-menu-description', 'f_s_d', '', 'h'),
[236] Fix | Delete
this.get_font_style(' .tb-menu-description', 'f_fs_m', 'f_fw_m', 'h'),
[237] Fix | Delete
this.get_text_shadow(' .tb-menu-description', 't_sh_d', 'h')
[238] Fix | Delete
]
[239] Fix | Delete
})
[240] Fix | Delete
],
[241] Fix | Delete
price = [
[242] Fix | Delete
// Font
[243] Fix | Delete
this.get_seperator('f'),
[244] Fix | Delete
this.get_tab({
[245] Fix | Delete
n: [
[246] Fix | Delete
this.get_font_family(' .tb-menu-price', 'font_family_price'),
[247] Fix | Delete
this.get_color('.module .tb-menu-price', 'font_color_price'),
[248] Fix | Delete
this.get_font_size(' .tb-menu-price', 'font_size_price'),
[249] Fix | Delete
this.get_font_style(' .tb-menu-price', 'f_fs_p', 'f_fw_p'),
[250] Fix | Delete
this.get_line_height(' .tb-menu-price', 'line_height_price'),
[251] Fix | Delete
this.get_text_shadow(' .tb-menu-price', 't_sh_p'),
[252] Fix | Delete
this.get_margin_top_bottom_opposity(' .tb-menu-price', '_margin_top_t_price', '_margin_bottom_b_price')
[253] Fix | Delete
],
[254] Fix | Delete
h: [
[255] Fix | Delete
this.get_font_family(' .tb-menu-price', 'f_f_p', 'h'),
[256] Fix | Delete
this.get_color('.module .tb-menu-price', 'f_c_p', null, null, 'h'),
[257] Fix | Delete
this.get_font_size(' .tb-menu-price', 'f_s_p', '', 'h'),
[258] Fix | Delete
this.get_font_style(' .tb-menu-price', 'f_fs_p', 'f_fw_p', 'h'),
[259] Fix | Delete
this.get_text_shadow(' .tb-menu-price', 't_sh_p', 'h'),
[260] Fix | Delete
this.get_margin_top_bottom_opposity(' .tb-menu-price:hover', 'h_margin_top_t_p', 'h_margin_bottom_b_p')
[261] Fix | Delete
]
[262] Fix | Delete
})
[263] Fix | Delete
],
[264] Fix | Delete
highlightText = [
[265] Fix | Delete
// Background
[266] Fix | Delete
this.get_expand('bg', [
[267] Fix | Delete
this.get_tab({
[268] Fix | Delete
n: [
[269] Fix | Delete
this.get_color(' .tb-highlight-text', 'background_color_highlight_text', 'bg_c', 'background-color')
[270] Fix | Delete
],
[271] Fix | Delete
h: [
[272] Fix | Delete
this.get_color(' .tb-highlight-text', 'b_c_h_t', 'bg_c', 'background-color', 'h')
[273] Fix | Delete
]
[274] Fix | Delete
})
[275] Fix | Delete
]),
[276] Fix | Delete
// Font
[277] Fix | Delete
this.get_expand('f', [
[278] Fix | Delete
this.get_tab({
[279] Fix | Delete
n: [
[280] Fix | Delete
this.get_font_family(' .tb-highlight-text', 'font_family_highlight_text'),
[281] Fix | Delete
this.get_color(' .tb-highlight-text', 'font_color_highlight_text'),
[282] Fix | Delete
this.get_font_size(' .tb-highlight-text', 'font_size_highlight_text'),
[283] Fix | Delete
this.get_font_style(' .tb-highlight-text', 'f_fs_h', 'f_fw_h'),
[284] Fix | Delete
this.get_line_height(' .tb-highlight-text', 'line_height_highlight_text'),
[285] Fix | Delete
this.get_text_shadow(' .tb-highlight-text', 't_sh_h_t')
[286] Fix | Delete
],
[287] Fix | Delete
h: [
[288] Fix | Delete
this.get_font_family(' .tb-highlight-text', 'f_f_h_t', 'h'),
[289] Fix | Delete
this.get_color(' .tb-highlight-text', 'f_c_h_t', null, null, 'h'),
[290] Fix | Delete
this.get_font_size(' .tb-highlight-text', 'f_s_h_t', '', 'h'),
[291] Fix | Delete
this.get_font_style(' .tb-highlight-text', 'f_fs_h', 'f_fw_h', 'h'),
[292] Fix | Delete
this.get_text_shadow(' .tb-highlight-text', 't_sh_h_t', 'h')
[293] Fix | Delete
]
[294] Fix | Delete
})
[295] Fix | Delete
]),
[296] Fix | Delete
// Padding
[297] Fix | Delete
this.get_expand('p', [
[298] Fix | Delete
this.get_tab({
[299] Fix | Delete
n: [
[300] Fix | Delete
this.get_padding(' .tb-highlight-text', 'h_t_p')
[301] Fix | Delete
],
[302] Fix | Delete
h: [
[303] Fix | Delete
this.get_padding(' .tb-highlight-text', 'h_t_p', 'h')
[304] Fix | Delete
]
[305] Fix | Delete
})
[306] Fix | Delete
]),
[307] Fix | Delete
// Margin
[308] Fix | Delete
this.get_expand('m', [
[309] Fix | Delete
this.get_tab({
[310] Fix | Delete
n: [
[311] Fix | Delete
this.get_margin(' .tb-highlight-text', 'h_t_m')
[312] Fix | Delete
],
[313] Fix | Delete
h: [
[314] Fix | Delete
this.get_margin(' .tb-highlight-text', 'h_t_m', 'h')
[315] Fix | Delete
]
[316] Fix | Delete
})
[317] Fix | Delete
])
[318] Fix | Delete
];
[319] Fix | Delete
[320] Fix | Delete
return {
[321] Fix | Delete
type: 'tabs',
[322] Fix | Delete
options: {
[323] Fix | Delete
g: general,
[324] Fix | Delete
menut: menuTitle,
[325] Fix | Delete
image: image,
[326] Fix | Delete
desc: menuDescription,
[327] Fix | Delete
price: price,
[328] Fix | Delete
highlgtxt: highlightText
[329] Fix | Delete
}
[330] Fix | Delete
};
[331] Fix | Delete
}
[332] Fix | Delete
}
[333] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function