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: optin.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
this.get_expand('bg', [
[4] Fix | Delete
this.get_tab({
[5] Fix | Delete
n: [
[6] Fix | Delete
this.get_image('', 'b_i', 'bg_c', 'b_r', 'b_p')
[7] Fix | Delete
],
[8] Fix | Delete
h: [
[9] Fix | Delete
this.get_image('', 'b_i', 'bg_c', 'b_r', 'b_p', 'h')
[10] Fix | Delete
]
[11] Fix | Delete
})
[12] Fix | Delete
]),
[13] Fix | Delete
this.get_expand('f', [
[14] Fix | Delete
this.get_tab({
[15] Fix | Delete
n: [
[16] Fix | Delete
this.get_font_family('', 'f_f'),
[17] Fix | Delete
this.get_color_type([' label', ' .tb_text_wrap'], '', 'f_c_t', 'f_c', 'f_g_c'),
[18] Fix | Delete
this.get_font_size('', 'f_s'),
[19] Fix | Delete
this.get_line_height('', 'l_h'),
[20] Fix | Delete
this.get_letter_spacing('', 'l_s'),
[21] Fix | Delete
this.get_text_align('', 't_a'),
[22] Fix | Delete
this.get_text_transform('', 't_t'),
[23] Fix | Delete
this.get_font_style('', 'f_st', 'f_w'),
[24] Fix | Delete
this.get_text_decoration('', 't_d_r'),
[25] Fix | Delete
this.get_text_shadow()
[26] Fix | Delete
],
[27] Fix | Delete
h: [
[28] Fix | Delete
this.get_font_family('', 'f_f', 'h'),
[29] Fix | Delete
this.get_color_type([' label', ' .tb_text_wrap'], 'h'),
[30] Fix | Delete
this.get_font_size('', 'f_s', '', 'h'),
[31] Fix | Delete
this.get_font_style('', 'f_st', 'f_w', 'h'),
[32] Fix | Delete
this.get_text_decoration('', 't_d_r', 'h'),
[33] Fix | Delete
this.get_text_shadow('', 't_sh', 'h')
[34] Fix | Delete
]
[35] Fix | Delete
})
[36] Fix | Delete
]),
[37] Fix | Delete
// Link
[38] Fix | Delete
this.get_expand('l', [
[39] Fix | Delete
this.get_tab({
[40] Fix | Delete
n: [
[41] Fix | Delete
this.get_color(' a', 'link_color'),
[42] Fix | Delete
this.get_text_decoration(' a')
[43] Fix | Delete
],
[44] Fix | Delete
h: [
[45] Fix | Delete
this.get_color(' a', 'link_color', null, null, 'hover'),
[46] Fix | Delete
this.get_text_decoration(' a', 't_d', 'h')
[47] Fix | Delete
]
[48] Fix | Delete
})
[49] Fix | Delete
]),
[50] Fix | Delete
// Padding
[51] Fix | Delete
this.get_expand('p', [
[52] Fix | Delete
this.get_tab({
[53] Fix | Delete
n: [
[54] Fix | Delete
this.get_padding('', 'p')
[55] Fix | Delete
],
[56] Fix | Delete
h: [
[57] Fix | Delete
this.get_padding('', 'p', 'h')
[58] Fix | Delete
]
[59] Fix | Delete
})
[60] Fix | Delete
]),
[61] Fix | Delete
// Margin
[62] Fix | Delete
this.get_expand('m', [
[63] Fix | Delete
this.get_tab({
[64] Fix | Delete
n: [
[65] Fix | Delete
this.get_margin('', 'm')
[66] Fix | Delete
],
[67] Fix | Delete
h: [
[68] Fix | Delete
this.get_margin('', 'm', 'h')
[69] Fix | Delete
]
[70] Fix | Delete
})
[71] Fix | Delete
]),
[72] Fix | Delete
// Border
[73] Fix | Delete
this.get_expand('b', [
[74] Fix | Delete
this.get_tab({
[75] Fix | Delete
n: [
[76] Fix | Delete
this.get_border('', 'b')
[77] Fix | Delete
],
[78] Fix | Delete
h: [
[79] Fix | Delete
this.get_border('', 'b', 'h')
[80] Fix | Delete
]
[81] Fix | Delete
})
[82] Fix | Delete
]),
[83] Fix | Delete
// Filter
[84] Fix | Delete
this.get_expand('f_l', [
[85] Fix | Delete
this.get_tab({
[86] Fix | Delete
n: [
[87] Fix | Delete
this.get_blend()
[88] Fix | Delete
],
[89] Fix | Delete
h: [
[90] Fix | Delete
this.get_blend('', '', 'h')
[91] Fix | Delete
]
[92] Fix | Delete
})
[93] Fix | Delete
]),
[94] Fix | Delete
// Width
[95] Fix | Delete
this.get_expand('w', [
[96] Fix | Delete
this.get_width('', 'w')
[97] Fix | Delete
]),
[98] Fix | Delete
// Height & Min Height
[99] Fix | Delete
this.get_expand('ht', [
[100] Fix | Delete
this.get_height()
[101] Fix | Delete
]),
[102] Fix | Delete
// Rounded Corners
[103] Fix | Delete
this.get_expand('r_c', [
[104] Fix | Delete
this.get_tab({
[105] Fix | Delete
n: [
[106] Fix | Delete
this.get_border_radius()
[107] Fix | Delete
],
[108] Fix | Delete
h: [
[109] Fix | Delete
this.get_border_radius('', 'r_c', 'h')
[110] Fix | Delete
]
[111] Fix | Delete
})
[112] Fix | Delete
]),
[113] Fix | Delete
// Shadow
[114] Fix | Delete
this.get_expand('sh', [
[115] Fix | Delete
this.get_tab({
[116] Fix | Delete
n: [
[117] Fix | Delete
this.get_box_shadow()
[118] Fix | Delete
],
[119] Fix | Delete
h: [
[120] Fix | Delete
this.get_box_shadow('', 'sh', 'h')
[121] Fix | Delete
]
[122] Fix | Delete
})
[123] Fix | Delete
]),
[124] Fix | Delete
// this.get_expand('disp', this.get_self_align()),
[125] Fix | Delete
this.get_expand('zi', [
[126] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[127] Fix | Delete
]
[128] Fix | Delete
),
[129] Fix | Delete
this.get_expand('tr', [
[130] Fix | Delete
this.get_tab({
[131] Fix | Delete
n: [
[132] Fix | Delete
this.get_transform()
[133] Fix | Delete
],
[134] Fix | Delete
h: [
[135] Fix | Delete
this.get_transform('', 'tr', 'h')
[136] Fix | Delete
]
[137] Fix | Delete
})
[138] Fix | Delete
])
[139] Fix | Delete
],
[140] Fix | Delete
labels = [
[141] Fix | Delete
// Font
[142] Fix | Delete
this.get_seperator('f'),
[143] Fix | Delete
this.get_tab({
[144] Fix | Delete
n: [
[145] Fix | Delete
this.get_font_family(' label', 'f_f_l'),
[146] Fix | Delete
this.get_color('.module label', 'f_c_l'),
[147] Fix | Delete
this.get_font_size(' label', 'f_s_l'),
[148] Fix | Delete
this.get_font_style(' label', 'f_st_l', 'f_fw_l'),
[149] Fix | Delete
this.get_text_shadow(' label', 't_sh_l')
[150] Fix | Delete
],
[151] Fix | Delete
h: [
[152] Fix | Delete
this.get_font_family(' label', 'f_f_l', 'h'),
[153] Fix | Delete
this.get_color('.module label', 'f_c_l', null, null, 'h'),
[154] Fix | Delete
this.get_font_size(' label', 'f_s_l', '', 'h'),
[155] Fix | Delete
this.get_font_style(' label', 'f_st_l', 'f_fw_l', 'h'),
[156] Fix | Delete
this.get_text_shadow(' label', 't_sh_l', 'h')
[157] Fix | Delete
]
[158] Fix | Delete
})
[159] Fix | Delete
],
[160] Fix | Delete
inputs = [
[161] Fix | Delete
//background
[162] Fix | Delete
this.get_expand('bg', [
[163] Fix | Delete
this.get_tab({
[164] Fix | Delete
n: [
[165] Fix | Delete
this.get_color(' input', 'bg_c_i', 'bg_c', 'background-color')
[166] Fix | Delete
],
[167] Fix | Delete
h: [
[168] Fix | Delete
this.get_color(' input', 'bg_c_i', 'bg_c', 'background-color', 'h')
[169] Fix | Delete
]
[170] Fix | Delete
})
[171] Fix | Delete
]),
[172] Fix | Delete
// Font
[173] Fix | Delete
this.get_expand('f', [
[174] Fix | Delete
this.get_tab({
[175] Fix | Delete
n: [
[176] Fix | Delete
this.get_font_family(' input', 'f_f_i'),
[177] Fix | Delete
this.get_color(' input', 'f_c_i'),
[178] Fix | Delete
this.get_font_size(' input', 'f_s_i'),
[179] Fix | Delete
this.get_font_style(' input', 'f_st_i', 'f_fw_i'),
[180] Fix | Delete
this.get_text_shadow(' input', 't_sh_i')
[181] Fix | Delete
],
[182] Fix | Delete
h: [
[183] Fix | Delete
this.get_font_family(' input', 'f_f_i', 'h'),
[184] Fix | Delete
this.get_color(' input', 'f_c_i', null, null, 'h'),
[185] Fix | Delete
this.get_font_size(' input', 'f_s_i', '', 'h'),
[186] Fix | Delete
this.get_font_style(' input', 'f_st_i', 'f_fw_i', 'h'),
[187] Fix | Delete
this.get_text_shadow(' input', 't_sh_i', 'h')
[188] Fix | Delete
]
[189] Fix | Delete
})
[190] Fix | Delete
]),
[191] Fix | Delete
// Placeholder
[192] Fix | Delete
this.get_expand('placeh', [
[193] Fix | Delete
this.get_tab({
[194] Fix | Delete
n: [
[195] Fix | Delete
this.get_font_family(' input::placeholder', 'f_f_in_ph'),
[196] Fix | Delete
this.get_color(' input::placeholder', 'f_c_in_ph'),
[197] Fix | Delete
this.get_font_size(' input::placeholder', 'f_s_in_ph'),
[198] Fix | Delete
this.get_font_style(' input::placeholder', 'f_st_in_ph', 'f_fw_in_ph'),
[199] Fix | Delete
this.get_text_shadow(' input::placeholder', 't_sh_in_ph')
[200] Fix | Delete
],
[201] Fix | Delete
h: [
[202] Fix | Delete
this.get_font_family(' input:hover::placeholder', 'f_f_in_ph_h', ''),
[203] Fix | Delete
this.get_color(' input:hover::placeholder', 'f_c_in_ph_h', null, null, ''),
[204] Fix | Delete
this.get_font_size(' input:hover::placeholder', 'f_s_in_ph_h', '', ''),
[205] Fix | Delete
this.get_font_style(' input::placeholder', 'f_st_in_ph', 'f_fw_in_ph', 'h'),
[206] Fix | Delete
this.get_text_shadow(' input:hover::placeholder', 't_sh_in_ph_h', '')
[207] Fix | Delete
]
[208] Fix | Delete
})
[209] Fix | Delete
]),
[210] Fix | Delete
// Border
[211] Fix | Delete
this.get_expand('b', [
[212] Fix | Delete
this.get_tab({
[213] Fix | Delete
n: [
[214] Fix | Delete
this.get_border(' input', 'b_in')
[215] Fix | Delete
],
[216] Fix | Delete
h: [
[217] Fix | Delete
this.get_border(' input', 'b_in', 'h')
[218] Fix | Delete
]
[219] Fix | Delete
})
[220] Fix | Delete
]),
[221] Fix | Delete
// Padding
[222] Fix | Delete
this.get_expand('p', [
[223] Fix | Delete
this.get_tab({
[224] Fix | Delete
n: [
[225] Fix | Delete
this.get_padding(' input', 'p_in')
[226] Fix | Delete
],
[227] Fix | Delete
h: [
[228] Fix | Delete
this.get_padding(' input', 'p_in', 'h')
[229] Fix | Delete
]
[230] Fix | Delete
})
[231] Fix | Delete
]),
[232] Fix | Delete
// Margin
[233] Fix | Delete
this.get_expand('m', [
[234] Fix | Delete
this.get_tab({
[235] Fix | Delete
n: [
[236] Fix | Delete
this.get_margin(' input', 'm_in')
[237] Fix | Delete
],
[238] Fix | Delete
h: [
[239] Fix | Delete
this.get_margin(' input', 'm_in', 'h')
[240] Fix | Delete
]
[241] Fix | Delete
})
[242] Fix | Delete
]),
[243] Fix | Delete
// Rounded Corners
[244] Fix | Delete
this.get_expand('r_c', [
[245] Fix | Delete
this.get_tab({
[246] Fix | Delete
n: [
[247] Fix | Delete
this.get_border_radius(' input', 'r_c_in')
[248] Fix | Delete
],
[249] Fix | Delete
h: [
[250] Fix | Delete
this.get_border_radius(' input', 'r_c_in', 'h')
[251] Fix | Delete
]
[252] Fix | Delete
})
[253] Fix | Delete
]),
[254] Fix | Delete
// Shadow
[255] Fix | Delete
this.get_expand('sh', [
[256] Fix | Delete
this.get_tab({
[257] Fix | Delete
n: [
[258] Fix | Delete
this.get_box_shadow(' input', 'b_sh_in')
[259] Fix | Delete
],
[260] Fix | Delete
h: [
[261] Fix | Delete
this.get_box_shadow(' input', 'b_sh_in', 'h')
[262] Fix | Delete
]
[263] Fix | Delete
})
[264] Fix | Delete
])
[265] Fix | Delete
],
[266] Fix | Delete
checkbox = [
[267] Fix | Delete
this.get_expand('bg', [
[268] Fix | Delete
this.get_tab({
[269] Fix | Delete
n: [
[270] Fix | Delete
this.get_color(' input[type="checkbox"]', 'b_c_cb', 'bg_c', 'background-color'),
[271] Fix | Delete
this.get_color(' input[type="checkbox"]', 'f_c_cb')
[272] Fix | Delete
],
[273] Fix | Delete
h: [
[274] Fix | Delete
this.get_color(' input[type="checkbox"]', 'b_c_cb', 'bg_c', 'background-color', 'h'),
[275] Fix | Delete
this.get_color(' input[type="submit"]', 'f_c_cb', null, null, 'h')
[276] Fix | Delete
]
[277] Fix | Delete
})
[278] Fix | Delete
]),
[279] Fix | Delete
// Border
[280] Fix | Delete
this.get_expand('b', [
[281] Fix | Delete
this.get_tab({
[282] Fix | Delete
n: [
[283] Fix | Delete
this.get_border(' input[type="checkbox"]', 'b_cb')
[284] Fix | Delete
],
[285] Fix | Delete
h: [
[286] Fix | Delete
this.get_border(' input[type="checkbox"]', 'b_cb', 'h')
[287] Fix | Delete
]
[288] Fix | Delete
})
[289] Fix | Delete
]),
[290] Fix | Delete
// Padding
[291] Fix | Delete
this.get_expand('p', [
[292] Fix | Delete
this.get_tab({
[293] Fix | Delete
n: [
[294] Fix | Delete
this.get_padding(' input[type="checkbox"]', 'p_cb')
[295] Fix | Delete
],
[296] Fix | Delete
h: [
[297] Fix | Delete
this.get_padding(' input[type="checkbox"]', 'p_cb', 'h')
[298] Fix | Delete
]
[299] Fix | Delete
})
[300] Fix | Delete
]),
[301] Fix | Delete
// Margin
[302] Fix | Delete
this.get_expand('m', [
[303] Fix | Delete
this.get_tab({
[304] Fix | Delete
n: [
[305] Fix | Delete
this.get_margin(' #commentform input[type="checkbox"]', 'm_cb')
[306] Fix | Delete
],
[307] Fix | Delete
h: [
[308] Fix | Delete
this.get_margin(' #commentform input[type="checkbox"]', 'm_cb', 'h')
[309] Fix | Delete
]
[310] Fix | Delete
})
[311] Fix | Delete
]),
[312] Fix | Delete
// Rounded Corners
[313] Fix | Delete
this.get_expand('r_c', [
[314] Fix | Delete
this.get_tab({
[315] Fix | Delete
n: [
[316] Fix | Delete
this.get_border_radius(' input[type="checkbox"]', 'r_c_cb')
[317] Fix | Delete
],
[318] Fix | Delete
h: [
[319] Fix | Delete
this.get_border_radius(' input[type="checkbox"]', 'r_c_cb', 'h')
[320] Fix | Delete
]
[321] Fix | Delete
})
[322] Fix | Delete
]),
[323] Fix | Delete
// Shadow
[324] Fix | Delete
this.get_expand('sh', [
[325] Fix | Delete
this.get_tab({
[326] Fix | Delete
n: [
[327] Fix | Delete
this.get_box_shadow(' input[type="checkbox"]', 's_cb')
[328] Fix | Delete
],
[329] Fix | Delete
h: [
[330] Fix | Delete
this.get_box_shadow(' input[type="checkbox"]', 's_cb', 'h')
[331] Fix | Delete
]
[332] Fix | Delete
})
[333] Fix | Delete
])
[334] Fix | Delete
],
[335] Fix | Delete
sendButton = [
[336] Fix | Delete
//background
[337] Fix | Delete
this.get_expand('bg', [
[338] Fix | Delete
this.get_tab({
[339] Fix | Delete
n: [
[340] Fix | Delete
this.get_color(' .tb_optin_submit button', 'bg_c_s', 'bg_c', 'background-color')
[341] Fix | Delete
],
[342] Fix | Delete
h: [
[343] Fix | Delete
this.get_color(' .tb_optin_submit button', 'bg_c_s', 'bg_c', 'background-color', 'h')
[344] Fix | Delete
]
[345] Fix | Delete
})
[346] Fix | Delete
]),
[347] Fix | Delete
// Font
[348] Fix | Delete
this.get_expand('f', [
[349] Fix | Delete
this.get_tab({
[350] Fix | Delete
n: [
[351] Fix | Delete
this.get_font_family(' .tb_optin_submit button', 'f_f_s'),
[352] Fix | Delete
this.get_color(' .tb_optin_submit button', 'f_c_s'),
[353] Fix | Delete
this.get_font_size(' .tb_optin_submit button', 'f_s_s'),
[354] Fix | Delete
this.get_font_style(' .tb_optin_submit button', 'f_s_st', 'f_s_w'),
[355] Fix | Delete
this.get_text_shadow(' .tb_optin_submit button', 't_sh_s_b')
[356] Fix | Delete
],
[357] Fix | Delete
h: [
[358] Fix | Delete
this.get_font_family(' .tb_optin_submit button', 'f_f_s', 'h'),
[359] Fix | Delete
this.get_color(' .tb_optin_submit button', 'f_c_s', null, null, 'h'),
[360] Fix | Delete
this.get_font_size(' .tb_optin_submit button', 'f_s_s', '', 'h'),
[361] Fix | Delete
this.get_font_style(' .tb_optin_submit button', 'f_s_st', 'f_s_w', 'h'),
[362] Fix | Delete
this.get_text_shadow(' .tb_optin_submit button', 't_sh_s_b', 'h')
[363] Fix | Delete
]
[364] Fix | Delete
})
[365] Fix | Delete
]),
[366] Fix | Delete
// Border
[367] Fix | Delete
this.get_expand('b', [
[368] Fix | Delete
this.get_tab({
[369] Fix | Delete
n: [
[370] Fix | Delete
this.get_border(' .tb_optin_submit button', 'b_s')
[371] Fix | Delete
],
[372] Fix | Delete
h: [
[373] Fix | Delete
this.get_border(' .tb_optin_submit button', 'b_s', 'h')
[374] Fix | Delete
]
[375] Fix | Delete
})
[376] Fix | Delete
]),
[377] Fix | Delete
// Padding
[378] Fix | Delete
this.get_expand('p', [
[379] Fix | Delete
this.get_tab({
[380] Fix | Delete
n: [
[381] Fix | Delete
this.get_padding(' .tb_optin_submit button', 'p_sb')
[382] Fix | Delete
],
[383] Fix | Delete
h: [
[384] Fix | Delete
this.get_padding(' .tb_optin_submit button', 'p_sb', 'h')
[385] Fix | Delete
]
[386] Fix | Delete
})
[387] Fix | Delete
]),
[388] Fix | Delete
// Margin
[389] Fix | Delete
this.get_expand('m', [
[390] Fix | Delete
this.get_tab({
[391] Fix | Delete
n: [
[392] Fix | Delete
this.get_margin(' .tb_optin_submit button', 'm_sb')
[393] Fix | Delete
],
[394] Fix | Delete
h: [
[395] Fix | Delete
this.get_margin(' .tb_optin_submit button', 'm_sb', 'h')
[396] Fix | Delete
]
[397] Fix | Delete
})
[398] Fix | Delete
]),
[399] Fix | Delete
// Rounded Corners
[400] Fix | Delete
this.get_expand('r_c', [
[401] Fix | Delete
this.get_tab({
[402] Fix | Delete
n: [
[403] Fix | Delete
this.get_border_radius(' .tb_optin_submit button', 'r_c_sb')
[404] Fix | Delete
],
[405] Fix | Delete
h: [
[406] Fix | Delete
this.get_border_radius(' .tb_optin_submit button', 'r_c_sb', 'h')
[407] Fix | Delete
]
[408] Fix | Delete
})
[409] Fix | Delete
]),
[410] Fix | Delete
// Shadow
[411] Fix | Delete
this.get_expand('sh', [
[412] Fix | Delete
this.get_tab({
[413] Fix | Delete
n: [
[414] Fix | Delete
this.get_box_shadow(' .tb_optin_submit button', 'b_sh_sb')
[415] Fix | Delete
],
[416] Fix | Delete
h: [
[417] Fix | Delete
this.get_box_shadow(' .tb_optin_submit button', 'b_sh_sb', 'h')
[418] Fix | Delete
]
[419] Fix | Delete
})
[420] Fix | Delete
])
[421] Fix | Delete
];
[422] Fix | Delete
[423] Fix | Delete
return {
[424] Fix | Delete
type: 'tabs',
[425] Fix | Delete
options: {
[426] Fix | Delete
g: general,
[427] Fix | Delete
m_t: this.module_title_custom_style(),
[428] Fix | Delete
labels: labels,
[429] Fix | Delete
inpf: inputs,
[430] Fix | Delete
chkbox: checkbox,
[431] Fix | Delete
sbscrbebtn: sendButton
[432] Fix | Delete
}
[433] Fix | Delete
};
[434] Fix | Delete
}
[435] Fix | Delete
}
[436] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function