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: video.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(['', '.module .video-title', '.module .video-title a']),
[19] Fix | Delete
this.get_color_type(['.module .video-title', '.module .video-title a', ' .tb_text_wrap']),
[20] Fix | Delete
this.get_font_size(),
[21] Fix | Delete
this.get_line_height(),
[22] Fix | Delete
this.get_letter_spacing(),
[23] Fix | Delete
this.get_text_align(),
[24] Fix | Delete
this.get_text_transform(),
[25] Fix | Delete
this.get_font_style(['', '.module .video-title', '.module .video-title a']),
[26] Fix | Delete
this.get_text_decoration('', 'text_decoration_regular'),
[27] Fix | Delete
this.get_text_shadow([' .video-caption', '.module .video-title', ' .video-title a'])
[28] Fix | Delete
],
[29] Fix | Delete
h: [
[30] Fix | Delete
this.get_font_family(['', '.module .video-title', '.module .video-title a'], 'f_f', 'h'),
[31] Fix | Delete
this.get_color_type(['.module:hover .video-title', '.module:hover .video-title a', ':hover .tb_text_wrap'], 'f_c_t_h', 'f_c_h', 'f_g_c_h'),
[32] Fix | Delete
this.get_font_size(':hover', 'f_s', '', 'h'),
[33] Fix | Delete
this.get_font_style(['', '.module .video-title', '.module .video-title a'], 'f_st', 'f_w', 'h'),
[34] Fix | Delete
this.get_text_decoration(':hover', 't_d_r', 'h'),
[35] Fix | Delete
this.get_text_shadow([':hover .video-caption', '.module:hover .video-title', '.module:hover .video-title a'], 't_sh', 'h')
[36] Fix | Delete
]
[37] Fix | Delete
})
[38] Fix | Delete
]),
[39] Fix | Delete
// Link
[40] Fix | Delete
this.get_expand('l', [
[41] Fix | Delete
this.get_tab({
[42] Fix | Delete
n: [
[43] Fix | Delete
this.get_color([' a', '.module .video-title a'], 'link_color'),
[44] Fix | Delete
this.get_text_decoration(' a')
[45] Fix | Delete
],
[46] Fix | Delete
h: [
[47] Fix | Delete
this.get_color([' a', '.module .video-title a'], 'link_color', null, null, 'hover'),
[48] Fix | Delete
this.get_text_decoration(' a', 't_d', 'h')
[49] Fix | Delete
]
[50] Fix | Delete
})
[51] Fix | Delete
]),
[52] Fix | Delete
// Padding
[53] Fix | Delete
this.get_expand('p', [
[54] Fix | Delete
this.get_tab({
[55] Fix | Delete
n: [
[56] Fix | Delete
this.get_padding()
[57] Fix | Delete
],
[58] Fix | Delete
h: [
[59] Fix | Delete
this.get_padding('', 'p', 'h')
[60] Fix | Delete
]
[61] Fix | Delete
})
[62] Fix | Delete
]),
[63] Fix | Delete
// Margin
[64] Fix | Delete
this.get_expand('m', [
[65] Fix | Delete
this.get_tab({
[66] Fix | Delete
n: [
[67] Fix | Delete
this.get_margin()
[68] Fix | Delete
],
[69] Fix | Delete
h: [
[70] Fix | Delete
this.get_margin('', 'm', 'h')
[71] Fix | Delete
]
[72] Fix | Delete
})
[73] Fix | Delete
]),
[74] Fix | Delete
// Border
[75] Fix | Delete
this.get_expand('b', [
[76] Fix | Delete
this.get_tab({
[77] Fix | Delete
n: [
[78] Fix | Delete
this.get_border()
[79] Fix | Delete
],
[80] Fix | Delete
h: [
[81] Fix | Delete
this.get_border('', 'b', 'h')
[82] Fix | Delete
]
[83] Fix | Delete
})
[84] Fix | Delete
]),
[85] Fix | Delete
// Filter
[86] Fix | Delete
this.get_expand('f_l', [
[87] Fix | Delete
this.get_tab({
[88] Fix | Delete
n: [
[89] Fix | Delete
this.get_blend()
[90] Fix | Delete
],
[91] Fix | Delete
h: [
[92] Fix | Delete
this.get_blend('', '', 'h')
[93] Fix | Delete
]
[94] Fix | Delete
})
[95] Fix | Delete
]),
[96] Fix | Delete
// Width
[97] Fix | Delete
this.get_expand('w', [
[98] Fix | Delete
this.get_width('', 'w')
[99] Fix | Delete
]),
[100] Fix | Delete
// Height & Min Height
[101] Fix | Delete
this.get_expand('ht', [
[102] Fix | Delete
this.get_height()
[103] Fix | Delete
]),
[104] Fix | Delete
// Rounded Corners
[105] Fix | Delete
this.get_expand('r_c', [
[106] Fix | Delete
this.get_tab({
[107] Fix | Delete
n: [
[108] Fix | Delete
this.get_border_radius()
[109] Fix | Delete
],
[110] Fix | Delete
h: [
[111] Fix | Delete
this.get_border_radius('', 'r_c', 'h')
[112] Fix | Delete
]
[113] Fix | Delete
})
[114] Fix | Delete
]),
[115] Fix | Delete
// Shadow
[116] Fix | Delete
this.get_expand('sh', [
[117] Fix | Delete
this.get_tab({
[118] Fix | Delete
n: [
[119] Fix | Delete
this.get_box_shadow()
[120] Fix | Delete
],
[121] Fix | Delete
h: [
[122] Fix | Delete
this.get_box_shadow('', 'sh', 'h')
[123] Fix | Delete
]
[124] Fix | Delete
})
[125] Fix | Delete
]),
[126] Fix | Delete
// this.get_expand('disp', this.get_self_align()),
[127] Fix | Delete
this.get_expand('zi', [
[128] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[129] Fix | Delete
]
[130] Fix | Delete
),
[131] Fix | Delete
this.get_expand('tr', [
[132] Fix | Delete
this.get_tab({
[133] Fix | Delete
n: [
[134] Fix | Delete
this.get_transform()
[135] Fix | Delete
],
[136] Fix | Delete
h: [
[137] Fix | Delete
this.get_transform('', 'tr', 'h')
[138] Fix | Delete
]
[139] Fix | Delete
})
[140] Fix | Delete
])
[141] Fix | Delete
],
[142] Fix | Delete
videoTitle = [
[143] Fix | Delete
this.get_seperator('f'),
[144] Fix | Delete
this.get_tab({
[145] Fix | Delete
n: [
[146] Fix | Delete
this.get_font_family(['.module .video-title', '.module .video-title a'], 'font_family_title'),
[147] Fix | Delete
this.get_color(['.module .video-title', '.module .video-title a'], 'font_color_title'),
[148] Fix | Delete
this.get_font_size('.module .video-title', 'font_size_title'),
[149] Fix | Delete
this.get_line_height('.module .video-title', 'line_height_title'),
[150] Fix | Delete
this.get_letter_spacing('.module .video-title', 'letter_spacing_title'),
[151] Fix | Delete
this.get_text_transform('.module .video-title', 'text_transform_title'),
[152] Fix | Delete
this.get_font_style(['.module .video-title', '.module .video-title a'], 'font_title', 'font_title_bold'),
[153] Fix | Delete
this.get_text_shadow(['.module .video-title', '.module .video-title a'], 't_sh_t')
[154] Fix | Delete
],
[155] Fix | Delete
h: [
[156] Fix | Delete
this.get_font_family(['.module .video-title', '.module .video-title a'], 'f_f_t', 'h'),
[157] Fix | Delete
this.get_color(['.module .video-title', '.module .video-title a'], 'f_c_t', null, null, 'h'),
[158] Fix | Delete
this.get_font_size('.module .video-title', 'f_s_t', '', 'h'),
[159] Fix | Delete
this.get_font_style(['.module .video-title', '.module .video-title a'], 'f_t', 'f_t_b', 'h'),
[160] Fix | Delete
this.get_text_shadow(['.module .video-title', '.module .video-title a'], 't_sh_t', 'h')
[161] Fix | Delete
]
[162] Fix | Delete
})
[163] Fix | Delete
],
[164] Fix | Delete
videoCaption = [
[165] Fix | Delete
// Font
[166] Fix | Delete
this.get_expand('f', [
[167] Fix | Delete
this.get_tab({
[168] Fix | Delete
n: [
[169] Fix | Delete
this.get_font_family(' .video-caption', 'font_family_caption'),
[170] Fix | Delete
this.get_color('.module .tb_text_wrap', 'font_color_caption'),
[171] Fix | Delete
this.get_font_size(' .video-caption', 'font_size_caption'),
[172] Fix | Delete
this.get_font_style(' .video-caption', 'f_fs_c', 'f_fw_c'),
[173] Fix | Delete
this.get_line_height(' .video-caption', 'line_height_caption'),
[174] Fix | Delete
this.get_text_shadow('.module .video-caption', 't_sh_c')
[175] Fix | Delete
],
[176] Fix | Delete
h: [
[177] Fix | Delete
this.get_font_family(' .video-caption', 'f_f_c', 'h'),
[178] Fix | Delete
this.get_color('.module .tb_text_wrap', 'f_c_c', null, null, 'h'),
[179] Fix | Delete
this.get_font_size(' .video-caption', 'f_s_c', '', 'h'),
[180] Fix | Delete
this.get_font_style(' .video-caption', 'f_fs_c', 'f_fw_c', 'h'),
[181] Fix | Delete
this.get_text_shadow('.module .video-caption', 't_sh_c', 'h')
[182] Fix | Delete
]
[183] Fix | Delete
})
[184] Fix | Delete
]),
[185] Fix | Delete
// Background
[186] Fix | Delete
this.get_expand('coverlay', [
[187] Fix | Delete
this.get_tab({
[188] Fix | Delete
n: [
[189] Fix | Delete
this.get_color('.video-overlay .video-content', 'background_color_video_caption', 'overlay', 'background-color'),
[190] Fix | Delete
this.get_color(['.module.video-overlay .video-title', '.module.video-overlay .tb_text_wrap'], 'f_c_h_v', 'ovfc')
[191] Fix | Delete
],
[192] Fix | Delete
h: [
[193] Fix | Delete
this.get_color('.video-overlay:hover .video-content', 'b_c_v_c_h', 'overlay', 'background-color'),
[194] Fix | Delete
this.get_color(['.module.video-overlay:hover .video-title', '.module.video-overlay:hover .tb_text_wrap'], 'f_c_h_v_caption', 'ovfc')
[195] Fix | Delete
]
[196] Fix | Delete
})
[197] Fix | Delete
])
[198] Fix | Delete
],
[199] Fix | Delete
overlayImage = [
[200] Fix | Delete
// Background
[201] Fix | Delete
this.get_expand('bg', [
[202] Fix | Delete
this.get_tab({
[203] Fix | Delete
n: [
[204] Fix | Delete
this.get_color(' .tb_video_overlay', 'b_c_i_o', 'bg_c', 'background-color')
[205] Fix | Delete
],
[206] Fix | Delete
h: [
[207] Fix | Delete
this.get_color(' .tb_video_overlay:hover', 'b_c_o_i_h', 'bg_c', 'background-color')
[208] Fix | Delete
]
[209] Fix | Delete
})
[210] Fix | Delete
]),
[211] Fix | Delete
// Border
[212] Fix | Delete
this.get_expand('b', [
[213] Fix | Delete
this.get_tab({
[214] Fix | Delete
n: [
[215] Fix | Delete
this.get_border(' .tb_video_overlay', 'b_o_i')
[216] Fix | Delete
],
[217] Fix | Delete
h: [
[218] Fix | Delete
this.get_border(' .tb_video_overlay', 'b_o_i', 'h')
[219] Fix | Delete
]
[220] Fix | Delete
})
[221] Fix | Delete
]),
[222] Fix | Delete
// Padding
[223] Fix | Delete
this.get_expand('p', [
[224] Fix | Delete
this.get_tab({
[225] Fix | Delete
n: [
[226] Fix | Delete
this.get_padding(' .tb_video_overlay', 'p_o_i')
[227] Fix | Delete
],
[228] Fix | Delete
h: [
[229] Fix | Delete
this.get_padding(' .tb_video_overlay', 'p_o_i', 'h')
[230] Fix | Delete
]
[231] Fix | Delete
})
[232] Fix | Delete
]),
[233] Fix | Delete
// Margin
[234] Fix | Delete
this.get_expand('m', [
[235] Fix | Delete
this.get_tab({
[236] Fix | Delete
n: [
[237] Fix | Delete
this.get_margin(' .tb_video_overlay', 'm_o_i')
[238] Fix | Delete
],
[239] Fix | Delete
h: [
[240] Fix | Delete
this.get_margin(' .tb_video_overlay', 'm_o_i', 'h')
[241] Fix | Delete
]
[242] Fix | Delete
})
[243] Fix | Delete
]),
[244] Fix | Delete
// Rounded Corners
[245] Fix | Delete
this.get_expand('r_c', [
[246] Fix | Delete
this.get_tab({
[247] Fix | Delete
n: [
[248] Fix | Delete
this.get_border_radius(' .tb_video_overlay', 'r_c_o_i')
[249] Fix | Delete
],
[250] Fix | Delete
h: [
[251] Fix | Delete
this.get_border_radius(' .tb_video_overlay', 'r_c_o_i', 'h')
[252] Fix | Delete
]
[253] Fix | Delete
})
[254] Fix | Delete
]),
[255] Fix | Delete
// Shadow
[256] Fix | Delete
this.get_expand('sh', [
[257] Fix | Delete
this.get_tab({
[258] Fix | Delete
n: [
[259] Fix | Delete
this.get_box_shadow(' .tb_video_overlay', 'b_sh_o_i')
[260] Fix | Delete
],
[261] Fix | Delete
h: [
[262] Fix | Delete
this.get_box_shadow(' .tb_video_overlay', 'b_sh_o_i', 'h')
[263] Fix | Delete
]
[264] Fix | Delete
})
[265] Fix | Delete
])
[266] Fix | Delete
];
[267] Fix | Delete
[268] Fix | Delete
return {
[269] Fix | Delete
type: 'tabs',
[270] Fix | Delete
options: {
[271] Fix | Delete
g: general,
[272] Fix | Delete
m_t: this.module_title_custom_style(),
[273] Fix | Delete
vidt: videoTitle,
[274] Fix | Delete
vidcap: videoCaption,
[275] Fix | Delete
overimg: overlayImage
[276] Fix | Delete
}
[277] Fix | Delete
};
[278] Fix | Delete
}
[279] Fix | Delete
}
[280] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function